S390: Optimize strchrnul and wcschrnul.
[glibc.git] / ChangeLog
blob3903d1fb2702de740cfb99443c19b6a353d628c9
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
5         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10         wcschrnul functions.
11         * sysdeps/s390/multiarch/ifunc-impl-list.c
12         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14         * string/test-strchr.c: Add wcschrnul support.
15         * wcsmbs/test-wcschrnul.c: New File.
16         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17         * benchtests/bench-strchr.c: Add wcschrnul support.
18         * benchtests/bench-wcschrnul.c: New File.
19         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23         * sysdeps/s390/multiarch/strchr-c.c: New File.
24         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25         * sysdeps/s390/multiarch/strchr.c: Likewise.
26         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
27         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28         * sysdeps/s390/multiarch/wcschr.c: Likewise.
29         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30         wcschr functions.
31         * sysdeps/s390/multiarch/ifunc-impl-list.c
32         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
33         * string/strchr.c (STRCHR): Define and use macro.
34         * benchtests/bench-wcschr.c: New File.
35         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
37 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39         * sysdeps/s390/multiarch/strncmp-c.c: New File.
40         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
41         * sysdeps/s390/multiarch/strncmp.c: Likewise.
42         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
43         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
44         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
45         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
46         wcsncmp functions.
47         * sysdeps/s390/multiarch/ifunc-impl-list.c
48         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
49         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
50         * benchtests/bench-strncmp.c: Add wcsncmp support.
51         * benchtests/bench-wcsncmp.c: New File.
52         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
54 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
56         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
57         * sysdeps/s390/multiarch/strcmp.c: Likewise.
58         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
59         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
60         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
61         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
62         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
63         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
64         wcscmp functions.
65         * sysdeps/s390/multiarch/ifunc-impl-list.c
66         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
67         * string/strcmp.c (STRCMP): Define and use macro.
68         * benchtests/bench-wcscmp.c: New File.
69         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
70         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
71         instead of _HAVE_STRING_ARCH_memchr.
73 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
75         * sysdeps/s390/multiarch/strncat-c.c: New File.
76         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
77         * sysdeps/s390/multiarch/strncat.c: Likewise.
78         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
79         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
80         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
81         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
82         wcsncat functions.
83         * sysdeps/s390/multiarch/ifunc-impl-list.c
84         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
85         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
86         * string/test-strncat.c: Add wcsncat support.
87         * wcsmbs/test-wcsncat.c: New File.
88         * wcsmbs/Makefile (strop-tests): Add wcsncat.
89         * benchtests/bench-strncat.c: Add wcsncat support.
90         * benchtests/bench-wcsncat.c: New File.
91         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
93 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
95         * sysdeps/s390/multiarch/strcat-c.c: New File.
96         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
97         * sysdeps/s390/multiarch/strcat.c: Likewise.
98         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
99         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
100         * sysdeps/s390/multiarch/wcscat.c: Likewise.
101         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
102         wcscat functions.
103         * sysdeps/s390/multiarch/ifunc-impl-list.c
104         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
105         * string/strcat.c (STRCAT): Define and use macro.
106         * wcsmbs/wcscat.c: Use WCSCAT if defined.
107         * string/test-strcat.c: Add wcscat support.
108         * wcsmbs/test-wcscat.c: New File.
109         * wcsmbs/Makefile (strop-tests): Add wcscat.
110         * benchtests/bench-strcat.c: Add wcscat support.
111         * benchtests/bench-wcscat.c: New File.
112         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
114 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
116         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
117         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
118         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
119         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
120         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
121         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
123         wcpncpy functions.
124         * sysdeps/s390/multiarch/ifunc-impl-list.c
125         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
126         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
127         * string/test-stpncpy.c: Add wcpncpy support.
128         * wcsmbs/test-wcpncpy.c: New File.
129         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
130         * benchtests/bench-stpncpy.c: Add wcpncpy support.
131         * benchtests/bench-wcpncpy.c: New File.
132         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
134 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
136         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
137         * sysdeps/s390/multiarch/strncpy.c: Likewise.
138         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
139         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
140         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
141         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
142         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
144         wcsncpy functions.
145         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
146         * sysdeps/s390/multiarch/ifunc-impl-list.c
147         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
148         * string/test-strncpy.c: Add wcsncpy support.
149         * wcsmbs/test-wcsncpy.c: New File.
150         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
151         * benchtests/bench-strncpy.c: Add wcsncpy support.
152         * benchtests/bench-wcsncpy.c: New File.
153         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
155 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
157         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
158         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
159         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
160         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
161         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
162         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
163         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
164         wcpcpy functions.
165         * string/stpcpy.c: Use STPCPY if defined.
166         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
167         * sysdeps/s390/multiarch/ifunc-impl-list.c
168         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
169         * string/test-stpcpy.c: Add wcpcpy support.
170         * wcsmbs/test-wcpcpy.c: New File.
171         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
172         * benchtests/bench-stpcpy.c: Add wcpcpy support.
173         * benchtests/bench-wcpcpy.c: New File.
174         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
176 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
178         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
179         * sysdeps/s390/multiarch/strcpy.c: Likewise.
180         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
181         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
182         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
183         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
184         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
185         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
186         wcscpy functions.
187         * sysdeps/s390/multiarch/ifunc-impl-list.c
188         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
189         * benchtests/bench-wcscpy.c: New File.
190         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
192 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
194         * sysdeps/s390/multiarch/strnlen-c.c: New File.
195         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
196         * sysdeps/s390/multiarch/strnlen.c: Likewise.
197         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
198         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
199         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
201         wcsnlen functions.
202         * sysdeps/s390/multiarch/ifunc-impl-list.c
203         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
204         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
205         * string/test-strnlen.c: Add wcsnlen support.
206         * wcsmbs/test-wcsnlen.c: New File.
207         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
208         * benchtests/bench-strnlen.c: Add wcsnlen support.
209         * benchtests/bench-wcsnlen.c: New File.
210         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
212 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
214         * sysdeps/s390/multiarch/Makefile: New File.
215         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
216         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
217         * sysdeps/s390/multiarch/strlen.c: Likewise.
218         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
219         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
220         * sysdeps/s390/multiarch/wcslen.c: Likewise.
221         * string/strlen.c (STRLEN): Define and use macro.
222         * sysdeps/s390/multiarch/ifunc-impl-list.c
223         (IFUNC_VX_IMPL): New macro function.
224         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
225         * benchtests/Makefile (wcsmbs-bench): New variable.
226         (string-bench-all): Added wcsmbs-bench.
227         * benchtests/bench-wcslen.c: New File.
229 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
231         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
232         s390_vx_libc_ifunc2): New macro function.
234 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
236         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
237         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
238         assembler support.
239         * sysdeps/s390/configure: Regenerated.
241 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
243         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
244         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
246 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
248         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
249         * sysdeps/s390/dl-procinfo.h: Add vector capability.
250         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
252 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
254         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
255         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
256         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
257         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
258         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
259         (memcmp, bcmp): Use __memcmp_default as alias source.
260         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
261         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
262         Rename to __memcmp_default.
263         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
264         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
265         (memcpy): Use __memcpy_default as alias source.
266         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
267         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
268         Rename to __memcpy_default.
269         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
270         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
271         (memset): Use __memset_default as alias source.
272         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
273         * sysdeps/s390/s390-32/memset.S (__memset_g5):
274         Rename to __memset_default.
275         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
276         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
277         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
278         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
279         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
280         (memcmp, bcmp): Use __memcmp_default as alias source.
281         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
282         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
283         Rename to __memcmp_default.
284         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
285         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
286         (memcpy): Use __memcpy_default as alias source.
287         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
288         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
289         Rename to __memcpy_default.
290         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
291         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
292         (memset): Use __memset_default as alias source.
293         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
294         * sysdeps/s390/s390-64/memset.S (__memset_z900):
295         Rename to __memset_default.
296         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
297         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
299 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
301         [BZ #18610]
302         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
303         __ieee_instruction_pointer to __unused.
304         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
305         __ieee_instruction_pointer.
306         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
307         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
308         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
309         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
310         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
311         Mark dxc-field as reserved.
313 2015-08-25  Roland McGrath  <roland@hack.frob.com>
315         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
316         if the weak reference is not null.
318 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
320         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
322 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
324         [BZ #11214]
325         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
327 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
329         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
330         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
331         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
332         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
333         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
334         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
335         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
336         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
337         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
338         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
339         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
340         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
341         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
342         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
343         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
344         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
345         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
346         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
348 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
350         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
351         register other than r0 for tabort, it has special meaning.
352         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
353         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
354         transaction before starting syscall.
356 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
358         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
360 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
362         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
364 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
366         * sysdeps/x86_64/rtld-memcmp.c: Removed.
367         * sysdeps/x86_64/rtld-memset.S: Likewise.
368         * sysdeps/x86_64/rtld-strchr.S: Likewise.
369         * sysdeps/x86_64/rtld-strlen.S: Likewise.
370         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
371         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
373 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
375         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
377 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
379         * debug/strcpy_chk.c: Improve performance.
380         * debug/stpcpy_chk.c: Likewise.
381         * sysdeps/x86_64/strcpy_chk.S: Remove.
382         * sysdeps/x86_64/stpcpy_chk.S: Remove.
384         [BZ #18240]
385         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
387 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
389         [BZ #15128]
390         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
391         ifuncmain8.
392         (modules-names): Add ifuncmod8.
393         ($(objpfx)ifuncmain8): New rule.
394         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
395         <cpuid.h>.
396         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
397         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
398         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
399         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
400         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
401         * sysdeps/x86_64/dl-trampoline.h: Likewise.
402         * sysdeps/x86_64/ifuncmain8.c: New file.
403         * sysdeps/x86_64/ifuncmod8.c: Likewise.
404         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
405         Removed.
406         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
407         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
408         Change rtld_savespace_sse to __glibc_unused2.
409         (RTLD_CHECK_FOREIGN_CALL): Removed.
410         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
411         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
412         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
414 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
416         * sysdeps/aarch64/bzero.S (__bzero): Remove.
418 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
420         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
421         Unconditionally set __fpcr to avoid uninialized warning.
422         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
424 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
426         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
427         is corrupt.
429         * malloc/arena.c (arena_get2): Drop unused argument.
430         (arena_lock): Adjust.
431         (arena_get_retry): Likewise.
433 2015-08-24  Andreas Schwab  <schwab@suse.de>
435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
436         Don't define.
437         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
438         (__ASSUME_IPC64): Don't undef.
439         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
440         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
441         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
442         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
443         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
444         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
445         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
446         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
447         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
448         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
449         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
450         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
451         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
452         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
453         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
454         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
455         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
456         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
457         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
458         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
459         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
461 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
463         * manual/Makefile (install): Only build manual when perl is available.
465 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
467         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
468         '#undef memcpy' by '#undef memchr'.
470 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
472         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
473         memchr not point to the internal __GI_memchr implementation.
475 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
477         * timezone/Makefile (CFLAGS-zdump.c): Remove
478         -Wno-strict-prototypes.
479         (CFLAGS-zic.c): Likewise.
480         (CFLAGS-ialloc.c): Likewise.
481         (CFLAGS-scheck.c): Likewise.
483         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
484         -Wno-error=undef.
486 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
488         * i386/i686/multiarch/strcasestr-c.c: Removed.
489         * x86_64/multiarch/strcasestr.c: Likewise.
490         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
491         Remove strcasestr.
493 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
495         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
497         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
498         variables for high and low parts before possibly modifying them.
500 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
502         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
503         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
504         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
505         of "multiarch/init-arch.h".
506         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
507         * sysdeps/x86/init-arch.h: This.
509 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
511         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
512         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
514 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
516         [BZ #17787]
517         * manual/macros.texi: Add twoexp macro.
518         * manual/filesys.texi: Fix exponents.
519         * manual/llio.texi: Likewise.
520         * manual/stdio.texi: Likewise.
522 2015-08-20  Florian Weimer  <fweimer@redhat.com>
524         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
525         incorrect use.
527 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
529         [BZ #18370]
530         * math/s_csqrt.c (__csqrt): Force underflow exception for results
531         whose real or imaginary part has small absolute value.
532         * math/s_csqrtf.c (__csqrtf): Likewise.
533         * math/s_csqrtl.c (__csqrtl): Likewise.
534         * math/auto-libm-test-in: Add more tests of csqrt.
535         * math/auto-libm-test-out: Regenerated.
536         * sysdeps/i386/fpu/libm-test-ulps: Update.
538 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
540         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
541         __ppc_set_ppr_very_low): New functions.
542         * manual/platform.texi: Add documentation about
543         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
545 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
547         * string/stpncpy.c (stpncpy): Improve performance using
548         __strnlen/memcpy/memset.
550 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
552         [BZ #18796]
553         * scripts/test-installation.pl: Don't add -lmvec to build options if
554         libmvec wasn't built.
556 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
558         [BZ #14341]
559         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
560         case when there is a gap between DT_REL and DT_JMPREL sections.
561         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
562         (LDFLAGS-tst-split-dynreloc): New.
563         (tst-split-dynreloc-ENV): Likewise.
564         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
565         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
567 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
569         [BZ #18822]
570         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
571         attribute_hidden.
572         (__xstat64_conv): Likewise.
573         (__xstat32_conv): Likewise.
575 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
577         [BZ #18822]
578         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
579         Don't load %ebx when calling __setcontext.  Call __setcontext
580         with HIDDEN_JUMPTARGET.
581         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
582         libc_hidden_def.
584 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
586         * sysdeps/i386/i686/Makefile
587         [$(subdir) == string] (sysdep_routines): Moved to ...
588         * sysdeps/i386/Makefile: Here.
589         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
590         * sysdeps/i386/cacheinfo.c: Here.
591         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
592         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
593         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
594         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
596 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
598         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
599         __i586__ is defined.
600         (HAS_I686): Defined to 1 if __i686__ is defined.
602 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
604         * elf/Makefile [$(have-z-execstack) = yes]
605         (CPPFLAGS-tst-execstack.c): New variable.
607         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
608         conditional to [defined UTMPX || _HAVE_UT_TYPE].
609         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
610         UTMPX || _HAVE_UT_TV].
611         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
612         UTMPX || _HAVE_UT_TV - 0].
614 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
616         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
617         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
618         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
620 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
622         * sysdeps/powerpc/dl-procinfo.c:
623         (_dl_powerpc_cap_flags): Added missing strings for some
624         hwcap features.
625         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
627 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
629         Port the 0x7efe...feff pattern to GCC 6.
630         See Steve Ellcey's bug report in:
631         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
632         * string/memrchr.c (MEMRCHR):
633         * string/rawmemchr.c (RAWMEMCHR):
634         * string/strchr.c (strchr):
635         * string/strchrnul.c (STRCHRNUL):
636         Rewrite code to avoid issues with signed shift overflow.
638 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
640         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
641         whether cpuid is available only if HAS_CPUID is 0.
642         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
643         (HAS_I586): Likewise.
644         (HAS_I686): Likewise.
646 2015-08-18  Zack Weinberg  <zackw@panix.com>
648         * misc/Versions (libc): Add GLIBC_2.23.
650 2015-08-18  Alan Modra  <amodra@gmail.com>
652         [BZ #18421]
653         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
654         .Lp__global.
655         (_start): Load %dp via .Lp__global.
656         [!SHARED]: Use .section .rodata.
658 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
660         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
661         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
663 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
665         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
666         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
668 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
670         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
671         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
673 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
675         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
676         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
678 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
680         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
681         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
683 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
685         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
686         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
688 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
690         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
692 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
694         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
695         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
696         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
697         (__ASSUME_LWS_CAS): Delete.
699 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
701         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
702         * sysdeps/hppa/configure: Regenerated.
703         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
704         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
705         * sysdeps/hppa/nptl/tls.h: Likewise.
707 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
709         [BZ #18823]
710         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
711         for scaling up small arguments.
712         * math/s_csqrtf.c (__csqrtf): Likewise.
713         * math/s_csqrtl.c (__csqrtl): Likewise.
714         * math/auto-libm-test-in: Add more tests of csqrt.
715         * math/auto-libm-test-out: Regenerated.
717 2015-08-17  Andreas Schwab  <schwab@suse.de>
719         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
720         version set GLIBC_2.19.
722 2015-08-16  Zack Weinberg  <zackw@panix.com>
724         [BZ #18681]
725         * misc/regexp.h: This interface is no longer supported.
726         Remove all contents, leaving only an #error directive.
727         * misc/regexp.c (loc1, loc2, locs, step, advance):
728         Demote to compatibility symbols.
730 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
732         [BZ #18084]
733         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
734         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
735         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
736         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
737         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
738         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
739         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
740         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
741         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
743 2015-08-15  Zack Weinberg  <zackw@panix.com>
745         [BZ #18795]
746         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
747         buffer length is known to be too large, not if it's known to be
748         small enough.
749         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
750         overflow at runtime, involving a length parameter, twice: once
751         with a compile-time constant length parameter, once without.
753 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
755         [BZ #18824]
756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
757         scaling x * y up instead of down.
758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
760         * math/auto-libm-test-in: Add more tests of fma.
761         * math/auto-libm-test-out: Regenerated.
763 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
765         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
767 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
769         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
770         unnecessary movq.
771         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
772         Likewise.
774 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
776         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
777         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
778         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
779         and tgamma.
780         * math/auto-libm-test-out: Regenerated.
781         * sysdeps/i386/fpu/libm-test-ulps: Update.
782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
784         [BZ #16520]
785         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
786         (__tanh): Force underflow exception for arguments with small
787         absolute value.
788         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
789         (__tanhf): Force underflow exception for arguments with small
790         absolute value.
791         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
792         (__tanhl): Force underflow exception for arguments with small
793         absolute value.
794         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
795         (__tanhl): Force underflow exception for arguments with small
796         absolute value.
797         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
798         (__tanhl): Force underflow exception for arguments with small
799         absolute value.
800         * math/auto-libm-test-in: Add more tests of tanh.
801         * math/auto-libm-test-out: Regenerated.
802         * sysdeps/i386/fpu/libm-test-ulps: Update.
804 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
806         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
807         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
809 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
811         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
812         <cpuid.h>.
814 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
816         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
817         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
819 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
821         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
822         Remove $(objpfx)init-arch.o.
823         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
824         init-arch.
825         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
826         (INIT_ARCH_EXT): Defined as empty.
827         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
828         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
829         __init_cpu_features call.  Replace HAS_XXX with
830         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
831         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
832         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
836         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
837         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
838         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
842         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
843         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
844         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
848         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
849         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
850         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
852         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
853         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
854         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
855         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
856         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
857         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
858         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
859         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
861         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
862         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
863         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
865         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
867 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
869         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
870         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
871         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
872         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
873         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
874         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
875         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
876         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
877         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
878         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
879         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
880         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
881         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
882         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
883         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
884         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
885         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
886         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
887         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
888         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
889         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
890         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
891         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
892         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
893         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
894         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
895         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
896         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
897         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
898         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
899         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
900         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
901         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
902         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
903         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
904         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
905         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
906         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
907         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
908         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
909         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
910         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
911         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
913 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
915         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
916         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
917         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
918         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
919         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
920         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
921         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
922         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
923         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
924         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
925         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
926         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
927         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
928         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
929         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
930         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
931         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
932         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
933         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
934         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
936         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
937         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
938         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
939         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
940         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
941         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
942         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
943         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
944         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
945         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
946         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
947         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
948         * sysdeps/x86_64/multiarch/memset.S: Likewise.
949         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
950         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
951         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
952         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
953         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
954         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
955         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
956         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
957         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
959 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
961         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
962         (dl_platform_init): Call init_cpu_features.
963         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
964         * sysdeps/i386/i686/cacheinfo.c
965         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
966         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
967         * sysdeps/i386/i686/multiarch/Versions: Removed.
968         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
969         Removed.
970         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
971         * sysdeps/unix/sysv/linux/x86/Makefile
972         (libpthread-sysdep_routines): Remove init-arch.
973         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
974         <sysdeps/x86_64/dl-procinfo.c> instead of
975         sysdeps/generic/dl-procinfo.c>.
976         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
977         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
978         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
979         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
980         [$(subdir) == elf] (tests-static): Add
981         tst-get-cpu-features-static.
982         * sysdeps/x86/Versions: New file.
983         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
984         * sysdeps/x86/cpu-features.c: Likewise.
985         * sysdeps/x86/cpu-features.h: Likewise.
986         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
987         * sysdeps/x86/libc-start.c: Likewise.
988         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
989         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
990         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
991         * sysdeps/x86_64/dl-procinfo.c: Likewise.
992         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
993         Assume USE_MULTIARCH is defined and don't check it.
994         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
995         (is_amd): Likewise.
996         (max_cpuid): Likewise.
997         (intel_check_word): Likewise.
998         (__cache_sysconf): Don't call __init_cpu_features.
999         (__x86_preferred_memory_instruction): Removed.
1000         (init_cacheinfo): Don't call __init_cpu_features. Replace
1001         __cpu_features with GLRO(dl_x86_cpu_features).
1002         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1003         (dl_platform_init): Call init_cpu_features.
1004         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1005         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1006         * sysdeps/x86_64/multiarch/Versions: Removed.
1007         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1008         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1009         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1010         Removed.
1011         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1013 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1015         [BZ #18820]
1016         * libio/Makefile (test-fmemopen-mem): New test.
1017         * libio/test-fmemopen.c (do_bz18820): New test.
1018         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1019         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1021 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1023         [BZ #16734]
1024         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1025         (FREE_BUF): Delete.
1026         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1027         * libio/genops.c (_IO_setb): Use malloc and free directly.
1028         (_IO_default_doallocate, _IO_default_finish): Likewise.
1029         ( _IO_unbuffer_all): Likewise.
1030         ( libc_freeres_fn): Likewise.
1031         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1032         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1033         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1034         (_IO_wdefault_doallocate): Likewise.
1036 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1038         [BZ #18086]
1039         * sysdeps/posix/nice.c (nice): Restore old errno.
1040         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1042 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1046 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1048         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1049         __bcopy and add a weak_alias to bcopy.
1050         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1051         for static build.
1053         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1054         cleanup macro usage.
1055         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1058         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1059         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1060         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1061         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1062         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1063         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1064         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1066         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1068         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1069         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1071         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1072         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1073         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1075         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1076         libc_hidden_def.
1077         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1079         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1080         (sysdep_routines): Add strstr-ppc64.
1081         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1083 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1085         [BZ #18778]
1086         * elf/Makefile (tests): Add Add tst-nodelete2.
1087         (modules-names): Add tst-nodelete2mod.
1088         (tst-nodelete2mod.so-no-z-defs): New.
1089         ($(objpfx)tst-nodelete2): Likewise.
1090         ($(objpfx)tst-nodelete2.out): Likewise.
1091         (LDFLAGS-tst-nodelete2): Likewise.
1092         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1093         out of loop through all loaded libraries.
1094         * elf/tst-nodelete2.c: New file.
1095         * elf/tst-nodelete2mod.c: Likewise.
1097 2015-08-11  Andreas Schwab  <schwab@suse.de>
1099         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1100         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1101         (__openat64_nocancel): Likewise.
1103 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1105         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1106         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1107         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1108         * math/auto-libm-test-out: Regenerated.
1109         * sysdeps/i386/fpu/libm-test-ulps: Update.
1110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1112 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1114         [BZ #18790]
1115         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1116         threshold for returning +/- 1.
1117         * math/auto-libm-test-in: Add more tests of tanh.
1118         * math/auto-libm-test-out: Regenerated.
1119         * sysdeps/i386/fpu/libm-test-ulps: Update.
1121 2015-08-10  Andreas Schwab  <schwab@suse.de>
1123         [BZ #18781]
1124         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1125         MORE_OFLAGS to oflag.
1126         * io/test-lfs.c (do_test): Test openat64.
1128 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1130         [BZ #18789]
1131         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1132         smaller threshold for returning the argument.
1133         * math/auto-libm-test-in: Add more tests of sinh.
1134         * math/auto-libm-test-out: Regenerated.
1135         * sysdeps/i386/fpu/libm-test-ulps: Update.
1137 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1139         [BZ #18674]
1140         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1141         break.
1143 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1145         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1146         (generated): Don't add $(addprefix z.,$(tzfiles)).
1148 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1150         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1151         * scripts/sysd-rules.awk: Likewise.
1153 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1155         * iconvdata/tst-tables.sh: Change echo -n to printf.
1156         * nss/db-Makefile: Likewise.
1157         * posix/tst-getconf.sh: Likewise.
1158         * stdio-common/tst-unbputc.sh: Likewise.
1160 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1162         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1163         MADV_*_PAGES defines behind this feature check.
1165 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1167         [BZ #18480]
1168         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1169         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1170         Define.
1171         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1172         LOAD_REGS_5, LOAD_REGS_6): Update.
1173         (INTERNAL_SYSCALL): Update using new LOAD defines.
1174         (INTERNAL_SYSCALL_NCS): Likewise.
1175         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1177 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1179         [BZ #16734]
1180         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1182 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1184         [BZ #17905]
1185         * catgets/Makefile (tst-catgets-mem): New test.
1186         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1187         * catgets/open_catalog.c (__open_catalog): Likewise.
1188         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1190 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1192         [BZ #18787]
1193         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1194         clobber registers.
1195         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1196         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1197         Cast return to __typeof (oldval).
1199 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1201         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1202         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1203         and delete sys/syscall.h include.
1205 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1207         [BZ #16517]
1208         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1209         (tan): Force underflow exception for arguments with small absolute
1210         value.
1211         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1212         (__kernel_tanf): Force underflow exception for arguments with
1213         small absolute value.
1214         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1215         (__kernel_tanl): Force underflow exception for arguments with
1216         small absolute value.
1217         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1218         (__kernel_tanl): Force underflow exception for arguments with
1219         small absolute value.
1220         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1221         (__kernel_tanl): Force underflow exception for arguments with
1222         small absolute value.
1223         * math/auto-libm-test-in: Add more tests of tan.
1224         * math/auto-libm-test-out: Regenerated.
1226 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1228         Fix sysdeps/i386/fpu/s_scalbn.S build
1230         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1232 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1234         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1236 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1238         Fix gcrt0.o compilation
1240         When static-start-installed-name is different from
1241         start-installed-name, we must not use the shared objects.
1243         * csu/Makefile
1244         (extra-objs): Add gmon-start.o when building shared library and
1245         $(static-start-installed-name) is different from
1246         $(start-installed-name).
1247         $(objpfx)g$(static-start-installed-name): When building shared
1248         library and $(static-start-installed-name) is different from
1249         $(static-start-installed-name), revert to non-shared rule,
1250         i.e. using $(objpfx)% and gmon-start.o.
1252 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1254         [BZ #16519]
1255         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1256         (__ieee754_sinh): Force underflow exception for arguments with
1257         small absolute value.
1258         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1259         (__ieee754_sinhf): Force underflow exception for arguments with
1260         small absolute value.
1261         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1262         (__ieee754_sinhl): Force underflow exception for arguments with
1263         small absolute value.
1264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1265         (__ieee754_sinhl): Force underflow exception for arguments with
1266         small absolute value.
1267         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1268         (__ieee754_sinhl): Force underflow exception for arguments with
1269         small absolute value.
1270         * math/auto-libm-test-in: Add more tests of sinh.
1271         * math/auto-libm-test-out: Regenerated.
1272         * sysdeps/i386/fpu/libm-test-ulps: Update.
1274 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1276         * libio/oldfileops.c: Include unistd.h.
1278 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1280         * stdlib/isomac.c: Include ctype.h.
1282 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1284         * dirent/tst-seekdir.c (main): Converted to ...
1285         (do_test): ... this.
1286         (TEST_FUNCTION): New macro.
1287         Include test-skeleton.c.
1288         * elf/tst-dlmodcount.c (main): Converted to ...
1289         (do_test): ... this.
1290         (TEST_FUNCTION): New macro.
1291         Include test-skeleton.c.
1292         * elf/tst-order-main.c (main): Converted to ...
1293         (do_test): ... this.
1294         (TEST_FUNCTION): New macro.
1295         Include test-skeleton.c.
1296         * elf/tst-pie2.c (main): Converted to ...
1297         (do_test): ... this.
1298         (TEST_FUNCTION): New macro.
1299         Include test-skeleton.c.
1300         * inet/tst-ether_aton.c (main): Converted to ...
1301         (do_test): ... this.
1302         (TEST_FUNCTION): New macro.
1303         Include test-skeleton.c.
1304         * misc/tst-mntent.c (main): Converted to ...
1305         (do_test): ... this.
1306         (TEST_FUNCTION): New macro.
1307         Include test-skeleton.c.
1308         * misc/tst-tsearch.c (main): Converted to ...
1309         (do_test): ... this.
1310         (TEST_FUNCTION): New macro.
1311         Include test-skeleton.c.
1312         * posix/tst-regexloc.c (main): Converted to ...
1313         (do_test): ... this.
1314         (TEST_FUNCTION): New macro.
1315         Include test-skeleton.c.
1316         * resolv/tst-aton.c (main): Converted to ...
1317         (do_test): ... this.
1318         (TEST_FUNCTION): New macro.
1319         Include test-skeleton.c.
1320         * stdio-common/test-fwrite.c (main): Converted to ...
1321         (do_test): ... this.
1322         (TEST_FUNCTION): New macro.
1323         Include test-skeleton.c.
1324         * stdio-common/tst-ferror.c (main): Converted to ...
1325         (do_test): ... this.
1326         (TEST_FUNCTION): New macro.
1327         Include test-skeleton.c.
1328         * stdio-common/tst-printf.c (main): Converted to ...
1329         (do_test): ... this.
1330         (TEST_FUNCTION): New macro.
1331         Include test-skeleton.c.
1332         * stdio-common/tst-printfsz.c (main): Converted to ...
1333         (do_test): ... this.
1334         (TEST_FUNCTION): New macro.
1335         Include test-skeleton.c.
1336         * stdlib/tst-strtod.c (main): Converted to ...
1337         (do_test): ... this.
1338         (TEST_FUNCTION): New macro.
1339         Include test-skeleton.c.
1340         * string/tst-strlen.c (main): Converted to ...
1341         (do_test): ... this.
1342         (TEST_FUNCTION): New macro.
1343         Include test-skeleton.c.
1344         * string/tst-svc.c (main): Converted to ...
1345         (do_test): ... this.
1346         (TEST_FUNCTION): New macro.
1347         Include test-skeleton.c.
1348         * time/tst-strptime.c (main): Converted to ...
1349         (do_test): ... this.
1350         (TEST_FUNCTION): New macro.
1351         Include test-skeleton.c.
1352         * timezone/tst-timezone.c (main): Converted to ...
1353         (do_test): ... this.
1354         (TEST_FUNCTION): New macro.
1355         Include test-skeleton.c.
1357 2015-08-05  Zack Weinberg  <zackw@panix.com>
1359         * misc/regexp.h: Update comments.
1361 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1363         [BZ #18635]
1364         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1365         before return label.
1367 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1369         [BZ #18661]
1370         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1371         when calling __errno_location.
1372         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1373         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1375 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1377         [BZ #18661]
1378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1379         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1380         __gettimeofday.
1382 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1384         [BZ #18661]
1385         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1386         (__start_context): Don't use pop to restore %rdi so that stack
1387         is aligned to 16 bytes when calling __setcontext.
1389 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1391         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1392         only for libc.
1393         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1395 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1397         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1398         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1399         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1401 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1403         * string/memccpy.c (memccpy):
1404         Improve performance by using memchr/memcpy/__mempcpy.
1406 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1408         * string/strncpy.c (strncpy):
1409         Improve performance by using __strnlen/memcpy.
1411 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1413         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1414         Optimize to avoid an unnecessary FPCR read.
1416 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1418         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1419         Optimize to reduce FPCR/FPSR accesses.
1421 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1423         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1424         dead->data[category] != NULL.
1426 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1428         [BZ #18647]
1429         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1430         and |x| close to 1, use absolute value of x when computing log.
1431         * math/auto-libm-test-in: Add more tests of pow.
1432         * math/auto-libm-test-out: Regenerated.
1434 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1436         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1437         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1438         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1440 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1442         [BZ #18525]
1443         * locales/km_KH: Remove timezone definition.
1444         * locales/lo_LA: Likewise.
1445         * locales/my_MM: Likewise.
1446         * locales/nan_TW@latin: Likewise.
1447         * locales/th_TH: Likewise.
1448         * locales/uk_UA: Likewise.
1450 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1452         [BZ #18265]
1453         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1454         (wcsncat): Likewise.
1455         (wcscmp): Likewise.
1456         (wcsncmp): Likewise.
1458 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1460         * test-skeleton.c (usage): New function.
1461         (main): Call usage when opt is '?'.
1463 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1465         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1466         before first use.
1468 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1470         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1471         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1472         in there too.
1474 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1476         * version.h (RELEASE): Set to "development".
1477         (VERSION): Set to "2.22.90"
1479         * version.h (RELEASE): Set to "stable".
1480         (VERSION): Set to "2.22"
1481         * include/features.h (__GLIBC_MINOR__): Set to 22.
1483 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1485         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1486         Restructure macro to avoid "value computed is not used" warning.
1487         (atomic_compare_and_exchange_val_acq): Likewise.
1489 2015-08-04  Andreas Schwab  <schwab@suse.de>
1491         [BZ #18635]
1492         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1493         ret.
1494         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1496 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1498         * po/pl.po: Updated translation.
1499         * po/uk.po: Likewise.
1500         * po/fi.po: Likewise.
1501         * po/ko.po: Likewise.
1502         * po/ru.po: Likewise.
1503         * po/vi.po: Likewise.
1505 2015-07-31  Zack Weinberg  <zackw@panix.com>
1507         [BZ #18681]
1508         * regexp.h: Add unconditional #warning stating that this header
1509         will be removed soon.  Revise banner comment to match.
1510         (compile): Consistently use ERROR instead of RETURN to report
1511         errors (partial fix for bz#18681).
1512         * regexp.c: Don't include regexp.h. Remove some unnecessary
1513         declarations.
1515 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1517         * po/libc.pot: Regenerated.
1519 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1521         [BZ #18740]
1522         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1523         float-vlen4-arch-ext-cflags): Removed.
1524         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1525         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1527 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1529         [BZ #14113]
1530         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1531         aligned to __aligned__.
1532         (pthread_cond_t, pthread_rwlock_t): Likewise.
1534 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1536         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1538 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1540         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1541         (struct sigaction): Change sa_flags from a long to an int, and add
1542         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1544 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1546         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1547         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1548         sysdeps/generic/sysdep.h include.
1549         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1550         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1551         sysdeps/hppa/sysdep.h.
1552         (ENTRY, PSEUDO): Undefine before defining.
1554 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1556         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1557         from scratch to use INTERNAL_SYSCALL.
1559 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1561         [BZ #18078]
1562         * scripts/check-localplt.awk: Support alternate relocations.
1563         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1564         sections.
1565         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1566         malloc entries with + REL R_386_GLOB_DAT.
1567         * sysdeps/x86_64/localplt.data: New file.
1569 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1571         [BZ #18731]
1572         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1573         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1574         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1576 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1578         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1580 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1582         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1583         directly in terms of __sync_fetch_and_add and delete (int) cast.
1585 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1587         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1588         the -D_ASM_IA64_CURRENT_H flag.
1590 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1592         [BZ #18641]
1593         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1595 2015-07-27  Andreas Schwab  <schwab@suse.de>
1597         * conform/conformtest.pl (checknamespace): Filter out string
1598         literals while tokenizing.
1600 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1602         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1603         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1604         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1606 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1608         * nptl/tst-join7mod.c: Add #include <string.h>.
1610 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1612         * sysdeps/nios2/libm-test-ulps: Update.
1614 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1616         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1617         Fix order of arguments to the rt_sigprocmask syscall.
1618         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1619         Likewise.
1621 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1623         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1625 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1627         [BZ #18457]
1628         * nptl/Makefile (tests): New test case tst-join7.
1629         (modules-names): New test case module tst-join7mod.
1630         * nptl/tst-join7.c: New file.
1631         * nptl/tst-join7mod.c: New file.
1632         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1633         all translation units in libc.so, libpthread.so and rtld.
1635 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1639 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1641         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1642         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1643         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1644         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1645         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1647         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1650         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1651         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1653         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1654         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1656         implementation.
1658 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1660         [BZ #17711]
1661         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1662         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1663         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1664         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1665         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1666         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1668 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1670         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1671         instead of just saying load lock in the comments.
1673 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1675         * sysdeps/unix/Subdirs: Moved ...
1676         * sysdeps/posix/Subdirs: ... here.
1677         * login/pty.h (struct termios, struct winsize): Add forward decls.
1678         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1679         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1680         * sysdeps/arm/nacl/libc.abilist: Updated.
1681         * sysdeps/nacl/libutil.abilist: New file.
1683         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1684         (SIGWINCH): New macro.
1686         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1687         * sysdeps/arm/nacl/libc.abilist: Add it.
1689 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1691         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1693 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1695         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1696         Swap __glibc_reserved0 and sa_flags order.
1698 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1700         [BZ #18657]
1701         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1702         are pending TLS destructor calls.
1703         * include/link.h (struct link_map): Add concurrency note for
1704         L_TLS_DTOR_COUNT.
1705         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1706         Don't touch the link map flag.  Atomically increment
1707         l_tls_dtor_count.
1708         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1709         Avoid taking the load lock and don't touch the link map flag.
1710         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1711         * stdlib/Makefile (tests): Use it.
1712         * stdlib/tst-tls-atexit.c (do_test): dlopen
1713         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1714         to allow tst-tls-atexit-nodelete test case to use it.
1716 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1718         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1719         to bits/types.h.
1720         (msgqnum_t): New typedef.
1721         (msglen_t): Likewise.
1722         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1723         and msg_qbytes type to msglen_t.
1725 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1727         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1728         pad0 to __glibc_reserved0.
1729         (struct stat64): Likewise.
1731 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1733         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1734         Change sa_flags from a long to an int and add __glibc_reserved0 before
1735         it for padding.
1737 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1739         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1740         anonymous by deleting "siginfo" name.
1742 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1744         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1745         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1746         rather than __nacl_irt_filename.
1747         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1749         * NEWS: New item for arm-nacl port.
1750         * sysdeps/arm/nacl/libc.abilist: New file.
1751         * sysdeps/nacl/ld.abilist: New file.
1752         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1753         * sysdeps/nacl/libanl.abilist: New file.
1754         * sysdeps/nacl/libcrypt.abilist: New file.
1755         * sysdeps/nacl/libdl.abilist: New file.
1756         * sysdeps/nacl/libm.abilist: New file.
1757         * sysdeps/nacl/libpthread.abilist: New file.
1758         * sysdeps/nacl/libresolv.abilist: New file.
1759         * sysdeps/nacl/librt.abilist: New file.
1761 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1763         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1764         __startcontext to initialize the new context.
1765         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1766         up CFI directive to forbid further backtracing.
1768 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1770         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1771         reference.
1772         * charmaps/ANSI_X3.4-1968: Likewise.
1773         * charmaps/BS_4730: Likewise.
1774         * charmaps/BS_VIEWDATA: Likewise.
1775         * charmaps/CP1250: Likewise.
1776         * charmaps/CP1251: Likewise.
1777         * charmaps/CP1252: Likewise.
1778         * charmaps/CP1253: Likewise.
1779         * charmaps/CP1254: Likewise.
1780         * charmaps/CP1255: Likewise.
1781         * charmaps/CP1256: Likewise.
1782         * charmaps/CSN_369103: Likewise.
1783         * charmaps/EBCDIC-DK-NO: Likewise.
1784         * charmaps/GB_1988-80: Likewise.
1785         * charmaps/GREEK-CCITT: Likewise.
1786         * charmaps/GREEK7: Likewise.
1787         * charmaps/INIS-8: Likewise.
1788         * charmaps/ISIRI-3342: Likewise.
1789         * charmaps/ISO_2033-1983: Likewise.
1790         * charmaps/ISO_5427-EXT: Likewise.
1791         * locales/POSIX: Likewise.
1792         * locales/ar_SA: Likewise.
1793         * locales/be_BY: Likewise.
1794         * locales/be_BY@latin: Likewise.
1795         * locales/ca_ES: Likewise.
1796         * locales/cs_CZ: Likewise.
1797         * locales/da_DK: Likewise.
1798         * locales/de_BE: Likewise.
1799         * locales/de_CH: Likewise.
1800         * locales/de_LU: Likewise.
1801         * locales/en_AU: Likewise.
1802         * locales/en_BW: Likewise.
1803         * locales/en_CA: Likewise.
1804         * locales/en_DK: Likewise.
1805         * locales/en_GB: Likewise.
1806         * locales/en_IE: Likewise.
1807         * locales/en_NZ: Likewise.
1808         * locales/en_ZA: Likewise.
1809         * locales/en_ZW: Likewise.
1810         * locales/es_AR: Likewise.
1811         * locales/es_BO: Likewise.
1812         * locales/es_CL: Likewise.
1813         * locales/es_CO: Likewise.
1814         * locales/es_DO: Likewise.
1815         * locales/es_EC: Likewise.
1816         * locales/es_ES: Likewise.
1817         * locales/es_HN: Likewise.
1818         * locales/es_MX: Likewise.
1819         * locales/es_PA: Likewise.
1820         * locales/es_PE: Likewise.
1821         * locales/es_PY: Likewise.
1822         * locales/es_SV: Likewise.
1823         * locales/es_US: Likewise.
1824         * locales/es_UY: Likewise.
1825         * locales/es_VE: Likewise.
1826         * locales/et_EE: Likewise.
1827         * locales/fa_IR: Likewise.
1828         * locales/fo_FO: Likewise.
1829         * locales/fr_CA: Likewise.
1830         * locales/fr_CH: Likewise.
1831         * locales/gv_GB: Likewise.
1832         * locales/he_IL: Likewise.
1833         * locales/hr_HR: Likewise.
1834         * locales/id_ID: Likewise.
1835         * locales/is_IS: Likewise.
1836         * locales/it_CH: Likewise.
1837         * locales/iw_IL: Likewise.
1838         * locales/kl_GL: Likewise.
1839         * locales/ko_KR: Likewise.
1840         * locales/kw_GB: Likewise.
1841         * locales/lg_UG: Likewise.
1842         * locales/lt_LT: Likewise.
1843         * locales/lv_LV: Likewise.
1844         * locales/mi_NZ: Likewise.
1845         * locales/nhn_MX: Likewise.
1846         * locales/nl_BE: Likewise.
1847         * locales/pl_PL: Likewise.
1848         * locales/sk_SK: Likewise.
1849         * locales/sl_SI: Likewise.
1850         * locales/sv_FI: Likewise.
1851         * locales/tl_PH: Likewise.
1852         * locales/tr_TR: Likewise.
1853         * locales/vi_VN: Likewise.
1855 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1857         [BZ #17475]
1858         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1859         of tu_IN and bh_IN.
1861 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1863         [BZ #18694]
1864         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1865         bits/wordsize.h.
1866         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1868 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1870         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1871         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1872         (spawn_thread): New function.
1873         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1874         (do_test): ... here.  Use IS_LOADED to test for its
1875         availability.
1877 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1879         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1881 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1883         [BZ #18696]
1884         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1885         si_addr_bnd.
1886         (si_lower): New.
1887         (si_upper): Likewise.
1889 2015-07-16  David S. Miller  <davem@davemloft.net>
1891         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1893 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1895         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1896         buffer.
1897         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1898         fail output information.
1900 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1903         and strstr-ppc64..
1904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1905         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1906         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1907         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1908         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1910 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1912         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1913         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1914         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1915         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1917 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1919         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1920         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1921         rtld_hidden_proto.
1922         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1924 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1926         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1927         the test can fail.
1929         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1931         [BZ #18676]
1932         * elf/tst-nodelete-opened.c: New test case.
1933         * elf/tst-nodelete-opened-lib.c: New test case module.
1934         * elf/Makefile (tests, modules-names): Use them.
1935         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1936         early.
1938 2015-07-15  David S. Miller  <davem@davemloft.net>
1940         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1941         futex-intenal.h
1942         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1943         * sysdeps/sparc/sparc64/Makefile: Likewise.
1944         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1945         Remove space from macro define.
1946         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1948 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1950         [BZ #17475]
1951         * locale/iso-639.def: Update Bhili and Tulu language codes as
1952         per iso639-3.
1954 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1956         * elf/tst-leaks1.c (main): Converted to ...
1957         (do_test): ... this.
1958         (TEST_FUNCTION): New macro.
1959         Include test-skeleton.c.
1960         * localedata/tst-langinfo.c (main): Converted to ...
1961         (do_test): ... this.
1962         (TEST_FUNCTION): New macro.
1963         Include test-skeleton.c.
1964         * math/test-fpucw.c (main): Converted to ...
1965         (do_test): ... this.
1966         (TEST_FUNCTION): New macro.
1967         Include test-skeleton.c.
1968         * math/test-tgmath.c (main): Converted to ...
1969         (do_test): ... this.
1970         (TEST_FUNCTION): New macro.
1971         Include test-skeleton.c.
1972         * math/test-tgmath2.c (main): Converted to ...
1973         (do_test): ... this.
1974         (TEST_FUNCTION): New macro.
1975         Include test-skeleton.c.
1976         * setjmp/tst-setjmp.c (main): Converted to ...
1977         (do_test): ... this.
1978         (TEST_FUNCTION): New macro.
1979         Include test-skeleton.c.
1980         * stdio-common/tst-sscanf.c (main): Converted to ...
1981         (do_test): ... this.
1982         (TEST_FUNCTION): New macro.
1983         Include test-skeleton.c.
1984         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1985         (do_test): ... this.
1986         (TEST_FUNCTION): New macro.
1987         Include test-skeleton.c.
1989         * elf/tst-audit9.c (main): Converted to ...
1990         (do_test): ... this.
1991         (TEST_FUNCTION): New macro.
1992         Include test-skeleton.c.
1994 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1996         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1998 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2000         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2001         New variable.
2003 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2005         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2007 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2009         * sysdeps/generic/dl-fileid.h: New file.
2010         * sysdeps/posix/dl-fileid.h: New file.
2011         * sysdeps/nacl/dl-fileid.h: New file.
2012         * include/link.h: Include <dl-fileid.h>.
2013         (struct link_map): Replace l_dev and l_ino with l_file_id.
2014         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2015         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2016         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2018 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2020         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2022 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2024         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2025         Add iff $CXX is set.
2026         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2027         Likewise.
2028         (tst-nodelete-zmodiff): Likewise.
2029         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2031 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2033         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2035 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2037         * sysdeps/aarch64/fpu/math_private.h
2038         (define math_opt_barrier): Add AArch64 version.
2039         (math_force_eval): Likewise.
2041 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2043         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2045 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2047         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2048         %ld with %jd and cast to intmax_t.
2049         (do_test_length_zero): Likewise.
2051 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2053         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2055 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2057         * sysdeps/tile/libm-test-ulps: Regenerated.
2059         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2060         Comment out the whole function, not just its body.
2062 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2064         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2065         locks.
2067         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2069 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2071         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2072         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2074 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2076         * sysdeps/nptl/futex-internal.h: New file.
2077         * sysdeps/nacl/futex-internal.h: New file.
2078         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2079         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2080         error checking.
2081         (setxid_unmark_thread): Likewise.
2082         (__nptl_setxid): Likewise.
2083         (__wait_lookup_done): Likewise.
2084         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2085         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2086         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2087         * nptl/pthread_once.c (clear_once_control): Likewise.
2088         (__pthread_once_slow): Likewise.
2089         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2090         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2091         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2092         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2093         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2094         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2095         Likewise.
2096         (__pthread_rwlock_rdlock): Likewise.
2097         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2098         Likewise.
2099         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2100         Likewise.
2101         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2102         Likewise.
2103         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2104         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2105         Likewise.
2106         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2107         __ASSUME_PRIVATE_FUTEX check.
2108         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2109         Check that shared futexes are supported.
2110         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2111         wrappers with error checking.
2112         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2113         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2114         * nptl/pthread_barrierattr_setpshared.c
2115         (pthread_barrierattr_setpshared): Check that shared futexes are
2116         supported.
2117         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2118         Likewise.
2119         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2120         Likewise.
2121         * nptl/sem_init.c (futex_private_if_supported): Remove.
2122         (__new_sem_init): Adapt and check that shared futexes are supported.
2123         * nptl/sem_open.c (sem_open): Likewise.
2124         * nptl/sem_post.c (futex_wake): Remove.
2125         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2126         (do_futex_wait): Use futex wrappers with error checking.
2127         * nptl/sem_wait.c: Include lowlevellock.h.
2128         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2129         Use futex_supports_pshared.
2130         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2131         Use futex wrappers with error checking.
2132         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2133         Likewise.
2134         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2135         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2136         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2137         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2138         (futex_wake): Likewise.
2139         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2140         (do_futex_wait): Use futex wrappers with error checking.
2141         (__new_sem_wait_slow): Update EINTR handling.
2142         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2144 2015-07-09  Martin Sebor  <msebor@redhat.com>
2146         [BZ #18435]
2147         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2148         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2149         * nptl/Makefile (test-xfail-tst-once5): Define.
2151 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2153         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2154         * elf/dl-minimal.c: For readability, reorder some definitions and
2155         introduce more page breaks.  Include <stdio.h>.
2156         (__libc_fatal): New function.
2158         * include/unistd.h: Add rtld_hidden_proto for _exit.
2159         * posix/_exit.c: Add rtld_hidden_def.
2160         * sysdeps/mach/hurd/_exit.c: Likewise.
2161         * sysdeps/nacl/_exit.c: Likewise.
2162         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2163         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2165 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2167         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2168         bndmov encoding with zero displacement.
2170 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2171             H.J. Lu  <hongjiu.lu@intel.com>
2173         [BZ #18134]
2174         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2175         * sysdeps/i386/configure: Regenerated.
2176         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2177         (_dl_runtime_profile): Save and restore Intel MPX return bound
2178         registers when calling _dl_call_pltexit.  Add
2179         PRESERVE_BND_REGS_PREFIX before return.
2180         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2181         (LRV_BND1_OFFSET): Likewise.
2182         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2183         lrv_bnd1.
2184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2185         typo in bndmov encoding.
2186         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2187         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2188         branch instructions to preserve bounds.
2190 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2193         [GLIBC_2.22]: Add fmemopen.
2195 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2197         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2198         returns an error, also try to use host port from __mach_host_self for
2199         the __vm_wire call.
2200         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2202 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2204         [BZ #18400]
2205         [BZ #18648]
2206         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2207         Fix pr_uid and pr_gid members.
2208         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2209         definition to elf_greg_t.
2211 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2213         [BZ #18383]
2214         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2215         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2216         * sysdeps/arm/configure: Regenerated.
2217         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2218         (test-xfail-tst-tlsalign-static): Variable removed.
2220         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2221         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2222         rather than explicit 'ln -s'.
2224         * resolv/rpc/netdb.h: New file.
2225         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2227 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2229         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2230         length buffers.
2231         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2232         test-skeleton.c.
2234         [BZ #6544]
2235         [BZ #11216]
2236         [BZ #12836]
2237         [BZ #13151]
2238         [BZ #13152]
2239         [BZ #14292]
2240         * include/stdio.h (fmemopen): Remove hidden prototype.
2241         (__fmemopen): Add new hidden prototype.
2242         * libio/Makefile: Add oldfmemopen object.
2243         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2244         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2245         compliance.
2246         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2247         symbol compatibility.
2248         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2249         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2250         fmemopen.
2251         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2252         on append and read mode.
2253         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2254         fmemopen.
2255         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2256         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2257         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2258         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2259         Likewise.
2260         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2261         [GLIBC_2.22]: Likewise.
2262         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2263         Likewise.
2264         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2265         Likewise.
2266         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2267         [GLIBC_2.22]: Likewise.
2268         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2269         [GLIBC_2.22]: Likewise.
2270         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2271         [GLIBC_2.22]: Likewise.
2272         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2273         [GLIBC_2.22]: Likewise.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2275         [GLIBC_2.22]: Likewise.
2276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2277         [GLIBC_2.22]: Likewise.
2278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2279         [GLIBC_2.22]: Likewise.
2280         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2281         Likewise.
2282         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2283         Likewise.
2284         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2285         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2286         [GLIBC_2.22]: Likewise.
2287         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2288         [GLIBC_2.22]: Likewise.
2289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2290         [GLIBC_2.22]: Likewise.
2291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2292         [GLIBC_2.22]: Likewise.
2293         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2294         Likewise.
2295         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2298         Likewise.
2299         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2300         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2302 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2304         [BZ #18643]
2305         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2306         IPV6_PATHMTU, and IPV6_DONTFRAG.
2308 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2310         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2311         and _IO_UNBUFFERED.
2312         * libio/oldfileops.c: Likewise.
2313         * libio/wfileops.c: Likewise.
2315 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2317         * nscd/selinux.c: Delete selinux/flask.h include.
2319 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2321         [BZ #18641]
2322         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2323         (putpwent): Likewise.
2324         (getpwnam): Likewise.
2325         (getpwent_r): Likewise.
2326         (getpwuid_r): Likewise.
2327         (getpwnam_r): Likewise.
2328         (fgetpwent_r): Likewise.
2330 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2332         [BZ #18557]
2333         * inet/rcmd.c (__validuser2_sa): Check user first to
2334         short-circuit host check.
2336 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2337             Mikhail Ilin  <m.ilin@samsung.com>
2339         [BZ #17833]
2340         * elf/Makefile (tests): Add tst-nodelete.
2341         (modules-names): Add tst-nodelete-uniquemod.
2342         (tst-nodelete-uniquemod.so-no-z-defs): New.
2343         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2344         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2345         ($(objpfx)tst-nodelete): Likewise.
2346         ($(objpfx)tst-nodelete.out): Likewise.
2347         (LDFLAGS-tst-nodelete): Likewise.
2348         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2349         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2350         implement forced object deletion.
2351         (_dl_close): Pass false to _dl_close_worker.
2352         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2353         * elf/tst-nodelete.cc: New file.
2354         * elf/tst-nodeletelib.cc: Likewise.
2355         * elf/tst-znodeletelib.cc: Likewise.
2356         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2358 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2360         [BZ #18508]
2361         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2362         Depend on $(libdl).
2363         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2364         is not called infinitely times.
2365         (backtrace_helper): New function.
2366         (trace_arg): New struct.
2367         (st1): Enlarge stack size.
2368         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2369         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2370         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2371         Likewise.
2373 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2375         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2377 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2379         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2380         Include sys/types.h instead of bits/types.h.
2381         Remove inclusion of bits/wordsize.h.
2383 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2385         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2386         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2387         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2388         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2389         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2390         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2392 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2394         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2395         link-defines.sym.
2396         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2397         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2398         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2399         and LR_SIZE.
2400         * sysdeps/i386/link-defines.sym: New file.
2402 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2404         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2405         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2406         ($(objpfx)tst-audit3): New rule.
2407         ($(objpfx)tst-audit3.out): Likewise.
2408         * sysdeps/i386/tst-audit3.c: New file.
2409         * sysdeps/i386/tst-audit3.h: Likewise.
2410         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2411         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2413 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2415         [BZ #18633]
2416         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2417         pointer in C code.
2418         (__strcat_c): Likewise.
2419         (__strcat_g): Likewise.
2421 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2423         [BZ #18592]
2424         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2426 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2428         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2429         New function.  (__ieee754_sqrtf): New function.
2430         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2431         New function.
2432         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2433         New function.
2435 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2437         * sysdeps/ieee754/support.c: Remove unused file.
2439 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2441         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2442         registers instead of d ones so the layout is kernel abi compatible.
2443         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2444         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2445         Likewise.
2447 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2449         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2451 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2453         [BZ #18619]
2454         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2455         and return argument in case of subnormal argument.
2457 2015-07-01  Martin Sebor  <msebor@redhat.com>
2459         [BZ #18435]
2460         * nptl/Makefile: Add tst-once5.cc.
2461         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2462         Remove macro redefinitions.
2463         * nptl/tst-once5.cc: New test.
2465 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2467         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2469         * sysdeps/arm/libm-test-ulps: Regenerated.
2471         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2472         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2474 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2476         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2477         lll_lock_wait_private and lll_futex_wake probes.
2479         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2480         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2481         Likewise.
2482         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2483         atomic_spin_nop.
2484         * sysdeps/x86_64/bits/atomic.h: Likewise.
2485         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2486         to atomic_spin_nop and move ...
2487         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2488         ... here and ...
2489         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2490         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2491         atomic_spin_nop instead of BUSY_WAIT_NOP.
2492         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2493         Likewise.
2494         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2495         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2496         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2497         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2498         instead of atomic_delay.
2500 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2502         [BZ #18613]
2503         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2504         X_ADJ not X when adjusting exponent.
2505         (__ieee754_gamma_r): Do intermediate computations in
2506         round-to-nearest then adjust overflowing and underflowing results
2507         as needed.
2508         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2509         of X_ADJ not X when adjusting exponent.
2510         (__ieee754_gammaf_r): Do intermediate computations in
2511         round-to-nearest then adjust overflowing and underflowing results
2512         as needed.
2513         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2514         log of X_ADJ not X when adjusting exponent.
2515         (__ieee754_gammal_r): Do intermediate computations in
2516         round-to-nearest then adjust overflowing and underflowing results
2517         as needed.  Use 1.0L not 1.0f as numerator of division.
2518         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2519         log of X_ADJ not X when adjusting exponent.
2520         (__ieee754_gammal_r): Do intermediate computations in
2521         round-to-nearest then adjust overflowing and underflowing results
2522         as needed.  Use 1.0L not 1.0f as numerator of division.
2523         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2524         of X_ADJ not X when adjusting exponent.
2525         (__ieee754_gammal_r): Do intermediate computations in
2526         round-to-nearest then adjust overflowing and underflowing results
2527         as needed.  Use 1.0L not 1.0f as numerator of division.
2528         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2529         to auto-libm-test-in.
2530         (tgamma_test): Use ALL_RM_TEST.
2531         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2532         tests of tgamma with spurious-overflow.
2533         * math/auto-libm-test-out: Regenerated.
2534         * math/gen-libm-have-vector-test.sh: Do not check for START.
2535         * sysdeps/i386/fpu/libm-test-ulps: Update.
2536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2538         [BZ #18612]
2539         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2540         arguments, just return 0.5 times the argument, with underflow
2541         forced as needed.
2542         * math/auto-libm-test-in: Add more tests of j1.
2543         * math/auto-libm-test-out: Regenerated.
2545         [BZ #16559]
2546         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2547         (__ieee754_j1): Force underflow exception for small results.
2548         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2549         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2550         (__ieee754_j1f): Force underflow exception for small results.
2551         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2552         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2553         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2554         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2555         (__ieee754_j1l): Force underflow exception for small results.
2556         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2557         * math/auto-libm-test-in: Add more tests of j1 and jn.
2558         * math/auto-libm-test-out: Regenerated.
2560         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2561         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2562         (PF_MPLS): Likewise.
2563         (AF_IB): Likewise.
2564         (AF_MPLS): Likewise.
2565         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2566         value and macro.
2567         (MS_RMT_MASK): Include MS_LAZYTIME.
2569 2015-06-26  Mel Gorman  <mgorman@suse.de>
2571         [BZ #18502]
2572         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2573         already minimal.
2575 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2577         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2578         (DT_MIPS_NUM): Update.
2579         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2580         DT_MIPS_RLD_MAP_REL.
2582 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2584         [BZ #16559]
2585         [BZ #18602]
2586         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2587         round-to-nearest internally then recompute results that
2588         underflowed to zero in the original rounding mode.
2589         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2590         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2591         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2592         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2593         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2594         * sysdeps/i386/fpu/libm-test-ulps: Update.
2595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2599         * NEWS: Fixed description of link with vector math library.
2601 2015-06-25  Andreas Schwab  <schwab@suse.de>
2603         [BZ #18549]
2604         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2605         * libio/test-fmemopen.c (do_test): Add test for it.
2607 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2609         [BZ #17841]
2610         * Makeconfig (no-pie-ldflag): New.
2611         (+link): Set to $(+link-pie) if default to PIE.
2612         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2613         * config.make.in (build-pie-default): New.
2614         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2615         is default.  AC_SUBST.
2616         * configure: Regenerated.
2617         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2619 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2621         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2622         to 'unsigned int'.
2624         * resolv/gai_misc.h (struct waitlist): Change type of field
2625         counterp to 'volatile unsigned int *'.
2626         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2627         FUTEXADDR and OLDVAL.
2628         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2629         Give local variable TOTAL type 'volatile unsigned int'.
2630         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2631         * resolv/gai_suspend.c (gai_suspend):
2632         Give local variable CNTR type 'unsigned int'.
2634         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2635         counterp to 'volatile unsigned int *'.
2636         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2637         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2638         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2639         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2640         Give local variable TOTAL type 'volatile unsigned int'.
2641         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2643 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2645         [BZ #18383]
2646         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2647         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2648         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2649         comment for i386/x86-64.
2650         (test-xfail-tst-tlsalign-extern-static): Removed.
2652 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2654         * math/test-double.h: New file.
2655         * math/test-float.h: Likewise.
2656         * math/test-ldouble.h: Likewise.
2657         * math/test-math-inline.h: Likewise.
2658         * math/test-math-no-inline.h: Likewise.
2659         * math/test-math-scalar.h: Likewise.
2660         * math/test-math-vector.h: Likewise.
2661         * math/test-vec-loop.h: Remove file.  Contents moved into
2662         test-math-vector.h.
2663         * math/libm-test.inc (MATHCONST): Do not document macro.
2664         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2665         and test-math-scalar.h.
2666         (FUNC): Remove macro.
2667         (FUNC_TEST): Likewise.
2668         (FLOAT): Likewise.
2669         (MATHCONST): Likewise.
2670         (PRINTF_EXPR): Likewise.
2671         (PRINTF_XEXPR): Likewise.
2672         (PRINTF_NEXPR): Likewise.
2673         (TEST_DOUBLE): Likewise.
2674         (TEST_MATHVEC): Likewise.
2675         (__NO_MATH_INLINES): Likewise.
2676         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2677         and test-math-scalar.h.
2678         (FUNC): Remove macro.
2679         (FUNC_TEST): Likewise.
2680         (FLOAT): Likewise.
2681         (MATHCONST): Likewise.
2682         (PRINTF_EXPR): Likewise.
2683         (PRINTF_XEXPR): Likewise.
2684         (PRINTF_NEXPR): Likewise.
2685         (TEST_FLOAT): Likewise.
2686         (TEST_MATHVEC): Likewise.
2687         (__NO_MATH_INLINES): Likewise.
2688         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2689         and test-math-scalar.h.
2690         (FUNC): Remove macro.
2691         (FUNC_TEST): Likewise.
2692         (FLOAT): Likewise.
2693         (MATHCONST): Likewise.
2694         (PRINTF_EXPR): Likewise.
2695         (PRINTF_XEXPR): Likewise.
2696         (PRINTF_NEXPR): Likewise.
2697         (TEST_DOUBLE): Likewise.
2698         (TEST_MATHVEC): Likewise.
2699         (TEST_INLINE): Likewise.
2700         (__NO_MATH_INLINES): Likewise.
2701         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2702         test-math-scalar.h.
2703         (FUNC): Remove macro.
2704         (FUNC_TEST): Likewise.
2705         (FLOAT): Likewise.
2706         (MATHCONST): Likewise.
2707         (PRINTF_EXPR): Likewise.
2708         (PRINTF_XEXPR): Likewise.
2709         (PRINTF_NEXPR): Likewise.
2710         (TEST_FLOAT): Likewise.
2711         (TEST_MATHVEC): Likewise.
2712         (TEST_INLINE): Likewise.
2713         (__NO_MATH_INLINES): Likewise.
2714         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2715         and test-math-scalar.h.
2716         (FUNC): Remove macro.
2717         (FUNC_TEST): Likewise.
2718         (FLOAT): Likewise.
2719         (MATHCONST): Likewise.
2720         (PRINTF_EXPR): Likewise.
2721         (PRINTF_XEXPR): Likewise.
2722         (PRINTF_NEXPR): Likewise.
2723         (TEST_LDOUBLE): Likewise.
2724         (TEST_MATHVEC): Likewise.
2725         (TEST_INLINE): Likewise.
2726         (__NO_MATH_INLINES): Likewise.
2727         * math/test-ldouble.c: Include test-ldouble.h,
2728         test-math-no-inline.h and test-math-scalar.h.
2729         (FUNC): Remove macro.
2730         (FUNC_TEST): Likewise.
2731         (FLOAT): Likewise.
2732         (MATHCONST): Likewise.
2733         (PRINTF_EXPR): Likewise.
2734         (PRINTF_XEXPR): Likewise.
2735         (PRINTF_NEXPR): Likewise.
2736         (TEST_LDOUBLE): Likewise.
2737         (TEST_MATHVEC): Likewise.
2738         (__NO_MATH_INLINES): Likewise.
2739         * math/test-double-vlen2.h: Include test-double.h,
2740         test-math-no-inline.h and test-math-vector.h.
2741         (FLOAT): Remove macro.
2742         (FUNC): Likewise.
2743         (MATHCONST): Likewise.
2744         (PRINTF_EXPR): Likewise.
2745         (PRINTF_XEXPR): Likewise.
2746         (PRINTF_NEXPR): Likewise.
2747         (TEST_DOUBLE): Likewise.
2748         (TEST_MATHVEC): Likewise.
2749         (__NO_MATH_INLINES): Likewise.
2750         (CNCT): Likewise.
2751         (CONCAT): Likewise.
2752         (WRAPPER_NAME): Likewise.
2753         (WRAPPER_DECL): Likewise.
2754         (WRAPPER_DECL_ff): Likewise.
2755         (WRAPPER_DECL_fFF): Likewise.
2756         (VECTOR_WRAPPER): Likewise.
2757         (VECTOR_WRAPPER_ff): Likewise.
2758         (VECTOR_WRAPPER_fFF): Likewise.
2759         (VEC_LEN): New macro.
2760         * math/test-double-vlen4.h: Include test-double.h,
2761         test-math-no-inline.h and test-math-vector.h.
2762         (FLOAT): Remove macro.
2763         (FUNC): Likewise.
2764         (MATHCONST): Likewise.
2765         (PRINTF_EXPR): Likewise.
2766         (PRINTF_XEXPR): Likewise.
2767         (PRINTF_NEXPR): Likewise.
2768         (TEST_DOUBLE): Likewise.
2769         (TEST_MATHVEC): Likewise.
2770         (__NO_MATH_INLINES): Likewise.
2771         (CNCT): Likewise.
2772         (CONCAT): Likewise.
2773         (WRAPPER_NAME): Likewise.
2774         (WRAPPER_DECL): Likewise.
2775         (WRAPPER_DECL_ff): Likewise.
2776         (WRAPPER_DECL_fFF): Likewise.
2777         (VECTOR_WRAPPER): Likewise.
2778         (VECTOR_WRAPPER_ff): Likewise.
2779         (VECTOR_WRAPPER_fFF): Likewise.
2780         (VEC_LEN): New macro.
2781         * math/test-double-vlen8.h: Include test-double.h,
2782         test-math-no-inline.h and test-math-vector.h.
2783         (FLOAT): Remove macro.
2784         (FUNC): Likewise.
2785         (MATHCONST): Likewise.
2786         (PRINTF_EXPR): Likewise.
2787         (PRINTF_XEXPR): Likewise.
2788         (PRINTF_NEXPR): Likewise.
2789         (TEST_DOUBLE): Likewise.
2790         (TEST_MATHVEC): Likewise.
2791         (__NO_MATH_INLINES): Likewise.
2792         (CNCT): Likewise.
2793         (CONCAT): Likewise.
2794         (WRAPPER_NAME): Likewise.
2795         (WRAPPER_DECL): Likewise.
2796         (WRAPPER_DECL_ff): Likewise.
2797         (WRAPPER_DECL_fFF): Likewise.
2798         (VECTOR_WRAPPER): Likewise.
2799         (VECTOR_WRAPPER_ff): Likewise.
2800         (VECTOR_WRAPPER_fFF): Likewise.
2801         (VEC_LEN): New macro.
2802         * math/test-float-vlen4.h: Include test-float.h,
2803         test-math-no-inline.h and test-math-vector.h.
2804         (FLOAT): Remove macro.
2805         (FUNC): Likewise.
2806         (MATHCONST): Likewise.
2807         (PRINTF_EXPR): Likewise.
2808         (PRINTF_XEXPR): Likewise.
2809         (PRINTF_NEXPR): Likewise.
2810         (TEST_FLOAT): Likewise.
2811         (TEST_MATHVEC): Likewise.
2812         (__NO_MATH_INLINES): Likewise.
2813         (CNCT): Likewise.
2814         (CONCAT): Likewise.
2815         (WRAPPER_NAME): Likewise.
2816         (WRAPPER_DECL): Likewise.
2817         (WRAPPER_DECL_ff): Likewise.
2818         (WRAPPER_DECL_fFF): Likewise.
2819         (VECTOR_WRAPPER): Likewise.
2820         (VECTOR_WRAPPER_ff): Likewise.
2821         (VECTOR_WRAPPER_fFF): Likewise.
2822         (VEC_LEN): New macro.
2823         * math/test-float-vlen8.h: Include test-float.h,
2824         test-math-no-inline.h and test-math-vector.h.
2825         (FLOAT): Remove macro.
2826         (FUNC): Likewise.
2827         (MATHCONST): Likewise.
2828         (PRINTF_EXPR): Likewise.
2829         (PRINTF_XEXPR): Likewise.
2830         (PRINTF_NEXPR): Likewise.
2831         (TEST_FLOAT): Likewise.
2832         (TEST_MATHVEC): Likewise.
2833         (__NO_MATH_INLINES): Likewise.
2834         (CNCT): Likewise.
2835         (CONCAT): Likewise.
2836         (WRAPPER_NAME): Likewise.
2837         (WRAPPER_DECL): Likewise.
2838         (WRAPPER_DECL_ff): Likewise.
2839         (WRAPPER_DECL_fFF): Likewise.
2840         (VECTOR_WRAPPER): Likewise.
2841         (VECTOR_WRAPPER_ff): Likewise.
2842         (VECTOR_WRAPPER_fFF): Likewise.
2843         (VEC_LEN): New macro.
2844         * math/test-float-vlen16.h: Include test-float.h,
2845         test-math-no-inline.h and test-math-vector.h.
2846         (FLOAT): Remove macro.
2847         (FUNC): Likewise.
2848         (MATHCONST): Likewise.
2849         (PRINTF_EXPR): Likewise.
2850         (PRINTF_XEXPR): Likewise.
2851         (PRINTF_NEXPR): Likewise.
2852         (TEST_FLOAT): Likewise.
2853         (TEST_MATHVEC): Likewise.
2854         (__NO_MATH_INLINES): Likewise.
2855         (CNCT): Likewise.
2856         (CONCAT): Likewise.
2857         (WRAPPER_NAME): Likewise.
2858         (WRAPPER_DECL): Likewise.
2859         (WRAPPER_DECL_ff): Likewise.
2860         (WRAPPER_DECL_fFF): Likewise.
2861         (VECTOR_WRAPPER): Likewise.
2862         (VECTOR_WRAPPER_ff): Likewise.
2863         (VECTOR_WRAPPER_fFF): Likewise.
2864         (VEC_LEN): New macro.
2865         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2866         test-vec-loop.h.
2867         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2868         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2869         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2870         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2871         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2872         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2873         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2875 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2877         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2878         (__getlogin_r): ... this.
2880 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2882         [BZ #18594]
2883         * math/s_ccosh.c (__ccosh): Compare with least normal value
2884         instead of comparing class with FP_SUBNORMAL.
2885         * math/s_ccoshf.c (__ccoshf): Likewise.
2886         * math/s_ccoshl.c (__ccoshl): Likewise.
2887         * math/s_cexp.c (__cexp): Likewise.
2888         * math/s_cexpf.c (__cexpf): Likewise.
2889         * math/s_cexpl.c (__cexpl): Likewise.
2890         * math/s_csin.c (__csin): Likewise.
2891         * math/s_csinf.c (__csinf): Likewise.
2892         * math/s_csinh.c (__csinh): Likewise.
2893         * math/s_csinhf.c (__csinhf): Likewise.
2894         * math/s_csinhl.c (__csinhl): Likewise.
2895         * math/s_csinl.c (__csinl): Likewise.
2896         * math/s_ctan.c (__ctan): Likewise.
2897         * math/s_ctanf.c (__ctanf): Likewise.
2898         * math/s_ctanh.c (__ctanh): Likewise.
2899         * math/s_ctanhf.c (__ctanhf): Likewise.
2900         * math/s_ctanhl.c (__ctanhl): Likewise.
2901         * math/s_ctanl.c (__ctanl): Likewise.
2902         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2903         csin, csinh, ctan and ctanh.
2904         * math/auto-libm-test-out: Regenerated.
2905         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2906         * sysdeps/i386/fpu/libm-test-ulps: Update.
2907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2909 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2911         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2912         return value is wrong, print the expected value too.
2914 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2916         [BZ #18585]
2917         * elf/readlib.c (is_gdb_python_file): New.
2918         (process_file): Don't issue errors on filenames with -gdb.py
2919         suffix.
2921 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2923         * math/auto-libm-test-in: Add more tests of csin and csinh.
2924         * math/auto-libm-test-out: Regenerated.
2925         * math/libm-test.inc (csin_test_data): Remove tests moved to
2926         auto-libm-test-in.
2927         (csinh_test_data): Likewise.
2929         [BZ #18593]
2930         * math/s_csin.c (__csin): Negate before rather than after possibly
2931         overflowing multiplication.
2932         * math/s_csinf.c (__csinf): Likewise.
2933         * math/s_csinh.c (__csinh): Likewise.
2934         * math/s_csinhf.c (__csinhf): Likewise.
2935         * math/s_csinhl.c (__csinhl): Likewise.
2936         * math/s_csinl.c (__csinl): Likewise.
2937         * math/auto-libm-test-in: Add some tests of csin and csinh.
2938         * math/auto-libm-test-out: Regenerated.
2939         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2940         (csinh_test_data): Likewise.
2941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2943         [BZ #18586]
2944         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2945         underflow exception for small results.
2947 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2949         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2950         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2951         variable and included header.
2952         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2953         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2954         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2955         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2956         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2957         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2958         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2959         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2960         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2961         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2962         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2963         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2964         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2965         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2966         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2967         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2969 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2971         [BZ #16526]
2972         [BZ #16538]
2973         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2974         (__sin): Force underflow exception for arguments with small
2975         absolute value.
2976         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2977         (__kernel_sinf): Force underflow exception for arguments with
2978         small absolute value.
2979         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2980         (__kernel_sincosl): Force underflow exception for arguments with
2981         small absolute value.
2982         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2983         (__kernel_sinl): Force underflow exception for arguments with
2984         small absolute value.
2985         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2986         (__kernel_sincosl): Force underflow exception for arguments with
2987         small absolute value.
2988         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2989         (__kernel_sinl): Force underflow exception for arguments with
2990         small absolute value.
2991         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2992         (__kernel_sinl): Force underflow exception for arguments with
2993         small absolute value.
2994         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2995         (__kernel_sinf): Force underflow exception for arguments with
2996         small absolute value.
2997         * math/auto-libm-test-in: Add more tests of sin and sincos.
2998         * math/auto-libm-test-out: Regenerated.
3000         [BZ #18245]
3001         [BZ #18583]
3002         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3003         (__kernel_standard_l): Use feholdexcept and fesetenv around
3004         conversion to double instead of special-casing overflow and
3005         underflow.
3006         * math/libm-test.inc (fmod_test_data): Add more tests.
3007         (remainder_test_data): Likewise.
3008         (sqrt_test_data): Likewise.
3010 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3012         [BZ #17403]
3013         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3014         atomic_read_barrier, atomic_write_barrier): Define.
3015         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3016         atomic_read_barrier, atomic_write_barrier): Define.
3018 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3020         * math/Makefile [$(PERL) != no]
3021         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3022         dependency on libm-test.stmp below the inclusion of Rules.
3024 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3026         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3027         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3028         and included header.
3029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3030         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3031         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3032         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3033         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3034         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3035         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3036         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3037         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3038         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3039         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3040         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3041         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3042         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3043         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3044         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3045         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3046         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3047         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3049 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3051         [BZ #18371]
3052         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3053         intermediate but not final result might underflow.
3054         * math/s_csqrtf.c (__csqrtf): Likewise.
3055         * math/s_csqrtl.c (__csqrtl): Likewise.
3056         * math/auto-libm-test-in: Add more tests of csqrt.
3057         * math/auto-libm-test-out: Regenerated.
3058         * sysdeps/i386/fpu/libm-test-ulps: Update.
3060         [BZ #18219]
3061         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3062         threshold on absolute value of exponent for which scaling is used.
3063         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3064         * math/auto-libm-test-in: Add more tests of exp2.
3065         * math/auto-libm-test-out: Regenerated.
3067 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3069         [BZ #17977]
3070         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3071         when initializing interface list, based on the bug analysis
3072         and the patch proposed by Eric Newton.
3073         * resolv/tst-res_hconf_reorder.c: New test.
3074         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3075         tst-res_hconf_reorder.
3076         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3077         and $(shared-thread-library).
3078         (tst-res_hconf_reorder-ENV): New variable.
3080         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3081         in comment.
3083 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3085         [BZ #16353]
3086         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3087         (__expm1): Force underflow exception for arguments with small
3088         absolute value.
3089         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3090         (__expm1f): Force underflow exception for arguments with small
3091         absolute value.
3092         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3093         (__expm1): Force underflow exception for arguments with small
3094         absolute value.
3095         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3096         (__expm1f): Force underflow exception for arguments with small
3097         absolute value.
3098         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3099         Check for small arguments before calling __expm1.
3100         * math/auto-libm-test-in: Do not mark underflow exceptions as
3101         possibly missing for bug 16353.
3102         * math/auto-libm-test-out: Regenerated.
3104 2015-06-22  Andreas Schwab  <schwab@suse.de>
3106         [BZ #18513]
3107         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3108         PTR queries.
3110 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3112         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3114         * string/strcoll_l.c: Remove unused struct element idxnow.
3116 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3118         [BZ #18569]
3119         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3120         underflow and return argument in case of subnormal argument.
3121         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3122         Likewise.
3123         * math/auto-libm-test-in: Add more tests of expm1.
3124         * math/auto-libm-test-out: Regenerated.
3126         [BZ #16361]
3127         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3128         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3129         tiny results.
3130         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3131         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3132         tiny results.
3133         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3134         mark underflow exceptions as possibly missing for bug 16361.
3135         * math/auto-libm-test-out: Regenerated.
3137 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3139         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3140         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3141         Remove variable.
3142         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3143         (test-xfail-XOPEN2K8/utmpx.h/conform).
3145         * conform/conformtest.pl ($xerrors): New variable.
3146         (note_error): New function.
3147         (compiletest): New argument $xfail.  Use not_error.
3148         (runtest): Likewise.
3149         (top level): Handle xfail- lines.  Update calls to compiletest and
3150         runtest.  Handle xfail- and optional- in headers listed with
3151         allow-header.
3152         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3153         (O_EXEC): Likewise.
3154         (O_SEARCH): Likewise.
3155         * conform/data/stropts.h-data (ioctl): Likewise.
3156         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3157         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3158         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3159         (msghdr.msg_controllen): Likewise.
3160         (cmsghdr.cmsg_len): Likewise.
3161         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3162         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3163         variable.
3164         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3165         (test-xfail-XPG4/stropts.h/conform): Likewise.
3166         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3167         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3168         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3169         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3170         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3171         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3172         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3173         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3174         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3175         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3176         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3177         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3178         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3179         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3180         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3181         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3182         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3183         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3184         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3186 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3188         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3189         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3190         definitions for proper unfolding of __MATHDECL_VEC.
3192 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3194         * benchtests/bench-strcoll.c:
3195         Include string.h.
3196         (main): Remove unused variable res.
3198 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3200         * timezone/Makefile (%/UTC %/Universal):
3201         Generate test-result files for UTC and Universal.
3203 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3205         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3207 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3209         [BZ #16350]
3210         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3211         for arguments with small absolute value.
3212         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3213         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3214         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3215         (__asinh): Force underflow exception for arguments with small
3216         absolute value.
3217         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3218         (__asinhf): Force underflow exception for arguments with small
3219         absolute value.
3220         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3221         (__asinhl): Force underflow exception for arguments with small
3222         absolute value.
3223         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3224         (__asinhl): Force underflow exception for arguments with small
3225         absolute value.
3226         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3227         (__asinhl): Force underflow exception for arguments with small
3228         absolute value.
3229         * math/auto-libm-test-in: Do not mark underflow exceptions as
3230         possibly missing for bug 16350.
3231         * math/auto-libm-test-out: Regenerated.
3233         * include/bits/ipc.h: Remove file.
3234         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3235         variable.
3236         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3237         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3238         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3239         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3240         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3241         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3242         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3243         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3244         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3246         * math/auto-libm-test-in: Remove spurious underflow allowance for
3247         tests of cexp.
3248         * math/auto-libm-test-out: Regenerated.
3250         [BZ #18558]
3251         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3252         unconditional definition.
3253         (MCAST_BLOCK_SOURCE): Likewise.
3254         (MCAST_UNBLOCK_SOURCE): Likewise.
3255         (MCAST_LEAVE_GROUP): Likewise.
3256         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3257         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3258         (MCAST_MSFILTER): Likewise.
3259         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3260         Remove variable.
3261         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3262         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3263         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3264         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3265         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3267 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3269         * NEWS: Mention addition of x86_64 vector sincosf.
3270         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3271         * math/test-float-vlen4.h: Likewise.
3272         * math/test-float-vlen8.h: Likewise.
3273         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3274         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3275         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3276         * sysdeps/x86_64/fpu/Versions: New versions added.
3277         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3278         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3279         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3283         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3284         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3286         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3287         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3288         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3289         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3290         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3291         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3292         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3293         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3294         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3295         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3296         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3297         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3298         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3299         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3300         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3302         * NEWS: Mention addition of x86_64 vector sincos.
3303         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3304         * math/math.h (__MATHDECL_VEC): New macro.
3305         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3306         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3307         declaration under condition.
3308         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3309         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3310         TEST_VEC_LOOP change.
3311         * math/test-double-vlen4.h: Likewise.
3312         * math/test-double-vlen8.h: Likewise.
3313         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3314         * math/test-float-vlen4.h: Likewise.
3315         * math/test-float-vlen8.h: Likewise.
3316         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3317         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3318         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3319         * sysdeps/x86_64/fpu/Versions: New versions added.
3320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3321         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3322         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3323         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3324         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3326         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3327         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3328         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3329         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3330         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3331         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3332         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3333         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3334         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3335         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3336         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3337         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3340         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3341         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3342         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3343         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3345         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3346         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3347         redirections for powf.
3348         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3349         * sysdeps/x86_64/fpu/Versions: New versions added.
3350         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3351         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3352         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3353         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3354         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3355         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3356         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3359         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3360         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3361         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3362         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3363         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3364         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3365         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3366         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3367         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3368         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3369         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3370         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3372         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3373         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3374         * math/test-float-vlen16.h: Fixed 2 argument macro.
3375         * math/test-float-vlen4.h: Likewise.
3376         * math/test-float-vlen8.h: Likewise.
3377         * NEWS: Mention addition of x86_64 vector powf.
3379 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3381         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3382         and redefine.
3383         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3384         and redefine.
3385         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3386         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3387         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3389         [BZ #18553]
3390         * resource/getpriority.c (getpriority): Rename to __getpriority
3391         and define as weak alias of __getpriority.
3392         * resource/setpriority.c (setpriority): Rename to __setpriority
3393         and define as weak alias of __setpriority.
3394         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3395         __getpriority and define as weak alias of __getpriority.
3396         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3397         __setpriority and define as weak alias of __setpriority.
3398         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3399         strong name.
3400         (setpriority): Use __setpriority as strong name.
3401         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3402         __getpriority and define as weak alias of __getpriority.
3403         * include/sys/resource.h (__getpriority): Declare.  Use
3404         libc_hidden_proto.
3405         (__setpriority): Likewise.
3406         (getpriority): Don't use libc_hidden_proto.
3407         (setpriority): Likewise.
3408         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3409         getpriority.  Call __setpriority instead of setpriority.
3410         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3411         Remove variable.
3413         [BZ #18547]
3414         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3415         as weak alias of __getttynam.  Use prototype function definition.
3416         Call __setttyent, __getttyent and __endttyent instead of
3417         setttyent, getttyent and endttyent.
3418         (getttyent): Rename to __getttyent and define as weak alias of
3419         __getttyent.  Call __setttyent instead of setttyent.  Call
3420         __fgets_unlocked instead of fgets_unlocked.
3421         (setttyent): Rename to __setttyent and define as weak alias of
3422         __setttyent.
3423         (endttyent): Rename to __endttyent and define as weak alias of
3424         __endttyent.
3425         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3426         (__setttyent): Likewise.
3427         (__endttyent): Likewise.
3428         (getttyent): Don't use libc_hidden_proto.
3429         (setttyent): Likewise.
3430         (endttyent): Likewise.
3431         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3432         __endttyent instead of setttyent, getttyent and endttyent.
3433         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3434         Remove variable.
3436         [BZ #18546]
3437         * socket/recv.c (__recv): Use libc_hidden_def.
3438         * socket/socket.c (__socket): Likewise.
3439         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3440         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3441         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3442         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3443         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3444         libc_hidden_def.
3445         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3446         libc_hidden_weak.
3447         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3448         Use libc_hidden_proto.
3449         (__recv): Likewise.
3450         * socket/Versions (libc): Export __recv and __socket at version
3451         GLIBC_PRIVATE.
3452         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3453         instead of recv.
3454         (init_mq_netlink): Call __socket instead of socket.
3455         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3456         Remove variable.
3458         [BZ #18545]
3459         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3460         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3461         hidden_weak.
3462         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3463         define as alias of __mq_timedsend.  Use hidden_weak.
3464         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3465         __mq_timedsend as strong name.
3466         (mq_timedreceive): Use __mq_timedreceive as strong name.
3467         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3468         (__mq_timedreceive): Likewise.
3469         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3470         __mq_timedreceive instead of mq_timedreceive.
3471         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3472         instead of mq_timedsend.
3473         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3474         Remove variable.
3476         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3477         hidden_def and hidden_weak instead of libc_hidden_def and
3478         libc_hidden_weak.
3479         (top level): Refer to hidden_def in comment.
3480         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3481         macro.  Use it instead of libc_hidden_def.
3482         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3483         specify __GI_* name explicitly.
3484         (mq_timedreceive): Likewise.
3485         (mq_setattr): Likewise.
3487         [BZ #18544]
3488         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3489         __pthread_barrier_init and define as weak alias of
3490         __pthread_barrier_init.
3491         * sysdeps/sparc/nptl/pthread_barrier_init.c
3492         (pthread_barrier_init): Likewise.
3493         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3494         __pthread_barrier_wait and define as weak alias of
3495         __pthread_barrier_wait.
3496         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3497         (pthread_barrier_wait): Likewise.
3498         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3499         (pthread_barrier_wait): Likewise.
3500         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3501         (pthread_barrier_wait): Likewise.
3502         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3503         (pthread_barrier_wait): Likewise.
3504         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3505         __pthread_barrier_wait at version GLIBC_PRIVATE.
3506         * include/pthread.h (__pthread_barrier_init): Declare.
3507         (__pthread_barrier_wait): Likewise.
3508         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3509         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3510         (helper_thread): Likewise.
3511         (init_mq_netlink): Call __pthread_barrier_init instead of
3512         pthread_barrier_init.
3514         [BZ #18542]
3515         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3516         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3517         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3518         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3519         vswscanf.
3520         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3521         Remove variable.
3523         [BZ #18540]
3524         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3525         strong alias of _IO_fflush.  Use libc_hidden_def.
3526         * libio/iofflush_u.c (fflush_unlocked): Rename to
3527         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3528         Use libc_hidden_weak.
3529         * include/stdio.h (__fflush_unlocked): Declare.  Use
3530         libc_hidden_proto.
3531         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3532         fflush_unlocked.
3533         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3534         Remove variable.
3536         [BZ #18539]
3537         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3538         define as weak alias of __addseverity.
3539         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3540         Remove variable.
3541         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3542         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3543         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3545         [BZ #18536]
3546         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3547         (__tfind): Likewise.
3548         (__tdelete): Likewise.
3549         (__twalk): Likewise.
3550         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3551         __twalk to GLIBC_PRIVATE.
3552         * include/search.h (__tsearch): Use libc_hidden_proto.
3553         (__tfind): Likewise.
3554         (__tdelete): Likewise.
3555         (__twalk): Likewise.
3556         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3557         Call __tdelete instead of tdelete.
3558         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3559         tfind.  Call __tsearch instead of tsearch.
3560         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3561         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3562         Remove variable.
3563         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3565         [BZ #18534]
3566         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3567         (dprintf): Define as a weak alias of __dprintf, not a strong
3568         alias.
3569         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3570         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3571         dprintf.
3572         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3573         Remove variable.
3574         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3575         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3577         [BZ #18533]
3578         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3579         not a strong alias.
3580         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3581         Remove variable.
3583         [BZ #18532]
3584         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3585         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3586         (in6addr_loopback): Rename to __in6addr_loopback and define as
3587         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3588         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3589         libc_hidden_proto.
3590         (__in6addr_any): Likewise.
3591         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3592         in6addr_any.
3593         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3594         variable.
3595         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3597 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3599         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3600         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3601         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3602         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3603         redirections for pow.
3604         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3605         * sysdeps/x86_64/fpu/Versions: New versions added.
3606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3607         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3608         build of SSE, AVX2 and AVX512 IFUNC versions.
3609         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3610         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3611         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3612         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3613         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3614         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3615         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3616         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3617         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3618         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3619         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3620         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3621         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3622         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3623         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3625         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3626         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3627         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3628         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3629         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3630         * NEWS: Mention addition of x86_64 vector pow.
3632         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3633         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3634         redirections for expf.
3635         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3636         * sysdeps/x86_64/fpu/Versions: New versions added.
3637         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3638         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3639         build of SSE, AVX2 and AVX512 IFUNC versions.
3640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3644         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3645         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3646         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3647         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3648         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3649         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3650         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3651         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3652         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3653         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3654         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3655         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3657         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3658         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3659         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3660         * NEWS: Mention addition of x86_64 vector expf.
3662         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3663         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3664         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3665         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3666         redirections for exp.
3667         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3668         * sysdeps/x86_64/fpu/Versions: New versions added.
3669         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3670         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3671         build of SSE, AVX2 and AVX512 IFUNC versions.
3672         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3673         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3674         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3675         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3677         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3678         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3679         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3680         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3681         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3682         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3683         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3684         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3685         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3687         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3688         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3689         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3690         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3691         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3692         * NEWS: Mention addition of x86_64 vector exp.
3694         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3695         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3696         redirections for logf.
3697         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3698         * sysdeps/x86_64/fpu/Versions: New versions added.
3699         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3700         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3701         build of SSE, AVX2 and AVX512 IFUNC versions.
3702         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3703         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3704         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3705         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3707         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3708         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3709         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3710         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3711         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3712         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3713         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3714         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3715         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3716         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3717         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3718         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3719         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3720         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3721         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3722         * NEWS: Mention addition of x86_64 vector logf.
3724         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3725         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3726         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3727         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3728         redirections for log.
3729         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3730         * sysdeps/x86_64/fpu/Versions: New versions added.
3731         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3732         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3733         build of SSE, AVX2 and AVX512 IFUNC versions.
3734         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3735         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3736         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3737         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3738         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3739         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3740         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3741         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3742         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3743         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3744         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3745         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3746         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3747         test.
3748         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3749         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3750         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3751         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3752         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3753         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3754         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3755         * NEWS: Mention addition of x86_64 vector log.
3757 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3759         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3760         cfi_adjust_cfa_offset argument.
3761         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3762         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3764         [BZ #18034]
3765         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3766         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3767         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3768         ordering using ldar.
3769         (_dl_tlsdesc_dynamic): Likewise.
3770         (_dl_tlsdesc_return_lazy): Likewise.
3771         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3772         relaxed atomics instead of volatile and synchronize with release store.
3773         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3774         volatile.
3775         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3777 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3779         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3780         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3782         * sysdeps/x86_64/fpu/Versions: New versions added.
3783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3784         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3785         build of SSE, AVX2 and AVX512 IFUNC versions.
3786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3789         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3790         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3791         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3792         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3793         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3794         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3795         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3796         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3797         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3798         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3799         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3800         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3801         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3802         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3803         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3804         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3805         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3806         * NEWS: Mention addition of x86_64 vector sinf.
3808 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3810         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3811         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3812         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3813         Remove variable.
3814         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3815         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3817 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3819         [BZ #18530]
3820         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3821         strong alias of _IO_fputs.  Use libc_hidden_def.
3822         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3823         and define as weak alias of __fputs_unlocked.  Use
3824         libc_hidden_weak.
3825         * include/stdio.h (__fputs_unlocked): Declare.  Use
3826         libc_hidden_proto.
3827         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3828         fputs_unlocked.
3830         [BZ #18529]
3831         * resolv/netdb.h [__USE_POSIX]: Change condition to
3832         [__USE_XOPEN2K].
3833         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3834         not expect.
3835         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3836         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3837         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3838         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3839         [XPG4 || UNIX98] (AI_ALL): Likewise.
3840         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3841         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3842         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3843         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3844         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3845         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3846         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3847         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3848         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3849         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3850         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3851         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3852         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3853         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3854         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3855         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3856         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3857         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3858         [XPG4 || UNIX98] (gai_strerror): Likewise.
3859         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3860         [XPG4 || UNIX98] (getnameinfo): Likewise.
3862         [BZ #18528]
3863         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3864         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3865         __USE_XOPEN2K8].
3866         (getgrent): Likewise.
3867         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3868         expect.
3869         [XPG3 || POSIX2008] (endgrent): Likewise.
3870         [XPG3] (setgrent): Likewise.
3871         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3872         variable.
3873         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3875         [BZ #18527]
3876         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3877         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3878         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3879         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3880         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3881         * include/unistd.h (__getlogin_r): Declare.  Use
3882         libc_hidden_proto.
3883         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3884         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3885         variable.
3886         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3887         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3888         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3890 2015-06-12  Martin Sebor  <msebor@redhat.com>
3892         [BZ #18512]
3893         * Makerules (check-install-supported): New target.
3894         (install): Add check-install-supported as a dependency.
3895         * manual/install.texi (Installing the C Library): Document
3896         that overriding prefix and exec_prefix is not supported.
3897         Mention DESTDIR.
3898         * INSTALL: Regenerate from the above.
3900 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3902         [BZ #18519]
3903         * posix/Versions (libc): Export __libc_pread at version
3904         GLIBC_PRIVATE.
3905         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3906         instead of pread.
3907         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3908         variable.
3910         [BZ #18522]
3911         * misc/efgcvt_r.c
3912         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3913         (cvt_symbol): Use weak_alias instead of strong_alias.
3914         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3915         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3916         Remove variable.
3917         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3918         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3920         [BZ #18520]
3921         * inet/herrno.c (h_errno): Rename to __h_errno.
3922         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3923         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3924         to __h_errno instead of h_errno.
3925         * nptl/herrno.c (h_errno): Rename to __h_errno.
3926         (__h_errno_location): Refer to __h_errno not h_errno.
3927         * resolv/Versions (h_errno): Rename to __h_errno.
3928         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3929         Remove variable.
3930         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3932 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3934         * configure.ac: More strict check for AVX512 assembler support.
3935         * configure: Regenerated.
3937         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3938         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3939         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3940         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3942         * sysdeps/x86_64/fpu/Versions: New versions added.
3943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3944         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3945         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3946         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3947         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3948         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3950         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3951         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3952         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3953         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3954         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3955         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3956         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3957         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3958         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3959         test.
3960         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3961         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3962         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3963         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3964         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3965         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3966         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3967         * NEWS: Mention addition of x86_64 vector sin.
3969 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3971         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3972         comment.
3974 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3976         [BZ #18479]
3977         * nptl/pt-interp.c: New file.
3978         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3979         Add pt-interp.
3980         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3981         $(common-objpfx)runtime-linker.h.
3983 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3985         * Makeconfig (+interp): Remove unused variable.
3986         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3987         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3988         $(elf-objpfx)runtime-linker.h.
3989         ($(elf-objpfx)runtime-linker.h): Rename to
3990         $(common-objpfx)runtime-linker.h and move ...
3991         * Makerules [$(build-shared) = yes]: ... here.
3992         * elf/interp.c: Include <runtime-linker.h> instead of
3993         <elf/runtime-linker.h>.
3995 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3997         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3998         (__gettimeofday_syscall): Remove vsyscall fallback.
3999         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4000         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4001         Add syscall fallback function.
4002         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4003         if vDSO is not present.
4004         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4005         fallback function.
4006         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4007         present.
4008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4009         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4011 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4013         [BZ #18497]
4014         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4015         of wcscmp.
4016         (wcscmp): Define as weak alias of WCSCMP.
4017         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4018         wcscoll.
4019         (USE_HIDDEN_DEF): Define.
4020         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4021         __wcscoll.  Don't use libc_hidden_weak.
4022         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4023         wcscmp.
4024         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4025         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4026         __GI_wcscmp.
4027         (weak_alias): Undefine and redefine.
4028         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4029         __wcscmp and define as weak alias of __wcscmp.
4030         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4031         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4032         (__wcscoll): Likewise.
4033         (wcscmp): Don't use libc_hidden_proto.
4034         (wcscoll): Likewise.
4035         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4036         wcscoll.
4037         * posix/regexec.c (check_node_accept_bytes): Likewise.
4038         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4039         variable.
4040         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4041         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4043         [BZ #18507]
4044         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4045         __fstatvfs and define as weak alias of __fstatvfs.  Use
4046         libc_hidden_weak.
4047         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4048         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4049         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4050         Define as alias of __fstatvfs, not fstatvfs.
4051         (fstatvfs64): Likewise.
4052         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4053         Define as alias of __statvfs, not statvfs.
4054         (statvfs64): Likewise.
4055         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4056         Remove variable.
4058 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4061         (HAVE_GETCPU_VSYSCALL): Define.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4063         (HAVE_GETCPU_VSYSCALL): Likewise.
4064         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4065         * sysdeps/unix/sysv/linux/sched_getcpu.c
4066         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4067         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4068         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4069         prototype.
4070         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4071         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4072         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4073         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4074         Define.
4075         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4076         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4077         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4078         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4080 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4082         * sysdeps/x86_64/fpu/Makefile: New file.
4083         * sysdeps/x86_64/fpu/Versions: New file.
4084         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4085         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4086         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4087         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4088         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4089         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4090         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4091         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4092         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4093         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4094         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4096         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4097         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4098         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4099         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4100         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4101         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4102         * sysdeps/x86_64/configure: Regenerated.
4103         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4104         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4105         * manual/install.texi (Configuring and compiling): Document
4106         --disable-mathvec.
4107         * INSTALL: Regenerated.
4108         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4110         * math/Makefile: Added rules for vector tests.
4111         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4112         declaration under condition.
4113         * math/test-double-vlen2.h: New file.
4114         * math/test-double-vlen4.h: New file.
4115         * math/test-double-vlen8.h: New file.
4116         * math/test-vec-loop.h: Added initialization macro.
4117         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4118         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4119         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4120         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4121         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4123         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4124         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4125         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4126         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4127         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4129         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4130         * sysdeps/x86_64/fpu/Versions: New versions added.
4131         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4134         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4135         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4136         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4137         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4138         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4140         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4141         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4142         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4143         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4144         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4145         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4146         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4147         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4148         * NEWS: Mention addition of x86_64 vector cosf.
4150         * math/Makefile: Added CFLAGS for new tests.
4151         * math/test-float-vlen16.h: New file.
4152         * math/test-float-vlen4.h: New file.
4153         * math/test-float-vlen8.h: New file.
4154         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4155         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4156         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4157         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4158         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4159         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4160         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4162         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4163         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4164         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4166 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4168         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4169         * locale/programs/ld-ctype.c: Likewise.
4171 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4173         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4174         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4175         bit_ZMM16_31_state): New macro.
4176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4177         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4179 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4181         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4183 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4185         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4187 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4189         [BZ #18498]
4190         * libio/memstream.c (open_memstream): Rename to __open_memstream
4191         and define as weak alias of __open_memstream.
4192         * include/stdio.h (__open_memstream): Declare.  Use
4193         libc_hidden_proto.
4194         (open_memstream): Don't use libc_hidden_proto.
4195         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4196         open_memstream.
4197         * posix/getopt.c (_getopt_internal_r): Likewise.
4198         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4199         variable.
4200         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4201         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4202         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4204         [BZ #18496]
4205         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4206         instead of wcrtomb.
4208         [BZ #18483]
4209         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4210         [__USE_XOPEN2K8].  Remove redundant #endif.
4211         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4212         Remove redundant #if.
4213         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4214         Remove variable.
4215         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4216         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4218         [BZ #18495]
4219         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4220         (__iswlower): Likewise.
4221         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4222         (__iswlower): Likewise.
4223         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4224         instead of towlower.
4225         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4226         instead of iswlower.  Call __towupper instead of towupper.
4227         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4228         instead of iswalnum.
4230 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4232         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4233         errors to stderr.
4235 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4237         [BZ #15661]
4238         [BZ #17322]
4239         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4240         Check for overflow properly.  Check for O_APPEND.  Ignore large
4241         file system block sizes.  Add comments about problems.
4242         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4243         * manual/filesys.texi (Storage Allocation): New node.
4245 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4247         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4248         cancellable syscalls.
4249         (SYS_ify): Add guard to no redefine it.
4250         (INLINE_SYSCALL): Likewise.
4251         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4252         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4253         SYSCALL_CANCEL instead.
4254         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4255         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4256         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4257         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4258         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4259         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4260         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4261         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4262         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4263         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4264         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4265         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4266         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4267         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4268         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4270         Likewise.
4271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4272         (__libc_pread64): Likewise.
4273         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4274         (__libc_preadv): Likewise.
4275         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4276         (__libc_readv64): Likewise.
4277         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4278         (__libc_pwrite): Likewise.
4279         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4280         (__libc_pwrite64): Likewise.
4281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4282         (__libc_pwritev): Likewise.
4283         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4284         (__libc_pwritev64): Likewise.
4285         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4286         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4287         (sync_file_range): Likewise.
4288         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4289         Likewise.
4290         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4291         Likewise.
4292         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4293         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4294         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4295         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4296         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4297         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4298         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4299         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4301         Likewise.
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4303         (__libc_read64): Likewise.
4304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4305         Likewise.
4306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4307         Likewise.
4308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4309         Likewise.
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4311         Likewise.
4312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4313         (__libc_pread64): Likewise.
4314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4315         Likewise.
4316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4317         (__libc_pwrite64): Likewise.
4318         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4319         (sync_file_range): Likewise.
4320         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4321         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4322         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4323         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4324         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4325         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4326         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4327         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4328         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4329         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4330         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4331         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4332         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4333         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4334         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4335         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4336         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4337         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4338         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4339         Likewise.
4340         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4341         Likewise.
4342         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4343         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4344         Likewise.
4345         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4346         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4347         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4348         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4349         Likewise.
4350         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4351         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4352         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4353         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4354         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4356 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4358         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4359         Include dl-vdso.
4360         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4361         Use VDSO routines for gettimeofday, clock_gettime if
4362         available.
4363         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4364         Declare VDSO symbols.
4365         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4366         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4367         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4368         * sysdeps/unix/sysv/linux/arm/Versions: Add
4369         __vdso_clock_gettime.
4371 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4373         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4374         be an inline implementation regardless of library is built within.
4375         (open_not_cancel_2): Likewise.
4376         (__read_nocancel): Likewise.
4377         (__write_nocancel): Likewise.
4378         (openat_not_cancel): Likewise.
4379         (openat_not_cancel_3): Likewise.
4380         (openat64_not_cancel): Likewise.
4381         (openat64_not_cancel_3): Likewise.
4382         (__close_nocancel): Likewise.
4383         (pause_not_cancel): Likewise.
4384         (nanosleep_not_cancel): Likewise.
4385         (sigsuspend_not_cancel): Likewise.
4387 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4389         [BZ #14958]
4390         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4391         wake-up.
4392         (__pthread_rwlock_rdlock_slow): Likewise.
4393         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4394         Likewise.
4395         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4396         Likewise.
4397         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4398         * nptl/tst-rwlock16.c: New file.
4399         * nptl/Makefile (tests): Add new test.
4401 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4403         [BZ #18324]
4404         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4405         missing wake-up of readers.
4406         * nptl/tst-rwlock15.c: New file.
4407         * nptl/Makefile (tests): Add new test.
4409 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4411         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4412         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4413         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4414         and __nacl_supply_interface_rtld.
4415         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4416         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4417         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4418         Add __nacl_supply_interface_rtld.
4419         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4421 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4423         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4424         isfinite.
4425         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4426         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4428 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4430         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4431         __signbit* with standard C99 macros.
4432         * math/e_exp10l.c: Likewise.
4433         * math/e_exp2l.c: Likewise.
4434         * math/e_scalb.c: Likewise.
4435         * math/e_scalbf.c: Likewise.
4436         * math/e_scalbl.c: Likewise.
4437         * math/s_ldexp.c: Likewise.
4438         * math/s_ldexpf.c: Likewise.
4439         * math/s_ldexpl.c: Likewise.
4440         * math/w_atan2.c: Likewise.
4441         * math/w_atan2f.c: Likewise.
4442         * math/w_atan2l.c: Likewise.
4443         * math/w_cosh.c: Likewise.
4444         * math/w_coshf.c: Likewise.
4445         * math/w_coshl.c: Likewise.
4446         * math/w_exp10.c: Likewise.
4447         * math/w_exp10f.c: Likewise.
4448         * math/w_exp10l.c: Likewise.
4449         * math/w_exp2.c: Likewise.
4450         * math/w_exp2f.c: Likewise.
4451         * math/w_exp2l.c: Likewise.
4452         * math/w_fmod.c: Likewise.
4453         * math/w_fmodf.c: Likewise.
4454         * math/w_fmodl.c: Likewise.
4455         * math/w_hypot.c: Likewise.
4456         * math/w_hypotf.c: Likewise.
4457         * math/w_hypotl.c: Likewise.
4458         * math/w_jnl.c: Likewise.
4459         * math/w_lgamma.c: Likewise.
4460         * math/w_lgamma_r.c: Likewise.
4461         * math/w_lgammaf.c: Likewise.
4462         * math/w_lgammaf_r.c: Likewise.
4463         * math/w_lgammal.c: Likewise.
4464         * math/w_lgammal_r.c: Likewise.
4465         * math/w_pow.c: Likewise.
4466         * math/w_powf.c: Likewise.
4467         * math/w_powl.c: Likewise.
4468         * math/w_remainder.c: Likewise.
4469         * math/w_remainderf.c: Likewise.
4470         * math/w_remainderl.c: Likewise.
4471         * math/w_scalb.c: Likewise.
4472         * math/w_scalbf.c: Likewise.
4473         * math/w_scalbl.c: Likewise.
4474         * math/w_scalbln.c: Likewise.
4475         * math/w_scalblnf.c: Likewise.
4476         * math/w_scalblnl.c: Likewise.
4477         * math/w_sinh.c: Likewise.
4478         * math/w_sinhf.c: Likewise.
4479         * math/w_sinhl.c: Likewise.
4480         * math/w_tgamma.c: Likewise.
4481         * math/w_tgammaf.c: Likewise.
4482         * math/w_tgammal.c: Likewise.
4483         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4484         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4485         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4486         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4487         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4488         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4489         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4490         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4491         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4492         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4493         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4494         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4495         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4496         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4497         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4498         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4499         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4500         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4501         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4502         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4503         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4504         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4505         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4507         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4508         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4509         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4510         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4511         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4512         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4513         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4514         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4515         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4516         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4517         * stdio-common/printf_fp.c: Likewise.
4518         * stdio-common/printf_fphex.c: Likewise.
4519         * stdio-common/printf_size.c: Likewise.
4521 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4523         [BZ #18470]
4524         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4525         strnlen.
4526         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4527         Remove variable.
4528         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4529         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4530         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4531         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4532         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4533         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4534         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4535         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4536         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4537         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4539         [BZ #18468]
4540         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4541         weak alias of __wmemchr.  Use libc_hidden_weak.
4542         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4543         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4544         instead of wmemchr.
4546 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4548         [BZ #18383]
4549         * elf/tst-tlsalign-extern.c: New file.
4550         * elf/tst-tlsalign-extern-static.c: New file.
4551         * elf/tst-tlsalign-vars.c: New file.
4552         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4553         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4554         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4555         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4556         (test-xfail-tst-tlsalign-extern-static): New variable.
4558 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4560         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4561         Use variable name _sc_err instead of err.
4562         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4563         instead of ret.
4564         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4565         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4566         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4567         (INLINE_SYSCALL): Likewise.
4569         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4570         * include/string.h (__strnlen): Use libc_hidden_proto.
4571         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4572         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4573         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4574         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4575         (libc_hidden_def): Undefine and redefine.
4576         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4577         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4578         __GI_strnlen.
4579         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4580         libc_hidden_def.
4581         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4583         [BZ #18469]
4584         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4585         weak alias of __towlower.  Use libc_hidden_weak.
4586         (towupper): Rename to __towupper and define as weak alias of
4587         __towupper.  Use libc_hidden_weak.
4588         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4589         (__towupper): Likewise.
4590         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4591         __towlower instead of towlower.
4593 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4595         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4596         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4598 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4600         * sysdeps/aarch64/libm-test-ulps: Update.
4602 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4604         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4605         Define.
4606         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4607         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4608         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4609         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4610         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4611         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4612         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4614 2015-06-01  Martin Sebor  <msebor@redhat.com>
4616         [BZ #18116]
4617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4618         (__setcontext): Use extended four-operand version of mtsf whenever
4619         possible.
4620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4621         (__novec_swapcontext): Likewise.
4623 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4625         * benchtests/scripts/compare_bench.py: New file.
4626         * benchtests/scripts/import_bench.py (mean): New function.
4627         (split_list): Likewise.
4628         (do_for_all_timings): Likewise.
4629         (compress_timings): Likewise.
4631         * benchtests/scripts/import_bench.py: New file.
4632         * benchtests/scripts/validate_benchout.py: Import import_bench
4633         instead of jsonschema.
4634         (validate_bench): Remove function.
4635         (main): Use import_bench.
4637 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4639         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4640         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4642 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4646 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4648         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4649         set THREAD_SELF->tid to a magic value and futex-wake it.
4650         Pass its address to the thread_exit system call.
4651         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4652         bit is clear.
4653         * sysdeps/nacl/lowlevellock.h: New file.
4654         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4656         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4657         Add TIMEOUT to current time, don't subtract it.
4659 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4661         [BZ #2981]
4662         [BZ #18422]
4663         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4664         ($(objpfx)tst-audit2.out): Also depend on
4665         $(objpfx)tst-auditmod9b.so.
4666         * elf/tst-audit2.c: Include <dlfcn.h>.
4667         (calloc_called): New.
4668         (calloc): Allow to be called more than once.
4669         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4671 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4673         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4674         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4676 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4678         * stdlib/monetary.h: Fix comment.
4680 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4682         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4683         Avoid using variables in #defines that might cause shadowing.
4684         (INTERNAL_VSYSCALL_CALL): Likewise.
4686 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4688         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4690         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4691         * nptl/lll_timedlock_wait.c: ... to this new file.
4692         * nptl/Makefile (libpthread-routines): Add it.
4693         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4694         * nptl/lll_timedwait_tid.c: ... to this new file.
4695         * nptl/Makefile (libpthread-routines): Add it.
4696         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4697         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4698         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4699         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4700         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4701         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4702         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4703         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4704         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4705         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4707 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4709         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4710         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4711         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4712         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4713         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4715         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4717         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4718         * sysdeps/unix/sysv/linux/tile/sysdep.h
4719         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4720         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4721         using vDSO syscall macro.
4723 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4725         [BZ #17293]
4726         * uk_UA: Fix sorting order for Ukrainian locale
4728 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4730         * stdlib/monetary.h: Fix comment.
4732 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4734         [BZ #18234]
4735         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4736         st_mtim and st_ctim members.
4737         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4738         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4739         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4740         (struct stat64): Likewise.
4741         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4742         (struct stat64): Likewise.
4743         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4744         (struct stat64): Likewise.
4746 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4748         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4749         Define and include sysdep-vdso.h.
4750         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4751         Likewise.
4752         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4753         Likewise.
4754         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4755         Define with VDSO_SYMBOL and use PTR_MANGLE.
4756         (__vdso_clock_gettime): Likewise.
4757         (__vdso_clock_getres): Likewise.
4758         (_libc_vdso_platform_setup): Likewise.
4759         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4760         Likewise.
4761         (_libc_vdso_platform_setup): Likewise.
4762         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4763         Likewise.
4764         (__vdso_clock_gettime): Likewise.
4765         (__vdso_clock_getres): Likewise.
4766         (__vdso_get_tbfreq): Likewise.
4767         (__vdso_getcpu): Likewise.
4768         (__vdso_time): Likewise.
4769         (__vdso_sigtramp_rt64): Likewise.
4770         (__vdso_signtramp32): Likewise.
4771         (__vdso_sigtramp_rt32): Likewise.
4772         (_libc_vdso_platform_setup): Likewise.
4773         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4774         Likewise.
4775         (__vdso_clock_gettime): Likewise.
4776         (__vdso_clock_getres): Likewise.
4777         (_libc_vdso_platform_setup): Likewise.
4778         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4779         Likewise.
4780         (__vdso_clock_gettime): Likewise.
4781         (_libc_vdso_platform_setup): Likewise.
4782         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4783         Likewise.
4784         (__vdso_getcpu): Likewise.
4785         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4786         Use VDSO_SYMBOL macro to define.
4787         (__vdso_clock_gettime): Likewise.
4788         (__vdso_clock_getres): Likewise.
4789         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4790         Likewise.
4791         (__vdso_clock_gettime): Likewise.
4792         (__vdso_clock_getres): Likewise.
4793         (__vdso_get_tbfreq): Likewise.
4794         (__vdso_getcpu): Likewise.
4795         (__vdso_time): Likewise.
4796         (__vdso_sigtramp_rt64): Likewise.
4797         (__vdso_signtramp32): Likewise.
4798         (__vdso_sigtramp_rt32): Likewise.
4799         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4800         Likewise.
4801         (__vdso_clock_gettime): Likewise.
4802         (__vdso_clock_getres): Likewise.
4803         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4804         Likewise.
4805         (__vdso_clock_gettime): Likewise.
4806         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4807         Likewise.
4808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4809         macro.
4810         (INTERNAL_VSYSCALL): Likewise.
4811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4812         Remove macro.
4813         (INTERNAL_VSYSCALL): Likewise.
4814         (INTERNAL_VSYSCALL_NCS): Likewise.
4815         (INTERNAL_VSYSCALL_CALL): New macro.
4816         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4817         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4818         Likewise.
4819         (INTERNAL_VSYSCALL): Likewise.
4820         (INTERNAL_VSYSCALL_NCS): Likewise.
4821         (INTERNAL_VSYSCALL_CALL): New macro.
4822         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4824         (INLINE_VSYSCALL): Remove macro.
4825         (INTERNAL_VSYSCALL): Remove macro.
4826         (INTERNAL_VSYSCALL_NCS): Remove macro.
4827         (INTERNAL_VSYSCALL_CALL): New macro.
4828         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4829         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4830         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4831         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4832         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4834         (INLINE_VSYSCALL): Remove macro.
4835         (INTERNAL_VSYSCALL): Likewise.
4836         (INTERNAL_VSYSCALL_NCS): Likewise.
4837         (INTERNAL_VSYSCALL_CALL): New macro.
4838         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4839         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4840         PTR_DEMANGLE on vDSO pointer.
4841         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4842         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4843         macro.
4844         (INTERNAL_SYSCALL): Likewise.
4845         (INTERNAL_VSYSCALL_NCS): Remove macro.
4846         (INTERNAL_VSYSCALL_CALL): New macro.
4847         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4848         Remove macro.
4849         (INTERNAL_VSYSCALL): Likewise.
4850         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4851         sysdep-vdso.h instead of libc-vdso.h.
4852         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4853         definition.
4854         (INLINE_VSYSCALL): Likewise.
4855         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4856         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4857         definition.
4858         (INLINE_VSYSCALL): Likewise.
4859         (INTERNAL_VSYSCALL): Likewise.
4860         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4861         * sysdeps/unix/sysv/linux/timespec_get.c
4862         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4863         (timespec_get): Use ANSI prototype.
4864         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4865         and definition for Linux.
4867 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4869         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4870         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4872 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4874         [BZ #2981]
4875         [BZ #18410]
4876         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4877         for missing DT_PLTRELSZ.
4879 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4881         Remove obsolete aliases that broke 'locale -a'
4882         [BZ #18412]
4883         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4884         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4885         breaking some applications that use 'locale -a' output.
4886         Change the encoding of this file from Latin-1 to ASCII to avoid
4887         other potential problems with people grepping this file.
4889 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4891         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4892         -fasynchronous-unwind-tables.
4893         (CFLAGS-sendto.c): Likewise.
4894         (CFLAGS-sendmsg.c): Likewise.
4895         (CFLAGS-connect.c): Likewise.
4896         (CFLAGS-recvmsg.c): Likewise.
4897         (CFLAGS-recvfrom.c): Likewise.
4898         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4899         (SOCKETCALL): New macro: non-cancellable socketcall.
4900         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4901         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4902         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4903         * sysdeps/unix/sysv/linux/accept.c: New file.
4904         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4905         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4906         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4907         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4908         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4909         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4910         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4911         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4912         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4913         * sysdeps/unix/sysv/linux/send.c: Likewise.
4914         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4915         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4916         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4917         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4918         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4919         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4920         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4921         prototype.
4922         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4923         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4924         instead of __internal_xxx function.
4925         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4926         prototype.
4927         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4928         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4929         instead of __internal_xxx function.
4930         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4931         prototype.
4932         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4933         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4934         instead of __internal_xxx function.
4935         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4936         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4937         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4938         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4939         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4940         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4941         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4942         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4943         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4944         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4945         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4946         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4947         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4948         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4949         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4950         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4951         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4952         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4953         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4954         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4957         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4958         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4959         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4960         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4961         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4962         * sysdeps/unix/sysv/linux/send.S: Likewise.
4963         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4964         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4965         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4966         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4967         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4968         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4969         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4970         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4972         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4973         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4974         socketcall is implemented in GLIBC.
4976 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4978         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4979         (__fma): Ignore uninitialized warnings around packing.
4980         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4981         (__fmaf): Ignore uninitialized warnings around packing.
4982         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4983         (__fmal): Ignore uninitialized warnings around packing.
4985         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4986         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4987         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4988         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4990         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4991         switch statement into default case.
4992         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4994         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4995         a conditional in forcing "inexact".
4996         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4997         Likewise.
4999 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5001         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5002         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5003         for each INTERNAL_SYSCALL use.
5005 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5007         [BZ #438]
5008         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5009         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5010         variable.
5012         [BZ #18444]
5013         * string/basename.c (basename): Rename to __basename and define as
5014         weak alias of __basename.  Use libc_hidden_weak.
5015         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5016         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5017         __basename instead of basename.
5018         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5019         Remove variable.
5020         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5022 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5024         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5025         (_IO_JUMPS_FILE_plus): New.
5026         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5027         _IO_CAST_FIELD_ACCESS.
5028         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5029         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5030         * libio/freopen.c (freopen): Likewise.
5031         * libio/freopen64.c (freopen64): Likewise.
5032         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5033         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5034         * libio/iofwide.c (_IO_fwide): Likewise.
5035         * libio/memstream.c (open_memstream): Likewise.
5036         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5037         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5038         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5040 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5042         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5043         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5044         NADJ.
5045         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5046         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5047         NADJ.
5048         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5049         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5050         NADJ.
5052         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5053         (p == 4) case.
5055         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5056         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5057         Remove variable.
5058         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5059         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5060         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5062 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5064         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5065         Adjust jump table label generation macros.
5067 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5069         * stdio-common/vfprintf.c (vfprintf): Move local variables
5070         args_malloced, specs, specs_malloced, and the code after
5071         do_positional to the printf_positional function.
5072         (printf_positional): New function.
5074 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5076         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5077         function.
5078         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5079         STEP4_TABLE, process_arg): Move macro definitions
5080         out of the vfprintf function.  (Cosmetic change only.)
5082 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5084         * benchtests/Makefile (stdio-common-bench): Define.
5085         (benchset): Add stdio-common-bench.
5086         * sprintf-inputs: New file.
5087         * sprintf-source.c: New file.
5089 2015-05-21  Andreas Schwab  <schwab@suse.de>
5091         [BZ #13028]
5092         [BZ #17053]
5093         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5094         of struct __res_state.
5095         * resolv/res_send.c (__libc_res_nsend): Likewise.
5096         (get_nsaddr): New function.
5097         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5098         statp directly.
5100 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5102         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5103         -D_POSIX_C_SOURCE=199506L.
5105         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5107         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5108         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5109         Do not mention otherwise.
5110         [POSIX] (_XOPEN_VERSION): Do not expect.
5111         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5112         [POSIX] (_POSIX2_C_BIND): Likewise.
5113         [POSIX] (_POSIX2_VERSION): Likewise.
5114         [POSIX] (_XOPEN_XPG2): Likewise.
5115         [POSIX] (_XOPEN_XPG3): Likewise.
5116         [POSIX] (_XOPEN_XPG4): Likewise.
5117         [POSIX] (_XOPEN_UNIX): Likewise.
5118         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5119         [POSIX] (_POSIX_BARRIERS): Likewise.
5120         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5121         [POSIX] (_POSIX_CPUTIME): Likewise.
5122         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5123         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5124         [POSIX] (_POSIX_SHELL): Likewise.
5125         [POSIX] (_POSIX_SPAWN): Likewise.
5126         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5127         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5128         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5129         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5130         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5131         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5132         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5133         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5134         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5135         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5136         [POSIX] (_POSIX2_PBS): Likewise.
5137         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5138         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5139         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5140         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5141         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5142         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5143         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5144         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5145         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5146         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5147         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5148         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5149         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5150         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5151         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5152         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5153         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5154         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5155         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5156         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5157         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5158         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5159         [POSIX] (_SC_2_C_BIND): Likewise.
5160         [POSIX] (_SC_2_C_VERSION): Likewise.
5161         [POSIX] (_SC_2_PBS): Likewise.
5162         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5163         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5164         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5165         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5166         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5167         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5168         [POSIX] (_SC_BARRIERS): Likewise.
5169         [POSIX] (_SC_BASE): Likewise.
5170         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5171         [POSIX] (_SC_DEVICE_IO): Likewise.
5172         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5173         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5174         [POSIX] (_SC_FD_MGMT): Likewise.
5175         [POSIX] (_SC_FIFO): Likewise.
5176         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5177         [POSIX] (_SC_FILE_LOCKING): Likewise.
5178         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5179         [POSIX] (_SC_IOV_MAX): Likewise.
5180         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5181         [POSIX] (_SC_NETWORKING): Likewise.
5182         [POSIX] (_SC_PAGE_SIZE): Likewise.
5183         [POSIX] (_SC_PASS_MAX): Likewise.
5184         [POSIX] (_SC_PIPE): Likewise.
5185         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5186         [POSIX] (_SC_REGEXP): Likewise.
5187         [POSIX] (_SC_SHELL): Likewise.
5188         [POSIX] (_SC_SIGNALS): Likewise.
5189         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5190         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5191         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5192         [POSIX] (_SC_USER_GROUPS): Likewise.
5193         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5194         [POSIX] (_SC_STREAMS): Likewise.
5195         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5196         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5197         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5198         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5199         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5200         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5201         [POSIX] (_PC_FILESIZEBITS): Likewise.
5202         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5203         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5204         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5205         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5206         [POSIX] (uid_t): Likewise.
5207         [POSIX] (gid_t): Likewise.
5208         [POSIX] (off_t): Likewise.
5209         [POSIX] (pid_t): Likewise.
5210         [POSIX] (cuserid): Allow.
5211         (_SC_2_CHAR_TERM): Require constant.
5212         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5213         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5214         variable.
5216 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5218         * sysdeps/nacl/pthread-pids.h: New file.
5219         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5220         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5222         * nptl/pthread-pids.h: New file.
5223         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5224         * nptl/nptl-init.c: Include <pthread-pids.h>.
5225         (__pthread_initialize_minimal_internal):
5226         Call __pthread_initialize_pids instead of set_tid_address syscall.
5228         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5229         * sysdeps/posix/usleep.c: ... here.
5231 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5233         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5234         call_pselect6 object.
5235         [$(subdir) = io]: Remove call_sync_file_range object.
5236         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5237         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5238         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5239         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5241 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5243         * math/s_cproj.c: Add include "math_private.h".
5244         * math/s_cprojf.c: Likewise.
5245         * math/s_cprojl.c: Likewise.
5247 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5249         [BZ #18244]
5250         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5251         high mantissa bit when testing whether P is a NaN.
5252         * math/libm-test.inc (remainder_test_data): Add more tests.
5253         (remquo_test_data): Likewise.
5255         [BZ #18049]
5256         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5257         below -32, return the argument, with underflow if subnormal.
5258         * math/auto-libm-test-in: Add more tests of atanh.
5259         * math/auto-libm-test-out: Regenerated.
5261 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5263         [BZ #18434]
5264         * nptl/tst-sem15.c: New file.
5265         * nptl/Makefile (tests): Add it.
5266         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5267         s/<</>>/ to fix typo in EOVERFLOW check.
5268         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5270 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5272         * manual/strings.texi (envz_remove): Fix typo in safety
5273         annotations.
5275 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5276             Steve Ellcey  <sellcey@imgtec.com>
5278         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5279         in order to avoid strict alias warnings.
5280         (iruserok_af): Ditto for ra.
5282 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5284         [BZ #17581]
5285         * malloc/hooks.c
5286         (magicbyte): Convert to a function and avoid returning 0x01.
5287         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5288         (mem2chunk_check): Fix unsigned comparisons to zero.
5289         Hoist defs of sz and magic.
5291 2015-05-19  Richard Henderson  <rth@redhat.com>
5293         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5295         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5297 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5299         [BZ #16159]
5300         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5301         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5302         (reused_arena): Find a non-corrupt arena.
5303         (heap_trim): Pass arena to unlink.
5304         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5305         malloc_printerr.
5306         (top_check): Likewise.
5307         (free_check): Likewise.
5308         (realloc_check): Likewise.
5309         * malloc/malloc.c (malloc_printerr): Add arena argument.
5310         (unlink): Likewise.
5311         (munmap_chunk): Adjust.
5312         (ARENA_CORRUPTION_BIT): New macro.
5313         (arena_is_corrupt): Likewise.
5314         (set_arena_corrupt): Likewise.
5315         (sysmalloc): Use mmap if there are no usable arenas.
5316         (_int_malloc): Likewise.
5317         (__libc_malloc): Don't fail if arena_get returns NULL.
5318         (_mid_memalign): Likewise.
5319         (__libc_calloc): Likewise.
5320         (__libc_realloc): Adjust for additional argument to
5321         malloc_printerr.
5322         (_int_free): Likewise.
5323         (malloc_consolidate): Likewise.
5324         (_int_realloc): Likewise.
5325         (_int_memalign): Don't touch corrupt arenas.
5326         * malloc/tst-malloc-backtrace.c: New test case.
5328         * Makefile (summarize-tests): Fix return value on success.
5330         * manual/string.texi (Envz Functions): Add envz_remove.
5332 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5334         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5335         (invalid_name): New function, broken out of ...
5336         (__opendirat): ... here.  Call it.
5337         (need_isdir_precheck): New function, broken out of ...
5338         (__opendirat): ... here.  Call it.
5339         Use __fxstatat64, not __xstatat64.
5340         (opendir_oflags): New function, broken out of ...
5341         (__opendirat): ... here.  Call it.
5342         (opendir_tail): New function, broken out of ...
5343         (__opendirat): ... here.  Call it.
5344         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5345         opendir_tail, rather than punting to __opendirat.
5346         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5348 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5350         * .gitignore: Ignore generated *.pyc.
5352 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5354         * include/stdio.h: Define __need_wint_t.
5355         * test-skeleton.c: Avoid `for' loop initial declaration.
5356         * nptl/tst-initializers1.c: Use test-skeleton.c.
5358 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5360         [BZ #18418]
5361         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5363 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5365         [BZ #16352]
5366         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5367         (__ieee754_atanh): Force underflow exception for results with
5368         small absolute value.
5369         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5370         (__ieee754_atanhf): Force underflow exception for results with
5371         small absolute value.
5372         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5373         (__ieee754_atanh): Force underflow exception for results with
5374         small absolute value.
5375         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5376         (__ieee754_atanhf): Force underflow exception for results with
5377         small absolute value.
5378         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5379         (__ieee754_atanhl): Force underflow exception for results with
5380         small absolute value.
5381         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5382         (__ieee754_atanhl): Force underflow exception for results with
5383         small absolute value.
5384         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5385         (__ieee754_atanhl): Force underflow exception for results with
5386         small absolute value.
5387         * math/auto-libm-test-in: Do not allow missing underflow
5388         exceptions from atanh.
5389         * math/auto-libm-test-out: Regenerated.
5391         [BZ #18221]
5392         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5393         2**-28 as threshold for returning x or +/- 1/x.
5394         * math/auto-libm-test-in: Add more tests of tan.
5395         * math/auto-libm-test-out: Regenerated.
5397         [BZ #18220]
5398         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5399         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5400         * math/auto-libm-test-in: Add another test of lgamma.
5401         * math/auto-libm-test-out: Regenerated.
5403 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5405         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5406         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5407         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5408         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5409         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5410         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5411         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5412         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5414         (log1): Use fabs.  (my_log2): Use fabs.
5415         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5416         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5417         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5418         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5419         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5420         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5421         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5422         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5423         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5424         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5425         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5427 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5429         [BZ #18217]
5430         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5431         as threshold for returning 1 - x.
5432         * math/auto-libm-test-in: Add more tests of erfc.
5433         * math/auto-libm-test-out: Regenerated.
5435 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5437         [BZ #18196]
5438         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5439         threshold for large arguments.
5440         * math/auto-libm-test-in: Add another test of atan.
5441         * math/auto-libm-test-out: Regenerated.
5443         [BZ #16339]
5444         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5445         (__log1p): Force underflow exception for results with small
5446         absolute value.
5447         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5448         (__log1pf): Force underflow exception for results with small
5449         absolute value.
5450         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5451         (__log1p): Force underflow exception for results with small
5452         absolute value.
5453         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5454         (__log1pf): Force underflow exception for results with small
5455         absolute value.
5456         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5457         (__log1pl): Force underflow exception for results with small
5458         absolute value.
5459         * math/auto-libm-test-in: Do not allow missing underflow
5460         exceptions from log1p.
5461         * math/auto-libm-test-out: Regenerated.
5463 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5464             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5466         [BZ #16704]
5467         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5469 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5471         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5472         (libmvec): New variable.
5473         * configure.ac: Added option for mathvec build.
5474         * configure: Regenerated.
5475         * mathvec/Depend: New file.
5476         * mathvec/Makefile: New file.
5477         * shlib-versions: Added libmvec.
5478         * math/Makefile: Added rule for libm.so installation.
5480         * bits/math-vector.h: New file.
5481         * bits/libm-simd-decl-stubs.h: New header.
5482         * math/Makefile (headers): Added new header
5483         libm-simd-decl-stubs.h.
5484         * math/math.h (__MATHCALL_VEC): New macro.
5486         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5487         for conditions in testing functions.
5488         * math/Makefile: Added call of libm-have-vector-test.sh.
5489         * math/libm-test.inc (HAVE_VECTOR): New macros.
5491         * math/libm-test.inc: START refactored.
5492         * math/test-double.c (TEST_MATHVEC): Add define.
5493         * math/test-float.c: Likewise.
5494         * math/test-idouble.c: Likewise.
5495         * math/test-ifloat.c: Likewise.
5496         * math/test-ildoubl.c: Likewise.
5497         * math/test-ldouble.c: Likewise.
5498         * sysdeps/generic/math-tests-arch.h
5499         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5500         architecture check.
5502         * math/test-double.c (FUNC_TEST): New macro.
5503         * math/test-float.c: Likewise.
5504         * math/test-idouble.c: Likewise.
5505         * math/test-ifloat.c: Likewise.
5506         * math/test-ildoubl.c: Likewise.
5507         * math/test-ldouble.c: Likewise.
5508         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5510 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5512         * sysdeps/nacl/fdopendir.c: New file.
5514         * dirent/scandir-tail.c: New file.
5515         * dirent/scandir64-tail.c: New file.
5516         * dirent/Makefile (routines): Add them.
5517         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5518         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5519         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5520         [!SCANDIR] (SCANDIR_TAIL): New macro.
5521         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5522         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5523         (SCANDIRAT): Macro removed.
5524         (SCANDIR_TAIL): New macro.
5525         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5526         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5527         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5528         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5529         (READDIR): Macro removed.
5530         (SCANDIR_TAIL): New macro.
5531         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5532         (SCANDIR_TAIL): New macro.
5534         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5535         * dirent/scandir-cancel.c: ... to this new file.
5536         * dirent/Makefile (routines): Add it.
5537         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5538         * sysdeps/unix/sysv/linux/i386/scandir64.c
5539         (SKIP_SCANDIR_CANCEL): Macro removed.
5540         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5542         * dirent/tst-scandir.c: New file.
5543         * dirent/tst-scandir64.c: New file.
5544         * dirent/Makefile (tests): Add them.
5546 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5548         [BZ #18409]
5549         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5551 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5553         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5554         list.
5556 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5558         * benchtests/bench-strcoll.c: New benchmark.
5559         * benchtests/Makefile: Generate locales and run benchmark.
5560         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5561         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5562         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5563         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5564         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5565         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5566         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5567         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5568         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5569         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5570         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5571         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5572         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5573         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5574         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5575         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5576         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5577         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5578         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5579         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5580         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5581         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5582         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5583         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5585 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5587         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5588         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5590 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5592         * posix/uname-values.h: New file.
5593         * posix/uname.c: Include that instead of <config-name.h>.
5594         * sysdeps/nacl/uname-values.h: New file.
5595         * sysdeps/arm/nacl/uname-values.h: New file.
5597 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5599         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5600         splitting into fields.
5602 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5604         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5605         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5606         * locale/localeinfo.h: Add enum collation_encoding_type.
5607         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5608         * programs/ld-collate.c (collate_output): Add encoding type info.
5609         * string/strcoll_l.c (STRDIFF): New function.
5610         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5611         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5613 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5615         [BZ #18397]
5616         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5617         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5618         <fpu_control.h> instead of <math/fpu_control.c>.
5619         * sysdeps/mips/mips32/fpu/Makefile: New file.
5621 2015-05-11  Andreas Schwab  <schwab@suse.de>
5623         [BZ #18007]
5624         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5625         nss_endgrent.
5626         (_nss_compat_endgrent): Call nss_endgrent.
5627         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5628         nss_endpwent.
5629         (_nss_compat_endpwent): Call nss_endpwent.
5630         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5631         needent, call nss_setspent only if non-zero.
5632         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5633         (internal_endspent): Don't call nss_endspent.
5634         (_nss_compat_endspent): Call nss_endspent.
5635         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5636         Remove.  All uses removed.
5637         (internal_setent): Remove parameter stayopen, add parameter
5638         stream.  Use it instead of global variable.
5639         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5640         (internal_endent, internal_getent): Add parameter stream.  Use it
5641         instead of global variable.
5642         (CONCAT(_nss_files_end,ENTNAME))
5643         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5644         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5645         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5646         uses removed.
5647         (internal_setent, internal_endent): Add parameter stream.  Use it
5648         instead of global variable.
5649         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5650         stream.
5651         (get_next_alias): Add parameter stream.
5652         (_nss_files_getaliasent_r): Pass global stream.
5653         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5654         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5655         (_nss_files_gethostbyname4_r): Pass local stream to
5656         internal_setent, internal_getent and internal_endent.  Remove
5657         locking.
5659 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5661         * tst-strfmon1.c (tests): Update expected currency symbol.
5663 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5665         * sysdeps/nacl/gethostname.c: New file.
5667 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5669         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5670         and sinh.
5671         * math/auto-libm-test-out: Regenerated.
5672         * sysdeps/i386/fpu/libm-test-ulps: Update.
5673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5677         [BZ #18125]
5678         * stdlib/tst-setcontext3.c: New file.
5679         * stdlib/tst-setcontext3.sh: New file.
5680         * stdlib/Makefile (tests): Add tst-setcontext3.
5681         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5682         to verify test program created output file.
5683         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5684         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5685         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5686         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5688 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5690         [BZ #18383]
5691         * elf/tst-tlsalign.c: New file.
5692         * elf/tst-tlsalign-static.c: New file.
5693         * elf/tst-tlsalign-lib.c: New file.
5694         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5695         (tests-static): Add tst-tlsalign-static.
5696         (modules-names): Add tst-tlsalign-lib.
5697         (test-xfail-tst-tlsalign): New variable.
5698         (test-xfail-tst-tlsalign-static): New variable.
5700         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5701         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5703 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5705         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5706         csqrt, erfc, sin and sincos.
5707         * math/auto-libm-test-out: Regenerated.
5708         * sysdeps/i386/fpu/libm-test-ulps: Update.
5709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5711 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5713         * sysdeps/aarch64/libm-test-ulps: Update.
5715 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5717         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5718         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5719         * math/auto-libm-test-out: Regenerated.
5720         * sysdeps/i386/fpu/libm-test-ulps: Update.
5721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5723 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5725         [BZ #18265]
5726         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5727         (wcsncpy): Likewise.
5729 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5731         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5732         Assume __ASSUME_FALLOCATE is always true.
5733         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5734         (__posix_fallocate64_l64): Likweise.
5735         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5736         (posix_fallocate): Likewise.
5737         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5738         (__posix_fallocate64_l64): Likewise.
5739         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5740         [!__ASSUME_FALLOCATE]: Add comment.
5742 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5744         * sysdeps/unix/sysv/linux/i386/Makefile
5745         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5746         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5747         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5748         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5749         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5750         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5751         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5753 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5755         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5756         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5757         tgamma.
5758         * math/auto-libm-test-out: Regenerated.
5759         * sysdeps/i386/fpu/libm-test-ulps: Update.
5760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5762 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5764         * math/auto-libm-test-in: Add more tests of tgamma.
5765         * math/auto-libm-test-out: Regenerated.
5766         * sysdeps/i386/fpu/libm-test-ulps: Update.
5767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5769         * math/auto-libm-test-in: Add more tests of tanh.
5770         * math/auto-libm-test-out: Regenerated.
5771         * sysdeps/i386/fpu/libm-test-ulps: Update.
5772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5774         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5780         * math/auto-libm-test-out: Regenerated.
5781         * sysdeps/i386/fpu/libm-test-ulps: Update.
5782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5784         * math/auto-libm-test-in: Add another test of pow.
5785         * math/auto-libm-test-out: Regenerated.
5786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5788         * math/auto-libm-test-in: Add more tests of lgamma.
5789         * math/auto-libm-test-out: Regenerated.
5790         * sysdeps/i386/fpu/libm-test-ulps: Update.
5791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5794         log1p.
5795         * math/auto-libm-test-out: Regenerated.
5796         * sysdeps/i386/fpu/libm-test-ulps: Update.
5797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5799 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5801         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5802         Elf64_Chdr structs and ELFCOMPRESS constants.
5804 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5806         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5807         expm1.
5808         * math/auto-libm-test-out: Regenerated.
5809         * sysdeps/i386/fpu/libm-test-ulps: Update.
5810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5812         * math/auto-libm-test-in: Add more tests of erf and erfc.
5813         * math/auto-libm-test-out: Regenerated.
5814         * sysdeps/i386/fpu/libm-test-ulps: Update.
5815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5817 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5819         * config.h.in (HAVE_AARCH64_BE): Add.
5821 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5823         * math/auto-libm-test-in: Add more tests of csqrt.
5824         * math/auto-libm-test-out: Regenerated.
5825         * sysdeps/i386/fpu/libm-test-ulps: Update.
5826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5828         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5829         * math/auto-libm-test-out: Regenerated.
5830         * sysdeps/i386/fpu/libm-test-ulps: Update.
5831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5833         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5835 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5837         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5838         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5840         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5841         (euidaccess, eaccess): Define as weak aliases.
5843         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5844         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5845         but __suseconds_t is often 'long int' so some sources assume that
5846         type is being used (e.g. they use %ld to print tv_usec).
5848 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5850         [BZ #18007]
5851         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5852         (CVE-2014-8121)
5853         * nss/tst-nss-getpwent.c: New file.
5854         * nss/Makefile (tests): Add new test.
5856 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5858         [BZ #18346]
5859         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5860         exponents less than 48 as cases where high part of mantissa needs
5861         examining to determine whether argument is integral.
5862         * math/libm-test.inc (round_test_data): Add more tests.
5864 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5866         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5868 2015-04-27  David S. Miller  <davem@davemloft.net>
5870         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5871         __tls_get_addr.
5872         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5874 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5876         [BZ#18333]
5877         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5879 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5881         [BZ#18333]
5882         * time/tzset.c (parse_tzname): Return error on memory allocation
5883         failure.
5884         * test-skeleton.c (struct temp_name_list): Change type of name
5885         member to non-const.
5886         (add_temp_file): Create a copy of the file name.
5887         (delete_temp_files): Deallocate memory.
5888         (create_temp_file): Add comment.
5890 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5892         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5893         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5895 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5897         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5898         * sysdeps/arm/configure: Regenerated.
5900 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5902         [BZ #17715]
5903         * time/tzfile.c (__tzfile_read): Check for large values of
5904         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5905         * time/tzset.c (__tzstring_len): New function, based on the old
5906         __tzstring function.
5907         (__tzstring): Call __tzstring_len.
5908         (parse_tzname): New helper function extracted from
5909         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5910         the input string.
5911         (parse_offset): New helper function extracted from
5912         __tzset_parse_tz.  Replace switch with fallthrough with
5913         initialization before sscanf.
5914         (parse_rule): Likewise.
5915         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5916         new-style function definition.
5917         * timezone/Makefile (tests): Add tst-tzset.
5918         (tst-tzset.out): Dependencies on time zone files.
5919         (tst-tzset-ENV): Set TZDIR.
5920         (testdata/XT%): Copy crafted time zone files.
5921         * timezone/README: Mention crafted time zone files.
5922         * timezone/testdata/XT1, timezone/testdata/XT2,
5923         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5924         files.
5925         * timezone/tst-tzset.c: New test.
5927 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5929         * Makeconfig (+gccwarn): Remove -Winline.
5931 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5933         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5935 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5937         * NEWS: Mention sysconf() cache information support for s390.
5938         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5940 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5942         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5943         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5944         (__nearbyint): Likewise.
5945         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5946         (copysignl): Likewise.
5948 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5950         [BZ #18287]
5951         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5952         based on padding.  (CVE-2015-1781)
5954 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5956         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5957         libc-vdso.h.
5958         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5959         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5960         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5961         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5962         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5963         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5964         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5966         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5967         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5968         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5969         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5970         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5971         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5972         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5973         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5974         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5975         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5976         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5977         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5978         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5979         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5980         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5982 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5984         * stdlib/setenv.c (__add_to_environ):
5985         Dump core quickly if setenv (..., NULL, ...) is called.
5986         This time, do it the right way, and pacify GCC with a pragma.
5988 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5990         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5991         IMAP->l_prev cannot be null, and #if out the code for the contrary
5992         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5993         believe that NS (&_dl_ns[NSID]) could point outside the array.
5995         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5996         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5997         before using NSID as an index.
5999 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6001         [BZ #17825]
6002         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6003         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6004         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6006 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6008         Add preliminary port to Google Native Client on ARM.
6009         * abi-tags (.*-.*-nacl.*): New entry.
6010         * sysdeps/arm/nacl: New directory.
6011         * sysdeps/nacl: New directory.
6013 2015-04-16  David S. Miller  <davem@davemloft.net>
6015         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6016         lowlevellock-futex.h
6018 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6020         * sysdeps/tile/configure.ac: New file.
6021         * sysdeps/tile/configure: Regenerated.
6023 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6025         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6026         conditionals for weak_alias and libc_hidden_weak.
6027         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6028         libc_hidden_weak and weak_alias.
6029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6030         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6031         and weak_alias for static one.
6033 2015-04-15  David S. Miller  <davem@davemloft.net>
6035         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6037 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6039         [BZ #18206]
6040         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6041           Use signed comparision instead of substraction to avoid
6042           overflow bug.
6043         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6044           Take the sign of ret.
6045         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6046           Do not expect precise return values. Only the sign matters.
6047         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6048         * wcsmbs/test-wcsncmp.c: New File.
6049         * string/test-strncmp.c: Add wcsncmp support.
6051 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6053         [BZ #6792]
6054         * math/w_log1p.c: New file.
6055         * math/w_log1pf.c: Likewise.
6056         * math/w_log1pl.c: Likewise.
6057         * math/Makefile (libm-calls): Add w_log1p.
6058         * math/s_log1pl.c (log1pl): Remove weak_alias.
6059         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6060         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6061         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6062         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6063         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6064         [NO_LONG_DOUBLE] (log1pl): Likewise.
6065         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6066         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6067         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6068         (log1p): Remove long_double_symbol.
6069         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6070         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6071         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6072         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6073         remove weak_alias for corresponding log1p function.
6074         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6075         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6076         * sysdeps/ia64/fpu/w_log1p.c: New file.
6077         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6078         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6079         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6081 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6083         [BZ #18247]
6084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6085         decimal exponent by 1.
6086         * stdlib/tst-strtod-round-data: Add more tests.
6087         * stdlib/tst-strtod-round.c (tests): Regenerated.
6089 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6091         * math/auto-libm-test-in: Add more tests of clog and clog10.
6092         * math/auto-libm-test-out: Regenerated.
6093         * sysdeps/i386/fpu/libm-test-ulps: Update.
6094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6096 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6098         * Makeconfig (module-cppflags): Exclude all .v.i files.
6099         (skip-module-cppflags): Variable removed.
6101         * configure.ac (libc_config_ok): Initialize before reading
6102         preconfigure scripts, not after.
6103         * configure: Regenerated.
6105         * test-skeleton.c (TIMEOUT): Move #define to top level.
6106         (main): Grok environment variable TEST_DIRECT.  If set, print
6107         test expectation details into that file and then behave as if
6108         given --direct.
6110 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6112         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6113         warning on 32-bit.
6115 2015-04-08  David S. Miller  <davem@davemloft.net>
6117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6119 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6121         * math/auto-libm-test-in: Add more tests of atanh.
6122         * math/auto-libm-test-out: Regenerated.
6123         * sysdeps/i386/fpu/libm-test-ulps: Update.
6124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6126         * math/auto-libm-test-in: Add more tests of atan.
6127         * math/auto-libm-test-out: Regenerated.
6128         * sysdeps/i386/fpu/libm-test-ulps: Update.
6129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6133         * elf/pldd.c (main): Rewrite to use struct
6134         scratch_buffer instead of extend_alloca.
6135         * elf/pldd-xx.c (find_maps): Likewise.
6136         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6137         <alloca.h>.
6138         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6139         scratch_buffer instead of extend_alloca.
6140         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6141         grp/compat-initgroups.c.
6142         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6143         Rewrite to use struct scratch_buffer instead of extend_alloca.
6144         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6145         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6147 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6149         * math/auto-libm-test-in: Add more tests of cbrt.
6150         * math/auto-libm-test-out: Regenerated.
6151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6153         * math/auto-libm-test-in: Add more tests of cabs.
6154         * math/auto-libm-test-out: Regenerated.
6155         * sysdeps/i386/fpu/libm-test-ulps: Update.
6156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6158         [BZ #18210]
6159         [BZ #18211]
6160         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6161         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6162         computations.
6163         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6164         clog10.
6165         * math/auto-libm-test-out: Regenerated.
6166         * sysdeps/i386/fpu/libm-test-ulps: Update.
6167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6169         [BZ #18197]
6170         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6171         (atan): Set FE_TONEAREST mode for internal computations.
6172         * math/auto-libm-test-in: Add more tests of atan.
6173         * math/auto-libm-test-out: Regenerated.
6175 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6177         [BZ #17930]
6178         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6180 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6182         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6184 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6186         * include/scratch_buffer.h: New file.
6187         * malloc/scratch_buffer_grow.c: Likewise.
6188         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6189         * malloc/scratch_buffer_set_array_size.c: Likewise.
6190         * malloc/tst-scratch_buffer.c: Likewise.
6191         * malloc/Makefile (routines): Add scratch_buffer_grow.
6192         (tests): Add test case.
6193         * malloc/Versions (GLIBC_PRIVATE): Export
6194         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6195         __libc_scratch_buffer_set_array_size.
6197 2015-04-06  Richard Henderson  <rth@redhat.com>
6199         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6200         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6202         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6203         unsigned int before printing.
6205 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6207         [BZ #17596]
6208         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6209         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6211 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6213         * include/libc-internal.h (libc_max_align_t): Define.
6215 2015-04-02  Andreas Schwab  <schwab@suse.de>
6217         [BZ #16850]
6218         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6220 2015-04-02  Mel Gorman  <mgorman@suse.de>
6222         [BZ #17195]
6223         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6224         as well as the main arena.
6226 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6228         [BZ #18185]
6229         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6230         sharing L2 cache to 2 for Silvermont/Knights Landing.
6232 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6234         [BZ #17711]
6235         * config.make.in (have-protected-data): New.
6236         * configure.ac: Check linker support for protected data symbol.
6237         * configure: Regenerated.
6238         * elf/Makefile (modules-names): Add tst-protected1moda and
6239         tst-protected1modb if $(have-protected-data) is yes.
6240         (tests): Add tst-protected1a and tst-protected1b if
6241         $(have-protected-data) is yes.
6242         ($(objpfx)tst-protected1a): New.
6243         ($(objpfx)tst-protected1b): Likewise.
6244         (tst-protected1modb.so-no-z-defs): Likewise.
6245         * elf/tst-protected1a.c: New file.
6246         * elf/tst-protected1b.c: Likewise.
6247         * elf/tst-protected1mod.h: Likewise.
6248         * elf/tst-protected1moda.c: Likewise.
6249         * elf/tst-protected1modb.c: Likewise.
6251 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6253         [BZ #17711]
6254         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6255         indicates it is called from do_lookup_x on relocation against
6256         protected data, skip the data definion in the executable from
6257         copy reloc.
6258         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6259         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6260         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6261         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6262         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6263         otherwise to 0.
6264         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6265         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6266         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6267         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6268         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6269         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6271 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6273         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6274         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6276 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6278         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6279         THREAD_SETMEM_NC.
6280         * sysdeps/x86_64/nptl/tls.h: Ditto.
6282 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6284         * dlfcn/tststatic.c (main): Converted to ...
6285         (do_test): ... this.
6286         (TEST_FUNCTION): New macro.
6287         Include test-skeleton.c.
6289 2015-03-26  Alan Modra  <amodra@gmail.com>
6291         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6292         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6293         zero for undefined weak.
6294         (elf_machine_plt_conflict): Similarly.
6296 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6298         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6299         atanh.
6300         * math/auto-libm-test-out: Regenerated.
6301         * sysdeps/i386/fpu/libm-test-ulps: Update.
6302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6304         * math/auto-libm-test-in: Add another test of asin.
6305         * math/auto-libm-test-out: Regenerated.
6306         * sysdeps/i386/fpu/libm-test-ulps: Update.
6307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6309         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6310         Remove macro.
6311         (LLL_EBX_REG): Likewise.
6312         (LLL_ENTER_KERNEL): Likewise.
6314         * math/auto-libm-test-in: Add more tests of asin.
6315         * math/auto-libm-test-out: Regenerated.
6316         * sysdeps/i386/fpu/libm-test-ulps: Update.
6317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319         [BZ #18138]
6320         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6321         libc_do_syscall_args): New structure.
6322         (INTERNAL_SYSCALL_MAIN_0): New macro.
6323         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6324         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6325         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6326         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6327         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6328         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6329         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6330         Replace conditional definitions by conditional definitions of ....
6331         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6332         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6333         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6334         (libpthread-sysdep_routines): Add libc-do-syscall.
6335         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6336         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6337         to __NR_futex not 240.
6339 2015-03-25  Alan Modra  <amodra@gmail.com>
6341         * NEWS: Advertise TLS optimization.
6342         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6343         (DT_PPC_NUM): Increment.
6344         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6345         (CHECK_STATIC_TLS): Use here.
6346         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6347         TLS descriptors.
6348         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6349         * sysdeps/powerpc/dl-tls.c: New file.
6350         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6351         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6352         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6353         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6358 2015-03-25  Alan Modra  <amodra@gmail.com>
6360         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6361         for overlapping .opd entries" to "support...".
6362         * sysdeps/powerpc/powerpc64/configure: Regenerate
6364 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6366         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
6372         * math/auto-libm-test-out: Regenerated.
6373         * sysdeps/i386/fpu/libm-test-ulps: Update.
6374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6376 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6378         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6379         * math/auto-libm-test-out: Regenerated.
6380         * sysdeps/i386/fpu/libm-test-ulps: Update.
6381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6383         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6386         * math/auto-libm-test-in: Add more tests of log2.
6387         * math/auto-libm-test-out: Regenerated.
6388         * sysdeps/i386/fpu/libm-test-ulps: Update.
6389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6391 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6393         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6394         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6395         _IO_IS_APPENDING bit in READ_WRITE instead.
6397 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6399         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6400         (__determine_cpumask_size): Replace extend_alloca with a
6401         variable-length array.  Do not treat res == 0 as an error.
6403 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6405         [BZ #18100]
6406         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6407         and integer overflow.
6408         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6409         (main): Add integer overflow tests.
6410         * manual/pattern.texi (Calling Wordexp): Document additional use
6411         for WRDE_SYNTAX.
6413 2015-03-23  Alan Modra  <amodra@gmail.com>
6415         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6416         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6417         and false branch of conditional.
6418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6419         Likewise.
6421 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6423         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6424         libc-modules.h
6425         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6426         unused declaration of _hurd_intr_rpc_msg_in_trap.
6427         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6428         defined instead of whether it is non-zero.
6429         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6430         input constraint instead of both input and output constraint.  Use ecx
6431         clobber instead of %ecx.
6432         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6433         mutex_unlock): Use a statement expression instead of an expression list.
6434         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6435         type to vm_size_t instead of vm_address_t.
6436         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6437         defined instead of whether it is non-zero.
6438         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6439         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6440         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6441         comparisons with mapaddr.
6442         * nscd/nscd-client.h: Include <time.h>.
6443         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6444         9th parameter to __vm_region instead of int.
6445         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6446         * scripts/check-local-headers.sh (exclude): Add device/,
6447         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6448         cthreads.h.
6450 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6452         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6453         to account for alignment padding.
6454         * sysdeps/arm/memmove.S: Likewise.
6456 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6458         * sysdeps/unix/sysv/linux/generic/README: New file.
6460 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6462         [BZ #18138]
6463         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6464         (futex_abstimed_wait)
6465         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6466         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6467         of lll_futex_timed_wait.
6469 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6471         [BZ #17542]
6472         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6474 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6476         [BZ #17090]
6477         [BZ #17620]
6478         [BZ #17621]
6479         [BZ #17628]
6480         * NEWS: Update.
6481         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6482         entries with Static TLS too.  Skip entries past the end of the
6483         allocated DTV, from Alan Modra.
6484         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6485         Static TLS DTV entry set up from...
6486         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6487         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6488         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6489         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6490         for Static TLS.
6491         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6492         that the slot we find is associated with the given map before
6493         using its generation count.
6494         * nptl_db/db_info.c: Include ldsodefs.h.
6495         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6496         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6497         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6498         (link_map::l_tls_offset): New struct field.
6499         (dtv_t::counter): Likewise.
6500         (rtld_global): New struct.
6501         (_rtld_global): New rtld variable.
6502         (dl_tls_dtv_slotinfo_list): New rtld global field.
6503         (dtv_slotinfo_list): New struct.
6504         (dtv_slotinfo): Likewise.
6505         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6506         (td_lookup): Rename to...
6507         (td_mod_lookup): ... this.  Use new mod parameter instead of
6508         LIBPTHREAD_SO.
6509         * nptl_db/td_thr_tlsbase.c: Include link.h.
6510         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6511         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6512         addresses even if the DTV is out of date or missing them.
6513         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6514         index zero-length arrays.
6515         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6516         (td_lookup): Make it a macro implemented in terms of...
6517         (td_mod_lookup): ... this declaration.
6518         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6519         (DB_MAIN_VARIABLE): Likewise.
6521 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6523         [BZ #18134]
6524         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6526 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6528         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6530 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6532         [BZ #18128]
6533         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6534         (atomic_add, atomic_increment_and_test)
6535         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6537 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6539         * stdlib/setenv.c (__add_to_environ):
6540         Dump core quickly if setenv (..., NULL, ...) is called.
6542 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6544         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6545         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6546         all the necessary asm magic in one place.
6547         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6548         using those.
6550 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6552         [BZ #14906]
6553         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6554         traced file mtime. Use consistent log message.
6555         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6556         (register_traced_file): Call install_watches. Always set mtime.
6557         (invalidate_cache): Iterate over all trace files. Call install_watches.
6558         (inotify_check_files): Don't inline. Handle watching parent
6559         directories and configuration file movement in and out.
6560         (handle_inotify_events): New function.
6561         (main_loop_poll): Call handle_inotify_events.
6562         (main_loop_epoll): Likewise.
6563         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6564         (struct traced_file): Use array of inotify fds. Add parent directory,
6565         and basename.
6566         (struct database_dyn): Remove unused file_mtime.
6567         (init_traced_file): New inline function.
6568         (define_traced_file): New macro.
6569         * nss/nss_db/db-init.c: Use define_traced_file.
6570         (_nss_db_init): Use init_traced_file.
6571         * nss/nss_files/files-init.c: Use define_traced_file.
6572         (_nss_files_init): Use init_traced_file.
6574 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6576         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6577         [_LIBC]: Do not include <stdlib.h>.
6578         [!_LIBC] (abort): Remove declaration.
6579         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6580         _FP_STATIC_ASSERT instead of conditionally calling abort.
6581         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6582         (_FP_EXTEND_CNAN): Likewise.
6583         (FP_TRUNC): Likewise.
6584         (__FP_CLZ): Likewise.
6585         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6587 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6589         * manual/string.texi (XPG basename): Fix prototype.
6591 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6593         [BZ #18080]
6594         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6595         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6596         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6597         (__setcontext): Likewise.
6598         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6599         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6600         Call rt_sigprocmask syscall one time to set new signal mask
6601         and retrieve the current signal mask instead of two calls.
6602         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6603         (__swapcontext): Likewise.
6604         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6605         * stdlib/tst-setcontext2.c: New file.
6607 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6609         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6611 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6613         [BZ #18093]
6614         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6615         the wrong size.
6617 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6619         [BZ #18043]
6620         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6622 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6624         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6625         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6626         Remove define.
6627         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6628         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6629         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6630         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6631         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6632         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6633         define.
6634         * nptl_db/td_symbol_list.c (td_lookup): Remove
6635         HAVE_ASM_GLOBAL_DOT_NAME code.
6636         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6637         HAVE_ASM_GLOBAL_DOT_NAME check.
6638         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6639         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6640         (DOT_LABEL): Remove define.
6641         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6642         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6643         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6644         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6645         (__TLS_GET_ADDR): Likewise.
6646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6647         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6649 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6651         [BZ #18111]
6652         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6653         (_FPU_SETCW): Initialize cw from fpsr before storing.
6654         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6655         (fesetexceptflag): Rewrite using fpu_control.h.
6656         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6658 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6660         [BZ #18110]
6661         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6662         asms.
6663         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6665 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6667         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6668         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6669         abort.
6670         (_FP_FMA): Likewise.
6671         (_FP_DIV): Likewise.
6673 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6675         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6676         with 0 in that case.
6677         * Makefile (summarize-tests): New canned sequence, factored out of
6678         commands for targets tests and xtests.  Display summary lines that
6679         don't start with PASS: or XFAIL: rather than ones that do start with
6680         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6681         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6682         do start with ERROR: or FAIL:.
6683         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6684         (except for [$(build-shared) = yes]).
6685         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6686         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6687         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6688         * nptl/Makefile: Revert 2015-03-04 changes.
6689         [$(CXX) empty] (tests-unsupported): New variable.
6690         * debug/Makefile: Likewise.
6692         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6693         gnulib file.  Replace __attribute with __attribute__ throughout.
6695 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6697         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6699 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6701         [BZ #18104]
6702         * math/auto-libm-test-in: Add another test of pow.
6703         * math/auto-libm-test-out: Regenerated.
6705 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6707         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6708         $(config-cflags-nofma).
6710 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6712         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6713         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6714         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6715         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6716         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6717         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6718         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6719         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6720         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6721         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6722         Add comment on closing #endif.
6724 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6726         * posix/wordexp.c (CHAR_IN_SET): New macro.
6727         (parse_param): Use it.
6729 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6731         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6733 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6735         [BZ #18043]
6736         * posix/wordexp.c (parse_param): Fix buffer overflow.
6737         * posix/wordexp-test.c (test_case): Add test case.
6739 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6741         [BZ #18042]
6742         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6743         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6745 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6747         [BZ #18043]
6748         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6749         (do_bz18043): Delete.
6750         (at_page_end): New.
6751         (testit): Refactor to have words at the edge of unreadable page.
6753 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6755         [BZ #16734]
6756         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6757         Cleanup read-only streams as well.
6758         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6760 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6762         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6763         <bits/libc-lockP.h>
6765 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6767         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6768         on [__KERNEL__].
6769         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6770         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6771         * soft-fp/op-common.h (_FP_DECL): Likewise.
6773 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6775         * elf/ifuncdep2.c (global): Replace
6776         __attribute__((visibility("protected"))) with
6777         asm (".protected global").
6778         * elf/ifuncmod1.c (global): Likewise.
6779         * elf/ifuncmod5.c (global): Likewise.
6781 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6783         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6784         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6786 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6788         * manual/install.texi (Configuring and compiling):
6789         Document test-wrapper-env-only.
6790         * INSTALL: Regenerated.
6792 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6794         [BZ #18043]
6795         * posix/wordexp.c (parse_param): Fix buffer overflow.
6796         * posix/wordexp-test.c (do_bz18043): Add test case.
6798 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6800         * time/tst-strptime2.c (do_test): Ensure failing tests are
6801         reported correctly.
6802         * time/tst-strptime3.c (do_test): Likewise.
6804 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6806         Fix aio_error thread-safety.
6807         * sysdeps/pthread/aio_error.c: New file
6808         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6809         synchronization.
6811 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6813         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6814         (group_number, vfprintf): Use it.
6815         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6816         (JUMP, REF): Use it.
6817         (WORK_BUFFER_SIZE): New enum constant.
6818         (process_arg, vfprintf): Use it.
6820 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6822         * manual/errno.texi (Error Messages): Complete example function
6823         by adding missing #define.
6824         (program_invocation_name): Add statement indicating GNU
6825         extension and reference which header file declares the variable.
6826         (program_invocation_short_name): Likewise.
6828 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6830         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6831         compatibility note.
6833 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6835         * Makeconfig (test-wrapper-env-only): New variable.
6836         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6837         then use that with $(test-wrapper-env-only) rather than using
6838         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6840 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6842         [BZ #18082]
6843         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6844         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6845         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6846         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6847         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6848         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6849         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6850         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6851         Likewise.
6852         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6853         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6854         Likewise.
6855         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6856         Likewise.
6857         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6858         Likewise.
6859         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6860         Likewise.
6861         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6863         Likewise.
6864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6865         Likewise.
6866         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6867         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6869 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6871         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6872         (ETH_ALEN): New macro.
6873         (struct ether_addr): Use it for length of ether_addr_octet.
6875         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6876         (setdb): Don't call __nss_configure_lookup for "rpc".
6877         (do_test): Don't call test_rpc.
6878         (output_rpcent, test_rpc): Functions moved ...
6879         * sunrpc/test-rpcent.c: ... to this new file.
6880         * sunrpc/Makefile (tests): Add it.
6882         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6883         __xpg_sigpause.
6884         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6885         * nptl/tst-signal6.c: Likewise.
6886         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6887         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6889         * configure.ac (libc_cv_cxx_link_ok): New check.
6890         Reset CXX to empty if it fails to link.
6891         * configure: Regenerated.
6892         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6893         bug-atexit3-lib only if $(CXX) is nonempty.
6894         * nptl/Makefile (tests): Likewise for tst-cancel24.
6895         (tests, tests-static): Likewise for tst-cancel24-static.
6896         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6897         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6898         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6899         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6901 2015-03-04  Andreas Schwab  <schwab@suse.de>
6903         [BZ #17631]
6904         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6905         for non-GCC compilers.
6906         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6907         Likewise.
6909 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6911         [BZ #17776]
6912         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6913         integer before bitwise and assembly operations.
6914         (feclearexcept): Likewise.
6915         * math/test-fenvinline.c: New file.
6916         * math/Makefile: Add test-fenvinline test.
6918 2015-03-03  Alan Modra  <amodra@gmail.com>
6920         [BZ #16512]
6921         * scripts/localplt.awk: Strip off symbol version.
6922         * NEWS: Mention bug fix.
6924 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6926         * sysdeps/pthread/timer_routines.c
6927         (timer_free_list, thread_free_list, thread_active_list): Make static.
6929 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6931         [BZ #17779]
6932         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6933         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6934         Undefine.
6935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6936         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6937         Likewise.
6938         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6939         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6940         Likewise.
6942 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6944         [BZ #18036]
6945         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6946         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6948 2015-03-02  Andreas Schwab  <schwab@suse.de>
6950         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6951         variable name.
6953 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6955         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6956         Return error status.
6958 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6960         [BZ #15969]
6961         * locale/findlocale.c (_nl_find_locale): Introduce const
6962         version of loc_name and drop unsafe type casts.
6964 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6966         * dlfcn/tststatic2.c (main): Converted to ...
6967         (do_test): ... this.
6968         (TEST_FUNCTION): New macro.
6969         Include test-skeleton.c.
6971 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6973         [BZ #17711]
6974         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6975         (tests-pie): Add vismain.
6976         (CFLAGS-vismain.c): New.
6977         * elf/vismain.c: Add comments for PIE requirement.
6979 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6981         [BZ #18046]
6982         [BZ #18047]
6983         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6984         0x1p-56L as threshold for just returning the argument.
6985         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6986         0x1p-32L as threshold for just returning the argument.
6987         * math/auto-libm-test-in: Add more tests of atanh.
6988         * math/auto-libm-test-out: Regenerated.
6989         * sysdeps/i386/fpu/libm-test-ulps: Update.
6990         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6992 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6994         * string/bcopy.c (bcopy): Call memmove for performance.
6996 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6998         * string/bzero.c (__bzero): Call memset for performance.
7000 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7002         [BZ #18068]
7003         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7004         to 00100000.
7006 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7008         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7010 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7012         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7013         (__kernel_standard): Use CSTR macro when setting exc.name.
7014         * sysdeps/ieee754/Makefile [$(subdir) = math]
7015         (CFLAGS-k_standard.c): Remove variable.
7017         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7018         setting p and q from "else if" to "else".
7019         (qzero): Likewise.
7020         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7021         (qone): Likewise.
7022         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7023         (qzerof): Likewise.
7024         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7025         (qonef): Likewise.
7026         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7027         (qzero): Likewise.
7028         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7029         (qone): Likewise.
7031         [BZ #18038]
7032         [BZ #18039]
7033         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7034         return pi/2 for arguments below 0x1p-113L.
7035         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7036         return pi/2 for arguments below 0x1p-106L.
7037         * math/auto-libm-test-in: Add more tests of acos.
7038         * math/auto-libm-test-out: Regenerated.
7040         [BZ #16351]
7041         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7042         (MO): New macro.
7043         (__ieee754_asin): Force underflow exception for results with small
7044         absolute value.
7045         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7046         (MO): New macro.
7047         (__ieee754_asinf): Force underflow exception for results with
7048         small absolute value.
7049         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7050         (__ieee754_asin): Force underflow exception for results with small
7051         absolute value.
7052         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7053         (__ieee754_asinf): Force underflow exception for results with
7054         small absolute value.
7055         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7056         (__ieee754_asinl): Force underflow exception for results with
7057         small absolute value.
7058         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7059         (__ieee754_asinl): Force underflow exception for results with
7060         small absolute value.
7061         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7062         (__ieee754_asinl): Force underflow exception for results with
7063         small absolute value.
7064         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7065         Include <math.h>.
7066         * math/auto-libm-test-in: Do not mark underflow exceptions as
7067         possibly missing for bug 16351.
7068         * math/auto-libm-test-out: Regenerated.
7070         [BZ #18030]
7071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7072         of power of 2 down when low part has opposite sign.
7073         * math/libm-test.inc (logb_test_data): Add more tests.
7075 2015-02-26  Andreas Schwab  <schwab@suse.de>
7077         [BZ #18032]
7078         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7079         over collating symbol inside a bracket expression.  Minor cleanup.
7080         * posix/tst-fnmatch3.c (do_test): Add test case.
7082 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7084         [BZ #18029]
7085         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7086         Adjust exponent of power of 2 down when low part has opposite
7087         sign.
7088         * math/libm-test.inc (ilogb_test_data): Add more tests.
7090 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7092         [BZ #15969]
7093         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7094         the previous change.
7096         [BZ #15969]
7097         * locale/findlocale.c (_nl_find_locale): Retry archive search
7098         after alias expansion.
7100 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7102         * iconv/tst-iconv3.c (main): Converted to ...
7103         (do_test): ... this.
7104         (TEST_FUNCTION): New macro.
7105         Include test-skeleton.c.
7107         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7108         (convert): Make function static.
7109         (test_unalign): Likewise.  Add const to argument pointee types.
7110         (main): Replace with static function do_test.
7111         Print "Succeeded." only if RET is zero.
7112         (TEST_FUNCTION): New macro.
7113         Include test-skeleton.c.
7115         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7116         returns a null pointer.
7118 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7120         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7121         to __memcpy_ppc only for static builds.
7123 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7125         [BZ #18020]
7126         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7127         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7128         * math/auto-libm-test-in: Add more tests of asinh.
7129         * math/auto-libm-test-out: Regenerated.
7130         * sysdeps/i386/fpu/libm-test-ulps: Update.
7131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7133 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7135         [BZ #15850]
7136         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7137         and ip6_mtuinfo definitions here.
7138         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7139         in this define too.  Update comment.
7141 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7143         * elf/sprof.c (load_shobj): Tweak error message to match others.
7145 2015-02-24  Kevin Easton  <kevin@guarana.org>
7147         [BZ #16145] (partial fix)
7148         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7149         to reduce lock contention.
7151 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7153         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7154         (struct timex): Update time comment.
7155         (ADJ_SETOFFSET): Define.
7157 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7159         [BZ #18019]
7160         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7161         2**56 not 2**28 as threshold for log (2x) formula.
7162         * math/auto-libm-test-in: Add more tests of acosh.
7163         * math/auto-libm-test-out: Regenerated.
7164         * sysdeps/i386/fpu/libm-test-ulps: Update.
7165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7167 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7169         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7170         parenthesis around the buf assignment.
7171         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7173 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7175         [BZ #16783]
7176         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7177         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7178         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7179         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7180         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7181         * math/libm-test.inc (scalb_test_data): Add more tests.
7183 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7185         [BZ #17916]
7186         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7187         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7189 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7191         [BZ #17523]
7192         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7193         * io/bits/fcntl2.h (open): Use it.
7194         (openat): Likewise.
7195         * io/open.c (__libc_open): Likewise.
7196         * io/open64.c (__libc_open64): Likewise.
7197         * io/open64_2.c (__open64_2): Likewise.
7198         * io/open_2.c (__open_2): Likewise.
7199         * io/openat.c (__openat): Likewise.
7200         * io/openat64.c (__openat64): Likewise.
7201         * io/openat64_2.c (__openat64_2): Likewise.
7202         * io/openat_2.c (__openat_2): Likewise.
7203         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7204         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7205         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7206         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7207         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7208         (__open_nocancel): Likewise.
7209         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7210         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7211         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7213 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7215         [BZ #14841]
7216         * resolv/gethnamaddr.c (getanswer): Skip logging if
7217         RES_USE_DNSSEC is set.
7218         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7220 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7222         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7224 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7226         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7227         201304L, for Unicode 7.
7229 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7231         [BZ #17836]
7232         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7233         shared library.  Add gmon-start.os otherwise.
7234         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7235         $(objpfx)gmon-start.os if builing shared library.
7236         ($(objpfx)g$(static-start-installed-name)): Likewise.
7238 2015-02-23  Andreas Schwab  <schwab@suse.de>
7240         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7242 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7244         [BZ #17269]
7245         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7246         (enlarge_userbuf): Likewise.
7248 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7250         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7251         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7252         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7253         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7255 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7257         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7258         expression inside statement expression.
7260 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7262         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7263         <sysdeps/nptl/lowlevellock.h> and remove macros and
7264         functions that are now defined there.
7265         (SYS_futex): Remove.
7266         (lll_compare_and_swap): Remove.
7267         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7269 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7271         [BZ #17999]
7272         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7273         instead of scandirat.
7274         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7275         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7276         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7277         __scandirat.
7278         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7279         (__scandirat): Declare.  Use libc_hidden_proto.
7280         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7281         Remove variable.
7282         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7284 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7286         [BZ #15319]
7287         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7288         (MO): New macro.
7289         (__ieee754_atan2): For results with small absolute value, force
7290         underflow exception and remove excess range and precision from
7291         return value.
7292         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7293         (MO): New macro.
7294         (__ieee754_atan2f): For results with small absolute value, force
7295         underflow exception and remove excess range and precision from
7296         return value.
7297         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7298         (MO): New macro.
7299         (__atan): For results with small absolute value, force underflow
7300         exception and remove excess range and precision from return value.
7301         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7302         (MO): New macro.
7303         (__atanf): For results with small absolute value, force underflow
7304         exception and remove excess range and precision from return value.
7305         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7306         <math.h>.
7307         (__ieee754_atan2): Force underflow exception for results with
7308         small absolute value.
7309         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7310         <math_private.h>.
7311         (atan): Force underflow exception for results with small absolute
7312         value.
7313         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7314         (__atanf): Force underflow exception for results with small
7315         absolute value.
7316         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7317         <math.h>.
7318         (__atanl): Force underflow exception for results with small
7319         absolute value.
7320         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7321         (__atanl): Force underflow exception for results with small
7322         absolute value.
7323         * sysdeps/x86/fpu/bits/mathinline.h
7324         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7325         (__ieee754_atan2): Only define inline for long double.
7326         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7327         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7328         * math/auto-libm-test-in: Do not mark underflow exceptions as
7329         possibly missing for bug 15319.  Add more tests of atan2.
7330         * math/auto-libm-test-out: Regenerated.
7331         * math/libm-test.inc (casin_test_data): Do not mark underflow
7332         exceptions as possibly missing for bug 15319.
7333         (casinh_test_data): Likewise.
7334         * sysdeps/i386/fpu/libm-test-ulps: Update.
7336 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7338         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7339         * sysdeps/mips/bits/endian.h: Fix comments.
7341 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7343         [BZ #17996]
7344         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7345         (hdestroy_r): Likewise.
7346         (hsearch_r): Likewise.
7347         (__hcreate_r): Declare and use libc_hidden_proto.
7348         (__hdestroy_r): Likewise.
7349         (__hsearch_r): Likewise.
7350         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7351         (hcreate): Call __hcreate_r instead of hcreate_r.
7352         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7353         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7354         as weak alias of __hcreate_r.
7355         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7356         __hdestroy_r.
7357         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7358         __hsearch_r.
7359         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7360         Remove variable.
7361         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7362         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7363         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7364         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7366 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7368         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7369         arena_lock into a single arena_get.
7371 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7373         * dl-reloc.c: Inlucde libc-internal.h.
7374         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7375         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7376         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7377         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7378         (grow_heap): Likewise.
7379         * malloc/malloc.c: Include libc-internal.h.
7380         (do_check_malloc): Call powerof2.
7381         (sysmalloc): Use pagesize. Call ALIGN_UP.
7382         (systrim): Use pagesize.
7383         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7384         (__libc_valloc): Use pagesize.
7385         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7387 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7389         [BZ #17991]
7390         * include/sys/resource.h (__getrlimit64): Declare.  Use
7391         libc_hidden_proto.
7392         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7393         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7394         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7395         getrlimit64.
7396         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7397         __getrlimit64.
7398         [!getrlimit64] (getrlimit64): Define as weak alias of
7399         __getrlimit64.  Use libc_hidden_weak.
7400         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7401         using __getrlimit64 not __new_getrlimit64.
7402         (__GI_getrlimit64): Likewise.
7403         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7404         Likewise.
7405         (__GI_getrlimit64): Likewise.
7406         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7408         (getrlimit): Add __getrlimit64 alias.
7409         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7410         Likewise.
7411         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7412         Remove variable.
7413         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7414         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7416 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7418         * libio/fileops.c: Add missing sys/mman.h
7419         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7421 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7423         * manual/math.texi (Errors in Math Functions): Clarify goals
7424         regarding inexact and underflow exceptions.
7426 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7428         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7429         * sysdeps/mips/memset.S: Ditto.
7431 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7433         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7435 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7437         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7438         (__v1longjmp): Remove versioned symbol.
7439         (__v1siglongjmp): Remove alias and versioned symbol.
7440         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7441         (__v2siglongjmp): Likewise.
7443 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7445         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7447 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7449         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7451 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #17987]
7454         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7455         zero result does not depend on the sign resulting from
7456         subtraction.
7457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7458         Likewise.
7459         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7460         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7461         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7462         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7463         * math/libm-test.inc (remquo_test_data): Add more tests.
7465 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7467         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7468         Problem reported by J William Piggott.
7470 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7472         [BZ #17978]
7473         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7474         products 4 * y and 2 * y where those would overflow.
7475         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7476         Likewise.
7477         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7478         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7479         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7480         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7481         * math/libm-test.inc (remquo_test_data): Add more tests.
7483         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7485         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7486         [defined _COMPILING_NEWLIB].
7487         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7488         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7490         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7491         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7493 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7495         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7496         acquired.
7498 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7500         [BZ #17792]
7501         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7502         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7503         HOST_STACK_END_ADDR): Likewise.
7505 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7507         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7508         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7509         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7511 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7513         * sysdeps/generic/c++-types.data: New file.
7514         * sysdeps/generic/ld.abilist: New file.
7515         * sysdeps/generic/libBrokenLocale.abilist: New file.
7516         * sysdeps/generic/libanl.abilist: New file.
7517         * sysdeps/generic/libc.abilist: New file.
7518         * sysdeps/generic/libcrypt.abilist: New file.
7519         * sysdeps/generic/libdl.abilist: New file.
7520         * sysdeps/generic/libm.abilist: New file.
7521         * sysdeps/generic/libpthread.abilist: New file.
7522         * sysdeps/generic/libresolv.abilist: New file.
7523         * sysdeps/generic/librt.abilist: New file.
7525 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7527         [BZ #17569]
7528         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7529         Compute absolute value of x as modified by fmod, not original
7530         value of x.
7531         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7532         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7533         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7534         RUN_TEST_ffI_f1_mod8.
7535         (remquo_test_data): Add more tests.
7537 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7539         * sysdeps/init_array/pt-crti.S: New file.
7541 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7543         [BZ #17967]
7544         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7545         __builtin_fmaf instead of relying on contraction of a * b + c.
7547 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7549         [BZ #17969]
7550         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7551         node.
7553 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7555         [BZ #17964]
7556         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7557         __builtin_fma instead of relying on contraction of a * b + c.
7559 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7561         * Makeconfig (ASFLAGS): Add -Werror=undef.
7562         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7563         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7564         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7566         * Makeconfig (after-link): New variable.
7567         (+link-pie, +link-pie-tests): Use it.
7568         (+link-static, +link-static-tests): Likewise.
7569         (+link, +link-tests): Likewise.
7570         * Makerules (build-module, build-module-asneeded): Likewise.
7571         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7572         Likewise.
7573         * elf/Makefile ($(objpfx)ld.so): Likewise.
7575 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7577         [BZ #17965]
7578         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7579         both struct timeval and struct timespec.
7581 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7583         [BZ #16560]
7584         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7585         and redefine.
7586         (__ieee754_exp2l): Do not multiply small fractional parts by
7587         M_LN2l.
7588         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7589         small argument.
7590         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7591         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7592         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7593         * math/auto-libm-test-in: Add more tests of exp2.
7594         * math/auto-libm-test-out: Regenerated.
7596 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7598         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7599         unaligned path.
7601 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7603         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7604         little endian.
7606 2015-02-12  Andreas Schwab  <schwab@suse.de>
7608         [BZ #15790]
7609         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7610         Filter out elision flags from value returned in kind.
7611         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7612         * nptl/tst-pthread-mutexattr.c: New file.
7614 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7616         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7617         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7618         into gnu-gnu, and update comment to refer to abi-tags.
7620 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7622         [BZ #15467]
7623         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7624         (__sincos): Set errno to EDOM for infinite argument.
7625         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7626         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7627         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7628         (__sincosl): Set errno to EDOM for infinite argument.
7629         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7630         (__sincosl): Set errno to EDOM for infinite argument.
7631         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7632         (__sincosl): Set errno to EDOM for infinite argument.
7633         * math/libm-test.inc (sincos_test_data): Test errno setting.
7635 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7637         * string/strxfrm_l.c: Remove #define STRCMP.
7638         * string/strcoll_l.c: Remove #define STRLEN.
7639         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7640         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7642 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7644         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7645         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7646         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7647         * sysdeps/mips/mips64/Makefile: ... here.
7648         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7649         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7650         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7651         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7652         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7653         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7654         * sysdeps/mips/mips64/n64/Implies: Likewise.
7656 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7658         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7659         <sys/time.h>, <string.h>, and <errno.h>.
7660         (dest_offset, dest_address, value, zero): Remove unused variables.
7661         (ldouble): Remove typedef.
7662         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7663         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7664         1).  Fix code style.
7665         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7666         (check): Function removed.
7667         (CHECK): New macro.
7668         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7669         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7670         Don't call set_sigaction_FP and remove_sigaction_FP here.
7671         (ldouble_test): Just use 'long double' as macro argument, no need for
7672         the 'ldouble' typedef.
7673         (do_test): Set up SIGFPE handler at start, using plain signal rather
7674         than sigaction.  Fix code style.
7676 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7678         [BZ #17949]
7679         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7680         jump label.
7682 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7684         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7685         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7687         * sysdeps/powerpc/configure.ac: Remove file.
7688         * sysdeps/powerpc/configure: Likewise.
7690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7691         [sysdep_routines]: Remove wordcopy-power6 object.
7692         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7693         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7694         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7695         (__memmove_ppc32): Likewise.
7696         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7697         file.
7698         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7700         Remove preprocessor.
7702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7703         [sysdep_routines]: Remove wide chars objects.
7704         [wcsmbs]: New rule for wide char objects.
7706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7707         Remove wordcopy-power6 obejct.
7708         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7709         Use local call for wordcopy and memcpy symbols.
7710         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7711         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7712         implementation for loader.
7713         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7715         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7716         Remove wordcopy-power7 object.
7717         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7718         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7719         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7720         (_wordcopy_fwd_dest_aligned): Likewise.
7721         (_wordcopy_bwd_aligned): Likewise.
7722         (_wordcopy_bwd_dest_aligned): Likewise.
7724         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7725         Rewrite to call __memmove_ppc instead of include default
7726         implementation.
7728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7729         Remove wide chars objects.
7730         [wcsmbs]: New rule for wide char objects.
7732 2015-02-09  Andreas Schwab  <schwab@suse.de>
7734         [BZ #17912]
7735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7736         in terms of __O_DIRECTORY.
7738 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7740         * time/getdate.c: Include <stdbool.h>.
7741         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7742         call PTR_MANGLE.
7743         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7744         PTR_DEMANGLE.
7746 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7748         Add ersatz _Static_assert on older C hosts
7749         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7750         pre-C11 C platform that is not known to support _Static_assert.
7752 2015-02-07  Richard Braun  <rbraun@sceen.net>
7754         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7755         sigstate.
7756         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7758 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7760         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7761         priority against unexistent AIO_PRIO_DELTA_MAX.
7762         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7763         instead of int.
7764         * misc/fchflags.c (fchflags): Likewise.
7765         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7766         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7767         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7768         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7769         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7770         Declare macros.
7771         [__USE_MISC] (chflags, fchflags): Declare functions.
7772         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7773         EINVAL when nfds is greater than FD_SETSIZE.
7774         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7775         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7776         45.
7777         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7778         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7779         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7780         MACH_RCV_TIMED_OUT.
7781         * hurd/hurd/signal.h (_hurd_self_sigstate,
7782         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7783         Explicit casts from void *.
7784         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7785         * abi-tags: Rename gnu-gnu os into gnu.
7787         [BZ #4719]
7788         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7789         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7790         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7791         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7792         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7793         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7795         [BZ #17944]
7796         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7797         duplicates ADDR->sun_path with sockaddr LEN limitation.
7798         * sysdeps/mach/hurd/connect.c: Include <string.h>
7799         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7800         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7801         * sysdeps/mach/hurd/sendto.c: Likewise.
7802         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7803         implementing it by hand.
7805 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7807         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7808         Use sfi_breg on ldr.
7809         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7810         Likewise.
7812         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7813         it's defined.
7814         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7815         Test SIGSETXID only if it's defined.
7817         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7819         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7820         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7822         * nptl/tst-align2.c: Moved ...
7823         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7824         * nptl/Makefile (tests): Remove tst-align2.
7825         * sysdeps/unix/sysv/linux/Makefile
7826         [$(subdir) = nptl] (tests): Add tst-align-clone.
7827         * nptl/tst-getpid1.c: Moved ...
7828         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7829         * nptl/tst-getpid2.c: Moved ...
7830         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7831         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7832         * sysdeps/unix/sysv/linux/Makefile
7833         [$(subdir) = nptl] (tests): ... here.
7834         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7835         * sysdeps/unix/sysv/linux/Makefile
7836         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7838         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7839         Drop trailing \n from perror argument.  Use return rather than exit.
7841         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7842         on [SA_SIGINFO].
7843         * nptl/tst-cancel21.c (do_test): Likewise.
7844         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7845         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7846         [!SA_SIGINFO]: Make it a stub test.
7848         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7849         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7851         * posix/tst-getlogin.c: Move to ...
7852         * login/tst-getlogin.c: ... here.
7853         * posix/Makefile (tests): Move tst-getlogin to ...
7854         * login/Makefile (tests): ... here.
7856         * libio/tst-atime.c (do_test): Move local variables SV and E
7857         inside [ST_NOATIME] conditional.
7859         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7861         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7863         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7864         (wait_code): New function replaces macro.
7865         Call nanosleep rather than syscall.
7867         * nptl/pt-system.c: Rewritten.  Put everything under
7868         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7869         Use IFUNC to redirect when possible.
7871         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7872         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7873         Use IFUNC to redirect when possible.
7875         * nptl/pt-fork.c: Rewritten.  Put everything under
7876         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7877         Use IFUNC to redirect when possible.
7878         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7880         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7881         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7882         unconditionally nowadays.  This included the only reference to
7883         __vdso_clock_gettime that appears outside libc proper.
7884         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7885         Remove version set (containing only __vdso_clock_gettime).
7886         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7887         Add attribute_hidden.
7888         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7889         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7890         libc_hidden_data_def.
7891         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7892         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7894         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7895         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7896         setrpcent, and getrpcport to ...
7897         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7898         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7899         getrpcbynumber_r, and getrpcent_r to ...
7900         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7901         * inet/getrpcbyname.c: Moved ...
7902         * sunrpc/getrpcbyname.c: ... here.
7903         * inet/getrpcbyname_r.c: Moved ...
7904         * sunrpc/getrpcbyname_r.c: ... here.
7905         * inet/getrpcbynumber.c: Moved ...
7906         * sunrpc/getrpcbynumber.c: ... here.
7907         * inet/getrpcbynumber_r.c: Moved ...
7908         * sunrpc/getrpcbynumber_r.c: ... here.
7909         * inet/getrpcent.c: Moved ...
7910         * sunrpc/getrpcent.c: ... here.
7911         * inet/getrpcent_r.c: Moved ...
7912         * sunrpc/getrpcent_r.c: ... here.
7913         * inet/Makefile (routines): Move those to ...
7914         * sunrpc/Makefile (routines): ... here.
7915         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7916         the $(subdirs) list.
7917         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7918         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7919         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7920         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7922         * elf/Makefile (routines): Include $(all-dl-routines), not just
7923         $(dl-routines).
7924         (rtld-routines): Likewise.  Use = rather than :=.
7925         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7926         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7927         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7928         * sysdeps/arm/Makefile: Likewise.
7929         * sysdeps/i386/Makefile: Likewise.
7930         * sysdeps/x86_64/Makefile: Likewise.
7931         * sysdeps/hppa/Makefile [$(subdir) = elf]
7932         (sysdep_routines, sysdep-rtld-routines): Don't add
7933         $(sysdep-dl-routines) to these.
7934         * sysdeps/ia64/Makefile: Likewise.
7935         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7936         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7937         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7938         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7939         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7940         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7941         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7942         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7943         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7944         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7945         these; sysdep-dl-routines alone is enough.
7947 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7949         [BZ #17932]
7950         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7951         where multiplication results in zero and third argument is finite
7952         and nonzero.
7953         * math/auto-libm-test-in: Add more tests of fma.
7954         * math/auto-libm-test-out: Regenerated.
7956         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7957         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7958         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7959         (_FP_CMP_EQ): Likewise.
7960         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7962         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7963         extra argument CHECK_NAN.  Redefine as wrapper around
7964         _FP_EXTEND_CNAN.
7966 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7968         * version.h (RELEASE): Set to "stable".
7969         (VERSION): Set to "2.21"
7970         * include/features.h (__GLIBC_MINOR__): Set to 21.
7972         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7974 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7975             Paul Eggert  <eggert@cs.ucla.edu>
7977         [BZ #16618]
7978         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7979         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7980         size in bytes. Store needed elements in wpmax. Use needed size
7981         in bytes for extend_alloca.
7983 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7985         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7986         binutls 2.25, and texinfo 5.2.
7987         * INSTALL: Regenerate.
7988         * sysdeps/nios2/configure: Regenerate.
7989         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7990         * manual/contrib.texi: Update.
7991         * po/be.po: Update.
7992         * po/bg.po: Update.
7993         * po/ca.po: Update.
7994         * po/cs.po: Update.
7995         * po/da.po: Update.
7996         * po/de.po: Update.
7997         * po/el.po: Update.
7998         * po/eo.po: Update.
7999         * po/es.po: Update.
8000         * po/fi.po: Update.
8001         * po/fr.po: Update.
8002         * po/gl.po: Update.
8003         * po/hr.po: Update.
8004         * po/hu.po: Update.
8005         * po/ia.po: Update.
8006         * po/id.po: Update.
8007         * po/it.po: Update.
8008         * po/ja.po: Update.
8009         * po/ko.po: Update.
8010         * po/lt.po: Update.
8011         * po/nb.po: Update.
8012         * po/nl.po: Update.
8013         * po/pl.po: Update.
8014         * po/pt_BR.po: Update.
8015         * po/ru.po: Update.
8016         * po/rw.po: Update.
8017         * po/sk.po: Update.
8018         * po/sl.po: Update.
8019         * po/sv.po: Update.
8020         * po/tr.po: Update.
8021         * po/uk.po: Update.
8022         * po/vi.po: Update.
8023         * po/zh_CN.po: Update.
8024         * po/zh_TW.po: Update.
8026         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8027         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8028         * sysdeps/hppa/dl-irel.h: Remove #warning.
8029         * sysdeps/hppa/entry.h: Provide prototype for
8030         __canonicalize_funcptr_for_compare and cast argument.
8031         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8032         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8033         * sysdeps/hppa/sotruss-lib.c: New file.
8034         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8035         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8036         (atomic_compare_and_exchange_bool_acq): Likewise.
8037         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8038         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8040         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8041         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8042         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8044 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8046         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8047         called function in non-PIC case.
8049 2015-01-31  David S. Miller  <davem@davemloft.net>
8051         * sysdeps/sparc/sparc32/bits/atomic.h
8052         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8053         unlock not after it.
8054         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8055         volatile register usage warnings from the compiler.
8057         * sysdeps/sparc/nptl/sem_init.c: Delete.
8058         * sysdeps/sparc/nptl/sem_post.c: Delete.
8059         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8060         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8061         * sysdeps/sparc/sparc32/sem_init.c: New file.
8062         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8063         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8064         padding explicitly initialized.
8065         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8066         padding for in-semaphore spinlock.
8067         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8068         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8069         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8070         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8071         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8072         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8073         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8074         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8075         version.
8076         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8077         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8079 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8081         [BZ #17801]
8082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8083         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8084         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8085         New.
8086         (index_AVX_Fast_Unaligned_Load): Likewise.
8087         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8088         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8089         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8090         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8091         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8092         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8093         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8094         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8095         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8097 2015-01-29  Andreas Schwab  <schwab@suse.de>
8099         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8101 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8103         [BZ #17892]
8104         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8106 2015-01-28  Martin Sebor  <msebor@redhat.com>
8108         * math/README.libm-test: Clarify. Add "How to read the test output."
8110 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8112         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8113         Define to 0.
8115 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8117         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8118         (__HAVE_64B_ATOMICS): Define to 0.
8120 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8122         [BZ #17885]
8123         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8124         value to set as new flag.
8126         [BZ #16576]
8127         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8128         and use _ARCH_PPCSQ instead.
8129         (__ieee754_sqrt): Likewise.
8130         (__ieee754_sqrtf): Likewise.
8131         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8132         _ARCH_PPCSQ is defined.
8133         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8134         fsqrt instruction.
8135         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8136         _ARCH_PPCSQ is defined.
8137         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8138         fsqrts instruction.
8139         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8141 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8143         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8144         bug (GCC BZ #64739).
8146 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8148         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8149         Mark _retval as used.
8150         (lll_futex_wake_unlock): Likewise.
8151         (lll_futex_timed_wait_requeue_pi): Likewise.
8153         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8154         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8155         register variables.
8157         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8158         libm_hidden_def.
8160         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8161         (__bswap_64): Mark as __always_inline.
8163 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8165         [BZ #15378]
8166         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8167         when none of the search directories exist.
8169 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8171         [BZ #17869]
8172         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8173         power8 in .machine directive.
8175         [BZ #17868]
8176         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8177         set dependency from opd value.
8179 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8182         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8183         architecture.
8185 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8187         [BZ #17870]
8188         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8189         with uint64_t.
8190         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8191         (uint64_t) 1.
8192         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8193         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8194         Replace 1UL with (uint64_t) 1.
8195         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8196         int with uint64_t.
8198 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8200         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8201         (if_freenameindex): Likewise.
8203         * resource/getrlimit64.c: Add missing libc_hidden_def.
8205 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8207         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8208         __label__.
8209         (_FP_FMA): Likewise.
8210         (_FP_TO_INT_ROUND): Likewise.
8211         (_FP_FROM_INT): Likewise.
8213 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8215         [BZ #16418]
8216         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8217         Make code racy and cancel safe.
8219 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8221         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8222         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8223         attribution.
8225         * pwd/tst-getpw.c: Rewrite.
8227         [BZ #17702]
8228         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8229         (modules-names): Add moddummy1 and moddummy2.
8230         ($(objpfx)tst-rec-dlopen): Define.
8231         * dlfcn/moddummy1.c: New file.
8232         * dlfcn/moddummy2.c: New file.
8233         * dlfcn/tst-rec-dlopen.c: New file.
8234         * elf/dl-cache.c (_dl_load_cache_lookup):
8235         Return char*. Copy result with alloca/strcpy/strdup.
8236         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8237         returns char*. Free cached. If not saving realname
8238         free cached.
8239         * elf/dl-open.c (dl_open_worker): Do not assert that
8240         _r_debug->r_state is RT_CONSISTENT.
8241         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8242         returns char*.
8244 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8245             Carlos O'Donell  <carlos@redhat.com>
8247         [BZ #12674]
8248         * nptl/sem_waitcommon.c: New file.
8249         * nptl/sem_wait.c: Include sem_waitcommon.c.
8250         (__sem_wait_cleanup, do_futex_wait): Remove.
8251         (__new_sem_wait): Adapt.
8252         (__new_sem_trywait): New function.
8253         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8254         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8255         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8256         (sem_timedwait): Adapt.
8257         * nptl/sem_post.c (__new_sem_post): Adapt.
8258         (futex_wake): New function.
8259         (__old_sem_post): Add release MO fence.
8260         * nptl/sem_open.c (sem_open): Adapt.
8261         * nptl/sem_init.c (__new_sem_init): Adapt.
8262         (futex_private_if_supported): New function.
8263         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8264         (__old_sem_getvalue): Add using previous code.
8265         * sysdeps/nptl/internaltypes.h: Adapt.
8266         * nptl/tst-sem13.c (do_test): Adapt.
8267         * nptl/tst-sem11.c (main): Adapt.
8268         * nptl/sem_trywait.c: Remove.
8269         * nptl/DESIGN-sem.txt: Remove.
8270         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8271         (gen-as-const-headers): Remove structsem.sym.
8272         * nptl/structsem.sym: Remove.
8273         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8274         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8275         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8276         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8277         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8278         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8279         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8280         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8281         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8282         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8283         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8284         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8285         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8286         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8287         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8288         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8289         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8290         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8291         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8292         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8293         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8294         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8296 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8298         * INSTALL: Regenerated.
8300         * po/libc.pot: Regenerated.
8302 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8303             Sandra Loosemore  <sandra@codesourcery.com>
8304             Andrew Jenner  <andrew@codesourcery.com>
8305             Joseph Myers  <joseph@codesourcery.com>
8306             Nathan Sidwell  <nathan@codesourcery.com>
8308         * NEWS: Mention new Nios II port.
8309         * sysdeps/nios2/Implies: New file.
8310         * sysdeps/nios2/Makefile: New file.
8311         * sysdeps/nios2/Subdirs: New file.
8312         * sysdeps/nios2/Versions: New file.
8313         * sysdeps/nios2/__longjmp.S: New file.
8314         * sysdeps/nios2/abort-instr.h: New file.
8315         * sysdeps/nios2/backtrace.c: New file.
8316         * sysdeps/nios2/bits/endian.h: New file.
8317         * sysdeps/nios2/bits/fenv.h: New file.
8318         * sysdeps/nios2/bits/link.h: New file.
8319         * sysdeps/nios2/bits/setjmp.h: New file.
8320         * sysdeps/nios2/bsd-_setjmp.S: New file.
8321         * sysdeps/nios2/bsd-setjmp.S: New file.
8322         * sysdeps/nios2/configure: New generated file.
8323         * sysdeps/nios2/configure.ac: New file.
8324         * sysdeps/nios2/crti.S: New file.
8325         * sysdeps/nios2/crtn.S: New file.
8326         * sysdeps/nios2/dl-init.c: New file.
8327         * sysdeps/nios2/dl-machine.h: New file.
8328         * sysdeps/nios2/dl-sysdep.h: New file.
8329         * sysdeps/nios2/dl-tls.h: New file.
8330         * sysdeps/nios2/dl-trampoline.S: New file.
8331         * sysdeps/nios2/gccframe.h: New file.
8332         * sysdeps/nios2/gmp-mparam.h: New file.
8333         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8334         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8335         * sysdeps/nios2/ldsodefs.h: New file.
8336         * sysdeps/nios2/libc-tls.c: New file.
8337         * sysdeps/nios2/libm-test-ulps: New file.
8338         * sysdeps/nios2/machine-gmon.h: New file.
8339         * sysdeps/nios2/math-tests.h: New file.
8340         * sysdeps/nios2/math_private.h: New file.
8341         * sysdeps/nios2/memusage.h: New file.
8342         * sysdeps/nios2/nptl/Makefile: New file.
8343         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8344         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8345         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8346         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8347         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8348         * sysdeps/nios2/nptl/tls.h: New file.
8349         * sysdeps/nios2/preconfigure: New file.
8350         * sysdeps/nios2/s_fma.c: New file.
8351         * sysdeps/nios2/s_fmaf.c: New file.
8352         * sysdeps/nios2/setjmp.S: New file.
8353         * sysdeps/nios2/sfp-machine.h: New file.
8354         * sysdeps/nios2/sotruss-lib.c: New file.
8355         * sysdeps/nios2/stackguard-macros.h: New file.
8356         * sysdeps/nios2/stackinfo.h: New file.
8357         * sysdeps/nios2/start.S: New file.
8358         * sysdeps/nios2/sysdep.h: New file.
8359         * sysdeps/nios2/tls-macros.h: New file.
8360         * sysdeps/nios2/tst-audit.h: New file.
8361         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8362         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8363         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8364         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8365         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8366         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8367         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8368         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8369         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8370         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8371         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8372         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8373         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8374         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8375         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8376         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8377         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8378         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8379         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8380         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8381         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8382         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8383         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8384         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8385         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8386         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8387         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8388         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8389         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8390         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8391         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8392         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8393         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8394         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8395         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8396         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8397         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8398         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8399         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8400         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8401         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8402         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8403         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8404         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8406 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8408         [BZ #17844]
8409         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8410         (getutent): Use weak_alias in non SHARED case
8411         and default_symbol_version in SHARED case.
8412         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8413         (getutent_r, pututline): Likewise.
8414         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8415         (getutid): Likewise.
8416         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8417         (getutid_r): Likewise.
8418         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8419         (getutline): Likewise.
8420         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8421         (getutline_r): Likewise.
8422         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8423         (updwtmp): Likewise.
8425 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8427         [BZ #17848]
8428         * sysdeps/s390/s390-32/memcmp.S
8429         (memcmp_g5): Rename to __memcmp_g5.
8430         * sysdeps/s390/s390-32/memcpy.S
8431         (memcpy_g5): Rename to __memcpy_g5.
8432         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8433         (memcpy_mvcle) Rename to __memcpy_mvcle.
8434         * sysdeps/s390/s390-32/memset.S
8435         (memset_g5): Rename to __memset_g5.
8436         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8437         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8438         and use prefixed functions.
8439         * sysdeps/s390/s390-32/multiarch/memcmp.S
8440         (memcmp_z196): Rename to __memcmp_z196.
8441         (memcmp_z10): Rename to __memcmp_z10.
8442         (memcmp): Set alias to __memcmp_g5.
8443         (bcmp): Set alias to __memcmp_g5.
8444         * sysdeps/s390/s390-32/multiarch/memcpy.S
8445         (memcpy_z196): Rename to __memcpy_z196.
8446         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8447         (memcpy_z10): Rename to __memcpy_z10.
8448         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8449         (memcpy): Set alias to __memcpy_g5.
8450         * sysdeps/s390/s390-32/multiarch/memset.S
8451         (memset_z196): Rename to __memset_z196.
8452         Jump to __memset_mvcle instead of memset_mvcle.
8453         (memset_z10): Rename to __memset_z10.
8454         Jump to __memset_mvcle instead of memset_mvcle.
8455         (memset_mvcle) Rename to __memset_mvcle.
8456         (memset): Set alias to __memset_g5.
8457         * sysdeps/s390/s390-64/memcmp.S
8458         (memcmp_z900): Rename to __memcmp_z900.
8459         * sysdeps/s390/s390-64/memcpy.S
8460         (memcpy_z900): Rename to __memcpy_z900.
8461         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8462         (memcpy_mvcle) Rename to __memcpy_mvcle.
8463         * sysdeps/s390/s390-64/memset.S
8464         (memset_z900): Rename to __memset_z900.
8465         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8466         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8467         and use prefixed functions.
8468         * sysdeps/s390/s390-64/multiarch/memcmp.S
8469         (memcmp_z196): Rename to __memcmp_z196.
8470         (memcmp_z10): Rename to __memcmp_z10.
8471         (memcmp): Set alias to __memcmp_z900.
8472         (bcmp): Set alias to __memcmp_z900.
8473         * sysdeps/s390/s390-64/multiarch/memcpy.S
8474         (memcpy_z196): Rename to __memcpy_z196.
8475         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8476         (memcpy_z10): Rename to __memcpy_z10.
8477         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8478         (memcpy): Set alias to __memcpy_z900.
8479         * sysdeps/s390/s390-64/multiarch/memset.S
8480         (memset_z196): Rename to __memset_z196.
8481         Jump to __memset_mvcle instead of memset_mvcle.
8482         (memset_z10): Rename to __memset_z10.
8483         Jump to __memset_mvcle instead of memset_mvcle.
8484         (memset_mvcle) Rename to __memset_mvcle.
8485         (memset): Set alias to __memset_z900.
8487 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8489         [BZ #17748]
8490         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8491         __fesetenv instead of fesetenv.
8493 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8495         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8496         macro.
8498 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8500         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8501         regression on LE.
8503         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8504         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8506         strncmp-power8 object.
8507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8508         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8509         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8510         * NEWS: Update.
8512 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8513             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8515         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8516         trailing byte check.
8518 2015-01-13  David S. Miller  <davem@davemloft.net>
8520         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8522 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8524         * login/logout.c (logout): Use memset rather than bzero.
8525         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8526         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8527         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8528         (_gethtbyaddr): Likewise.
8529         * locale/programs/simple-hash.c (bcopy): Macro removed.
8531 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8533         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8534         Add strcmp-power8 object.
8535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8536         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8537         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8538         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8539         __strcmp_power8 implementation.
8540         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8541         * NEWS: Update.
8543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8544         Add strncpy-power8 and stpncpy-power8 objects.
8545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8546         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8547         implementations.
8548         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8549         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8550         __stpncpy_power8 implementation.
8551         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8552         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8553         __strncpy_power8 implementation.
8554         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8555         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8556         * NEWS: Update.
8558         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8559         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8560         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8563         strncat-power8 object.
8564         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8565         __strcat_power8 implementation.
8566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8567         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8568         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8569         optimized strcat for power8.
8571         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8572         strcpy-power8 and stpcpy-power8 objects.
8573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8574         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8575         implementations.
8576         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8577         multiarch stpcpy implementation for POWER8.
8578         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8579         multiarch strcpy implementation for POWER8.
8580         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8581         __strcpy_power8 function.
8582         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8583         stpcpy for POWER8.
8584         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8585         strcpy for POWER8.
8586         * NEWS: Update.
8588 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8590         [BZ #16009]
8591         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8592         weights and rules. Use do_xfrm_cached if data fits in cache,
8593         do_xfrm otherwise.  Moved former main loop to...
8594         * (do_xfrm_cached): New function.
8595         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8596         find_idx, find_position and stack_push.
8597         * (find_idx): New function.
8598         * (find_position): Likewise.
8599         * localedata/sort-test.sh: Added test run for do_xfrm.
8600         * localedata/xfrm-test.c (main): Added command line option
8601         -nocache to run the test with strings that are too large for
8602         the STRXFRM cache.
8604 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8606         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8607         variable to lll_futex_wake call, not the value itself.
8609 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8611         [BZ #17803]
8612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8613         twom64.  Adjust value to 0x1p-64L.
8614         (__scalblnl): Only return standard underflowing result for K <=
8615         -64 not K <= -63; adjust exponent for underflowing result by 64
8616         not 63.
8617         * math/libm-test.inc (scalbn_test_data): Add more tests.
8618         (scalbln_test_data): Likewise.
8620         [BZ #17834]
8621         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8622         0x1p63L.
8623         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8624         not HX.
8625         * math/libm-test.inc (scalbn_test_data): Add more tests.
8626         (scalbln_test_data): Likewise.
8628 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8629             Stefani Seibold  <stefani@seibold.net>
8631         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8632         (sysdep_routines): Add dl-vdso here, ...
8633         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8634         (sysdep_routines): ... not here.
8635         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8636         fallback when vDSO is not presented.
8637         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8638         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8639         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8640         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8641         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8642         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8643         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8644         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8645         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8646         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8647         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8648         fallback configurable symbol when vDSO is not available.
8649         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8650         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8651         be able to redefine fallback symbol when vDSO is not available.
8652         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8653         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8655 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8657         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8658         (TLS_INIT_TP): Add tm_capable initialization.
8659         (TLS_DEFINE_INIT_TP): Likewise.
8660         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8661         TCB.
8662         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8663         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8664         calculation.
8665         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8666         transactoion is lock elision is built and TCB tm_capable is set.
8667         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8669         (INTERNAL_SYSCALL_NCS): Likewise.
8670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8671         (INTERNAL_SYSCALL_NCS): Likewise.
8672         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8674         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8675         for powerpc.
8676         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8677         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8678         and remove it for 32 bits case.
8679         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8680         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8681         initialization.
8682         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8683         Disable lock elision with rdlocks if elision is not available.
8685         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8686         (sysdep_routines): Add lock elision objects.
8687         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8688         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8689         [pthread_mutex_t] (__elision): Add field.
8690         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8691         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8692         elision definitions for powerpc.
8693         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8694         implementation of lock elision for powerpc.
8695         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8696         implementation of timed lock elision for powerpc.
8697         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8698         implementation of trylock with lock elision for powerpc.
8699         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8700         implementaion of unlock for lock elision for powerpc.
8701         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8702         automatic enable lock elision for mutexes.
8703         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8704         transaction execution definitions for powerpc.
8705         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8706         definitions.
8707         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8708         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8709         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8710         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8711         * NEWS: Update.
8713 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8715         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8716         for #include of <shm-directory.h>.
8718 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8720         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8721         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8723 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8725         [BZ #17791]
8726         * NEWS: Mention bug fix.
8727         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8728         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8729         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8731 2015-01-09  Torvald Riegel <triegel@redhat.com>
8733         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8735 2015-01-09  Torvald Riegel <triegel@redhat.com>
8737         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8739 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8741         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8742         pointer and cast to uintptr_t.
8744 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8746         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8747         removed.
8748         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8750 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8752         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8753         of 0.
8755 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8757         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8758         <nptl/pthreadP.h> instead.
8759         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8761         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8762         already defined.
8763         [__SIGRTMIN] (init): Function removed.
8764         [__SIGRTMIN] (initialized): Variable removed.
8765         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8766         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8767         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8768         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8769         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8770         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8771         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8772         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8773         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8774         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8775         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8776         * sysdeps/nptl/allocrtsig.c: New file.
8777         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8778         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8779         * sysdeps/generic/testrtsig.h: File removed.
8781         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8782         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8784         * nptl/nptl-init.c (pthread_functions): Conditionalize
8785         .ptr__nptl_setxid initialization on [SIGSETXID].
8787         * sysdeps/nptl/sys/procfs.h: New file.
8788         * nptl_db/Makefile (headers): Add it.
8789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8791         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8792         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8793         * nptl/pthread_attr_setaffinity.c: Include it.
8794         * nptl/pthread_setattr_default_np.c: Likewise.
8795         * nptl/check-cpuset.h: New file.
8797 2015-01-08  Richard Henderson  <rth@redhat.com>
8799         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8800         (CFLAGS-tst-execstack-prog.c): Likewise.
8801         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8803 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8804             Sandra Loosemore  <sandra@codesourcery.com>
8805             Andrew Jenner  <andrew@codesourcery.com>
8806             Joseph Myers  <joseph@codesourcery.com>
8807             Nathan Sidwell  <nathan@codesourcery.com>
8809         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8810         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8811         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8812         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8813         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8814         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8815         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8816         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8817         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8818         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8819         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8820         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8821         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8822         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8823         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8824         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8825         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8827 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8829         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8830         timespec struct member in syscall macro.
8831         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8832         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8833         first timeval struct member in syscall macro.
8834         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8836 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8838         [BZ #17748]
8839         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8840         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8841         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8842         __feupdateenv and define as weak alias of __feupdateenv.  Use
8843         libm_hidden_weak.
8844         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8845         libm_hidden_def.
8846         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8847         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8848         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8849         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8850         libm_hidden_def.
8851         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8852         __feupdateenv and define as weak alias of __feupdateenv.  Use
8853         libm_hidden_weak.
8854         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8855         libm_hidden_def.
8856         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8857         __feupdateenv and define as weak alias of __feupdateenv.  Use
8858         libm_hidden_weak.
8859         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8860         libm_hidden_def.
8861         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8862         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8863         (__feupdateenv): Likewise.
8864         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8865         __feupdateenv and define as weak alias of __feupdateenv.  Use
8866         libm_hidden_weak.
8867         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8868         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8869         libm_hidden_def.
8870         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8871         function.
8872         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8873         libm_hidden_def.
8874         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8875         __feupdateenv instead of feupdateenv.
8876         (default_libc_feupdateenv_test): Likewise.
8877         (libc_feresetround_ctx): Likewise.
8879 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8881         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8882         prototype.
8884 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8886         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8887         COLL_SYM in a couple of places to avoid uninitialized variable
8888         wanings on tilegx gcc 4.8.2.
8890 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8892         * sysdeps/aarch64/strcpy.S: New file.
8893         * sysdeps/aarch64/stpcpy.S: New file.
8894         * NEWS: Updated.
8896 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8898         * sysdeps/aarch64/strrchr.S: New file.
8899         * NEWS: Updated.
8901 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8903         [BZ #17658]
8904         * stdlib/setenv.c: Fix memory leak when setting large,
8905         duplicate string.
8907 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8909         [BZ #17273]
8910         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8911         and tabs from buffer before parsing fstab entry.
8912         * misc/tst-mntent.c (main): Add test for mount entry with
8913         trailing spaces and tabs.
8915 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8917         [BZ #17748]
8918         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8919         * math/fesetround.c (fesetround): Rename to __fesetround and
8920         define as weak alias of __fesetround.  Use libm_hidden_weak.
8921         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8922         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8923         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8924         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8925         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8926         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8927         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8928         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8929         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8930         __fesetround_inline.
8931         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8932         __fesetround_inline instead of __fesetround.
8933         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8934         __fesetround and define as weak alias of __fesetround.  Use
8935         libm_hidden_weak.  Call __fesetround_inline instead of
8936         __fesetround.
8937         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8938         __fesetround and define as weak alias of __fesetround.  Use
8939         libm_hidden_weak.
8940         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8941         Likewise.
8942         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8943         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8944         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8945         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8946         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8947         __fesetround and define as weak alias of __fesetround.  Use
8948         libm_hidden_weak.
8949         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8950         __fesetround instead of fesetround.
8951         (default_libc_feholdexcept_setround): Likewise.
8952         (libc_feholdsetround_ctx): Likewise.
8953         (libc_feholdsetround_noex_ctx): Likewise.
8955         [BZ #17748]
8956         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8957         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8958         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8959         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8960         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8961         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8962         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8963         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8964         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8965         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8966         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8967         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8968         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8969         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8970         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8971         libm_hidden_def.
8972         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8973         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8974         Likewise.
8975         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8976         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8977         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8978         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8979         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8980         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8981         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8982         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8983         __fesetenv instead of fesetenv.
8984         (libc_feresetround_noex_ctx): Likewise.
8985         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8986         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8987         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8988         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8989         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8990         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8991         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8992         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8993         (__feupdateenv): Likewise.
8994         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8995         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8996         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8997         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8999 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9001         [BZ #17806]
9002         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9003         addresses have been freed.
9005 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9007         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9008         and nservall.
9010 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9012         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9013         Clean up check_pf allocation pattern. addresses
9015 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9017         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9018         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9019         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9020         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9021         * nptl/pthread_join.c (pthread_join): Likewise.
9022         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9023         * sysdeps/posix/waitid.c (__waitid): Likewise.
9024         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9025         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9026         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9027         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9028         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9029         Likewise.
9030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9031         (__libc_pread64): Likewise.
9032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9033         (__libc_pwrite): Likewise.
9034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9035         (__libc_pwrite64): Likewsie.
9036         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9037         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9038         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9039         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9040         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9041         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9042         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9044         Likewise.
9045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9046         (__libc_pread64): Likewise.
9047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9048         Likewise.
9049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9050         (__libc_pwrite64): Likewise.
9051         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9052         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9053         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9054         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9055         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9056         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9057         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9058         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9059         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9060         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9061         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9062         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9063         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9064         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9065         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9066         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9067         Likewise.
9069 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9071         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9072         (CFLAGS-test-double.c): Likewise.
9073         (CFLAGS-test-ldouble.c): Likewise.
9074         (CPPFLAGS-test-ifloat.c): Likewise.
9075         (CPPFLAGS-test-idouble.c): Likewise.
9076         (CPPFLAGS-test-ildoubl.c): Likewise.
9077         (CFLAGS-test-test-fenv.c): Remove variable.
9078         (CFLAGS-test-misc.c): Likewise.
9080 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9082         [BZ #17797]
9083         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9084         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9085         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9086         CLOCKS_PER_SEC == 1000000.
9087         * time/clocktest.c (main): Replace %ld with %jd and cast to
9088         intmax_t.
9090 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9092         * sysdeps/generic/unwind-resume.h: New file.
9093         * sysdeps/gnu/unwind-resume.c: Include it.
9094         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9095         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9096         argument list.
9097         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9098         global rather than static.
9099         (_Unwind_Resume): Update user.
9100         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9101         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9102         rather than static.  Add __attribute__ ((cold)).
9103         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9104         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9105         * sysdeps/arm/arm-unwind-resume.S: New file.
9106         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9107         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9108         * sysdeps/arm/Makefile [$(subdir) = csu]
9109         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9110         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9111         Add rt-arm-unwind-resume.
9112         [$(subdir) = nptl]
9113         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9114         Add pt-arm-unwind-resume.
9115         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9116         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9118 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9120         [BZ #17748]
9121         * include/fenv.h (__feholdexcept): Declare.  Use
9122         libm_hidden_proto.
9123         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9124         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9125         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9126         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9127         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9128         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9129         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9130         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9131         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9132         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9133         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9134         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9135         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9136         (feholdexcept): Likewise.
9137         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9138         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9139         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9140         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9141         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9142         __feholdexcept instead of feholdexcept.
9143         (default_libc_feholdexcept_setround): Likewise.
9145 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9147         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9148         to avoid using stl/str to align destination.
9150 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9152         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9154 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9156         [BZ #17796]
9157         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9158         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9159         Define as weak alias not strong alias.
9161 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9163         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9164         bltzal with addiupc.
9165         (RTLD_START): Ditto.
9167 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9169         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9170         for __vdso_* functions in declarations.
9171         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9172         definitions.
9173         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9174         INTERNAL_VSYSCALL): Use struct return types to check for error.
9176         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9177         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9178         function with cast from llround().
9179         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9180         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9181         Define.
9183 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9185         [BZ #17793]
9186         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9187         Define as weak alias not strong alias.
9189         [BZ #17635]
9190         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9191         ...
9192         * ctype/ctype-extn.c: ... here.
9193         (__isblank_l): Move to ...
9194         * ctype/ctype-c99_l.c: ... here.  New file.
9195         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9196         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9197         Remove variable.
9198         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9199         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9200         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9201         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9202         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9204         [BZ #17777]
9205         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9206         (posix_fadvise64): Define as weak alias not strong alias.
9207         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9208         (posix_fallocate64): Likewise.
9209         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9210         Remove variable.
9211         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9212         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9213         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9214         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9215         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9217 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9219         [BZ #16191]
9220         * NEWS: Mention bug fix.
9221         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9222         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9223         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9224         (HOST_STACK_END_ADDR): Likewise.
9226 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9228         [BZ #17748]
9229         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9230         * math/fegetround.c (fegetround): Rename to __fegetround and
9231         define as weak alias of __fegetround.  Use libm_hidden_weak.
9232         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9233         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9234         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9235         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9236         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9237         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9238         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9239         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9240         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9241         Undefine after rather than before function definition; use
9242         parentheses around function name in definition.
9243         (__fegetround): Also undefine macro after function definition.
9244         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9245         __fegetround and define as weak alias of __fegetround.  Use
9246         libm_hidden_weak.  Do not undefine as macro.
9247         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9248         Likewise.
9249         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9250         __fegetround and define as weak alias of __fegetround.  Use
9251         libm_hidden_weak.
9252         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9253         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9254         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9255         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9256         __fegetround and define as weak alias of __fegetround.  Use
9257         libm_hidden_weak.
9258         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9259         __fegetround instead of fegetround.
9261         [BZ #17782]
9262         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9263         Condition macro definition on [__USE_MISC].
9265         [BZ #17781]
9266         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9267         (struct sigaction): Change type of sa_flags field to int.
9269         [BZ #17780]
9270         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9271         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9272         __glibc_reserved0.
9274         * nptl/version.c (banner): Use single year in copyright notice.
9276         * NEWS: Update copyright dates.
9277         * catgets/gencat.c (print_version): Likewise.
9278         * csu/version.c (banner): Likewise.
9279         * debug/catchsegv.sh: Likewise.
9280         * debug/pcprofiledump.c (print_version): Likewise.
9281         * debug/xtrace.sh (do_version): Likewise.
9282         * elf/ldconfig.c (print_version): Likewise.
9283         * elf/ldd.bash.in: Likewise.
9284         * elf/pldd.c (print_version): Likewise.
9285         * elf/sotruss.sh: Likewise.
9286         * elf/sprof.c (print_version): Likewise.
9287         * iconv/iconv_prog.c (print_version): Likewise.
9288         * iconv/iconvconfig.c (print_version): Likewise.
9289         * locale/programs/locale.c (print_version): Likewise.
9290         * locale/programs/localedef.c (print_version): Likewise.
9291         * login/programs/pt_chown.c (print_version): Likewise.
9292         * malloc/memusage.sh (do_version): Likewise.
9293         * malloc/memusagestat.c (print_version): Likewise.
9294         * malloc/mtrace.pl: Likewise.
9295         * manual/libc.texinfo: Likewise.
9296         * nptl/version.c (banner): Likewise.
9297         * nscd/nscd.c (print_version): Likewise.
9298         * nss/getent.c (print_version): Likewise.
9299         * nss/makedb.c (print_version): Likewise.
9300         * posix/getconf.c (main): Likewise.
9301         * scripts/test-installation.pl: Likewise.
9302         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9304 2015-01-02  Will Newton  <will.newton@linaro.org>
9306         * sysdeps/arm/armv7/configure: Removed.
9307         * sysdeps/arm/armv7/configure.ac: Likewise.
9309 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9311         * All files with FSF copyright notices: Update copyright dates
9312         using scripts/update-copyrights.
9313         * intl/plural.c: Regenerated.
9314         * locale/programs/charmap-kw.h: Likewise.
9315         * locale/programs/locfile-kw.h: Likewise.
9317 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9319         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9321 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9323         [BZ #17748]
9324         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9325         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9326         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9327         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9328         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9329         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9330         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9331         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9332         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9333         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9334         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9335         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9336         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9337         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9338         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9339         libm_hidden_def.
9340         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9341         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9342         Likewise.
9343         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9344         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9345         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9346         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9347         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9348         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9349         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9350         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9351         __fegetenv instead of fegetenv.
9352         (libc_feholdsetround_noex_ctx): Likewise.
9354 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9356         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9357         (Elf_MIPS_ABIFlags_v0): New structure.
9358         (EF_MIPS_FP64): Define.
9359         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9360         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9361         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9362         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9363         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9364         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9365         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9366         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9367         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9368         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9369         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9370         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9371         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9372         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9373         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9374         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9375         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9376         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9377         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9378         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9379         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9380         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9381         field.
9382         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9383         EF_MIPS_FP64.
9384         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9385         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9386         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9387         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9388         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9389         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9390         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9391         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9392         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9393         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9394         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9395         record the current FP ABI extension.
9396         (mips-mode-switch): Define to show if kernel headers support mode
9397         switching.
9398         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9399         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9400         supported SYSV ABI version to 3.
9401         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9402         feature.
9404 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9405             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9407         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9408         path.
9409         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9411 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9413         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9414         __fegetround and redefine to call __fegetround.  Remove condition
9415         on [!__NO_MATH_INLINES].
9416         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9417         function.
9418         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9419         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9420         Remove macro.
9421         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9422         instead of <fenv_libc.h>.
9423         (__llrintl): Call fegetround instead of __fegetround.
9424         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9425         instead of <fenv_libc.h>.
9426         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9427         (__lrintl): Call fegetround instead of __fegetround.
9428         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9429         instead of <fenv_libc.h>.
9430         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9431         (__rintl): Call fegetround instead of __fegetround.
9433 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9435         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9436         arrays.
9438 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9440         [BZ #17775]
9441         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9442         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9443         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9445 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9447         * sysdeps/i386/tls-macros.h: Include <features.h>.
9448         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9449         (TLS_IE): Likewise.
9450         (TLS_LD): Likewise.
9451         (TLS_GD): Likewise.
9452         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9453         define for GCC >= 5.0.
9455 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9457         * math/test-fenv.c (test_single_exception, set_single_exc,
9458         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9459         feexcp_mask_test, feenable_test, fe_single_test): Add
9460         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9461         case where they are not used.
9462         * math/libm-test.inc: Likewise.
9463         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9464         unused in the absence of FP rounding/exception support.
9465         * stdio-common/tst-printf-round.c: Likewise.
9466         * stdlib/tst-strtod-round.c: Likewise.
9467         * stdlib/tst-strtod-underflow.c: Likewise.
9469 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9471         [BZ #17723]
9472         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9473         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9474         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9475         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9476         libm_hidden_weak.
9477         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9478         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9479         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9480         libm_hidden_def.
9481         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9482         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9483         libm_hidden_weak.
9484         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9485         Likewise.
9486         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9487         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9488         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9489         libm_hidden_weak.
9490         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9491         libm_hidden_def.
9492         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9493         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9494         (__feraiseexcept): Likewise.
9495         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9496         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9497         libm_hidden_weak.
9498         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9499         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9500         libm_hidden_def.
9501         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9502         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9503         Use libm_hidden_def.
9504         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9505         libm_hidden_def.
9506         (feraiseexcept): Define as weak not strong alias.  Use
9507         libm_hidden_weak.
9508         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9509         New inline function.  Factored out of ...
9510         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9511         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9512         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9513         feraiseexcept.
9514         * math/w_acos.c (__acos): Likewise.
9515         * math/w_asin.c (__asin): Likewise.
9516         * math/w_ilogb.c (__ilogb): Likewise.
9517         * math/w_j0.c (y0): Likewise.
9518         * math/w_j1.c (y1): Likewise.
9519         * math/w_jn.c (yn): Likewise.
9520         * math/w_log.c (__log): Likewise.
9521         * math/w_log10.c (__log10): Likewise.
9522         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9523         * sysdeps/aarch64/fpu/math_private.h
9524         (libc_feupdateenv_test_aarch64): Likewise.
9525         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9526         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9527         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9528         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9529         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9530         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9531         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9532         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9533         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9534         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9536 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9538         [BZ #17732]
9539         * io/test-utime.c (main): Replace %ld with %jd and cast to
9540         intmax_t.
9541         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9542         * nptl/tst-mutex5.c: Include <stdint.h>.
9543         (do_test): Replace %ld with %jd and cast to intmax_t.
9544         * posix/tst-regex.c (run_test): Likewise.
9545         (run_test_backwards): Likewise.
9546         * rt/tst-clock.c: Include <stdint.h>.
9547         (clock_test): Replace %ld with %jd and cast to intmax_t.
9548         * rt/tst-cpuclock1.c: Include <stdint.h>.
9549         (do_test): Replace %lu with %ju and cast to uintmax_t.
9550         * rt/tst-cpuclock2.c: Include <stdint.h>.
9551         (do_test): Replace %lu with %ju and cast to uintmax_t.
9552         * rt/tst-mqueue1.c: Include <stdint.h>.
9553         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9554         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9555         intmax_t.
9556         * rt/tst-mqueue4.c (do_test): Likewise.
9557         * rt/tst-timer4.c: Include <stdint.h>.
9558         (check_ts): Replace %ld with %jd and cast to intmax_t.
9559         (do_test): Likewise.
9560         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9561         and cast to intmax_t.
9562         * sysdeps/pthread/tst-timer.c (main): Likewise.
9563         * time/clocktest.c (main): Likewise.
9564         * time/tst-posixtz.c (do_test): Likewise.
9565         * timezone/tst-timezone.c (main): Likewise.
9567 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9568             H.J. Lu  <hongjiu.lu@intel.com>
9570         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9571         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9572         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9573         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9574         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9575         version if bit_Fast_Unaligned_Load is set.
9576         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9577         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9578         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9579         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9580         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9581         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9582         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9583         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9584         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9585         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9586         to 4.
9587         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9588         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9589         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9590         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9592 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9594         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9595         instead of #if to avoid a Wundef warning.
9596         * stdlib/tst-limits.c (do_test): Likewise.
9598         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9599         parallel other exception macros.
9600         (fegetenv): Convert from macro to extern inline so that it applies
9601         retroactively to inline functions already seen by the compiler.
9602         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9604         * posix/Makefile (before-compile): Use $(objpfx) for
9605         posix-conf-vars-def.h.
9607 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9609         * posix/getconf.c (main): Use size_t for type of I.
9610         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9611         NSPEC.
9613         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9614         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9615         * posix/posix-envs.def: Likewise.
9616         * sysdeps/posix/sysconf.c: Likewise.
9617         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9618         (specs): Remove array.
9619         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9620         array.
9622         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9623         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9624         (__sysconf): Use CONF_IS_* macros.
9626         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9627         ($(objpfx)posix-conf-vars-def.h): New target.
9628         * posix/posix-conf-vars.list: New file.
9629         * posix/posix-conf-vars.h: New file.
9630         * posix/confstr.c: Include posix-conf-vars.h.
9631         (confstr): Use CONF_IS_* macros.
9632         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9633         CONF_IS_* macros.
9634         * scripts/gen-posix-conf-vars.awk: New file.
9636 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9638         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9639         fegetround): Add no-op macros to avoid linknamespace issues.
9641         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9642         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9644         * sysdeps/unix/sysv/linux/tile/sysdep.h
9645         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9646         assembly-specific section to avoid a redefinition warning.
9648         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9649         long before casting to pointer to avoid a cast warning.
9651 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9653         * sysdeps/tile/tilegx/Implies: New file.
9655 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9657         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9659 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9661         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9663 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9665         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9666         not define.
9667         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9668         <kernel-features.h>.
9669         (__utimes) [__NR_utimes]: Make code unconditional.
9670         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9671         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9672         (__ASSUME_UTIMES): Do not undefine.
9673         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9674         (__ASSUME_UTIMES): Likewise.
9675         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9676         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9677         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9678         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9680 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9682         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9684 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9686         [BZ #17747]
9687         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9688         alias to weak alias for j0l, y0l.
9689         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9690         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9692         [BZ #17746]
9693         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9694         conversion.
9696 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9698         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9699         to zero if not already defined.
9701 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9703         [BZ #17724]
9704         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9705         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9706         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9707         (char *) casts added.
9708         * sysdeps/ieee754/k_standardf.c: New file.
9709         * sysdeps/ieee754/k_standardl.c: Likewise.
9710         * math/Makefile (libm-support): Remove k_standard.
9711         (libm-calls): Add k_standard.
9713 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9715         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9716         Optimize to avoid an unnecessary FPCR read.
9718 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9720         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9721         Optimize to reduce FPCR/FPSR accesses.
9723 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9725         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9726         Call libc_fetestexcept_aarch64.
9728 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9730         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9731         Call libc_fesetround_aarch64.
9733 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9735         [BZ #17733]
9736         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9737         (__bind): Do not define as weak alias.
9738         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9739         define.
9740         (__getsockname): Do not define as weak alias.
9742 2014-12-22  Will Newton  <will.newton@linaro.org>
9744         * manual/install.texi: Document that we require bison 2.7
9745         or above.
9746         * INSTALL: Regenerate.
9747         * configure.ac: Use AC_CHECK_PROG_VER instead of
9748         AC_PATH_PROG when checking for bison and check for
9749         version 2.7 or above.
9750         * configure: Regenerate.
9752 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9754         [BZ #17745]
9755         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9756         * sysdeps/tile/ffsll.c (ffsll): To here.
9758         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9760 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9762         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9763         if not defined.
9764         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9765         definition.
9766         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9767         hidden ___tls_get_addr.
9768         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9769         hidden __tls_get_addr.
9770         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9771         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9772         Likewise.
9774 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9776         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9777         _dl_init call.
9779 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9781         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9782         from "call _dl_init@PLT".
9783         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9785 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9787         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9788         guarantees.
9790 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9792         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9794 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9796         [BZ #17744]
9797         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9798         strnlen.
9800 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9802         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9803         of multu on MIPSr6.
9804         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9805         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9806         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9807         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9808         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9810 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9812         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9813         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9814         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9815         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9816         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9817         mips32r6/mips64r6.
9818         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9820 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9822         * string/strncat.c (STRNCAT): Simplify implementation.
9824 2014-12-19  David S. Miller  <davem@davemloft.net>
9826         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9827         access the quad as both a long double and as a series of 4 words.
9829         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9830         link_map->l_info array access.
9832 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9834         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9836         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9837         * math/atest-exp2.c (TIMEOUT): Likewise.
9838         * math/atest-sincos.c (TIMEOUT): Likewise.
9840 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9842         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9843         -Wno-error with -fno-builtin-lround.
9845 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9847         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9848         Contains futex constants and functions moved over from ...
9849         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9850         <lowlevellock-futex.h>.
9851         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9852         (lll_timedwait_tid): Add comments and parentheses around macro
9853         arguments.
9855 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9857         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9858         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9859         (__lll_private_flag): Remove.
9860         (lll_futex_wait): Likewise.
9861         (lll_futex_timed_wait): Likewise.
9862         (lll_futex_wake): Likewise.
9863         (lll_futex_requeue): Likewise.
9864         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9865         (__lll_timedwait_tid): Spell out argument names.
9866         (lll_timedwait_tid): Add comments and parentheses around macro
9867         arguments.
9868         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9869         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9871 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9873         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9874         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9875         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9876         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9877         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9878         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9879         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9880         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9881         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9882         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9883         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9884         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9885         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9886         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9887         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9888         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9889         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9890         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9891         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9893 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9895         * sysdeps/x86_64/x32/Makefile: New file.
9897 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9899         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9900         1L with (mp_limb_t) 1.
9902 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9904         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9905         * nptl/libc_pthread_init.c: ... here.
9906         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9907         * nptl/register-atfork.c: ... here.
9909         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9910         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9911         Use assert_perror to check its return value.
9912         (__gai_create_helper_thread): Likewise.
9914         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9916         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9918 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9920         [BZ #17725]
9921         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9922         __profil_counter.
9923         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9924         Likewise.
9925         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9926         Likewise.
9927         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9928         Likewise.
9929         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9930         (profil_counter): Likewise.
9931         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9932         (profil_counter): Likewise.
9933         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9934         Likewise.
9935         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9936         Likewise.
9937         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9938         (profil_counter): Likewise.
9939         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9940         Likewise.
9941         [!__profil_counter] (profil_counter): Define as weak alias of
9942         __profil_counter.
9943         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9944         (profil_counter): Rename to __profil_counter.
9945         [!__profil_counter] (profil_counter): Define as weak alias of
9946         __profil_counter.
9947         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9948         (profil_counter): Rename to __profil_counter.
9949         [!__profil_counter] (profil_counter): Define as weak alias of
9950         __profil_counter.
9951         * sysdeps/posix/profil.c: Update comment referring to
9952         profil_counter.
9953         (__profil): Use __profil_counter instead of profil_counter.
9954         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9955         __profil_counter.  Use __profil_counter_ushort and
9956         __profil_counter_uint in definitions.
9957         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9958         instead of profil_counter_uint and profil_counter_ushort.
9960         [BZ #17722]
9961         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9962         define as weak alias of __inet_makeaddr.
9963         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9964         as weak alias of __inet_addr.
9965         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9966         as weak alias of __inet_pton.  Use libc_hidden_weak.
9967         * include/arpa/inet.h (__inet_pton): Declare.  Use
9968         libc_hidden_proto.
9969         (inet_makeaddr): Don't use libc_hidden_proto.
9970         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9971         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9972         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9973         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9974         Remove variable.
9975         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9976         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9978 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9980         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9982 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9984         * stdio-common/bug-vfprintf-nargs.c (do_test):
9985         Cast value to intptr_t to avoid format warning
9986         for usage with PRIdPTR printing macro.
9988 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9990         * libio/tst-widetext.c (do_test):
9991         Use format type %td instead of %Zd for ptrdiff_t
9992         in order to avoid format warning.
9994 2014-12-17  Andreas Schwab  <schwab@suse.de>
9996         * nscd/mem.c (gc): Add size_t cast to match printf format.
9998 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10000         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10001         (init): Apply PTR_MANGLE to pointers before storing them.
10002         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10003         before using them.
10005 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10007         [BZ #17719]
10008         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10009         define as weak alias of __memrchr.
10010         (__memrchr): Do not define as strong alias of memrchr.
10011         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10012         Remove variable.
10013         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10014         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10015         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10017         [BZ #17717]
10018         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10019         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10020         (if_indextoname): Rename to __if_indextoname and define as weak
10021         alias of __if_indextoname.  Use libc_hidden_weak.
10022         (if_freenameindex): Rename to __if_freenameindex and define as
10023         weak alias of __if_freenameindex.
10024         (if_nameindex): Rename to __if_nameindex and define as weak alias
10025         of __if_nameindex.
10026         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10027         __if_nametoindex and define as weak alias of __if_nametoindex.
10028         Use libc_hidden_weak.
10029         (if_freenameindex): Rename to __if_freenameindex and define as
10030         weak alias of __if_freenameindex.
10031         (if_nameindex): Rename to __if_nameindex and define as weak alias
10032         of __if_nameindex.
10033         (if_indextoname): Rename to __if_indextoname and define as weak
10034         alias of __if_indextoname.  Use libc_hidden_weak.
10035         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10036         __if_nametoindex and define as weak alias of __if_nametoindex.
10037         Use libc_hidden_weak.
10038         (if_freenameindex): Rename to __if_freenameindex and define as
10039         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10040         (if_nameindex_netlink): Use __if_freenameindex instead of
10041         if_freenameindex.
10042         (if_nameindex): Rename to __if_nameindex and define as weak alias
10043         of __if_nameindex.  Use libc_hidden_weak.
10044         (if_indextoname): Rename to __if_indextoname and define as weak
10045         alias of __if_indextoname.  Use libc_hidden_weak.
10046         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10047         libc_hidden_proto.
10048         [!_ISOMAC] (__if_freenameindex): Likewise.
10049         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10050         if_nametoindex.
10051         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10052         variable.
10053         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10054         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10055         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10056         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10057         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10058         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10059         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10061         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10062         Remove variable.
10063         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10064         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10066 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10068         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10069         subscript above bounds'
10071         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10072         bounds.
10074 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10076         * libio/tst-fopenloc.c: Use test-skeleton.c.
10078         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10079         (entry): Rename to ITEM.
10080         (do_test, comp): Adjust.
10082         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10084 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10086         * string/tester.c: Include <libc-internal.h>.
10087         (test_memset): Ignore -Wmemset-transposed-args.
10089 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10091         * misc/tst-mntent2.c (do_test): Fix warning.
10093 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10095         * elf/tst-unique4lib.cc(a): Mark as used.
10097 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10099         [BZ #17630]
10100         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10101         names.
10103 2014-12-16  Allan McRae  <allan@archlinux.org>
10105         * stdio-common/Makefile (tests): Re-add bug26.
10107 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10109         [BZ #17657]
10110         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10111         static array.
10113 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10115         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10116         (__lll_lock_wait): Likewise.
10117         (__lll_timedlock_wait): Likewise.
10118         (__lll_timedwait_tid): Likewise.
10119         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10120         (__lll_robust_timedlock_wait): Likewise.
10121         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10122         (lll_cond_trylock): Likewise.
10123         (__lll_lock): Likewise.
10124         (__lll_robust_lock): Likewise.
10125         (__lll_cond_lock): Likewise.
10126         (lll_robust_cond_lock): Likewise.
10127         (__lll_timedlock): Likewise.
10128         (__lll_robust_timedlock): Likewise.
10129         (__lll_unlock): Likewise.
10130         (__lll_robust_unlock): Likewise.
10131         (lll_wait_tid): Likewise.
10132         (lll_timedwait_tid): Likewise.
10134 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10136         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10138 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10140         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10142 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10144         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10145         * stdio-common/tst-sprintf.c: Likewise.
10147 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10149         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10151 2014-12-15  Jeff Law  <law@redhat.com>
10153         [BZ #16617]
10154         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10155         on the heap.  (CVE-2012-3406)
10156         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10157         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10158         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10160 2014-12-15  Will Newton  <will.newton@linaro.org>
10162         * manual/install.texi: Bump required version of texinfo
10163         to 4.7 from 4.5.
10164         * INSTALL: Regenerated.
10165         * configure.ac: Check for makeinfo version 4.7 and above.
10166         * configure: Regenerated.
10168 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10170         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10171         PREFIX, string constant to insert between directory and name.
10172         * sysdeps/posix/shm_open.c: Update caller.
10173         * sysdeps/posix/shm_unlink.c: Likewise.
10174         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10175         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10176         (SEM_SHM_PREFIX): New macro.
10177         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10178         [$(have-thread-library) = no].
10179         * nptl/Makefile (libpthread-routines): Add shm-directory.
10180         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10181         * sysdeps/nptl/shm-directory.h: New file.
10182         * sysdeps/posix/shm-directory.c
10183         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10184         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10185         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10186         INTERNAL_SYSCALL.
10187         (__where_is_shmfs): Function removed.
10188         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10189         Variables removed.
10190         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10191         Use SHM_GET_NAME.
10192         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10194         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10195         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10196         unconditional for use inside libpthread.
10197         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10199 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10201         * nptl/pthread_getaffinity.c: New file.
10202         * nptl/pthread_setaffinity.c: New file.
10203         * nptl/pthread_getname.c: New file.
10204         * nptl/pthread_setname.c: New file.
10206         * nptl/pthread_create.c (START_THREAD_DEFN)
10207         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10209 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10210             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10212         * resolv/res_send.c (send_vc): Disable warning resplen may
10213         be used uninitialized.
10215 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10217         * nptl/tst-mutex6.c
10218         (ATTR_NULL): New define checks ATTR against NULL.
10219         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10220         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10222 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10224         [BZ #17581]
10225         * malloc/hooks.c
10226         (mem2mem_check): Revert my previous change.
10227         (malloc_check_get_size): Revert my previous change.
10228         (mem2chunk_check): Revert my previous change.
10230 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10232         * sysdeps/posix/shm-directory.c: New file.
10233         * sysdeps/posix/shm-directory.h: New file.
10234         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10235         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10236         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10237         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10238         Transmute EPERM to EACCES.
10239         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10240         from ...
10241         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10242         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10244 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10246         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10247         pointer and cast to uintptr_t.
10248         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10249         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10250         Add cast to avoid warning.
10251         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10253 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10255         * nptl/semaphore.h: Move to ...
10256         * sysdeps/pthread/semaphore.h: ... here.
10257         * Makefile (installed-headers): Change nptl/semaphore.h to
10258         sysdeps/pthread/semaphore.h.
10260 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10262         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10263         generated error format strings.
10265         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10266         -Wformat-extra-args warnings for scanf formats.
10267         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10268         test of zero-length format (duh).
10269         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10270         corner-case scanf format test.
10271         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10272         generated fprintf format string.
10273         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10274         corner-case sprintf format tests.
10275         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10276         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10277         -Wformat-extra-args warnings throughout.
10278         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10279         (CFLAGS-scanf4.c): Likewise.
10280         (CFLAGS-scanf7.c): Likewise.
10281         (CFLAGS-tst-sprintf.c): Likewise.
10282         (CFLAGS-tst-printf.c): Likewise.
10283         (CFLAGS-tst-printfsz.c): Likewise.
10285 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10287         * include/cpio.h: New file.
10288         * include/fmtmsg.h: Likewise.
10290         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10291         corresponding format argument to size_t.
10292         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10293         arguments.
10294         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10295         corresponding format argument to size_t.
10296         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10297         arguments.
10298         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10299         corresponding format argument to size_t.
10300         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10301         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10302         (CFLAGS-tst-mbswcs2.c): Likewise.
10303         (CFLAGS-tst-mbswcs3.c): Likewise.
10304         (CFLAGS-tst-mbswcs4.c): Likewise.
10305         (CFLAGS-tst-mbswcs5.c): Likewise.
10306         (CFLAGS-tst-trans.c): Likewise
10308 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10310         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10311         rather than assuming they won't contain any '%'s.
10313 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10315         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10316         inhibit_loop_to_libcall to avoid recursive calls.
10317         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10318         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10320 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10322         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10323         prototype.
10325 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10327         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10328         integer value instead of boolean.
10330 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10332         * malloc/malloc.c: Fix powerof2 check.
10334 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10336         * locale/programs/locfile.h (maybe_swap_uint32):
10337         Remove inline and add unused attribute.
10339 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10341         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10342         Truncating assembler expression to a .long expression.
10344 2014-12-11  Andreas Schwab  <schwab@suse.de>
10346         * elf/rtld.c (struct map_args): Constify str member.
10347         (do_preload): Constify fname argument.
10349 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10351         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10352         constants definition.
10354 2014-12-11  Andreas Schwab  <schwab@suse.de>
10356         [BZ #16657]
10357         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10358         FORCE_ELISION instead of DO_ELISION.
10359         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10360         Remove.
10361         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10362         Likewise.
10364         * iconvdata/gconv-modules: Remove duplicate entry.
10366 2014-12-11  Will Newton  <will.newton@linaro.org>
10368         Merge gettext 0.19.3 into intl/.
10370         This involves a number of cosmetic changes to comments
10371         and ANSI function definitions and prototypes throughout
10372         all the files. The gettext copyright header is used but
10373         with the date ranges taken from the glibc copy.
10375         * NEWS: Add gettext merge to 2.21.
10376         * intl/bindtextdom.c: Switch to gettext copyright.
10377         Use ANSI definitions and prototypes.
10378         Use gl_* locking primitives rather than __libc_* ones.
10379         Use __builtin_expect rather than __glibc_likely/unlikely.
10380         * intl/dcgettext.c: Switch to gettext copyright.
10381         Use ANSI definitions and prototypes.
10382         * intl/dcigettext.c: Switch to gettext copyright.
10383         Use ANSI definitions and prototypes.
10384         (INTDIV0_RAISES_SIGFPE): New define.
10385         Use gl_* locking primitives rather than __libc_* ones.
10386         Include eval-plural.h instead of plural-eval.c.
10387         Use __builtin_expect rather than __glibc_likely/unlikely.
10388         * intl/dcngettext.c: Switch to gettext copyright.
10389         Use ANSI definitions and prototypes.
10390         * intl/dgettext.c: Likewise.
10391         * intl/dngettext.c: Likewise.
10392         * intl/plural-eval.c: Renamed to...
10393         * intl/eval-plural.h: ...this.
10394         * intl/explodename.c: Switch to gettext copyright.
10395         Use ANSI definitions and prototypes.
10396         (_nl_explode_name): Use strchr instead of __rawmemchr.
10397         * intl/finddomain.c: Switch to gettext copyright.
10398         Use ANSI definitions and prototypes.
10399         Use gl_* locking primitives rather than __libc_* ones.
10400         (_nl_find_domain): Use malloc rather than alloca for
10401         allocation of temporary locale name.
10402         * intl/gettext.c: Switch to gettext copyright.
10403         Use ANSI definitions and prototypes.
10404         * intl/gettextP.h: Switch to gettext copyright.
10405         Use ANSI definitions and prototypes.
10406         Use gl_* locking primitives rather than __libc_* ones.
10407         * intl/gmo.h: Switch to gettext copyright.
10408         (struct sysdep_string): Move struct segment_pair outside of
10409         struct definition.
10410         * intl/hash-string.c: Use ANSI definitions and prototypes.
10411         * intl/hash-string.h: Switch to gettext copyright.
10412         Use ANSI definitions and prototypes.
10413         * intl/l10nflist.c: Switch to gettext copyright.
10414         Use ANSI definitions and prototypes.
10415         (_nl_normalize_codeset): Avoid integer overflow.
10416         * intl/loadinfo.h: Switch to gettext copyright.
10417         Use ANSI definitions and prototypes.
10418         (LIBINTL_DLL_EXPORTED): New define.
10419         (PATH_SEPARATOR): New define.
10420         * intl/loadmsgcat.c: Switch to gettext copyright.
10421         * intl/localealias.c: Switch to gettext copyright.
10422         Use ANSI definitions and prototypes.
10423         (_nl_expand_alias): Use PATH_SEPARATOR.
10424         * intl/ngettext.c: Switch to gettext copyright.
10425         Use ANSI definitions and prototypes.
10426         * intl/plural-exp.c: Likewise.
10427         * intl/plural-exp.h: Switch to gettext copyright.
10428         Use ANSI definitions and prototypes.
10429         (struct expression): Move definition of enum operator outside
10430         of struct definition.
10431         * intl/plural.c: Regenerate.
10432         * intl/plural.y: Switch to gettext copyright.
10433         Use ANSI definitions and prototypes.
10434         Port to bison 3.0.
10435         * intl/textdomain.c: Switch to gettext copyright.
10436         Use ANSI definitions and prototypes.
10437         Use gl_* locking primitives rather than __libc_* ones.
10439 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10441         * debug/warning-nop.c: Add used atrribute.
10443 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10445         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10447         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10448         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10449         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10451 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10452             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10454         [BZ #17634]
10455         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10456         Undefine after defining function.  Define as weak alias of
10457         __wcschr.  Use libc_hidden_weak.
10458         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10459         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10460         (libc_hidden_def): Also define __GI___wcschr alias.
10461         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10462         __wcschr and define as weak alias of __wcschr.
10463         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10464         __wcschr.
10465         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10466         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10467         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10468         libc_hidden_weak.  Do not use libc_hidden_def.
10469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10470         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10471         __GI___wcschr alias.
10472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10473         [IS_IN (libc)] (wcschr): Define as macro expanding to
10474         __redirect_wcschr.
10475         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10476         [IS_IN (libc)] (__wcschr_power6): Likewise.
10477         [IS_IN (libc)] (__wcschr_power7): Likewise.
10478         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10479         instead of wcschr.
10480         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10481         __libc_wcschr.
10482         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10483         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10484         __wcschr and define as weak alias of __wcschr.  Use
10485         libc_hidden_builtin_def.
10486         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10487         as weak alias of __wcschr.  Use libc_hidden_weak.
10488         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10489         wcschr.
10490         * time/era.c (_nl_init_era_entries): Likewise.
10491         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10492         variable.
10493         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10494         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10496 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10498         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10499         format for long int variable.
10501 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10503         [BZ #10672]
10504         * manual/search.texi: (Array Sort Function): Remove claim how to make
10505         qsort stable.
10507 2014-12-10  Andreas Schwab  <schwab@suse.de>
10509         [BZ #12847]
10510         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10511         user-controlled locks.
10513 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10515         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10516         register.
10518 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10520         * configure.ac (--disable-werror): New configure option.
10521         (enable_werror): New AC_SUBST.
10522         * configure: Regenerated.
10523         * config.make.in (enable-werror): New variable.
10524         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10525         -Wno-error=undef.
10526         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10527         * manual/install.texi (Configuring and compiling): Document
10528         --disable-werror.
10529         * INSTALL: Regenerated.
10530         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10531         (CFLAGS-tst-chk2.c): Likewise.
10532         (CFLAGS-tst-chk3.c): Likewise.
10533         (CFLAGS-tst-chk4.cc): Likewise.
10534         (CFLAGS-tst-chk5.cc): Likewise.
10535         (CFLAGS-tst-chk6.cc): Likewise.
10536         (CFLAGS-tst-lfschk1.c): Likewise.
10537         (CFLAGS-tst-lfschk2.c): Likewise.
10538         (CFLAGS-tst-lfschk3.c): Likewise.
10539         (CFLAGS-tst-lfschk4.cc): Likewise.
10540         (CFLAGS-tst-lfschk5.cc): Likewise.
10541         (CFLAGS-tst-lfschk6.cc): Likewise.
10543         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10544         (main): Disable -Wdeprecated-declarations around calls to
10545         register_printf_function.
10547         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10548         (do_test): Disable -Wdiv-by-zero around some calls to
10549         fwrite_unlocked and fread_unlocked.
10551         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10552         (DIAG_POP_NEEDS_COMMENT): Likewise.
10553         (_DIAG_STR1): Likewise.
10554         (_DIAG_STR): Likewise.
10555         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10556         * stdio-common/bug21.c: Include <libc-internal.h>.
10557         (do_test): Disable -Wformat around call to sscanf.
10558         * stdio-common/scanf14.c: Include <libc-internal.h>.
10559         (main): Disable -Wformat around some calls to scanf functions.
10561 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10563         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10565 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10567         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10568         stack variable alignment.
10570 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10572         [BZ #17682]
10573         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10574         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10575         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10576         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10577         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10578         __getrlimit instead of getrlimit.
10579         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10580         __gettimeofday instead of gettimeofday.
10581         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10582         Likewise.
10583         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10584         Likewise.
10585         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10586         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10587         Remove variable.
10588         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10589         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10591 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10593         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10594         for wide-character tests.
10596 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10598         * io/openat64.c: #include <libc-internal.h>
10599         (__openat64): Prototypify.  Use ignore_value on MODE.
10600         * io/openat.c: Likewise.
10601         * misc/reboot.c: #include <libc-internal.h>
10602         (reboot): Prototypify.  Use ignore_value on HOWTO.
10603         * misc/ptrace.c: #include <libc-internal.h>
10604         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10606 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10608         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10609         XPG4, UNIX98 and XOPEN2K.
10610         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10611         Remove variable.
10612         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10614 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10616         * libio/fileops.c: Use ISO C style for function definitions.
10617         * libio/iofopen.c: Likewise.
10618         * libio/wfileops.c: Likewise.
10620         [BZ #17653]
10621         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10622         offset on EOF.
10623         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10624         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10625         (fgets_func): Function pointer to fgets and fgetws.
10626         (do_ftell_test): Add test to verify ftell value after read
10627         EOF.
10628         (do_test): Set fgets_func.
10630         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10631         O_TRUNC flag for w and w+ modes.
10632         (do_rewind_test): Likewise.
10633         (do_ftell_test): Likewise.
10634         (do_write_test): Likewise.
10636         [BZ #17647]
10637         * libio/fileops.c (do_ftell): Seek only when there are
10638         unflushed writes.
10639         * libio/wfileops.c (do_ftell_wide): Likewise.
10640         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10641         test case.
10642         (do_one_test): Call it.
10644 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10646         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10647         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10648         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10649         Remove variable.
10650         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10651         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10652         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10654 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10656         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10657         Remove variable.
10658         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10660         [BZ #17668]
10661         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10662         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10663         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10664         __freeifaddrs.  Use libc_hidden_weak.
10665         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10666         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10667         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10668         __freeifaddrs.  Use libc_hidden_weak.
10669         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10670         __getifaddrs and define as weak alias of __getifaddrs.  Use
10671         libc_hidden_weak.
10672         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10673         __freeifaddrs.  Use libc_hidden_weak.
10674         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10675         Remove variable.
10676         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10677         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10679 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10681         [BZ #17601]
10682         * sysdeps/mips/start.S (__start): Use indirect jump to call
10683         __libc_start_main.
10685 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10687         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10689         * nptl/tst-mutex1.c: Include <stdbool.h>.
10690         [!ATTR] (ATTR_NULL): New macro.
10691         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10692         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10693         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10695         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10696         to char *.
10698         [BZ #17665]
10699         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10700         Change conditional to [__USE_MISC].
10702         [BZ #17664]
10703         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10704         fgets_unlocked.
10705         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10706         __fgets_unlocked.
10707         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10708         fgets_unlocked.
10709         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10710         Remove variable.
10711         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10712         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10713         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10714         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10715         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10716         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10717         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10718         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10719         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10721         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10723 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10725         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10726         Remove strpbrk objects.
10727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10728         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10729         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10730         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10731         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10732         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10735         Remove strcspn objects.
10736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10737         (__libc_ifunc_impl_list): Remove strcspn implementation.
10738         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10739         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10740         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10741         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10743         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10744         Remove strspn objetcs.
10745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10746         (__libc_ifunc_impl_list): Remove strspn implementation.
10747         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10748         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10749         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10750         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10752 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10754         [BZ #17581]
10755         * malloc/hooks.c
10756         (mem2mem_check): Add a terminator to the chain of checking blocks.
10757         (malloc_check_get_size): Use it here.
10758         (mem2chunk_check): Ditto.
10760 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10762         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10763         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10765 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10767         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10769         * nptl/nptl-init.c: Include libc-internal.h.
10770         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10772         * elf/ldconfig.c (search_dir): Expand comment.
10774 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10776         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10777         variable.
10778         (linknamespace-symlist-stdlibs-tests): Likewise.
10779         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10780         instead of $(objpfx)symlist-stdlibs.
10781         (linknamespace-libs-isoc): New variable.
10782         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10783         (linknamespace-libs-ISO): New variable.
10784         (linknamespace-libs-ISO99): Likewise.
10785         (linknamespace-libs-ISO11): Likewise.
10786         (linknamespace-libs-XPG3): Likewise.
10787         (linknamespace-libs-XPG4): Likewise.
10788         (linknamespace-libs-POSIX): Likewise.
10789         (linknamespace-libs-UNIX98): Likewise.
10790         (linknamespace-libs-XOPEN2K): Likewise.
10791         (linknamespace-libs-POSIX2008): Likewise.
10792         (linknamespace-libs-XOPEN2K8): Likewise.
10793         ($(objpfx)symlist-stdlibs): Replace by
10794         $(linknamespace-symlist-stdlibs-tests).  Use
10795         $(linknamespace-libs-$*) as set of libraries.
10796         ($(linknamespace-header-tests)): Update dependencies.  Use
10797         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10798         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10799         * conform/linknamespace.pl: Remove comment about considering
10800         definitions of symbols from irrelevant libraries.
10802 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10804         [BZ #13862]
10805         * elf/dl-tls.c: Include <atomic.h>.
10806         (oom): Remove #ifdef SHARED/#endif.
10807         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10808         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10809         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10810         big enough.
10811         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10812         * nptl/Makefile (tests): Add tst-stack4.
10813         (modules-names): Add tst-stack4mod.
10814         ($(objpfx)tst-stack4): New.
10815         (tst-stack4mod.sos): Likewise.
10816         ($(objpfx)tst-stack4.out): Likewise.
10817         ($(tst-stack4mod.sos)): Likewise.
10818         (clean): Likewise.
10819         * nptl/tst-stack4.c: New file.
10820         * nptl/tst-stack4mod.c: Likewise.
10822 2014-11-27  J. Brown  <jb999@gmx.de>
10824         * sysdeps/x86/bits/string.h: Add recent CPUs.
10826 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10828         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10829         sigblock.
10831         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10832         feof.
10834         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10835         variable.
10837 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10839         * nscd/connections.c: Include libc-internal.h because of macro
10840         usage ignore_value.
10842 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10844         * string/bits/string3.h (__warn_memset_zero_len): Don't
10845         declare for gcc newer than 5.0.
10846         (memset): Don't test for zero-length __LEN for gcc newer than
10847         5.0.
10849 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10851         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10852         size_t for %zu format.
10854         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10855         difference, not %ju.
10857 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10859         * include/libc-internal.h (ignore_value): New macro.
10860         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10861         with ignore_value.
10863         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10864         definition.
10866         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10867         pthread_cleanup_push to void *.
10869         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10870         Undefine.
10872         [BZ #16619]
10873         [BZ #16740]
10874         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10875         instead of 1L << 52.
10877         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10878         * libio/bug-rewind2.c (do_test): Likewise.
10880         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10881         * debug/test-strcpy_chk-ifunc.c: Likewise.
10882         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10883         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10884         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10885         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10886         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10887         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10888         * Rules [$(multi-arch) = no] (tests): Do not filter out
10889         $(tests-ifunc).
10890         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10891         * debug/Makefile (tests-ifunc): Remove variable.
10892         (tests): Do not add $(tests-ifunc).
10893         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10894         (tests): Do not add $(tests-ifunc).
10895         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10896         [TEST_IFUNC]: Remove conditionals.
10897         * string/test-string.h (TEST_IFUNC): Remove macro.
10898         [TEST_IFUNC]: Remove conditionals.
10900         * string/test-strchr.c [!WIDE] (L): New macro.
10901         [WIDE] (L): Likewise.
10902         (check1): Use CHAR instead of char.  Use L on string and character
10903         constants.
10905 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10907         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10908         tests.
10909         * sysdeps/powerpc/bits/atomic.h
10910         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10911         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10912         (atomic_exchange_and_add_acq): Likewise.
10913         (atomic_exchange_and_add_rel): Likewise.
10914         * sysdeps/powerpc/powerpc32/bits/atomic.h
10915         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10916         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10917         * sysdeps/powerpc/powerpc64/bits/atomic.h
10918         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10919         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10921 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10923         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10924         Change synchronization of __sched_fifo_min_prio and
10925         __sched_fifo_max_prio.
10926         * nptl/pthread_mutexattr_getprioceiling.c
10927         (pthread_mutexattr_getprioceiling): Likewise.
10928         * nptl/pthread_mutexattr_setprioceiling.c
10929         (pthread_mutexattr_setprioceiling): Likewise.
10930         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10931         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10932         Likewise.
10934 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10936         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10937         void.
10939 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10941         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10942         third argument const.
10944 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10946         fnmatch: work around GCC compiler warning bug with uninit var
10947         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10948         This works around a bug with x86-64 GCC 4.9.2 and earlier
10949         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10950         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10951         used uninitialized in this function [-Wmaybe-uninitialized]".
10953 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10955         * posix/bug-regex31.c (main): Return RES not 0.
10957 2014-11-25  Anton Blanchard <anton@samba.org>
10959         * sysdeps/powerpc/bits/atomic.h
10960         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10962 2014-11-24  Sterling Augustine  <saugustine@google.com>
10964         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10966 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10968         [BZ #17608]
10969         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10971 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10973         [BZ #17633]
10974         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10975         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10976         variable.
10977         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10978         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10980 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10982         * string/strncpy.c (strncpy): Improve performance by using memset.
10984 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10986         * string/strcpy.c (strcpy):
10987         Improve performance by using strlen and memcpy.
10989 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10991         * string/strcoll_l.c (get_next_seq): __always_inline.
10992         * string/strcoll_l.c (do_compare): __always_inline.
10994 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10996         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10997         defined.
10998         * include/mqueue.h: Likewise.
10999         * include/stdlib.h: Likewise.
11001         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11002         (get_null_defines): Adjust.
11003         * sunrpc/Makefile: Adjust comment.
11004         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11005         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11006         (CFLAGS-interp.c): Likewise.
11007         (CFLAGS-ldconfig.c): Likewise.
11008         (CPPFLAGS-.os): Likewise.
11009         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11010         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11011         * extra-modules.mk (extra-modules.mk): Likewise.
11012         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11013         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11014         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11015         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11016         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11017         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11018         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11019         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11020         * iconvdata/Makefile (CPPFLAGS): Likewise.
11021         (cpp-srcs-left): Add libof for all iconvdata routines.
11022         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11023         * include/assert.h: Likewise.
11024         * include/ctype.h: Likewise.
11025         * include/errno.h: Likewise.
11026         * include/libc-symbols.h: Likewise.
11027         * include/math.h: Likewise.
11028         * include/netdb.h: Likewise.
11029         * include/resolv.h: Likewise.
11030         * include/stdio.h: Likewise.
11031         * include/stdlib.h: Likewise.
11032         * include/string.h: Likewise.
11033         * include/sys/stat.h: Likewise.
11034         * include/wctype.h: Likewise.
11035         * intl/l10nflist.c: Likewise.
11036         * libidn/idn-stub.c: Likewise.
11037         * libio/libioP.h: Likewise.
11038         * nptl/libc_multiple_threads.c: Likewise.
11039         * nptl/pthreadP.h: Likewise.
11040         * posix/regex_internal.h: Likewise.
11041         * resolv/res_hconf.c: Likewise.
11042         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11043         * sysdeps/arm/memmove.S: Likewise.
11044         * sysdeps/arm/sysdep.h: Likewise.
11045         * sysdeps/generic/_itoa.h: Likewise.
11046         * sysdeps/generic/symbol-hacks.h: Likewise.
11047         * sysdeps/gnu/errlist.awk: Likewise.
11048         * sysdeps/gnu/errlist.c: Likewise.
11049         * sysdeps/i386/i586/memcpy.S: Likewise.
11050         * sysdeps/i386/i586/memset.S: Likewise.
11051         * sysdeps/i386/i686/memcpy.S: Likewise.
11052         * sysdeps/i386/i686/memmove.S: Likewise.
11053         * sysdeps/i386/i686/mempcpy.S: Likewise.
11054         * sysdeps/i386/i686/memset.S: Likewise.
11055         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11056         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11057         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11058         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11059         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11060         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11061         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11062         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11063         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11064         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11065         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11066         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11067         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11068         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11069         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11070         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11071         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11072         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11073         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11074         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11075         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11076         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11077         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11078         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11079         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11080         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11081         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11082         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11083         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11084         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11085         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11086         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11087         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11088         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11089         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11090         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11091         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11092         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11093         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11094         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11095         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11096         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11097         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11098         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11099         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11100         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11101         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11102         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11103         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11104         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11105         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11106         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11107         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11108         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11109         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11110         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11111         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11112         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11113         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11114         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11115         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11116         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11117         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11118         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11119         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11120         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11121         * sysdeps/posix/closedir.c: Likewise.
11122         * sysdeps/posix/opendir.c: Likewise.
11123         * sysdeps/posix/readdir.c: Likewise.
11124         * sysdeps/posix/rewinddir.c: Likewise.
11125         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11126         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11127         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11128         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11129         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11130         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11131         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11133         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11134         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11135         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11136         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11137         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11138         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11139         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11141         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11142         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11143         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11144         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11145         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11146         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11147         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11148         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11153         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11160         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11161         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11162         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11163         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11164         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11165         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11166         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11167         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11168         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11169         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11170         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11171         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11172         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11173         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11174         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11175         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11176         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11177         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11178         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11179         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11181         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11182         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11183         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11184         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11185         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11186         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11187         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11188         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11189         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11190         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11191         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11192         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11193         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11194         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11195         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11196         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11197         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11198         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11199         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11200         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11201         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11202         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11203         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11204         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11205         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11206         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11207         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11209         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11210         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11211         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11212         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11213         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11214         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11215         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11216         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11217         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11220         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11221         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11222         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11223         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11224         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11225         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11226         * sysdeps/unix/alpha/sysdep.S: Likewise.
11227         * sysdeps/unix/alpha/sysdep.h: Likewise.
11228         * sysdeps/unix/make-syscalls.sh: Likewise.
11229         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11230         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11231         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11232         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11233         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11234         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11235         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11236         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11237         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11238         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11239         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11240         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11241         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11242         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11243         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11244         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11245         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11246         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11247         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11248         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11249         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11250         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11251         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11252         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11253         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11254         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11255         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11258         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11259         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11261         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11262         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11263         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11266         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11267         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11268         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11269         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11270         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11271         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11272         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11273         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11276         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11279         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11280         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11281         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11282         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11283         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11284         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11285         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11287         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11288         * sysdeps/x86_64/memcpy.S: Likewise.
11289         * sysdeps/x86_64/memmove.c: Likewise.
11290         * sysdeps/x86_64/memset.S: Likewise.
11291         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11292         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11293         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11294         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11295         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11296         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11297         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11298         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11299         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11300         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11301         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11302         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11303         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11304         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11305         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11306         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11307         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11308         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11309         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11310         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11311         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11312         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11313         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11314         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11315         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11316         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11317         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11318         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11319         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11320         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11321         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11322         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11323         * sysdeps/x86_64/strcmp.S: Likewise.
11325         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11327         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11328         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11329         * elf/rtld-Rules: Likewise.
11330         * elf/setup-vdso.h: Likewise.
11331         * include/assert.h: Likewise.
11332         * include/bits/stdlib-float.h: Likewise.
11333         * include/errno.h: Likewise.
11334         * include/sys/stat.h: Likewise.
11335         * include/unistd.h: Likewise.
11336         * sysdeps/aarch64/setjmp.S: Likewise.
11337         * sysdeps/alpha/setjmp.S: Likewise.
11338         * sysdeps/arm/__longjmp.S: Likewise.
11339         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11340         * sysdeps/arm/setjmp.S: Likewise.
11341         * sysdeps/arm/sysdep.h: Likewise.
11342         * sysdeps/generic/_itoa.h: Likewise.
11343         * sysdeps/generic/dl-sysdep.h: Likewise.
11344         * sysdeps/generic/ldsodefs.h: Likewise.
11345         * sysdeps/i386/dl-tls.h: Likewise.
11346         * sysdeps/i386/setjmp.S: Likewise.
11347         * sysdeps/m68k/setjmp.c: Likewise.
11348         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11349         * sysdeps/mach/hurd/opendir.c: Likewise.
11350         * sysdeps/posix/getcwd.c: Likewise.
11351         * sysdeps/posix/opendir.c: Likewise.
11352         * sysdeps/posix/profil.c: Likewise.
11353         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11354         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11355         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11356         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11357         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11358         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11359         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11360         * sysdeps/s390/dl-tls.h: Likewise.
11361         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11362         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11363         * sysdeps/sh/sh3/setjmp.S: Likewise.
11364         * sysdeps/sh/sh4/setjmp.S: Likewise.
11365         * sysdeps/unix/alpha/sysdep.h: Likewise.
11366         * sysdeps/unix/arm/sysdep.S: Likewise.
11367         * sysdeps/unix/i386/sysdep.S: Likewise.
11368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11369         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11370         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11372         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11373         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11374         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11375         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11376         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11377         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11378         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11379         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11380         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11383         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11384         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11386         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11387         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11388         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11390         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11391         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11392         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11393         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11395         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11396         * sysdeps/x86_64/setjmp.S: Likewise.
11398         * include/math.h: Use IS_IN instead of IS_IN_libm.
11399         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11400         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11401         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11402         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11403         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11404         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11405         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11406         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11407         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11408         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11409         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11410         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11411         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11412         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11413         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11414         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11415         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11416         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11417         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11418         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11419         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11420         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11421         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11422         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11423         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11424         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11425         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11426         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11427         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11428         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11429         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11430         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11431         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11433         Likewise.
11434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11435         Likewise.
11436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11437         Likewise.
11438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11439         Likewise.
11440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11441         Likewise.
11442         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11443         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11444         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11445         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11446         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11447         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11453         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11454         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11455         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11456         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11457         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11458         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11459         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11460         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11461         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11462         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11463         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11466         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11468         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11470         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11471         * nptl/pthreadP.h: Likewise.
11472         * nptl_db/structs.def: Likewise.
11473         * sysdeps/arm/sysdep.h: Likewise.
11474         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11475         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11476         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11477         * sysdeps/unix/alpha/sysdep.h: Likewise.
11478         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11479         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11480         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11481         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11482         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11483         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11484         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11485         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11486         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11487         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11488         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11489         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11490         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11491         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11496         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11498         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11499         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11500         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11501         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11502         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11503         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11505         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11506         * nptl/pthreadP.h: Likewise.
11507         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11508         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11509         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11510         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11511         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11512         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11513         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11514         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11515         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11516         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11517         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11518         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11520         Likewise.
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11522         Likewise.
11523         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11524         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11525         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11528         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11529         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11530         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11532         * dlfcn/dladdr.c: Use IS_IN.
11533         * dlfcn/dladdr1.c: Likewise.
11534         * dlfcn/dlclose.c: Likewise.
11535         * dlfcn/dlerror.c: Likewise.
11536         * dlfcn/dlinfo.c: Likewise.
11537         * dlfcn/dlmopen.c: Likewise.
11538         * dlfcn/dlopen.c: Likewise.
11539         * dlfcn/dlsym.c: Likewise.
11540         * dlfcn/dlvsym.c: Likewise.
11542         * include/ifaddrs.h: Use IS_IN.
11543         * inet/check_pf.c: Likewise.
11544         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11545         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11547         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11548         IS_IN_ldconfig.
11549         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11550         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11552         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11553         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11554         IS_IN (libc).
11556         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11558         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11559         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11560         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11561         * include/libc-symbols.h (IS_IN_LIB): New macro.
11562         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11563         * include/netdb.h: Likewise.
11564         * include/stap-probe.h: Remove all uses of IN_LIB.
11566         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11567         instead of IN_MODULE.
11568         * include/libc-symbols.h (IN_MODULE): Define using
11569         MODULE_NAME.
11570         (PASTE_NAME, PASTE_NAME1): New macros.
11571         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11572         of IN_LIB.
11573         (STAP_PROBE_ASM): Likewise.
11575 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11577         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11578         __mach_init in dlopened libc.
11580 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11582         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11583         * sysdeps/arm/preconfigure: Regenerate.
11585 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11587         * nptl/pthread_create.c (__pthread_create_2_1): Set
11588         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11589         when copying values from IATTR into PD.
11591 2014-11-21  Will Newton  <will.newton@linaro.org>
11592             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11594         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11595         Refactor inline-asm.  Also add comment.
11597         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11598         ElfW macro instead of hardcoded Elf64 types.
11599         (la_aarch64_gnu_pltenter): Likewise.
11600         * sysdeps/aarch64/dl-machine.h
11601         (elf_machine_runtime_setup): Use ElfW(Addr).
11603         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11604         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11605         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11606         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11607         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11608         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11609         (R_AARCH64_TLS_DTPMOD): This.
11610         (R_AARCH64_TLS_DTPREL64): Rename to ...
11611         (R_AARCH64_TLS_DTPREL): This.
11612         (R_AARCH64_TLS_TPREL64): Rename to ...
11613         (R_AARCH64_TLS_TPREL): This.
11614         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11615         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11616         R_AARCH64_TLS_TPREL64.
11617         (elf_machine_rela): Likewise.
11619 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11621         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11622         by setting it to 0.  64b atomics are not supported currently.
11624 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11626         [BZ #16469]
11627         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11628         search domain names.
11630 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11632         [BZ #16469]
11633         * NEWS: Update.
11634         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11635         trailing dot.
11636         * posix/tst-getaddrinfo5.c: New.
11637         * posix/Makefile (tests): Add it.
11639 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11641         [BZ #14498]
11642         * NEWS: Fixed.
11643         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11644         after parsing line but before break_if_match.
11645         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11646         if there is a protocol mismatch.
11648 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11650         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11651         because the potential race is on the user-supplied stream.
11653 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11655         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11656         string literal if not passed a buffer.
11657         * manual/job.texi (ctermid): Update reasoning, note deviation
11658         from posix, suggest mtasurace when not passed a buffer, for
11659         future non-preliminary safety notes.
11661 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11663         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11664         of not passing it a buffer.
11665         Reported by Peng Haitao.
11667 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11669         * manual/Makefile ($(objpfx)stamp-summary): Require
11670         check-safety.sh to pass.
11671         * manual/check-safety.sh: Wish for verification that every
11672         @deftypefn and @deftypefun is followed by a @safety remark.
11674 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11676         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11678         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11679         PTHREAD_CANCEL_ASYNCHRONOUS.
11680         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11681         send SIGCANCEL.
11683         * nptl/default-sched.h: New file.
11684         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11685         * nptl/pthread_create.c: Include it.
11686         (__pthread_create_2_1): Use collect_default_sched instead of making
11687         Linux syscalls here directly.
11689 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11691         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11692         __pthread_once): Use C11 atomics.
11694 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11696         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11698 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11700         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11701         atomic_thread_fence_acquire, atomic_thread_fence_release,
11702         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11703         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11704         atomic_compare_exchange_weak_relaxed,
11705         atomic_compare_exchange_weak_acquire,
11706         atomic_compare_exchange_weak_release,
11707         atomic_exchange_acquire, atomic_exchange_release,
11708         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11709         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11710         atomic_fetch_and_acquire,
11711         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11713 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11715         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11716         USE_ATOMIC_COMPILER_BUILTINS): Define.
11717         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11719         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11721         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11723         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11725         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11727         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11729         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11731         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11733         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11735         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11737         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11739         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11741         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11743         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11745         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11746         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11747         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11749         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11751         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11752         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11753         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11754         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11755         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11756         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11758 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11760         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11761         the sched_priority value here.  It was already checked when the user
11762         called pthread_attr_setschedparam.
11764         * nptl/tst-bad-schedattr.c: New file.
11765         * nptl/Makefile (tests): Add it.
11767 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11768             Florian Weimer  <fweimer@redhat.com>
11769             Joseph Myers  <joseph@codesourcery.com>
11770             Adam Conrad  <adconrad@0c3.net>
11771             Andreas Schwab  <schwab@suse.de>
11772             Brooks  <bmoses@google.com>
11774         [BZ #17625]
11775         * wordexp-test.c (__dso_handle): Add prototype.
11776         (__register_atfork): Likewise.
11777         (__app_register_atfork): New function.
11778         (registered_forks): New global.
11779         (register_fork): New function.
11780         (test_case): Add 3 new tests for WRDE_CMDSUB.
11781         (main): Call __app_register_atfork.
11782         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11783         fork count is non-zero fail the test.
11784         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11785         is set.
11786         (parse_dollars): Remove check for WRDE_NOCMD.
11787         (parse_dquote): Likewise.
11789 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11791         * Makeconfig (built-modules): List non-library modules to be
11792         built.
11793         (module-cppflags): Include libc-modules.h for
11794         everything except shlib-versions.v.i.
11795         (CPPFLAGS): Use it.
11796         (before-compile): Add libc-modules.h.
11797         ($(common-objpfx)libc-modules.h,
11798         $(common-objpfx)libc-modules.stmp): New targets.
11799         (common-generated): Add libc-modules.h and libc-modules.stmp.
11800         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11801         * include/libc-symbols.h: Don't include libc-modules.h.
11802         * include/libc-modules.h: Remove file.
11803         * scripts/gen-libc-modules.awk: New script to generate
11804         libc-modules.h.
11805         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11806         Depend on libc-modules.stmp.
11808         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11810         * Makeconfig (in-module): Get value of libof set for the
11811         translation unit.
11812         (CPPFLAGS): Use $(in-module).
11813         * Makerules: Don't suffix routine names for nonlib.
11814         * include/libc-modules.h: New file.
11815         * include/libc-symbols.h: Include libc-modules.h
11816         (IS_IN): New macro to replace IS_IN_* macros.
11817         * elf/Makefile: Set libof-* for each routine.
11818         * elf/rtld-Rules: Likewise.
11819         * extra-modules.mk: Likewise.
11820         * iconv/Makefile: Likewise.
11821         * iconvdata/Makefile: Likewise.
11822         * locale/Makefile: Likewise.
11823         * malloc/Makefile: Likewise.
11824         * nss/Makefile: Likewise.
11825         * sysdeps/gnu/Makefile: Likewise.
11826         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11827         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11828         * sysdeps/s390/s390-64/Makefile: Likewise.
11829         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11830         CPPFLAGS for nscd instead of nonlib.
11832 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11834         * nptl/createthread.c: New file.
11836         * nptl/createthread.c: Moved ...
11837         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11839         * nptl/createthread.c: Add proper top-line comment.
11840         (do_clone): Folded into ...
11841         (create_thread): ... here.  Take new arguments STOPPED_START and
11842         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11843         increment __nptl_threads, do event-reporting logic, do
11844         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11845         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11846         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11847         just send SIGCANCEL.
11848         * nptl/pthread_create.c: Forward-declare create_thread before
11849         including createthread.c.
11850         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11851         declaration, and new macro START_THREAD_SELF to replace argument.
11852         Remove return statement.
11853         (report_thread_creation): New function.
11854         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11855         synchronization logic, and __nptl_nthreads increment here, around
11856         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11857         PD->parent_cancelhandling here, before create_thread.  When
11858         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11859         __deallocate_stack, and ENOMEM translation here.
11861 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11863         [BZ #17616]
11864         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11865         (mptwo): Rename to __mptwo.
11866         (__inv): Use __mptwo instead of mptwo.
11867         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11868         (mptwo): Rename to __mptwo.
11869         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11870         of mpone and __mptwo instead of mptwo.
11871         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11872         instead of mpone.
11873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11874         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11875         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11876         of mpone and __mptwo instead of mptwo.
11877         (__mpranred): Use __mpone instead of mpone.
11878         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11879         variable.
11880         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11881         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11882         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11883         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11884         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11885         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11886         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11887         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11888         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11889         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11890         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11891         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11892         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11893         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11894         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11895         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11896         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11897         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11898         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11900 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11902         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11903         replace BSD Handler xref with BSD Signal Handling.
11905 2014-11-17  Richard Henderson  <rth@redhat.com>
11907         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11908         (_FP_PACK_RAW_2): Remove.
11909         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11910         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11911         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11912         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11913         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11914         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11915         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11916         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11917         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11918         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11919         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11920         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11921         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11922         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11923         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11924         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11926 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11928         * signal/signal.h [__USE_MISC]
11929         (struct sigvec): Remove type.
11930         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11931         (sigvec): Remove declaration.
11932         * sysdeps/posix/sigvec.c: Moved ...
11933         * signal/sigvec.c: ... here, replacing old file.
11934         (struct sigvec): New type, copied from old signal.h definition.
11935         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11936         (__sigvec): Convert definition to prototype.
11937         (sigvec): Replace weak_alias with compat_symbol.
11938         * signal/Versions (libc: GLIBC_2.21): New version set.
11939         * include/signal.h: Remove __sigvec declaration.
11940         * sysdeps/unix/bsd/sigvec.c: Remove file.
11941         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11942         * manual/signal.texi (BSD Handler): Remove subsection.
11943         Move siginterrupt up to ...
11944         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11945         (Blocking in BSD): Fold subsection into its parent.
11946         * NEWS: Mention sigvec removal.
11948 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11950         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11951         (DLA_FMS): Make definition conditional only on [__FMA4__].
11952         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11953         definition.
11955         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11956         Make definition conditional only on [PROF].
11957         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11958         definition.
11959         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11960         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11962         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11963         !__GNUC__].
11964         * include/signal.h (__sigpause): Move declaration above call to
11965         libc_hidden_proto.
11966         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11967         variable.
11968         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11969         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11971 2014-11-14  David S. Miller  <davem@davemloft.net>
11973         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11974         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11976 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11978         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11979         * configure: Regenerated.
11980         * manual/install.texi (Tools for Compilation): Document a
11981         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11982         compiler verified to work.
11983         * INSTALL: Regenerated.
11985         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11986         redeclare with asm name.
11987         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11988         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11989         including <string.h>.
11990         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11991         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11992         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11993         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11994         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11995         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11996         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11998 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12000         * stdlib/strtol.c (__strtol): Use prototype definition.
12002         [BZ #17594]
12003         * stdlib/strtol.c (SYM__): New macro.
12004         (SYM__1): Likewise.
12005         (__strtol): Likewise.
12006         (strtol): Rename to __strtol and define as weak alias of
12007         __strtol.  Use libc_hidden_weak.
12009 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12011         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12012         Use numbered labels in inline assembly.
12014 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12016         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12017         Add setjmp LIBC_PROBE.
12018         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12019         Likewise.
12020         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12021         Add longjmp, longjmp_target LIBC_PROBE.
12022         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12023         Likewise.
12025 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12027         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12028         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12029         to get rid of unused variable warning.
12031 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12033         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12034         Check for unwind_backtrace ==  NULL only in SHARED case.
12035         (__backchain_backtrace): Compile only in SHARED case.
12036         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12037         Likewise.
12038         (__backchain_backtrace): Declare as static.
12040 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12042         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12043         (__libc_multiple_threads_ptr): Variable moved ...
12044         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12046 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12048         * conform/GlibcConform.pm: New file.
12049         * conform/conformtest.pl: Use GlibcConform module.
12050         * conform/linknamespace.pl: New file.
12051         * conform/list-header-symbols.pl: Likewise.
12052         * conform/Makefile (linknamespace-symlists-base): New variable.
12053         (linknamespace-symlists-tests): Likewise.
12054         (linknamespace-header-base): Likewise.
12055         (linknamespace-header-tests): Likewise.
12056         (tests-special): Add new tests.
12057         ($(linknamespace-symlists-tests)): New rule.
12058         (linknamespace-libs): New variable.
12059         ($(objpfx)symlist-stdlibs): New rule.
12060         ($(linknamespace-header-tests)): Likewise.
12061         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12062         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12063         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12064         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12065         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12066         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12067         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12068         (test-xfail-ISO/math.h/linknamespace): Likewise.
12069         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12070         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12071         (test-xfail-ISO/time.h/linknamespace): Likewise.
12072         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12073         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12074         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12075         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12076         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12077         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12078         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12079         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12080         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12081         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12082         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12083         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12084         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12085         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12086         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12087         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12088         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12089         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12090         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12091         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12092         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12093         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12094         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12095         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12096         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12097         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12098         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12099         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12100         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12101         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12102         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12103         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12104         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12105         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12106         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12107         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12108         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12109         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12110         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12111         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12112         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12113         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12114         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12115         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12116         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12117         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12118         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12119         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12120         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12121         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12122         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12123         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12124         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12125         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12126         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12127         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12128         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12129         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12130         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12131         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12132         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12133         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12134         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12135         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12136         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12137         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12138         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12139         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12140         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12141         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12142         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12143         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12144         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12145         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12146         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12147         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12148         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12149         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12150         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12151         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12152         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12153         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12154         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12155         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12156         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12157         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12158         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12159         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12160         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12161         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12162         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12163         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12164         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12165         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12166         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12167         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12168         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12169         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12170         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12171         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12172         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12173         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12174         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12175         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12176         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12177         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12178         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12179         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12180         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12181         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12182         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12183         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12184         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12185         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12186         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12187         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12188         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12189         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12190         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12191         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12192         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12193         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12194         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12195         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12196         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12197         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12198         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12199         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12200         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12201         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12202         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12203         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12204         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12205         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12206         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12207         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12208         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12209         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12210         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12211         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12212         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12213         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12214         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12215         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12216         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12217         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12218         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12219         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12220         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12221         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12223         [BZ #17589]
12224         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12225         of fgets_unlocked.
12227         [BZ #17585]
12228         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12229         (memmem): Rename to __memmem and define as weak alias of
12230         __memmem.  Use libc_hidden_weak.
12231         (__memmem): Use libc_hidden_def.
12232         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12233         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12234         memmem.
12236         [BZ #17582]
12237         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12238         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12239         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12240         and define as weak alias of __fgets_unlocked.  Use
12241         libc_hidden_weak.
12242         (__fgets_unlocked): Use libc_hidden_def.
12243         * include/stdio.h (__fgets_unlocked): Declare.  Use
12244         libc_hidden_proto.
12245         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12246         __fgets_unlocked instead of fgets_unlocked.
12247         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12248         (GET_NPROCS_CONF_PARSER): Likewise.
12249         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12250         (GET_NPROCS_CONF_PARSER): Likewise.
12252         [BZ #17574]
12253         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12254         weak alias of __wmemset.  Use libc_hidden_weak.
12255         (__wmemset): Use libc_hidden_def.
12256         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12257         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12258         of wmemset.
12260         [BZ #17573]
12261         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12262         with asm name __mempcpy.
12263         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12265         [BZ #17572]
12266         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12267         and define as weak alias of __rawmemchr.
12268         (__rawmemchr): Do not define as strong alias of rawmemchr.
12270         [BZ #17571]
12271         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12272         alias of __qsort_r.
12273         (qsort): Call __qsort_r instead of qsort_r.
12274         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12275         (__qsort_r): Declare.  Call libc_hidden_proto.
12276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12277         instead of qsort_r.
12278         * nscd/gai.c (__qsort_r): Define to qsort_r.
12279         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12280         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12281         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12283         [BZ #17570]
12284         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12285         define as weak alias of __malloc_info.
12287         [BZ #17584]
12288         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12289         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12290         (__rewinddir): Use libc_hidden_def.
12291         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12292         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12293         (__rewinddir): Use libc_hidden_def.
12294         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12295         weak alias of __rewinddir.  Don't use libc_hidden_def.
12296         (__rewinddir): Use libc_hidden_def.
12297         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12298         (__rewinddir): Use libc_hidden_proto.
12299         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12300         rewinddir.
12301         (__getcwd): Use __rewinddir instead of rewinddir.
12303         [BZ #17583]
12304         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12305         alias of __fileno.  Use libc_hidden_weak.
12306         (__fileno): Use libc_hidden_def.
12307         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12308         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12309         alias of __ftello.
12310         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12311         __ftello.
12312         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12313         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12314         libc_hidden_def.
12315         (fread_unlocked): Don't use libc_hidden_ver.
12316         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12317         and define as weak alias of __fread_unlocked.  Don't use
12318         libc_hidden_def.
12319         (__fread_unlocked): Use libc_hidden_def.
12320         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12321         (ftello): Don't use libc_hidden_proto.
12322         (__ftello): Declare.  Use libc_hidden_proto.
12323         (fread_unlocked): Don't use libc_hidden_proto.
12324         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12325         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12326         and __ftello instead of fileno, fread_unlocked and ftello.
12328 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12330         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12331         GOT12.
12332         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12333         Likewise.
12334         (_dl_start_user): Likewise.
12335         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12337 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12338             Siddhesh Poyarekar  <siddhesh@redhat.com>
12340         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12341         Move argv and envp down instead of moving argc up.
12342         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12344 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12346         [BZ #17506]
12347         * test-skeleton.c (main): Return successful if one of
12348         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12349         * string/tst-strcoll-overflow.c: Define expected status.
12351 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12353         [BZ #17475]
12354         * locale/iso-639.def: Define Bhili and Tulu language codes.
12356 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12358         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12360 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12362         [BZ #17555]
12363         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12365 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12367         * configure.ac: Updated check of minimal required version to
12368         2.22.
12369         * manual/install.texi (Tools for Compilation): Updated version
12370         number.
12371         * configure: Regenerated.
12372         * INSTALL: Likewise.
12374 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12376         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12377         __tls_get_addr.
12379 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12381         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12382         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12383         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12384         libc_hidden_weak.
12385         (waitpid): Define as alias of __waitpid.
12386         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12387         __waitpid.
12388         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12389         libc_hidden_weak.
12390         (waitpid): Define as alias of __waitpid.
12391         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12392         __libc_waitpid alias.
12393         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12394         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12395         Likewise.
12396         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12397         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12398         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12399         alias.
12400         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12401         __waitpid.
12402         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12403         libc_hidden_weak.
12404         (waitpid): Define as alias of __waitpid.
12406 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12408         * manual/llio.texi: Add comment that write safety has been
12409         fixed in Linux.
12411         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12412         (localplt-build-dso): Add elf/ld.so.
12413         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12414         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12415         and free for ld.so.
12416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12417         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12419         Likewise.
12420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12421         Likewise.
12422         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12423         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12424         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12425         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12426         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12427         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12428         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12429         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12430         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12431         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12432         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12434 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12436         [BZ #14132]
12437         * include/libc-symbols.h (INTUSE): Remove macro.
12438         (INTDEF): Likewise.
12439         (INTVARDEF): Likewise.
12440         (_INTVARDEF): Likewise.
12441         (INTDEF2): Likewise.
12442         (INTVARDEF2): Likewise.
12443         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12444         rtld_hidden_def instead of INTVARDEF.
12445         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12446         (_dl_starting_up_internal): Remove declaration.
12447         (_dl_starting_up): Use rtld_hidden_proto.
12448         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12449         declaration.
12450         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12451         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12452         _dl_starting_up.
12453         * elf/dl-writev.h (_dl_writev): Likewise.
12454         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12455         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12456         _dl_starting_up_internal.
12458 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12460         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12461         test-skeleton.c.
12463 2014-11-05  Will Newton  <will.newton@linaro.org>
12465         * benchtests/Makefile: (bench-malloc): Add malloc thread
12466         scalability benchmark.
12467         * benchtests/bench-malloc-threads.c: New file.
12469 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12471         * sysdeps/aarch64/strchrnul.S: New file.
12473 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12475         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12476         definition.
12477         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12478         Likwise.
12479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12480         Likewise.
12481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12482         Likewise.
12483         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12484         Likewise.
12485         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12486         Likewise.
12488 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12490         * catgets/test-gencat.c: Use test-skeleton.c.
12491         * catgets/tst-catgets.c: Likewise.
12492         * csu/tst-empty.c: Likewise.
12493         * elf/tst-audit2.c: Likewise.
12494         * elf/tst-global1.c: Likewise.
12495         * elf/tst-pathopt.c: Likewise.
12496         * elf/tst-piemod1.c: Likewise.
12497         * elf/tst-tls10.c: Likewise.
12498         * elf/tst-tls11.c: Likewise.
12499         * elf/tst-tls12.c: Likewise.
12500         * gnulib/tst-gcc.c: Likewise.
12501         * iconvdata/tst-e2big.c: Likewise.
12502         * iconvdata/tst-loading.c: Likewise.
12503         * iconv/tst-iconv1.c: Likewise.
12504         * iconv/tst-iconv2.c: Likewise.
12505         * inet/test-inet6_opt.c: Likewise.
12506         * inet/tst-gethnm.c: Likewise.
12507         * inet/tst-network.c: Likewise.
12508         * inet/tst-ntoa.c: Likewise.
12509         * intl/tst-codeset.c: Likewise.
12510         * intl/tst-gettext2.c: Likewise.
12511         * intl/tst-gettext3.c: Likewise.
12512         * intl/tst-ngettext.c: Likewise.
12513         * intl/tst-translit.c: Likewise.
12514         * io/test-stat.c: Likewise.
12515         * libio/test-fmemopen.c: Likewise.
12516         * libio/tst-freopen.c: Likewise.
12517         * libio/tst-sscanf.c: Likewise.
12518         * libio/tst-ungetwc1.c: Likewise.
12519         * libio/tst-ungetwc2.c: Likewise.
12520         * libio/tst-widetext.c: Likewise.
12521         * localedata/tst-ctype.c: Likewise.
12522         * localedata/tst-digits.c: Likewise.
12523         * localedata/tst-leaks.c: Likewise.
12524         * localedata/tst-mbswcs1.c: Likewise.
12525         * localedata/tst-mbswcs2.c: Likewise.
12526         * localedata/tst-mbswcs3.c: Likewise.
12527         * localedata/tst-mbswcs4.c: Likewise.
12528         * localedata/tst-mbswcs5.c: Likewise.
12529         * localedata/tst-setlocale.c: Likewise.
12530         * localedata/tst-trans.c: Likewise.
12531         * localedata/tst-wctype.c: Likewise.
12532         * localedata/tst-xlocale1.c: Likewise.
12533         * login/tst-grantpt.c: Likewise.
12534         * malloc/tst-calloc.c: Likewise.
12535         * malloc/tst-malloc.c: Likewise.
12536         * malloc/tst-mallocstate.c: Likewise.
12537         * malloc/tst-mcheck.c: Likewise.
12538         * malloc/tst-mtrace.c: Likewise.
12539         * malloc/tst-obstack.c: Likewise.
12540         * math/atest-exp2.c: Likewise.
12541         * math/atest-exp.c: Likewise.
12542         * math/atest-sincos.c: Likewise.
12543         * math/test-matherr.c: Likewise.
12544         * math/test-misc.c: Likewise.
12545         * math/test-powl.c: Likewise.
12546         * math/tst-definitions.c: Likewise.
12547         * misc/tst-dirname.c: Likewise.
12548         * misc/tst-efgcvt.c: Likewise.
12549         * misc/tst-fdset.c: Likewise.
12550         * misc/tst-hsearch.c: Likewise.
12551         * misc/tst-mntent2.c: Likewise.
12552         * nptl/tst-sem7.c: Likewise.
12553         * nptl/tst-sem8.c: Likewise.
12554         * nptl/tst-sem9.c: Likewise.
12555         * nss/test-netdb.c: Likewise.
12556         * posix/tst-fnmatch.c: Likewise.
12557         * posix/tst-getlogin.c: Likewise.
12558         * posix/tst-gnuglob.c: Likewise.
12559         * posix/tst-mmap.c: Likewise.
12560         * pwd/tst-getpw.c: Likewise.
12561         * resolv/tst-inet_ntop.c: Likewise.
12562         * rt/tst-timer.c: Likewise.
12563         * stdio-common/test-fseek.c: Likewise.
12564         * stdio-common/test-popen.c: Likewise.
12565         * stdio-common/test-vfprintf.c: Likewise.
12566         * stdio-common/tst-cookie.c: Likewise.
12567         * stdio-common/tst-fileno.c: Likewise.
12568         * stdio-common/tst-gets.c: Likewise.
12569         * stdio-common/tst-obprintf.c: Likewise.
12570         * stdio-common/tst-perror.c: Likewise.
12571         * stdio-common/tst-sprintf2.c: Likewise.
12572         * stdio-common/tst-sprintf3.c: Likewise.
12573         * stdio-common/tst-sprintf.c: Likewise.
12574         * stdio-common/tst-swprintf.c: Likewise.
12575         * stdio-common/tst-tmpnam.c: Likewise.
12576         * stdio-common/tst-unbputc.c: Likewise.
12577         * stdio-common/tst-wc-printf.c: Likewise.
12578         * stdlib/tst-environ.c: Likewise.
12579         * stdlib/tst-fmtmsg.c: Likewise.
12580         * stdlib/tst-limits.c: Likewise.
12581         * stdlib/tst-rand48-2.c: Likewise.
12582         * stdlib/tst-rand48.c: Likewise.
12583         * stdlib/tst-random2.c: Likewise.
12584         * stdlib/tst-random.c: Likewise.
12585         * stdlib/tst-strtol.c: Likewise.
12586         * stdlib/tst-strtoll.c: Likewise.
12587         * stdlib/tst-tls-atexit.c: Likewise.
12588         * stdlib/tst-xpg-basename.c: Likewise.
12589         * string/test-ffs.c: Likewise.
12590         * string/tst-bswap.c: Likewise.
12591         * string/tst-inlcall.c: Likewise.
12592         * string/tst-strtok.c: Likewise.
12593         * string/tst-strxfrm.c: Likewise.
12594         * sysdeps/x86_64/tst-audit10.c: Likewise.
12595         * sysdeps/x86_64/tst-audit3.c: Likewise.
12596         * sysdeps/x86_64/tst-audit4.c: Likewise.
12597         * sysdeps/x86_64/tst-audit5.c: Likewise.
12598         * time/tst-ftime_l.c: Likewise.
12599         * time/tst-getdate.c: Likewise.
12600         * time/tst-mktime3.c: Likewise.
12601         * time/tst-mktime.c: Likewise.
12602         * time/tst-posixtz.c: Likewise.
12603         * time/tst-strptime2.c: Likewise.
12604         * time/tst-strptime3.c: Likewise.
12605         * wcsmbs/tst-btowc.c: Likewise.
12606         * wcsmbs/tst-mbrtowc.c: Likewise.
12607         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12608         * wcsmbs/tst-wchar-h.c: Likewise.
12609         * wcsmbs/tst-wcpncpy.c: Likewise.
12610         * wcsmbs/tst-wcrtomb.c: Likewise.
12611         * wcsmbs/tst-wcsnlen.c: Likewise.
12612         * wcsmbs/tst-wcstof.c: Likewise.
12614 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12616         [BZ #14132]
12617         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12618         INTDEF.
12619         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12620         declaration.
12621         (_dl_mcount): Use rtld_hidden_proto.
12622         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12623         _dl_mcount.
12624         * elf/rtld.c (_rtld_global_ro): Likewise.
12626         [BZ #14132]
12627         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12628         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12629         of _dl_init_internal.
12630         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12631         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12632         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12633         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12634         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12635         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12636         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12637         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12638         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12639         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12640         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12641         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12642         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12643         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12644         * sysdeps/tile/dl-start.S (_start): Likewise.
12645         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12646         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12648         [BZ #14132]
12649         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12650         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12651         (rtld_progname): Make macro definition unconditional.
12652         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12653         INTDEF.
12654         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12655         (dl_main): Likewise.
12656         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12657         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12658         instead of _dl_argv_internal.
12659         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12660         __GI__dl_argv instead of INTUSE(_dl_argv).
12661         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12662         __GI__dl_argv instead of _dl_argv_internal.
12664         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12665         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12666         macro.
12667         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12668         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12669         New macro.
12670         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12671         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12672         macro.
12673         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12674         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12676 2014-11-04  Andreas Schwab  <schwab@suse.de>
12678         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12680 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12682         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12683         mtvsrd instruction in binary form.
12685 2014-11-03  Andreas Schwab  <schwab@suse.de>
12687         [BZ #17522]
12688         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12689         for less than MB_LEN_MAX use a local buffer of that size.
12690         * libio/tst-fputws.c: New file.
12691         * libio/Makefile (tests): Add tst-fputws.
12693 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12695         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12696         the size of the fpu_fr.fpu_dregs[] array.
12698 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12700         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12701         (__nanosleep): Do not define as alias.
12702         (nanosleep): Define as alias of __nanosleep.
12703         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12704         __libc_nanosleep name.
12706 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12708         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12709         install.texi in comment.
12711 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12713         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12714         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12715         ... add here and use lwsync or sync ...
12716         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12717         ... and add here using lwsync.
12719 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12721         * elf/dl-machine-reject-phdr.h: New file.
12722         * elf/dl-load.c: #include that.
12723         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12724         if that returned true.
12726 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12728         [BZ #17496]
12729         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12730         gen-as-const-headers chunk.  Add a big scare comment after the last
12731         safe place to touch before-compile.
12733 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12735         * manual/install.texi (Tools for Compilation): Update autoconf
12736         version requirements.
12737         * INSTALL: Regenerated.
12739         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12740         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12741         (__libc_pselect): Likewise.
12743         [BZ #14138]
12744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12749 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12751         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12752         correct barrier instruction.
12753         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12754         Likewise.
12755         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12756         Likewise.
12758 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12760         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12761         after defining inlines.  Instead, just use parens to defeat macro
12762         expansion of __isctype in its declaration.
12764 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12766         * include/sys/uio.h (__libc_readv): Remove declaration.
12767         (__libc_writev): Likewise.
12768         * misc/readv.c (__libc_readv): Rename to __readv.
12769         (__readv): Do not define as alias.
12770         (readv): Define as alias of __readv.
12771         * misc/writev.c (__libc_writev): Rename to __writev.
12772         (__writev): Do not define as alias.
12773         (writev): Define as alias of __writev.
12774         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12775         (__readv): Do not define as alias.
12776         (readv): Define unconditionally as alias of __readv.
12777         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12778         (__writev): Do not define as alias.
12779         (writev): Define unconditionally as alias of __writev.
12780         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12781         name.
12782         (writev): Do not define __libc_writev name.
12784 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12786         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12787         (convert_charseq): New function, broken out of ...
12788         (use_from_charmap): ... here.  Call it.
12789         (use_to_charmap): Use convert_charseq and free instead of duplicating
12790         its code with a variable-length stack struct.
12792 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12794         * include/fcntl.h (__libc_creat): Remove declaration.
12795         * io/creat.c (__libc_creat): Rename to creat.
12796         (creat): Do not define as alias.
12797         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12798         of creat instead of __libc_creat.
12799         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12800         to creat.
12801         (creat): Do not define as alias.
12802         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12803         __libc_creat.
12804         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12805         __libc_creat name.
12806         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12807         Likewise.
12809 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12811         * manual/llio.texi: Add comments discussing why write() may be
12812         considered MT-unsafe on Linux.
12814 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12816         * dl-load.c (local_strdup): Remove.
12817         (expand_dynamic_string_token): Use __strdup.
12818         (decompose_rpath): Likewise.
12819         (_dl_map_object): Likewise.
12821 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12823         [BZ #14132]
12824         * sysdeps/generic/unwind-dw2-fde.c
12825         (__register_frame_info_bases_internal): Do not declare.
12826         (__register_frame_info_table_bases_internal): Likewise.
12827         (__deregister_frame_info_bases_internal): Likewise.
12828         (__register_frame_info_bases): Declare and use hidden_proto before
12829         definition.  Use hidden_def instead of INTDEF.
12830         (__register_frame_info_table_bases): Likewise.
12831         (__deregister_frame_info_bases): Likewise.
12832         (__register_frame_info): Do not use INTUSE.
12833         (__register_frame): Likewise.
12834         (__register_frame_info_table): Likewise.
12835         (__register_frame_table): Likewise.
12836         (__deregister_frame_info): Likewise.
12837         (__deregister_frame): Likewise.
12839 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12841         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12842         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12843         not undefine.
12844         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12845         Likewise.
12846         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12847         Likewise.
12849 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12851         [BZ #14138]
12852         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12853         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12854         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12855         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12856         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12857         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12858         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12859         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12860         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12861         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12862         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12863         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12864         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12865         syscall.
12866         (setfsuid): Likewise.
12867         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12868         (setfsuid): Likewise.
12869         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12870         (setfsuid): Likewise.
12871         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12872         Likewise.
12873         (setfsuid): Likewise.
12874         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12875         (setfsuid): Likewise.
12876         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12877         Likewise.
12878         (setfsuid): Likewise.
12880 2014-10-27  Andreas Schwab  <schwab@suse.de>
12882         [BZ #17501]
12883         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12884         check for Slow_SSE4_2 feature bit.
12885         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12886         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12887         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12888         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12890 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12892         * configure.ac: Validate compiler version with a empirical test of
12893         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12894         $CC -v output.
12895         * configure: Regenerated.
12897         * inet/htons.c (htons): Prototypify.
12898         * inet/htonl.c (htonl): Likewise.
12900 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12902         * string/strncat.c (strncat): Improve performance by using strlen.
12904 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12906         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12908 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12910         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12911         Call libc_fetestexcept_aarch64.
12913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12915         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12916         Call libc_feholdexcept_aarch64.
12918 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12920         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12921         Call get_rounding_mode.
12923 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12925         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12926         Simplify logic.
12928 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12930         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12931         Simplify logic.
12933 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12935         [BZ #14138]
12936         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12937         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12938         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12939         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12940         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12941         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12942         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12943         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12944         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12945         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12946         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12947         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12948         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12949         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12950         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12951         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12952         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12953         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12954         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12955         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12956         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12957         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12958         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12959         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12960         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12961         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12962         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12963         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12964         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12965         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12966         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12967         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12968         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12969         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12970         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12971         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12972         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12973         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12974         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12975         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12976         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12977         syscall.
12978         (geteuid): Likewise.
12979         (getgid): Likewise.
12980         (getuid): Likewise.
12981         (getresgid): Likewise.
12982         (getresuid): Likewise.
12983         (getgroups): Likewise.
12984         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12985         (geteuid): Likewise.
12986         (getgid): Likewise.
12987         (getuid): Likewise.
12988         (getresgid): Likewise.
12989         (getresuid): Likewise.
12990         (getgroups): Likewise.
12991         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12992         (geteuid): Likewise.
12993         (getgid): Likewise.
12994         (getuid): Likewise.
12995         (getresgid): Likewise.
12996         (getresuid): Likewise.
12997         (getgroups): Likewise.
12998         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12999         Likewise.
13000         (geteuid): Likewise.
13001         (getgid): Likewise.
13002         (getuid): Likewise.
13003         (getresgid): Likewise.
13004         (getresuid): Likewise.
13005         (getgroups): Likewise.
13006         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13007         (geteuid): Likewise.
13008         (getgid): Likewise.
13009         (getuid): Likewise.
13010         (getresgid): Likewise.
13011         (getresuid): Likewise.
13012         (getgroups): Likewise.
13013         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13014         Likewise.
13015         (geteuid): Likewise.
13016         (getgid): Likewise.
13017         (getuid): Likewise.
13018         (getgroups): Likewise.
13020         [BZ #14138]
13021         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13022         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13023         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13024         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13025         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13026         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13027         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13028         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13029         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13030         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13031         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13032         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13033         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13034         __chown.
13035         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13036         (lchown): Likewise.
13037         (fchown): Likewise.
13038         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13039         Likewise.
13040         (lchown): Likewise.
13041         (fchown): Likewise.
13042         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13043         (lchown): Likewise.
13044         (fchown): Likewise.
13045         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13046         Likewise.
13047         (lchown): Likewise.
13048         (fchown): Likewise.
13050 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13052         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13053         Simplify logic.
13055 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13057         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13058         Cleanup logic.
13060 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13062         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13063         Remove unused include.
13065 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13067         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13068         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13069         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13070         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13072 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13073             Helge Deller <deller@gmx.de>
13075         [BZ #17508]
13076         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13077         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13078         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13080 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13082         [BZ #14132]
13083         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13084         Remove macro definition.
13085         (__ashrdi3_v_glibc20): Likewise.
13086         (__lshrdi3_v_glibc20): Likewise.
13087         (__cmpdi2_v_glibc20): Likewise.
13088         (__ucmpdi2_v_glibc20): Likewise.
13089         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13090         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13091         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13092         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13093         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13094         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13096 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13098         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13099         old GNU extension [0] syntax.
13100         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13101         alloca rather than an array member with variable length.
13102         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13103         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13104         (parse_opt): ... here.  Likewise use alloca there.
13105         Validate the -i argument before checking for rootness.
13106         (send_shutdown): New function, broken out of ...
13107         (parse_opt): ... here.
13109 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13111         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13112         macro to get at the _rt_local_ro field.
13113         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13114         ([PIC] case) or _dl_hwcap ([!PIC] case).
13115         * sysdeps/arm/setjmp.S: Likewise.
13117         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13118         * sysdeps/arm/configure.ac: New check to define it.
13119         * sysdeps/arm/configure: Regenerated.
13120         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13121         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13122         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13123         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13124         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13125         Use move/movt pair instead of a load.
13126         (LDST_GLOBAL): Macro removed.
13127         (LDR_GLOBAL): New macro replaces it.
13128         (LDR_HIDDEN): New macro.
13129         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13130         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13132         * setjmp/tst-setjmp-static.c: New file.
13133         * setjmp/Makefile (tests): Add it.
13134         (tests-static): New variable.
13136 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13138         [BZ #17485]
13139         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13141 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13143         [BZ #14132]
13144         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13146 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13148         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13150 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13152         * io/fts.c (dirent_not_directory): New function.
13153         (fts_build): Call it.
13155 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13157         * nptl/version.c (__nptl_main): Use normal __write rather than
13158         INTERNAL_SYSCALL.
13159         (banner): Update copyright years.
13161         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13162         gettimeofday.
13163         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13164         * nptl/pthread_cond_timedwait.c: Likewise.
13165         * nptl/pthread_mutex_timedlock.c: Likewise.
13166         * nptl/sem_timedwait.c: Likewise.
13168         * sysdeps/nptl/bits/libc-lock.h
13169         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13170         (__libc_lock_init_recursive): Return void, not 0.
13171         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13172         (__libc_rwlock_init): Likewise.
13173         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13175 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13177         [BZ #15215]
13178         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13179         (__pthread_once_slow): ... here.
13180         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13181         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13183 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13185         [BZ #15215]
13186         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13187         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13188         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13189         * nptl/pthread_once.c (__pthread_once): Likewise.
13190         Update comments.
13192 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13194         [BZ #14138]
13195         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13196         name.
13197         (writev): Use __libc_writev as strong name.
13198         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13199         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13201 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13203         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13205         * sysdeps/i386/nptl/tls.h
13206         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13207         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13208         New macros.
13209         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13210         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13211         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13212         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13213         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13214         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13216         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13217         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13218         on [__NR_futex].
13219         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13220         broken out of ...
13221         (__pthread_mutex_init): ... here.  Call it.
13222         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13223         Conditionalize PI cases on [__NR_futex].
13224         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13225         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13226         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13228         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13229         conditional on [SIGSETXID].
13230         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13231         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13232         is defined.  Likewise for SIGSETXID.
13233         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13234         Conditionalize definitions on [SIGSETXID].
13235         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13236         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13237         unblocking on [SIGCANCEL].
13239         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13240         [__NR_set_robust_list].
13242 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13244         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13245         (do_compare): Likewise.
13247 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13249         [BZ #15884]
13250         * string/strcoll_l.c: Don't include stdio.h.
13251         (coll_seq): Remove members idxarr and rulearr.
13252         (get_next_seq_cached): Remove function.
13253         (get_next_seq): Likewise.
13254         (get_next_seq_nocache): Rename to get_next_seq.
13255         (do_compare): Remove function.
13256         (do_compare_nocache): Rename to do_compare.
13257         (STRCOLL): Remove weight and rules cache.
13259 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13261         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13262         * sysdeps/arm/sfp-machine.h: ... to here.
13263         * sysdeps/arm/Implies: Remove arm/soft-fp.
13265 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13267         * conform/data/sys/utsname.h-data (*_t): Allow.
13268         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13269         [POSIX] (WEXITED): Do not expect constant.
13270         [POSIX] (WSTOPPED): Likewise.
13271         [POSIX] (WNOHANG): Likewise.
13272         [POSIX] (WNOWAIT): Likewise.
13273         [POSIX] (siginfo_t): Do not expect type or elements.
13274         [POSIX] (pid_t): Do not expect type.
13275         [POSIX] (signal.h): Do not allow header.
13276         [POSIX] (sys/resource.h): Likewise.
13277         [POSIX] (si_*): Do not allow pattern.
13278         [POSIX] (W*): Likewise.
13279         [POSIX] (P_*): Likewise.
13280         [POSIX] (BUS_*): Likewise.
13281         [POSIX] (CLD_*): Likewise.
13282         [POSIX] (FPE_*): Likewise.
13283         [POSIX] (ILL_*): Likewise.
13284         [POSIX] (POLL_*): Likewise.
13285         [POSIX] (SEGV_*): Likewise.
13286         [POSIX] (SI_*): Likewise.
13287         [POSIX] (TRAP_*): Likewise.
13288         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13289         variable.
13291 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13293         [BZ #12926]
13294         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13295         infinite loop when __recvmsg returns 0.
13297 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13299         * CANCEL-FCT-WAIVE: Remove file.
13300         * CANCEL-FILE-WAIVE: Likewise.
13302         [BZ #14132]
13303         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13304         instead of INTVARDEF.
13305         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13306         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13307         rtld_hidden_data_def instead of INTVARDEF.
13308         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13309         * elf/dl-deps.c (expand_dst): Likewise.
13310         * elf/dl-load.c (_dl_dst_count): Likewise.
13311         (_dl_dst_substitute): Likewise.
13312         (decompose_rpath): Likewise.
13313         (_dl_init_paths): Likewise.
13314         (open_path): Likewise.
13315         (_dl_map_object): Likewise.
13316         * elf/rtld.c (dl_main): Likewise.
13317         (process_dl_audit): Likewise.
13318         (process_envvars): Likewise.
13319         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13320         Remove declaration.
13321         (__libc_enable_secure): Use rtld_hidden_proto.
13323 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13325         * elf/dl-load.c
13326         (add_path): New function broken out of _dl_rtld_di_serinfo.
13327         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13329 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13331         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13332         parentheses around macro arguments.
13333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13337         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13338         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13339         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13341         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13344         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13345         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13346         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13347         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13348         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13349         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13351         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13362         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13365         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13366         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13367         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13368         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13369         Likewise.
13370         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13371         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13374         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13377         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13378         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13379         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13380         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13381         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13382         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13383         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13384         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13387         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13390         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13391         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13392         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13393         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13394         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13395         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13396         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13397         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13398         (_FP_FRAC_SRS_1): Likewise.
13399         (_FP_FRAC_CLZ_1): Likewise.
13400         (_FP_MUL_MEAT_1_imm): Likewise.
13401         (_FP_MUL_MEAT_1_wide): Likewise.
13402         (_FP_MUL_MEAT_1_hard): Likewise.
13403         (_FP_SQRT_MEAT_1): Likewise.
13404         (_FP_FRAC_ASSEMBLE_1): Likewise.
13405         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13406         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13407         (__FP_CLZ_2): Likewise.
13408         (_FP_MUL_MEAT_2_wide): Likewise.
13409         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13410         (_FP_MUL_MEAT_2_gmp): Likewise.
13411         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13412         (_FP_SQRT_MEAT_2): Likewise.
13413         (_FP_FRAC_ASSEMBLE_2): Likewise.
13414         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13415         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13416         (_FP_FRAC_CLZ_4): Likewise.
13417         (_FP_MUL_MEAT_4_wide): Likewise.
13418         (_FP_MUL_MEAT_4_gmp): Likewise.
13419         (_FP_SQRT_MEAT_4): Likewise.
13420         (_FP_FRAC_ASSEMBLE_4): Likewise.
13421         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13422         * soft-fp/op-common.h (_FP_CMP): Likewise.
13423         (_FP_CMP_EQ): Likewise.
13424         (_FP_CMP_UNORD): Likewise.
13425         (_FP_TO_INT): Likewise.
13426         (_FP_FROM_INT): Likewise.
13427         [!__FP_CLZ] (__FP_CLZ): Likewise.
13428         (_FP_DIV_HELP_imm): Likewise.
13429         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13430         Likewise.
13431         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13433         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13434         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13435         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13436         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13437         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13438         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13439         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13440         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13441         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13442         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13443         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13444         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13445         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13446         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13447         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13449         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13451         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13459         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13460         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13461         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13462         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13463         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13464         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13465         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13466         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13467         (FP_UNPACK_RAW_SP): Likewise.
13468         (FP_PACK_RAW_S): Likewise.
13469         (FP_PACK_RAW_SP): Likewise.
13470         (FP_UNPACK_S): Likewise.
13471         (FP_UNPACK_SP): Likewise.
13472         (FP_UNPACK_SEMIRAW_S): Likewise.
13473         (FP_UNPACK_SEMIRAW_SP): Likewise.
13474         (FP_PACK_S): Likewise.
13475         (FP_PACK_SP): Likewise.
13476         (FP_PACK_SEMIRAW_S): Likewise.
13477         (FP_PACK_SEMIRAW_SP): Likewise.
13478         (_FP_SQRT_MEAT_S): Likewise.
13479         (FP_CMP_S): Likewise.
13480         (FP_CMP_EQ_S): Likewise.
13481         (FP_CMP_UNORD_S): Likewise.
13482         (FP_TO_INT_S): Likewise.
13483         (FP_FROM_INT_S): Likewise.
13485         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13487         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13488         (FP_EX_INVALID_IMZ): Likewise.
13489         (FP_EX_INVALID_IMZ_FMA): Likewise.
13490         (FP_EX_INVALID_ISI): Likewise.
13491         (FP_EX_INVALID_ZDZ): Likewise.
13492         (FP_EX_INVALID_IDI): Likewise.
13493         (FP_EX_INVALID_SQRT): Likewise.
13494         (FP_EX_INVALID_CVI): Likewise.
13495         (FP_EX_INVALID_VC): Likewise.
13496         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13497         "invalid" exceptions.
13498         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13499         (_FP_ADD_INTERNAL): Likewise.
13500         (_FP_MUL): Likewise.
13501         (_FP_FMA): Likewise.
13502         (_FP_DIV): Likewise.
13503         (_FP_CMP_CHECK_NAN): Likewise.
13504         (_FP_SQRT): Likewise.
13505         (_FP_TO_INT): Likewise.
13506         (FP_EXTEND): Likewise.
13508 2014-10-09  Allan McRae  <allan@archlinux.org>
13510         * po/fr.po: Update French translation from translation project.
13512 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13514         [BZ #14132]
13515         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13516         of INTDEF.
13517         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13518         (__cxa_atexit): Use libc_hidden_proto.
13519         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13521         [BZ #14132]
13522         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13523         declaration.
13524         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13525         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13526         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13527         [!_ISOMAC] (__iswctype_internal): Likewise.
13528         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13529         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13530         alias.
13531         (fcntl): Remove __fcntl_internal alias.
13532         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13533         __connect_internal alias.
13534         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13535         Likewise.
13537         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13538         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13539         FP_DENORM_ZERO.
13540         (_FP_CHECK_FLUSH_ZERO): New macro.
13541         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13542         (_FP_CMP): Likewise.
13543         (_FP_CMP_EQ): Likewise.
13544         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13545         FP_DENORM_ZERO.
13546         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13547         (FP_TRUNC): Likewise.
13549         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13550         treated as invalid conversion, not as normal exponent.
13552         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13553         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13554         (_FP_CMP_EQ): Likewise.
13555         (_FP_CMP_UNORD): Likewise.
13556         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13557         (FP_CMP_EQ_D): Likewise.
13558         (FP_CMP_UNORD_D): Likewise.
13559         * soft-fp/extended.h (FP_CMP_E): Likewise.
13560         (FP_CMP_EQ_E): Likewise.
13561         (FP_CMP_UNORD_E): Likewise.
13562         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13563         (FP_CMP_EQ_Q): Likewise.
13564         (FP_CMP_UNORD_Q): Likewise.
13565         * soft-fp/single.h (FP_CMP_S): Likewise.
13566         (FP_CMP_EQ_S): Likewise.
13567         (FP_CMP_UNORD_S): Likewise.
13568         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13569         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13570         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13571         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13572         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13573         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13574         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13575         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13576         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13577         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13578         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13579         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13580         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13581         to FP_CMP_Q.
13582         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13583         FP_CMP_Q.
13584         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13585         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13586         FP_CMP_EQ_Q.
13587         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13588         FP_CMP_Q.
13589         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13590         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13591         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13592         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13593         FP_CMP_EQ_Q.
13594         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13595         FP_CMP_Q.
13596         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13597         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13598         FP_CMP_EQ_Q.
13599         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13600         FP_CMP_Q.
13601         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13602         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13603         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13604         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13605         FP_CMP_EQ_Q.
13607         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13608         a subnormal result, set the underflow exception if trapping on
13609         underflow is enabled.
13610         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13611         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13612         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13613         redefine to 0.
13614         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13615         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13616         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13617         * soft-fp/extendxftf2.c (__extendxftf2): Use
13618         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13620         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13621         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13622         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13623         FP_HANDLE_EXCEPTIONS.
13624         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13625         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13626         FP_HANDLE_EXCEPTIONS.
13627         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13628         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13629         FP_HANDLE_EXCEPTIONS.
13630         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13631         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13632         FP_HANDLE_EXCEPTIONS.
13634 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13636         [BZ #14132]
13637         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13638         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13639         use INTUSE.
13640         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13641         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13642         Remove alias.
13643         (__adjtimex): Define using libc_hidden_ver.
13644         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13645         Remove declaration.
13646         (ntp_gettime): Call __adjtimex directly.
13647         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13648         Remove declaration.
13649         (ntp_gettimex): Call __adjtimex directly.
13650         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13651         __adjtimex_internal alias.
13653 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13655         [BZ #17460]
13656         * nscd/nscd.c (more_help): Rewrite list of tables collection
13657         using xstrdup and asprintf.
13659         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13661 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13662             Roland McGrath  <roland@hack.frob.com>
13664         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13665         (do_lookup_unique): ... local function 'enter' here; update callers.
13667 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13669         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13670         compat_symbol calls on [SHARED].
13671         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13672         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13673         Remove.
13674         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13675         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13676         (oldsetrlimit): Remove.
13677         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13679         (lchown): New syscall entry.
13680         (oldsetrlimit): Remove.
13681         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13682         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13683         (oldsetrlimit): Remove.
13684         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13686         [BZ #14138]
13687         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13688         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13689         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13690         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13691         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13692         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13693         (fchown): Likewise.
13694         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13695         (fchown): Likewise.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13697         Likewise.
13699 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13701         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13702         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13703         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13704         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13705         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13706         Likewise.
13707         (__old_sem_post): Likewise.
13709 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13711         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13712         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13713         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13714         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13715         Use INLINE_VSYSCALL macro.
13716         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13717         __vdso_clock_gettime.
13718         * sysdeps/unix/sysv/linux/tile/init-first.c
13719         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13720         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13721         __vdso_clock_gettime.
13723         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13724         to set up frame more cleanly.
13726         * sysdeps/tile/memcmp.c: New file.
13728         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13730         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13731         * sysdeps/tile/tilegx/strcasestr.c: New file.
13732         * sysdeps/tile/tilegx/strnlen.c: New file.
13733         * sysdeps/tile/tilegx/strstr.c: New file.
13735         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13737 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13739         * nptl/tst-setuid3.c: Write errors to stdout.
13741 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13743         * elf/dl-deps.c
13744         (preload): New functions broken out of _dl_map_object_deps.
13745         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13747 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13749         [BZ #14138]
13750         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13751         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13753 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13755         * sysdeps/mips/strcmp.S: New.
13757 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13759         [BZ #14138]
13760         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13761         (linkat): Likewise.
13762         (mkdirat): Likewise.
13763         (readlinkat): Likewise.
13764         (renameat): Likewise.
13765         (symlinkat): Likewise.
13766         (unlinkat): Likewise.
13767         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13768         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13769         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13770         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13771         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13772         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13773         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13775 2014-09-30  Will Newton  <will.newton@linaro.org>
13777         * math/math.h: Define long double math functions if
13778         _LIBC_TEST is defined.
13779         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13781         * localedata/Makefile: Move assignment to tests-special
13782         into an ifdef testing run-built-tests.
13783         * timezone/Makefile: Likewise.
13785 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13787         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13788         with $(BASH) not $(SHELL).
13790 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13791             Matthew LeGendre  <legendre1@llnl.gov>
13793         [BZ #17411]
13794         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13795         l_reloc_result.
13797 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13799         * stdio-common/printf_fp.c
13800         (hack_digit): New function, broken out of ...
13801         (__printf_fp): ... local function here.  Update call sites.
13802         hack_digit now takes an additional parameter that is a pointer
13803         to a struct of the referenced locals.  Those locals moved inside
13804         the struct and references updated.
13806 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13808         * aclocal.m4: Require autoconf 2.69.
13809         * configure: Regenerated.
13810         * sysdeps/aarch64/configure: Likewise.
13811         * sysdeps/alpha/configure: Likewise.
13812         * sysdeps/arm/armv7/configure: Likewise.
13813         * sysdeps/arm/configure: Likewise.
13814         * sysdeps/ia64/configure: Likewise.
13815         * sysdeps/mach/configure: Likewise.
13816         * sysdeps/mips/configure: Likewise.
13817         * sysdeps/s390/configure: Likewise.
13818         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13821         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13822         file.
13823         * sysdeps/ia64/configure.ac: Likewise.
13825 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13828         specify symbol version for ld.so.  Do not include entry for
13829         libpthread.
13830         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13831         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13832         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13834         [BZ #14171]
13835         * Makeconfig [$(build-shared) = yes]
13836         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13837         makefiles.
13838         [$(build-shared) = yes && $(soversions.mk-done) = t]
13839         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13840         [$(build-shared) = yes && $(soversions.mk-done) = t]
13841         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13842         to Makerules.
13843         [$(build-shared) = yes && $(soversions.mk-done) = t]
13844         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13845         here.
13846         [$(build-shared) = yes && $(soversions.mk-done) = t]
13847         (common-generated): Don't append gnu/lib-names.h and
13848         gnu/lib-names.stmp here.
13849         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13850         (lib-names-h-abi): New variable.
13851         [$(build-shared) = yes && $(soversions.mk-done) = t]
13852         (lib-names-stmp-abi): Likewise.
13853         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13854         abi-variants] (before-compile): Append
13855         $(common-objpfx)$(lib-names-h-abi).
13856         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13857         abi-variants] (common-generated): Append gnu/lib-names.h.
13858         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13859         abi-variants] (install-others-nosubdir): Depend on
13860         $(inst_includedir)/$(lib-names-h-abi).
13861         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13862         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13863         [$(build-shared) = yes && $(soversions.mk-done) = t]
13864         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13865         [$(build-shared) = yes && $(soversions.mk-done) = t]
13866         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13867         [$(build-shared) = yes && $(soversions.mk-done) = t]
13868         (common-generated): Append $(lib-names-h-abi) and
13869         $(lib-names-stmp-abi).
13870         * scripts/lib-names.awk: Do not handle multi being set.
13871         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13872         Remove variable.
13873         (abi-lp64_be-ld-soname): Likewise.
13874         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13875         Likewise.
13876         (abi-hard-ld-soname): Likewise.
13877         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13878         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13879         Remove variable.
13880         (abi-o32_hard-ld-soname): Likewise.
13881         (abi-o32_soft_2008-ld-soname): Likewise.
13882         (abi-o32_hard_2008-ld-soname): Likewise.
13883         (abi-n32_soft-ld-soname): Likewise.
13884         (abi-n32_hard-ld-soname): Likewise.
13885         (abi-n32_soft_2008-ld-soname): Likewise.
13886         (abi-n32_hard_2008-ld-soname): Likewise.
13887         (abi-n64_soft-ld-soname): Likewise.
13888         (abi-n64_hard-ld-soname): Likewise.
13889         (abi-n64_soft_2008-ld-soname): Likewise.
13890         (abi-n64_hard_2008-ld-soname): Likewise.
13891         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13892         Likewise.
13893         (abi-64-v2-ld-soname): Likewise.
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13895         ld.so entries.
13896         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13897         variable.
13898         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13899         entry.
13900         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13901         variable.
13902         (abi-64-ld-soname): Likewise.
13903         (abi-x32-ld-soname): Likewise.
13904         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13905         entry.
13906         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13908 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13910         [BZ #14138]
13911         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13912         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13913         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13914         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13915         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13916         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13917         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13918         syscall entry for GLIBC_2.2 symbol version.
13919         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13920         Likewise.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13922         (setrlimit): Likewise.
13923         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13924         Likewise.
13926 2014-09-23  Will Newton  <will.newton@linaro.org>
13928         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13929         _LINUX_ARM_SYSDEP_H include guard too.
13930         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13931         define.
13933 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13935         * sysdeps/unix/sysv/linux/eventfd.c:
13936         Make first argument unsigned.
13937         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13938         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13940 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13942         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13943         * socket/sys/socket.h: Likewise
13944         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13946 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13948         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13950 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13952         * time/tst-ftime.c: New test.
13953         * time/Makefile (tests): Add tst-ftime.
13955 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13957         * soft-fp/extended.h: Fix comment formatting.
13958         * soft-fp/op-1.h: Likewise.
13959         * soft-fp/op-2.h: Likewise.
13960         * soft-fp/op-4.h: Likewise.
13961         * soft-fp/op-8.h: Likewise.
13962         * soft-fp/op-common.h: Likewise.
13963         * soft-fp/soft-fp.h: Likewise.
13965         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13967 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13969         [BZ #6652]
13970         * Makeconfig (soversions-default-setname): Remove variable.
13971         ($(common-objpfx)soversions.i): Don't pass default_setname to
13972         soversions.awk.
13973         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13974         oldest_abi to abi-versions.awk.
13975         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13976         * config.make.in (oldest-abi): Remove variable.
13977         * configure.ac (--enable-oldest-abi): Remove configure option.
13978         * configure: Regenerated.
13979         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13980         text.
13981         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13982         * scripts/soversions.awk: Do not handle default_setname variable.
13983         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13984         variable.
13985         * sysdeps/mach/hurd/configure: Regenerated.
13986         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13987         variable.
13988         * sysdeps/unix/sysv/linux/configure: Regenerated.
13990 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13992         * elf/Makefile (CFLAGS-interp.c): Remove.
13993         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13994         path string.
13995         * elf/interp.c: Include generated runtime-linker.h
13997         * Makerules (lib%.so): Don't include $(+interp) in
13998         prerequisites.
13999         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14000         * dlfcn/eval.c: Remove file.
14002         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14003         macros.
14005         [BZ #17266]
14006         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14007         4.2 and newer.
14009         [BZ #17370]
14010         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14012 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14013             Jakub Jelinek  <jakub@redhat.com>
14015         [BZ #17266]
14016         * libio/stdio.h: Check definition of __fortify_function
14017         instead of __extern_always_inline to include bits/stdio2.h.
14018         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14019         check if __extern_always_inline is defined.
14020         [__USE_MISC || __USE_XOPEN]: Likewise.
14021         [__USE_ISOC99] Likewise.
14022         * misc/sys/cdefs.h (__fortify_function): Define only if
14023         __extern_always_inline is defined.
14024         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14025         __extern_always_inline and __extern_inline only for g++-4.3
14026         and newer or a compatible gcc.
14028 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14030         [BZ #17371]
14031         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14032         last change to handle zero prefix length.
14034 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14036         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14037         _SC_REGEX_VERSION.
14039         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14040         _POSIX_RAW_SOCKETS.
14042 2014-09-13  Allan McRae  <allan@archlinux.org>
14044         * po/ru.po: Update Russian translation from translation project.
14046 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14048         * locale/programs/locale.c (show_locale_vars): Inline local function
14049         into its sole call site.  Clean up some style nits.
14050         (print_item): New function, broken out of ...
14051         (show_info): ... local function here.  Clean up style nits.
14053         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14054         out of ...
14055         (set_class_defaults): ... local function set_default here.
14056         Define set_default as a macro locally to pass constant parameters.
14057         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14058         rather than a shared local.
14060         * stdlib/rpmatch.c (try): New function, broken out of ...
14061         (rpmatch): ... local function here.  Also, prototypify definition.
14063 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14065         * scripts/soversions.awk: Do not handle configuration names.
14066         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14067         vendor and os variables to soversions.awk.
14068         * configure.ac: Do not modify gnu-* host_os.
14069         * configure: Regenerated
14070         * shlib-versions: Remove first column with configuration names.
14071         * nptl/shlib-versions: Likewise.
14072         * nptl_db/shlib-versions: Likewise.
14073         * sysdeps/hppa/shlib-versions: Likewise.
14074         * sysdeps/m68k/shlib-versions: Likewise.
14075         * sysdeps/mach/hurd/shlib-versions: Likewise.
14076         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14077         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14078         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14079         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14080         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14081         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14082         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14083         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14085         Likewise.
14086         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14087         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14088         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14089         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14090         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14091         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14092         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14093         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14096         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14098         Regenerated.
14099         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14101         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14103         * shlib-versions: Remove OS-specific entries.  Moved to files in
14104         sysdeps.
14105         * sysdeps/mach/hurd/shlib-versions: New file.
14106         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14108         * nptl/shlib-versions: Remove architecture-specific entries.
14109         Moved to files in sysdeps.
14110         * shlib-versions: Likewise.
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14112         file.
14113         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14114         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14115         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14116         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14118         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14119         (UDP_NO_CHECK6_RX): Likewise.
14121 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14123         * sysdeps/posix/sysconf.c (__sysconf): Spell
14124         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14126 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14128         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14129         loading.
14130         * iconv/Versions (__gconv_transliterate): Export for use from
14131         gconv modules.
14132         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14133         (struct __gconv_trans_data, __gconv_trans_fct,
14134         __gconv_trans_context_fct, __gconv_trans_query_fct,
14135         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14136         definitions.
14137         (struct __gconv_step_data): Remove __trans member.
14138         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14139         longer hidden.  Remove unused trans_data argument.
14140         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14141         (__gconv_translit_find): Remove declaration.
14142         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14143         prototype.
14144         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14145         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14146         trans_data argument.  Add hidden definition.
14147         (__gconv_translit_find): Remove.
14148         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14149         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14150         * iconv/skeleton.c: Remove transliteration initialization.
14151         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14152         __gconv_step_data initialization.
14153         * libio/iofwide.c (__libio_translit_): Remove.
14154         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14155         * wcsmbs/btowc.c (__btowc): Likewise.
14156         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14157         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14158         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14159         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14160         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14161         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14162         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14163         * wcsmbs/wctob.c (wctob): Likewise.
14165 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14167         [BZ #16194]
14168         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14169         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14170         register usage.
14171         * sysdeps/x86/Makefile: Adjust.
14173 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14174             Roland McGrath  <roland@hack.frob.com>
14176         * locale/weight.h: Add include guard.
14177         (findidx): Make static rather than auto; take new parameters
14178         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14179         * locale/weightwc.h: Likewise.
14180         * posix/fnmatch_loop.c
14181         (FCT): Change type of EXTRA from int32_t to wint_t.
14182         Don't include either header inside the function.
14183         Call FINDIDX rather than findidx, and pass new arguments.
14184         #undef FINDIDX at the end of the file.
14185         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14186         FINDIDX before including fnmatch_loop.c for the non-wide version.
14187         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14188         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14189         for the wide version.
14190         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14191         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14192         Pass new arguments to findidx.
14193         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14194         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14195         Don't #include it inside the function.  Pass new arguments to findidx.
14196         * posix/regex_internal.h
14197         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14198         (re_string_elem_size_at): Don't #include it inside the function.
14199         Pass new arguments to findidx.
14200         * string/strcoll_l.c: #include WEIGHT_H at top level.
14201         (get_next_seq): Don't #include it inside the function.
14202         Pass new arguments to findidx.
14203         (get_next_seq_nocache): Likewise.
14204         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14205         (STRXFRM): Don't #include it inside the function.
14206         Pass new arguments to findidx.
14208 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14210         [BZ #17344]
14211         * malloc/malloc.c (unlink): Turn asserts into a call to
14212         malloc_printerr.
14214 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14216         [BZ #17370]
14217         * libio/wfileops (do_ftell_wide): Free OUT.
14219 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14221         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14223 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14225         [BZ #17363]
14226         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14227         group if the current group is empty.
14229 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14231         * benchtests/bench-memset.c (test_main): Add more test from size
14232         from 32 to 512 bytes.
14233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14234         Add POWER8 memset object.
14235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14236         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14237         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14238         implementation.
14239         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14240         Likewise.
14241         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14242         multiarch POWER8 memset optimization.
14243         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14244         POWER8 memset optimization.
14246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14247         Remove bzero multiarch objects.
14248         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14251         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14252         Remove define.
14253         [__bzero]: Redefine to specific name.
14254         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14255         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14256         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14257         define.
14258         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14259         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14261 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14263         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14264         warnings into errors.
14266         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14267         __cxa_thread_atexit_impl prototype.
14269 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14271         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14272         Fix capitalization of error message.
14274 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14276         * sysdeps/mips/preconfigure: Modify ABI tests.
14278 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14280         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14282 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14283             Carlos O'Donell  <carlos@systemhalted.org>
14285         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14286         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14287         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14288         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14289         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14291         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14292         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14293         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14298         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14300         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14301         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14302         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14303         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14304         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14305         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14306         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14307         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14308         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14309         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14310         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14311         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14312         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14313         Deconditionalize the code that was previously under [RESET_PID].
14314         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14315         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14316         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14317         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14318         include sysdep.h.
14320 2014-09-08  Allan McRae  <allan@archlinux.org>
14322         * version.h (RELEASE): Set to "development".
14323         (VERSION): Set to "2.20.90"
14325 2014-09-07  Allan McRae  <allan@archlinux.org
14327         * version.h (RELEASE): Set to "stable".
14328         (VERSION): Set to "2.20"
14329         * include/features.h (__GLIBC_MINOR__): Set to 20.
14331         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14332         Liebler.
14334         * po/ko.po: Update Korean translation from translation project.
14336 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14338         [BZ #17354]
14339         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14340         macro for handling signed relocations.
14342 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14344         [BZ #17325]
14345         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14346         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14347         assert.
14348         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14349         * iconvdata/ibm935.c (BODY): Likewise.
14350         * iconvdata/ibm937.c (BODY): Likewise.
14351         * iconvdata/ibm939.c (BODY): Likewise.
14352         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14353         assert.
14354         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14355         script.
14356         * iconvdata/run-iconv-test.sh: New test loop for checking for
14357         decoder crashers.
14359 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14361         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14362         libm_hidden_ver.
14364 2014-09-01  Allan McRae  <allan@archlinux.org>
14366         * po/eo.po: Update Esperanto translation from translation project.
14368         * po/ca.po: Update Catalan translation from translation project.
14370 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14372         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14373         __proc_dostop call.
14375 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14377         [BZ #17319]
14378         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14379         to call set_thread_area instead of hand written asm.
14380         (__NR_set_thread_area): Removed define.
14381         (TLS_FLAG_WRITABLE): Likewise.
14382         (__ASSUME_SET_THREAD_AREA): Remove check.
14383         (TLS_EBX_ARG): Remove define.
14384         (TLS_LOAD_EBX): Likewise.
14386 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14388         Simplify atomicity of socket creation in bind.
14390         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14391         looking up the name after linking the file.
14393 2014-08-27  Allan McRae  <allan@archlinux.org>
14395         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14397 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14399         [BZ #17187]
14400         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14401         trans_compare, open_translit, __gconv_translit_find):
14402         Remove module loading code.
14404 2014-08-26  Allan McRae  <allan@archlinux.org>
14406         * po/vi.po: Update Vietnamese translation from translation project.
14408         * po/uk.po: Update Ukrainian translation from translation project.
14410         * po/fr.po: Update French translation from translation project.
14412         * po/ru.po: Update Russian translation from translation project.
14414         * po/pl.po: Update Polish translation from translation project.
14416         * po/cs.po: Update Czech translation from translation project.
14418         * po/de.po: Update German translation from translation project.
14420         * po/bg.po: Update Bulgarian translation from translation project.
14422         * po/sv.po: Update Sweedish translation from translation project.
14424         * po/nl.po: Update Dutch translation from translation project.
14426         * po/es.po: Update Spanish translation from translation project.
14428 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14430         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14432         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14433         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14434         (CPPFLAGS-iconvconfig): Likewise.
14435         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14437         * include/libc-symbols.h: Remove unnecessary check for
14438         NOT_IN_libc.
14439         * nptl/pthreadP.h: Likewise.
14440         * sysdeps/aarch64/setjmp.S: Likewise.
14441         * sysdeps/alpha/setjmp.S: Likewise.
14442         * sysdeps/arm/sysdep.h: Likewise.
14443         * sysdeps/i386/setjmp.S: Likewise.
14444         * sysdeps/m68k/setjmp.c: Likewise.
14445         * sysdeps/posix/getcwd.c: Likewise.
14446         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14447         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14448         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14449         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14450         * sysdeps/sh/sh3/setjmp.S: Likewise.
14451         * sysdeps/sh/sh4/setjmp.S: Likewise.
14452         * sysdeps/unix/alpha/sysdep.h: Likewise.
14453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14454         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14455         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14456         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14461         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14464         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14466         * sysdeps/x86_64/setjmp.S: Likewise.
14468 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14470         [BZ #17263]
14471         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14472         <stdint.h>.
14473         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14474         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14476 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14478         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14480         [BZ #17262]
14481         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14482         and __x86_64__ when disabling x87 inline functions.
14484 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14486         [BZ #17259]
14487         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14488         asm statement with __cpuid_count.
14490 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14492         * configure.ac: Change __ehdr_start code to dereference the struct.
14493         Run readelf on the output to look for relocations.
14494         * configure: Regenerated.
14496 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14498         [BZ #17261]
14499         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14500         value to 0.
14501         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14503 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14505         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14507 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14509         [BZ #16892]
14510         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14511         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14513 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14515         * malloc/malloc.c: Fix typo in comment.
14517 2014-08-09  Allan McRae  <allan@archlinux.org>
14519         * Regenerate libc.po.
14521 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14523         * intl/tst-gettext2.sh: Check every lang file for creation.
14525 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14527         * sysdeps/aarch64/fpu/math_private.h
14528         (libc_feholdsetround_noex_aarch64_ctx): New function.
14530 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14532         * sysdeps/arm/armv6/strcpy.S (strcpy):
14533         Fix performance issue in misaligned cases.
14535 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14537         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14538         Move definition from termios.h.
14539         (struct termio): Likewise.
14540         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14541         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14542         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14543         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14544         Likewise.
14545         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14546         Move definition to ioctl-types.h
14547         (struct termio): Likewise.
14548         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14549         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14550         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14551         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14552         Likewise.
14554 2014-08-05  Richard Henderson  <rth@redhat.com>
14556         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14557         exceptions.
14558         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14559         Add fraiseexcpt.
14560         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14561         Use __feraiseexcept.
14562         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14563         Protect libm symbols with IS_IN_libm.
14565         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14567 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14569         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14571 2014-08-04  Will Newton  <will.newton@linaro.org>
14573         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14574         file.
14576 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14578         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14579         variants for each function.
14581 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14583         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14584         appended ...
14585         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14586         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14587         appended ...
14588         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14589         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14590         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14591         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14592         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14593         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14594         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14595         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14596         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14597         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14598         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14600         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14601         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14602         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14603         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14604         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14605         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14606         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14607         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14608         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14609         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14610         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14611         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14612         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14613         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14614         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14615         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14616         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14617         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14618         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14619         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14620         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14621         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14622         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14623         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14624         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14625         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14626         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14627         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14628         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14630         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14632         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14634         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14635         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14636         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14637         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14638         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14639         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14640         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14641         Update #include.
14642         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14643         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14645 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14647         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14648         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14649         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14650         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14651         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14652         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14654 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14656         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14657         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14658         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14659         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14661 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14663         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14664         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14665         (__libc_vfork): Define function under this name.
14666         (__vfork): Define as an alias.
14667         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14668         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14670 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14672         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14673         that was previously under [RESET_PID].
14674         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14676 2014-08-04  Andreas Schwab  <schwab@suse.de>
14678         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14680 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14682         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14683         (main): Likewise.
14685 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14687         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14689 2014-08-01  Richard Henderon  <rth@redhat.com>
14691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14692         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14693         typo in exact zero test.
14694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14695         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14698 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14700         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14701         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14702         * sysdeps/arm/sysdep.h: ... here.
14703         [!__ASSEMBLER__]: Include <stdint.h>.
14705 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14707         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14708         (HAVE_WCTYPE_H): Likewise.
14709         (HAVE_ISWCTYPE): Likewise.
14710         (ENABLE_NLS): Likewise.
14711         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14712         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14714         * posix/regex_internal.c: Check if DEBUG is defined and is
14715         set.
14717         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14718         (HAVE_MBSRTOWCS): Likewise.
14719         * posix/fnmatch.c: Include string.h unconditionally.
14721 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14723         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14724         reversal.
14726 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14728         * sysdeps/generic/safe-fatal.h: New file.
14729         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14730         * nptl/forward.c: Include it.
14731         (__pthread_unwind): Use __safe_fatal as default action, rather
14732         than a bogus use of INTERNAL_SYSCALL that could never work.
14734         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14735         * configure.ac (libc_cv_builtin_trap): New test.
14736         * configure: Regenerated.
14737         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14738         (ABORT_INSTRUCTION): Define using __builtin_trap.
14740         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14741         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14742         * sysdeps/nptl/nptl-signals.h: New file.
14743         * nptl/pthreadP.h: Include <nptl-signals.h>.
14745 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14747         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14748         (ONE_DIRECTION): Define.
14749         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14750         (ONE_DIRECTION): Define.
14751         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14752         (ONE_DIRECTION): Define.
14754 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14756         * sysdeps/s390/Makefile: Delete file.
14757         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14758         * sysdeps/s390/__longjmp.c: Delete file.
14759         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14760         Remove fields __flags and __reserved.
14761         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14762         and add versioning.
14763         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14764         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14765         * sysdeps/s390/rtld-setjmp.S: Likewise.
14766         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14767         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14768         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14769         * sysdeps/s390/s390-32/setjmp.S: ... here.
14770         Add versioning.
14771         (__sigsetjmp): Remove setting __flags field.
14772         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14773         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14774         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14775         * sysdeps/s390/s390-64/setjmp.S: ... here.
14776         Add versioning.
14777         (__sigsetjmp): Remove setting __flags field.
14778         * sysdeps/s390/setjmp.S: Delete file.
14779         * sysdeps/s390/sigjmp.c: Likewise.
14780         * sysdeps/s390/v1-longjmp.c: Likewise.
14781         * sysdeps/s390/v1-setjmp.h: Likewise.
14782         * sysdeps/s390/v1-sigjmp.c: Likewise.
14783         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14784         Remove v1-longjmp_chk.
14785         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14786         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14787         Include debug/longjmp_chk.c and add versioning.
14788         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14789         Include nptl/pt-longjmp.c and add versioning.
14790         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14791         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14792         Include __longjmp.c.
14793         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14794         Move to ...
14795         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14796         (__getcontext): Remove setting __flags field.
14797         Add versioning.
14798         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14799         Don't restore upper high grps.
14800         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14801         Likewise.
14802         (__swapcontext): Remove setting uc_flags field.
14803         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14804         Delete file.
14805         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14806         Include __longjmp.c.
14807         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14808         Move to ...
14809         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14810         (__getcontext): Remove setting __flags field.
14811         Add versioning.
14812         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14813         (__swapcontext): Remove setting uc_flags field.
14814         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14816         Remove fields uc_high_gprs and __reserved.
14817         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14818         New file with reverted content.
14819         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14820         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14821         Regenerated.
14822         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14823         Regenerated.
14825 2014-07-31  Andreas Schwab  <schwab@suse.de>
14827         * config.h.in (HAVE_IFUNC): Define to 0.
14828         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14829         definedness.
14831 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14834         memmove-avx-unaligned, memcpy-avx-unaligned and
14835         mempcpy-avx-unaligned.
14836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14837         Add tests for AVX memcpy functions.
14838         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14840         memcpy_chk.
14841         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14842         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14843         memmove_chk.
14844         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14845         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14846         mempcpy_chk.
14847         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14848         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14849         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14851 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14853         [BZ #17213]
14854         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14855         powerpc64le.
14857 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14859         [BZ #16839]
14860         * manual/llio.texi: Add section about open file description locks.
14861         * manual/examples/ofdlocks.c: Example of open file description
14862         lock usage.
14863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14864         F_OFD_SETLK, and F_OFD_SETLKW.
14866 2014-07-23  Allan McRae  <allan@archlinux.org>
14868         * po/es.po: Update Spanish translation from translation project.
14870 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14872         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14874 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14876         [BZ #17078]
14877         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14878         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14879         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14881 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14883         [BZ #17088]
14884         * math/fesetenv.c (__fesetenv)
14885         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14886         * math/feupdateenv.c (__feupdateenv)
14887         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14889         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14890         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14891         (__ASSUME_SOCKETCALL): Do not define.
14893         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14894         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14895         (__ASSUME_SOCKETCALL): Do not define.
14896         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14897         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14898         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14899         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14900         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14901         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14903         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14905         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14906         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14907         (__ASSUME_SOCKETCALL): Do not define.
14908         (__ASSUME_IPC64): Define unconditionally.
14909         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14910         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14911         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14912         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14913         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14914         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14915         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14916         Likewise.
14918         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14919         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14920         (__ASSUME_SOCKETCALL): Do not define.
14921         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14922         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14923         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14924         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14925         (__ASSUME_REQUEUE_PI): Define unconditionally.
14926         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14927         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14928         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14929         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14931         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14933         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14934         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14935         (__ASSUME_SOCKETCALL): Do not define.
14936         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14938         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14939         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14940         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14941         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14943         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14944         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14945         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14946         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14947         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14948         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14949         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14950         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14951         (__ASSUME_GETCPU_SYSCALL): Likewise.
14953         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14954         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14955         cases for individual architectures.
14956         * sysdeps/gnu/configure: Regenerated.
14957         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14958         LIBC_SLIBDIR_RTLDDIR.
14959         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14960         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14961         LIBC_SLIBDIR_RTLDDIR.
14962         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14964         LIBC_SLIBDIR_RTLDDIR.
14965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14966         Regenerated.
14967         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14968         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14969         file.
14970         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14971         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14972         file.
14973         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14974         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14975         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14976         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14978         * sysdeps/aarch64/shlib-versions: Move to ...
14979         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14980         * sysdeps/alpha/shlib-versions: Move to ...
14981         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14982         * sysdeps/arm/shlib-versions: Move to ...
14983         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14984         * sysdeps/hppa/shlib-versions: Move all contents except for
14985         libgcc_s entry to ...
14986         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14987         entry from ...
14988         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14989         * sysdeps/ia64/shlib-versions: Move to ...
14990         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14991         entry from ...
14992         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14993         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14994         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14995         * sysdeps/microblaze/shlib-versions: Move to ...
14996         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14997         * sysdeps/mips/shlib-versions: Move to ...
14998         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14999         entry from ...
15000         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15001         * sysdeps/tile/shlib-versions: Move to ...
15002         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15003         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15004         from ...
15005         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15006         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15007         entry from ...
15008         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15010 2014-07-17  Will Newton  <will.newton@linaro.org>
15012         * sysdeps/arm/bits/atomic.h
15013         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15014         (__arch_compare_and_exchange_bool_16_int): Likewise.
15015         (__arch_compare_and_exchange_bool_64_int): Likewise.
15017         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15018         into an #else block.
15020 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15022         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15023         just Linux configurations.  Test empirically that the compiler sets
15024         __ARM_EABI__, rather than using the tuple to decide.
15025         * sysdeps/arm/preconfigure: Regenerated.
15026         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15027         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15028         contents appended ...
15029         * sysdeps/arm/configure.ac: ... here.
15030         * sysdeps/arm/configure: Regenerated.
15032 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15034         * nptl/pthread_kill.c: New file.
15035         * nptl/pthread_sigmask.c: New file.
15036         * nptl/pthread_sigqueue.c: New file.
15038         * sysdeps/nptl/lowlevellock.h: New file.
15039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15040         * sysdeps/nptl/lowlevellock-futex.h: New file.
15042         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15043         Remove dead declarations.
15045 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15047         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15048         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15049         config-cflags-avx2.
15050         * sysdeps/x86_64/configure.ac: Likewise.
15051         * sysdeps/i386/configure: Regenerated.
15052         * sysdeps/x86_64/configure: Likewise.
15053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15054         memset-avx2 only if config-cflags-avx2 is yes.
15055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15056         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15057         defined.
15058         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15059         only if HAVE_AVX2_SUPPORT is defined.
15060         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15062 2014-07-14  Alan Modra  <amodra@gmail.com>
15064         [BZ #17153]
15065         * elf/elf.h (DT_PPC64_NUM): Correct value.
15066         * NEWS: Add to fixed bug list.
15068 2014-07-13  Jim Meyering  <meyering@fb.com>
15070         [BZ 17150]
15071         regex: don't deref NULL upon heap allocation failure
15072         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15073         failure in one more place.
15074         To trigger the segfault, configure grep -with-included-regex,
15075         build it, and run these commands:
15076         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15078 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15080         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15082 2014-07-11  Richard Henderson  <rth@redhat.com>
15084         * sysdeps/aarch64/libm-test-ulps: Update.
15086 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15088         [BZ #17135]
15089         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15090         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15091         (__nptl_setxid): Initialize error member.  Call
15092         __nptl_setxid_error.
15093         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15094         * nptl/descr.h (struct xid_command): Add error member.
15095         * nptl/tst-setuid3.c: New file.
15096         * nptl/Makefile (tests): Add it.
15098 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15100         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15101         New define.
15102         (__lll_trylock): Use __lll_base_trylock.
15103         (__lll_cond_trylock): Likewise.
15105 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15107         * nptl/pthread_create.c (start_thread): Use atomic_or and
15108         lll_futex_wake directly rather than lll_robust_dead.
15109         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15110         (lll_robust_dead): Macro removed.
15111         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
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         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15128         Use atomic_compare_and_exchange_val_acq directly rather than
15129         lll_robust_trylock.
15130         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15131         (__lll_robust_trylock, lll_robust_trylock): Removed.
15132         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15133         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15134         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15136         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15137         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15139         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15140         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15141         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15147 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15149         * manual/locale.texi (Locale Names): New section documenting
15150         locale name syntax.  Adjust menu and node chaining accordingly.
15151         (Choosing Locale): Reference Locale Names, Locale Categories.
15152         Mention setting LC_ALL=C.  Reflect that name syntax is now
15153         documented.
15154         (Locale Categories): New section title.  Reference Locale Names.
15155         LC_ALL is an environment variable, but not a category.
15156         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15157         description, now in Locale Name.  Reference that section.  Locale
15158         name syntax is now documented.
15160 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15162         [BZ #17137]
15163         * locale/findlocale.c (name_present, valid_locale_name): New
15164         functions.
15165         (_nl_find_locale): Use the loc_name variable to store name
15166         candidates.  Call name_present and valid_locale_name to check and
15167         validate locale names.  Return an error if the locale is invalid.
15169 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15171         * locale/setlocale.c (setlocale): Use strdup for allocating
15172         composite name copy.
15174 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15176         Sync up with gnulib.
15177         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15178         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15179         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15180         and _GL_ARG_NONNULL.
15181         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15182         [!_LIBC]: Include code for Windows and Cygwin.
15183         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15184         Include prototype for int strerror_r.
15185         [!_LIBC] (is_open): New function.
15186         (flush_stdout): New function.
15187         (print_errno_message): Use it.
15188         (error): Likewise.
15189         (error_at_line): Likewise.
15190         (error_tail) Add function attribute macros.  Use
15191         __builtin_expect.
15193         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15195         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15197         * io/ftw.c: Include sys/param.h unconditionally.
15199         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15201         [BZ #17125]
15202         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15203         libc_freeres_ptr.
15204         (freecache): New function to free CACHE on exit.
15206         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15207         initialization.
15209 2014-07-09  David S. Miller  <davem@davemloft.net>
15211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15213         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15214         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15215         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15216         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15217         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15218         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15219         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15220         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15221         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15222         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15223         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15224         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15225         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15227 2014-07-09  Andreas Schwab  <schwab@suse.de>
15229         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15230         output.
15231         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15232         (do_test): Likewise.
15234         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15236 2014-07-09  Will Newton  <will.newton@linaro.org>
15238         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15239         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15240         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15241         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15242         * sysdeps/hppa/start.S (_start): Likewise.
15244 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15246         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15248         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15249         defined.
15251 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15253         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15254         after checking that it is non-NULL.
15256         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15258 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15260         * sysdeps/powerpc/memmove.c: Remove file.
15261         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15262         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15263         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15264         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15265         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15266         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15267         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15268         string memmove instead of removed powerpc one.
15270         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15271         [weak_alias]: Fix compiler warning due trailing data.
15272         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15273         [weak_alias]: Likewise.
15274         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15275         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15278         (__libc_ifunc_impl_list): Add memmove functions.
15280 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15282         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15283         Remove code.
15284         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15285         Likewise
15286         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15287         Likewise
15288         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15289         Likewise
15290         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15291         Likewise
15292         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15293         Likewise
15294         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15295         Likewise
15296         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15297         Likewise
15298         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15299         Likewise
15300         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15301         Likewise
15302         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15303         Likewise
15304         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15305         Likewise
15306         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15307         Likewise
15308         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15309         Likewise
15310         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15311         Likewise
15312         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15313         Likewise
15314         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15315         Likewise
15317 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15319         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15320         to avoid alignment traps in non-cacheable memory.
15321         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15324         multiarch objects.
15325         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15326         file: multiarch power7 memmove.
15327         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15328         multiarch default memmove.
15329         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15330         multiarch memove for powerpc32/power4.
15332         * string/bcopy.c: Use full path to include memmove.c.
15333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15334         multiarch objects.
15335         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15336         bcopy for powerpc64.
15337         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15338         bcopy for powerpc64.
15339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15340         and memmove implementations.
15341         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15342         optimized multiarch memmove for POWER7/powerpc64.
15343         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15344         default multiarch memmove for powerpc64.
15345         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15346         multiarch for powerpc64.
15347         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15348         for POWER7/powerpc64.
15349         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15350         memmove for POWER7/powerpc64.
15352         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15353         glibc default one.
15355         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15356         __ELF_NATIVE_CLASS equal to 64.
15358 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15360         * sysdeps/nptl/lowlevellock.h: File removed.
15362         * NEWS: NPTL is no longer an add-on!
15363         * nptl/internaltypes.h: Moved ...
15364         * sysdeps/nptl/internaltypes.h: ... here.
15365         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15366         * sysdeps/nptl/fork.c: Likewise.
15367         * sysdeps/nptl/gai_misc.h: Likewise.
15368         * sysdeps/nptl/librt-cancellation.c: Likewise.
15369         * sysdeps/nptl/jmp-unwind.c: Likewise.
15370         * sysdeps/nptl/setxid.h: Likewise.
15371         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15372         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15373         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15374         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15375         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15376         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15377         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15378         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15379         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15380         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15381         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15382         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15383         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15384         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15385         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15386         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15387         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15388         * nptl/Makeconfig: Moved ...
15389         * sysdeps/nptl/Makeconfig: ... here.
15390         * nptl/configure: File removed.
15391         * nptl/ANNOUNCE: File removed.
15392         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15393         * sysdeps/unix/sysv/linux/configure: Regenerated.
15395         * nptl/Makefile (routines): Add libc_pthread_init,
15396         libc_multiple_threads, register-atfork and unregister-atfork.
15397         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15398         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15399         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15400         pthread-pi-defines.sym, structsem.sym.
15401         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15402         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15403         [$(subdir) = nptl] (tests): Add tst-setgetname.
15404         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15405         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15406         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15407         [!LIBC_SIGACTION]: Remove aliases.
15408         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15409         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15410         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15411         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15412         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15413         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15414         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15416         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15417         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15418         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15419         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15420         __libc_allocate_rtsig_private.
15421         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15422         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15423         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15424         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15425         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15426         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15427         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15428         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15429         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15430         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15431         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15432         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15433         * nptl/internaltypes.h: ... here.
15434         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15435         * sysdeps/nptl/jmp-unwind.c: ... here.
15436         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15437         * nptl/libc-lowlevellock.c: ... here.
15438         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15439         * nptl/libc_multiple_threads.c: ... here.
15440         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15441         * nptl/libc_pthread_init.c: ... here.
15442         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15443         * nptl/lowlevelbarrier.sym: ... here.
15444         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15445         * nptl/lowlevelcond.sym: ... here.
15446         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15447         * nptl/lowlevellock.c: ... here.
15448         * nptl/lowlevellock.h: Moved ...
15449         * sysdeps/nptl/lowlevellock.h: ... here.
15450         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15451         * nptl/lowlevelrobustlock.c: ... here.
15452         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15453         * nptl/lowlevelrobustlock.sym: ... here.
15454         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15455         * nptl/lowlevelrwlock.sym: ... here.
15456         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15457         * nptl/pt-fork.c: ... here.
15458         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15459         * nptl/pthread-pi-defines.sym: ... here.
15460         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15461         * nptl/pthread_attr_getaffinity.c: ... here.
15462         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15463         * nptl/pthread_attr_setaffinity.c: ... here.
15464         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15465         * nptl/pthread_mutex_cond_lock.c: ... here.
15466         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15467         Update #include.
15468         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15469         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15470         * nptl/pthread_once.c: ... here, replacing old file.
15471         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15472         * nptl/pthread_yield.c: ... here.
15473         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15474         * nptl/register-atfork.c: ... here.
15475         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15476         * nptl/sem_post.c: ... here.
15477         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15478         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15479         * nptl/sem_timedwait.c: ... here.
15480         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15481         * nptl/sem_trywait.c: ... here.
15482         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15483         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15484         * nptl/sem_wait.c: ... here.
15485         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15486         * nptl/structsem.sym: ... here.
15487         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15488         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15489         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15490         * nptl/unregister-atfork.c: ... here.
15491         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15492         * nptl/unwindbuf.sym: ... here.
15493         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15494         * sysdeps/nptl/fork.c: ... here.
15495         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15496         * sysdeps/nptl/fork.h: ... here.
15497         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15498         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15499         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15500         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15501         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15502         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15503         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15504         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15505         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15506         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15507         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15508         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15509         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15510         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15511         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15512         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15513         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15514         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15515         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15516         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15517         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15518         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15519         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15520         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15521         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15522         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15523         * sysdeps/unix/sysv/linux/raise.c: ... here.
15524         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15525         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15526         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15527         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15528         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15529         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15530         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15531         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15532         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15533         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15534         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15535         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15536         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15537         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15538         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15540 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15542         * sysdeps/generic/memcopy.h: Add comment for
15543         MEMCPY_OK_FOR_FWD_MEMMOVE.
15545 2014-07-04  Will Newton  <will.newton@linaro.org>
15547         * string/memchr.c: Merge from gnulib.
15548         [_LIBC]: Remove conditionals.
15549         (__ptr_t): Remove define.
15550         (LONG_MAX_32_BITS): Likewise.
15551         (LONG_MAX): Likewise.
15552         (MEMCHR): Use ANSI prototype and optimize algorithm.
15554         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15556 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15558         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15559         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15561         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15562         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15563         in a bare environment with no <stdlib.h> installed.
15564         * sysdeps/nptl/configure: Regenerated.
15566         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15568         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15569         AC_EGREP_CPP for kernel header checks, so they only succeed if
15570         including <linux/version.h> actually works right.
15571         * sysdeps/unix/sysv/linux/configure: Regenerated.
15573         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15574         value so it's not diagnosed as unused.
15576         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15577         thing) with "ifeq ($(subdir),rt)".
15579 2014-07-03  Richard Henderson  <rth@redhat.com>
15581         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15582         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15583         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15585         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15586         (math_force_eval): New.
15588         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15589         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15591         * sysdeps/alpha/fpu/s_round.c: Remove file.
15592         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15594         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15595         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15596         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15597         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15598         (_dl_start, print_statistics): Likewise.
15599         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15600         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15602         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15603         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15604         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15605         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15606         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15607         (HP_SMALL_TIMING_AVAIL): Define.
15608         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15609         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15610         (HP_SMALL_TIMING_AVAIL): Define.
15611         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15612         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15614         * sysdeps/aarch64/hp-timing.h: New file.
15616         * sysdeps/generic/hp-timing.h: Remove dead comment.
15617         * sysdeps/generic/hp-timing-common.h: New file.
15618         * sysdeps/alpha/hp-timing.h: Include it.
15619         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15620         * sysdeps/i386/i686/hp-timing.h: Likewise.
15621         * sysdeps/ia64/hp-timing.h: Likewise.
15622         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15623         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15624         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15625         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15626         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15627         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15628         (hp_timing_t): New.
15630         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15631         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15632         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15633         * elf/rtld.c (_dl_start_final): Likewise.
15634         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15635         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15636         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15637         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15638         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15639         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15640         (HP_TIMING_DIFF_INIT): Remove.
15641         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15642         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15643         (HP_TIMING_DIFF_INIT): Remove.
15644         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15645         * sysdeps/i386/i686/hp-timing.c: Remove file.
15646         * sysdeps/x86_64/hp-timing.c: Remove file.
15647         * sysdeps/ia64/hp-timing.c: Remove file.
15648         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15649         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15650         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15651         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15653         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15654         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15655         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15656         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15658         (HP_TIMING_ACCUM): Remove.
15659         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15661         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15663         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15664         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15665         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15666         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15667         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15668         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15669         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15670         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15672         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15674 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15676         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15678 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15680         Sync up with gettext.
15681         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15682         [_MSC_VER]: Include malloc.h
15683         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15684         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15685         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15686         TEMP_FAILURE_RETRY.  Cast return of alloca.
15687         [!_LIBC] Call gl_rwlock_init.
15688         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15690 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15692         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15693         before checking its value.
15695 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15697         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15699         * debug/memcpy_chk.c: Don't include pagecopy.h.
15700         * debug/mempcpy_chk.c: Likewise.
15701         * string/memcpy.c: Likewise.
15702         * string/memmove.c: Likewise.
15703         * sysdeps/powerpc/memmove.c: Likewise.
15704         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15705         definition of PAGE_COPY_FWD_MAYBE here...
15706         * sysdeps/generic/pagecopy.h: ... from here.
15707         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15709 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15710             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15712         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15714         optimizations.
15715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15716         (__libc_ifunc_impl_list): Likewise.
15717         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15718         multiarch strcat for PPC64.
15719         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15720         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15722 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15724         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15726 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15728         * intl/loadmsgcat.c: Remove declaration of
15729         get_sysdep_segment_value.
15730         (get_sysdep_segment_value): Use ISO C style.
15731         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15732         semicolon.  Fix typo and formatting in comment.
15733         (_nl_unload_domain): Use ISO C style.
15735         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15737 2014-07-02  Will Newton  <will.newton@linaro.org>
15739         * malloc/obstack.c: Merge from gnulib master.
15740         [HAVE_CONFIG_H]: Remove conditional code.
15741         [!_LIBC]: Include config.h.
15742         [!ELIDE_CODE]: Don't include inttypes.h, include
15743         stdint.h unconditionally.
15744         (print_and_abort): Mark as _Noreturn.
15745         (_obstack_allocated_p): Mark as __attribute_pure__.
15746         (obstack_free): Rename to __obstack_free.
15747         [!__attribute__]: Remove conditional code.
15748         * malloc/obstack.h: Merge from gnulib master.
15749         [__cplusplus]: Move conditional down.
15750         [!__attribute_pure__]: Define __attribute_pure__ here
15751         if it is not already defined.
15752         (_obstack_memory_used): Mark as __attribute_pure__.
15753         [!__obstack_free]: Define as obstack_free.
15754         [__GNUC__]: Remove check for ancient NeXT gcc.
15756 2014-07-02  Will Newton  <will.newton@linaro.org>
15757             Paul Eggert  <eggert@cs.ucla.edu>
15759         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15761 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15763         * resolv/gethnamaddr.c: Add comment warning that the file is
15764         not maintained.
15766 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15768         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15769         entries.
15771         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15772         entry for aio_cancel and aio_cancel64.
15773         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15774         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15775         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15776         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15777         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15778         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15779         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15780         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15781         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15782         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15783         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15784         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15785         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15787 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15789         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15790         * nptl/pthread_mutex_lock.c: Likewise.
15791         * nptl/pthread_mutex_timedlock.c: Likewise.
15792         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15794 2014-07-01  Richard henderson  <rth@redhat.com>
15796         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15797         (__isnan, __isnanl): Remove.
15798         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15800         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15802 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15804         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15806 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15808         * resolv/nss_dns/dns-host.c (getanswer_r)
15809         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15811 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15814         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15815         undefine.
15816         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15817         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15819 2014-07-01  Roland McGrath <roland@hack.frob.com>
15821         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15822         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15824         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15825         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15827         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15828         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15829         ... here.
15830         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15831         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15833         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15834         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15835         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15836         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15838         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15839         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15840         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15841         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15842         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15843         Moved ...
15844         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15845         ... here.
15846         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15847         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15851         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15852         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15853         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15855         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15856         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15857         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15858         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15859         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15860         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15861         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15862         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15863         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15864         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15865         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15866         ... here.
15867         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15868         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15870         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15871         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15872         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15873         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15874         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15876 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15878         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15879         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15880         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15881         Add sysdep.
15883 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15887 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15889         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15890         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15892         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15894         * sysdeps/arm/libm-test-ulps: Regenerated.
15896 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15897             Roland McGrath <roland@hack.frob.com>
15899         * test-skeleton.c (signal_handler): Kill the whole process group
15900         before killing the child individually.
15901         (main): Report any failure on `setpgid'.
15903 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15905         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15906         from _TLS_H to _ARM_NPTL_TLS_H.
15907         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15908         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15910 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15912         [BZ #16539]
15913         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15914         (__expm1l): Return argument unchanged when small but not
15915         subnormal.
15917         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15918         include macro name.
15919         (_FP_UNPACK_RAW_1_P): Likewise.
15920         (_FP_PACK_RAW_1): Likewise.
15921         (_FP_PACK_RAW_1_P): Likewise.
15922         (_FP_MUL_MEAT_1_wide): Likewise.
15923         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15924         (_FP_MUL_MEAT_1_hard): Likewise.
15925         (_FP_DIV_MEAT_1_imm): Likewise.
15926         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15927         (_FP_DIV_MEAT_1_udiv): Likewise.
15928         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15929         (_FP_UNPACK_RAW_2): Likewise.
15930         (_FP_UNPACK_RAW_2_P): Likewise.
15931         (_FP_PACK_RAW_2): Likewise.
15932         (_FP_PACK_RAW_2_P): Likewise.
15933         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15934         (_FP_MUL_MEAT_2_wide): Likewise.
15935         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15936         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15937         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15938         (_FP_MUL_MEAT_2_gmp): Likewise.
15939         (_FP_DIV_MEAT_2_udiv): Likewise.
15940         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15941         (_FP_FRAC_SRL_4): Likewise.
15942         (_FP_FRAC_SRST_4): Likewise.
15943         (_FP_FRAC_SRS_4): Likewise.
15944         (_FP_UNPACK_RAW_4): Likewise.
15945         (_FP_UNPACK_RAW_4_P): Likewise.
15946         (_FP_PACK_RAW_4): Likewise.
15947         (_FP_PACK_RAW_4_P): Likewise.
15948         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15949         (_FP_MUL_MEAT_4_wide): Likewise.
15950         (_FP_MUL_MEAT_4_gmp): Likewise.
15951         (umul_ppppmnnn): Likewise.
15952         (_FP_DIV_MEAT_4_udiv): Likewise.
15953         (__FP_FRAC_ADD_4): Likewise.
15954         (__FP_FRAC_SUB_3): Likewise.
15955         (__FP_FRAC_SUB_4): Likewise.
15956         (__FP_FRAC_DEC_3): Likewise.
15957         (__FP_FRAC_DEC_4): Likewise.
15958         (__FP_FRAC_ADDI_4): Likewise.
15959         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15960         (_FP_FRAC_SRL_8): Likewise.
15961         (_FP_FRAC_SRS_8): Likewise.
15963         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15964         include macro name.
15965         (FP_UNPACK_RAW_EP): Likewise.
15966         (FP_PACK_RAW_E): Likewise.
15967         (FP_PACK_RAW_EP): Likewise.
15968         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15969         (_FP_ISSIGNAN): Likewise.
15970         (_FP_ADD_INTERNAL): Likewise.
15971         (_FP_FMA): Likewise.
15972         (_FP_CMP): Likewise.
15973         (_FP_SQRT): Likewise.
15974         (_FP_TO_INT): Likewise.
15975         (_FP_FROM_INT): Likewise.
15976         (FP_EXTEND): Likewise.
15977         (_FP_DIV_MEAT_N_loop): Likewise.
15979 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15981         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15982         throughout.
15984 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15986         [BZ #17097]
15987         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15988         result with correct sign in case of exponents that produce
15989         overflow except for X very close to 1.
15991 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15993         mktime: merge #if/#ifdef usage from glibc
15994         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15995         as that works with both Glibc's and Gnulib's style.
15996         See thread starting at Siddhesh Poyarekar's bug report at:
15997         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15999 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16001         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16002         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16003         * sysdeps/tile/tilegx/memmove.c: Remove file.
16005 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16007         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16008         abi-name definition.
16009         * scripts/soversions.awk: Do not handle or generate ABI lines.
16010         * shlib-versions: Remove ABI entries.
16011         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16012         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16014 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16017         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16018         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16023         Moved ...
16024         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16025         ... here.
16026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16027         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16029         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16031         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16033         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16035         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16037         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16039         Moved ...
16040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16046         Moved ...
16047         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16049         Moved ...
16050         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16052         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16054         Moved ...
16055         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16057         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16059         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16061         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16063         Moved ...
16064         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16066         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16067         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16068         Moved ...
16069         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16071         Moved ...
16072         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16074         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16076         Moved ...
16077         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16078         ... here.
16079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16080         Identical file removed.
16081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16082         Moved ...
16083         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16085         Identical file removed.
16086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16087         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16089         Moved ...
16090         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16092         Identical file removed.
16093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16094         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16096         Identical file removed.
16097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16098         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16100         Identical file removed.
16101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16102         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16104         Identical file removed.
16105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16106         Moved ...
16107         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16109         Identical file removed.
16110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16111         Moved ...
16112         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16114         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16116         Identical file removed.
16117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16118         Moved ...
16119         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16120         ... here.
16121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16122         Identical file removed.
16123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16124         Moved ...
16125         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16127         Identical file removed.
16128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16129         Moved ...
16130         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16132         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16134         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16136         Moved ...
16137         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16138         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16139         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16141         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16142         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16143         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16144         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16145         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16147 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16149         [BZ #17092]
16150         * nscd/nscd.c (monitor_child): Return exit status of child
16151         instead of return value from wait syscall.
16153 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16155         * configure.ac (libc_commonpagesize): Remove variable.
16156         (libc_relro_required): Likewise.
16157         (libc_cv_z_relro): Remove configure test.
16158         * configure: Regenerated.
16159         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16160         variable.
16161         (libc_relro_required): Likewise.
16162         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16163         (libc_relro_required): Likewise.
16164         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16165         (libc_relro_required): Likewise.
16166         * sysdeps/arm/preconfigure: Regenerated.
16167         * sysdeps/ia64/preconfigure: Remove file.
16168         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16169         variable.
16170         (libc_relro_required): Likewise.
16172         [BZ #16561]
16173         [BZ #16562]
16174         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16175         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16176         recompute overflowing results in original rounding mode.
16177         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16178         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16179         recompute overflowing results in original rounding mode.
16180         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16181         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16182         recompute overflowing results in original rounding mode.
16183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16184         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16185         recompute overflowing results in original rounding mode.
16186         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16187         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16188         recompute overflowing results in original rounding mode.
16189         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16190         (libc_feholdsetround_ctx): New macro.
16191         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16192         * sysdeps/i386/fpu/libm-test-ulps: Update.
16193         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16195 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16197         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16198         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16199         corresponding .cpsetup call.
16201 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16203         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16204         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16205         * sysdeps/arm/Makefile [$(subdir) = csu]
16206         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16207         (static-only-routines): Add aeabi_read_tp here.
16208         (shared-only-routines): Add libc-aeabi_read_tp here.
16209         (CFLAGS-libc-start.c): Add -fexceptions here.
16210         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16211         (sysdep_routines, static-only-routines, shared-only-routines):
16212         Don't add to these here.
16213         (CFLAGS-libc-start.c): Likewise.
16215         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16216         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16217         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16218         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16219         * sysdeps/arm/Makefile [$(subdir) = rt]
16220         (librt-sysdep_routines, librt-shared-only-routines):
16221         Append rt-aeabi_unwind_cpp_pr1 here.
16222         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16223         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16224         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16225         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16226         Append nptl-aeabi_unwind_cpp_pr1 here.
16227         (tests): Filter out tst-cleanupx4 here.
16228         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16229         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16230         Don't do those here.
16232 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16234         * scripts/list-sources.sh: Do not handle ports specially.
16236 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16238         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16239         * sysdeps/arm/feupdateenv.c: Likewise.
16241         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16243 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16245         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16246         trailing whitespace removed.
16247         * scripts/config.guess: Update to version 2014-03-23.
16248         * scripts/config.sub: Update to version 2014-05-01
16249         * scripts/install-sh: Update to version 2013-12-25.23.
16250         * scripts/move-if-change: Update from gnulib.
16252 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16254         * debug/memmove_chk.c: Remove pagecopy.h include.
16256 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16258         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16259         identical to gnulib mktime.
16261 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16263         * configure.ac: Do not test for machine being rs6000.  Do not test
16264         for powerpc*-*soft.
16265         * configure: Regenerated.
16267         [BZ #11505]
16268         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16269         test.
16270         * configure: Regenerated.
16271         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16272         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16273         Remove configure test.
16274         * sysdeps/arm/configure: Regenerated.
16275         * sysdeps/nptl/configure.ac: Do not check
16276         libc_cv_asm_cfi_directives.
16277         * sysdeps/nptl/configure: Regenerated.
16278         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16279         * sysdeps/x86_64/nptl/configure: Remove generated file.
16280         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16281         unconditional.
16282         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16284 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16286         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16287         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16288         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16289         it is defined.
16291         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16292         instead of whether it is defined.
16293         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16294         * sysdeps/hppa/dl-machine.h: Likewise.
16295         * sysdeps/ia64/dl-machine.h: Likewise.
16296         * sysdeps/m68k/dl-machine.h: Likewise.
16297         * sysdeps/microblaze/dl-machine.h: Likewise.
16298         * sysdeps/mips/dl-machine.: Likewise.
16299         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16300         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16301         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16303         * sysdeps/sh/dl-machine.h: Likewise.
16304         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16305         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16306         * sysdeps/tile/dl-machine.h: Likewise.
16307         * sysdeps/x86_64/dl-machine.h: Likewise.
16309         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16310         code.
16311         (verify_persistent_db): Likewise.
16313 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16316         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16318         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16320         Moved ...
16321         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16322         ... here.
16323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16324         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16326         Identical file removed.
16327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16328         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16330         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16332         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16336         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16338         Moved ...
16339         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16341         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16343         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16345         Moved ...
16346         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16348         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16350         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16352         Identical file removed.
16353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16354         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16356         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16358         Moved ...
16359         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16360         ... here.
16361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16364         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16366         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16370         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16372         Moved ...
16373         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16375         Moved ...
16376         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16378         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16380         Moved ...
16381         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16383         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16385         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16386         folded into ...
16387         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16388         * sysdeps/unix/sysv/linux/s390/Versions
16389         (libpthread: GLIBC_2.19): New version set.
16390         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16391         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16392         (librt: GLIBC_2.3.3): New version set.
16393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16394         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16395         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16396         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16397         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16398         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16399         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16400         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16401         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16402         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16403         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16404         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16405         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16406         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16407         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16408         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16409         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16410         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16411         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16412         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16413         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16415         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16417         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16418         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16419         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16420         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16421         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16422         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16423         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16433         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16435         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16437         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16439         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16440         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16441         (__libc_vfork): Define the function under this name.
16442         [!NOT_IN_libc] (__vfork): Make this an alias.
16443         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16445         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16446         (__libc_vfork): Define the function under this name.
16447         [!NOT_IN_libc] (__vfork): Make this an alias.
16448         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16449         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16450         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16453         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16455         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16456         code that was previously under [RESET_PID].
16457         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16461         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16462         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16464         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16465         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16466         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16467         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16468         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16469         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16470         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16471         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16472         Moved ...
16473         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16474         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16475         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16476         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16477         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16478         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16479         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16480         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16481         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16482         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16484         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16485         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16486         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16487         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16488         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16489         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16490         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16491         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16492         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16493         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16494         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16495         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16496         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16497         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16498         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16499         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16501         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16503 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16505         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16506         that was previously under [RESET_PID].
16507         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16509 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16511         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16512         not undefine and redefine.
16513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16514         [O_CLOEXEC]: Make code unconditional.
16515         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16516         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16517         <kernel-features.h>.
16518         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16519         conditional variable definition.
16520         (shm_open) [O_CLOEXEC]: Make code unconditional.
16521         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16522         code.
16524         * configure.ac (USE_REGPARMS): Don't define here.
16525         * configure: Regenerated.
16526         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16527         * sysdeps/i386/configure: Regenerated.
16529         * nptl/createthread.c: Don't include kernel-features.h.
16530         * nptl/pthread_cancel.c: Likewise.
16531         * nptl/pthread_condattr_setclock.c: Likewise.
16532         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16533         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16534         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16535         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16536         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16537         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16538         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16541         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16542         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16543         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16544         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16545         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16546         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16547         * nscd/gai.c: Likewise.
16548         * nss/nss_db/db-open.c: Likewise.
16549         * sysdeps/generic/ldsodefs.h: Likewise.
16550         * sysdeps/sh/nptl/tls.h: Likewise.
16551         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16552         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16553         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16554         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16555         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16556         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16557         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16558         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16560         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16561         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16562         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16563         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16564         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16565         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16566         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16567         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16568         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16569         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16570         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16573         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16574         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16579         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16580         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16581         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16582         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16583         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16584         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16585         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16586         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16587         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16588         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16589         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16590         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16591         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16592         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16593         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16594         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16595         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16596         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16597         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16598         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16599         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16600         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16601         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16602         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16603         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16604         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16605         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16606         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16607         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16608         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16631         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16632         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16633         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16634         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16635         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16636         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16637         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16638         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16639         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16640         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16641         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16642         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16643         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16644         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16645         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16646         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16647         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16648         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16649         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16650         * sysdeps/unix/sysv/linux/system.c: Likewise.
16651         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16652         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16653         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16654         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16655         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16657         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16659         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16660         * configure: Regenerated.
16661         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16663         * configure.ac (base_machine): Do not set specially for particular
16664         machines here.
16665         * configure: Regenerated.
16666         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16667         settings from configure.ac.
16668         * sysdeps/i386/preconfigure: New file.
16669         * sysdeps/s390/preconfigure: Likewise.
16670         * sysdeps/sh/preconfigure: Likewise.
16671         * sysdeps/sparc/preconfigure: Likewise.
16673 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16675         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16676         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16677         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16678         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16679         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16680         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16681         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16682         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16683         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16684         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16685         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16686         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16687         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16688         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16689         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16692         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16693         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16695         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16696         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16697         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16698         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16699         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16700         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16701         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16702         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16703         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16704         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16705         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16706         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16707         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16708         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16709         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16710         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16711         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16712         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16713         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16714         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16716         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16719         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16720         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16722         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16723         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16726         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16727         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16728         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16729         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16730         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16731         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16732         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16735         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16737         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16739         Moved ...
16740         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16741         ... here.
16742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16743         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16745         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16747         Moved ...
16748         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16750         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16752         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16754         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16756         Moved ...
16757         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16759         Moved ...
16760         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16762         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16764         Moved ...
16765         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16767         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16769         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16771         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16773         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16775         Moved ...
16776         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16777         ... here.
16778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16779         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16781         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16783         Moved ...
16784         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16786         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16788         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16790         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16792         Moved ...
16793         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16795         Moved ...
16796         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16798         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16800         Moved ...
16801         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16803         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16805         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16807 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16809         * timezone/checktab.awk: Update from tzcode 2014e.
16810         * timezone/private.h: Likewise.
16811         * timezone/tzfile.h: Likewise.
16812         * timezone/zdump.c: Likewise.
16813         * timezone/zic.c: Likewise.
16815         * sysdeps/unix/sysv/linux/kernel-features.h
16816         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16817         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16818         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16819         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16820         Remove conditional code.
16822 2014-06-25  Will Newton  <will.newton@linaro.org>
16824         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16825         (_dl_arm_cap_flags): Add HWCAP2 values.
16826         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16827         (_DL_HWCAP_COUNT): Increase to 37.
16828         (_DL_HWCAP_LAST): New define.
16829         (_DL_HWCAP2_LAST): New define.
16830         (_dl_procinfo): Add support for printing
16831         AT_HWCAP2 entries.
16832         (_dl_string_hwcap): Use _dl_hwcap_string.
16834 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16838 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16840         * README: Do not mention ports directory.
16842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16843         Remove macro.
16844         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16845         <kernel-features.h>.
16846         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16847         conditional variable definition.
16848         (__futimes): Update comment.
16849         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16850         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16852         [BZ #16560]
16853         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16854         arguments close to 0.
16855         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16856         Likewise.
16857         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16858         Likewise.
16859         * math/auto-libm-test-in: Add more tests of exp10.
16860         * math/auto-libm-test-out: Regenerated.
16861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16863         * sysdeps/unix/sysv/linux/kernel-features.h
16864         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16865         * sysdeps/unix/sysv/linux/readv.c: Do not include
16866         <kernel-features.h>.
16867         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16868         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16869         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16870         unconditional.
16871         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16872         conditional code.
16873         * sysdeps/unix/sysv/linux/writev.c: Do not include
16874         <kernel-features.h>.
16875         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16876         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16877         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16878         unconditional.
16879         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16880         conditional code.
16882 2014-06-25  Will Newton  <will.newton@linaro.org>
16884         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16885         comment changes throughout the file.  Remove checks
16886         for HAVE_*_H definitions that are not required.
16887         (__gen_tempname): Call abort if an unknown kind value is
16888         passed.
16890 2014-06-25  Andreas Schwab  <schwab@suse.de>
16892         [BZ #17086]
16893         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16894         scalbln, scalblnf, scalblnl in libc.
16896 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16898         [BZ #17086]
16899         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16900         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16901         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16903 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16905         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16906         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16907         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16908         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16909         Update #include.
16910         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16911         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16912         Update #include.
16913         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16914         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16915         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16916         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16917         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16918         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16919         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16920         * sysdeps/x86/bits/semaphore.h: ... here.
16921         * sysdeps/x86/nptl/elide.h: Moved ...
16922         * sysdeps/x86/elide.h: ... here.
16923         * sysdeps/x86_64/nptl/Implies: File removed.
16924         * sysdeps/i386/nptl/Implies: File removed.
16926 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16928         [BZ #16539]
16929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16930         return the argument for normal arguments with exponent below -64.
16931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16932         Likewise.
16933         * math/auto-libm-test-in: Add another test of expm1.
16934         * math/auto-libm-test-out: Regenerated.
16936         [BZ #16287]
16937         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16938         calling __erfcl for arguments at least 16.
16939         * math/auto-libm-test-in: Add more tests of erf.
16940         * math/auto-libm-test-out: Regenerated.
16942         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16943         individual architectures.
16944         * sysdeps/unix/sysv/linux/configure: Regenerated.
16945         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16946         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16947         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16948         (ldd_rewrite_script): Define variable.
16949         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16951         file.
16952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16953         generated file.
16954         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16955         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16956         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16957         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16958         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16959         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16960         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16961         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16963 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16965         [BZ #17084]
16966         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16967         Rename member __data.d to __data.__elision_data.
16969 2014-06-24  Wilco  <wdijkstr@arm.com>
16971         * NEWS: Add 16918 to fixed bug list.
16973 2014-06-24  Wilco  <wdijkstr@arm.com>
16975         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16977 2014-06-24  Wilco  <wdijkstr@arm.com>
16979         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16980         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16981         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16982         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16983         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16984         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16985         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16986         Use _FPU_MASK_RM.
16988 2014-06-24  Wilco  <wdijkstr@arm.com>
16990         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16992 2014-06-24  Wilco  <wdijkstr@arm.com>
16994         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16995         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16996         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16997         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16999 2014-06-24  Wilco  <wdijkstr@arm.com>
17001         [BZ #16918]
17002         * sysdeps/arm/feupdateenv.c (feupdateenv):
17003         Rewrite to reduce FPSCR accesses and fix return value.
17005 2014-06-24  Wilco  <wdijkstr@arm.com>
17007         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17008         Optimize to avoid unnecessary FPSCR writes.
17009         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17010         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17011         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17012         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17014 2014-06-24  Wilco  <wdijkstr@arm.com>
17016         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17017         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17018         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17019         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17020         Call libc_fetestexcept_vfp.
17021         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17022         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17023         __SOFTFP__ ifdef so that they can be built for softfp.
17025 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17027         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17028         argument type signed char.
17030         * Makerules (check-abi): Dump diff of symlist if the test
17031         fails.
17033 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17035         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17036         using abort.
17038         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17039         Remove unused variable ST.
17041 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17043         [BZ #16354]
17044         [BZ #17061]
17045         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17046         small arguments before calling __expm1.
17047         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17048         small arguments before calling __expm1f.
17049         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17050         small arguments before calling __expm1l.
17051         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17052         Likewise.
17053         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17054         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17055         spurious underflow for some cosh tests.
17056         * math/auto-libm-test-out: Regenerated.
17057         * sysdeps/i386/fpu/libm-test-ulps: Update.
17059         [BZ #17050]
17060         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17061         (__ieee754_y1): Set errno if return value overflows.
17062         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17063         (__ieee754_y1f): Set errno if return value overflows.
17064         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17065         (__ieee754_y1l): Set errno if return value overflows.
17066         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17067         (__ieee754_y1l): Set errno if return value overflows.
17068         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17069         * math/auto-libm-test-out: Regenerated.
17071         * math/gen-auto-libm-tests.c: Document use of
17072         ignore-zero-inf-sign.
17073         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17074         (input_flags): Add ignore-zero-inf-sign.
17075         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17076         * math/gen-libm-test.pl (generate_testfile): Handle
17077         ignore-zero-inf-sign.
17078         * math/auto-libm-test-in: Mark some cpow tests with
17079         ignore-zero-inf-sign and some with xfail-rounding.
17080         * math/auto-libm-test-out: Regenerated.
17081         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17082         * sysdeps/i386/fpu/libm-test-ulps: Update.
17083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17085         [BZ #16315]
17086         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17087         overflowing or underflowing operations take place with sign of
17088         result.
17089         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17090         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17091         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17092         (__ieee754_pow): Recompute overflowing and underflowing results in
17093         original rounding mode.
17094         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17095         (__powl_helper): Allow negative argument X and scale negated value
17096         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17097         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17098         overflowing or underflowing operations take place with sign of
17099         result.
17100         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17101         Include <math.h>.
17102         * math/auto-libm-test-in: Add more tests of pow.
17103         * math/auto-libm-test-out: Regenerated.
17104         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17105         (pow_tonearest_test_data): Remove.
17106         (pow_test_tonearest): Likewise.
17107         (pow_towardzero_test_data): Likewise.
17108         (pow_test_towardzero): Likewise.
17109         (pow_downward_test_data): Likewise.
17110         (pow_test_downward): Likewise.
17111         (pow_upward_test_data): Likewise.
17112         (pow_test_upward): Likewise.
17113         (main): Don't call removed functions.
17114         * sysdeps/i386/fpu/libm-test-ulps: Update.
17115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17117 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17120         Moved ...
17121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17123         Moved ...
17124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17126         Moved ...
17127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17129         Moved ...
17130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17132         File removed.
17133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17134         File removed.
17135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17136         File removed.
17137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17138         File removed.
17139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17140         File removed.
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17142         File removed.
17143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17144         File removed.
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17146         File removed.
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17148         File removed.
17149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17150         File removed.
17151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17152         File removed.
17153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17154         File removed.
17155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17156         Moved ...
17157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17159         Moved ...
17160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17161         ... here.
17162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17163         Moved ...
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17166         Moved ...
17167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17169         Moved ...
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17172         Moved ...
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17175         Moved ...
17176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17178         Moved ...
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17181         Moved ...
17182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17185         ... here.
17186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17187         Moved ...
17188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17190         Moved ...
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17192         ... here.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17194         Moved ...
17195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17196         ... here.
17197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17198         Moved ...
17199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17200         ... here.
17201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17202         Moved ...
17203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17205         Moved ...
17206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17210         Moved ...
17211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17212         ... here.
17213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17214         Moved ...
17215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17216         ... here.
17217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17218         Moved ...
17219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17221         Moved ...
17222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17224         Moved ...
17225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17227         Moved ...
17228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17230         Moved ...
17231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17232         ... here.
17233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17234         Moved ...
17235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17237         Moved ...
17238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17240         Moved ...
17241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17243         Moved ...
17244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17248         Moved ...
17249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17251         Moved ...
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17254         Moved ...
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17256         ... here.
17257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17258         Moved ...
17259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17260         ... here.
17261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17262         Moved ...
17263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17264         ... here.
17265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17266         Moved ...
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17269         Moved ...
17270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17272         Moved ...
17273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17275         Moved ...
17276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17277         ... here.
17278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17279         Moved ...
17280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17281         ... here.
17282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17283         Moved ...
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17285         ... here.
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17287         Moved ...
17288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17290         Moved ...
17291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17293 2014-06-23  Will Newton  <will.newton@linaro.org>
17294             Wilco  <wdijkstr@arm.com>
17296         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17297         implementation.  Include get-rounding-mode.h.
17298         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17299         [!libc_feholdsetround_noex_ctx]: Define
17300         libc_feholdsetround_noex_ctx.
17301         [!libc_feholdsetround_noexf_ctx]: Define
17302         libc_feholdsetround_noexf_ctx.
17303         [!libc_feholdsetround_noexl_ctx]: Define
17304         libc_feholdsetround_noexl_ctx.
17305         (libc_feholdsetround_ctx): New function.
17306         (libc_feresetround_ctx): New function.
17307         (libc_feholdsetround_noex_ctx): New function.
17308         (libc_feresetround_noex_ctx): New function.
17310 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17312         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17313         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17314         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17315         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17316         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17317         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17319         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17320         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17321         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17322         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17323         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17324         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17326         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17328         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17330         Moved ...
17331         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17332         ... here.
17333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17334         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17336         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17338         Moved ...
17339         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17341         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17343         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17345         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17347         Moved ...
17348         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17350         Moved ...
17351         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17353         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17355         Moved ...
17356         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17358         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17359         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17360         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17361         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17362         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17364         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17366         Moved ...
17367         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17368         ... here.
17369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17370         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17372         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17374         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17376         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17380         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17382         Moved ...
17383         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17385         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17387         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17389         Moved ...
17390         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17392         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17393         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17394         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17396         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17397         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17398         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17399         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17400         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17401         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17402         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17403         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17405         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17406         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17407         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17408         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17409         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17410         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17411         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17412         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17413         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17414         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17415         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17416         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17417         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17418         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17419         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17420         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17421         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17422         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17423         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17425 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17428         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17429         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17430         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17431         (IPV6_PMTUDISC_INTERFACE): Likewise.
17432         (IPV6_PMTUDISC_OMIT): Likewise.
17434 2014-06-23  Andreas Schwab  <schwab@suse.de>
17436         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17437         Remove unused errout label.
17439 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17441         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17442         macro: hardware supports Vector Crypto instructions.
17444 2014-06-23  Will Newton  <will.newton@linaro.org>
17446         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17447         rather than __builtin_expect.
17449         * elf/dl-lookup.c (undefined_msg): Remove variable.
17450         (_dl_lookup_symbol_x): Replace undefined_msg with string
17451         literal.
17453         * elf/dl-lookup.c (do_lookup_unique): New function.
17454         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17455         to a separate function.
17457 2014-06-23  Andreas Schwab  <schwab@suse.de>
17459         [BZ #17079]
17460         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17461         before reading the next line.
17463 2014-06-23  Will Newton  <will.newton@linaro.org>
17465         * test-skeleton.c (signal_handler): Use printf and %m
17466         rather than perror.  Use printf rather than fprintf to
17467         stderr.  Use puts rather than fputs to stderr.
17468         (main): Likewise.
17470 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17472         * nscd/nscd.c (thread_info_t): Remove typedef.
17473         (thread_info): Remove variable.
17475 2014-06-21  Allan McRae  <allan@archlinux.org>
17477         * NEWS: Mention CVE-2014-4043.
17479 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17481         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17482         * nptl/smp.h: ... here.
17484         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17486         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17487         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17488         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17489         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17491         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17492         * nptl/stack-aliasing.h: New file.
17493         * sysdeps/i386/i686/stack-aliasing.h: New file.
17494         * sysdeps/i386/i686/nptl/Makefile: File removed.
17495         * sysdeps/x86_64/stack-aliasing.h: New file.
17496         * sysdeps/x86_64/nptl/Makefile
17497         (CFLAGS-pthread_create.c): Variable removed.
17499         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17500         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17501         old file.
17502         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17503         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17504         old file.
17506 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17508         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17509         (__ASSUME_SIGFRAME_V2): Remove macro.
17510         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17511         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17512         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17513         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17514         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17515         Declare as function.  Remove conditional macro definitions.
17516         (__default_rt_sa_restorer): Likewise.
17517         (__default_sa_restorer_v1): Remove declaration.
17518         (__default_sa_restorer_v2): Likewise.
17519         (__default_rt_sa_restorer_v1): Likewise.
17520         (__default_rt_sa_restorer_v2): Likewise.
17521         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17522         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17523         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17525 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17527         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17528         (libpthread-routines): Add sysdep.
17529         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17530         * sysdeps/unix/sysv/linux/sparc/Versions
17531         (libpthread: GLIBC_2.3.3): New version set.
17532         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17533         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17534         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17535         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17536         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17537         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17538         Moved ...
17539         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17540         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17541         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17542         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17543         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17544         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17545         * sysdeps/sparc/nptl/sem_init.c: ... here.
17546         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17547         * sysdeps/sparc/nptl/sem_post.c: ... here.
17548         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17549         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17550         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17551         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17552         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17553         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17554         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17555         (libpthread-routines): Add cpu_relax.
17556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17557         File removed.
17558         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17559         (librt: GLIBC_2.3.3): New version set.
17560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17561         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17562         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17563         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17566         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17568         Moved ...
17569         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17571         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17573         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17575         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17577         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17579         Moved ...
17580         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17581         Update #include.
17582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17583         Moved ...
17584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17585         Update #include.
17586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17587         Moved ...
17588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17589         Update #include.
17590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17591         Moved ...
17592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17593         Update #include.
17594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17595         Moved ...
17596         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17597         Update #include.
17598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17599         Moved ...
17600         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17601         Update #include.
17602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17603         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17609         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17613         Moved ...
17614         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17616         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17618         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17620 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17622         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17623         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17624         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17625         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17626         * nscd/nscd.c: Likewise.
17627         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17628         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17629         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17630         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17632         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17633         <kernel-features.h>.
17634         (init_mq_netlink): Remove conditional have_sock_cloexec
17635         definitions.  Remove code conditional on have_sock_cloexec < 0.
17636         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17637         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17638         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17639         <kernel-features.h>.
17640         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17641         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17643 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17646         Add tests for memset_chk and memset.
17648         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17649         with AVX2_Usable.
17651 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17653         [BZ #16046]
17654         * elf/tst-dl-iter-static.c: New file.
17655         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17657         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17658         error.
17660 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17662         * sysdeps/unix/sysv/linux/kernel-features.h
17663         (__ASSUME_F_GETOWN_EX): Remove macro.
17664         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17665         <kernel-features.h>.
17666         (miss_F_GETOWN_EX): Remove variable or macro.
17667         (do_fcntl): Do not check miss_F_GETOWN_EX.
17668         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17671         Remove macro.
17672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17673         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17674         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17676         * sysdeps/unix/sysv/linux/kernel-features.h
17677         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17678         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17679         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17680         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17682 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17684         [BZ #17075]
17685         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17686         Fix calculation of the symbol's value.
17687         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17688         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17689         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17690         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17691         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17692         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17693         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17694         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17695         (modules-names): Add `tst-armtlsdescmod',
17696         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17697         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17698         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17699         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17700         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17701         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17702         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17703         ($(objpfx)tst-armtlsdescloc): New dependency.
17704         ($(objpfx)tst-armtlsdescextnow): Likewise.
17705         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17706         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17707         TLS scheme support.
17708         * sysdeps/arm/configure: Regenerate.
17710 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17712         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17713         (__atfct_seterrno_2): Likewise.
17714         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17715         <kernel-features.h>.
17716         (__ASSUME_ATFCTS): Do not undefine and redefine.
17717         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17718         (__have_atfcts): Remove conditional definition.
17719         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17720         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17721         unreachable if [__ASSUME_ATFCTS].
17722         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17723         not undefine and redefine.
17724         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17725         <kernel-features.h>.
17726         (faccessat) [__NR_faccessat]: Make code unconditional.
17727         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17728         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17729         <kernel-features.h>.
17730         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17731         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17732         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17733         <kernel-features.h>.
17734         (fchownat) [__NR_fchownat]: Make code unconditional.
17735         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17736         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17737         <kernel-features.h>.
17738         (futimesat) [__NR_futimesat]: Make code unconditional.
17739         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17740         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17741         <kernel-features.h>.
17742         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17743         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17744         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17745         <kernel-features.h>.
17746         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17748         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17749         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17750         <kernel-features.h>.
17751         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17752         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17753         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17754         <kernel-features.h>.
17755         (linkat) [__NR_linkat]: Make code unconditional.
17756         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17757         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17758         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17759         <kernel-features.h>.
17760         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17761         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17762         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17763         <kernel-features.h>.
17764         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17765         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17766         * sysdeps/unix/sysv/linux/openat.c: Do not include
17767         <kernel-features.h>.
17768         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17769         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17770         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17771         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17772         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17773         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17774         <kernel-features.h>.
17775         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17776         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17777         result of INLINE_SYSCALL directly, not via int variable.
17778         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17779         <kernel-features.h>.
17780         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17781         (renameat) [__NR_renameat]: Make code unconditional.
17782         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17783         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17784         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17785         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17786         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17787         (__ASSUME_ATFCTS): Do not undefine and redefine.
17788         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17789         <kernel-features.h>.
17790         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17791         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17792         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17793         <kernel-features.h>.
17794         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17795         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17796         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17797         (__ASSUME_ATFCTS): Do not undefine and redefine.
17798         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17799         <kernel-features.h>.
17800         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17801         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17802         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17803         <kernel-features.h>.
17804         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17805         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17807 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17809         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17811 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17813         [BZ #17069]
17814         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17815         constructed tree before returning error.
17816         * posix/bug-regexp36.c: Expand test case.
17818 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17820         [BZ #6803]
17821         * math/libm-test.inc (scalbln_test_date):
17822         Add errno expectations.
17823         * math/w_scalblnf.c: New File.
17824         Add wrapper which checks for setting errno to ERANGE.
17825         Add weak_alias for corresponding scalbln function.
17826         * math/w_scalbln.c: Likewise.
17827         * math/w_scalblnl.c: Likewise.
17828         * math/Makefile (libm-calls): Add w_scalbln.
17829         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17830         Remove weak_alias for corresponding scalbln function.
17831         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17832         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17833         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17834         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17835         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17836         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17837         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17838         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17839         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17840         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17841         Remove long_double_symbol for scalblnl function in libm, libc.
17842         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17843         Add wrapper which checks for setting errno to ERANGE.
17844         Add long_double_symbol for scalblnl function in libm, libc.
17845         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17846         Remove long_double_symbol for scalblnl in libm.
17847         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17848         Add wrapper which checks for setting errno to ERANGE.
17849         Add long_double_symbol for scalblnl function in libm.
17850         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17851         Do not use wrapper because of own implementation.
17853 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17855         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17856         3 bytes for __pad1 for x32.
17857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17859 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17860             H.J. Lu  <hongjiu.lu@intel.com>
17862         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17863         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17866         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17868 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17870         [BZ #17069]
17871         * posix/regcomp.c (parse_expression): Deallocate partially
17872         constructed tree before returning error.
17873         * posix/Makefile.c (tests): Add bug-regex36.
17874         (generated): Add bug-regex36.mtrace.
17875         (tests-special): Add $(objpfx)bug-regex36-mem.out
17876         (bug-regex36-ENV): New variable.
17877         ($(objpfx)bug-regex36-mem.out): New rule.
17878         * posix/bug-regex36.c: New file.
17880 2014-06-19  Will Newton  <will.newton@linaro.org>
17882         * malloc/malloc.c (systrim): If extra is zero then return
17883         early.
17885 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17887         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17889 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17891         * sysdeps/aarch64/strchr.S: New file.
17893 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17895         [BZ #17022]
17896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17897         from arguments -2 or below.
17898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17899         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17901 2014-06-18  Andreas Schwab  <schwab@suse.de>
17903         [BZ #17062]
17904         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17905         of a bracket expr not to run off the end of the string.
17906         * posix/Makefile (tests): Add tst-fnmatch3.
17907         * posix/tst-fnmatch3.c: New file.
17909 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17911         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17912         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17913         [$(cross-compiling) = no]: Likewise.
17914         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17915         [$(cross-compiling) = no]: Likewise.
17917 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17919         [BZ #17031]
17920         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17921         double, adjusted for any remainder from the high double.
17922         * math/libm-test.inc (nearbyint): Add tests.
17923         (rint): Likewise.
17925 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17927         * nptl/sysdeps/powerpc/Makefile: Moved ...
17928         * sysdeps/powerpc/nptl/Makefile: ... here.
17929         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17930         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17931         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17932         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17933         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17934         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17935         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17936         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17937         * nptl/sysdeps/powerpc/tls.h: Moved ...
17938         * sysdeps/powerpc/nptl/tls.h: ... here.
17940 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17942         [BZ #16681]
17943         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17944         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17945         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17946         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17947         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17948         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17949         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17950         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17951         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17953 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17955         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17957 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17959         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17960         defined operator.
17962         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17963         $TIMEOUTFACTOR.
17965 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17967         [BZ #17058]
17968         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17969         non-executed part of the test.
17971 2014-06-16  Andreas Schwab  <schwab@suse.de>
17973         * string/bits/string2.h (strdup, strndup): Update feature guard.
17975 2014-06-14  David S. Miller  <davem@davemloft.net>
17977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17979 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17981         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17982         that was previously under [RESET_PID].
17983         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17985         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17986         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17987         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17988         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17989         (__libc_vfork): New strong alias.
17990         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17992 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17994         * sysdeps/generic/elide.h: New file.
17996 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17998         * Makefile (installed-headers): Adjust path of pthread.h header.
18000 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18002         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18003         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18004         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18005         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18007         * nptl/sysdeps/s390/Makefile: Moved ...
18008         * sysdeps/s390/nptl/Makefile: ... here.
18009         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18010         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18011         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18012         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18013         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18014         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18015         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18016         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18017         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18018         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18019         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18020         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18021         * nptl/sysdeps/s390/tls.h: Moved ...
18022         * sysdeps/s390/nptl/tls.h: ... here.
18024         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18025         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18027 2014-06-13  David S. Miller  <davem@davemloft.net>
18029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18032         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18036         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18037         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18038         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18039         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18040         Remove RESET_PID cpp guards.
18041         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18042         Remove RESET_PID cpp guards.
18043         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18045 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18047         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18048         __sp to uintptr_t.
18050 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18054         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18055         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18057         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18058         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18063         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18066         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18073         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18074         (pthread_rwlock_rdlock): Add elision.
18075         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18076         (pthread_rwlock_wrlock): Add elision.
18077         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18078         (pthread_rwlock_trywrlock): Add elision.
18079         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18080         (pthread_rwlock_tryrdlock): Add elision.
18081         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18082         (pthread_rwlock_tryrdlock): Add elision unlock.
18083         * nptl/sysdeps/pthread/pthread.h:
18084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18085         (PTHREAD_RWLOCK_INITIALIZER,
18086         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18087         Handle new elision field.
18088         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18089         * sysdeps/arm/nptl/bits/pthreadtypes.h
18090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18091         * sysdeps/sh/nptl/bits/pthreadtypes.h
18092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18093         * sysdeps/tile/nptl/bits/pthreadtypes.h
18094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18095         * sysdeps/a/nptl/bits/pthreadtypes.h
18096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18097         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18099         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18101         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18103         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18105         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18107         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18109         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18111         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18113         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18114         (elision_init): Set try_xbegin to zero when no RTM.
18115         * sysdeps/x86/nptl/bits/pthreadtypes.h
18116         (pthread_rwlock_t): Change __pad1 to __rwelision.
18117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18119 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18121         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18122         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18123         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18124         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18126 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18128         [BZ #16996]
18129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18130         that the cached result has been set before returning it.
18132 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18134         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18135         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18137         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18138         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18139         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18141         * nptl/sysdeps/sparc/Makefile: Moved ...
18142         * sysdeps/sparc/nptl/Makefile: ... here.
18143         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18144         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18145         * nptl/sysdeps/sparc/tls.h: Moved ...
18146         * sysdeps/sparc/nptl/tls.h: ... here.
18147         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18148         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18149         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18150         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18151         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18152         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18153         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18154         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18155         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18156         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18157         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18158         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18159         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18160         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18161         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18162         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18163         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18165         Update #include.
18166         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18168         Update #include.
18169         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18170         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18171         Update #include.
18172         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18173         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18174         Update #include.
18176         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18178         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18179         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18181         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18182         (struct list_links): Type removed.
18183         (struct thread_node, struct timer_node): Replace struct list_links
18184         with struct list_head.
18185         (list_unlink_ip): Likewise.
18186         * sysdeps/pthread/timer_routines.c
18187         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18188         (list_append, list_insbefore): Likewise.
18189         (list_init): Function removed.
18190         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18191         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18192         * sysdeps/pthread/Makefile: ... here, new file.
18194         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18195         * sysdeps/nptl/Implies: ... here.
18196         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18197         * nptl/sysdeps/pthread/list.h: Moved ...
18198         * include/list.h: ... here.
18199         * nptl/sysdeps/pthread/createthread.c: Moved ...
18200         * nptl/createthread.c: ... here.
18201         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18202         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18203         * nptl/pt-longjmp.c: ... here.
18204         * nptl/sysdeps/pthread/Makefile: Moved ...
18205         * sysdeps/nptl/Makefile: ... here.
18206         * nptl/sysdeps/pthread/Subdirs: Moved ...
18207         * sysdeps/nptl/Subdirs: ... here.
18208         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18209         * sysdeps/nptl/aio_misc.h: ... here.
18210         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18211         * sysdeps/nptl/bits/libc-lock.h: ... here.
18212         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18213         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18214         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18215         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18216         * nptl/sysdeps/pthread/configure: Moved ...
18217         * sysdeps/nptl/configure: ... here.
18218         * nptl/sysdeps/pthread/configure.ac: Moved ...
18219         * sysdeps/nptl/configure.ac: ... here.
18220         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18221         * sysdeps/nptl/gai_misc.h: ... here.
18222         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18223         * sysdeps/nptl/librt-cancellation.c: ... here.
18224         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18225         * sysdeps/nptl/malloc-machine.h: ... here.
18226         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18227         * sysdeps/nptl/pthread-functions.h: ... here.
18228         * nptl/sysdeps/pthread/pthread.h: Moved ...
18229         * sysdeps/nptl/pthread.h: ... here.
18230         * nptl/sysdeps/pthread/setxid.h: Moved ...
18231         * sysdeps/nptl/setxid.h: ... here.
18232         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18233         * sysdeps/nptl/sigfillset.c: ... here.
18234         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18235         * sysdeps/nptl/tcb-offsets.h: ... here.
18236         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18237         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18238         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18239         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18240         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18241         * sysdeps/pthread/allocalim.h: ... here.
18242         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18243         * sysdeps/pthread/bits/sigthread.h: ... here.
18244         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18245         * sysdeps/pthread/flockfile.c: ... here.
18246         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18247         * sysdeps/pthread/ftrylockfile.c: ... here.
18248         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18249         * sysdeps/pthread/funlockfile.c: ... here.
18250         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18251         * sysdeps/pthread/posix-timer.h: ... here.
18252         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18253         * sysdeps/pthread/timer_create.c: ... here.
18254         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18255         * sysdeps/pthread/timer_delete.c: ... here.
18256         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18257         * sysdeps/pthread/timer_getoverr.c: ... here.
18258         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18259         * sysdeps/pthread/timer_gettime.c: ... here.
18260         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18261         * sysdeps/pthread/timer_routines.c: ... here.
18262         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18263         * sysdeps/pthread/timer_settime.c: ... here.
18264         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18265         * sysdeps/pthread/tst-timer.c: ... here.
18266         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18267         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18269         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18270         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18272         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18273         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18274         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18275         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18276         Update #include target.
18277         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18278         * sysdeps/i386/i686/nptl/Makefile: ... here.
18279         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18280         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18281         Update #include target.
18282         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18283         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18284         * nptl/sysdeps/i386/Makefile: Moved ...
18285         * sysdeps/i386/nptl/Makefile: ... here.
18286         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18287         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18288         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18289         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18290         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18291         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18292         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18293         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18294         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18295         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18296         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18297         * nptl/sysdeps/i386/tls.h: Moved ...
18298         * sysdeps/i386/nptl/tls.h: ... here.
18300         * sysdeps/sh/Makefile [$(subdir) = csu]
18301         (gen-as-const-headers): Add tcb-offsets.sym.
18302         * nptl/sysdeps/sh/Makefile: File removed.
18303         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18304         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18305         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18306         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18307         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18308         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18309         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18310         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18311         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18312         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18313         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18314         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18315         * nptl/sysdeps/sh/tls.h: Moved ...
18316         * sysdeps/sh/nptl/tls.h: ... here.
18317         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18318         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18319         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18320         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18321         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18322         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18323         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18324         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18325         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18326         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18328         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18330         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18332         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18334         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18336         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18338         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18342         Moved ...
18343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18345         Moved ...
18346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18348         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18351         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18352         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18353         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18354         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18355         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18356         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18357         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18358         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18359         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18360         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18361         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18362         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18364         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18366 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18368         * posix/spawn_faction_addopen.c: Include string.h.
18370 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18372         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18373         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18374         * nptl/sysdeps/x86_64/Makefile: Moved ...
18375         * sysdeps/x86_64/nptl/Makefile: ... here.
18376         * nptl/sysdeps/x86_64/configure: Moved ...
18377         * sysdeps/x86_64/nptl/configure: ... here.
18378         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18379         * sysdeps/x86_64/nptl/configure.ac: ... here.
18380         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18381         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18382         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18383         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18384         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18385         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18386         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18387         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18388         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18389         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18390         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18391         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18392         * nptl/sysdeps/x86_64/tls.h: Moved ...
18393         * sysdeps/x86_64/nptl/tls.h: ... here.
18394         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18395         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18396         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18397         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18399         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18401 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18405 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18407         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18408         type.
18409         [POSIX] (off_t): Likewise.
18410         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18411         [POSIX] (S_ISBLK): Require macro.
18412         [POSIX] (S_ISCHR): Likewise.
18413         [POSIX] (S_ISDIR): Likewise.
18414         [POSIX] (S_ISFIFO): Likewise.
18415         [POSIX] (S_ISREG): Likewise.
18416         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18417         optional-macro.
18418         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18419         type.
18420         [POSIX] (time_t): Likewise.
18421         [POSIX] (timer_t): Likewise.
18423 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18425         [BZ #17048]
18426         * posix/spawn_int.h (struct __spawn_action): Make the path string
18427         non-const to support deallocation.
18428         * posix/spawn_faction_addopen.c
18429         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18430         * posix/spawn_faction_destroy.c
18431         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18432         path in all spawn_do_open actions.
18433         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18434         posix_spawn_file_actions_addopen.
18436 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18438         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18439         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18440         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18441         conditional code always true.
18442         (__libc_vfork): New alias.
18444 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18446         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18447         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18449         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18451         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18452         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18454         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18455         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18457         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18458         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18460 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18462         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18463         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18464         multiarch strcmp for PPC64.
18465         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18466         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18468         multiarch optimizations.
18469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18470         (__libc_ifunc_impl_list): Likewise.
18472 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18474         * benchtests/scripts/validate_benchout.py: New script.
18475         * benchtests/Makefile (bench-func): Call it.
18476         * benchtests/scripts/benchout.schema.json: New file.
18478 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18480         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18481         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18482         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18483         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18484         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18485         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18486         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18487         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18488         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18489         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18490         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18491         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18492         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18493         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18494         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18495         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18497         Moved ...
18498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18499         ... here.
18500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18501         Moved ...
18502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18504         Moved ...
18505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18506         ... here.
18507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18508         Moved ...
18509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18510         ... here.
18511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18512         Moved ...
18513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18515         Moved ...
18516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18517         ... here.
18518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18519         Moved ...
18520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18521         ... here.
18522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18523         Moved ...
18524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18526         Moved ...
18527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18528         ... here.
18529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18530         Moved ...
18531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18532         ... here.
18533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18534         Moved ...
18535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18536         ... here.
18537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18538         Moved ...
18539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18541         Moved ...
18542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18543         ... here.
18544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18545         Moved ...
18546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18547         ... here.
18548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18549         Moved ...
18550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18551         ... here.
18552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18553         Moved ...
18554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18556         Moved ...
18557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18558         ... here.
18559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18560         Moved ...
18561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18562         ... here.
18563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18564         Moved ...
18565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18567         Moved ...
18568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18569         ... here.
18570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18571         Moved ...
18572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18574         Moved ...
18575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18577         Moved ...
18578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18579         ... here.
18580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18581         Moved ...
18582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18583         ... here.
18584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18585         Moved ...
18586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18587         ... here.
18588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18589         Moved ...
18590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18592         Moved ...
18593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18594         ... here.
18595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18596         Moved ...
18597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18598         ... here.
18599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18600         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18602         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18604         Moved ...
18605         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18606         ... here.
18607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18608         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18610         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18612         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18614         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18618         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18620         Moved ...
18621         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18623         Moved ...
18624         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18626         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18628         Moved ...
18629         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18631         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18632         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18633         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18634         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18635         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18637 2014-06-10  Wilco  <wdijkstr@arm.com>
18639         * math/test-fenv-return.c: New file.
18640         * math/Makefile: Add new test test-fenv-return.
18642 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18644         [BZ #17042]
18645         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18646         when x - 1 is zero.
18647         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18648         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18649         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18650         0.0L for an argument of 1.0L.
18651         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18652         Likewise.
18653         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18654         value when x - 1 is zero.
18655         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18656         * sysdeps/i386/fpu/libm-test-ulps: Update.
18657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18659 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18661         [BZ #15119]
18662         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18664 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18666         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18667         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18669 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18671         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18672         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18674         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18675         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18677         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18678         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18680         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18681         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18683         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18684         if not already defined.
18685         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18686         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18687         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18688         (TLS_INIT_TP): Use it.
18689         (TLS_DEFINE_INIT_TP): New macro.
18690         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18692 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18694         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18695         constant.
18696         [POSIX] (IXANY): Likewise.
18697         [POSIX] (OLCUC): Likewise.
18698         [POSIX || POSIX2008] (CBAUD): Do not allow.
18699         [POSIX || POSIX2008] (DEFECHO): Likewise.
18700         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18701         [POSIX || POSIX2008] (ECHOKE): Likewise.
18702         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18703         [POSIX || POSIX2008] (EXTA): Likewise.
18704         [POSIX || POSIX2008] (EXTB): Likewise.
18705         [POSIX || POSIX2008] (FLUSHO): Likewise.
18706         [POSIX || POSIX2008] (LOBLK): Likewise.
18707         [POSIX || POSIX2008] (PENDIN): Likewise.
18708         [POSIX || POSIX2008] (SWTCH): Likewise.
18709         [POSIX || POSIX2008] (VDISCARD): Likewise.
18710         [POSIX || POSIX2008] (VDSUSP): Likewise.
18711         [POSIX || POSIX2008] (VLNEXT): Likewise.
18712         [POSIX || POSIX2008] (VREPRINT): Likewise.
18713         [POSIX || POSIX2008] (VSTATUS): Likewise.
18714         [POSIX || POSIX2008] (VWERASE): Likewise.
18715         (B*): Change to B[0123456789]*.
18716         * conform/data/time.h-data [POSIX || UNIX98]
18717         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18718         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18719         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18720         [POSIX] (tm_*): Do not allow.
18722 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18724         * Makefile (install): Don't set LANGUAGE.
18725         * Makefile.in (install): Likewise.
18726         * assert/Makefile (test-assert-ENV): Remove variable.
18727         (test-assert-perr-ENV): Likewise.
18728         * elf/Makefile (neededtest4-ENV): Likewise.
18729         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18730         [$(cross-compiling) = no]: Don't set LANGUAGE.
18731         * io/ftwtest-sh (LANG): Remove variable.
18732         * libio/Makefile (tst-widetext-ENV): Likewise.
18733         * manual/install.texi (Running make install): Don't refer to
18734         environment settings for make install.
18735         * INSTALL: Regenerated.
18736         * nptl/tst-tls6.sh: Don't set LANG.
18737         * posix/globtest.sh (LANG): Remove variable.
18738         * string/Makefile (tester-ENV): Likewise.
18739         (inl-tester-ENV): Likewise.
18740         (noinl-tester-ENV): Likewise.
18741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18742         [$(cross-compiling) = no]: Don't set LANGUAGE.
18743         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18744         without explicit environment settings.
18746 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18748         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18749         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18750         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18751         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18753 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18755         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18756         other files in the crypt directory.
18757         * crypt/crypt.c: Remove duplicate includes.
18758         * crypt/crypt-entry.c: Likewise.
18759         * crypt/crypt_util.c: Likewise.
18761 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18763         * Makeconfig (run-program-env): New variable.
18764         (run-program-prefix-before-env): Likewise.
18765         (run-program-prefix-after-env): Likewise.
18766         (run-program-prefix): Define in terms of new variables.
18767         (built-program-cmd-before-env): New variable.
18768         (built-program-cmd-after-env): Likewise.
18769         (built-program-cmd): Define in terms of new variables.
18770         (test-program-prefix-before-env): New variable.
18771         (test-program-prefix-after-env): Likewise.
18772         (test-program-prefix): Define in terms of new variables.
18773         (test-program-cmd-before-env): New variable.
18774         (test-program-cmd-after-env): Likewise.
18775         (test-program-cmd): Define in terms of new variables.
18776         * Rules (make-test-out): Use $(run-program-env).
18777         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18778         (help): Do not mention environment variables.  Mention
18779         --timeoutfactor option.
18780         (timeoutfactor): New variable.
18781         (blacklist_exports): Remove function.
18782         (exports): Remove variable.
18783         (command): Do not include ${exports}.
18784         * manual/install.texi (Configuring and compiling): Do not mention
18785         test wrappers preserving environment variables.  Mention that last
18786         assignment to a variable must take precedence.
18787         * INSTALL: Regenerated.
18788         * benchtests/Makefile (run-bench): Use $(run-program-env).
18789         * catgets/Makefile ($(objpfx)test1.cat): Use
18790         $(built-program-cmd-before-env), $(run-program-env) and
18791         $(built-program-cmd-after-env).
18792         ($(objpfx)test2.cat): Do not specify environment variables
18793         explicitly.
18794         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18795         $(run-program-env) and $(built-program-cmd-after-env).
18796         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18797         $(run-program-env) and $(test-program-cmd-after-env).
18798         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18799         explicitly.
18800         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18801         run_program_env and test_program_cmd_after_env arguments.
18802         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18803         * elf/tst-pathopt.sh: Use run_program_env argument.
18804         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18805         $(test-wrapper-env) and $(run-program-env).
18806         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18807         run_program_env arguments.
18808         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18809         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18810         $(test-program-prefix-before-env), $(run-program-env) and
18811         $(test-program-prefix-after-env).
18812         ($(objpfx)tst-gettext2.out): Likewise.
18813         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18814         run_program_env and test_program_prefix_after_env arguments.
18815         * intl/tst-gettext2.sh: Likewise.
18816         * intl/tst-gettext4.sh: Do not set environment variables
18817         explicitly.
18818         * intl/tst-gettext6.sh: Likewise.
18819         * intl/tst-translit.sh: Likewise.
18820         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18821         $(test-program-prefix-before-env), $(run-program-env) and
18822         $(test-program-prefix-after-env).
18823         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18824         run_program_env and test_program_prefix_after_env arguments.
18825         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18826         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18827         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18828         explicitly with each use of ${test_wrapper_env}.
18829         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18830         $(test-program-prefix-before-env), $(run-program-env) and
18831         $(test-program-prefix-after-env).
18832         * posix/tst-getconf.sh: Do not set environment variables
18833         explicitly.
18834         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18835         run_program_env and test_program_prefix_after_env arguments.
18836         * stdio-common/tst-printf.sh: Do not set environment variables
18837         explicitly.
18838         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18839         $(test-program-prefix-before-env), $(run-program-env) and
18840         $(test-program-prefix-after-env).
18841         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18842         run_program_env and test_program_prefix_after_env arguments.
18843         Split $test calls into $test_pre and $test.
18844         * timezone/Makefile (build-testdata): Use
18845         $(built-program-cmd-before-env), $(run-program-env) and
18846         $(built-program-cmd-after-env).
18848 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18850         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18851         strlen for non SHARED builds.
18853 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18855         * nptl/allocatestack.c (check_list): Inlined function...
18856         (__reclaim_stacks): ... here.
18858 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18860         [BZ #15698]
18861         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18862         memory overrun.
18864 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18866         * Rules (make-test-out): Include
18867         LOCPATH=$(common-objpfx)localedata in default environment.
18868         * debug/Makefile (tst-chk1-ENV): Remove variable.
18869         (tst-chk2-ENV): Likewise.
18870         (tst-chk3-ENV): Likewise.
18871         (tst-chk4-ENV): Likewise.
18872         (tst-chk5-ENV): Likewise.
18873         (tst-chk6-ENV): Likewise.
18874         (tst-lfschk1-ENV): Likewise.
18875         (tst-lfschk2-ENV): Likewise.
18876         (tst-lfschk3-ENV): Likewise.
18877         (tst-lfschk4-ENV): Likewise.
18878         (tst-lfschk5-ENV): Likewise.
18879         (tst-lfschk6-ENV): Likewise.
18880         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18881         (tst-iconv7-ENV): Likewise.
18882         * intl/Makefile (LOCPATH-ENV): Likewise.
18883         (tst-codeset-ENV): Likewise.
18884         (tst-gettext3-ENV): Likewise.
18885         (tst-gettext5-ENV): Likewise.
18886         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18887         (tst-fopenloc-ENV): Likewise.
18888         (tst-fgetws-ENV): Remove variable.
18889         (tst-ungetwc1-ENV): Likewise.
18890         (tst-ungetwc2-ENV): Likewise.
18891         (bug-ungetwc2-ENV): Likewise.
18892         (tst-swscanf-ENV): Likewise.
18893         (bug-ftell-ENV): Likewise.
18894         (tst-fgetwc-ENV): Likewise.
18895         (tst-fseek-ENV): Likewise.
18896         (tst-ftell-partial-wide-ENV): Likewise.
18897         (tst-ftell-active-handler-ENV): Likewise.
18898         (tst-ftell-append-ENV): Likewise.
18899         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18900         (tst-regexloc-ENV): Likewise.
18901         (bug-regex1-ENV): Likewise.
18902         (tst-regex-ENV): Likewise.
18903         (tst-regex2-ENV): Likewise.
18904         (bug-regex5-ENV): Likewise.
18905         (bug-regex6-ENV): Likewise.
18906         (bug-regex17-ENV): Likewise.
18907         (bug-regex18-ENV): Likewise.
18908         (bug-regex19-ENV): Likewise.
18909         (bug-regex20-ENV): Likewise.
18910         (bug-regex22-ENV): Likewise.
18911         (bug-regex23-ENV): Likewise.
18912         (bug-regex25-ENV): Likewise.
18913         (bug-regex26-ENV): Likewise.
18914         (bug-regex30-ENV): Likewise.
18915         (bug-regex32-ENV): Likewise.
18916         (bug-regex33-ENV): Likewise.
18917         (bug-regex34-ENV): Likewise.
18918         (bug-regex35-ENV): Likewise.
18919         (tst-rxspencer-ENV): Likewise.
18920         (tst-rxspencer-no-utf8-ENV): Likewise.
18921         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18922         (tst-sscanf-ENV): Likewise.
18923         (tst-swprintf-ENV): Likewise.
18924         (tst-swscanf-ENV): Likewise.
18925         (test-vfprintf-ENV): Likewise.
18926         (scanf13-ENV): Likewise.
18927         (bug14-ENV): Likewise.
18928         (tst-grouping-ENV): Likewise.
18929         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18930         (tst-strtod3-ENV): Likewise.
18931         (tst-strtod4-ENV): Likewise.
18932         (tst-strtod5-ENV): Likewise.
18933         (testmb2-ENV): Likewise./
18934         * string/Makefile (tst-strxfrm-ENV): Likewise.
18935         (tst-strxfrm2-ENV): Likewise.
18936         (bug-strcoll1-ENV): Likewise.
18937         (test-strcasecmp-ENV): Likewise.
18938         (test-strncasecmp-ENV): Likewise.
18939         * time/Makefile (tst-strptime-ENV): Likewise.
18940         (tst-ftime_l-ENV): Likewise.
18941         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18942         (tst-mbrtowc-ENV): Likewise.
18943         (tst-wcrtomb-ENV): Likewise.
18944         (tst-mbrtowc2-ENV): Likewise.
18945         (tst-c16c32-1-ENV): Likewise.
18946         (tst-mbsnrtowcs-ENV): Likewise.
18948 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18950         * manual/resource.texi (How to get information about the memory
18951         subsystem?): Fix typo.
18952         Reported by Peon de la Parra Ivan <peon@keba.com>
18954 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18956         [BZ #16882]
18957         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18958         (pthread_spin_lock): Branch out of spin loop to proper location.
18959         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18960         (pthread_spin_lock): Likewise.
18962         * nptl/tst-spin4.c: New test.
18963         * nptl/Makefile (tests): Add tst-spin4.
18965 2014-06-03  Andreas Schwab  <schwab@suse.de>
18967         [BZ #15946]
18968         * resolv/res_send.c (send_dg): Reload file descriptor after
18969         calling reopen.
18971 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18973         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18975 2014-06-03  Richard Henderson  <rth@redhat.com>
18977         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18978         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18979         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18980         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18981         in the SAVE_PID block.
18982         (__libc_vfork): New alias.
18983         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18985         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18986         child in registers, not on the stack.  Remove RESET_PID conditionals.
18987         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18989 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18991         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18993 2014-06-03  Wilco  <wdijkstr@arm.com>
18995         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18996         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18997         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18998         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18999         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19000         Likewise.
19002 2014-06-03  Wilco  <wdijkstr@arm.com>
19004         * sysdeps/aarch64/fpu/math_private.h
19005         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19006         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19007         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19008         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19009         Fix declarations.
19011 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19013         * crypt/crypt-private.h: Include ufc-crypt.h.
19014         (__b64_from_24bit): Declare extern.
19015         * crypt/crypt_util.c(__b64_from_24bit): New function.
19016         (b64t): New static const variable.
19017         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19018         (b64t): Remove variable.
19019         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19020         * crypt/sha256-crypt.c: Include crypt-private.h.
19021         (b64t): Remove variable.
19022         (__sha256_crypt_r): Remove b64_from_24bit and replace
19023         with __b64_from_24bit.
19024         * crypt/sha512-crypt.c: Likewise.
19026 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19028         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19029         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19030         Label the code __libc_vfork rather than __vfork.
19031         [!NOT_IN_libc] (vfork): Define as weak alias.
19032         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19033         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19034         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19036 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19038         * malloc/malloc.c (malloc_info): Fix format specifier for
19039         n_mmaps.
19041 2014-06-02  Wilco  <wdijkstr@arm.com>
19043         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19044         FPCR write.
19046 2014-06-02  Wilco  <wdijkstr@arm.com>
19048         [BZ #17009]
19049         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19050         Rewrite to reduce FPCR/FPSR accesses.
19052 2014-06-01  David S. Miller  <davem@davemloft.net>
19054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19056 2014-05-31  David S. Miller  <davem@davemloft.net>
19058         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19059         to occur in round to nearest mode when |x| >= 2.0
19061 2014-05-30  Richard Henderson  <rth@twiddle.net>
19063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19064         (PSEUDO_RET_NOERRNO): Remove.
19065         (ret): Don't redefine.
19066         (ret_NOERRNO): Define in terms of ret.
19067         (ret_ERRVAL): Likewise.
19069         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19070         use of PSEUDO_RET; perform the error check directly.
19072 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19074         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19075         with __int128_t.
19077 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19079         * malloc/malloc (malloc_info): Fix formatting.
19081 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19082             Roland McGrath  <roland@hack.frob.com>
19084         * malloc/malloc (malloc_info): Also print mmapped statistics.
19086 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19088         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19089         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19091 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19093         * malloc/malloc.c (malloc_info): Inline mi_arena.
19095 2014-05-29  Richard Henderson  <rth@twiddle.net>
19097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19098         Remove comma before expanding ASM_ARGS_##nr.
19099         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19100         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19101         of ASM_ARGS_##nr.
19102         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19103         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19104         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19105         (ASM_ARGS_1): Add leading comma.
19107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19108         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19109         to __errno_location.
19110         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19111         Remove the expected plt for __errno_location.
19113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19114         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19115         call to __read_tp.
19117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19118         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19119         it and break it down.
19120         (DOCARGS_0, DOCARGS_1): Do nothing.
19121         (DOCARGS_2): Update to store into the new stack frame.
19122         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19123         (UNDOCARGS_1): Update to restore from the new stack frame.
19124         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19125         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19128         (SINGLE_THREAD_P): New parameter for result regno.
19129         (PSEUDO): Update to match; use cbz instead of beq.
19131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19132         Use ENTRY to define the _nocancel entry point.  Share the syscall
19133         and syscall error check paths with the cancel path.
19134         (PSEUDO_END): New.
19136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19137         whitespace; tabs before and after asm mnemonics.
19139 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19141         [BZ #15132]
19142         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19143         Call fstat64 or stat64 internally, depending on arguments passed.
19144         Replace stat buffer argument with file descriptor argument.
19145         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19146         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19147         Pass fd to __internal_statvfs instead of calling fstat64.
19148         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19149         Pass fd to __internal_statvfs64 instead of calling fstat64.
19150         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19151         Pass -1 to __internal_statvfs instead of calling stat64.
19152         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19153         Pass -1 to __internal_statvfs64 instead of calling stat64.
19155 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19157         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19158         that was previously under [RESET_PID].
19159         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19161         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19162         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19164 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19166         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19168         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19169         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19171 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19173         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19175 2014-05-27  Andreas Schwab  <schwab@suse.de>
19177         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19178         TLS_INIT_TP macro.
19179         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19180         * elf/rtld.c (init_tls, dl_main): Likewise.
19181         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19182         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19183         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19184         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19185         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19186         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19187         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19188         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19189         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19190         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19191         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19192         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19193         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19194         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19195         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19196         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19197         * sysdeps/generic/tls.h: Update description.
19199 2014-05-27  Will Newton  <will.newton@linaro.org>
19201         [BZ #16990]
19202         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19203         and restore r2 rather than just restoring.
19205 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19207         [BZ #16724]
19208         * libio/tst-ftell-append.c: New test case.
19209         * libio/Makefile (tests): Add test case.
19210         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19211         append mode.
19212         * libio/wfileops.c (do_ftell_wide): Likewise.
19214 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19218         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19219         ...
19220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19222         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19223         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19225         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19226         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19229         Moved ...
19230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19232         Moved ...
19233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19234         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19235         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19236         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19237         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19238         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19239         ...
19240         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19241         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19242         Moved ...
19243         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19244         here.
19245         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19246         ...
19247         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19248         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19249         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19251         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19252         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19253         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19254         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19257         merge into ...
19258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19260         ...
19261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19263         ...
19264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19266         Moved ...
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19268         here.
19269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19270         Moved ...
19271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19273         Moved ...
19274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19277         conditional [RESET_PID].
19278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19280         removed.
19281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19282         removed.
19284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19285         <tcb-offsets.h>.
19286         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19287         (__libc_vfork): New strong alias.
19288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19289         removed.
19290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19291         Removed.
19293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19294         <tcb-offsets.h>.
19295         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19296         (__libc_vfork): New strong alias.
19297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19298         removed.
19299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19300         removed.
19302 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19304         * malloc/malloc.c (mi_arena): New function.
19305         (malloc_info): Remove nested function mi_arena. Call non-nosted
19306         function mi_arena.
19308 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19310         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19311         by insrwi.
19312         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19313         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19314         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19315         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19316         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19317         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19318         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19320 2014-05-26  Andreas Schwab  <schwab@suse.de>
19322         [BZ #16984]
19323         * locale/programs/repertoire.c (repertoire_read): Add slash
19324         between I18NPATH element and file name.
19325         * locale/programs/locfile.c (locfile_read): Likewise.
19327 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19329         * nptl/pthread_mutexattr_settype.c
19330         (__pthread_mutexattr_settype):
19331         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19333 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19335         * nptl/tst-mutex5 (do_test):
19336         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19340         * benchtests/README: Document 'init' directive.
19341         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19342         BENCH_INIT.
19343         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19344         (parse_file): Recognize 'init' directive.
19346 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19348         [BZ #16796]
19349         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19350         alignment of struct pthread.
19352 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19354         [BZ #16878]
19355         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19356         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19357         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19358         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19360 2014-05-25  Richard Henderson  <rth@twiddle.net>
19362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19363         (SINGLE_THREAD_P_PIC): Remove.
19364         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19365         (SINGLE_THREAD_P_PIC): Remove.
19367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19368         branch to syscall error ...
19369         (PSEUDO): ... here.
19370         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19371         from __local_syscall_error to .Lsyscall_error.
19372         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19373         (SYSCALL_ERROR): Update label name.
19375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19376         Do not use DOARGS/UNDOARGS.
19377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19378         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19379         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19380         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19381         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19384         block comment.
19386         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19387         define if !NOT_IN_libc.
19388         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19389         define with non-default symbol versions.
19391 2014-05-23  Richard Henderson  <rth@twiddle.net>
19393         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19394         (vfork, __vfork): Define via compat_symbol.
19396         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19397         [!HAVE_IFUNC] (vfork_compat): Remove.
19398         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19400 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19402         [BZ #16978]
19403         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19404         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19405         variable.
19407 2014-05-23  Richard Henderson  <rth@twiddle.net>
19409         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19410         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19411         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19412         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19414         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19415         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19416         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19417         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19418         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19419         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19420         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19421         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19422         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19423         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19424         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19425         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19426         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19427         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19428         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19429         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19430         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19431         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19432         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19433         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19434         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19435         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19436         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19437         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19438         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19439         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19440         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19441         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19442         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19443         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19444         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19445         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19446         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19447         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19448         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19449         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19450         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19451         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19452         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19453         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19454         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19455         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19456         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19457         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19458         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19459         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19461         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19463         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19464         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19465         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19466         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19467         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19469         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19471         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19472         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19473         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19474         before exiting on error.
19475         (__libc_vfork): New strong alias.
19476         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19477         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19479         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19480         that was previously under [RESET_PID].
19481         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19483         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19485 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19487         [BZ #16977]
19488         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19489         value when x - 1 is zero.
19490         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19491         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19492         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19493         0.0L for an argument of 1.0L.
19494         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19495         Likewise.
19496         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19497         value when x - 1 is zero.
19498         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19499         * sysdeps/i386/fpu/libm-test-ulps: Update.
19500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19502 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19504         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19505         alphasort and versionsort.
19507 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19509         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19510         macro.
19511         [copysignf]: Likewise.
19513 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19515         * crypt/md5-crypt.c: Fix formatting.
19517 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19519         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19520         (b64_from_24bit): New function.
19522 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19524         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19525         libc_hidden_builtin_def to ifunc.
19526         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19527         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19529 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19531         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19532         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19534 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19536         * nscd/Depend (linuxthreads): Remove.
19537         (nptl): Add.
19538         * resolv/Depend (linuxthreads): Remove.
19539         * rt/Depend (linuxthreads): Remove.
19541         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19542         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19543         $(common-objpfx)elf/.
19544         (link-libc-before-gnulib): Likewise.
19545         (elfobjdir): Remove variable.
19546         * Makefile (install): Use $(elf-objpfx) instead of
19547         $(common-objpfx)elf/.
19548         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19549         $(elfobjdir)/.
19550         (link-libc-deps): Likewise.
19551         ($(common-objpfx)libc.so): Likewise.
19552         ($(common-objpfx)linkobj/libc.so): Likewise.
19553         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19554         instead of $(common-objpfx)elf/.
19555         (symbolic-link-list): Likewise.
19556         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19557         [$(cross-compiling) = no]: Likewise.
19558         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19559         $(elfobjdir)/.
19560         (static-gnulib-arch): Likewise.
19561         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19562         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19563         $(common-objpfx)elf/.
19565 2014-05-21  Richard Henderson  <rth@redhat.com>
19567         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19568         (SINGLE_THREAD_P): Use the correct width load.  Fold
19569         into the ldr offset.
19571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19572         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19574 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19576         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19577         (libgcc_s_resume): Use __attribute_used__.
19578         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19579         Likewise.
19581 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19583         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19584         optimization when used with float constants.
19586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19588 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19590         [BZ #16915]
19591         * locale/nl_langinfo_l.c: Make direct reference to every
19592         _nl_current_CATEGORY symbol.
19593         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19594         (tests-static): Add tst-langinfo-static.
19595         (tests-special): Add tst-langinfo-static.out.
19596         ($(objpfx)tst-langinfo.out): Redirect output.
19597         ($(objpfx)tst-langinfo-static.out): New.
19598         * localedata/tst-langinfo.sh: Send output to stdout.
19599         * localedata/tst-langinfo-static.c: New file.
19601         [BZ #16965]
19602         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19603         when the shift amount is modulo the limb size.
19605 2014-05-20  Richard Henderson  <rth@redhat.com>
19607         [BZ #16967]
19608         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19609         Change type of sa_flags from unsigned int to int.
19611         [BZ #16966]
19612         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19614         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19616 2014-05-20  Will Newton  <will.newton@linaro.org>
19618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19619         Test the return value of the system call in the nocancel case.
19621 2014-05-20  Will Newton  <will.newton@linaro.org>
19622             Yvan Roux  <yvan.roux@linaro.org>
19624         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19625         #include of asm/ptrace.h.
19626         (PTRACE_GET_THREAD_AREA): Remove #undef.
19627         (PTRACE_GETHBPREGS): Likewise.
19628         (PTRACE_SETHBPREGS): Likewise.
19629         (struct user_regs_struct): New structure.
19630         (struct user_fpsimd_struct): New structure.
19631         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19632         #include of asm/ptrace.h and second #include of sys/user.h.
19633         (PTRACE_GET_THREAD_AREA): Remove #undef.
19634         (PTRACE_GETHBPREGS): Likewise.
19635         (PTRACE_SETHBPREGS): Likewise.
19636         (ELF_NGREG): Use new struct user_regs_struct.
19637         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19639 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19641         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19642         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19644 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19646         [BZ #16958]
19647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19648         membar to avoid block loads/stores to overlap previous stores.
19650 2014-05-17  Richard Henderson  <rth@redhat.com>
19652         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19653         Create the __##syscall_name##_nocancel entry point.
19654         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19655         Remove; let the sysdep-cancel.h code create it.
19657 2014-05-17  David S. Miller  <davem@davemloft.net>
19659         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19660         Protect with __USE_GNU.
19661         (TIOCSET_TEMPT): Likewise.
19662         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19663         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19664         these are already provided in bits/ioctl-types.h
19666 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19668         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19669         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19671         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19672         Use wait4 regardless of [__NR_waitpid].
19674 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19676         PR libgcc/60166
19677         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19678         (_FP_NANSIGN_Q): Set the quiet bit.
19680 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19682         * benchtests/Makefile
19683         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19684         not $(common-objpfx)math/libm.so.
19685         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19686         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19687         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19688         $(common-objpfx)dlfcn/libdl.so.
19689         ($(objpfx)tst-audit8): Depend on $(libm), not
19690         $(common-objpfx)math/libm.so.
19691         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19692         not $(common-objpfx)dlfcn/libdl.so.
19693         * math/Makefile
19694         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19695         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19696         [$(build-shared) = yes].
19697         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19698         $(common-objpfx)nptl/libpthread.so.
19699         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19700         $(common-objpfx)math/libm.so$(libm.so-version) or
19701         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19702         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19703         $(common-objpfx)dlfcn/libdl.so.
19704         * setjmp/Makefile (link-libm): Remove variable.
19705         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19706         * stdio-common/Makefile (link-libm): Remove variable.
19707         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19708         * stdlib/Makefile (link-libm): Remove variable.
19709         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19710         ($(objpfx)tst-strtod-round): Likewise.
19711         ($(objpfx)tst-tininess): Likewise.
19712         ($(objpfx)tst-strtod-underflow): Likewise.
19713         ($(objpfx)tst-strtod6): Likewise.
19714         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19715         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19716         $(common-objpfx)dlfcn/libdl.so.
19718 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19720         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19721         BSD terminal modes definitions.
19723 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19725         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19726         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19728         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19729         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19730         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19731         Don't do #include_next.
19732         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19733         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19734         Don't do #include_next.
19735         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19736         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19737         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19738         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19740 2014-05-16  Allan McRae  <allan@archlinux.org>
19742         * po/sv.po: Update Swedish translation from translation project.
19744         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19745         in sed expression.
19747 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19749         [BZ #16917]
19750         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19751         errno if the TIOCGPTN ioctl fails with an error different than
19752         EINVAL.
19753         * login/tst-ptsname.c: New file.
19754         * login/Makefile (tests): Add tst-ptsname.
19756         [BZ #16943]
19757         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19758         and prlimit64.
19760 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19762         [BZ #16849]
19763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19764         herrno to return EAI_AGAIN.
19766 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19768         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19769         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19770         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19771         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19772         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19773         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19774         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19775         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19777         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19778         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19779         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19780         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19781         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19782         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19783         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19784         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19785         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19786         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19787         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19788         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19789         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19790         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19791         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19792         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19793         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19794         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19795         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19796         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19797         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19799         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19801         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19803         Moved ...
19804         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19806         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19808         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19810         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19812         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19816         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19818         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19820         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19822         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19824         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19826         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19828         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19830         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19832         Moved ...
19833         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19835         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19837         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19839         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19841         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19843         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19845         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19847         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19849         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19851         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19853         Moved ...
19854         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19856         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19858         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19859         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19860         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19861         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19862         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19863         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19864         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19865         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19866         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19867         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19868         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19869         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19870         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19871         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19872         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19873         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19874         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19875         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19876         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19877         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19878         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19879         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19880         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19881         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19883         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19884         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19885         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19886         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19887         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19888         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19890         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19891         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19893         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19894         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19895         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19897         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19899         Moved ...
19900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19902         Moved ...
19903         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19905         Moved ...
19906         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19908         Moved ...
19909         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19910         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19911         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19913         Moved ...
19914         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19915         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19916         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19918         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19919         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19920         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19922         Moved ...
19923         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19925         Moved ...
19926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19927         ... here.
19928         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19929         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19930         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19931         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19933         Moved ...
19934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19935         ... here.
19936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19937         Moved ...
19938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19939         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19940         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19942         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19944         Moved ...
19945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19947         Moved ...
19948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19950         Moved ...
19951         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19953         Moved ...
19954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19955         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19956         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19958         Moved ...
19959         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19960         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19961         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19964         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19965         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19967         Moved ...
19968         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19970         Moved ...
19971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19972         ... here.
19973         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19974         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19975         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19976         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19978         Moved ...
19979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19980         ... here.
19981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19982         Moved ...
19983         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19984         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19985         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19986         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19987         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19988         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19991         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19993         Moved ...
19994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19996         Moved ...
19997         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19999         Moved ...
20000         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20002         Moved ...
20003         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20004         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20005         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20006         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20007         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20009         Moved ...
20010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20011         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20012         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20015         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20016         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20018         Moved ...
20019         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20021         Moved ...
20022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20023         ... here.
20024         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20025         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20026         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20027         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20028         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20029         Moved ...
20030         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20031         ... here.
20032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20033         Moved ...
20034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20035         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20036         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20037         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20038         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20039         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20040         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20041         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20042         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20043         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20044         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20046         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20047         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20049         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20050         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20052         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20053         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20054         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20055         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20056         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20057         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20058         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20059         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20060         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20063         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20065         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20066         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20068         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20070         Moved ...
20071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20075         Moved ...
20076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20080         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20084         Moved ...
20085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20087         Moved ...
20088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20094         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20095         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20096         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20097         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20098         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20099         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20100         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20101         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20102         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20103         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20104         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20106         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20107         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20108         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20109         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20110         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20112         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20113         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20114         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20115         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20116         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20117         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20118         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20119         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20120         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20121         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20126         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20127         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20128         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20129         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20131         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20133         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20134         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20135         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20136         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20137         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20138         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20139         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20141         Update #include.
20142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20143         Likewise.
20144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20145         Likewise.
20146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20147         Likewise.
20148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20149         Likewise.
20150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20151         Likewise.
20152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20153         Likewise.
20154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20155         Likewise.
20156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20157         Likewise.
20158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20159         Likewise.
20160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20165         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20166         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20167         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20168         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20169         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20170         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20171         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20172         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20173         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20174         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20177         that was previously under [RESET_PID].
20178         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20179         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20180         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20182         * sysdeps/i386/nptl/Implies: New file.
20183         * sysdeps/x86_64/nptl/Implies: New file.
20184         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20185         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20186         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20187         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20189         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20191         (__libc_vfork): New strong alias.
20192         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20193         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20195         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20197         (__libc_vfork): New strong alias.
20198         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20199         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20201         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20202         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20203         (__libc_vfork): New strong alias.
20204         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20205         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20206         * nptl/pt-vfork.c: New file.
20207         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20208         (libpthread: GLIBC_2.20): New version set (empty).
20210 2014-05-14  Will Newton  <will.newton@linaro.org>
20212         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20213         rather than #if.
20215 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20217         [BZ #16564]
20218         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20219         arguments with exponent 65 or above.
20220         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20221         arguments 0x1p113L or above.
20222         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20223         to arguments 0x1p107L or above.
20224         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20225         positive arguments with exponent 65 or above.
20226         * math/auto-libm-test-in: Add more tests of log1p.
20227         * math/auto-libm-test-out: Regenerated.
20229         [BZ #16928]
20230         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20231         non-finite arguments is +0.
20232         * math/s_cacosf.c (__cacosf): Likewise.
20233         * math/s_cacosl.c (__cacosl): Likewise.
20234         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20235         * sysdeps/i386/fpu/libm-test-ulps: Update.
20236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20238         [BZ #16927]
20239         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20240         value.
20241         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20242         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20243         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20244         for explicit high bit of mantissa when testing for argument equal
20245         to 1.
20246         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20247         * sysdeps/i386/fpu/libm-test-ulps: Update.
20248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20250         [BZ #16516]
20251         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20252         (__erf): Scale by 16 instead of 8 in potentially underflowing
20253         case.  Ensure exception if result actually underflows.
20254         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20255         (__erff): Scale by 16 instead of 8 in potentially underflowing
20256         case.  Ensure exception if result actually underflows.
20257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20258         (efx8): Remove variable.
20259         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20260         case.  Ensure exception if result actually underflows.
20261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20262         (efx8): Remove variable.
20263         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20264         case.  Ensure exception if result actually underflows.
20265         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20266         (efx8): Remove variable.
20267         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20268         case.  Ensure exception if result actually underflows.
20269         * math/auto-libm-test-in: Add more tests of erf.
20270         * math/auto-libm-test-out: Regenerated.
20272 2014-05-14  Andreas Schwab  <schwab@suse.de>
20274         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20275         Remove code conditionalized on USE___THREAD.
20277         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20278         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20279         not definedness.
20281 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20284         Define unconditionally.
20285         (__ASSUME_O_CLOEXEC): Likewise.
20286         (__ASSUME_SOCK_CLOEXEC): Likewise.
20287         (__ASSUME_IN_NONBLOCK): Likewise.
20288         (__ASSUME_PIPE2): Likewise.
20289         (__ASSUME_EVENTFD2): Likewise.
20290         (__ASSUME_SIGNALFD4): Likewise.
20291         (__ASSUME_DUP3): Likewise.
20292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20293         (__ASSUME_DUP3): Do not define.
20294         (__ASSUME_EVENTFD2): Likewise.
20295         (__ASSUME_IN_NONBLOCK): Likewise.
20296         (__ASSUME_O_CLOEXEC): Likewise.
20297         (__ASSUME_PIPE2): Likewise.
20298         (__ASSUME_SIGNALFD4): Likewise.
20299         (__ASSUME_SOCK_CLOEXEC): Likewise.
20300         (__ASSUME_UTIMES): Undefine.
20301         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20302         (__ASSUME_UTIMES): Do not define.
20303         (__ASSUME_O_CLOEXEC): Likewise.
20304         (__ASSUME_SOCK_CLOEXEC): Likewise.
20305         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20306         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20307         0x020621].
20308         (__ASSUME_PIPE2): Likewise.
20309         (__ASSUME_EVENTFD2): Likewise.
20310         (__ASSUME_SIGNALFD4): Likewise.
20311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20312         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20313         Do not define.
20314         (__ASSUME_EVENTFD2): Likewise.
20315         (__ASSUME_SIGNALFD4): Likewise.
20316         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20317         (__ASSUME_32BITUIDS): Likewise.
20318         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20319         (__ASSUME_IPC64): Likewise.
20320         (__ASSUME_ST_INO_64_BIT): Likewise.
20321         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20322         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20323         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20324         (__ASSUME_UTIMES): Do not define.
20325         (__ASSUME_PSELECT): Likewise.
20326         (__ASSUME_PPOLL): Likewise.
20327         (__ASSUME_O_CLOEXEC): Likewise.
20328         (__ASSUME_SOCK_CLOEXEC): Likewise.
20329         (__ASSUME_IN_NONBLOCK): Likewise.
20330         (__ASSUME_PIPE2): Likewise.
20331         (__ASSUME_EVENTFD2): Likewise.
20332         (__ASSUME_SIGNALFD4): Likewise.
20333         (__ASSUME_DUP3): Likewise.
20334         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20335         (__ASSUME_UTIMES): Likewise.
20336         (__ASSUME_O_CLOEXEC): Likewise.
20337         (__ASSUME_SOCK_CLOEXEC): Likewise.
20338         (__ASSUME_IN_NONBLOCK): Likewise.
20339         (__ASSUME_PIPE2): Likewise.
20340         (__ASSUME_EVENTFD2): Likewise.
20341         (__ASSUME_SIGNALFD4): Likewise.
20342         (__ASSUME_DUP3): Likewise.
20343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20344         (__ASSUME_UTIMES): Likewise.
20345         (__ASSUME_O_CLOEXEC): Likewise.
20346         (__ASSUME_SOCK_CLOEXEC): Likewise.
20347         (__ASSUME_IN_NONBLOCK): Likewise.
20348         (__ASSUME_PIPE2): Likewise.
20349         (__ASSUME_EVENTFD2): Likewise.
20350         (__ASSUME_SIGNALFD4): Likewise.
20351         (__ASSUME_DUP3): Likewise.
20352         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20353         Likewise.
20354         (__ASSUME_UTIMES): Likewise.
20355         (__ASSUME_EVENTFD2): Likewise.
20356         (__ASSUME_SIGNALFD4): Likewise.
20357         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20358         (__ASSUME_O_CLOEXEC): Likewise.
20359         (__ASSUME_SOCK_CLOEXEC): Likewise.
20360         (__ASSUME_IN_NONBLOCK): Likewise.
20361         (__ASSUME_PIPE2): Likewise.
20362         (__ASSUME_EVENTFD2): Likewise.
20363         (__ASSUME_SIGNALFD4): Likewise.
20364         (__ASSUME_DUP3): Likewise.
20365         (__ASSUME_UTIMES): Undefine.
20367         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20368         feclearexcept.  Remove symbol versioning code.
20369         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20370         symbol versioning code.
20371         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20372         symbol versioning code.
20373         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20374         feupdateenv.  Remove symbol versioning code.
20375         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20376         fegetexceptflag.  Remove symbol versioning code.
20377         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20378         fesetexceptflag.  Remove symbol versioning code.
20379         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20380         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20381         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20382         (__posix_fadvise64_l32): Remove prototype.
20383         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20384         code.
20386 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20389         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20390         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20391         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20393 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20395         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20396         current working directory
20398 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20400         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20401         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20402         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20403         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20404         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20405         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20406         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20407         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20408         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20409         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20410         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20411         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20412         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20413         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20414         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20415         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20416         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20417         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20418         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20419         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20420         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20421         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20422         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20423         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20424         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20425         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20426         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20427         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20428         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20429         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20430         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20431         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20432         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20433         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20434         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20435         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20436         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20437         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20438         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20439         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20440         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20441         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20443         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20444         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20446         * sysdeps/unix/sysv/linux/arm/Makefile
20447         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20448         Add rt-aeabi_unwind_cpp_pr1.
20449         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20450         Add nptl-aeabi_unwind_cpp_pr1.
20451         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20452         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20453         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20454         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20455         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20456         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20458         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20459         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20460         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20461         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20463         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20464         Deconditionalize the code that was previously under [RESET_PID].
20465         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20467         * sysdeps/generic/exit-thread.h: New file.
20468         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20469         * include/unistd.h (__exit_thread): Remove declaration.
20470         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20471         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20472         * csu/libc-start.c: Include <exit-thread.h>.
20473         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20474         * nptl/pthread_create.c: Include <exit-thread.h>.
20475         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20476         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20477         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20478         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20479         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20480         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20481         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20482         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20483         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20484         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20485         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20486         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20487         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20488         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20489         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20490         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20491         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20493 2014-05-13  Andreas Schwab  <schwab@suse.de>
20495         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20497 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20499         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20500         (__ASSUME_UTIMES): Do not condition on kernel version.
20501         (__ASSUME_PSELECT): Define unconditionally.
20502         (__ASSUME_PPOLL): Likewise.
20503         (__ASSUME_ATFCTS): Likewise.
20504         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20505         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20506         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20507         (__ASSUME_UTIMENSAT): Define unconditionally.
20508         (__ASSUME_PRIVATE_FUTEX): Likewise.
20509         (__ASSUME_FALLOCATE): Likewise.
20510         (__ASSUME_O_CLOEXEC): Likewise.
20511         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20512         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20513         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20514         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20515         (__ASSUME_IN_NONBLOCK): Likewise.
20516         (__ASSUME_PIPE2): Likewise.
20517         (__ASSUME_EVENTFD2): Likewise.
20518         (__ASSUME_SIGNALFD4): Likewise.
20519         (__ASSUME_DUP3): Likewise.
20520         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20521         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20522         (__ASSUME_AT_RANDOM): Likewise.
20523         (__ASSUME_PREADV): Likewise.
20524         (__ASSUME_PWRITEV): Likewise.
20525         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20526         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20527         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20529         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20531         (__ASSUME_O_CLOEXEC): Define unconditionally.
20532         (__ASSUME_PSELECT): Do not undefine conditionally.
20533         (__ASSUME_PPOLL): Likewise.
20534         (__ASSUME_ATFCTS): Likewise.
20535         (__ASSUME_SET_ROBUST_LIST): Likewise.
20536         (__ASSUME_UTIMENSAT): Likewise.
20537         (__ASSUME_FDATASYNC): Define unconditionally.
20538         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20539         (__ASSUME_SIGFRAME_V2): Likewise.
20540         )__ASSUME_EVENTFD2): Likewise.
20541         (__ASSUME_SIGNALFD4): Likewise.
20542         (__ASSUME_PSELECT): Do not undefine conditionally.
20543         (__ASSUME_PPOLL): Likewise.
20544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20545         (__ASSUME_PSELECT): Define unconditionally.
20546         (__ASSUME_PPOLL): Likewise.
20547         (__ASSUME_O_CLOEXEC): Likewise.
20548         (__ASSUME_SOCK_CLOEXEC): Likewise.
20549         (__ASSUME_IN_NONBLOCK): Likewise.
20550         (__ASSUME_PIPE2): Likewise.
20551         (__ASSUME_EVENTFD2): Likewise.
20552         (__ASSUME_SIGNALFD4): Likewise.
20553         (__ASSUME_DUP3): Likewise.
20554         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20555         (__ASSUME_O_CLOEXEC): Likewise.
20556         (__ASSUME_SOCK_CLOEXEC): Likewise.
20557         (__ASSUME_IN_NONBLOCK): Likewise.
20558         (__ASSUME_PIPE2): Likewise.
20559         (__ASSUME_EVENTFD2): Likewise.
20560         (__ASSUME_SIGNALFD4): Likewise.
20561         (__ASSUME_DUP3): Likewise.
20562         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20563         (__ASSUME_EVENTFD2): Likewise.
20564         (__ASSUME_SIGNALFD4): Likewise.
20565         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20567 2014-05-12  Andreas Schwab  <schwab@suse.de>
20569         [BZ #16932]
20570         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20571         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20572         than maximum RPC packet size.
20573         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20574         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20575         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20576         (_nss_nis_getservbyport_r): Likewise.
20578 2014-05-12  Will Newton  <will.newton@linaro.org>
20580         * malloc/Makefile (tests): Add tst-mallopt.
20581         * malloc/tst-mallopt.c: New file.
20583 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20585         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20586         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20588 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20590         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20591         (tst-tlsmod6.so): Likewise.
20593 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20595         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20597 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20599         [BZ #16064]
20600         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20601         and <dl-procinfo.h>.
20602         (__fegetenv): Save SSE state in envp->__eip if supported.
20603         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20604         envp->__eip if supported.
20605         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20606         and <dl-procinfo.h>.
20607         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20608         __data_offset and __data_selector in environment to 0.  Set SSE
20609         state if supported.
20610         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20611         test-fenv-sse.
20612         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20613         -mfpmath=sse.
20614         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20616 2014-05-09  Will Newton  <will.newton@linaro.org>
20618         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20619         and libc_relro_required for ARM.
20620         * sysdeps/arm/preconfigure: Regenerate.
20622 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20623             Stefan Liebler  <stli@linux.vnet.ibm.com>
20625         * config.make.in (enable-lock-elision): New Makefile variable.
20626         * configure.ac: Likewise.
20627         * configure: Regenerate.
20628         * sysdeps/s390/configure.ac:
20629         Add check for gcc transactions support.
20630         * sysdeps/s390/configure: Regenerate.
20631         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20632         Build elision files if enabled.
20633         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20634         Add lock elision support for s390.
20635         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20636         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20637         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20638         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20639         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20640         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20642         Likewise.
20643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20644         Likewise.
20645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20646         Likewise.
20647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20648         Likewise.
20649         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20650         (__lll_timedlock_elision, __lll_lock_elision)
20651         (__lll_unlock_elision, __lll_trylock_elision)
20652         (lll_timedlock_elision, lll_lock_elision)
20653         (lll_unlock_elision, lll_trylock_elision): Add.
20654         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20655         (pthread_mutex_t): Add lock elision support for s390.
20657 2014-05-14  Wilco  <wdijkstr@arm.com>
20659         * sysdeps/arm/fclrexcpt.c: Cleanup.
20660         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20661         * sysdeps/arm/feenablxcpt.c: Cleanup.
20662         * sysdeps/arm/fegetenv.c: Cleanup.
20663         * sysdeps/arm/fegetexcept.c: Cleanup.
20664         * sysdeps/arm/fegetround.c: Cleanup.
20665         * sysdeps/arm/feholdexcpt.c: Cleanup.
20666         * sysdeps/arm/fesetenv.c: Cleanup.
20667         * sysdeps/arm/fesetround.c: Cleanup.
20668         * sysdeps/arm/feupdateenv.c: Cleanup.
20669         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20670         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20671         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20672         * sysdeps/arm/ftestexcept.c: Cleanup.
20673         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20674         * sysdeps/arm/setfpucw.c: Cleanup.
20676 2014-05-09  Will Newton  <will.newton@linaro.org>
20678         * sysdeps/arm/armv7/strcmp.S: New file.
20679         * NEWS: Mention addition of ARMv7 optimized strcmp.
20681 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20683         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20684         look for %.ac rather than %.in.
20686         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20687         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20688         * sysdeps/mach/hurd/configure: Regenerated.
20689         * sysdeps/unix/sysv/linux/configure: Regenerated.
20691         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20693 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20695         [BZ# 16922]
20696         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20697         (LONG_SUB): Ditto.
20698         (PTR_SUB): Ditto.
20700 2014-05-07  Andreas Schwab  <schwab@suse.de>
20702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20703         when skipping over non-matching result from nscd.
20705 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20707         [BZ #16876]
20708         * nptl/sockperf.c (client): Check socket return value.
20710         [BZ #16877]
20711         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20712         nscd security class.
20714 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20716         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20717         * sysdeps/arm/unwind.h: ... here.
20719 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20721         [BZ# 16916]
20722         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20723         Define.
20725 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20727         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20728         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20729         multiarch strncpy for PPC64.
20730         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20731         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20733         multiarch optimizations.
20734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20735         (__libc_ifunc_impl_list): Likewise.
20736         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20737         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20738         multiarch stpncpy for PPC64.
20739         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20740         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20742 2014-05-06  Andreas Schwab  <schwab@suse.de>
20744         [BZ #16912]
20745         * gmon/mcount.c (_MCOUNT_DECL): Use
20746         atomic_compare_and_exchange_bool_acq instead of
20747         catomic_compare_and_exchange_bool_acq.
20749 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20751         * elf/Makefile (others, install-bin): Remove pldd.
20752         (pldd-modules): Variable removed.
20753         ($(objpfx)pldd): Target removed.
20754         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20755         (others, install-bin): Append pldd here.
20756         ($(objpfx)pldd): New target.
20758         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20759         to 0, so the first #if test emitted later doesn't see it undefined.
20760         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20761         * sysdeps/gnu/errlist.c: Regenerated.
20763 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20766         [libc_hidden_builtin_def]: Define to empty value.
20767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20768         [libc_hidden_builtin_def]: Likewise.
20769         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20770         [libc_hidden_builtin_def]: Likewise.
20771         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20772         [libc_hidden_builtin_def]: Likewise.
20773         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20774         __redirect_memcpy and define ifunc as default hidden symbol.
20775         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20776         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20778 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20780         * locale/iso-4217.def: Reintroduce XDR currency.
20782 2014-05-04  Allan McRae  <allan@archlinux.org>
20784         * po/eo.po: Update Esperanto translation from translation project.
20786 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20788         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20789         and FEATURE_INDEX_MAX to 1.
20790         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20792 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20794         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20795         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20796         * iconvdata/big5.c (ONE_DIRECTION): Define.
20797         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20798         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20799         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20800         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20801         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20802         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20803         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20804         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20805         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20806         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20807         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20808         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20809         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20810         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20811         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20812         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20813         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20814         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20815         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20816         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20817         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20818         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20819         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20820         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20821         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20822         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20823         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20824         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20825         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20826         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20827         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20828         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20829         * iconvdata/johab.c (ONE_DIRECTION): Define.
20830         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20831         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20832         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20833         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20834         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20835         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20836         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20837         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20838         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20839         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20841 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20843         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20844         (_IO_JUMPS_OFFSET): Define to 0.
20846         * nptl/sysdeps/pthread/bits/libc-lock.h
20847         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20848         (__libc_lock_define_initialized_recursive): Always define using
20849         initializer.  Modern compilers treat uninitialized (implicit zero) and
20850         explicit zero initializers the same (i.e. put the datum in bss).
20852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20854         * nscd/nscd-client.h: Include <string.h>.
20856 2014-05-01  David S. Miller  <davem@davemloft.net>
20858         [BZ #16885]
20859         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20860         multiple zero bytes exist at the end of a string.
20861         Reported by Aurelien Jarno <aurelien@aurel32.net>
20863         * string/test-strcmp.c (check): Add explicit test for situations where
20864         there are multiple zero bytes after the first.
20866 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20868         [BZ #16890]
20869         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20870         when compiling wprintf.
20871         * stdio-common/tstdiomisc.c (t3): New function.
20872         (main): Call it.
20874 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20876         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20877         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20878         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20879         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20881 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20883         * stdlib/longlong.h: Updated from GCC.
20885 2014-05-01  Will Newton  <will.newton@linaro.org>
20886             Bernard Ogden  <bernie.ogden@linaro.org>
20888         * NEWS: Update fixed bug list.
20890         [BZ #15119]
20891         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20893 2014-04-30  David S. Miller  <davem@davemloft.net>
20895         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20896         (libc_feholdexcept_setround_sparc_ctx): New function.
20897         (libc_fesetenv_sparc_ctx): Likewise.
20898         (libc_feupdateenv_sparc_ctx): Likewise.
20899         (libc_feholdsetround_sparc_ctx): Likewise.
20900         (libc_feholdexcept_setround_ctx): Define.
20901         (libc_feholdexcept_setroundf_ctx): Likewise.
20902         (libc_feholdexcept_setroundl_ctx): Likewise.
20903         (libc_fesetenv_ctx): Likewise.
20904         (libc_fesetenvf_ctx): Likewise.
20905         (libc_fesetenvl_ctx): Likewise.
20906         (libc_feupdateenv_ctx): Likewise.
20907         (libc_feupdateenvf_ctx): Likewise.
20908         (libc_feupdateenvl_ctx): Likewise.
20909         (libc_feresetround_ctx): Likewise.
20910         (libc_feresetroundf_ctx): Likewise.
20911         (libc_feresetroundl_ctx): Likewise.
20912         (libc_feholdsetround_ctx): Likewise.
20913         (libc_feholdsetroundf_ctx): Likewise.
20914         (libc_feholdsetroundl_ctx): Likewise.
20916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20917         with __USE_GNU instead of XOPEN cpp guards.
20919         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20920         0.
20922         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20923         with XOPEN cpp guards.
20925 2014-04-30  Julian Brown  <julian@codesourcery.com>
20927         [BZ #16888]
20928         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20929         handling.
20931 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20933         [BZ #9894]
20934         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20935         Change to 2.6.32.
20936         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20937         * sysdeps/unix/sysv/linux/configure: Regenerated.
20938         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20939         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20940         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20941         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20942         * README: Update reference to required Linux kernel version.
20943         * manual/install.texi (Linux): Update reference to required Linux
20944         kernel headers version.
20945         * INSTALL: Regenerated.
20947         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20948         header inclusion.
20949         [POSIX] (limits.h): Likewise.
20950         [POSIX] (math.h): Likewise.
20951         [POSIX] (sys/wait.h): Likewise.
20952         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20953         function.
20954         [POSIX] (stddef.h): Do not allow header inclusion.
20956 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20958         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20960 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20962         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20963         Return immediately after lll_futex_wake.
20965 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20967         [BZ #16791]
20968         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20969         structure.
20970         (datahead_init_pos): Call datahead_init_common early.
20971         (datahead_init_neg): Likewise.
20973         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20974         datahead_init_neg): New functions.
20975         * nscd/aicache.c (addhstaiX): Use them.
20976         * nscd/grpcache.c (cache_addgr): Likewise.
20977         * nscd/hstcache.c (cache_addhst): Likewise.
20978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20979         * nscd/netgroupcache.c (do_notfound): Likewise.
20980         (addgetnetgrentX): Likewise.
20981         (addinnetgrX): Likewise.
20982         * nscd/pwdcache.c (cache_addpw): Likewise.
20983         * nscd/servicescache.c (cache_addserv): Likewise.
20985 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20986             Atsushi Onoe  <atsushi@onoe.org>
20988         [BZ #14308]
20989         [BZ #12994]
20990         [BZ #13651]
20991         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20992         one response is valid.
20993         * resolv/res_send.c (send_dg): Check for validity of other
20994         response if the current response is a referral.
20996 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20998         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21000 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21002         [BZ #16823]
21003         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21004         Always divide by positive zero when computing -Inf result.
21005         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21006         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21008 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21010         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21011         FPSCR if value do not change.
21012         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21013         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21014         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21015         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21016         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21017         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21018         function.
21020 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21022         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21023         * sysdeps/unix/sysv/linux/hppa: Move directory from
21024         ports/systeps/unix/sysv/linux/hppa.
21025         * README: Update listing for hppa-*-linux-gnu.
21027 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21029         [BZ #16754]
21030         * manual/stdio.texi (Hook functions): Fix types of stream hook
21031         functions.
21032         [BZ #16854]
21033         * socket/sys/socket.h: Fix typo in comment.
21035 2014-04-28  Wilco  <wdijkstr@arm.com>
21037         * sysdeps/arm/fenv_private.h: New file.
21038         * sysdeps/arm/math_private.h: New file.
21039         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21041 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21043         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21044         with __int128_t.
21045         (La_x86_64_retval): Likewise.
21047 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21049         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21050         fpsr if value didn't change.
21051         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21052         to fpcr if value didn't change.
21053         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21054         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21055         fpsr or fpcr if value didn't change.
21056         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21057         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21058         fpcr if value didn't change.
21059         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21060         to fpsr if value didn't change.
21062 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21064         * nptl/tst-sem3.c: Use test-skeleton.c
21065         (main): Rename to do_test.  Use return instead of
21066         exit.
21067         * nptl/tst-sem4.c: Use test-skeleton.c
21068         (main): Rename to do_test.
21070 2014-04-22  David S. Miller  <davem@davemloft.net>
21072         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21073         (struct sigaction): New struct member __glibc_reserved0, change
21074         type of sa_flags to int.
21076 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21078         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21079         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21081 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21083         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21084         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21086 2014-04-22  Will Newton  <will.newton@linaro.org>
21087             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21089         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21090         (__longjmp): Add longjmp and longjmp_target SystemTap
21091         probes.
21092         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21093         (__sigsetjmp): Add setjmp SystemTap probe.
21095 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21097         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21098         match manual order.
21100 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21102         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21104         * sysdeps/powerpc/fpu/fenv_private.h
21105         (libc_feholdexcept_setroundl_ctx): Define to
21106         libc_feholdexcept_setround_ppc_ctx.
21107         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21108         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21109         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21110         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21112 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21114         * sysdeps/aarch64/math-tests.h: New file.
21116 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21118         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21119         New.
21120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21121         Check and set bit_AVX2_Usable.
21122         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21123         macro.
21124         (bit_AVX2): Likewise.
21125         (index_AVX2_Usable): Likewise.
21126         (CPUID_AVX2): Likewise.
21127         (HAS_AVX2): Likewise.
21129 2014-04-17  Will Newton  <will.newton@linaro.org>
21131         * manual/setjmp.texi (System V contexts): Add note that
21132         calling setcontext on a context created by a call to a
21133         signal handler is undefined.  Update text to note that
21134         setcontext from a signal handler is possible but not
21135         recommended.
21137         [BZ #16629]
21138         * stdlib/tst-setcontext.c: Include signal.h.
21139         (main): Check that the signal stack before and
21140         after swapcontext is the same.
21142         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21143         Re-implement to restore registers in user code and avoid
21144         rt_sigreturn system call.
21146 2014-04-17  Wilco  <wdijkstr@arm.com>
21148         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21149         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21150         * math/test-fenv.c: Skip exception trap tests on targets which only
21151         support non-stop mode.
21153 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21154             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21156         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21157         (libc_feholdsetround_aarch64_ctx)
21158         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21159         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21160         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21161         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21162         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21163         (libc_feresetround_noexl_ctx): Define.
21165 2014-04-16  Richard Henderson  <rth@redhat.com>
21167         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21169         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21170         unwind tables.
21172         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21173         const from the non-libc, non-ldso copy.
21175         * sysdeps/alpha/libm-test-ulps: Regenerate.
21177 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21178             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21180         * sysdeps/aarch64/fpu/math_private.h: New file.
21182 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21184         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21186 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21188         [BZ #16275]
21189         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21190         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21192         Intel MPX bound registers before _dl_profile_fixup.
21193         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21194         registers after _dl_profile_fixup.  Save and restore bound
21195         registers bnd0/bnd1 when calling _dl_call_pltexit.
21196         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21197         (LR_BND_OFFSET): Likewise.
21198         (LRV_BND0_OFFSET): Likewise.
21199         (LRV_BND1_OFFSET): Likewise.
21201 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21203         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21204         to...
21205         * sysdeps/mach/hurd/i386/tls.h: ... here.
21206         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21207         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21208         fields.
21210 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21212         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21214 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21216         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21218 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21220         [BZ #14770]
21221         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21222         * sysdeps/s390/configure: Regenerate.
21224         [BZ #16824]
21225         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21226         Set round-to-nearest internally to reduce error accumulation.
21228 2014-04-16  Alan Modra  <amodra@gmail.com>
21230         [BZ #16740]
21231         [BZ #16619]
21232         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21233         * math/libm-test.inc (frexp_test_data): Add tests.
21234         * NEWS: Update fixed bug list.
21236 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21238         * benchtests/Makefile: Depend on libraries in build directory.
21239         (bench-math): Separate out math tests.
21240         (bench-pthread): Separate out pthread tests.
21241         (bench): Include math and pthread tests.
21243 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21245         [BZ #16831]
21246         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21247         _dl_debug_initialize.
21249         * configure.ac: Remove SELinux header check.
21250         * configure: Regenerate.
21251         * nscd/selinux.c (perms): Array of const char* to permission names.
21252         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21253         default policy. Call string_to_security_class and string_to_av_perm to
21254         translate strings. Enforce default policy and call avs_has_perm with
21255         results of translated strings.
21257 2014-04-13  David S. Miller  <davem@davemloft.net>
21259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21261 2014-04-12  Allan McRae  <allan@archlinux.org>
21263         [BZ #16838]
21264         * manual/string.texi (Collation Functions): Fix qsort argument
21265         order in example.
21266         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21268 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21270         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21271         Make the test a no-op if there are no exceptions defined.
21273 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21275         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21276         enable-hardcoded-path-in-tests
21278 2014-04-11  Will Newton  <will.newton@linaro.org>
21280         * benchtests/Makefile (extra-objs): Add json-lib.o.
21281         (bench-func): Tidy up JSON output.
21282         * benchtests/bench-skeleton.c: Include json-lib.h.
21283         (main): Use JSON library functions to do output of
21284         benchmark results.
21285         * benchtests/bench-timing-type.c (main): Output the
21286         timing type simply, leaving formatting to the user.
21287         * benchtests/json-lib.c: New file.
21288         * benchtests/json-lib.h: Likewise.
21290 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21292         [BZ #15215]
21293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21294         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21295         memory barriers.  Add comments.
21296         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21297         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21298         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21299         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21300         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21301         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21303 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21305         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21306         * sysdeps/s390/s390-64/configure.ac: ... this ...
21307         * sysdeps/s390/configure.ac: ... to here.
21308         * sysdeps/s390/s390-32/configure: Delete file.
21309         * sysdeps/s390/s390-64/configure: Delete file.
21310         * sysdeps/s390/configure: Regenerate.
21312 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21314         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21316 2014-04-11  Will Newton  <will.newton@linaro.org>
21318         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21319         to zero if it is not defined elsewhere.  (mtrim): Test
21320         the value of MALLOC_DEBUG with #if rather than #ifdef.
21322 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21324         * benchtests/pthread_once-inputs: New file.
21325         * benchtests/pthread_once-source.c: New file.
21326         * benchtests/README: Update documentation.
21328 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21329             H.J. Lu  <hongjiu.lu@intel.com>
21331         [BZ #16275]
21332         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21333         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21334         * sysdeps/x86_64/configure: Regenerated.
21335         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21336         macro.
21337         (REGISTER_SAVE_RAX): Likewise.
21338         (REGISTER_SAVE_RCX): Likewise.
21339         (REGISTER_SAVE_RDX): Likewise.
21340         (REGISTER_SAVE_RSI): Likewise.
21341         (REGISTER_SAVE_RDI): Likewise.
21342         (REGISTER_SAVE_R8): Likewise.
21343         (REGISTER_SAVE_R9): Likewise.
21344         (REGISTER_SAVE_BND0): Likewise.
21345         (REGISTER_SAVE_BND1): Likewise.
21346         (REGISTER_SAVE_BND2): Likewise.
21347         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21348         bound registers when calling _dl_fixup.
21350 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21352         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21353         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21354         of its definition.
21355         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21356         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21357         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21358         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21359         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21360         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21361         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21363 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21365         [BZ #15514]
21366         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21367         pathconf(_PC_NAME_MAX).
21369 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21371         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21372         Remove macro usage.
21373         (__PTHREAD_SPINS): Move definition to ...
21374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21375         (__PTHREAD_SPINS): ... here.
21376         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21377         (__PTHREAD_SPIN): Likewise.
21378         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21379         (__PTHREAD_SPIN): Likewise.
21380         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21381         (__PTHREAD_SPIN): Likewise.
21382         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21383         (__PTHREAD_SPIN): Likewise.
21384         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21385         (__PTHREAD_SPIN): Likewise.
21386         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21387         (__PTHREAD_SPIN): Likewise.
21388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21389         (__PTHREAD_SPIN): Likewise.
21390         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21391         (__PTHREAD_SPIN): Likewise.
21392         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21393         (__PTHREAD_SPIN): Likewise.
21394         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21395         (__PTHREAD_SPIN): Likewise.
21396         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21397         (__PTHREAD_SPIN): Likewise.
21398         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21399         (__PTHREAD_SPIN): Likewise.
21401         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21402         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21403         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21404         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21405         imply folder.
21406         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21407         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21408         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21409         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21410         correct imply path.
21411         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21412         strlen symbol for non multi-arch builds.
21413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21414         missing hidden_def and weak_alias.
21416 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21418         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21420 2014-04-07  Will Newton  <will.newton@linaro.org>
21422         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21423         and contents.  [!_LIBC] Remove #ifndef and contents.
21424         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21425         * string/memccpy.c (__memccpy): Use ANSI prototype.
21426         * string/memfrob.c (memfrob): Likewise.
21427         * string/strcoll.c (STRCOLL): Likewise.
21428         * string/strlen.c (strlen): Likewise.
21429         * string/strtok.c (STRTOK): Likewise.
21430         * string/strcat.c: Remove unused #include of memcopy.h.
21431         (strcat): Use ANSI prototype.
21432         * string/strchr.c: Remove unused #include of memcopy.h.
21433         (strchr): Use ANSI prototype.
21434         * string/strcmp.c: Remove unused #include of memcopy.h.
21435         (strcmp): Use ANSI prototype.
21436         * string/strcpy.c: Remove unused #include of memcopy.h.
21437         (strcpy): Use ANSI prototype.
21439 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21441         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21442         * config.make.in (config-extra-cppflags): Set it from
21443         libc_extra_cppflags.
21444         * configure.ac (libc_extra_cflags): Make it accumulate over
21445         configure fragments.
21446         (libc_extra_cppflags): New flag.
21447         * configure. Regenerate.
21448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21449         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21450         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21453         [BZ #16815]
21454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21455         result for FE_DOWNWARD rounding mode.
21456         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21457         Likewise.
21458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21460 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21462         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21463         in function argument name.
21465 2014-04-03  David Svoboda  <svoboda@cert.org>
21467         [BZ #5666]
21468         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21469         explicitly.
21471 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21473         * elf/dl-unmap-segments.h: New file.
21474         * sysdeps/generic/ldsodefs.h
21475         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21476         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21477         * elf/dl-fptr.c: Likewise.
21478         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21479         * sysdeps/aarch64/tlsdesc.c: Likewise.
21480         * sysdeps/arm/tlsdesc.c: Likewise.
21481         * sysdeps/i386/tlsdesc.c: Likewise.
21482         * sysdeps/tile/dl-runtime.c: Likewise.
21483         * sysdeps/x86_64/tlsdesc.c: Likewise.
21484         * elf/dl-load.h: New file.
21485         * elf/dl-load.c: Include it.
21486         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21487         Macros moved to dl-load.h.
21488         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21489         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21490         Use _dl_unmap_segments in place of __munmap.
21491         Break out segment-mapping loop into ...
21492         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21494 2014-04-03  Will Newton  <will.newton@linaro.org>
21496         * elf/dl-lookup.c (do_lookup_x): Remove comment
21497         referring to nested function and move variable
21498         declarations down to before first use.
21500 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21502         [BZ #16799]
21503         [BZ #16800]
21504         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21505         with 0 numerator.
21506         * math/s_catanf.c (__catanf): Likewise.
21507         * math/s_catanh.c (__catanh): Likewise.
21508         * math/s_catanhf.c (__catanhf): Likewise.
21509         * math/s_catanhl.c (__catanhl): Likewise.
21510         * math/s_catanl.c (__catanl): Likewise.
21511         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21512         by positive zero when computing -Inf result.
21513         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21514         (catanh_test): Likewise.
21515         * sysdeps/i386/fpu/libm-test-ulps: Update.
21516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21518         [BZ #16789]
21519         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21520         instead of using underflowing value in computing result.
21521         * math/s_clog10.c (__clog10): Likewise.
21522         * math/s_clog10f.c (__clog10f): Likewise.
21523         * math/s_clog10l.c (__clog10l): Likewise.
21524         * math/s_clogf.c (__clogf): Likewise.
21525         * math/s_clogl.c (__clogl): Likewise.
21526         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21527         (clog10_test): Likewise.
21528         * sysdeps/i386/fpu/libm-test-ulps: Update.
21529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21531 2014-04-02  Alan Modra  <amodra@gmail.com>
21533         [BZ #16739]
21534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21535         output when value is near a power of two.  Use int64_t for lx and
21536         remove casts.  Use decimal rather than hex exponent constants.
21537         Don't use long double multiplication when double will suffice.
21538         * math/libm-test.inc (nextafter_test_data): Add tests.
21539         * NEWS: Add 16739 and 16786 to bug list.
21541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21543         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21545 2014-04-01  Will Newton  <will.newton@linaro.org>
21547         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21548         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21550 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21552         [BZ #13347]
21553         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21554         * nptl/tst-setuid2.c: New file.
21555         * nptl/Makefile (xtests): Add tst-setuid2.
21557 2014-04-01  Alan Modra  <amodra@gmail.com>
21559         [BZ #16786]
21560         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21562 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21564         [BZ #6803]
21565         [BZ #6804]
21566         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21567         set errno as appropriate.
21568         * math/w_scalbf.c (__scalbf): Likewise.
21569         * math/w_scalbl.c (__scalbl): Likewise.
21570         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21571         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21572         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21573         Add more NaN tests.
21575         [BZ #16349]
21576         * math/w_atan2.c: Include <errno.h>.
21577         (__atan2): Set errno for result underflowing to zero.
21578         * math/w_atan2f.c: Include <errno.h>.
21579         (__atan2f): Set errno for result underflowing to zero.
21580         * math/w_atan2l.c: Include <errno.h>.
21581         (__atan2l): Set errno for result underflowing to zero.
21582         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21583         tests.
21584         * math/auto-libm-test-out: Regenerated.
21586 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21588         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21589         Encode instruction correctly in little endian.
21590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21591         Likewise.
21592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21593         Likewise.
21594         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21595         Likewise.
21596         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21597         Likewise.
21599 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21601         [BZ #9894]
21602         * sysdeps/unix/sysv/linux/kernel-features.h
21603         [__sparc__ && !__arch64__ && !__sparc_v9__]
21604         (__ASSUME_SET_ROBUST_LIST): Do not define.
21605         [__sparc__ && !__arch64__ && !__sparc_v9__]
21606         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21607         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21608         Likewise.
21609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21610         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21611         (__ASSUME_REQUEUE_PI): Likewise.
21612         (__ASSUME_SET_ROBUST_LIST): Likewise.
21613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21614         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21615         Undefine.
21616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21617         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21618         Likewise.
21619         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21620         Likewise.
21621         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21622         Likewise.
21623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21624         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21625         Undefine.
21626         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21627         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21628         Likewise.
21630         [BZ #16648]
21631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21633         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21635 2014-03-31  Will Newton  <will.newton@linaro.org>
21637         * benchtests/Makefile (bench): Add ffs and ffsll to list
21638         of tests.
21639         * benchtests/ffs-inputs: New file.
21640         * benchtests/ffsll-inputs: Likewise.
21642 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21644         [BZ #16770]
21645         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21646         too large before casting to int.
21647         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21648         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21649         * math/libm-test.inc (scalb_test_data): Add more tests.
21651 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21653         * benchtests/Makefile (DETAILED_OPT): New make option.
21654         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21655         set.
21656         * benchtests/bench-skeleton.c: Include stdbool.h.
21657         (main): Store and print timings per input.
21658         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21659         member to each argument value.
21660         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21661         (_print_arg_data): Initialize per-input timing to 0.
21663         * benchtests/Makefile (timing-type): New binary.
21664         (bench-clean): Also remove bench-timing-type.
21665         (bench): New target for timing-type.
21666         (bench-func): Print output in JSON format.
21667         * benchtests/bench-skeleton.c (main): Print output in JSON
21668         format.
21669         * benchtests/bench-timing-type.c: New file.
21670         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21671         (TIMING_PRINT_STATS): Remove.
21672         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21673         name separately.
21675         * benchtests/bench-modf.c: Remove.
21676         * benchtests/modf-inputs: New inputs file.
21678 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21680         [BZ #16362]
21681         * math/s_clog10.c (M_PI_LOG10E): New macro.
21682         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21683         imaginary parts are 0.
21684         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21685         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21686         imaginary parts are 0.
21687         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21688         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21689         imaginary parts are 0.
21690         * math/libm-test.inc (clog10_test_data): Update expected results
21691         for when real and imaginary parts are 0.
21693 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21695         * elf/dl-load.c: Finish conversion of __builtin_expect into
21696         __glibc_{un}likely.
21698 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21700         [BZ #16348]
21701         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21702         1+x for argument with exponent below -67.
21703         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21704         Likewise.
21705         * math/auto-libm-test-in: Add more tests of exp.
21706         * math/auto-libm-test-out: Regenerated.
21708 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21710         [BZ #16759]
21711         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21712         (nscd_getnetgrent): Use it.
21714         [BZ #16760]
21715         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21716         of stpcpy.
21718 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21720         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21721         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21722         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21723         (lll_robust_unlock): Remove out of line section. Use cfi
21724         intrinsics.
21725         (LLL_STUB_UNWIND_INFO*): Remove.
21726         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21727         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21728         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21729         (lll_robust_unlock): Remove out of line section. Use cfi
21730         intrinsics.
21731         (LLL_STUB_UNWIND_INFO*): Remove.
21733 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21735         [BZ #16758]
21736         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21737         blank values.
21739 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21741         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21743 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21745         [BZ #16198]
21746         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21747         fnstenv.
21748         * math/test-fenv-preserve.c: New file.
21749         * math/Makefile (tests): Add test-fenv-preserve.
21751 2014-03-26  Will Newton <will.newton@linaro.org>
21753         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21755 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21757         * scripts/versionlist.awk: Partition the version sets and emit all
21758         GLIBC_* (sorted) before all others (sorted).
21760 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21762         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21763         GLIBC_2.2.5 version.
21765 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21767         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21768         calls.
21770         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21771         previous change.
21773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21775 2014-03-25  Andreas Schwab  <schwab@suse.de>
21777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21778         label to be used after in6ailist is initialized.
21780 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21782         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21783         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21785 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21787         [BZ #16357]
21788         [BZ #16599]
21789         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21790         min_plus_half.
21791         (fp_formats): Update initializers.
21792         (init_fp_formats): Initialize new field.
21793         (output_for_one_input_case): Allow underflow for results up to
21794         min_plus_half.
21795         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21796         * math/auto-libm-test-in: Don't mark some underflows from asin and
21797         atanh as spurious.
21798         * math/auto-libm-test-out: Regenerated.
21799         * sysdeps/i386/fpu/libm-test-ulps: Update.
21800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21802 2014-03-25  Andreas Schwab  <schwab@suse.de>
21804         * libio/Makefile (tst-ftell-partial-wide-ENV)
21805         (tst-ftell-active-handler-ENV): Define.
21807 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21809         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21811 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21813         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21815 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21817         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21818         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21819         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21821 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21823         [BZ #16634]
21824         * elf/dl-load.c (open_verify): Add mode parameter.
21825         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21826         (open_path): Change from boolean 'secure' to complete flag 'mode'
21827         (_dl_map_object): Adjust.
21828         * elf/Makefile (tests): Add tst-dlopen-aout.
21829         * elf/tst-dlopen-aout.c: New test.
21831 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21833         [BZ #16714]
21834         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21835         (struct stat): Rename member pad0 to __glibc_reserved0.
21837         [BZ #16712]
21838         * sysdeps/s390/s390-32/bits/wordsize.h
21839         (__WORDSIZE32_SIZE_ULONG): New define.
21840         * sysdeps/s390/s390-64/bits/wordsize.h
21841         (__WORDSIZE32_SIZE_ULONG): Likewise.
21842         * sysdeps/generic/stdint.h (SIZE_MAX):
21843         Define as UL if __WORDSIZE32_SIZE_ULONG.
21845         [BZ #16713]
21846         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21847         (__glibc_reserved0): New variable.
21848         (sa_flags): Change type to int.
21850         * posix/Makefile (before-compile): Use += before-compile instead
21851         of a :=.
21853         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21854         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21856 2014-03-20  Andreas Schwab  <schwab@suse.de>
21858         [BZ #16743]
21859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21860         non-matching result from nscd.
21862 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21864         * scripts/bench.py: Moved to ...
21865         * benchtests/scripts/bench.py: ... here.
21866         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21868 2014-03-24  Andreas Schwab  <schwab@suse.de>
21870         [BZ #16002]
21871         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21872         alloca_account and account alloca use for struct in6ailist.
21874 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21876         [BZ #16284]
21877         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21878         rounding mode to recompute results that overflow to infinity or
21879         underflow to zero.
21880         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21881         bug 16284.
21882         * math/auto-libm-test-out: Regenerated.
21883         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21884         (ccosh_test): Likewise.
21885         (csin_test_data): Use plus_oflow.
21886         (csin_test): Use ALL_RM_TEST.
21887         (csinh_test_data): Use plus_oflow.
21888         (csinh_test): Use ALL_RM_TEST.
21889         * sysdeps/i386/fpu/libm-test-ulps: Update.
21890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21892 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21894         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21895         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21896         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21898         [BZ #16731]
21899         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21900         when x - 1 is zero.
21901         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21902         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21903         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21905         argument is 1.
21906         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21907         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21908         zero.
21909         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21910         * sysdeps/i386/fpu/libm-test-ulps: Update.
21911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21913 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21915         * scripts/bench.pl: Remove file.
21916         * scripts/bench.py: New benchmark script.
21917         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21918         * benchtests/README: Mention python dependency.
21919         * scripts/pylintrc: New file.
21920         * scripts/pylint: New file.
21922         * bits/mathdef.h: Use #ifdef instead of #if.
21923         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21924         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21925         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21926         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21927         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21928         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21930 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21931             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21933         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21935         and strpbrk-ppc64 objects.
21936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21937         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21938         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21939         multiarch strpbrk for POWER7.
21940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21941         multiarch strpbrk for PPC64.
21942         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21943         ifunc selector.
21944         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21945         strpbrk for POWER7.
21947 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21949         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21950         (atan_test): Likewise.
21951         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21952         (atanh_test): Use ALL_RM_TEST.
21953         (atan2_test_data): Likewise.
21954         (cabs_test): Likewise.
21955         (cacosh_test): Likewise.
21956         (carg_test): Likewise.
21957         (casin_test): Likewise.
21958         (casinh_test): Likewise.
21959         (cbrt_test): Likewise.
21960         (csqrt_test): Likewise.
21961         (erf_test): Likewise.
21962         (erfc_test): Likewise.
21963         (pow10_test): Likewise.
21964         (exp2_test): Likewise.
21965         (hypot_test): Likewise.
21966         (j0_test): Likewise.
21967         (j1_test): Likewise.
21968         (lgamma_test): Likewise.
21969         (gamma_test): Likewise.
21970         (sincos_test): Likewise.
21971         (tanh_test): Likewise.
21972         (y0_test): Likewise.
21973         (y1_test): Likewise.
21974         * sysdeps/i386/fpu/libm-test-ulps: Update.
21975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21977 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21979         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21981         and strcspn-ppc64 objects.
21982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21983         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21984         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21985         multiarch strcspn for POWER7.
21986         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21987         multiarch strcspn for PPC64.
21988         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21989         ifunc selector.
21990         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21991         strcspn for POWER7.
21993 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21995         * math/gen-libm-test.pl (generate_testfile): Expect only function
21996         name as argument to AUTO_TESTS_* and pass results for all rounding
21997         modes to parse_args.
21998         (parse_auto_input): Separate inputs of automatic tests from
21999         outputs before storing in %auto_tests.
22000         * math/libm-test.inc (acos_test_data): Update call to
22001         AUTO_TESTS_f_f.
22002         (acos_test): Use ALL_RM_TEST.
22003         (acos_tonearest_test_data): Remove.
22004         (acos_test_tonearest): Likewise.
22005         (acos_towardzero_test_data): Likewise.
22006         (acos_test_towardzero): Likewise.
22007         (acos_downward_test_data): Likewise.
22008         (acos_test_downward): Likewise.
22009         (acos_upward_test_data): Likewise.
22010         (acos_test_upward): Likewise.
22011         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22012         (asin_test_data): Likewise.
22013         (asin_test): Use ALL_RM_TEST.
22014         (asin_tonearest_test_data): Remove.
22015         (asin_test_tonearest): Likewise.
22016         (asin_towardzero_test_data): Likewise.
22017         (asin_test_towardzero): Likewise.
22018         (asin_downward_test_data): Likewise.
22019         (asin_test_downward): Likewise.
22020         (asin_upward_test_data): Likewise.
22021         (asin_test_upward): Likewise.
22022         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22023         (atan_test_data): Likewise.
22024         (atanh_test_data): Likewise.
22025         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22026         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22027         (carg_test_data): Likewise.
22028         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22029         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22030         (ccosh_test_data): Likewise.
22031         (cexp_test_data): Likewise.
22032         (clog_test_data): Likewise.
22033         (clog10_test_data): Likewise.
22034         (cos_test_data): Update call to AUTO_TESTS_f_f.
22035         (cos_test): Use ALL_RM_TEST.
22036         (cos_tonearest_test_data): Remove.
22037         (cos_test_tonearest): Likewise.
22038         (cos_towardzero_test_data): Likewise.
22039         (cos_test_towardzero): Likewise.
22040         (cos_downward_test_data): Likewise.
22041         (cos_test_downward): Likewise.
22042         (cos_upward_test_data): Likewise.
22043         (cos_test_upward): Likewise.
22044         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22045         (cosh_test): Use ALL_RM_TEST.
22046         (cosh_tonearest_test_data): Remove.
22047         (cosh_test_tonearest): Likewise.
22048         (cosh_towardzero_test_data): Likewise.
22049         (cosh_test_towardzero): Likewise.
22050         (cosh_downward_test_data): Likewise.
22051         (cosh_test_downward): Likewise.
22052         (cosh_upward_test_data): Likewise.
22053         (cosh_test_upward): Likewise.
22054         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22055         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22056         (ctan_test_data): Likewise.
22057         (ctan_test): Use ALL_RM_TEST.
22058         (ctan_tonearest_test_data): Remove.
22059         (ctan_test_tonearest): Likewise.
22060         (ctan_towardzero_test_data): Likewise.
22061         (ctan_test_towardzero): Likewise.
22062         (ctan_downward_test_data): Likewise.
22063         (ctan_test_downward): Likewise.
22064         (ctan_upward_test_data): Likewise.
22065         (ctan_test_upward): Likewise.
22066         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22067         (ctanh_test): Use ALL_RM_TEST.
22068         (ctanh_tonearest_test_data): Remove.
22069         (ctanh_test_tonearest): Likewise.
22070         (ctanh_towardzero_test_data): Likewise.
22071         (ctanh_test_towardzero): Likewise.
22072         (ctanh_downward_test_data): Likewise.
22073         (ctanh_test_downward): Likewise.
22074         (ctanh_upward_test_data): Likewise.
22075         (ctanh_test_upward): Likewise.
22076         (erf_test_data): Update call to AUTO_TESTS_f_f.
22077         (erfc_test_data): Likewise.
22078         (exp_test_data): Likewise.
22079         (exp_test): Use ALL_RM_TEST.
22080         (exp_tonearest_test_data): Remove.
22081         (exp_test_tonearest): Likewise.
22082         (exp_towardzero_test_data): Likewise.
22083         (exp_test_towardzero): Likewise.
22084         (exp_downward_test_data): Likewise.
22085         (exp_test_downward): Likewise.
22086         (exp_upward_test_data): Likewise.
22087         (exp_test_upward): Likewise.
22088         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22089         (exp10_test): Use ALL_RM_TEST.
22090         (exp10_tonearest_test_data): Remove.
22091         (exp10_test_tonearest): Likewise.
22092         (exp10_towardzero_test_data): Likewise.
22093         (exp10_test_towardzero): Likewise.
22094         (exp10_downward_test_data): Likewise.
22095         (exp10_test_downward): Likewise.
22096         (exp10_upward_test_data): Likewise.
22097         (exp10_test_upward): Likewise.
22098         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22099         (expm1_test_data): Likewise.
22100         (expm1_test): Use ALL_RM_TEST.
22101         (expm1_tonearest_test_data): Remove.
22102         (expm1_test_tonearest): Likewise.
22103         (expm1_towardzero_test_data): Likewise.
22104         (expm1_test_towardzero): Likewise.
22105         (expm1_downward_test_data): Likewise.
22106         (expm1_test_downward): Likewise.
22107         (expm1_upward_test_data): Likewise.
22108         (expm1_test_upward): Likewise.
22109         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22110         (fma_test): Use ALL_RM_TEST.
22111         (fma_towardzero_test_data): Remove.
22112         (fma_test_towardzero): Likewise.
22113         (fma_downward_test_data): Likewise.
22114         (fma_test_downward): Likewise.
22115         (fma_upward_test_data): Likewise.
22116         (fma_test_upward): Likewise.
22117         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22118         (j0_test_data): Update call to AUTO_TESTS_f_f.
22119         (j1_test_data): Likewise.
22120         (jn_test_data): Update call to AUTO_TESTS_if_f.
22121         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22122         (log_test_data): Update call to AUTO_TESTS_f_f.
22123         (log10_test_data): Likewise.
22124         (log1p_test_data): Likewise.
22125         (log2_test_data): Likewise.
22126         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22127         (pow_tonearest_test_data): Likewise.
22128         (sin_test_data): Update call to AUTO_TESTS_f_f.
22129         (sin_test): Use ALL_RM_TEST.
22130         (sin_tonearest_test_data): Remove.
22131         (sin_test_tonearest): Likewise.
22132         (sin_towardzero_test_data): Likewise.
22133         (sin_test_towardzero): Likewise.
22134         (sin_downward_test_data): Likewise.
22135         (sin_test_downward): Likewise.
22136         (sin_upward_test_data): Likewise.
22137         (sin_test_upward): Likewise.
22138         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22139         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22140         (sinh_test): Use ALL_RM_TEST.
22141         (sinh_tonearest_test_data): Remove.
22142         (sinh_test_tonearest): Likewise.
22143         (sinh_towardzero_test_data): Likewise.
22144         (sinh_test_towardzero): Likewise.
22145         (sinh_downward_test_data): Likewise.
22146         (sinh_test_downward): Likewise.
22147         (sinh_upward_test_data): Likewise.
22148         (sinh_test_upward): Likewise.
22149         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22150         (sqrt_test): Use ALL_RM_TEST.
22151         (sqrt_tonearest_test_data): Remove.
22152         (sqrt_test_tonearest): Likewise.
22153         (sqrt_towardzero_test_data): Likewise.
22154         (sqrt_test_towardzero): Likewise.
22155         (sqrt_downward_test_data): Likewise.
22156         (sqrt_test_downward): Likewise.
22157         (sqrt_upward_test_data): Likewise.
22158         (sqrt_test_upward): Likewise.
22159         (tan_test_data): Update call to AUTO_TESTS_f_f.
22160         (tan_test): Use ALL_RM_TEST.
22161         (tan_tonearest_test_data): Remove.
22162         (tan_test_tonearest): Likewise.
22163         (tan_towardzero_test_data): Likewise.
22164         (tan_test_towardzero): Likewise.
22165         (tan_downward_test_data): Likewise.
22166         (tan_test_downward): Likewise.
22167         (tan_upward_test_data): Likewise.
22168         (tan_test_upward): Likewise.
22169         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22170         (tgamma_test_data): Likewise.
22171         (y0_test_data): Likewise.
22172         (y1_test_data): Likewise.
22173         (yn_test_data): Update call to AUTO_TESTS_if_f.
22174         (main): Do not call removed functions.
22176 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22178         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22179         (ldexp_test_data): Remove.
22180         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22181         scalbn_test_data.
22182         (scalb_test): Use ALL_RM_TEST.
22184 2014-03-19  Andreas Schwab  <schwab@suse.de>
22186         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22188 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22190         [BZ #16649]
22191         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22192         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22193         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22194         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22195         (__ASSUME_PREADV): Undefine.
22196         (__ASSUME_PWRITEV): Likewise.
22198 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22200         * bits/mman-linux.h: Add comment about non-Linux use.
22201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22202         bits/mman-linux.h resting place.
22204         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22205         * bits/mman-linux.h: ... here.
22207 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22209         * conform/conformtest.pl: Add standard definition when calling C
22210         preprocessor on data files.
22211         (checknamespace): Remove unused variable.
22213 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22215         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22216         minus_oflow, plus_uflow and minus_uflow in expected results.
22217         * math/libm-test.inc (scalbn_test_data): Add more tests of
22218         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22219         minus_uflow.
22220         (scalbn_test): Use ALL_RM_TEST.
22221         (scalbln_test_data): Add more tests of negative arguments.  Use
22222         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22223         (scalbln_test): Use ALL_RM_TEST.
22225 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22227         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22229 2014-03-18  Will Newton  <will.newton@linaro.org>
22231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22232         inaccurate comment.
22234 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22236         * Makerules [!subdir] (check-abi): Exit with error status if a
22237         test failed.
22239 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22241         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22242         for rint.  Include results for all rounding modes.
22243         (nearbyint_test): Use ALL_RM_TEST.
22244         (rint_test_data): Include all tests used for nearbyint.
22246 2014-03-17  Will Newton  <will.newton@linaro.org>
22248         * nptl/sysdeps/pthread/pthread.h: Revert previous
22249         change.
22251         * sysdeps/generic/ldsodefs.h: Revert previous
22252         change.
22254         * libio/genops.c: Revert previous change.
22255         * libio/libioP.h: Likewise.
22256         * stdio-common/vfprintf.c: Likewise.
22258         * sysdeps/generic/math_private.h: Revert previous
22259         change.
22261         * sysdeps/generic/math_private.h: Check whether
22262         HAVE_RM_CTX is defined with #ifdef rather
22263         than #if.
22265         * argp/argp-fmtstream.h: Check whether
22266         __STRICT_ANSI__ is defined with #ifdef rather
22267         than #if.
22268         * argp/argp.h: Likewise.
22270         * libio/genops.c: Check whether
22271         _IO_JUMPS_OFFSET is defined with #ifdef rather
22272         than #if.
22273         * libio/libioP.h: Likewise.
22274         * stdio-common/vfprintf.c: Likewise.
22276         * sysdeps/generic/ldsodefs.h: Check whether
22277         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22278         than #if.
22280         * nptl/sysdeps/pthread/pthread.h: Check
22281         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22282         its value.
22284 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22287         setting O_APPEND.
22288         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22289         test case.
22291         [BZ #16680]
22292         * libio/fileops.c (_IO_file_open): Seek to end of file but
22293         don't cache the offset.
22294         (get_file_offset): Remove function.
22295         (do_ftell): Use cached offset when available.
22296         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22297         don't cache the offset.
22298         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22299         case.
22300         (do_one_test): Call it.
22301         (do_ftell_test): Fix up expected old offset for a+ mode.
22302         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22303         available.
22305         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22306         up test status with function return status.
22307         (do_write_test): Likewise.
22308         (do_append_test): Likewise.
22310         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22311         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22312         Remove.
22314 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22316         * math/gen-libm-test.pl (parse_args): Handle results specified for
22317         each rounding mode separately.
22318         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22319         tests and results from lrint_tonearest_test_data,
22320         lrint_towardzero_test_data, lrint_downward_test_data and
22321         lrint_upward_test_data.
22322         (lrint_test): Use ALL_RM_TEST.
22323         (lrint_tonearest_test_data): Remove.
22324         (lrint_test_tonearest): Likewise.
22325         (lrint_towardzero_test_data): Likewise.
22326         (lrint_test_towardzero): Likewise.
22327         (lrint_downward_test_data): Likewise.
22328         (lrint_test_downward): Likewise.
22329         (lrint_upward_test_data): Likewise.
22330         (lrint_test_upward): Likewise.
22331         (llrint_test_data): Merge in per-rounding-mode tests and results
22332         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22333         llrint_downward_test_data and llrint_upward_test_data.
22334         (llrint_test): Use ALL_RM_TEST.
22335         (llrint_tonearest_test_data): Remove.
22336         (llrint_test_tonearest): Likewise.
22337         (llrint_towardzero_test_data): Likewise.
22338         (llrint_test_towardzero): Likewise.
22339         (llrint_downward_test_data): Likewise.
22340         (llrint_test_downward): Likewise.
22341         (llrint_upward_test_data): Likewise.
22342         (llrint_test_upward): Likewise.
22343         (rint_test_data): Merge in per-rounding-mode tests and results
22344         from rint_tonearest_test_data, rint_towardzero_test_data,
22345         rint_downward_test_data and rint_upward_test_data.  Add
22346         per-rounding-mode results for tests not in those arrays.
22347         (rint_test): Use ALL_RM_TEST.
22348         (rint_tonearest_test_data): Remove.
22349         (rint_test_tonearest): Likewise.
22350         (rint_towardzero_test_data): Likewise.
22351         (rint_test_towardzero): Likewise.
22352         (rint_downward_test_data): Likewise.
22353         (rint_test_downward): Likewise.
22354         (rint_upward_test_data): Likewise.
22355         (rint_test_upward): Likewise.
22356         (main): Don't call removed functions.
22358 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22360         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22361         "Compiled on ..." crapola.  It is anti-useful.
22363 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22365         * scripts/evaluate-test.sh: Handle fourth argument to determine
22366         whether test run should stop on failure.
22367         * Makeconfig (stop-on-test-failure): New variable.
22368         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22369         $(stop-on-test-failure).
22370         * Makefile (tests): Give a summary of results from testing and
22371         exit with failure status if they include an ERROR or FAIL.
22372         (xtests): Likewise.
22373         * manual/install.texi (Configuring and compiling): Mention
22374         stop-on-test-failure=y.
22375         * INSTALL: Regenerated.
22377 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22379         * scripts/versionlist.awk: New file.
22380         * Makerules [$(build-shared) = yes]
22381         (postclean-generated): Add Versions.def, not Versions.def.v and
22382         Versions.def.v.i.
22383         ($(common-objpfx)Versions.def.v.i): Target removed.
22384         ($(common-objpfx)Versions.def): New target.
22385         ($(common-objpfx)Versions.all): Depend on that rather that
22386         $(common-objpfx)Versions.def.v.
22387         * Versions.def: File removed.
22389         * Makeconfig (+gccwarn): Add -Wundef.
22390         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22391         a dl-sysdep.h breaking its contract.
22392         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22393         * include/stackinfo.h: New file.
22394         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22395         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22396         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22397         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22398         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22399         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22400         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22401         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22402         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22403         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22404         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22405         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22406         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22407         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22408         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22410 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22412         [BZ #16707]
22413         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22414         implementation.
22415         * math/libm-test.inc (round_test_data): Add more tests.
22417         [BZ #16706]
22418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22419         implementation.
22420         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22422         [BZ #16701]
22423         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22424         implementation.
22425         * math/libm-test.inc (ceil_test_data): Add more tests.
22427         * math/libm-test.inc (trunc_test_data): Add more tests related to
22428         BZ#16414.
22430 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22432         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22433         with #if rather than #ifdef.
22434         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22436 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22438         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22439         first.  Disable AVX-512 GCC support if assembler doesn't support
22440         it.
22441         * sysdeps/x86_64/configure: Regenerated.
22443 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22445         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22446         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22447         (__old_pthread_attr_setstack): Likewise.
22448         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22449         [!_STACK_GROWS_DOWN]: Likewise.
22451 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22453         * config.make.in (have-bash2): Delete.
22454         * configure.ac (libc_cv_have_bash2): Delete.
22455         * configure: Regenerate.
22456         * elf/Makefile (common-ldd-rewrite): Rename to ...
22457         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22458         (sh-ldd-rewrite): Delete.
22459         (bash-ldd-rewrite): Delete.
22460         (have-bash2): Delete checks.
22461         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22462         ldd-rewrite.
22464         * config.make.in (have-ksh): Delete.
22465         (KSH): Delete.
22466         * configure.ac (libc_cv_have_ksh): Delete.
22467         * configure: Regenerate.
22469         * elf/Makefile: Delete $(have-ksh) check.
22470         ($(objpfx)sotruss): Change KSH to BASH.
22471         * elf/sotruss.ksh: Rename to ...
22472         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22473         function style to match POSIX.  Drop ksh vim mode setting.
22475         * manual/time.texi (Specifying the Time Zone with TZ): Change
22476         Tuesday to Thursday.
22478         * debug/tst-longjmp_chk2.c: Update header comment.
22479         (stackoverflow_handler): Add comment.  Call assert on pass value.
22481 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22483         [BZ #16194]
22484         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22485         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22486         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22487         (La_x86_64_vector): Add zmm.
22488         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22489         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22490         ($(objpfx)tst-audit10): New target.
22491         ($(objpfx)tst-audit10.out): Likewise.
22492         (tst-audit10-ENV): New.
22493         (AVX512-CFLAGS): Likewise.
22494         (CFLAGS-tst-audit10.c): Likewise.
22495         (CFLAGS-tst-auditmod10a.c): Likewise.
22496         (CFLAGS-tst-auditmod10b.c): Likewise.
22497         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22498         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22499         * sysdeps/x86_64/configure: Regenerated.
22500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22501         AVX-512 zmm register support.
22502         (_dl_x86_64_save_sse): Likewise.
22503         (_dl_x86_64_restore_sse): Likewise.
22504         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22505         size vector registers.
22506         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22507         (ZMM_SIZE): Likewise.
22508         * sysdeps/x86_64/tst-audit10.c: New file.
22509         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22510         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22512 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22514         * configure.ac (HAVE_EHDR_START): New check.
22515         * configure: Regenerated.
22516         * config.h.in (HAVE_EHDR_START): New #undef.
22517         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22518         assuming the lowest-addressed segment maps the start of the file.
22520 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22522         * INSTALL: Regenerated.
22524 2014-03-13  Will Newton  <will.newton@linaro.org>
22526         * manual/setjmp.texi (System V contexts): Improve
22527         clarity and grammar of documentation.
22529 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22531         [BZ #16381]
22532         * elf/Makefile (tests): Add tst-pie2.
22533         (tests-pie): Add tst-pie2.
22534         * elf/tst-pie2.c: New file.
22535         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22536         for ET_EXEC.
22537         * elf/rtld.c (map_doit): Load executable as lt_executable.
22538         (dl_main): Likewise.
22540 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22542         [BZ #16642]
22543         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22544         (__ASSUME_PSELECT): Undefine.
22546 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22548         [BZ #16689]
22549         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22550         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22551         static build.
22552         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22553         selector for static builds.
22555 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22557         [BZ #16695]
22558         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22559         key in the buffer.
22561 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22563         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22564         IFUNC selector for static builds.
22566 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22568         * sysdeps/mips/math_private.h [__mips_hard_float]
22569         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22570         libc_feresetround_mips_ctx.
22571         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22572         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22573         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22575         [BZ #16677]
22576         * math/s_nextafter.c (__nextafter): Do not return value from
22577         overflowing computation.
22578         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22579         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22580         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22581         Likewise.
22582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22583         Likewise.
22584         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22585         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22587 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22589         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22590         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22591         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22592         the new mov targetting sp.
22594 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22596         [BZ #16683]
22597         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22598         Define it for static builds as well.
22599         (NO_BZERO_IMPL): Likewise.
22601 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22603         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22604         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22605         multiarch strspn for PPC64.
22606         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22607         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22609         (__libc_ifunc_impl_list): Likewise.
22610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22611         multiarch optimizations
22612         * string/strspn.c (strspn): Using macro to redefine symbol name.
22614 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22617         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22618         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22619         multiarch strncat for PPC64.
22620         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22621         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22623         (__libc_ifunc_impl_list): Likewise.
22624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22625         multiarch optimizations
22627 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22629         [BZ #16639]
22630         * nscd/nscd.service: Make service type forking.
22632 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22634         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22635         sign in non default rounding modes.
22636         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22638 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22640         * math/libm-test.inc (ALL_RM_TEST): New macro.
22641         (ceil_test): Use ALL_RM_TEST.
22642         (cimag_test): Likewise.
22643         (conj_test): Likewise.
22644         (copysign_test): Likewise.
22645         (cproj_test): Likewise.
22646         (creal_test): Likewise.
22647         (fabs_test): Likewise.
22648         (floor_test): Likewise.
22649         (fmax_test): Likewise.
22650         (fmin_test): Likewise.
22651         (fmod_test): Likewise.
22652         (fpclassify_test): Likewise.
22653         (frexp_test): Likewise.
22654         (ilogb_test): Likewise.
22655         (isfinite_test): Likewise.
22656         (finite_test): Likewise.
22657         (isgreater_test): Likewise.
22658         (isgreaterequal_test): Likewise.
22659         (isinf_test): Likewise.
22660         (isless_test): Likewise.
22661         (islessequal_test): Likewise.
22662         (islessgreater_test): Likewise.
22663         (isnan_test): Likewise.
22664         (isnormal_test): Likewise.
22665         (issignaling_test): Likewise.
22666         (isunordered_test): Likewise.
22667         (logb_test): Likewise.
22668         (logb_downward_test_data): Remove.
22669         (logb_test_downward): Likewise.
22670         (lround_test): Use ALL_RM_TEST.
22671         (llround_test): Likewise.
22672         (modf_test): Likewise.
22673         (nexttoward_test): Likewise.
22674         (remainder_test): Likewise.
22675         (drem_test): Likewise.
22676         (remainder_tonearest_test_data): Likewise.
22677         (remainder_test_tonearest): Likewise.
22678         (drem_test_tonearest): Likewise.
22679         (remainder_towardzero_test_data): Likewise.
22680         (remainder_test_towardzero): Likewise.
22681         (drem_test_towardzero): Likewise.
22682         (remainder_downward_test_data): Likewise.
22683         (remainder_test_downward): Likewise.
22684         (drem_test_downward): Likewise.
22685         (remainder_upward_test_data): Likewise.
22686         (remainder_test_upward): Likewise.
22687         (drem_test_upward): Likewise.
22688         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22689         (round_test): Use ALL_RM_TEST.
22690         (signbit_test): Likewise.
22691         (trunc_test): Likewise.
22692         (significand_test): Likewise.
22693         (main): Don't call removed functions.
22695 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22697         [BZ #16674]
22698         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22699         || __USE_XOPEN2K8].
22700         (ILL_ILLOPN): Likewise.
22701         (ILL_ILLADR): Likewise.
22702         (ILL_ILLTRP): Likewise.
22703         (ILL_PRVOPC): Likewise.
22704         (ILL_PRVREG): Likewise.
22705         (ILL_COPROC): Likewise.
22706         (ILL_BADSTK): Likewise.
22707         (FPE_INTDIV): Likewise.
22708         (FPE_INTOVF): Likewise.
22709         (FPE_FLTDIV): Likewise.
22710         (FPE_FLTOVF): Likewise.
22711         (FPE_FLTUND): Likewise.
22712         (FPE_FLTRES): Likewise.
22713         (FPE_FLTINV): Likewise.
22714         (FPE_FLTSUB): Likewise.
22715         (SEGV_MAPERR): Likewise.
22716         (SEGV_ACCERR): Likewise.
22717         (BUS_ADRALN): Likewise.
22718         (BUS_ADRERR): Likewise.
22719         (BUS_OBJERR): Likewise.
22720         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22721         (TRAP_TRACE): Likewise.
22722         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22723         __USE_XOPEN2K8].
22724         (CLD_KILLED): Likewise.
22725         (CLD_DUMPED): Likewise.
22726         (CLD_TRAPPED): Likewise.
22727         (CLD_STOPPED): Likewise.
22728         (CLD_CONTINUED): Likewise.
22729         (POLL_IN): Likewise.
22730         (POLL_OUT): Likewise.
22731         (POLL_MSG): Likewise.
22732         (POLL_ERR): Likewise.
22733         (POLL_PRI): Likewise.
22734         (POLL_HUP): Likewise.
22735         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22736         Likewise.
22737         (ILL_ILLOPN): Likewise.
22738         (ILL_ILLADR): Likewise.
22739         (ILL_ILLTRP): Likewise.
22740         (ILL_PRVOPC): Likewise.
22741         (ILL_PRVREG): Likewise.
22742         (ILL_COPROC): Likewise.
22743         (ILL_BADSTK): Likewise.
22744         (FPE_INTDIV): Likewise.
22745         (FPE_INTOVF): Likewise.
22746         (FPE_FLTDIV): Likewise.
22747         (FPE_FLTOVF): Likewise.
22748         (FPE_FLTUND): Likewise.
22749         (FPE_FLTRES): Likewise.
22750         (FPE_FLTINV): Likewise.
22751         (FPE_FLTSUB): Likewise.
22752         (SEGV_MAPERR): Likewise.
22753         (SEGV_ACCERR): Likewise.
22754         (BUS_ADRALN): Likewise.
22755         (BUS_ADRERR): Likewise.
22756         (BUS_OBJERR): Likewise.
22757         (BUS_MCEERR_AR): Likewise.
22758         (BUS_MCEERR_AO): Likewise.
22759         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22760         (TRAP_TRACE): Likewise.
22761         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22762         __USE_XOPEN2K8].
22763         (CLD_KILLED): Likewise.
22764         (CLD_DUMPED): Likewise.
22765         (CLD_TRAPPED): Likewise.
22766         (CLD_STOPPED): Likewise.
22767         (CLD_CONTINUED): Likewise.
22768         (POLL_IN): Likewise.
22769         (POLL_OUT): Likewise.
22770         (POLL_MSG): Likewise.
22771         (POLL_ERR): Likewise.
22772         (POLL_PRI): Likewise.
22773         (POLL_HUP): Likewise.
22774         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22775         (ILL_ILLOPN): Likewise.
22776         (ILL_ILLADR): Likewise.
22777         (ILL_ILLTRP): Likewise.
22778         (ILL_PRVOPC): Likewise.
22779         (ILL_PRVREG): Likewise.
22780         (ILL_COPROC): Likewise.
22781         (ILL_BADSTK): Likewise.
22782         (FPE_INTDIV): Likewise.
22783         (FPE_INTOVF): Likewise.
22784         (FPE_FLTDIV): Likewise.
22785         (FPE_FLTOVF): Likewise.
22786         (FPE_FLTUND): Likewise.
22787         (FPE_FLTRES): Likewise.
22788         (FPE_FLTINV): Likewise.
22789         (FPE_FLTSUB): Likewise.
22790         (SEGV_MAPERR): Likewise.
22791         (SEGV_ACCERR): Likewise.
22792         (BUS_ADRALN): Likewise.
22793         (BUS_ADRERR): Likewise.
22794         (BUS_OBJERR): Likewise.
22795         (BUS_MCEERR_AR): Likewise.
22796         (BUS_MCEERR_AO): Likewise.
22797         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22798         (TRAP_TRACE): Likewise.
22799         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22800         __USE_XOPEN2K8].
22801         (CLD_KILLED): Likewise.
22802         (CLD_DUMPED): Likewise.
22803         (CLD_TRAPPED): Likewise.
22804         (CLD_STOPPED): Likewise.
22805         (CLD_CONTINUED): Likewise.
22806         (POLL_IN): Likewise.
22807         (POLL_OUT): Likewise.
22808         (POLL_MSG): Likewise.
22809         (POLL_ERR): Likewise.
22810         (POLL_PRI): Likewise.
22811         (POLL_HUP): Likewise.
22812         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22813         Likewise.
22814         (ILL_ILLOPN): Likewise.
22815         (ILL_ILLADR): Likewise.
22816         (ILL_ILLTRP): Likewise.
22817         (ILL_PRVOPC): Likewise.
22818         (ILL_PRVREG): Likewise.
22819         (ILL_COPROC): Likewise.
22820         (ILL_BADSTK): Likewise.
22821         (ILL_BADIADDR): Likewise.
22822         (ILL_BREAK): Likewise.
22823         (FPE_INTDIV): Likewise.
22824         (FPE_INTOVF): Likewise.
22825         (FPE_FLTDIV): Likewise.
22826         (FPE_FLTOVF): Likewise.
22827         (FPE_FLTUND): Likewise.
22828         (FPE_FLTRES): Likewise.
22829         (FPE_FLTINV): Likewise.
22830         (FPE_FLTSUB): Likewise.
22831         (FPE_DECOVF): Likewise.
22832         (FPE_DECDIV): Likewise.
22833         (FPE_DECERR): Likewise.
22834         (FPE_INVASC): Likewise.
22835         (FPE_INVDEC): Likewise.
22836         (SEGV_MAPERR): Likewise.
22837         (SEGV_ACCERR): Likewise.
22838         (SEGV_PSTKOVF): Likewise.
22839         (BUS_ADRALN): Likewise.
22840         (BUS_ADRERR): Likewise.
22841         (BUS_OBJERR): Likewise.
22842         (BUS_MCEERR_AR): Likewise.
22843         (BUS_MCEERR_AO): Likewise.
22844         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22845         (TRAP_TRACE): Likewise.
22846         (TRAP_BRANCH): Likewise.
22847         (TRAP_HWBKPT): Likewise.
22848         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22849         __USE_XOPEN2K8].
22850         (CLD_KILLED): Likewise.
22851         (CLD_DUMPED): Likewise.
22852         (CLD_TRAPPED): Likewise.
22853         (CLD_STOPPED): Likewise.
22854         (CLD_CONTINUED): Likewise.
22855         (POLL_IN): Likewise.
22856         (POLL_OUT): Likewise.
22857         (POLL_MSG): Likewise.
22858         (POLL_ERR): Likewise.
22859         (POLL_PRI): Likewise.
22860         (POLL_HUP): Likewise.
22861         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22862         (ILL_ILLOPN): Likewise.
22863         (ILL_ILLADR): Likewise.
22864         (ILL_ILLTRP): Likewise.
22865         (ILL_PRVOPC): Likewise.
22866         (ILL_PRVREG): Likewise.
22867         (ILL_COPROC): Likewise.
22868         (ILL_BADSTK): Likewise.
22869         (FPE_INTDIV): Likewise.
22870         (FPE_INTOVF): Likewise.
22871         (FPE_FLTDIV): Likewise.
22872         (FPE_FLTOVF): Likewise.
22873         (FPE_FLTUND): Likewise.
22874         (FPE_FLTRES): Likewise.
22875         (FPE_FLTINV): Likewise.
22876         (FPE_FLTSUB): Likewise.
22877         (SEGV_MAPERR): Likewise.
22878         (SEGV_ACCERR): Likewise.
22879         (BUS_ADRALN): Likewise.
22880         (BUS_ADRERR): Likewise.
22881         (BUS_OBJERR): Likewise.
22882         (BUS_MCEERR_AR): Likewise.
22883         (BUS_MCEERR_AO): Likewise.
22884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22885         (TRAP_TRACE): Likewise.
22886         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22887         __USE_XOPEN2K8].
22888         (CLD_KILLED): Likewise.
22889         (CLD_DUMPED): Likewise.
22890         (CLD_TRAPPED): Likewise.
22891         (CLD_STOPPED): Likewise.
22892         (CLD_CONTINUED): Likewise.
22893         (POLL_IN): Likewise.
22894         (POLL_OUT): Likewise.
22895         (POLL_MSG): Likewise.
22896         (POLL_ERR): Likewise.
22897         (POLL_PRI): Likewise.
22898         (POLL_HUP): Likewise.
22899         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22900         (ILL_ILLOPN): Likewise.
22901         (ILL_ILLADR): Likewise.
22902         (ILL_ILLTRP): Likewise.
22903         (ILL_PRVOPC): Likewise.
22904         (ILL_PRVREG): Likewise.
22905         (ILL_COPROC): Likewise.
22906         (ILL_BADSTK): Likewise.
22907         (FPE_INTDIV): Likewise.
22908         (FPE_INTOVF): Likewise.
22909         (FPE_FLTDIV): Likewise.
22910         (FPE_FLTOVF): Likewise.
22911         (FPE_FLTUND): Likewise.
22912         (FPE_FLTRES): Likewise.
22913         (FPE_FLTINV): Likewise.
22914         (FPE_FLTSUB): Likewise.
22915         (SEGV_MAPERR): Likewise.
22916         (SEGV_ACCERR): Likewise.
22917         (BUS_ADRALN): Likewise.
22918         (BUS_ADRERR): Likewise.
22919         (BUS_OBJERR): Likewise.
22920         (BUS_MCEERR_AR): Likewise.
22921         (BUS_MCEERR_AO): Likewise.
22922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22923         (TRAP_TRACE): Likewise.
22924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22925         __USE_XOPEN2K8].
22926         (CLD_KILLED): Likewise.
22927         (CLD_DUMPED): Likewise.
22928         (CLD_TRAPPED): Likewise.
22929         (CLD_STOPPED): Likewise.
22930         (CLD_CONTINUED): Likewise.
22931         (POLL_IN): Likewise.
22932         (POLL_OUT): Likewise.
22933         (POLL_MSG): Likewise.
22934         (POLL_ERR): Likewise.
22935         (POLL_PRI): Likewise.
22936         (POLL_HUP): Likewise.
22937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22938         (ILL_ILLOPN): Likewise.
22939         (ILL_ILLADR): Likewise.
22940         (ILL_ILLTRP): Likewise.
22941         (ILL_PRVOPC): Likewise.
22942         (ILL_PRVREG): Likewise.
22943         (ILL_COPROC): Likewise.
22944         (ILL_BADSTK): Likewise.
22945         (FPE_INTDIV): Likewise.
22946         (FPE_INTOVF): Likewise.
22947         (FPE_FLTDIV): Likewise.
22948         (FPE_FLTOVF): Likewise.
22949         (FPE_FLTUND): Likewise.
22950         (FPE_FLTRES): Likewise.
22951         (FPE_FLTINV): Likewise.
22952         (FPE_FLTSUB): Likewise.
22953         (SEGV_MAPERR): Likewise.
22954         (SEGV_ACCERR): Likewise.
22955         (BUS_ADRALN): Likewise.
22956         (BUS_ADRERR): Likewise.
22957         (BUS_OBJERR): Likewise.
22958         (BUS_MCEERR_AR): Likewise.
22959         (BUS_MCEERR_AO): Likewise.
22960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22961         (TRAP_TRACE): Likewise.
22962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22963         __USE_XOPEN2K8].
22964         (CLD_KILLED): Likewise.
22965         (CLD_DUMPED): Likewise.
22966         (CLD_TRAPPED): Likewise.
22967         (CLD_STOPPED): Likewise.
22968         (CLD_CONTINUED): Likewise.
22969         (POLL_IN): Likewise.
22970         (POLL_OUT): Likewise.
22971         (POLL_MSG): Likewise.
22972         (POLL_ERR): Likewise.
22973         (POLL_PRI): Likewise.
22974         (POLL_HUP): Likewise.
22975         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22976         (ILL_ILLOPN): Likewise.
22977         (ILL_ILLADR): Likewise.
22978         (ILL_ILLTRP): Likewise.
22979         (ILL_PRVOPC): Likewise.
22980         (ILL_PRVREG): Likewise.
22981         (ILL_COPROC): Likewise.
22982         (ILL_BADSTK): Likewise.
22983         (ILL_DBLFLT): Likewise.
22984         (ILL_HARDWALL): Likewise.
22985         (FPE_INTDIV): Likewise.
22986         (FPE_INTOVF): Likewise.
22987         (FPE_FLTDIV): Likewise.
22988         (FPE_FLTOVF): Likewise.
22989         (FPE_FLTUND): Likewise.
22990         (FPE_FLTRES): Likewise.
22991         (FPE_FLTINV): Likewise.
22992         (FPE_FLTSUB): Likewise.
22993         (SEGV_MAPERR): Likewise.
22994         (SEGV_ACCERR): Likewise.
22995         (BUS_ADRALN): Likewise.
22996         (BUS_ADRERR): Likewise.
22997         (BUS_OBJERR): Likewise.
22998         (BUS_MCEERR_AR): Likewise.
22999         (BUS_MCEERR_AO): Likewise.
23000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23001         (TRAP_TRACE): Likewise.
23002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23003         __USE_XOPEN2K8].
23004         (CLD_KILLED): Likewise.
23005         (CLD_DUMPED): Likewise.
23006         (CLD_TRAPPED): Likewise.
23007         (CLD_STOPPED): Likewise.
23008         (CLD_CONTINUED): Likewise.
23009         (POLL_IN): Likewise.
23010         (POLL_OUT): Likewise.
23011         (POLL_MSG): Likewise.
23012         (POLL_ERR): Likewise.
23013         (POLL_PRI): Likewise.
23014         (POLL_HUP): Likewise.
23015         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23016         (ILL_ILLOPN): Likewise.
23017         (ILL_ILLADR): Likewise.
23018         (ILL_ILLTRP): Likewise.
23019         (ILL_PRVOPC): Likewise.
23020         (ILL_PRVREG): Likewise.
23021         (ILL_COPROC): Likewise.
23022         (ILL_BADSTK): Likewise.
23023         (FPE_INTDIV): Likewise.
23024         (FPE_INTOVF): Likewise.
23025         (FPE_FLTDIV): Likewise.
23026         (FPE_FLTOVF): Likewise.
23027         (FPE_FLTUND): Likewise.
23028         (FPE_FLTRES): Likewise.
23029         (FPE_FLTINV): Likewise.
23030         (FPE_FLTSUB): Likewise.
23031         (SEGV_MAPERR): Likewise.
23032         (SEGV_ACCERR): Likewise.
23033         (BUS_ADRALN): Likewise.
23034         (BUS_ADRERR): Likewise.
23035         (BUS_OBJERR): Likewise.
23036         (BUS_MCEERR_AR): Likewise.
23037         (BUS_MCEERR_AO): Likewise.
23038         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23039         (TRAP_TRACE): Likewise.
23040         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23041         __USE_XOPEN2K8].
23042         (CLD_KILLED): Likewise.
23043         (CLD_DUMPED): Likewise.
23044         (CLD_TRAPPED): Likewise.
23045         (CLD_STOPPED): Likewise.
23046         (CLD_CONTINUED): Likewise.
23047         (POLL_IN): Likewise.
23048         (POLL_OUT): Likewise.
23049         (POLL_MSG): Likewise.
23050         (POLL_ERR): Likewise.
23051         (POLL_PRI): Likewise.
23052         (POLL_HUP): Likewise.
23053         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23054         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23056         [BZ #16670]
23057         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23058         before #include of <time.h>.
23059         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23060         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23061         (test-xfail-UNIX98/sched.h/conform): Likewise.
23063 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23065         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23066         error absence of trapping exception support.
23067         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23069 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23071         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23072         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23073         * timezone/Makefile (testdata): Move definition above include of
23074         Rules.
23075         (test-zones): New variable.
23076         (tests-special): Add zone files.
23077         (build-testdata): Use $(evaluate-test).
23079         * elf/Makefile (tests-special): Rename tests to end with .out.
23080         ($(objpfx)noload-mem): Likewise.
23081         ($(objpfx)tst-leaks1-mem): Likewise.
23082         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23083         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23084         $(objpfx)test-iconvconfig.out.
23085         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23086         set -e inside subshell and redirect output to file.
23087         * iconvdata/Makefile (generated): Rename tests to end with .out.
23088         Correct type.
23089         (tests-special): Rename tests to end with .out.
23090         ($(objpfx)mtrace-tst-loading): Likewise.
23091         * intl/Makefile (generated): Likewise.
23092         (tests-special): Likewise.
23093         ($(objpfx)mtrace-tst-gettext): Likewise.
23094         * misc/Makefile (generated): Likewise.
23095         (tests-special): Likewise.
23096         ($(objpfx)tst-error1-mem): Likewise.
23097         * nptl/Makefile (tests-special): Likewise.
23098         ($(objpfx)tst-stack3-mem): Likewise.
23099         (generated): Likewise.
23100         * posix/Makefile (generated): Likewise.
23101         (tests-special): Likewise.
23102         (xtests-special): Likewise.
23103         ($(objpfx)tst-fnmatch-mem): Likewise.
23104         ($(objpfx)bug-regex2-mem): Likewise.
23105         ($(objpfx)bug-regex14-mem): Likewise.
23106         ($(objpfx)bug-regex21-mem): Likewise.
23107         ($(objpfx)bug-regex31-mem): Likewise.
23108         ($(objpfx)tst-vfork3-mem): Likewise.
23109         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23110         ($(objpfx)tst-pcre-mem): Likewise.
23111         ($(objpfx)tst-boost-mem): Likewise.
23112         ($(objpfx)bug-ga2-mem): Likewise.
23113         ($(objpfx)bug-glob2-mem): Likewise.
23114         * resolv/Makefile (generate): Likewise.
23115         (tests-special): Likewise.
23116         (xtests-special): Likewise.
23117         (generated): Likewise.
23118         ($(objpfx)mtrace-tst-leaks): Likewise.
23119         ($(objpfx)mtrace-tst-leaks2): Likewise.
23121         * scripts/merge-test-results.sh: New file.
23122         * Makefile (tests-special-notdir): New variable.
23123         (tests): Run merge-test-results.sh.
23124         (xtests): Likewise.
23125         * Rules (tests-special-notdir): New variable.
23126         (xtests-special-notdir): Likewise.
23127         (tests): Run merge-test-results.sh
23128         (xtests): Likewise.
23130         * Makeconfig (test-xfail-name): New variable.
23131         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23132         compute variable name for expected failures.
23133         * conform/Makefile (conformtest-headers-data): New variable.
23134         (conformtest-standards): Likewise.
23135         (conformtest-headers-ISO): Likewise.
23136         (conformtest-headers-ISO99): Likewise.
23137         (conformtest-headers-ISO11): Likewise.
23138         (conformtest-headers-POSIX): Likewise.
23139         (conformtest-headers-XPG3): Likewise.
23140         (conformtest-headers-XPG4): Likewise.
23141         (conformtest-headers-UNIX98): Likewise.
23142         (conformtest-headers-XOPEN2K): Likewise.
23143         (conformtest-headers-POSIX2008): Likewise.
23144         (conformtest-headers-XOPEN2K8): Likewise.
23145         (conformtest-header-list-base): Likewise.
23146         (conformtest-header-list-tests): Likewise.
23147         (conformtest-header-base): Likewise.
23148         (conformtest-header-tests): Likewise.
23149         (tests-special): Add $(conformtest-header-list-tests).  If
23150         [$(fast-check) && !$(cross-compiling)], add
23151         $(conformtest-header-tests) instead of
23152         $(objpfx)run-conformtest.out.
23153         (generated): Add $(conformtest-header-list-base).  If
23154         [$(fast-check) && !$(cross-compiling)], add
23155         $(conformtest-header-base).  Remove previous setting.
23156         ($(conformtest-header-list-tests)): New target.
23157         (test-xfail-run-conformtest): Remove variable.
23158         ($(objpfx)run-conformtest.out): Remove target.
23159         (test-xfail-ISO11/complex.h/conform): New variable.
23160         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23161         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23162         (test-xfail-XPG3/varargs.h/conform): Likewise.
23163         (test-xfail-XPG4/varargs.h/conform): Likewise.
23164         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23165         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23166         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23167         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23168         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23169         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23170         (test-xfail-XPG3/ftw.h/conform): Likewise.
23171         (test-xfail-XPG3/grp.h/conform): Likewise.
23172         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23173         (test-xfail-XPG3/limits.h/conform): Likewise.
23174         (test-xfail-XPG3/pwd.h/conform): Likewise.
23175         (test-xfail-XPG3/search.h/conform): Likewise.
23176         (test-xfail-XPG3/signal.h/conform): Likewise.
23177         (test-xfail-XPG3/stdio.h/conform): Likewise.
23178         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23179         (test-xfail-XPG3/string.h/conform): Likewise.
23180         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23181         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23182         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23183         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23184         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23185         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23186         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23187         (test-xfail-XPG3/termios.h/conform): Likewise.
23188         (test-xfail-XPG3/time.h/conform): Likewise.
23189         (test-xfail-XPG3/unistd.h/conform): Likewise.
23190         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23191         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23192         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23193         (test-xfail-XPG4/netdb.h/conform): Likewise.
23194         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23195         (test-xfail-XPG4/signal.h/conform): Likewise.
23196         (test-xfail-XPG4/stdio.h/conform): Likewise.
23197         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23198         (test-xfail-XPG4/stropts.h/conform): Likewise.
23199         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23200         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23201         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23202         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23203         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23204         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23205         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23206         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23207         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23208         (test-xfail-XPG4/termios.h/conform): Likewise.
23209         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23210         (test-xfail-XPG4/unistd.h/conform): Likewise.
23211         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23212         (test-xfail-POSIX/sched.h/conform): Likewise.
23213         (test-xfail-POSIX/signal.h/conform): Likewise.
23214         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23215         (test-xfail-POSIX/tar.h/conform): Likewise.
23216         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23217         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23218         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23219         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23220         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23221         (test-xfail-UNIX98/sched.h/conform): Likewise.
23222         (test-xfail-UNIX98/signal.h/conform): Likewise.
23223         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23224         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23225         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23226         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23227         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23228         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23229         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23230         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23231         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23232         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23233         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23234         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23235         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23236         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23237         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23238         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23239         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23240         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23241         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23242         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23243         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23244         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23245         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23246         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23247         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23248         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23249         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23250         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23251         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23252         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23253         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23254         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23255         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23256         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23257         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23258         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23259         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23260         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23261         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23262         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23263         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23264         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23265         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23266         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23267         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23268         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23269         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23270         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23271         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23272         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23273         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23274         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23275         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23276         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23277         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23278         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23279         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23280         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23281         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23282         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23283         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23284         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23285         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23286         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23287         (conformtest-cc-flags): Likewise.
23288         ($(conformtest-header-tests): New target.
23289         * conform/check-header-lists.sh: New file.
23290         * conform/run-conformtest.sh: Remove.
23292         * conform/conformtest.pl: Allow ' and \ in values given for
23293         constants.
23294         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23295         inclusion.
23296         [POSIX] (sys/types.h): Likewise.
23297         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23298         inclusion.
23299         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23300         inclusion.
23301         * conform/data/signal.h-data (SIGIO): Remove expectation.
23302         [XPG3] (SIGBUS): Do not expect.
23303         [POSIX || XPG3] (SIGPOLL): Likewise.
23304         [POSIX || XPG3] (SIGPROF): Likewise.
23305         [POSIX || XPG3] (SIGSYS): Likewise.
23306         [XPG3] (SIGTRAP): Likewise.
23307         [POSIX || XPG3] (SIGURG): Likewise.
23308         [POSIX || XPG3] (SIGVTALRM): Likewise.
23309         [POSIX || XPG3] (SIGXCPU): Likewise.
23310         [POSIX || XPG3] (SIGXFSZ): Likewise.
23311         [POSIX] (SA_SIGINFO): Expect.
23312         [XPG3] (siginfo_t): Do not expect type or contents.
23313         [POSIX] (si_pid): Do not expect element.
23314         [POSIX] (si_uid): Likewise.
23315         [POSIX] (si_addr): Likewise.
23316         [POSIX] (si_status): Likewise.
23317         [POSIX] (si_band): Likewise.
23318         [XPG4] (si_value): Likewise.
23319         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23320         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23321         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23322         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23323         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23324         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23325         [POSIX || XPG3] (ILL_COPROC): Likewise.
23326         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23327         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23328         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23329         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23330         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23331         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23332         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23333         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23334         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23335         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23336         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23337         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23338         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23339         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23340         [POSIX || XPG3] (CLD_EXITED): Likewise.
23341         [POSIX || XPG3] (CLD_KILLED): Likewise.
23342         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23343         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23344         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23345         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23346         [POSIX || XPG3] (POLL_IN): Likewise.
23347         [POSIX || XPG3] (POLL_OUT): Likewise.
23348         [POSIX || XPG3] (POLL_MSG): Likewise.
23349         [POSIX || XPG3] (POLL_ERR): Likewise.
23350         [POSIX || XPG3] (POLL_PRI): Likewise.
23351         [POSIX || XPG3] (POLL_HUP): Likewise.
23352         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23353         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23354         (SIG*): Do not allow.
23355         [XPG3] (si_*): Likewise.
23356         [XPG3] (SI_*): Likewise.
23357         [XPG3 || XPG4] (sigev_*): Likewise.
23358         [XPG3 || XPG4] (SIGEV_*): Likewise.
23359         [XPG3 || XPG4] (sival_*): Likewise.
23360         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23361         [POSIX || XPG3] (BUS_*): Likewise.
23362         [POSIX || XPG3] (CLD_*): Likewise.
23363         [POSIX || XPG3] (FPE_*): Likewise.
23364         [POSIX || XPG3] (ILL_*): Likewise.
23365         [POSIX || XPG3] (POLL_*): Likewise.
23366         [POSIX || XPG3] (SEGV_*): Likewise.
23367         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23368         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23369         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23370         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23371         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23372         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23373         Specify type and value.
23374         (TVERSLEN): Likewise.
23375         (REGTYPE): Likewise.
23376         (AREGTYPE): Likewise.
23377         (LNKTYPE): Likewise.
23378         (SYMTYPE): Likewise.
23379         (CHRTYPE): Likewise.
23380         (BLKTYPE): Likewise.
23381         (DIRTYPE): Likewise.
23382         (FIFOTYPE): Likewise.
23383         (CONTTYPE): Likewise.
23384         (TSUID): Likewise.
23385         (TSGID): Likewise.
23386         (TSVTX): Likewise.
23387         (TUREAD): Likewise.
23388         (TUWRITE): Likewise.
23389         (TUEXEC): Likewise.
23390         (TGREAD): Likewise.
23391         (TGWRITE): Likewise.
23392         (TGEXEC): Likewise.
23393         (TOREAD): Likewise.
23394         (TOWRITE): Likewise.
23395         (TOEXEC): Likewise.
23396         [POSIX] (TSVTX): Expect constant.
23398 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23400         * Makefile (tests): Change dependencies to ....
23401         (tests-special): ... additions to this variable.
23402         (tests): Depend on $(tests-special).
23403         * Makerules (check-abi-list): New variable.
23404         (check-abi): Depend on $(check-abi-list).
23405         [$(subdir) = elf] (tests-special): Add
23406         $(objpfx)check-abi-libc.out.
23407         [$(build-shared) = yes && subdir] (tests-special): Add
23408         $(check-abi-list).
23409         [$(build-shared) = yes && subdir] (tests): Do not depend on
23410         check-abi.
23411         * Rules (tests): Depend on $(tests-special).
23412         (xtests): Depend on $(xtests-special).
23413         * catgets/Makefile (tests): Change dependencies to ....
23414         (tests-special): ... additions to this variable.
23415         * conform/Makefile (tests): Change dependencies to ....
23416         (tests-special): ... additions to this variable.
23417         * elf/Makefile (tests): Change dependencies to ....
23418         (tests-special): ... additions to this variable.
23419         * grp/Makefile (tests): Change dependencies to ....
23420         (tests-special): ... additions to this variable.
23421         * iconv/Makefile (xtests): Change dependencies to ....
23422         (xtests-special): ... additions to this variable.
23423         * iconvdata/Makefile (tests): Change dependencies to ....
23424         (tests-special): ... additions to this variable.
23425         * intl/Makefile (tests): Change dependencies to ....
23426         (tests-special): ... additions to this variable.  Also add
23427         $(objpfx)tst-gettext.out.
23428         * io/Makefile (tests): Change dependencies to ....
23429         (tests-special): ... additions to this variable.
23430         * libio/Makefile (tests): Change dependencies to ....
23431         (tests-special): ... additions to this variable.
23432         * malloc/Makefile (tests): Change dependencies to ....
23433         (tests-special): ... additions to this variable.
23434         * misc/Makefile (tests): Change dependencies to ....
23435         (tests-special): ... additions to this variable.
23436         * nptl/Makefile (tests): Change dependencies to ....
23437         (tests-special): ... additions to this variable.
23438         * nptl_db/Makefile (tests): Change dependencies to ....
23439         (tests-special): ... additions to this variable.
23440         * posix/Makefile (tests): Change dependencies to ....
23441         (tests-special): ... additions to this variable.
23442         (xtests): Change dependencies to ....
23443         (xtests-special): ... additions to this variable.
23444         * resolv/Makefile (tests): Change dependencies to ....
23445         (tests-special): ... additions to this variable.
23446         (xtests): Change dependencies to ....
23447         (xtests-special): ... additions to this variable.
23448         * stdio-common/Makefile (tests): Change dependencies to ....
23449         (tests-special): ... additions to this variable.
23450         (do-tst-unbputc): Remove target.
23451         (do-tst-printf): Likewise.
23452         * stdlib/Makefile (tests): Change dependencies to ....
23453         (tests-special): ... additions to this variable.
23454         * string/Makefile (tests): Change dependencies to ....
23455         (tests-special): ... additions to this variable.
23456         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23457         (tests-special): ... additions to this variable.
23459         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23460         whole file.
23461         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23462         whole file.
23463         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23464         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23466         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23467         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23468         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23469         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23470         * conform/data/libgen.h-data [XPG3]: Likewise.
23471         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23472         * conform/data/ndbm.h-data [XPG3]: Likewise.
23473         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23474         * conform/data/netdb.h-data [XPG3]: Likewise.
23475         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23476         * conform/data/poll.h-data [XPG3]: Likewise.
23477         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23478         * conform/data/strings.h-data [XPG3]: Likewise.
23479         * conform/data/stropts.h-data [XPG3]: Likewise.
23480         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23481         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23482         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23483         Likewise.
23484         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23485         * conform/data/sys/time.h-data [XPG3]: Likewise.
23486         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23487         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23488         * conform/data/sys/un.h-data [XPG3]: Likewise.
23489         * conform/data/syslog.h-data [XPG3]: Likewise.
23490         * conform/data/ucontext.h-data [XPG3]: Likewise.
23491         * conform/data/utmpx.h-data [XPG3]: Likewise.
23492         * conform/data/varargs.h-data [UNIX98]: Enable file.
23494         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23496         * math/libm-test.inc (struct test_f_f_data): Move expected results
23497         into structure for each rounding mode.
23498         (struct test_ff_f_data): Likewise.
23499         (struct test_ff_f_data_nexttoward): Likewise.
23500         (struct test_fi_f_data): Likewise.
23501         (struct test_fl_f_data): Likewise.
23502         (struct test_if_f_data): Likewise.
23503         (struct test_fff_f_data): Likewise.
23504         (struct test_c_f_data): Likewise.
23505         (struct test_f_f1_data): Likewise.
23506         (struct test_fF_f1_data): Likewise.
23507         (struct test_ffI_f1_data): Likewise.
23508         (struct test_c_c_data): Likewise.
23509         (struct test_cc_c_data): Likewise.
23510         (struct test_f_i_data): Likewise.
23511         (struct test_ff_i_data): Likewise.
23512         (struct test_f_l_data): Likewise.
23513         (struct test_f_L_data): Likewise.
23514         (struct test_fFF_11_data): Likewise.
23515         (RM_): New macro.
23516         (RM_FE_DOWNWARD): Likewise.
23517         (RM_FE_TONEAREST): Likewise.
23518         (RM_FE_TOWARDZERO): Likewise.
23519         (RM_FE_UPWARD): Likewise.
23520         (RUN_TEST_LOOP_f_f): Update references to expected results.
23521         (RUN_TEST_LOOP_2_f): Likewise.
23522         (RUN_TEST_LOOP_fff_f): Likewise.
23523         (RUN_TEST_LOOP_c_f): Likewise.
23524         (RUN_TEST_LOOP_f_f1): Likewise.
23525         (RUN_TEST_LOOP_fF_f1): Likewise.
23526         (RUN_TEST_LOOP_fI_f1): Likewise.
23527         (RUN_TEST_LOOP_ffI_f1): Likewise.
23528         (RUN_TEST_LOOP_c_c): Likewise.
23529         (RUN_TEST_LOOP_cc_c): Likewise.
23530         (RUN_TEST_LOOP_f_i): Likewise.
23531         (RUN_TEST_LOOP_f_i_tg): Likewise.
23532         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23533         (RUN_TEST_LOOP_f_b): Likewise.
23534         (RUN_TEST_LOOP_f_b_tg): Likewise.
23535         (RUN_TEST_LOOP_f_l): Likewise.
23536         (RUN_TEST_LOOP_f_L): Likewise.
23537         (RUN_TEST_LOOP_fFF_11): Likewise.
23538         * math/gen-libm-test.pl (parse_args): Output four copies of
23539         expected results for each test.
23541         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23542         (__ASSUME_UTIMES): Remove.
23543         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23544         (__ASSUME_UTIMES): Likewise.
23546         * math/gen-auto-libm-tests.c: Update comment on output format.
23547         (output_for_one_input_case): Generate before-rounding and
23548         after-rounding information as conditions on output flags not
23549         floating-point format.
23550         * math/auto-libm-test-out: Regenerated.
23551         * math/gen-libm-test.pl (cond_value): New function.
23552         (or_cond_value): Use cond_value.
23553         (generate_testfile): Handle conditional exceptions.
23555 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23557         * math/libm-test.inc (max_valid_error): New variable.
23558         (init_max_error): Take new argument specifying whether function
23559         results are exactly determined.  Set max_valid_error and bound
23560         other variables for errors based on this argument.
23561         (set_max_error): Do not record results above max_valid_error.
23562         (check_float_internal): Only accept errors of up to 0.5ulps if
23563         also at most max_valid_error.
23564         (START): Take new argument EXACT and pass it to init_max_error.
23565         (acos_test): Update call to START.
23566         (acos_test_tonearest): Likewise.
23567         (acos_test_towardzero): Likewise.
23568         (acos_test_downward): Likewise.
23569         (acos_test_upward): Likewise.
23570         (acosh_test): Likewise.
23571         (asin_test): Likewise.
23572         (asin_test_tonearest): Likewise.
23573         (asin_test_towardzero): Likewise.
23574         (asin_test_downward): Likewise.
23575         (asin_test_upward): Likewise.
23576         (asinh_test): Likewise.
23577         (atan_test): Likewise.
23578         (atanh_test): Likewise.
23579         (atan2_test): Likewise.
23580         (cabs_test): Likewise.
23581         (cacos_test): Likewise.
23582         (cacosh_test): Likewise.
23583         (carg_test): Likewise.
23584         (casin_test): Likewise.
23585         (casinh_test): Likewise.
23586         (catan_test): Likewise.
23587         (catanh_test): Likewise.
23588         (cbrt_test): Likewise.
23589         (ccos_test): Likewise.
23590         (ccosh_test): Likewise.
23591         (ceil_test): Likewise.
23592         (cexp_test): Likewise.
23593         (cimag_test): Likewise.
23594         (clog_test): Likewise.
23595         (clog10_test): Likewise.
23596         (conj_test): Likewise.
23597         (copysign_test): Likewise.
23598         (cos_test): Likewise.
23599         (cos_test_tonearest): Likewise.
23600         (cos_test_towardzero): Likewise.
23601         (cos_test_downward): Likewise.
23602         (cos_test_upward): Likewise.
23603         (cosh_test): Likewise.
23604         (cosh_test_tonearest): Likewise.
23605         (cosh_test_towardzero): Likewise.
23606         (cosh_test_downward): Likewise.
23607         (cosh_test_upward): Likewise.
23608         (cpow_test): Likewise.
23609         (cproj_test): Likewise.
23610         (creal_test): Likewise.
23611         (csin_test): Likewise.
23612         (csinh_test): Likewise.
23613         (csqrt_test): Likewise.
23614         (ctan_test): Likewise.
23615         (ctan_test_tonearest): Likewise.
23616         (ctan_test_towardzero): Likewise.
23617         (ctan_test_downward): Likewise.
23618         (ctan_test_upward): Likewise.
23619         (ctanh_test): Likewise.
23620         (ctanh_test_tonearest): Likewise.
23621         (ctanh_test_towardzero): Likewise.
23622         (ctanh_test_downward): Likewise.
23623         (ctanh_test_upward): Likewise.
23624         (erf_test): Likewise.
23625         (erfc_test): Likewise.
23626         (exp_test): Likewise.
23627         (exp_test_tonearest): Likewise.
23628         (exp_test_towardzero): Likewise.
23629         (exp_test_downward): Likewise.
23630         (exp_test_upward): Likewise.
23631         (exp10_test): Likewise.
23632         (exp10_test_tonearest): Likewise.
23633         (exp10_test_towardzero): Likewise.
23634         (exp10_test_downward): Likewise.
23635         (exp10_test_upward): Likewise.
23636         (pow10_test): Likewise.
23637         (exp2_test): Likewise.
23638         (expm1_test): Likewise.
23639         (expm1_test_tonearest): Likewise.
23640         (expm1_test_towardzero): Likewise.
23641         (expm1_test_downward): Likewise.
23642         (expm1_test_upward): Likewise.
23643         (fabs_test): Likewise.
23644         (fdim_test): Likewise.
23645         (floor_test): Likewise.
23646         (fma_test): Likewise.
23647         (fma_test_towardzero): Likewise.
23648         (fma_test_downward): Likewise.
23649         (fma_test_upward): Likewise.
23650         (fmax_test): Likewise.
23651         (fmin_test): Likewise.
23652         (fmod_test): Likewise.
23653         (fpclassify_test): Likewise.
23654         (frexp_test): Likewise.
23655         (hypot_test): Likewise.
23656         (ilogb_test): Likewise.
23657         (isfinite_test): Likewise.
23658         (finite_test): Likewise.
23659         (isgreater_test): Likewise.
23660         (isgreaterequal_test): Likewise.
23661         (isinf_test): Likewise.
23662         (isless_test): Likewise.
23663         (islessequal_test): Likewise.
23664         (islessgreater_test): Likewise.
23665         (isnan_test): Likewise.
23666         (isnormal_test): Likewise.
23667         (issignaling_test): Likewise.
23668         (isunordered_test): Likewise.
23669         (j0_test): Likewise.
23670         (j1_test): Likewise.
23671         (jn_test): Likewise.
23672         (ldexp_test): Likewise.
23673         (lgamma_test): Likewise.
23674         (gamma_test): Likewise.
23675         (lrint_test): Likewise.
23676         (lrint_test_tonearest): Likewise.
23677         (lrint_test_towardzero): Likewise.
23678         (lrint_test_downward): Likewise.
23679         (lrint_test_upward): Likewise.
23680         (llrint_test): Likewise.
23681         (llrint_test_tonearest): Likewise.
23682         (llrint_test_towardzero): Likewise.
23683         (llrint_test_downward): Likewise.
23684         (llrint_test_upward): Likewise.
23685         (log_test): Likewise.
23686         (log10_test): Likewise.
23687         (log1p_test): Likewise.
23688         (log2_test): Likewise.
23689         (logb_test): Likewise.
23690         (logb_test_downward): Likewise.
23691         (lround_test): Likewise.
23692         (llround_test): Likewise.
23693         (modf_test): Likewise.
23694         (nearbyint_test): Likewise.
23695         (nextafter_test): Likewise.
23696         (nexttoward_test): Likewise.
23697         (pow_test): Likewise.
23698         (pow_test_tonearest): Likewise.
23699         (pow_test_towardzero): Likewise.
23700         (pow_test_downward): Likewise.
23701         (pow_test_upward): Likewise.
23702         (remainder_test): Likewise.
23703         (drem_test): Likewise.
23704         (remainder_test_tonearest): Likewise.
23705         (drem_test_tonearest): Likewise.
23706         (remainder_test_towardzero): Likewise.
23707         (drem_test_towardzero): Likewise.
23708         (remainder_test_downward): Likewise.
23709         (drem_test_downward): Likewise.
23710         (remainder_test_upward): Likewise.
23711         (drem_test_upward): Likewise.
23712         (remquo_test): Likewise.
23713         (rint_test): Likewise.
23714         (rint_test_tonearest): Likewise.
23715         (rint_test_towardzero): Likewise.
23716         (rint_test_downward): Likewise.
23717         (rint_test_upward): Likewise.
23718         (round_test): Likewise.
23719         (scalb_test): Likewise.
23720         (scalbn_test): Likewise.
23721         (scalbln_test): Likewise.
23722         (signbit_test): Likewise.
23723         (sin_test): Likewise.
23724         (sin_test_tonearest): Likewise.
23725         (sin_test_towardzero): Likewise.
23726         (sin_test_downward): Likewise.
23727         (sin_test_upward): Likewise.
23728         (sincos_test): Likewise.
23729         (sinh_test): Likewise.
23730         (sinh_test_tonearest): Likewise.
23731         (sinh_test_towardzero): Likewise.
23732         (sinh_test_downward): Likewise.
23733         (sinh_test_upward): Likewise.
23734         (sqrt_test): Likewise.
23735         (sqrt_test_tonearest): Likewise.
23736         (sqrt_test_towardzero): Likewise.
23737         (sqrt_test_downward): Likewise.
23738         (sqrt_test_upward): Likewise.
23739         (tan_test): Likewise.
23740         (tan_test_tonearest): Likewise.
23741         (tan_test_towardzero): Likewise.
23742         (tan_test_downward): Likewise.
23743         (tan_test_upward): Likewise.
23744         (tanh_test): Likewise.
23745         (tgamma_test): Likewise.
23746         (trunc_test): Likewise.
23747         (y0_test): Likewise.
23748         (y1_test): Likewise.
23749         (yn_test): Likewise.
23750         (significand_test): Likewise.
23752         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23753         individual tests in comment.
23754         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23755         (prev_max_error): New variable.
23756         (prev_real_max_error): Likewise.
23757         (prev_imag_max_error): Likewise.
23758         (compare_ulp_data): Don't refer to test names in comment.
23759         (find_test_ulps): Remove function.
23760         (find_function_ulps): Likewise.
23761         (find_complex_function_ulps): Likewise.
23762         (init_max_error): Take function name as argument.  Look up ulps
23763         for that function.
23764         (print_ulps): Remove function.
23765         (print_max_error): Use prev_max_error instead of calling
23766         find_function_ulps.
23767         (print_complex_max_error): Use prev_real_max_error and
23768         prev_imag_max_error instead of calling find_complex_function_ulps.
23769         (check_float_internal): Take max_ulp parameter instead of calling
23770         find_test_ulps.  Don't call print_ulps.
23771         (check_float): Update call to check_float_internal.
23772         (check_complex): Update calls to check_float_internal.
23773         (START): Pass argument to init_max_error.
23774         * math/gen-libm-test.pl (%results): Don't include "kind"
23775         information.
23776         (parse_ulps): Don't handle ulps of individual tests.
23777         (print_ulps_file): Likewise.
23778         (output_ulps): Likewise.
23779         * math/README.libm-test: Update.
23780         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23781         individual tests.
23782         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23783         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23784         * sysdeps/arm/libm-test-ulps: Likewise.
23785         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23786         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23787         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23788         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23789         * sysdeps/microblaze/libm-test-ulps: Likewise.
23790         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23791         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23792         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23793         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23795         * sysdeps/sh/libm-test-ulps: Likewise.
23796         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23797         * sysdeps/tile/libm-test-ulps: Likewise.
23798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23800 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23802         * math/libm-test.inc (print_complex_max_error): Check separately
23803         whether real and imaginary errors are within allowed range and
23804         pass 0 to print_complex_function_ulps instead of value within
23805         allowed range.
23807 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23809         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23810         formatting.
23811         (get_handles_fopen): Likewise.
23812         (do_write_test): Likewise.
23814         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23816         * libio/fileops.c (do_ftell): Use cached offset when
23817         available.
23818         * libio/iofwide.c (do_ftell_wide): Likewise.
23819         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23820         _IO_file_attach.
23821         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23823         [BZ #16532]
23824         * libio/libioP.h (get_file_offset): New function.
23825         * libio/fileops.c (get_file_offset): Likewise.
23826         (do_ftell): Likewise.
23827         (_IO_new_file_seekoff): Split out ftell logic.
23828         * libio/wfileops.c (do_ftell_wide): Likewise.
23829         (_IO_wfile_seekoff): Split out ftell logic.
23830         * libio/tst-ftell-active-handler.c: New test case.
23831         * libio/Makefile (tests): Add it.
23833 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23835         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23836         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23838 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23840         [BZ #16639]
23841         * nscd/connections.c (nscd_init): Call do_exit.
23842         (start_threads): Call do_exit and notify_parent.
23843         (begin_drop_privileges): Call do_exit.
23844         (finish_drop_privileges): Likewise.
23845         * nscd/selinux.c (preserve_capabilities): Likewise.
23846         (install_real_capabilities): Likewise.
23847         (nscd_selinux_enabled): Likewise.
23848         (avc_create_thread): Likewise.
23849         (avc_alloc_lock): Likewise.
23850         (nscd_avc_init): Likewise.
23851         * nscd/nscd.c (parent_fd): New static variable.
23852         (main): Create a pipe between parent and child processes.
23853         Skip closing parent_fd.
23854         (monitor_child): New function.
23855         (do_exit): Likewise.
23856         (notify_parent): Likewise.
23857         * nscd/nscd.h (notify_parent): Likewise.
23858         (do_exit): Likewise.
23860 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23862         * malloc/malloc.c (__libc_calloc): Revert last change.
23864 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23868 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23870         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23872         implementation.
23873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23874         (__libc_ifunc_impl_list): Likewise.
23875         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23876         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23877         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23878         * string/strrchr.c: Define STRRCHR.
23880 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23882         * benchtest/bench-strtok.c (simple_strtok): Delete.
23883         (strtok_string): Use as benchmark.
23884         * string/strtok (STRTOK): New macro.
23886 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23888         * manual/threads.texi: Add header and standard comments to all
23889         functions.
23891         * elf/dl-lookup.c (check_match): New function.
23892         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23893         (do_lookup_x): Remove nested function check_match. Use non-nested
23894         function check_match.
23896 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23898         * csu/Makefile (generated, before-compile): Use += rather than =.
23899         * catgets/Makefile (generated, generated-dirs): Likewise.
23900         * debug/Makefile (generated): Likewise.
23901         * dlfcn/Makefile (generated): Likewise.
23902         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23903         * iconvdata/Makefile (before-compile, generated): Likewise.
23904         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23905         * libio/Makefile (generated): Likewise.
23906         * malloc/Makefile (generated): Likewise.
23907         * manual/Makefile (generated, generated-dirs): Likewise.
23908         * misc/Makefile (generated): Likewise.
23909         * posix/Makefile (generated): Likewise.
23910         * resolv/Makefile (generated): Likewise.
23911         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23912         * timezone/Makefile (generated, generated-dirs): Likewise.
23914         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23916 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23919         power8 implementation.
23920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23921         file: POWER8 llround ifunc implementation.
23922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23923         (__lllround): Add POWER8 implementation.
23924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23925         POWER8 llround implementation.
23927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23928         power8 implementation.
23929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23930         file: POWER8 llrint ifunc implementation.
23931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23932         Add POWER8 implementation.
23933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23934         POWER8 llrint implementation.
23936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23937         power8 implementation.
23938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23939         file: POWER8 finite ifunc implementation.
23940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23941         Add POWER8 implementation.
23942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23943         Likewise.
23944         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23945         POWER8 finite implementation.
23946         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23949         power8 implementation.
23950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23951         file: POWER8 isinf ifunc implementation.
23952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23953         POWER8 implementation.
23954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23955         Likewise.
23956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23957         isinf implementation.
23958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23960         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23961         (INIT_ARCH): Add hwcap2 initialization.
23962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23963         power8 implementation.
23964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23965         file: POWER8 isnan ifunc implementation.
23966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23967         POWER8 implementation.
23968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23969         Likewise.
23970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23971         isnan implementation.
23972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23974 2014-02-27  Joey Ye  <joey.ye@arm.com>
23976         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23977         (_FP_NANFRAC_Q): Set to zero.
23979 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23981         [BZ #16623]
23982         * math/auto-libm-test-in: New test inputs.
23983         * math/auto-libm-test-out: Regenerate.
23984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23985         and DA.
23986         (__cos): Likewise.
23987         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23989 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23991         * scripts/evaluate-test.sh: Take new argument indicating whether
23992         failure is expected.
23993         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23994         indicating whether failure is expected.
23995         * conform/Makefile (test-xfail-run-conformtest): New variable.
23996         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23997         level.
23998         * posix/Makefile (test-xfail-annexc): New variable.
23999         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24001 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24003         * argp/Makefile: Include Makeconfig immediately after defining
24004         subdir.
24005         * assert/Makefile: Likewise.
24006         * benchtests/Makefile: Likewise.
24007         * catgets/Makefile: Likewise.
24008         * conform/Makefile: Likewise.
24009         * crypt/Makefile: Likewise.
24010         * csu/Makefile: Likewise.
24011         (all): Remove target.
24012         * ctype/Makefile: Include Makeconfig immediately after defining
24013         subdir.
24014         * debug/Makefile: Likewise.
24015         * dirent/Makefile: Likewise.
24016         * dlfcn/Makefile: Likewise.
24017         * gmon/Makefile: Likewise.
24018         * gnulib/Makefile: Likewise.
24019         * grp/Makefile: Likewise.
24020         * gshadow/Makefile: Likewise.
24021         * hesiod/Makefile: Likewise.
24022         * hurd/Makefile: Likewise.
24023         (all): Remove target.
24024         * iconvdata/Makefile: Include Makeconfig immediately after
24025         defining subdir.
24026         * inet/Makefile: Likewise.
24027         * intl/Makefile: Likewise.
24028         * io/Makefile: Likewise.
24029         * libio/Makefile: Likewise.
24030         (all): Remove target.
24031         * locale/Makefile: Include Makeconfig immediately after defining
24032         subdir.
24033         * login/Makefile: Likewise.
24034         * mach/Makefile: Likewise.
24035         (all): Remove target.
24036         * malloc/Makefile: Include Makeconfig immediately after defining
24037         subdir.
24038         (all): Remove target.
24039         * manual/Makefile: Include Makeconfig immediately after defining
24040         subdir.
24041         * math/Makefile: Likewise.
24042         * misc/Makefile: Likewise.
24043         * nis/Makefile: Likewise.
24044         * nss/Makefile: Likewise.
24045         * po/Makefile: Likewise.
24046         (all): Remove target.
24047         * posix/Makefile: Include Makeconfig immediately after defining
24048         subdir.
24049         * pwd/Makefile: Likewise.
24050         * resolv/Makefile: Likewise.
24051         * resource/Makefile: Likewise.
24052         * rt/Makefile: Likewise.
24053         * setjmp/Makefile: Likewise.
24054         * shadow/Makefile: Likewise.
24055         * signal/Makefile: Likewise.
24056         * socket/Makefile: Likewise.
24057         * soft-fp/Makefile: Likewise.
24058         * stdio-common/Makefile: Likewise.
24059         * stdlib/Makefile: Likewise.
24060         * streams/Makefile: Likewise.
24061         * string/Makefile: Likewise.
24062         * sunrpc/Makefile: Likewise.
24063         (all): Remove target.
24064         * sysvipc/Makefile: Include Makeconfig immediately after defining
24065         subdir.
24066         * termios/Makefile: Likewise.
24067         * time/Makefile: Likewise.
24068         * timezone/Makefile: Likewise.
24069         (all): Remove target.
24070         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24071         subdir.
24072         * wctype/Makefile: Likewise.
24074 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24076         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24077         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24078         (libc_feholdexcept_setround_mips): Ditto.
24079         (libc_feholdsetround): New.
24080         (libc_feholdsetroundf): New.
24081         (libc_feholdsetroundl): New.
24082         (libc_feupdateenv_test_mips): New.
24083         (libc_feupdateenv_test): New.
24084         (libc_feupdateenv_testf): New.
24085         (libc_feupdateenv_testl): New.
24086         (libc_feresetround): New.
24087         (libc_feresetroundf): New.
24088         (libc_feresetroundl): New.
24089         (libc_fetestexcept_mips): New.
24090         (libc_fetestexcept): New.
24091         (libc_fetestexceptf): New.
24092         (libc_fetestexceptl): New.
24093         (HAVE_RM_CTX): New.
24094         (libc_feholdexcept_setround_mips_ctx): New.
24095         (libc_feholdexcept_setround_ctx): New.
24096         (libc_feholdexcept_setroundf_ctx): New.
24097         (libc_feholdexcept_setroundl_ctx): New.
24098         (libc_fesetenv_mips_ctx): New.
24099         (libc_fesetenv_ctx): New.
24100         (libc_fesetenv_ctxf): New.
24101         (libc_fesetenv_ctxl): New.
24102         (libc_feupdateenv_mips_ctx): New.
24103         (libc_feupdateenv_ctx): New.
24104         (libc_feupdateenvf_ctx): New.
24105         (libc_feupdateenvl_ctx): New.
24106         (libc_feholdsetround_mips_ctx): New.
24107         (libc_feholdsetround_ctx): New.
24108         (libc_feholdsetroundf_ctx): New.
24109         (libc_feholdsetroundl_ctx): New.
24110         (libc_feresetround_mips_ctx): New.
24111         (libc_feresetround_ctx): New.
24112         (libc_feresetroundf_ctx): New.
24113         (libc_feresetroundl_ctx): New.
24115 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24117         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24119         * manual/ipc.texi: New file.
24120         * manual/Makefile (chapters): Add ipc.
24121         * manual/job.texi: Add "Inter-Process Communication" to next.
24122         * manual/process.texi: Add "Inter-Process Communication" to prev.
24124 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24128 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24130         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24132         * manual/arith.texi: Fix spaces after sentences.
24133         * manual/charset.texi: Likewise.
24134         * manual/errno.texi: Likewise.
24135         * manual/install.texi: Likewise.
24136         * manual/llio.texi: Likewise.
24137         * manual/locale.texi: Likewise.
24138         * manual/maint.texi: Likewise.
24139         * manual/math.texi: Likewise.
24140         * manual/memory.texi: Likewise.
24141         * manual/message.texi: Likewise.
24142         * manual/probes.texi: Likewise.
24143         * manual/resource.texi: Likewise.
24144         * manual/signal.texi: Likewise.
24145         * manual/socket.texi: Likewise.
24146         * manual/stdio.texi: Likewise.
24147         * manual/string.texi: Likewise.
24148         * manual/time.texi: Likewise.
24149         * manual/users.texi: Likewise.
24151 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24153         [BZ #16632]
24154         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24155         _DEFAULT_SOURCE is defined.
24157 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24158             Carlos O'Donell  <carlos@redhat.com>
24160         [BZ #16613]
24161         * elf/dl-tls.c (_dl_count_modids): New function.
24162         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24163         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24164         audit library and increment generation counter.
24165         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24166         * elf/tst-audit9.c: New file.
24167         * elf/tst-auditmod9a.c: New file.
24168         * elf/tst-auditmod9b.c: New file.
24169         * elf/Makefile: Add rules to build and run tst-audit9.
24171 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24173         [BZ #15347]
24174         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24176 2014-02-25  Will Newton  <will.newton@linaro.org>
24178         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24179         (__longjmp): Restore sp and lr before restoring callee
24180         saved registers.  Add longjmp and longjmp_target
24181         SystemTap probe point.
24182         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24183         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24184         Define to zero to match jmpbuf layout.
24185         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24186         (__sigsetjmp): Save sp and lr before saving callee
24187         saved registers.  Add setjmp SystemTap probe point.
24189 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24193 2014-02-24  Andreas Schwab  <schwab@suse.de>
24195         [BZ #15804]
24196         * elf/pldd.c (wait_for_ptrace_stop): New function.
24197         (main): Call it after attaching.
24199 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24201         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24202         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24203         Versions files is now verboten.
24204         * hurd/Versions (libc: GLIBC_2.0):
24205         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24206         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24207         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24208         * mach/Versions: Likewise.
24210         * csu/Versions: Remove unused %include.
24211         * resolv/Versions: Likewise.
24213 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24215         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24216         ($(objpfx)check-local-headers.out): Likewise.
24217         ($(objpfx)begin-end-check.out): Likewise.
24218         * Makerules (check-abi-%.out): Likewise.
24219         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24220         ($(objpfx)test2.cat): Likewise.
24221         ($(objpfx)de/libc.cat): Likewise.
24222         ($(objpfx)test-gencat.out): Likewise.
24223         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24224         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24225         ($(objpfx)noload-mem): Likewise.
24226         ($(objpfx)tst-pathopt.out): Likewise.
24227         ($(objpfx)tst-rtld-load-self.out): Likewise.
24228         ($(objpfx)tst-array1-cmp.out): Likewise.
24229         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24230         ($(objpfx)tst-array2-cmp.out): Likewise.
24231         ($(objpfx)tst-array3-cmp.out): Likewise.
24232         ($(objpfx)tst-array4-cmp.out): Likewise.
24233         ($(objpfx)tst-array5-cmp.out): Likewise.
24234         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24235         ($(objpfx)check-textrel.out): Likewise.
24236         ($(objpfx)check-execstack.out): Likewise.
24237         ($(objpfx)check-localplt.out): Likewise.
24238         ($(objpfx)order2-cmp.out): Likewise.
24239         ($(objpfx)tst-leaks1-mem): Likewise.
24240         ($(objpfx)tst-leaks1-static-mem): Likewise.
24241         ($(objpfx)tst-initorder-cmp.out): Likewise.
24242         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24243         ($(objpfx)tst-unused-dep.out): Likewise.
24244         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24245         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24246         * iconv/Makefile (test-iconvconfig): Likewise.
24247         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24248         ($(objpfx)iconv-test.out): Likewise.
24249         ($(objpfx)tst-tables.out): Likewise.
24250         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24251         ($(objpfx)tst-gettext.out): Likewise.
24252         ($(objpfx)tst-translit.out): Likewise.
24253         ($(objpfx)tst-gettext2.out): Likewise.
24254         ($(objpfx)tst-gettext4.out): Likewise.
24255         ($(objpfx)tst-gettext6.out): Likewise.
24256         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24257         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24258         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24259         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24260         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24261         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24262         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24263         ($(objpfx)wordexp-tst.out): Likewise.
24264         ($(objpfx)annexc.out): Likewise.
24265         ($(objpfx)tst-fnmatch-mem): Likewise.
24266         ($(objpfx)bug-regex2-mem): Likewise.
24267         ($(objpfx)bug-regex14-mem): Likewise.
24268         ($(objpfx)bug-regex21-mem): Likewise.
24269         ($(objpfx)bug-regex31-mem): Likewise.
24270         ($(objpfx)tst-vfork3-mem): Likewise.
24271         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24272         ($(objpfx)tst-pcre-mem): Likewise.
24273         ($(objpfx)tst-boost-mem): Likewise.
24274         ($(objpfx)tst-getconf.out): Likewise.
24275         ($(objpfx)bug-ga2-mem): Likewise.
24276         ($(objpfx)bug-glob2-mem): Likewise.
24277         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24278         ($(objpfx)mtrace-tst-leaks2): Likewise.
24279         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24280         ($(objpfx)tst-printf.out): Likewise.
24281         ($(objpfx)tst-setvbuf1.out): Likewise.
24282         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24283         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24284         ($(objpfx)tst-fmtmsg.out): Likewise.
24285         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24286         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24288         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24289         * bits/sigaction.h [__USE_MISC]: Likewise.
24290         * bits/waitstatus.h: Update #endif comments.
24291         * ctype/ctype.h: Likewise.
24292         * dirent/dirent.h: Likewise.
24293         [__USE_MISC]: Remove redundant conditionals.
24294         * grp/grp.h: Update #endif comments.
24295         [__USE_GNU]: Remove redundant conditionals.
24296         [__USE_MISC]: Likewise.
24297         * inet/netinet/in.h [__USE_GNU]: Likewise.
24298         * io/sys/stat.h [__USE_MISC]: Likewise.
24299         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24300         * libio/bits/stdio.h: Update #endif comments.
24301         [__USE_MISC]: Remove redundant conditionals.
24302         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24303         * libio/stdio.h: Update #endif comments.
24304         [__USE_MISC]: Remove redundant conditionals.
24305         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24306         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24307         * math/math.h: Update #else and #endif comments.
24308         [__USE_MISC]: Remove redundant conditionals.
24309         * misc/sys/uio.h: Update #endif comments.
24310         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24311         * posix/glob.h [__USE_MISC]: Likewise.
24312         * posix/sys/types.h: Update #endif comments.
24313         [__USE_MISC]: Remove redundant conditionals.
24314         * posix/sys/wait.h: Update #endif comments.
24315         [__USE_MISC]: Remove redundant conditionals.
24316         * posix/unistd.h: Update #endif comments.
24317         [__USE_MISC]: Remove redundant conditionals.
24318         * pwd/pwd.h [__USE_GNU]: Likewise.
24319         [__USE_MISC]: Likewise.
24320         * resolv/netdb.h [__USE_GNU]: Likewise.
24321         * signal/signal.h: Update #endif comments.
24322         [__USE_MISC]: Remove redundant conditionals.
24323         * stdlib/stdlib.h: Update #else and #endif comments.
24324         [__USE_MISC]: Remove redundant conditionals.
24325         [__USE_GNU]: Likewise.
24326         * string/bits/string2.h [__USE_MISC]: Likewise.
24327         * string/string.h: Update #endif comments.
24328         [__USE_MISC]: Remove redundant conditionals.
24329         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24330         Likewise.
24331         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24332         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24333         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24334         Likewise.
24335         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24336         Likewise.
24337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24338         comments.
24339         [__USE_MISC]: Remove redundant conditionals.
24340         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24341         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24342         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24343         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24344         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24345         Likewise.
24346         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24347         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24348         Likewise.
24349         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24350         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24351         Likewise.
24352         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24353         Likewise.
24354         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24355         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24356         Likewise.
24357         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24358         Likewise.
24359         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24360         * sysdeps/x86/bits/string.h: Update #endif comments.
24361         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24362         conditionals.
24363         * time/sys/time.h: Update #endif comments.
24364         * time/time.h: Likewise.
24365         [__USE_MISC]: Remove redundant conditionals.
24367 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24369         [BZ #16600]
24370         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24372 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24374         * Versions.def (librt): Add GLIBC_2.17.
24376 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24378         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24379         synonym for _SYS_AUXV_H to allow direct inclusion.
24380         * sysdeps/sparc/bits/hwcap.h: Likewise.
24381         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24382         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24383         * sysdeps/sparc/sysdep.h: Likewise.
24385 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24387         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24389 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24391         * benchtests/bench-strrchr.c: Print length instead of position.
24393 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24395         [BZ #16611]
24396         * sysdeps/unix/sysv/linux/kernel-features.h
24397         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24398         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24399         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24400         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24401         Likewise.
24402         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24403         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24404         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24405         (__ASSUME_SENDMMSG): Define instead of using previous
24406         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24408         (__ASSUME_SENDMMSG_SYSCALL): Define.
24409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24410         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24411         Likewise.
24412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24413         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24414         Likewise.
24415         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24417         Likewise.
24418         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24419         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24420         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24421         [__ASSUME_SENDMMSG]: Change conditionals to
24422         [__ASSUME_SENDMMSG_SOCKETCALL].
24423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24424         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24425         Define.
24426         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24427         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24428         Likewise.
24429         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24430         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24431         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24432         [!__ASSUME_SENDMMSG]: Change conditional to
24433         [!__ASSUME_SENDMMSG_SOCKETCALL].
24434         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24435         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24436         Define.
24438         [BZ #16610]
24439         * sysdeps/unix/sysv/linux/kernel-features.h
24440         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24441         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24442         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24443         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24444         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24445         [__i386__ || __sparc__]
24446         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24447         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24448         (__ASSUME_RECVMMSG): Define instead of using previous
24449         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24451         (__ASSUME_RECVMMSG_SYSCALL): Define.
24452         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24454         Likewise.
24455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24457         Likewise.
24458         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24460         Likewise.
24461         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24462         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24463         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24464         [__ASSUME_RECVMMSG]: Change condition to
24465         [__ASSUME_RECVMMSG_SOCKETCALL].
24466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24468         Define.
24469         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24470         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24472         Likewise.
24473         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24474         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24475         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24476         [!__ASSUME_RECVMMSG]: Change condition to
24477         [!__ASSUME_RECVMMSG_SOCKETCALL].
24478         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24479         (__ASSUME_RECVMMSG_SYSCALL): Define.
24481         [BZ #16609]
24482         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24483         __powerpc__ || __s390__ || __sh__ || __sparc__]
24484         (__ASSUME_SOCKETCALL): Define.
24485         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24486         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24487         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24488         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24489         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24490         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24491         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24492         (__ASSUME_ACCEPT4): Define instead of using previous
24493         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24494         __powerpc__ || __sparc__ || __s390__)] condition.
24495         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24496         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24497         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24498         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24499         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24500         [!__ASSUME_ACCEPT4]: Change condition to
24501         [!__ASSUME_ACCEPT4_SOCKETCALL].
24502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24503         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24504         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24506         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24507         __ASSUME_ACCEPT4_SYSCALL.
24508         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24509         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24510         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24511         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24512         __ASSUME_ACCEPT4_SYSCALL.
24513         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24514         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24515         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24516         [__ASSUME_ACCEPT4]: Change condition to
24517         [__ASSUME_ACCEPT4_SOCKETCALL].
24518         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24519         (__ASSUME_SOCKETCALL): Define.
24520         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24521         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24522         (__ASSUME_SOCKETCALL): Define.
24523         (__ASSUME_ACCEPT4): Remove.
24524         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24525         Define.
24526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24527         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24528         Likewise.
24529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24530         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24532         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24533         macro.
24534         (HWCAP_ARM_LPAE): Likewise.
24535         (HWCAP_ARM_EVTSTRM): Likewise.
24536         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24537         Add vpfd32, lpae and evtstrm.
24538         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24539         Increase to 22.
24541 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24543         * math/auto-libm-test-in: Add tests of clog10.
24544         * math/auto-libm-test-out: Regenerated.
24545         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24546         * sysdeps/i386/fpu/libm-test-ulps: Update.
24547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24549 2014-02-18  Andreas Schwab  <schwab@suse.de>
24551         [BZ #16574]
24552         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24553         Store non-zero if the second buffer was newly allocated.
24554         (send_dg): Likewise.
24555         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24556         to send_vc and send_dg.
24557         (res_nsend): Pass NULL for ansp2_malloced.
24558         * resolv/res_query.c (__libc_res_nquery): Add parameter
24559         answerp2_malloced and pass it down to __libc_res_nsend.
24560         (res_nquery): Pass additional NULL to __libc_res_nquery.
24561         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24562         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24563         second answer buffer if answerp2_malloced was set.
24564         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24565         (__libc_res_nquerydomain): Add parameter
24566         answerp2_malloced and pass it down to __libc_res_nquery.
24567         (res_nquerydomain): Pass additional NULL to
24568         __libc_res_nquerydomain.
24569         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24570         additional NULL to __libc_res_nsend and __libc_res_nquery.
24571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24572         additional NULL to __libc_res_nsearch.
24573         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24574         parameter of __libc_res_nsearch to check for separately allocated
24575         second buffer.
24576         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24577         __libc_res_nquery.
24578         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24579         additional NULL to __libc_res_nquery.
24580         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24581         __libc_res_nsearch.
24582         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24583         * include/resolv.h: Update prototypes of __libc_res_nquery,
24584         __libc_res_nsearch, __libc_res_nsend.
24586 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24588         * math/auto-libm-test-in: Add tests of fma.
24589         * math/auto-libm-test-out: Regenerated.
24590         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24591         (fma_towardzero_test_data): Likewise.
24592         (fma_downward_test_data): Likewise.
24593         (fma_upward_test_data): Likewise.
24594         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24595         mpc_mode.
24596         (rounding_modes): Add values for new field.
24597         (func_calc_method): Add value mpfr_fff_f.
24598         (func_calc_desc): Add mpfr_fff_f union field.
24599         (test_function): Add field exact_args.
24600         (FUNC): Add macro argument EXACT_ARGS.
24601         (FUNC_mpfr_f_f): Update call to FUNC.
24602         (FUNC_mpfr_f_f): Likewise.
24603         (FUNC_mpfr_ff_f): Likewise.
24604         (FUNC_mpfr_if_f): Likewise.
24605         (FUNC_mpc_c_f): Likewise.
24606         (FUNC_mpc_c_c): Likewise.
24607         (test_functions): Add fma.  Update calls to FUNC.
24608         (handle_input_arg): Add argument exact_args.
24609         (add_test): Update call to handle_input_arg.
24610         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24611         (output_for_one_input_case): Update call to calc_generic_results.
24612         Recalculate exact zero results in each rounding mode.
24614         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24615         non-negative before setting low bit.
24616         * math/auto-libm-test-in: Mark one asin test possibly having
24617         spurious underflow.
24618         * math/auto-libm-test-out: Regenerated.
24619         * sysdeps/i386/fpu/libm-test-ulps: Update.
24620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24622 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24624         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24625         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24626         ports/sysdeps/unix/sysv/linux/microblaze.
24627         * README: Add missing listing for microblaze*-*-linux-gnu.
24629 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24632         duplicate code
24634 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24636         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24637         * sysdeps/unix/sysv/linux/ia64: Move directory from
24638         ports/sysdeps/unix/sysv/linux/ia64.
24639         * README: Update listing for ia64-*-linux-gnu.
24641 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24642             Joseph Myers  <joseph@codesourcery.com>
24644         * Makeconfig (test-name): New variable.
24645         (evaluate-test): Likewise.
24646         * Makerules (do-test-clean): Remove .test-result files.
24647         (common-mostlyclean): Likewise.
24648         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24649         * scripts/evaluate-test.sh: New file.
24651 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24653         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24654         separate $(objpfx)tst-fopenloc-cmp.out and
24655         $(objpfx)tst-fopenloc-mem.out targets.
24656         (tests): Update dependencies.
24657         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24658         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24659         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24660         (tst-rxspencer-no-utf8-ARGS): New variable.
24661         (tst-rxspencer-no-utf8-ENV): Likewise.
24662         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24663         instead of $(objpfx)tst-rxspencer-mem.
24664         ($(objpfx)tst-rxspencer-mem): Change target to
24665         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24666         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24667         * posix/tst-rxspencer-no-utf8.c: New file.
24669         * elf/Makefile ($(objpfx)order.out): Remove rule.
24670         [$(run-built-tests) = yes] (tests): Depend on
24671         $(objpfx)order-cmp.out.
24672         ($(objpfx)order-cmp.out): New rule.
24673         [$(run-built-tests) = yes] (tests): Depend on
24674         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24675         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24676         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24677         $(objpfx)tst-array5-static-cmp.out.
24678         ($(objpfx)tst-array1.out): Remove rule.
24679         ($(objpfx)tst-array1-cmp.out): New rule.
24680         ($(objpfx)tst-array1-static.out): Remove rule.
24681         ($(objpfx)tst-array1-static-cmp.out): New rule.
24682         ($(objpfx)tst-array2.out): Remove rule.
24683         ($(objpfx)tst-array2-cmp.out): New rule.
24684         ($(objpfx)tst-array3.out): Remove rule.
24685         ($(objpfx)tst-array3-cmp.out): New rule.
24686         ($(objpfx)tst-array4.out): Remove rule.
24687         ($(objpfx)tst-array4-cmp.out): New rule.
24688         ($(objpfx)tst-array5.out): Remove rule.
24689         ($(objpfx)tst-array5-cmp.out): New rule.
24690         ($(objpfx)tst-array5-static.out): Remove rule.
24691         ($(objpfx)tst-array5-static-cmp.out): New rule.
24692         [$(run-built-tests) = yes] (tests): Depend on
24693         $(objpfx)order2-cmp.out.
24694         ($(objpfx)order2.out): Remove rule.
24695         ($(objpfx)order2-cmp.out): New rule.
24696         ($(objpfx)tst-initorder.out): Remove rule.
24697         [$(run-built-tests) = yes] (tests): Depend on
24698         $(objpfx)tst-initorder-cmp.out.
24699         ($(objpfx)tst-initorder-cmp.out): New rule.
24700         ($(objpfx)tst-initorder2.out): Remove rule.
24701         [$(run-built-tests) = yes] (tests): Depend on
24702         $(objpfx)tst-initorder2-cmp.out.
24703         ($(objpfx)tst-initorder2-cmp.out): New rule.
24704         [$(run-built-tests) = yes] (tests): Depend on
24705         $(objpfx)tst-unused-dep-cmp.out.
24706         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24707         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24708         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24709         on $(objpfx)tst-setvbuf1-cmp.out.
24710         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24711         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24712         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24713         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24714         ($(objpfx)tst-svc.out): Remove rule.
24715         ($(objpfx)tst-svc-cmp.out): New rule.
24717 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24719         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24720         * ctype/ctype.h [__USE_MISC]: Likewise.
24721         * dirent/dirent.h [__USE_MISC]: Likewise.
24722         * grp/grp.h [__USE_MISC]: Likewise.
24723         * io/fcntl.h [__USE_MISC]: Likewise.
24724         * io/sys/stat.h [__USE_MISC]: Likewise.
24725         * libio/stdio.h [__USE_MISC]: Likewise.
24726         * posix/unistd.h [__USE_MISC]: Likewise.
24727         * pwd/pwd.h [__USE_MISC]: Likewise.
24728         * stdlib.h [__USE_MISC]: Likewise.
24729         * string/bits/string2.h [__USE_MISC]: Likewise.
24730         * string/string.h [__USE_MISC]: Likewise.
24731         * time/time.h [__USE_MISC]: Likewise.
24733 2014-02-13  Andreas Schwab  <schwab@suse.de>
24735         [BZ #16574]
24736         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24737         second answer buffer if it was separately allocated.
24739 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24741         * sysdeps/mips/math-tests.h: Include <features.h>.
24742         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24743         (ROUNDING_TESTS_long_double): Do not define.
24744         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24745         (EXCEPTION_TESTS_long_double): Likewise.
24746         * sysdeps/mips/mips64/libm-test-ulps: Update.
24748         * include/features.h (__USE_BSD): Remove macro definitions.
24749         (__USE_SVID): Likewise.
24750         (_BSD_SOURCE): Likewise.
24751         (_SVID_SOURCE): Likewise.
24752         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24753         from definition of _DEFAULT_SOURCE.
24754         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24755         [_DEFAULT_SOURCE].
24756         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24757         * bits/mman.h [__USE_BSD]: Likewise.
24758         * bits/termios.h [__USE_BSD]: Likewise.
24759         * bits/waitstatus.h [__USE_BSD]: Likewise.
24760         * ctype/ctype.h [__USE_SVID]: Likewise.
24761         * dirent/dirent.h [__USE_BSD]: Likewise.
24762         * grp/grp.h [__USE_SVID]: Likewise.
24763         [__USE_BSD]: Likewise.
24764         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24765         * io/fcntl.h [__USE_BSD]: Likewise.
24766         * io/ftw.h [__USE_BSD]: Likewise.
24767         * io/sys/stat.h [__USE_BSD]: Likewise.
24768         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24769         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24770         * libio/stdio.h [__USE_SVID]: Likewise.
24771         [__USE_BSD]: Likewise.
24772         * math/math.h [__USE_SVID]: Likewise.
24773         [__USE_BSD]: Likewise.
24774         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24775         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24776         * misc/search.h [__USE_SVID]: Likewise.
24777         * misc/sys/mman.h [__USE_BSD]: Likewise.
24778         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24779         * misc/sys/uio.h [__USE_BSD]: Likewise.
24780         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24781         * posix/glob.h [__USE_BSD]: Likewise.
24782         * posix/regex.h [__USE_BSD]: Likewise.
24783         * posix/sys/types.h [__USE_BSD]: Likewise.
24784         [__USE_SVID]: Likewise.
24785         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24786         * posix/sys/wait.h [__USE_BSD]: Likewise.
24787         [__USE_SVID]: Likewise.
24788         * posix/unistd.h [__USE_BSD]: Likewise.
24789         [__USE_SVID]: Likewise.
24790         * pwd/pwd.h [__USE_SVID]: Likewise.
24791         * resolv/netdb.h [__USE_BSD]: Likewise.
24792         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24793         * signal/signal.h [__USE_BSD]: Likewise.
24794         [__USE_SVID]: Likewise.
24795         * socket/sys/socket.h [__USE_BSD]: Likewise.
24796         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24797         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24798         [__USE_SVID]: Likewise.
24799         * string/bits/string2.h [__USE_BSD]: Likewise.
24800         [__USE_SVID]: Likewise.
24801         * string/bits/string3.h [__USE_BSD]: Likewise.
24802         * string/endian.h [__USE_BSD]: Likewise.
24803         * string/string.h [__USE_SVID]: Likewise.
24804         [__USE_BSD]: Likewise.
24805         * string/strings.h [__USE_BSD]: Likewise.
24806         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24807         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24808         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24809         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24810         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24811         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24812         Likewise.
24813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24814         Likewise.
24815         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24816         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24817         Likewise.
24818         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24819         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24820         Likewise.
24821         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24822         Likewise.
24823         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24824         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24825         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24826         Likewise.
24827         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24828         Likewise.
24829         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24830         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24831         * termios/termios.h [__USE_BSD]: Likewise.
24832         * time/sys/time.h [__USE_BSD]: Likewise.
24833         * time/time.h [__USE_BSD]: Likewise.
24834         [__USE_SVID]: Likewise.
24836         * Makefile (subdir_targets): Remove subdir_lint.out.
24838         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24839         (do-tst-printf): Likewise.
24840         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24841         $(objpfx)tst-printf.out.
24843         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24845         * Makerules (check-abi-%): Change target to
24846         $(objpfx)check-abi-%.out.
24847         (check-abi target): Update dependencies.
24848         (check-abi-pattern variable): Redirect output of diff to $@.
24849         (check-abi variable): Likewise.
24850         * elf/Makefile (check-abi): Update dependencies.
24852         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24853         unused.
24854         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24855         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24856         subnormal range.
24857         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24858         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24859         value has largest subnormal exponent.
24860         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24861         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24862         * sysdeps/aarch64/soft-fp/sfp-machine.h
24863         (_FP_TININESS_AFTER_ROUNDING): New macro.
24864         * sysdeps/alpha/soft-fp/sfp-machine.h
24865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24866         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24867         Likewise.
24868         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24870         * sysdeps/mips/soft-fp/sfp-machine.h
24871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24872         * sysdeps/powerpc/soft-fp/sfp-machine.h
24873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24874         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24875         Likewise.
24876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24877         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24880         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24881         Likewise.
24883 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24885         [BZ #16545]
24886         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24887         model 1.
24889 2014-02-12  Richard Henderson  <rth@redhat.com>
24891         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24892         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24893         * sysdeps/unix/sysv/linux/alpha: Move directory from
24894         ports/sysdeps/unix/sysv/linux/alpha.
24895         * README: Update listing for alpha-*-linux-gnu.
24897 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24899         * include/features.h: Update comment documenting feature test
24900         macros.
24901         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24902         _DEFAULT_SOURCE.
24903         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24904         (_SVID_SOURCE): Likewise.
24905         (_DEFAULT_SOURCE): Update description of default features.
24906         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24907         with _GNU_SOURCE.
24908         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24909         (S_ISVTX): Likewise.
24910         * manual/math.texi (Mathematical Constants): Likewise.
24911         * manual/signal.texi (Interrupted Primitives): Likewise.
24912         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24913         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24914         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24915         Don't refer to _SVID_SOURCE in warning text.
24917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24919         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24920         already defined.
24921         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24922         * sysdeps/mips/dl-lookup.c: Remove.
24923         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24925 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24927         [BZ #16447]
24928         * math/auto-libm-test-in: Add testcase for expl.
24929         * math/auto-libm-test-out: Regenerate.
24930         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24931         calculation of unsafe.
24932         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24934 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24936         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24937         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24938         ports/sysdeps/unix/sysv/linux/aarch64.
24939         * README: Update listing for aarch64*-*-linux-gnu.
24941 2014-02-11  Will Newton  <will.newton@linaro.org>
24943         * manual/probes.texi (Mathematical Function Probes): Use
24944         "triggered" instead of "hit".
24946         * manual/probes.texi (Internal Probes): Add documentation
24947         of setjmp, longjmp and longjmp_target probes.
24949         * include/stap-probe.h: Add comment about probe argument
24950         format.
24952         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24953         definition.  (tr_where, tr_freehook, tr_mallochook,
24954         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24956 2014-02-11  David S. Miller  <davem@davemloft.net>
24958         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24959         processing int_tests.
24961 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24963         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24964         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24965         * sysdeps/unix/sysv/linux/mips: Move directory from
24966         ports/sysdeps/unix/sysv/linux/mips.
24967         * README: Update listing for mips-*-linux-gnu and
24968         mips64-*-linux-gnu.
24970 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24972         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24973         * sysdeps/unix/sysv/linux/m68k: Move directory from
24974         ports/sysdeps/unix/sysv/linux/m68k.
24975         * README: Update listing for m68k-*-linux-gnu.
24977 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24979         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24980         * sysdeps/unix/sysv/linux/generic: Move directory from
24981         ports/sysdeps/unix/sysv/linux/generic.
24982         * sysdeps/unix/sysv/linux/tile: Move directory from
24983         ports/sysdeps/unix/sysv/linux/tile.
24984         * README: Update listing for tile*-*-linux-gnu.
24986 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24988         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24989         __builtin_expect.
24990         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24991         * catgets/open_catalog.c (__open_catalog): Likewise.
24992         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24993         * debug/confstr_chk.c: Likewise.
24994         * debug/fread_chk.c (__fread_chk): Likewise.
24995         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24996         * debug/getgroups_chk.c: Likewise.
24997         * debug/mbsnrtowcs_chk.c: Likewise.
24998         * debug/mbsrtowcs_chk.c: Likewise.
24999         * debug/mbstowcs_chk.c: Likewise.
25000         * debug/memcpy_chk.c: Likewise.
25001         * debug/memmove_chk.c: Likewise.
25002         * debug/mempcpy_chk.c: Likewise.
25003         * debug/memset_chk.c: Likewise.
25004         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25005         * debug/strcat_chk.c (__strcat_chk): Likewise.
25006         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25007         * debug/strncat_chk.c (__strncat_chk): Likewise.
25008         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25009         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25010         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25011         * debug/wcpncpy_chk.c: Likewise.
25012         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25013         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25014         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25015         * debug/wcsncpy_chk.c: Likewise.
25016         * debug/wcsnrtombs_chk.c: Likewise.
25017         * debug/wcsrtombs_chk.c: Likewise.
25018         * debug/wcstombs_chk.c: Likewise.
25019         * debug/wmemcpy_chk.c: Likewise.
25020         * debug/wmemmove_chk.c: Likewise.
25021         * debug/wmempcpy_chk.c: Likewise.
25022         * debug/wmemset_chk.c: Likewise.
25023         * dirent/scandirat.c (SCANDIRAT): Likewise.
25024         * dlfcn/dladdr1.c (dladdr1): Likewise.
25025         * dlfcn/dladdr.c (dladdr): Likewise.
25026         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25027         * dlfcn/dlerror.c (__dlerror): Likewise.
25028         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25029         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25030         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25031         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25032         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25033         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25034         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25035         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25036         Likewise.
25037         * elf/dl-conflict.c: Likewise.
25038         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25039         * elf/dl-dst.h: Likewise.
25040         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25041         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25042         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25043         * elf/dl-init.c (call_init, _dl_init): Likewise.
25044         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25045         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25046         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25047         Likewise.
25048         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25049         Likewise.
25050         * elf/dl-minimal.c (__libc_memalign): Likewise.
25051         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25052         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25053         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25054         * elf/dl-sym.c (do_sym): Likewise.
25055         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25056         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25057         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25058         * elf/dl-writev.h (_dl_writev): Likewise.
25059         * elf/ldconfig.c (search_dir): Likewise.
25060         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25061         (dl_main): Likewise.
25062         * elf/setup-vdso.h (setup_vdso): Likewise.
25063         * grp/compat-initgroups.c (compat_call): Likewise.
25064         * grp/fgetgrent.c (fgetgrent): Likewise.
25065         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25066         * grp/putgrent.c (putgrent): Likewise.
25067         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25068         Likewise.
25069         * hurd/hurdinit.c: Likewise.
25070         * iconvdata/8bit-gap.c (struct): Likewise.
25071         * iconvdata/ansi_x3.110.c : Likewise.
25072         * iconvdata/big5.c : Likewise.
25073         * iconvdata/big5hkscs.c : Likewise.
25074         * iconvdata/cp1255.c: Likewise.
25075         * iconvdata/cp1258.c : Likewise.
25076         * iconvdata/cp932.c : Likewise.
25077         * iconvdata/euc-cn.c: Likewise.
25078         * iconvdata/euc-jisx0213.c : Likewise.
25079         * iconvdata/euc-jp.c: Likewise.
25080         * iconvdata/euc-jp-ms.c : Likewise.
25081         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25082         * iconvdata/gb18030.c : Likewise.
25083         * iconvdata/gbbig5.c (const): Likewise.
25084         * iconvdata/gbgbk.c: Likewise.
25085         * iconvdata/gbk.c : Likewise.
25086         * iconvdata/ibm1364.c : Likewise.
25087         * iconvdata/ibm930.c : Likewise.
25088         * iconvdata/ibm932.c: Likewise.
25089         * iconvdata/ibm933.c : Likewise.
25090         * iconvdata/ibm935.c : Likewise.
25091         * iconvdata/ibm937.c : Likewise.
25092         * iconvdata/ibm939.c : Likewise.
25093         * iconvdata/ibm943.c: Likewise.
25094         * iconvdata/iso_11548-1.c: Likewise.
25095         * iconvdata/iso-2022-cn.c : Likewise.
25096         * iconvdata/iso-2022-cn-ext.c : Likewise.
25097         * iconvdata/iso-2022-jp-3.c: Likewise.
25098         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25099         * iconvdata/iso-2022-kr.c : Likewise.
25100         * iconvdata/iso646.c (gconv_end): Likewise.
25101         * iconvdata/iso_6937-2.c : Likewise.
25102         * iconvdata/iso_6937.c : Likewise.
25103         * iconvdata/iso8859-1.c: Likewise.
25104         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25105         * iconvdata/shift_jisx0213.c : Likewise.
25106         * iconvdata/sjis.c : Likewise.
25107         * iconvdata/t.61.c : Likewise.
25108         * iconvdata/tcvn5712-1.c : Likewise.
25109         * iconvdata/tscii.c: Likewise.
25110         * iconvdata/uhc.c : Likewise.
25111         * iconvdata/unicode.c (gconv_end): Likewise.
25112         * iconvdata/utf-16.c (gconv_end): Likewise.
25113         * iconvdata/utf-32.c (gconv_end): Likewise.
25114         * iconvdata/utf-7.c (base64): Likewise.
25115         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25116         * iconv/gconv_close.c (__gconv_close): Likewise.
25117         * iconv/gconv_open.c (__gconv_open): Likewise.
25118         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25119         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25120         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25121         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25122         (ucs4le_internal_loop_single): Likewise.
25123         * iconv/iconv.c (iconv): Likewise.
25124         * iconv/iconv_close.c: Likewise.
25125         * iconv/loop.c (SINGLE): Likewise.
25126         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25127         * include/atomic.h: Likewise.
25128         * inet/inet6_option.c (option_alloc): Likewise.
25129         * intl/bindtextdom.c (set_binding_values): Likewise.
25130         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25131         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25132         * intl/localealias.c (read_alias_file): Likewise.
25133         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25134         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25135         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25136         * libio/fmemopen.c (fmemopen): Likewise.
25137         * libio/iofgets.c (_IO_fgets): Likewise.
25138         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25139         * libio/iofgetws.c (fgetws): Likewise.
25140         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25141         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25142         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25143         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25144         * locale/findlocale.c (_nl_find_locale): Likewise.
25145         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25146         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25147         Likewise.
25148         * locale/setlocale.c (setlocale): Likewise.
25149         * login/programs/pt_chown.c (main): Likewise.
25150         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25151         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25152         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25153         (mmap, mmap64, mremap, munmap): Likewise.
25154         * math/e_exp2l.c: Likewise.
25155         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25156         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25157         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25158         * math/s_catan.c (__catan): Likewise.
25159         * math/s_catanf.c (__catanf): Likewise.
25160         * math/s_catanh.c (__catanh): Likewise.
25161         * math/s_catanhf.c (__catanhf): Likewise.
25162         * math/s_catanhl.c (__catanhl): Likewise.
25163         * math/s_catanl.c (__catanl): Likewise.
25164         * math/s_ccosh.c (__ccosh): Likewise.
25165         * math/s_ccoshf.c (__ccoshf): Likewise.
25166         * math/s_ccoshl.c (__ccoshl): Likewise.
25167         * math/s_cexp.c (__cexp): Likewise.
25168         * math/s_cexpf.c (__cexpf): Likewise.
25169         * math/s_cexpl.c (__cexpl): Likewise.
25170         * math/s_clog10.c (__clog10): Likewise.
25171         * math/s_clog10f.c (__clog10f): Likewise.
25172         * math/s_clog10l.c (__clog10l): Likewise.
25173         * math/s_clog.c (__clog): Likewise.
25174         * math/s_clogf.c (__clogf): Likewise.
25175         * math/s_clogl.c (__clogl): Likewise.
25176         * math/s_csin.c (__csin): Likewise.
25177         * math/s_csinf.c (__csinf): Likewise.
25178         * math/s_csinh.c (__csinh): Likewise.
25179         * math/s_csinhf.c (__csinhf): Likewise.
25180         * math/s_csinhl.c (__csinhl): Likewise.
25181         * math/s_csinl.c (__csinl): Likewise.
25182         * math/s_csqrt.c (__csqrt): Likewise.
25183         * math/s_csqrtf.c (__csqrtf): Likewise.
25184         * math/s_csqrtl.c (__csqrtl): Likewise.
25185         * math/s_ctan.c (__ctan): Likewise.
25186         * math/s_ctanf.c (__ctanf): Likewise.
25187         * math/s_ctanh.c (__ctanh): Likewise.
25188         * math/s_ctanhf.c (__ctanhf): Likewise.
25189         * math/s_ctanhl.c (__ctanhl): Likewise.
25190         * math/s_ctanl.c (__ctanl): Likewise.
25191         * math/w_pow.c: Likewise.
25192         * math/w_powf.c: Likewise.
25193         * math/w_powl.c: Likewise.
25194         * math/w_scalb.c (sysv_scalb): Likewise.
25195         * math/w_scalbf.c (sysv_scalbf): Likewise.
25196         * math/w_scalbl.c (sysv_scalbl): Likewise.
25197         * misc/error.c (error_tail): Likewise.
25198         * misc/pselect.c (__pselect): Likewise.
25199         * nis/nis_callback.c (__nis_create_callback): Likewise.
25200         * nis/nis_call.c (__nisfind_server): Likewise.
25201         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25202         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25203         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25204         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25205         * nis/nis_lookup.c (nis_lookup): Likewise.
25206         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25207         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25208         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25209         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25210         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25211         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25212         * nis/nss_compat/compat-initgroups.c (add_group)
25213         (internal_getgrent_r): Likewise.
25214         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25215         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25216         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25217         (internal_getspnam_r): Likewise.
25218         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25219         (_nss_nis_getaliasbyname_r): Likewise.
25220         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25221         (_nss_nis_getntohost_r): Likewise.
25222         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25223         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25224         (_nss_nis_getgrgid_r): Likewise.
25225         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25226         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25227         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25228         (_nss_nis_gethostbyname4_r): Likewise.
25229         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25230         (initgroups_netid): Likewise.
25231         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25232         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25233         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25234         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25235         (_nss_nis_getprotobynumber_r): Likewise.
25236         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25237         (_nss_nis_getsecretkey): Likewise.
25238         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25239         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25240         (_nss_nis_getpwuid_r): Likewise.
25241         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25242         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25243         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25244         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25245         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25246         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25247         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25248         Likewise.
25249         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25250         (_nss_nisplus_getntohost_r): Likewise.
25251         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25252         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25253         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25254         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25255         Likewise.
25256         * nis/nss_nisplus/nisplus-initgroups.c
25257         (_nss_nisplus_initgroups_dyn): Likewise.
25258         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25259         (_nss_nisplus_getnetbyaddr_r): Likewise.
25260         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25261         (_nss_nisplus_getprotobynumber_r): Likewise.
25262         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25263         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25264         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25265         Likewise.
25266         * nis/nss_nisplus/nisplus-service.c
25267         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25268         (_nss_nisplus_getservbyport_r): Likewise.
25269         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25270         (_nss_nisplus_getspnam_r): Likewise.
25271         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25272         Likewise.
25273         * nscd/aicache.c (addhstaiX): Likewise.
25274         * nscd/cache.c (cache_search, prune_cache): Likewise.
25275         * nscd/connections.c (register_traced_file, send_ro_fd)
25276         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25277         (main_loop_epoll): Likewise.
25278         * nscd/grpcache.c (addgrbyX): Likewise.
25279         * nscd/hstcache.c (addhstbyX): Likewise.
25280         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25281         * nscd/mem.c (gc, mempool_alloc): Likewise.
25282         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25283         (addinnetgrX): Likewise.
25284         * nscd/nscd-client.h (__nscd_acquire_maplock)
25285         (__nscd_drop_map_ref): Likewise.
25286         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25287         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25288         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25289         Likewise.
25290         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25291         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25292         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25293         (__nscd_get_map_ref): Likewise.
25294         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25295         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25296         Likewise.
25297         * nscd/pwdcache.c (addpwbyX): Likewise.
25298         * nscd/selinux.c (preserve_capabilities): Likewise.
25299         * nscd/servicescache.c (addservbyX): Likewise.
25300         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25301         * posix/fnmatch.c (fnmatch): Likewise.
25302         * posix/getopt.c (_getopt_internal_r): Likewise.
25303         * posix/glob.c (glob, glob_in_dir): Likewise.
25304         * posix/wordexp.c (exec_comm_child): Likewise.
25305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25306         (getanswer_r, gaih_getanswer_slice): Likewise.
25307         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25308         * resolv/res_init.c: Likewise.
25309         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25310         * resolv/res_query.c (__libc_res_nquery): Likewise.
25311         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25312         Likewise.
25313         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25314         * stdio-common/perror.c (perror): Likewise.
25315         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25316         * stdio-common/tmpnam.c (tmpnam): Likewise.
25317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25318         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25319         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25320         Likewise.
25321         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25322         * stdlib/putenv.c (putenv): Likewise.
25323         * stdlib/setenv.c (__add_to_environ): Likewise.
25324         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25325         * stdlib/strtol_l.c (INTERNAL): Likewise.
25326         * string/memmem.c (memmem): Likewise.
25327         * string/strerror.c (strerror): Likewise.
25328         * string/strnlen.c (__strnlen): Likewise.
25329         * string/test-memmem.c (simple_memmem): Likewise.
25330         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25331         * sunrpc/pm_getport.c (__get_socket): Likewise.
25332         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25333         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25334         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25335         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25336         Likewise.
25337         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25338         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25339         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25340         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25341         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25342         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25343         Likewise.
25344         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25345         Likewise.
25346         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25347         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25348         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25349         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25350         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25352         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25353         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25354         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25355         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25356         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25357         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25358         Likewise.
25359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25360         Likewise.
25361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25362         Likewise.
25363         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25367         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25368         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25369         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25373         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25375         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25376         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25378         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25379         Likewise.
25380         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25381         Likewise.
25382         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25383         Likewise.
25384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25385         Likewise.
25386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25388         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25389         Likewise.
25390         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25391         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25392         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25393         * sysdeps/posix/sleep.c: Likewise.
25394         * sysdeps/posix/tempname.c: Likewise.
25395         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25396         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25397         Likewise.
25398         * sysdeps/powerpc/powerpc32/dl-machine.h
25399         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25400         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25402         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25403         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25404         Likewise.
25405         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25407         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25409         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25410         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25411         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25412         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25413         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25414         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25416         (elf_machine_lazy_rel): Likewise.
25417         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25419         (elf_machine_lazy_rel): Likewise.
25420         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25421         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25422         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25423         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25424         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25425         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25426         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25428         Likewise.
25429         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25430         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25431         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25432         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25433         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25434         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25435         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25436         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25437         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25438         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25439         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25440         Likewise.
25441         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25442         (__posix_fallocate64_l64): Likewise.
25443         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25444         (posix_fallocate): Likewise.
25445         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25446         Likewise.
25447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25448         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25449         (getifaddrs_internal): Likewise.
25450         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25451         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25452         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25453         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25454         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25455         (__posix_fallocate64_l64): Likewise.
25456         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25457         Likewise.
25458         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25459         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25460         (__get_clockfreq): Likewise.
25461         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25462         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25463         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25466         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25467         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25468         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25469         Likewise.
25470         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25471         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25472         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25473         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25474         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25475         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25476         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25477         Likewise.
25478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25479         (posix_fallocate): Likewise.
25480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25481         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25482         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25483         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25484         (elf_machine_rela, elf_machine_rela_relative)
25485         (elf_machine_lazy_rel): Likewise.
25486         * time/asctime.c (asctime_internal): Likewise.
25487         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25488         * time/tzset.c (__tzset_parse_tz): Likewise.
25489         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25490         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25491         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25492         * wcsmbs/wcsmbsload.h: Likewise.
25494         [BZ #15894]
25495         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25497         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25498         (arena_get2): Remove THREAD_STATS conditionals.
25499         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25500         (__malloc_stats, int): Likewise.
25502 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25504         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25505         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25507         * manual/setjmp.texi: Fix typos/grammar errors.
25509         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25510         Only return early when n is <= 0.  Delete unused return statement.
25512         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25513         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25514         * debug/tst-longjmp_chk3.c: New file.
25516         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25517         (test_main): Replace code with set_fortify_handler call.
25518         * debug/test-strcpy_chk.c: Likewise.
25519         * debug/tst-chk1.c: Likewise.
25520         * debug/tst-longjmp_chk.c: Likewise.
25521         * test-skeleton.c: Include fcntl.h & paths.h
25522         (set_fortify_handler): Define.
25524         * debug/tst-longjmp_chk.c: Add header comment and include
25525         ../test-skeleton.c.
25526         (do_test): Mark static.
25527         (TEST_FUNCTION): Define.
25529         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25530         (IP_PMTUDISC_INTERFACE): Likewise.
25531         (IP_MULTICAST_IF): Likewise.
25532         (IP_MULTICAST_TTL): Likewise.
25533         (IP_MULTICAST_LOOP): Likewise.
25534         (IP_ADD_MEMBERSHIP): Likewise.
25535         (IP_DROP_MEMBERSHIP): Likewise.
25536         (IP_UNBLOCK_SOURCE): Likewise.
25537         (IP_BLOCK_SOURCE): Likewise.
25538         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25539         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25540         (IP_MSFILTER): Likewise.
25541         (MCAST_JOIN_GROUP): Likewise.
25542         (MCAST_BLOCK_SOURCE): Likewise.
25543         (MCAST_UNBLOCK_SOURCE): Likewise.
25544         (MCAST_LEAVE_GROUP): Likewise.
25545         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25546         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25547         (MCAST_MSFILTER): Likewise.
25548         (IP_MULTICAST_ALL): Likewise.
25549         (IP_UNICAST_IF): Likewise.
25551         * timezone/Makefile: Delete $(have-ksh) check.
25552         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25553         * timezone/tzselect.ksh: Add +x mode bits.
25555         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25556         (ANON_INODE_FS_MAGIC): Likewise.
25557         (BDEVFS_MAGIC): Likewise.
25558         (BINFMTFS_MAGIC): Likewise.
25559         (BTRFS_TEST_MAGIC): Likewise.
25560         (CRAMFS_MAGIC_WEND): Likewise.
25561         (DEBUGFS_MAGIC): Likewise.
25562         (ECRYPTFS_SUPER_MAGIC): Likewise.
25563         (EXT3_SUPER_MAGIC): Likewise.
25564         (EXT4_SUPER_MAGIC): Likewise.
25565         (FUTEXFS_SUPER_MAGIC): Likewise.
25566         (HOSTFS_SUPER_MAGIC): Likewise.
25567         (HUGETLBFS_MAGIC): Likewise.
25568         (MINIX3_SUPER_MAGIC): Likewise.
25569         (MTD_INODE_FS_MAGIC): Likewise.
25570         (NILFS_SUPER_MAGIC): Likewise.
25571         (OPENPROM_SUPER_MAGIC): Likewise.
25572         (PIPEFS_MAGIC): Likewise.
25573         (PSTOREFS_MAGIC): Likewise.
25574         (QNX6_SUPER_MAGIC): Likewise.
25575         (RAMFS_MAGIC): Likewise.
25576         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25577         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25578         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25579         (SECURITYFS_MAGIC): Likewise.
25580         (SELINUX_MAGIC): Likewise.
25581         (SMACK_MAGIC): Likewise.
25582         (SOCKFS_MAGIC): Likewise.
25583         (SQUASHFS_MAGIC): Likewise.
25584         (STACK_END_MAGIC): Likewise.
25585         (TMPFS_MAGIC): Likewise.
25586         (USBDEVICE_SUPER_MAGIC): Likewise.
25587         (V9FS_MAGIC): Likewise.
25588         (XENFS_SUPER_MAGIC): Likewise.
25589         (CRAMFS_MAGIC): Fix typo in comment.
25590         (EXT2_SUPER_MAGIC): Update comment.
25591         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25593 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25595         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25596         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25597         * sysdeps/unix/sysv/linux/arm: Move directory from
25598         ports/sysdeps/unix/sysv/linux/arm.
25599         * README: Update listing for arm-*-linux-gnueabi.
25601         * README: Remove mention of am33.
25603 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25605         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25606         than the comma operator, to avoid "rhs of comma has no effect"
25607         compiler warnings.
25608         (__sigfillset, __sigandset, __sigorset): Likewise.
25609         * include/signal.h (__sigemptyset): Likewise.
25610         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25612 2014-02-07  Allan McRae  <allan@archlinux.org>
25614         * version.h (RELEASE): Set to "development".
25615         (VERSION): Set to "2.19.90"
25616         * NEWS: Add 2.20 section.
25618 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25620         [BZ #16529]
25621         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25623 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25625         * manual/contrib.texi: Update entry for Carlos O'Donell,
25626         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25628 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25630         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25632         * sysdeps/unix/sysv/linux/kernel-features.h
25633         [__LINUX_KERNEL_VERSION >= 0x020621]
25634         (__ASSUME_PROC_PID_TASK_COMM): Define.
25636 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25638         [BZ #16398]
25639         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25640         conversion when destination buffer does not have enough space.
25641         * libio/tst-ftell-partial-wide.c: New test case.
25642         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25644         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25645         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25646         Leonard and Allan McRae.
25648 2014-02-04  David S. Miller  <davem@davemloft.net>
25650         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25651         32-bit.
25653 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25656         New file
25657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25658         New file
25659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25660         New file.
25661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25662         New file.
25663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25664         New file.
25665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25666         New file.
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25668         New file.
25669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25670         New file.
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25672         New file.
25673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25674         New file.
25675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25676         New file.
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25678         New file.
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25680         New file.
25682 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25684         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25685         * shlib-versions: Likewise.
25687 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25690         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25691         (abilist-pattern): New variable, set to %-le.abilist.
25693         * Makerules (abilist-pattern): New variable.
25694         (vpath): Use $(abilist-pattern) in place of %.abilist.
25695         (check-abi-% pattern rule): Likewise.
25696         (check-abi, update-abi): Likewise.
25698 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25702 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25704         * manual/startup.texi: Add next, previous, and top entries for
25705         the `Program Arguments' and `Environment Variables' nodes.
25707 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25709         * manual/macros.texi: Add comments before MTASC-safety macros.
25711         * manual/users.texi: Document MTASC-safety properties.
25713         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25714         (pthread_getspecific, pthread_setspecific): Format with
25715         @deftypefun, and add @safety note.
25716         * manual/signal.texi: Move comments that analyze the above
25717         functions to their home place.
25719 2014-02-03  Allan McRae  <allan@archlinux.org>
25721         * po/sl.po: Update Slovenian translation from translation project.
25723 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25725         * manual/time.texi (timegm): Add missing blank after @c.
25726         Reported by Joseph Myers <joseph@codesourcery.com>.
25728 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25730         * manual/check-safety.sh: New.
25731         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25733         * manual/terminal.texi: Document MTASC-safety properties.
25735         * manual/filesys.texi: Document MTASC-safety properties.
25737         * manual/errno.texi: Document MTASC-safety properties.
25739         * manual/intro.texi: Document safety identifiers and
25740         conditionals.
25742         * manual/string.texi (wcstok): Fix prototype.
25743         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25745         * manual/time.texi: Document MTASC-safety properties.
25747         * manual/string.texi: Document MTASC-safety properties.
25749         * manual/threads.texi: Document MTASC-safety properties.
25751         * manual/stdio.texi: Document MTASC-safety properties.
25753         * manual/syslog.texi: Document MTASC-safety properties.
25755         * manual/sysinfo.texi: Document MTASC-safety properties.
25757         * manual/startup.texi: Document MTASC-safety properties.
25759         * manual/socket.texi: Document MTASC-safety properties.
25761         * manual/signal.texi: Document MTASC-safety properties.
25763 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25765         * manual/setjmp.texi: Document MTASC-safety properties.
25767         * manual/search.texi: Document MTASC-safety properties.
25769         * manual/resource.texi: Document MTASC-safety properties.
25771         * manual/process.texi: Document MTASC-safety properties.
25773         * manual/platform.texi: Document MTASC-safety properties.
25775         * manual/pipe.texi: Document MTASC-safety properties.
25777         * manual/pattern.texi: Document MTASC-safety properties.
25779         * manual/message.texi: Document MTASC-safety properties.
25781         [BZ #12751]
25782         * manual/memory.texi: Document MTASC-safety properties.
25784         * manual/math.texi: Document MTASC-safety properties.
25786         * manual/locale.texi: Document MTASC-safety properties.
25788         * manual/llio.texi: Document MTASC-safety properties.
25790         * manual/libdl.texi: New.
25792         * manual/lang.texi: Document MTASC-safety properties.
25794         * manual/job.texi: Document MTASC-safety properties.
25796         * manual/getopt.texi: Document MTASC-safety properties.
25798         * manual/ctype.texi: Document MTASC-safety properties.
25800 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25802         [BZ #16046]
25803         * csu/libc-tls.c (static_map): Remove variable.
25804         (__libc_setup_tls): Use main executable's link map for TLS data.
25805         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25806         casing for LM_ID_BASE and GL(dl_nns).
25807         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25808         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25809         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25810         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25811         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25812         member.
25813         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25814         l_phnum members.
25816 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25818         * manual/debug.texi: Document MTASC-safety properties.
25820 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25822         [BZ #16510]
25823         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25824         of __x86_64__ when disabling x87 inline functions.
25826 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25828         * manual/charset.texi: Document MTASC-safety properties.
25830         * manual/crypt.texi: Document MTASC-safety properties.
25832         * manual/conf.texi: Document MTASC-safety properties.
25834         * manual/arith.texi: Document MTASC-safety properties.
25836         * manual/argp.texi: Document MTASC-safety properties.
25838         * manual/macros.texi: Introduce macros to document multi
25839         thread, asynchronous signal and asynchronous cancellation
25840         safety properties.
25841         * manual/intro.texi: Introduce the properties themselves.
25843 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25845         * sysdeps/sh/sh4/Makefile: New file.
25847 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25849         * math/gen-libm-test.pl ($srcdir): New variable.
25850         ($auto_input): Use it.
25852 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25854         [BZ #16506]
25855         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25856         access beyond array bounds when parsing netgroups file.
25858         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25859         the old buffer before realloc.
25861 2014-01-27  Allan McRae  <allan@archlinux.org>
25863         * po/fr.po: Update French translation from translation project.
25865 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25867         * sysdeps/sh/libm-test-ulps: Regenerate.
25869 2014-01-24  David S. Miller  <davem@davemloft.net>
25871         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25873 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25875         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25876         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25878 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25880         [BZ #16474]
25881         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25882         string pointers after reallocation.
25884 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25886         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25887         __SH4A__ instead of __SH_FPU_ANY__.
25889 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25891         * sysdeps/sh/fpu_control.h: New file.
25892         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25893         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25894         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25895         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25896         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25897         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25898         * sysdeps/sh/sys/ucontext.h: Remove.
25899         * sysdeps/sh/sys: Remove directory.
25901 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25903         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25904         s390/sys/ucontext.h.
25905         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25906         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25908 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25910         [BZ #15605]
25911         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25913 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25915         [BZ#16431]
25916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25917         Adjust the vDSO correctly for internal calls.
25918         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25920 2014-01-20  Allan McRae  <allan@archlinux.org>
25922         * po/ca.po: Update Catalan translation from translation project.
25924 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25926         * sysdeps/s390/sotruss-lib.c: New file.
25928 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25930         [BZ#16430]
25931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25932         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25933         local calls issues by not having a PLT stub required for IFUNC calls.
25934         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25936 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25938         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25939         * math/test-fpucw-static.c: Likewise.
25941 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25943         [BZ #16453]
25944         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25946 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25948         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25949         implementation for powerpc.
25951 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25953         [BZ #14782]
25954         * sysdeps/posix/system.c (__libc_system): Do not enable
25955         asynchronous cancellation.
25957 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25959         [BZ #16427]
25960         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25961         handling only for numbers special also in the IEEE case.
25963 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25967 2014-01-11  Allan McRae  <allan@archlinux.org>
25969         * po/bg.po: Update Bulgarian translation from translation project.
25971         * po/de.po: Update German translation from translation project.
25973 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25975         * sysdeps/generic/gcc-compat.h: New file.
25977 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25979         * benchtests/asin-inputs: Correct slow inputs.
25980         * benchtests/acos-inputs: Likewise.
25982 2014-01-10  Allan McRae  <allan@archlinux.org>
25984         * po:sv.po: Update Swedish translation from translation project.
25986         * po/vi.po: Update Vietnamese translation from translation project.
25988         * po/eo.po: Update Esperanto translation from translation project.
25990         * po/cs.po: Update Czech translation from translation project.
25992         * po/nl.po: Update Dutch translation from translation project.
25994         * po/pl.po: Update Polish translation from translation project.
25996         * po/ru.po: Update Russian translation from translation project.
25998         * po/uk.po: Update Ukrainian translation from translation project.
26000 2014-01-08  Brooks Moses  <bmoses@google.com>
26002         * elf/dl-load.c: Fix comment typo.
26004 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26006         * po/header.pot: Rename to...
26007         * po/pot.header: ... this.
26008         * po/Makefile: Use pot.header.
26010 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26011             Maxim Kuvyrkov  <maxim@kugelworks.com>
26013         [BZ #16394]
26014         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26015         SRC and DEST against LEN.
26017 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26019         [BZ #16414]
26020         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26021         implementation.
26022         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26024 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26028 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26030         [BZ #16408]
26031         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26032         for large positive arguments.
26034 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26038         * math/auto-libm-test-in: Mark various tests with
26039         xfail-rounding:ldbl-128ibm.
26040         * math/auto-libm-test-out: Regenerated.
26042         [BZ #16407]
26043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26044         Increase overflow threshold.
26046 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26048         [BZ #14286]
26049         * stdio-common/vfprintf.c: Check for integer overflow.
26051 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26053         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26054         the first argument and return value of __tls_get_addr_internal.
26056 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26058         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26059         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26061 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26063         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26064         * sysdeps/s390/rtld-global-offsets.sym: New file.
26065         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26066         GLIBC_2.19 symbol.
26067         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26068         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26069         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26070         ... this.
26071         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26072         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26073         ... this.
26074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26075         Regenerate.
26076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26077         Regenerate.
26078         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26079         halfs of GPRs for high_gprs contexts.
26080         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26081         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26082         field.
26083         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26084         uc_flags field.
26085         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26086         64 bit versions:
26087         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26088         for high GPRs (uc_high_gprs) and for future extensions
26089         (__reserved).
26090         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26091         for future extensions (__reserved).
26092         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26093         64 bit versions:
26094         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26095         SC_HIGHGPRS offset definition.
26096         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26097         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26099         * Versions.def: Add GLIBC_2.19 for libpthread.
26100         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26101         siglongjmp for libpthread with GLIBC_2.19 symver.
26102         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26103         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26104         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26105         * sysdeps/s390/__longjmp.c: New file.
26106         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26107         * sysdeps/s390/longjmp.c: New file.
26108         * sysdeps/s390/setjmp.S: New file.
26109         * sysdeps/s390/sigjmp.S: New file.
26110         * sysdeps/s390/v1-longjmp.c: New file.
26111         * sysdeps/s390/v1-setjmp.h: New file.
26112         * sysdeps/s390/v1-sigjmp.c: New file.
26113         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26114         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26115         GLIBC_2.19 version.
26116         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26117         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26118         versioned symbols for ____longjmp_chk.
26119         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26120         Likewise.
26121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26122         Regenerate.
26123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26124         Regenerate.
26125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26126         Regenerate.
26127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26128         Regenerate.
26129         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26130         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26131         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26132         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26133         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26134         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26135         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26136         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26137         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26138         * sysdeps/s390/rtld-__longjmp.c: New file.
26139         * sysdeps/s390/rtld-setjmp.S: New file.
26141 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26143         [BZ #16400]
26144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26145         Return -__logl (x) for small positive arguments without evaluating
26146         a polynomial.
26148 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26150         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26151         Rename to ...
26152         (__ptrace_peeksiginfo_args): ... this.
26153         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26155         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26157 2014-01-06  Allan McRae  <allan@archlinux.org>
26159         * inet/netinet/in.h: Fix typo in comment.
26161 2014-01-05  Andreas Jaeger  <aj@suse.de>
26163         * sysdeps/i386/fpu/libm-test-ulps: Update.
26165 2014-01-05  Allan McRae  <allan@archlinux.org>
26167         * po/libc.pot: Regenerated.
26169         * malloc/memusagestat.c: Fix gettext call formatting.
26171 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26173         * nscd/nscd.c: Improve usage() output.
26175 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26177         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26178         * sysdeps/unix/sysv/linux/configure: Regenerated.
26179         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26180         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26182 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26184         [BZ #16390]
26185         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26186         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26188 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26191         extra tokens at end of #undef directive.
26192         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26193         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26194         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26196 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26198         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26200         * math/auto-libm-test-in: Mark various tests with
26201         xfail-rounding:ldbl-128ibm.
26202         * math/auto-libm-test-out: Regenerated.
26204 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26206         [BZ #16386]
26207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26208         numbers with subnormal high part when calculating exponent.
26210         [BZ #16385]
26211         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26212         fabs.
26214         [BZ #16384]
26215         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26216         M_LN2l.
26217         (__ieee754_acoshl): Use __log1pl not __log1p.
26219 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26221         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26222         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26223         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26224         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26225         (reused_arena, arena_get2): Convert to GNU style.
26226         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26227         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26228         (memalign_check, __malloc_set_state): Likewise.
26229         * malloc/mallocbug.c (main): Likewise.
26230         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26231         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26232         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26233         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26234         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26235         (__posix_memalign, malloc_info): Likewise.
26236         * malloc/malloc.h: Likewise.
26237         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26238         (mallochook, memalignhook, reallochook, mabort): Likewise.
26239         * malloc/mcheck.h: Likewise.
26240         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26241         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26242         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26243         * malloc/morecore.c (__default_morecore): Likewise.
26244         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26245         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26246         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26247         (print_and_abort): Likewise.
26248         * malloc/obstack.h: Likewise.
26249         * malloc/set-freeres.c (__libc_freeres): Likewise.
26250         * malloc/tst-mallocstate.c (main): Likewise.
26251         * malloc/tst-mtrace.c (main): Likewise.
26252         * malloc/tst-realloc.c (do_test): Likewise.
26254 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26256         [BZ #16366]
26257         * nscd/netgroupcache.c (do_notfound): New function.
26258         (addgetnetgrentX): Use it.
26260         [BZ # 16365]
26261         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26262         NSS_STATUS_NOTFOUND.
26264 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26266         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26269 2014-01-01  Allan McRae  <allan@archlinux.org>
26271         * scripts/update-copyrights: Update configure input file suffix.
26273         * NEWS: Update copyright year.
26274         * catgets/gencat.c: Likewise.
26275         * csu/version.c: Likewise.
26276         * debug/catchsegv.sh: Likewise.
26277         * debug/pcprofiledump.c: Likewise.
26278         * debug/xtrace.sh: Likewise.
26279         * elf/ldconfig.c: Likewise.
26280         * elf/ldd.bash.in: Likewise.
26281         * elf/pldd.c: Likewise.
26282         * elf/sotruss.ksh: Likewise.
26283         * elf/sprof.c: Likewise.
26284         * iconv/iconv_prog.c: Likewise.
26285         * iconv/iconvconfig.c: Likewise.
26286         * locale/programs/locale.c: Likewise.
26287         * locale/programs/localedef.c: Likewise.
26288         * login/programs/pt_chown.c: Likewise.
26289         * malloc/memusage.sh: Likewise.
26290         * malloc/memusagestat.c: Likewise.
26291         * malloc/mtrace.pl: Likewise.
26292         * manual/libc.texinfo: Likewise.
26293         * nscd/nscd.c: Likewise.
26294         * nss/getent.c: Likewise.
26295         * nss/makedb.c: Likewise.
26296         * posix/getconf.c: Likewise.
26297         * scripts/test-installation.pl: Likewise.
26299         * All files with FSF copyright notices: Update copyright dates
26300         using scripts/update-copyrights.
26301         * intl/plural.c: Regenerated.
26302         * locale/programs/charmap-kw.h: Likewise.
26303         * locale/programs/locfile-kw.h: Likewise.
26305 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26307         * sysdeps/unix/sysv/linux/configure: Regenerated.
26308         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26309         the linux/fanotify.h header.
26310         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26311         HAVE_LINUX_FANOTIFY_H is defined.
26313 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26315         * benchtests/cos-inputs: New inputs.
26316         * benchtests/sin-inputs: Likewise.
26318         * benchtests/atan-inputs: New inputs. Fix name of multiple
26319         precision fallback inputs.
26321         * benchtests/atanh-inputs: New inputs.
26322         * benchtests/tanh-inputs: Likewise.
26324         * benchtests/acosh-inputs: New inputs.
26325         * benchtests/asinh-inputs: Likewise.
26327         * benchtests/cosh-inputs: New inputs.
26328         * benchtests/sinh-inputs: Likewise.
26330         * benchtests/acos-inputs: Add more inputs.
26331         * benchtests/asin-inputs: Likewise.
26333 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26335         [BZ #16375]
26336         * manual/arith.texi: Fix spelling.
26337         * manual/charset.texi: Likewise.
26338         * manual/errno.texi: Likewise.
26339         * manual/filesys.texi: Likewise.
26340         * manual/lang.texi: Likewise.
26341         * manual/llio.texi: Likewise.
26342         * manual/locale.texi: Likewise.
26343         * manual/message.texi: Likewise.
26344         * manual/resource.texi: Likewise.
26345         * manual/search.texi: Likewise.
26346         * manual/setjmp.texi: Likewise.
26347         * manual/stdio.texi: Likewise.
26348         * manual/string.texi: Likewise.
26349         * manual/sysinfo.texi: Likewise.
26350         * manual/time.texi: Likewise.
26352 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26354         * po/sl.po: New file.
26356 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26358         * .gitignore: Add core/.gdbinit/.gdb_history.
26360 2013-12-27  Allan McRae  <allan@archlinux.org>
26362         [BZ #16369]
26363         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26364         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26366 2013-12-24  Brooks Moses  <bmoses@google.com>
26368         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26369         all compilers that claim C++98 compliance, not just GCC.
26370         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26371         Likewise.
26373 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26375         * NEWS: Restore accidentally deleted bug-fix entries.
26377 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26378             Ondřej Bílka  <neleai@seznam.cz>
26380         [BZ #15073]
26381         * malloc/malloc.c (_int_free): Perform sanity check only if we
26382         have_lock.
26384 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26386         [BZ #12986]
26387         * manual/stdio.texi (String Input Conversions): Clarify that character
26388         classes are not supported.
26390 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26394 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26396         [BZ #16337]
26397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26398         Calculate results for small negative arguments directly rather
26399         than using reflection formula with special underflow handling.
26401         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26402         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26403         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26404         (fchflags): Likewise.
26405         (revoke): Likewise.
26406         (setlogin): Likewise.
26407         (sigaltstack): Likewise.
26408         (wait4): Likewise.
26409         (sigblock): Remove.
26410         (sigsetmask): Likewise.
26411         (wait3): Likewise.
26412         (waitpid): Likewise.
26413         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26414         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26415         file.
26416         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26417         * sysdeps/unix/bsd/Makefile: ... here.
26418         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26419         * sysdeps/unix/bsd/Versions: ... here.
26420         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26421         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26422         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26423         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26424         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26425         * sysdeps/unix/bsd/sigblock.c: ... here.
26426         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26427         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26428         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26429         * sysdeps/unix/bsd/sigvec.c: ... here.
26430         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26431         * sysdeps/unix/bsd/tcdrain.c: ... here.
26432         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26433         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26434         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26435         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26436         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26437         * sysdeps/unix/bsd/wait.c: ... here.
26438         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26439         * sysdeps/unix/bsd/wait3.c: ... here.
26440         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26441         * sysdeps/unix/bsd/waitpid.c: ... here.
26443 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26445         [BZ #16356]
26446         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26447         round-to-nearest for [!USE_AS_EXPM1L].
26448         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26449         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26450         more tests of exp and exp10.  Expect some exp10 tests to miss
26451         exceptions or fail in directed rounding modes.
26452         * math/auto-libm-test-out: Regenerated.
26453         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26454         (exp10_test_tonearest): New function.
26455         (exp10_towardzero_test_data): New array.
26456         (exp10_test_towardzero): New function.
26457         (exp10_downward_test_data): New array.
26458         (exp10_test_downward): New function.
26459         (exp10_upward_test_data): New array.
26460         (exp10_test_upward): New function.
26461         (main): Call the new functions.
26462         * sysdeps/i386/fpu/libm-test-ulps: Update.
26463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26465 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26467         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26468         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26469         * math/auto-libm-test-out: Regenerated.
26470         * math/libm-test.inc (acosh_test_data): Add more tests.
26471         (atanh_test_data): Likewise.
26472         (ceil_test_data): Likewise.
26473         (copysign_test_data): Likewise.
26474         * sysdeps/i386/fpu/libm-test-ulps: Update.
26475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26477         * timezone/checktab.awk: Update from tzcode 2013i.
26478         * timezone/private.h: Likewise.
26479         * timezone/scheck.c: Likewise.
26480         * timezone/tzfile.h: Likewise.
26481         * timezone/tzselect.ksh: Likewise.
26482         * timezone/zdump.c: Likewise.
26483         * timezone/zic.c: Likewise.
26485         * math/auto-libm-test-in: Add tests of cpow.
26486         * math/auto-libm-test-out: Regenerated.
26487         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26489         mpc_cc_c.
26490         (func_calc_desc): Add mpc_cc_c union field.
26491         (test_functions): Add cpow.
26492         (special_fill_2pi): New function.
26493         (special_real_inputs): Add 2pi.
26494         (calc_generic_results): Handle mpc_cc_c.
26495         * sysdeps/i386/fpu/libm-test-ulps: Update.
26496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26498         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26499         csqrt, ctan and ctanh.
26500         * math/auto-libm-test-out: Regenerated.
26501         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26502         (TEST_COND_x86): Likewise.
26503         (ccos_test_data): Use AUTO_TESTS_c_c.
26504         (ccosh_test_data): Likewise.
26505         (cexp_test_data): Likewise.
26506         (clog_test_data): Likewise.
26507         (csqrt_test_data): Likewise.
26508         (ctan_test_data): Likewise.
26509         (ctan_tonearest_test_data): Likewise.
26510         (ctan_towardzero_test_data): Likewise.
26511         (ctan_downward_test_data): Likewise.
26512         (ctan_upward_test_data): Likewise.
26513         (ctanh_test_data): Likewise.
26514         (ctanh_tonearest_test_data): Likewise.
26515         (ctanh_towardzero_test_data): Likewise.
26516         (ctanh_downward_test_data): Likewise.
26517         (ctanh_upward_test_data): Likewise.
26518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26519         mpc_c_c.
26520         (func_calc_desc): Add mpc_c_c union field.
26521         (FUNC_mpc_c_c): New macro.
26522         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26523         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26524         ctanh.
26525         (special_fill_min_subnorm_p120): New function.
26526         (special_real_inputs): Add min_subnorm_p120.
26527         (calc_generic_results): Handle mpc_c_c.
26528         * sysdeps/i386/fpu/libm-test-ulps: Update.
26529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26531 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26533         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26534         (do_sin_slow): New functions.
26535         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26536         (cslow2, csloww1, csloww2): Use the new functions.
26538         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26539         Use M to change sign of result instead of X.  Assume X is
26540         positive.
26541         (csloww1): Likewise.
26542         (__sin): Adjust.
26543         (__cos): Adjust.
26545         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26546         arguments A and DA.
26547         (__sin): Adjust.
26548         (__cos): Likewise.
26550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26551         (__cos): Likewise.
26552         (sloww1): Don't adjust sign of DX.
26553         (csloww1): Likewise.
26554         (sloww2): Use X directly and don't adjust sign of DX.
26555         (csloww2): Likewise.
26557 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26559         * math/auto-libm-test-in: Add tests of cabs and carg.
26560         * math/auto-libm-test-out: Regenerated.
26561         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26562         (carg_test_data): Likewise.
26563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26564         mpc_c_f.
26565         (func_calc_desc): Add mpc_c_f union field.
26566         (test_functions): Add cabs and carg.
26567         (calc_generic_results): Handle mpc_c_f.
26569         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26570         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26571         as a macro and a compat symbol.
26572         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26573         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26574         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26575         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26576         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26578         not use .hidden.
26579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26580         Likewise.
26581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26582         Likewise.
26583         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26584         Likewise.
26585         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26586         Likewise.
26587         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26588         Likewise.
26589         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26590         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26591         from GLIBC_2.3.2.
26593 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26597 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26599         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26600         trailing whitespace removed.
26601         * scripts/config.guess: Update to version 2013-11-29.
26602         * scripts/config.sub: Update to version 2013-10-01.
26604         * math/auto-libm-test-in: Add tests of sincos.
26605         * math/auto-libm-test-out: Regenerated.
26606         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26608         mpfr_f_11.
26609         (func_calc_desc): Add mpfr_f_11 union field.
26610         (test_functions): Add sincos.
26611         (calc_generic_results): Handle mpfr_f_11.
26612         * sysdeps/i386/fpu/libm-test-ulps: Update.
26613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26615 2013-12-19  Andreas Schwab  <schwab@suse.de>
26617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26618         CALL_MCOUNT.
26619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26620         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26621         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26623 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26625         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26626         * sysdeps/i386/fpu/libm-test-ulps: Update.
26627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26629         [BZ #16293]
26630         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26631         round-to-nearest mode when using frndint.
26632         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26633         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26635         Likewise.
26636         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26637         sinh test to fail.
26638         * math/auto-libm-test-out: Regenerated.
26639         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26640         (TEST_COND_x86): Likewise.
26641         (expm1_tonearest_test_data): New array.
26642         (expm1_test_tonearest): New function.
26643         (expm1_towardzero_test_data): New array.
26644         (expm1_test_towardzero): New function.
26645         (expm1_downward_test_data): New array.
26646         (expm1_test_downward): New function.
26647         (expm1_upward_test_data): New array.
26648         (expm1_test_upward): New function.
26649         (main): Run the new test functions.
26650         * sysdeps/i386/fpu/libm-test-ulps: Update.
26651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26653         * include/features.h: Update comment documenting feature test
26654         macros.  Mention _DEFAULT_SOURCE in comment.
26655         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26656         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26657         _BSD_SOURCE and _SVID_SOURCE.
26658         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26659         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26660         !_SVID_SOURCE]: Likewise.
26661         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26662         (__USE_POSIX_IMPLICITLY): Define.
26663         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26664         (_POSIX_SOURCE): Undefine and redefine.
26665         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26666         (_POSIX_C_SOURCE): Likewise.
26667         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26668         (Feature Test Macros): Update documentation of default features.
26670 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26672         * benchtests/Makefile: Add bench-strtok.
26673         * benchtests/bench-strtok.c: New file: strtok benchtest.
26675 2013-12-19  Allan McRae  <allan@archlinux.org>
26677         * manual/install.texi: Suppress menu for plain text output.
26678         * INSTALL: Regenerated.
26680 2013-12-18  Brooks Moses  <bmoses@google.com>
26682         [BZ #15846]
26683         * misc/getauxval.c: Include errno.h.
26684         (__getauxval): Set errno to ENOENT if the requested type is not
26685         found.
26686         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26687         don't declare with __attribute_const__.
26688         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26689         * manual/startup.texi: Document that getauxval sets errno.
26691 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26693         * math/auto-libm-test-in: Add tests of jn and yn.
26694         * math/auto-libm-test-out: Regenerated.
26695         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26696         (yn_test_data): Likewise.
26697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26698         mpfr_if_f.
26699         (func_calc_desc): Add mpfr_if_f union field.
26700         (FUNC_mpfr_if_f): New macro.
26701         (test_functions): Add jn and yn.
26702         (calc_generic_results): Assert type of second input for
26703         mpfr_ff_f.  Handle mpfr_if_f.
26704         (output_for_one_input_case): Disable all checking for arguments
26705         fitting floating-point types in case of an integer argument.
26706         * sysdeps/i386/fpu/libm-test-ulps: Update.
26707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26710         Don't expect fegetround reference in libm.so.
26712 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26714         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26715         $(config-cflags-nofma).
26717 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26719         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26720         * math/auto-libm-test-out: Regenerated.
26722         [BZ #16338]
26723         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26724         to determine exponent and adjust argument to have exponent of -1.
26725         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26726         log2.
26727         * math/auto-libm-test-out: Regenerated.
26728         * sysdeps/i386/fpu/libm-test-ulps: Update.
26729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26731 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26733         * manual/probes.texi: Remove cases when per-thread arenas are
26734         disabled.
26736 2013-12-18  Andreas Schwab  <schwab@suse.de>
26738         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26739         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26740         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26741         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26742         * sysdeps/i386/i686/multiarch/Makefile: Update.
26743         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26745 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26747         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26748         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26750 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26752         [BZ #15968]
26753         Support TZ transition times < 00:00:00.
26754         This is needed for version-3 tz-format files; it supports time
26755         stamps past 2037 for America/Godthab (the only entry in the tz
26756         database for which this change is relevant).
26757         * manual/time.texi (TZ Variable): Document transition times
26758         from -167:59:59 through -00:00:01.
26759         * time/tzset.c (tz_rule): Time of day is now signed.
26760         (__tzset_parse_tz): Parse negative time of day.
26762         Document TZ transition times >= 25:00:00.
26763         * manual/time.texi (TZ Variable): Document transition times from
26764         25:00:00 through 167:59:59.  These are already supported, and this
26765         support will help with version-3 tz-format files.
26767         * manual/time.texi (TZ Variable): Modernize North America example
26768         to reflect current (i.e., 2007-and-later) daylight saving rules.
26770         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26772 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26774         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26775         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26778         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26779         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26780         * sysdeps/unix/bsd/clock.c: Likewise.
26781         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26782         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26783         * sysdeps/unix/bsd/init-posix.c: Likewise.
26784         * sysdeps/unix/bsd/poll.c: Likewise.
26785         * sysdeps/unix/bsd/ptsname.c: Likewise.
26786         * sysdeps/unix/bsd/seekdir.c: Likewise.
26787         * sysdeps/unix/bsd/setegid.c: Likewise.
26788         * sysdeps/unix/bsd/seteuid.c: Likewise.
26789         * sysdeps/unix/bsd/setgid.c: Likewise.
26790         * sysdeps/unix/bsd/setrgid.c: Likewise.
26791         * sysdeps/unix/bsd/setruid.c: Likewise.
26792         * sysdeps/unix/bsd/setsid.c: Likewise.
26793         * sysdeps/unix/bsd/setuid.c: Likewise.
26794         * sysdeps/unix/bsd/sigaction.c: Likewise.
26795         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26796         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26797         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26798         * sysdeps/unix/bsd/telldir.c: Likewise.
26799         * sysdeps/unix/bsd/times.c: Likewise.
26800         * sysdeps/unix/bsd/usleep.c: Likewise.
26802         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26803         ($(objpfx)libbsd-compat.a): Remove rule.
26805         * include/features.h (__FAVOR_BSD): Do not define.
26806         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26807         features conflicting with POSIX.
26808         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26809         (_BSD_SOURCE): Remove description of not being a subset of other
26810         feature test macros.
26811         * manual/job.texi (getpgrp): Do not document BSD version.
26812         (getpgid): Do not document by reference to BSD getpgrp.
26813         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26814         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26815         * signal/signal.h [__FAVOR_BSD]: Likewise.
26816         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26817         instead of making contents conditional on [__FAVOR_BSD].
26818         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26820 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26826         [BZ #16314]
26827         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26828         values below 2**-450, not 2**-500.
26829         * math/auto-libm-test-in: Don't allow spurious underflow from
26830         hypot.
26831         * math/auto-libm-test-out: Regenerated.
26833         [BZ #16316]
26834         [BZ #16330]
26835         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26836         values of ha and hb and sort them after adjusting subnormal
26837         arguments.
26838         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26839         Likewise.
26840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26841         values of ea and eb and sort them after adjusting subnormal
26842         arguments.
26843         * math/auto-libm-test-in: Do not expect some hypot tests of
26844         subnormals to fail.  Add more hypot tests.
26845         * math/auto-libm-test-out: Regenerated.
26847 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26849         [BZ #13304]
26850         * sysdeps/sh/s_fma.c: New file.
26851         * sysdeps/sh/s_fmaf.c: New file.
26852         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26853         version.
26854         * sysdeps/sh/Implies: Add sh/soft-fp.
26856 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26858         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26859         level of indirection to members `objname', `errstring', `malloced'.
26860         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26861         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26862         it as the __longjmp argument (just pass 1 instead).
26863         (_dl_catch_error): Initialize C with argument pointers and address of
26864         volatile local ERRCODE rather than copying values out of C at return.
26866 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26868         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26869         * math/auto-libm-test-out: Regenerated.
26870         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26871         (hypot_test_data): Likewise.
26872         (pow_test_data): Likewise.
26873         (pow_tonearest_test_data): Likewise.
26874         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26875         mpfr_ff_f.
26876         (func_calc_desc): Add mpfr_ff_f union field.
26877         (FUNC_mpfr_ff_f): New macro.
26878         (test_functions): Add atan2, hypot and pow.
26879         (special_fill_min): New function.
26880         (special_fill_minus_min): Likewise.
26881         (special_fill_min_subnorm): Likewise.
26882         (special_fill_minus_min_subnorm): Likewise.
26883         (special_real_inputs): Add min, -min, min_subnorm and
26884         -min_subnorm.
26885         (calc_generic_results): Handle mpfr_ff_f.
26886         * sysdeps/i386/fpu/libm-test-ulps: Update.
26887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26889 2013-12-16  Will Newton  <will.newton@linaro.org>
26891         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26892         (Aligned Memory Blocks): Add documentation for aligned_alloc
26893         and suggest it as an alternative to posix_memalign.
26894         (Hooks for Malloc): Document __memalign_hook is also called
26895         for aligned_alloc.  (Summary of Malloc): Add summary for
26896         aligned alloc.  Document __memalign_hook is also called
26897         for aligned_alloc.
26899 2013-12-16  Will Newton  <will.newton@linaro.org>
26901         * manual/memory.texi (Malloc Examples): Clarify default
26902         alignment documentation.  Suggest posix_memalign rather
26903         than memalign or valloc.
26904         (Aligned Memory Blocks): Remove suggestion to use memalign
26905         or valloc.  Remove obsolete comment about BSD.
26906         Document memalign errno values and mark the function obsolete.
26907         Document posix_memalign returned error codes.  Mark valloc
26908         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26909         called for posix_memalign and valloc.
26910         (Summary of Malloc): Add posix_memalign to function summary.
26911         __memalign_hook is also called for posix_memalign and valloc.
26913 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26916         TAYLOR_SIN.
26917         (__sin): Adjust.
26918         (__cos): Likewise.
26919         (sloww): Use mynumber union.  Expand ternary operator into
26920         if-else statements.
26921         (cslow): use mynumber union.
26923 2013-12-16  Allan McRae  <allan@archlinux.org>
26925         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26926         * configure: Regenerated.
26928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26930         [BZ #14120]
26931         * configure.ac: Added --enable-maintainer-mode. Check for
26932         autoconf when enabled.
26933         * configure: Regenerated.
26935         * nscd/nscd.service: New file.
26936         * nscd/nscd.tmpfiles: New file.
26938 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26940         [BZ #12100]
26941         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26942         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26943         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26944         (strstr): Add __strstr_sse2_unaligned ifunc.
26945         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26946         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26947         (strcasestr): Remove __strcasestr_sse42 ifunc.
26948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26952 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26954         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26955         * sysdeps/sh/bits/fenv.h: ... here.
26956         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26958 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26960         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26963         hypotf multiarch implementations.
26964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26967         multiarch hypot for PPC64.
26968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26969         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26971         multiarch hypotf for PPC64.
26973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26974         modff multiarch implementations.
26975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26978         multiarch modf for PPC64.
26979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26982         multiarch modff for PPC64.
26984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26985         and logl multiarch implementations.
26986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26989         multiarch logb for PPC64.
26990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26993         multiarch logb for PPC64.
26994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26997         multiarch logb for PPC64.
26999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27000         isinff multiarch implementation.
27001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27002         file.
27003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27005         multiarch isinf for PPC64.
27006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27007         file.
27008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27009         multiarch isinff for PPC64.
27011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27012         finitef multiarch implementation.
27013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27014         file.
27015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27017         multiarch finite for PPC64.
27018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27019         file.
27020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27021         multiarch finitef for PPC64.
27023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27024         lrint multiarch implementation.
27025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27026         file.
27027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27029         multiarch llrint for PPC64.
27030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27031         multiarch lrint for PPC64.
27033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27034         copysignf multiarch implementation.
27035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27036         file.
27037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27038         file.
27039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27040         multiarch copysign for PPC64.
27041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27042         multiarch copysignf for PPC64.
27044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27045         multiarch implementation.
27046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27047         file.
27048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27049         file.
27050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27051         file.
27052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27053         file.
27054         multiarch llround for PPC64.
27055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27056         multiarch trunc for PPC64.
27057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27058         multiarch truncf for PPC64.
27060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27061         multiarch implementation.
27062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27063         file.
27064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27065         file.
27066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27067         file.
27068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27069         file.
27070         multiarch llround for PPC64.
27071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27072         multiarch round for PPC64.
27073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27074         multiarch roundf for PPC64.
27076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27077         multiarch implementation.
27078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27079         file.
27080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27081         file.
27082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27083         file.
27084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27085         file.
27086         multiarch llround for PPC64.
27087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27088         multiarch floor for PPC64.
27089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27090         multiarch floorf for PPC64.
27092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27093         multiarch implementation.
27094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27095         file.
27096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27097         file.
27098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27099         file.
27100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27101         file.
27102         multiarch llround for PPC64.
27103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27104         multiarch ceil for PPC64.
27105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27106         multiarch ceilf for PPC64.
27108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27109         multiarch implementation.
27110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27111         file.
27112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27113         file.
27114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27115         file.
27116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27117         multiarch llround for PPC64.
27118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27119         multiarch lround for PPC64.
27121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27122         multiarch implementation.
27123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27126         file.
27127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27130         multiarch isnan for PPC64.
27131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27132         multiarch isnanf for PPC64.
27134         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27135         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27136         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27137         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27138         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27141         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27147         multiarch implementations.
27148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27149         (__libc_ifunc_impl_list): Likewise.
27150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27152         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27153         multiarch stpcpy for PPC64.
27155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27156         multiarch implementations.
27157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27158         (__libc_ifunc_impl_list): Likewise.
27159         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27160         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27161         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27162         multiarch strcpy for PPC64.
27164         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27165         redefine function name.
27166         (_wordcopy_fwd_dest_aligned): Likewise.
27167         (_wordcopy_bwd_aligned): Likewise.
27168         (_wordcopy_bwd_dest_aligned): Likewise.
27169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27170         multiarch implementations.
27171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27172         (__libc_ifunc_impl_list): Likewise.
27173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27174         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27175         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27176         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27177         multiarch wcscpy for PPC64.
27179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27180         multiarch implementations.
27181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27182         (__libc_ifunc_impl_list): Likewise.
27183         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27184         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27185         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27186         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27187         multiarch wcscpy for PPC64.
27189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27190         multiarch implementations.
27191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27192         (__libc_ifunc_impl_list): Likewise.
27193         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27194         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27195         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27196         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27197         multiarch wcsrchr for PPC64.
27199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27200         multiarch implementations.
27201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27202         (__libc_ifunc_impl_list): Likewise.
27203         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27204         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27205         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27206         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27207         multiarch wcschr for PPC64.
27209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27210         multiarch implementations.
27211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27212         (__libc_ifunc_impl_list): Likewise.
27213         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27214         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27215         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27216         multiarch strchrnul for PPC64.
27218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27219         implementations.
27220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27221         (__libc_ifunc_impl_list): Likewise.
27222         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27223         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27224         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27225         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27226         strchr for PPC64.
27228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27229         implementations.
27230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27231         (__libc_ifunc_impl_list): Likewise.
27232         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27233         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27234         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27235         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27236         strncmp for PPC64.
27238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27239         multiarch implementations.
27240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27241         (__libc_ifunc_impl_list): Likewise.
27242         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27243         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27244         strncasecmp for PPC64.
27245         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27246         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27247         multiarch strncasecmp_l for PPC64.
27249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27250         multiarch implementations.
27251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27252         (__libc_ifunc_impl_list): Likewise.
27253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27255         multiarch strcasecmp for PPC64.
27256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27257         file.
27258         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27259         multiarch strcasecmp_l for PPC64.
27261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27262         implementations.
27263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27264         (__libc_ifunc_impl_list): Likewise.
27265         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27266         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27267         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27268         strnlen for PPC64.
27270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27271         implementations.
27272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27273         (__libc_ifunc_impl_list): Likewise.
27274         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27275         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27276         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27277         strlen for PPC64.
27279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27280         implementations.
27281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27282         (__libc_ifunc_impl_list): Likewise.
27283         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27284         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27285         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27286         rawmemrchr for PPC64.
27288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27289         implementation.
27290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27291         (__libc_ifunc_impl_list): Likewise.
27292         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27293         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27294         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27295         memrchr for PPC64.
27297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27298         implementation.
27299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27300         (__libc_ifunc_impl_list): Likewise.
27301         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27302         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27303         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27304         memchr for PPC64.
27306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27307         implementation.
27308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27309         (__libc_ifunc_impl_list): Likewise.
27310         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27311         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27312         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27313         mempcpy for PPC64.
27315         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27316         avoid cretion of __bzero symbol.
27317         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27318         Likewise.
27319         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27320         Likewise.
27321         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27322         Likewise.
27323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27324         multiarch implementations.
27325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27326         (__libc_ifunc_impl_list): Likewise.
27327         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27328         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27329         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27330         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27331         bzero for PPC32.
27332         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27333         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27334         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27335         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27336         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27337         memset for PPC64.
27338         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27340         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27342         implementations.
27343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27344         (__libc_ifunc_impl_list): Likewise.
27345         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27346         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27347         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27348         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27349         memcmp for PPC64.
27351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27352         multiarch for POWER/PPC64.
27353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27354         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27356         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27357         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27358         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27359         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27360         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27361         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27362         memcpy for PPC64.
27364         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27365         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27366         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27367         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27368         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27369         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27370         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27371         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27372         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27373         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27374         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27375         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27376         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27377         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27378         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27387 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27389         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27391 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27393         * benchtests/Makefile (bench): Add exp2 and log2.
27394         (LDLIBS-bench-exp2): Add -lm.
27395         (LDLIBS-bench-log2): Likewise.
27396         * benchtests/exp2-inputs: New inputs file.
27397         * benchtests/log2-inputs: New inputs file.
27398         * benchtests/log-inputs: Add new inputs.
27399         * benchtests/tan-inputs: Likewise.
27401 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27403         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27404         definition...
27405         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27406         (csloww2): ... from here.
27408         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27409         instead of structures.
27410         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27411         (POLYNOMIAL): Likewise.
27412         (TAYLOR_SLOW): Likewise.
27413         (__sin): Likewise.
27414         (__cos): Likewise.
27415         (slow1): Likewise.
27416         (slow2): Likewise.
27417         (sloww): Likewise.
27418         (sloww1); Likewise.
27419         (sloww2): Likewise.
27420         (bsloww1): Likewise.
27421         (bsloww2): Likewise.
27422         (cslow2): Likewise.
27423         (csloww): Likewise.
27424         (csloww1): Likewise.
27425         (csloww2): Likewise.
27427 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27429         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27430         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27431         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27432         * malloc/hooks.c (realloc_check): Likewise.
27434         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27435         * malloc/arena.c: Remove PER_THREAD conditional.
27436         [!PER_THREAD]: Remove code.
27437         (ptmalloc_unlock_all2): Likewise.
27438         (ptmalloc_init): Likewise.
27439         (_int_new_arena): Likewise.
27440         (arena_get2): Likewise.
27441         * malloc/hooks.c (__malloc_get_state): Likewise.
27442         (__malloc_set_state): Likewise.
27443         * malloc/malloc.c: Likewise.
27444         (struct malloc_state): Likewise.
27445         (struct malloc_par): Likewise.
27446         (__libc_realloc): Likewise.
27447         (__libc_mallopt): Likewise.
27449 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27451         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27453 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27455         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27456         macro to a function.  Check for zero perturb_byte.
27457         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27459         * malloc/malloc.c: (force_reg): Remove.
27460         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27461         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27462         force_reg by atomic_forced_read.
27463         * malloc/arena.c (ptmalloc_init): Likewise.
27464         * malloc/hooks.c (top_check): Likewise.
27466 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27470 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27474 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27476         * math/auto-libm-test-in: Add tests of lgamma.
27477         * math/auto-libm-test-out: Regenerated.
27478         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27479         (M_LOG_2_SQRT_PIl): Likewise.
27480         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27481         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27482         mpfr_f_f1.
27483         (func_calc_desc): Add mpfr_f_f1 union field.
27484         (ARGS1): New macro.
27485         (ARGS2): Likewise.
27486         (ARGS3): Likewise.
27487         (ARGS4): Likewise.
27488         (RET1): Likewise.
27489         (RET2): Likewise.
27490         (CALC): Likewise.
27491         (FUNC): Likewise.
27492         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27493         (test_functions): Add lgamma.
27494         (calc_generic_results): Handle mpfr_f_f1.
27495         * sysdeps/i386/fpu/libm-test-ulps: Update.
27496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27498 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27500         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27501         __mpn_add_n for PowerPC64/POWER7.
27502         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27503         __mpn_sub_n for PowerPC64/POWER7.
27505         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27506         __mpn_addmul_1 for PowerPC64.
27507         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27508         __mpn_submul_1 for PowerPC64.
27509         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27510         for PowerPC64.
27511         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27512         for PowerPC64.
27514 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27516         [BZ #15089]
27517         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27519 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27521         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27523         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27524         add multiarch folders.
27525         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27526         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27527         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27528         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27529         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27530         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27531         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27532         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27533         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27534         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27535         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27544         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27546         New file.
27547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27548         New file.
27549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27550         multiarch __ieee754_hypot for PowerPC32.
27551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27552         New file.
27553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27554         New file.
27555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27556         multiarch __ieee754_hypotf for PowerPC32.
27558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27559         long_double_symbol only if __logbl is defined.
27560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27561         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27562         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27563         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27565         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27566         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27567         path for implementation.
27568         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27569         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27571         logb, and logbl multiarch implementations for PowerPC32.
27572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27573         file.
27574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27575         file.
27576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27577         multiarch logb for PowerPC32.
27578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27579         file.
27580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27581         file.
27582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27583         multiarch logbf for PowerPC32.
27584         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27586         file.
27587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27588         multiarch logbl implementation for PowerPC32.
27590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27591         and modff multiarch implementations.
27592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27593         New file.
27594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27595         New file.
27596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27597         multiarch modf for PowerPC32.
27598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27599         New file.
27600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27601         New file.
27602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27603         multiarch modff for PowerPC32.
27605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27606         and lrintf multiarch implementations.
27607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27608         New file.
27609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27610         New file.
27611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27612         multiarch lrint for PowerPC32.
27613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27614         file: multiarch lrintf for PowerPC32.
27616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27617         and lroundf multiarch implementations.
27618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27619         New file.
27620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27621         New file.
27622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27623         New file.
27624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27625         multiarch lround for PowerPC32.
27626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27627         file: multiarch lroundf for PowerPC32.
27629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27630         copysign and copysignf multiarch implementations.
27631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27632         New file.
27633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27634         New file.
27635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27636         file: multiarch copysign for PowerPC32.
27637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27638         file: multiarch copysignf for PowerPC32.
27640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27641         and truncf multiarch implementations.
27642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27643         New file.
27644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27645         file.
27646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27647         multiarch trunc for PowerPC32.
27648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27649         New file.
27650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27651         New file.
27652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27653         multiarch truncf for PowerPC32.
27655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27656         and roundf multiarch implementations.
27657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27658         New file.
27659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27660         file.
27661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27662         multiarch round for PowerPC32.
27663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27664         New file.
27665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27666         New file.
27667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27668         multiarch roundf for PowerPC32.
27670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27671         and floorf multiarch implementations.
27672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27673         New file.
27674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27675         file.
27676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27677         multiarch floor for PowerPC32.
27678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27679         New file.
27680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27681         New file.
27682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27683         multiarch floorf for PowerPC32.
27685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27686         and ceilf multiarch implementations.
27687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27688         New file.
27689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27690         file.
27691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27692         multiarch ceil for PowerPC32.
27693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27694         New file.
27695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27696         file.
27697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27698         multiarch ceilf for PowerPC32.
27700         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27701         is defined.
27702         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27703         FINITEF is defined.
27704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27705         and finitef multiarch implementations.
27706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27707         New file.
27708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27709         file.
27710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27711         multiarch finite for PowerPC32.
27712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27713         New file.
27714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27715         file: multiarch finitef for PowerPC32.
27717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27718         and isinff multiarch implementations.
27719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27720         file.
27721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27722         file.
27723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27724         multiarch isinf for PowerPC32.
27725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27726         New file.
27727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27728         multiarch isinff for PowerPC32.
27730         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27731         alias when __isnan is defined.
27732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27733         and isnanf multiarch implementations.
27734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27735         file.
27736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27737         file.
27738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27739         file.
27740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27741         file.
27742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27743         multiarch isnan for PowerPC32.
27744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27745         New file.
27746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27747         New file.
27748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27749         multiarch isnanf for PowerPC32.
27751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27752         and sqrtf multiarch implementations.
27753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27754         file.
27755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27756         file.
27757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27758         multiarch sqrt for PowerPC32.
27759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27760         file.
27761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27762         file.
27763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27764         multiarch sqrtf for PowerPC32.
27766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27767         and llroundf multiarch implementations.
27768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27769         New file.
27770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27771         New file.
27772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27773         New file.
27774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27775         file: multiarch llround for PowerPC32.
27776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27777         file: multiarch llroundf for PowerPC32.
27779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27780         multiarch PowerPC32 fpu implementations.
27781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27782         New file.
27783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27784         New file.
27785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27786         multiarch llrint for PowerPC32.
27787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27788         New file.
27789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27790         New file.
27791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27792         file.
27794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27797         file.
27798         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27799         file.
27800         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27801         file.
27802         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27803         multiarch wordcopy for PPC32.
27804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27805         wordcopy objects.
27806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27807         (__libc_ifunc_impl_list): Likewise.
27808         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27809         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27810         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27811         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27812         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27813         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27815         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27817         file.
27818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27819         file.
27820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27821         file.
27822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27823         multiarch wcscpy for PPC32.
27824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27825         multiarch objects.
27826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27827         (__libc_ifunc_impl_list): Likewise.
27828         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27829         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27830         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27831         sysdeps/powerpc/power6/wcscpy.c.
27833         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27835         file.
27836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27837         file.
27838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27839         file.
27840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27841         multiarch wcsrchr for PPC32.
27842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27843         multiarch objects.
27844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27845         (__libc_ifunc_impl_list): Likewise.
27846         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27847         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27848         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27849         sysdeps/powerpc/power6/wcsrchr.c.
27851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27852         file.
27853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27854         file.
27855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27857         multiarch wcschr for PPc32.
27858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27859         multiarch objects.
27860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27861         (__libc_ifunc_impl_list): Likewise.
27862         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27863         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27864         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27865         sysdeps/powerpc/power6/wcschr.c.
27867         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27869         file.
27870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27871         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27872         file: multiarch strchr for PPC32.
27873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27874         multiarch objects.
27875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27876         (__libc_ifunc_impl_list): Likewise.
27878         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27879         name.
27880         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27881         file.
27882         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27883         file.
27884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27885         multiarch strchrnul for PPC32.
27886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27887         multiarch objects.
27888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27889         (__libc_ifunc_impl_list): Likewise.
27891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27892         file.
27893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27894         multiarch strncasecmp for PPC32.
27895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27896         file.
27897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27898         multiarch strncasecmp_l for PPC32.
27899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27900         strncasecmp multiarch objects.
27901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27902         (__libc_ifunc_impl_list): Likewise.
27904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27905         file.
27906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27907         multiarch strncasecmp for PPC32.
27908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27909         New file.
27910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27911         multiarch strcasecmp_l for PPC32.
27912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27913         multiarch objects.
27914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27915         (__libc_ifunc_impl_list): Likewise.
27917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27918         file.
27919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27920         file.
27921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27922         multiarch strncmp for PPC32.
27923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27924         multiarch objects.
27925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27926         (__libc_ifunc_impl_list): Likewise.
27928         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27929         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27930         file.
27931         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27932         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27934         multiarch objects.
27935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27936         (__libc_ifunc_impl_list): Likewise.
27938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27939         file.
27940         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27941         file.
27942         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27944         multiarch objects.
27945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27946         (__libc_ifunc_impl_list): Likewise.
27948         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27949         file.
27950         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27951         file.
27952         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27953         multiarch rawmemchr for PPC32.
27954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27955         multiarch objects.
27956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27957         (__libc_ifunc_impl_list): Likewise.
27959         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27960         file.
27961         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27962         file.
27963         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27964         file: memrchr multiarch for PPC32.
27965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27966         multiarch objects.
27967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27968         (__libc_ifunc_impl_list): Likewise.
27970         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27971         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27972         file.
27973         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27975         multiarch memchr for PPC32.
27976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27977         multiarch objects.
27978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27979         (__libc_ifunc_impl_list): Likewise.
27981         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27982         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27983         file.
27984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27985         file.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27987         file: multiarch mempcpy for PPC32.
27988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27989         multiarch objects.
27990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27991         (__libc_ifunc_impl_list): Likewise.
27993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27994         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27995         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27997         multiarch bzero for PPC32.
27998         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27999         file.
28000         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28001         file.
28002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28003         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28004         file: multiarch memset for PPC32.
28005         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28007         memset multiarch objects.
28008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28009         (__libc_ifunc_impl_list): Likewise.
28011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28012         file.
28013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28015         memcmp for PPC32.
28016         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28018         multiarch objects.
28019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28020         (__libc_ifunc_impl_list): Likewise.
28022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28025         file.
28026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28027         file.
28028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28029         file.
28030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28031         multiarch memcpy for PPC32.
28032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28033         multiarch objects.
28034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28035         (__libc_ifunc_impl_list): Likewise.
28037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28038         support multiarch for POWER/PPC32.
28039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28040         Likewise.
28041         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28043         Implies file to make multiarch folder appers before the fpu and
28044         default folder for power4 configuration.
28046 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28048         * scripts/bench.pl: Append volatile keyword to type.
28050 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28052         * sysdeps/sh/sotruss-lib.c: New file.
28053         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28055 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28059 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28061         [BZ #6810]
28062         * math/w_tgamma.c: Include <errno.h>.
28063         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28064         * math/w_tgammaf.c: Include <errno.h>.
28065         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28066         * math/w_tgammal.c: Include <errno.h>.
28067         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28068         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28069         underflow.  Add more tgamma tests.
28070         * math/auto-libm-test-out: Regenerated.
28071         * sysdeps/i386/fpu/libm-test-ulps: Update.
28072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28075         sin, sinh, tan, tanh, tgamma, y0 and y1.
28076         * math/auto-libm-test-out: Regenerated.
28077         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28078         (TEST_COND_x86): Likewise.
28079         (M_E2l): Remove macro.
28080         (M_E3l): Likewise.
28081         (M_2_SQRT_PIl): Likewise.
28082         (M_SQRT_PIl): Likewise.
28083         (M_1_DIV_El): Likewise.
28084         (log_test_data): Use AUTO_TESTS_f_f.
28085         (log10_test_data): Likewise.
28086         (log1p_test_data): Likewise.
28087         (log2_test_data): Likewise.
28088         (sin_test_data): Likewise.
28089         (sin_tonearest_test_data): Likewise.
28090         (sin_towardzero_test_data): Likewise.
28091         (sin_downward_test_data): Likewise.
28092         (sin_upward_test_data): Likewise.
28093         (sinh_test_data): Likewise.
28094         (sinh_tonearest_test_data): Likewise.
28095         (sinh_towardzero_test_data): Likewise.
28096         (sinh_downward_test_data): Likewise.
28097         (sinh_upward_test_data): Likewise.
28098         (tan_test_data): Likewise.
28099         (tan_tonearest_test_data): Likewise.
28100         (tan_towardzero_test_data): Likewise.
28101         (tan_downward_test_data): Likewise.
28102         (tan_upward_test_data): Likewise.
28103         (tanh_test_data): Likewise.
28104         (tgamma_test_data): Likewise.
28105         (y0_test_data): Likewise.
28106         (y1_test_data): Likewise.
28107         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28108         (special_real_inputs): Add pi/4.
28109         * sysdeps/i386/fpu/libm-test-ulps: Update.
28110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28112 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28114         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28115         "longjmp_target" static probes.
28116         (__longjmp): Rename to __longjmp_symbol.
28117         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28118         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28119         on which longjmp to generate.
28120         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28121         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28122         probe.
28123         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28124         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28125         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28127         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28128         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28130         __longjmp_symbol based on which __longjmp to generate.
28131         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28132         probe.
28133         (setjmp): Rename to setjmp_symbol.
28134         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28135         (_setjmp): Rename to _setjmp_symbol.
28136         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28137         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28138         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28139         which setjmp to generate.
28140         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28141         "longjmp_target" static probes.
28143 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28145         * benchtests/README: Add note about output arguments.
28146         * benchtests/bench-sincos.c: Remove file.
28147         * benchtests/sincos-inputs: New file.
28148         * scripts/bench.pl: Identify output arguments and define
28149         static variables for them.
28151         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28153         [BZ #15941]
28154         * Makefile (INSTALL): Add install-plain.texi as the primary
28155         dependency.
28156         * manual/install-plain.texi: New file.
28157         * manual/install.texi: Include node directive only for
28158         non-plaintext output.
28160 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28162         * stdlib/longlong.h: Update from GCC.
28164         [BZ #6807]
28165         [BZ #15901]
28166         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28167         * math/w_j0f.c (y0f): Likewise.
28168         * math/w_j0l.c (__y0l): Likewise.
28169         * math/w_j1.c (y1): Likewise.
28170         * math/w_j1f.c (y1f): Likewise.
28171         * math/w_j1l.c (__y1l): Likewise
28172         * math/w_jn.c (yn): Likewise.
28173         * math/w_jnf.c (ynf): Likewise.
28174         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28175         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28176         value for Bessel function domain errors outside _SVID_ mode.
28177         Adjust sign of return value for yn (negative integer, 0).
28178         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28179         by zero in return for negative x and set sign appropriately for
28180         negative n.
28181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28182         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28183         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28184         expectations in error cases.
28185         (y1_test_data): Likewise.
28186         (yn_test_data): Likewise.
28187         * sysdeps/i386/fpu/libm-test-ulps: Update.
28188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28190 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28192         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28193         "64" to "64-v1".  Add "64-v2".
28194         (abi-64-options): Rename to ...
28195         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28196         (abi-64-condition): Rename to ...
28197         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28198         (abi-64-ld-soname): Rename to ...
28199         (abi-64-v1-ld-soname): ... this.
28200         (abi-64-v2-options): Define.
28201         (abi-64-v2-condition): Likewise.
28202         (abi-64-v2-ld-soname): Likewise.
28203         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28209 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28210             Alan Modra  <amodra@gmail.com>
28212         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28213         New versions for use with the ELFv2 ABI.
28214         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28215         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28216         declaration.
28217         (struct La_ppc64v2_retval): Likewise.
28218         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28219         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28220         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28221         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28222         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28223         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28224         Do not save or restore CR.
28225         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28226         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28227         return values for ELFv2 ABI.  Fix location of FPR return registers.
28228         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28229         updated values for _CALL_ELF == 2.
28230         (La_regs, La_retval, int_retval): Likewise.
28232 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28234         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28235         (FRAME_MIN_SIZE_PARM): Likewise.
28236         (FRAME_BACKCHAIN): Likewise.
28237         (FRAME_CR_SAVE): Likewise.
28238         (FRAME_LR_SAVE): Likewise.
28239         (FRAME_TOC_SAVE): Likewise.
28240         (FRAME_PARM_SAVE): Likewise.
28241         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28242         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28243         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28244         (call_mcount_parm_offset): New macro.
28245         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28246         (PROF): Use symbolic stack frame offsets.
28247         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28249         Redefine in terms of FRAME_MIN_SIZE.
28250         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28251         (_dl_profile_resolve): Likewise.  Update comment.
28252         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28253         symbols stack frame offsets.
28254         (__sigsetjmp): Likewise.
28255         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28256         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28257         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28258         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28261         (FRAME_BACKCHAIN): Remove.
28262         (FRAME_CR_SAVE): Likewise.
28263         (FRAME_LR_SAVE): Likewise.
28264         (FRAME_COMPILER_DW): Likewise.
28265         (FRAME_LINKER_DW): Likewise.
28266         (FRAME_TOC_SAVE): Likewise.
28267         (FRAME_PARM_SAVE): Likewise.
28268         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28269         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28270         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28272         (CHECK_SP): Use symbolic stack frame offsets.
28273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28274         zone" instead of caller's parameter save area for temp storage.
28275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28276         Likewise.  Also, use symbolic stack frame offsets.
28277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28278         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28279         our own stack frame instead of the caller's.
28280         (__socket): Use symbolic stack frame offsets.
28282 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28283             Alan Modra  <amodra@gmail.com>
28285         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28286         Define.
28287         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28288         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28289         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28290         New function.
28291         (elf_machine_fixup_plt): Call it.
28292         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28293         reloc arguments.
28294         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28295         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28296         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28297         r2 before calling target.
28299 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28300             Alan Modra  <amodra@gmail.com>
28302         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28303         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28304         versions of macros to support ELFv2 ABI.
28305         (LOCALENTRY): New macro.
28306         (ENTRY, EALIGN): Use it.
28307         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28308         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28309         fall through into ENTRY entry point.
28310         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28311         Only define if _CALL_ELF != 2.
28313         (elf_machine_matches_host): Verify ABI version matches.
28314         (RTLD_START): Use LOCALENTRY.
28315         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28316         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28317         (PLT_ENTRY_WORDS): New macro.
28318         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28319         (elf_machine_runtime_setup): Support ELFv2 ABI.
28320         (elf_machine_fixup_plt): Likewise.
28321         (elf_machine_plt_conflict): Likewise.
28322         (resolve_ifunc): Likewise.
28323         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28324         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28325         Likewise.
28326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28327         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28329         (makecontext): Support ELFv2 ABI.
28330         * elf/elf.h (EF_PPC64_ABI): Define.
28332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28334         * sysdeps/powerpc/powerpc64/sysdep.h
28335         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28336         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28337         (ENTRY) [ASSEMBLER]: ... but instead here ...
28338         (EALIGN) [ASSEMBLER]: ... and here.
28339         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28340         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28341         (ENTRY_2) [!ASSEMBLER]: Use it.
28342         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28343         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28344         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28345         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28346         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28348         Use PPC64_LOAD_FUNCPTR.
28350         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28352 2013-12-04  Alan Modra  <amodra@gmail.com>
28354         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28355         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28356         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28357         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28360         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28361         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28362         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28363         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28364         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28366 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28369         (__makecontext): Fix incorrect CFI when backtracing out of
28370         context created via makecontext.
28371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28372         (__setcontext): Fix incorrect CFI during switch to new context.
28373         (__novec_setcontext): Likewise.
28375 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28377         [BZ #4772]
28378         * time/strptime_l.c (__strptime_internal): Allow modifiers
28379         in strptime.
28380         * time/tst-strptime.c (day_tests): Add testcase.
28382 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28384         * scripts/bench.pl: Skip over blank lines.
28386 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28388         [BZ #926]
28389         * manual/time.texi (Calendar Time): Clarify what timezone functions
28390         use.
28392 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28396 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28398         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28399         implementation.
28400         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28401         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28402         * debug/memset_chk.c (__memset_chk): Likewise.
28403         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28404         * debug/strncpy_chk.c: Likewise.
28406 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28408         [BZ #15268]
28409         [BZ #15425]
28410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28411         (__ieee754_exp): For possibly underflowing results, check size of
28412         result and force underflow exception if required.
28413         * math/auto-libm-test-in: Add more tests of exp.
28414         * math/auto-libm-test-out: Regenerated.
28415         * sysdeps/i386/fpu/libm-test-ulps: Update.
28416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28418         [BZ #16283]
28419         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28420         * math/w_exp2f.c (__exp2f): Likewise.
28421         * math/w_exp2l.c (__exp2l): Likewise.
28422         * math/auto-libm-test-in: Do not allow missing errno on exp2
28423         underflow.
28424         * math/auto-libm-test-out: Regenerated.
28426 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28428         [BZ #16274]
28429         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28430         handle filename validation.
28431         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28432         (do_open): Delete.
28434 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28436         [BZ #6786]
28437         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28438         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28439         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28440         <float.h>.
28441         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28442         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28443         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28445         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28446         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28447         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28448         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28449         Add more erfc tests.
28450         * math/auto-libm-test-out: Regenerated.
28451         * sysdeps/i386/fpu/libm-test-ulps: Update.
28452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28454         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28455         exp2, expm1, j0 and j1.
28456         * math/auto-libm-test-out: Regenerated.
28457         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28458         (erfc_test_data): Likewise.
28459         (exp_test_data): Likewise.
28460         (exp_tonearest_test_data): Likewise.
28461         (exp_towardzero_test_data): Likewise.
28462         (exp_downward_test_data): Likewise.
28463         (exp_upward_test_data): Likewise.
28464         (exp10_test_data): Likewise.
28465         (exp2_test_data): Likewise.
28466         (expm1_test_data): Likewise.
28467         (j0_test_data): Likewise.
28468         (j1_test_data): Likewise.
28469         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28470         (input_flag_type): Add flag_xfail_rounding.
28471         (input_flags): Add xfail-rounding.
28472         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28473         (output_for_one_input_case): Handle flag_xfail_rounding.
28474         * sysdeps/i386/fpu/libm-test-ulps: Update.
28475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28477 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28479         [BZ #16289]
28480         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28481         division by 0.
28483 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28485         [BZ #16195]
28486         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28487         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28488         (STAP_PROBE0): New macro.
28489         (STAP_PROBE1): Likewise.
28490         (STAP_PROBE2): Likewise.
28491         (STAP_PROBE3): Likewise.
28492         (STAP_PROBE4): Likewise.
28494 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28496         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28498 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28500         * benchtests/Makefile (bench): Add sqrt.
28501         (LDLIBS-bench-sqrt): New.
28502         * benchtests/sqrt-input: New.
28504 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28506         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28507         (GAIH_EAI): Likewise.
28508         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28509         (gaih_inet): Likewise.
28510         (getaddrinfo): Don't use GAIH_EAI.
28512         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28513         (struct gaih): Remove definition.
28515 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28517         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28518         Use HERRNOP directly.
28520 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28524 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28526         * math/gen-auto-libm-tests.c (test_functions): Add more
28527         single-argument functions.
28528         (special_fill_pi_2): New function.
28529         (special_fill_minus_pi_2): Likewise.
28530         (special_fill_pi_6): Likewise.
28531         (special_fill_minus_pi_6): Likewise.
28532         (special_fill_pi_3): Likewise.
28533         (special_fill_2pi_3): Likewise.
28534         (special_fill_e): Likewise.
28535         (special_fill_1_e): Likewise.
28536         (special_fill_e_minus_1): Likewise.
28537         (special_real_inputs): Add more special inputs.
28538         (output_for_one_input_case): Do not require ERANGE on underflow to
28539         zero if round-to-nearest result does not underflow to zero, unless
28540         exact results required.
28541         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28542         atan, atanh, cbrt, cos and cosh.
28543         * math/auto-libm-test-out: Regenerated.
28544         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28545         (acos_tonearest_test_data): Likewise.
28546         (acos_towardzero_test_data): Likewise.
28547         (acos_downward_test_data): Likewise.
28548         (acos_upward_test_data): Likewise.
28549         (acosh_test_data): Likewise.
28550         (asin_test_data): Likewise.
28551         (asin_tonearest_test_data): Likewise.
28552         (asin_towardzero_test_data): Likewise.
28553         (asin_upward_test_data): Likewise.
28554         (asinh_test_data): Likewise.
28555         (atan_test_data): Likewise.
28556         (atanh_test_data): Likewise.
28557         (cbrt_test_data): Likewise.
28558         (cos_test_data): Likewise.
28559         (cos_tonearest_test_data): Likewise.
28560         (cos_towardzero_test_data): Likewise.
28561         (cos_downward_test_data): Likewise.
28562         (cos_upward_test_data): Likewise.
28563         (cosh_test_data): Likewise.
28564         (cosh_tonearest_test_data): Likewise.
28565         (cosh_towardzero_test_data): Likewise.
28566         (cosh_downward_test_data): Likewise.
28567         (cosh_upward_test_data): Likewise.
28568         * sysdeps/i386/fpu/libm-test-ulps: Update.
28569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28571 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28573         [BZ #6787]
28574         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28575         * math/w_exp10f.c (__exp10f): Likewise.
28576         * math/w_exp10l.c (__exp10l): Likewise.
28577         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28578         errno settings in existing tests.
28580         [BZ #14032]
28581         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28582         precision control set to double precision.
28583         * sysdeps/i386/fpu/w_sqrt.c: New file.
28584         * math/auto-libm-test-in: Add more tests.
28585         * math/auto-libm-test-out: Update.
28587         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28588         (sqrt_test_tonearest): New function.
28589         (sqrt_towardzero_test_data): New variable.
28590         (sqrt_test_towardzero): New function.
28591         (sqrt_downward_test_data): New variable.
28592         (sqrt_test_downward): New function.
28593         (sqrt_upward_test_data): New variable.
28594         (sqrt_test_upward): New function.
28595         (main): Call the new functions.
28597         * math/gen-auto-libm-tests.c: New file.
28598         * math/auto-libm-test-in: Likewise.
28599         * math/auto-libm-test-out: New generated file.
28600         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28601         variables.
28602         (%beautify): Add generated representations of zero.
28603         (top level): Set $auto_input and call parse_auto_input.
28604         (beautify): Remove trailing "f" from hex float constants.
28605         (parse_args): Handle XFAIL_TEST.
28606         (convert_condition): New function.
28607         (or_value): Likewise.
28608         (or_cond_value): Likewise.
28609         (generate_testfile): Handle AUTO_TESTS_* lines.
28610         (parse_auto_input): New function.
28611         * math/libm-test.inc (XFAIL_TEST): New macro.
28612         (ERRNO_UNCHANGED): Update value.
28613         (ERRNO_EDOM): Likewise.
28614         (ERRNO_ERANGE): Likewise.
28615         (IGNORE_RESULT): Likewise.
28616         (TEST_COND_flt_32): New macro.
28617         (TEST_COND_dbl_64): Likewise.
28618         (TEST_COND_ldbl_96_intel): Likewise.
28619         (TEST_COND_ldbl_96_m68k): Likewise.
28620         (TEST_COND_ldbl_128): Likewise.
28621         (TEST_COND_ldbl_128ibm): Likewise.
28622         (TEST_COND_long32): Likewise.
28623         (TEST_COND_long64): Likewise.
28624         (TEST_COND_before_rounding): Likewise.
28625         (TEST_COND_after_rounding): Likewise.
28626         (enable_test): Handle XFAIL_TEST flag.
28627         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28628         with finite results.
28629         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28630         auto-libm-test-out.
28632 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28633             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28635         [BZ #16214]
28636         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28637         __tls_get_addr_internal instead of __tls_get_offset in order to
28638         avoid GOT pointer dependency.  Make rtld export
28639         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28640         __tls_get_addr since we are a __tls_get_offset platform.
28641         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28642         GOT pointer being set up before.
28643         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28645 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28647         * manual/math.texi (Errors in Math Functions): Document accuracy
28648         goals.
28650         [BZ #15004]
28651         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28652         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28655         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28657         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28664         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28665         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28666         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28668         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28669         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28670         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28671         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28672         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28673         Likewise.
28674         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28675         Likewise.
28676         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28677         Likewise.
28678         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28679         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28680         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28681         atomic-feupdateenv and flt-rounds.
28682         * sysdeps/powerpc/nofpu/Versions (libc): Add
28683         __atomic_feholdexcept, __atomic_feclearexcept,
28684         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28686         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28687         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28688         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28689         here.
28690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28691         Update.
28693         * manual/arith.texi (FP Exceptions): Document that exceptions may
28694         not be raised when matherr is used.
28695         (Math Error Reporting): Document overflow in directed rounding
28696         modes.  Document that errno may not be set when finite values are
28697         returned on overflow.  Document intent to set errno on underflow
28698         only for underflow to zero.
28700         [BZ #16271]
28701         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28702         round-to-nearest then adjust result for other rounding modes.
28703         * include/fenv.h (fegetround): Use libm_hidden_proto.
28704         * math/fegetround.c (fegetround): Use libm_hidden_def.
28705         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28706         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28707         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28709         Likewise.
28710         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28712         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28713         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28715 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28717         [BZ #16077]
28718         * nss/Versions (libnss_files): Add
28719         _nss_files_gethostbyname3_r.
28720         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28721         New function.
28722         (HOST_DB_LOOKUP): Remove macro.
28723         (_nss_files_gethostbyname_r): Implement function without the
28724         HOST_DB_LOOKUP macro.
28725         (_nss_files_gethostbyname2_r): Likewise.
28727 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28729         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28731 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28733         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28734         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28735         warning.
28737 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28739         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28740         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28741         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28742         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28743         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28744         __fe_nomask_env_priv and attribute_hidden.
28745         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28746         (libc_feupdateenv_test_ppc): Likewise.
28747         (libc_feresetround_ppc): Likewise.
28748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28749         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28750         compat_symbol macro.
28751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28752         (__fe_nomask_env): Likewise.
28753         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28755 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28757         * string/Makefile: Remove ifunc tests.
28758         * string/test-string.h: Define TEST_IFUNC.
28759         * string/test-bcopy-ifunc.c: Remove.
28760         * string/test-bzero-ifunc.c: Likewise.
28761         * string/test-memccpy-ifunc.c: Likewise.
28762         * string/test-memchr-ifunc.c: Likewise.
28763         * string/test-memcmp-ifunc.c: Likewise.
28764         * string/test-memcpy-ifunc.c: Likewise.
28765         * string/test-memmem-ifunc.c: Likewise.
28766         * string/test-memmove-ifunc.c: Likewise.
28767         * string/test-mempcpy-ifunc.c: Likewise.
28768         * string/test-memrchr-ifunc.c: Likewise.
28769         * string/test-memset-ifunc.c: Likewise.
28770         * string/test-rawmemchr-ifunc.c: Likewise.
28771         * string/test-stpcpy-ifunc.c: Likewise.
28772         * string/test-stpncpy-ifunc.c: Likewise.
28773         * string/test-strcasecmp-ifunc.c: Likewise.
28774         * string/test-strcasestr-ifunc.c: Likewise.
28775         * string/test-strcat-ifunc.c: Likewise.
28776         * string/test-strchr-ifunc.c: Likewise.
28777         * string/test-strchrnul-ifunc.c: Likewise.
28778         * string/test-strcmp-ifunc.c: Likewise.
28779         * string/test-strcpy-ifunc.c: Likewise.
28780         * string/test-strcspn-ifunc.c: Likewise.
28781         * string/test-strlen-ifunc.c: Likewise.
28782         * string/test-strncasecmp-ifunc.c: Likewise.
28783         * string/test-strncat-ifunc.c: Likewise.
28784         * string/test-strncmp-ifunc.c: Likewise.
28785         * string/test-strncpy-ifunc.c: Likewise.
28786         * string/test-strnlen-ifunc.c: Likewise.
28787         * string/test-strpbrk-ifunc.c: Likewise.
28788         * string/test-strrchr-ifunc.c: Likewise.
28789         * string/test-strspn-ifunc.c: Likewise.
28790         * string/test-strstr-ifunc.c: Likewise.
28792 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28794         * benchtests/Makefile: Remove ifunc tests.
28795         * benchtests/bench-string.h: Define TEST_IFUNC.
28796         * benchtests/bench-bcopy-ifunc.c: Remove.
28797         * benchtests/bench-bzero-ifunc.c: Likewise.
28798         * benchtests/bench-memccpy-ifunc.c: Likewise.
28799         * benchtests/bench-memchr-ifunc.c: Likewise.
28800         * benchtests/bench-memcmp-ifunc.c: Likewise.
28801         * benchtests/bench-memcpy-ifunc.c: Likewise.
28802         * benchtests/bench-memmem-ifunc.c: Likewise.
28803         * benchtests/bench-memmove-ifunc.c: Likewise.
28804         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28805         * benchtests/bench-memrchr-ifunc.c: Likewise.
28806         * benchtests/bench-memset-ifunc.c: Likewise.
28807         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28808         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28809         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28810         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28811         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28812         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28813         * benchtests/bench-strcat-ifunc.c: Likewise.
28814         * benchtests/bench-strchr-ifunc.c: Likewise.
28815         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28816         * benchtests/bench-strcmp-ifunc.c: Likewise.
28817         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28818         * benchtests/bench-strcpy-ifunc.c: Likewise.
28819         * benchtests/bench-strcspn-ifunc.c: Likewise.
28820         * benchtests/bench-strlen-ifunc.c: Likewise.
28821         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28822         * benchtests/bench-strncat-ifunc.c: Likewise.
28823         * benchtests/bench-strncmp-ifunc.c: Likewise.
28824         * benchtests/bench-strncpy-ifunc.c: Likewise.
28825         * benchtests/bench-strnlen-ifunc.c: Likewise.
28826         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28827         * benchtests/bench-strrchr-ifunc.c: Likewise.
28828         * benchtests/bench-strsep-ifunc.c: Likewise.
28829         * benchtests/bench-strspn-ifunc.c: Likewise.
28830         * benchtests/bench-strstr-ifunc.c: Likewise.
28832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28834         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28836 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28838         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28839         * rt/aio.h: Likewise.
28840         * sysdeps/gnu/bits/utmp.h: Likewise.
28841         * sysdeps/gnu/bits/utmpx.h: Likewise.
28842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28843         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28844         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28845         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28846         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28847         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28848         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28849         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28850         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28851         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28852         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28853         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28854         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28856         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28857         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28858         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28859         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28860         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28861         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28862         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28863         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28864         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28865         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28866         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28868         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28869         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28870         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28871         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28872         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28873         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28874         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28875         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28876         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28877         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28878         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28879         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28880         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28881         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28882         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28883         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28885 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28887         [BZ #16245]
28888         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28889         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28891 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28893         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28894         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28895         Likewise.
28897 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28899         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28900         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28901         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28902         (__fesetround): Remove define.
28903         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28904         rounding and exceptions handling.
28905         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28906         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28907         (__fe_nomask_env): Likewise.
28908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28909         __fegetround instead of fegetround.
28910         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28911         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28913 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28915         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28916         it's there.
28918         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28920 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28922         [BZ #11157]
28923         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28924         (encrypt_r): Likewise.
28925         * malloc/obstack.h (obstack_free): Likewise.
28926         * posix/unistd.h (encrypt): Likewise.
28928 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28930         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28931         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28932         DL_CALL_DT_FINI() that call the functions directly.
28933         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28934         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28935         * elf/dl-fini.c: Likewise.
28937 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28939         * malloc/hooks.c (memalign_check): Add alignment rounding.
28940         * malloc/malloc.c (_mid_memalign): New function.
28941         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28942         Implement by calling _mid_memalign.
28943         * manual/probes.texi (Memory Allocation Probes): Remove
28944         memory_valloc_retry and memory_pvalloc_retry.
28946 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28948         * locale/programs/locarchive.c (open_archive): Add const
28949         qualifier to ARCHIVEFNAME and copy default fname to
28950         DEFAULT_FNAME.
28952         [BZ #15601]
28953         * libio/tst-widetext.input: Rename Oriya to Odia.
28954         * locale/iso-639.def: Likewise.
28956         * manual/probes.texi (Mathematical Function Probes): Add
28957         documentation for sin, cos, asin and acos probes.
28958         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28959         (__sin32): Add slowasin probe.
28960         (__cos32): Add slowacos probe.
28961         (__mpsin): Add slowsin probe.
28962         (__mpcos): Add slowcos probe.
28964 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28966         [BZ #15483]
28967         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28968         thread-local __sim_exceptions_thread and global
28969         __sim_exceptions_global.
28970         (__sim_disabled_exceptions): Change to thread-local
28971         __sim_disabled_exceptions_thread and global
28972         __sim_disabled_exceptions_global.
28973         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28974         and global __sim_round_mode_global.
28975         (__simulate_exceptions): Use thread-local floating-point state and
28976         set global state from it as needed.
28977         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28978         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28979         __sim_round_mode_thread.
28980         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28981         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28982         and global __sim_exceptions_global.
28983         (__sim_disabled_exceptions): Change to thread-local
28984         __sim_disabled_exceptions_thread and global
28985         __sim_disabled_exceptions_global.
28986         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28987         and global __sim_round_mode_global.
28988         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28989         (SIM_SET_GLOBAL): Likewise.
28990         * sysdeps/powerpc/soft-fp/sfp-machine.h
28991         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28992         __sim_round_mode_thread.
28993         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28994         __sim_disabled_exceptions_thread.
28995         (__sim_exceptions): Change to __sim_exceptions_thread.
28996         (__sim_disabled_exceptions): Change to
28997         __sim_disabled_exceptions_thread.
28998         (__sim_round_mode): Change to __sim_round_mode_thread.
28999         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29000         thread-local floating-point state and set global state from it as
29001         needed.
29002         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29003         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29004         (__sim_disabled_exceptions): Remove extern declaration.
29005         (feenableexcept): Use thread-local floating-point state and set
29006         global state from it as needed.
29007         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29008         extern declaration.
29009         (__sim_disabled_exceptions): Likewise.
29010         (__sim_round_mode): Likewise.
29011         (__fegetenv): Use thread-local floating-point state.
29012         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29013         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29014         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29015         floating-point state and set global state from it as needed.
29016         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29017         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29018         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29019         Likewise.
29020         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29021         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29022         Likewise.
29023         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29024         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29025         Use __sim_round_mode_thread.
29026         * math/test-fenv-tls.c: New file.
29027         * math/Makefile (tests): Add test-fenv-tls.
29028         ($(objpfx)test-fenv-tls): Depend on
29029         $(common-objpfx)nptl/libpthread.so.
29031 2013-11-19  Andreas Schwab  <schwab@suse.de>
29033         * locale/programs/locale.c (show_info): Decode wordarray elements.
29034         * locale/categories.def (LC_MONETARY): Add element for
29035         _NL_MONETARY_CRNCYSTR.
29036         * locale/C-monetary.c (conversion_rate): New variable.
29037         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29038         element.
29040 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29042         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29043         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29045 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29047         * elf/Makefile (tst-auxv): New test.
29048         * elf/tst-auxv.c: New
29049         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29051 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29053         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29054         (hidden_proto): Caller changed.
29055         (hidden_tls_proto): New macro.
29056         (libc_hidden_tls_proto): Likewise.
29057         (rtld_hidden_tls_proto): Likewise.
29058         (libm_hidden_tls_proto): Likewise.
29059         (libresolv_hidden_tls_proto): Likewise.
29060         (librt_hidden_tls_proto): Likewise.
29061         (libdl_hidden_tls_proto): Likewise.
29062         (libnss_files_hidden_tls_proto): Likewise.
29063         (libnsl_hidden_tls_proto): Likewise.
29064         (libnss_nisplus_hidden_tls_proto): Likewise.
29065         (libutil_hidden_tls_proto): Likewise.
29067 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29069         [BZ #10253]
29070         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29071         (decompose_rpath): Defer expansion to fillin_rpath.
29072         (_dl_init_paths): Pass linkmap to fillin_rpath.
29074 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29076         * benchtests/Makefile: Add strsep.
29077         * benchtests/bench-strsep.c: New file: strsep benchtest.
29078         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29080 2013-11-18  Andreas Schwab  <schwab@suse.de>
29082         * locale/programs/locale.c (show_info) [case byte]: Check for
29083         '\377' instead of '\177'.
29084         * locale/C-monetary.c (not_available): Always use "\377".
29085         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29086         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29087         detect unavailable sign_posn locale elements.
29088         * locale/localeconv.c (__localeconv): For grouping and
29089         mon_grouping handle "\177" and "\377" like no grouping.
29090         (INT_ELEM): New macro.  Use it to set all numeric members.
29091         * locale/programs/ld-monetary.c (monetary_read)
29092         <tok_mon_grouping>: Normalize single -1 to the empty string.
29093         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29094         Likewise.
29096 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29098         [BZ #16055]
29099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29100         when we match (nil).
29101         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29103 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29105         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29106         (NO_TEST_INLINE): Update value.
29107         (ERRNO_UNCHANGED): Likewise.
29108         (ERRNO_EDOM): Likewise.
29109         (ERRNO_ERANGE): Likewise.
29110         (IGNORE_RESULT): Likewise.
29111         (check_float_internal): Check signs of NaN results if
29112         TEST_NAN_SIGN used.
29113         (check_complex): Pass TEST_NAN_SIGN flag through to second
29114         check_float_internal call.
29115         (copysign_test_data): Add tests with quiet NaNs as second
29116         argument.  Use TEST_NAN_SIGN.
29117         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29118         TEST_NAN_SIGN.
29119         (signbit_test_data): Add tests of quiet NaN argument.
29120         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29122         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29123         $ignore_result.
29124         (parse_args): Handle function results specified as IGNORE.
29125         * math/libm-test.inc (IGNORE_RESULT): New macro.
29126         (check_float_internal): Do not check numerical result if flag
29127         IGNORE_RESULT set.
29128         (check_complex): Pass through IGNORE_RESULT to second
29129         check_float_internal call.
29130         (check_int): Do not check numerical result if flag IGNORE_RESULT
29131         set.
29132         (check_long): Likewise.
29133         (check_bool): Likewise.
29134         (check_longlong): Likewise.
29135         (lrint_test_data): Add tests of infinite and NaN arguments.
29136         (lrint_tonearest_test_data): Likewise.
29137         (lrint_towardzero_test_data): Likewise.
29138         (lrint_downward_test_data): Likewise.
29139         (lrint_upward_test_data): Likewise.
29140         (llrint_test_data): Likewise.
29141         (llrint_tonearest_test_data): Likewise.
29142         (llrint_towardzero_test_data): Likewise.
29143         (llrint_downward_test_data): Likewise.
29144         (llrint_upward_test_data): Likewise.
29145         (lround_test_data): Likewise.
29146         (llround_test_data): Likewise.
29148         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29149         (ERRNO_UNCHANGED): Update value.
29150         (ERRNO_EDOM): Likewise.
29151         (ERRNO_ERANGE): Likewise.
29152         (NO_TEST_INLINE_FLOAT): New macro.
29153         (NO_TEST_INLINE_DOUBLE): Likewise.
29154         (enable_test): New function.
29155         (RUN_TEST_f_f): Check enable_test before running test.
29156         (RUN_TEST_2_f): Likewise.
29157         (RUN_TEST_fff_f): Likewise.
29158         (RUN_TEST_c_f): Likewise.
29159         (RUN_TEST_f_f1): Likewise.
29160         (RUN_TEST_fF_f1): Likewise.
29161         (RUN_TEST_fI_f1): Likewise.
29162         (RUN_TEST_ffI_f1): Likewise.
29163         (RUN_TEST_c_c): Likewise.
29164         (RUN_TEST_cc_c): Likewise.
29165         (RUN_TEST_f_i): Likewise.
29166         (RUN_TEST_f_i_tg): Likewise.
29167         (RUN_TEST_ff_i_tg): Likewise.
29168         (RUN_TEST_f_b): Likewise.
29169         (RUN_TEST_f_b_tg): Likewise.
29170         (RUN_TEST_f_l): Likewise.
29171         (RUN_TEST_f_L): Likewise.
29172         (RUN_TEST_fFF_11): Likewise.
29173         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29174         conditionals.
29175         (cosh_test_data): Likewise.
29176         (exp_test_data): Likewise.
29177         (expm1_test_data): Likewise.
29178         (hypot_test_data): Likewise.
29179         (pow_test_data): Likewise.
29180         (sinh_test_data): Likewise.
29181         (tanh_test_data): Likewise.
29182         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29183         flags argument.
29185         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29186         tests with quiet NaN input and output.
29187         (acosh_test_data): Likewise.
29188         (asin_test_data): Likewise.
29189         (asinh_test_data): Likewise.
29190         (atan_test_data): Likewise.
29191         (atanh_test_data): Likewise.
29192         (atan2_test_data): Likewise.
29193         (cbrt_test_data): Likewise.
29194         (cos_test_data): Likewise.
29195         (cosh_test_data): Likewise.
29196         (erf_test_data): Likewise.
29197         (erfc_test_data): Likewise.
29198         (exp_test_data): Likewise.
29199         (exp10_test_data): Likewise.
29200         (exp2_test_data): Likewise.
29201         (expm1_test_data): Likewise.
29202         (hypot_test_data): Likewise.
29203         (j0_test_data): Likewise.
29204         (j1_test_data): Likewise.
29205         (jn_test_data): Likewise.
29206         (lgamma_test_data): Likewise.
29207         (log_test_data): Likewise.
29208         (log10_test_data): Likewise.
29209         (log1p_test_data): Likewise.
29210         (log2_test_data): Likewise.
29211         (pow_test_data): Likewise.
29212         (scalb_test_data): Likewise.
29213         (sin_test_data): Likewise.
29214         (sincos_test_data): Likewise.
29215         (sinh_test_data): Likewise.
29216         (tan_test_data): Likewise.
29217         (tanh_test_data): Likewise.
29218         (tgamma_test_data): Likewise.
29219         (y0_test_data): Likewise.
29220         (y1_test_data): Likewise.
29221         (yn_test_data): Likewise.
29223         [BZ #16167]
29224         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29225         argument being NaN and avoid computations with second argument in
29226         that case.
29227         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29228         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29229         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29231 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29233         * locale/iso-639.def: Add Chitwani Tharu (the).
29235 2013-11-14  Andreas Schwab  <schwab@suse.de>
29237         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29238         word instead of empty string.
29240 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29243         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29245         (__fe_nomask_env): Likewise.
29247 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29249         * benchtests/bench-timing.h: Include time.h.
29251 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29253         [BZ #15997]
29254         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29255         to 3.4.0 for x32.
29256         * sysdeps/unix/sysv/linux/configure: Regenerated.
29258 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29260         [BZ #16151]
29261         * stdlib/strtod_l.c (round_and_return): Do not consider
29262         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29263         exponent one less than half the least subnormal exponent.
29264         * stdlib/test-strtod-round-data: Add more tests.
29265         * stdlib/tst-strtod-round.c (tests): Regenerated.
29267 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29269         [BZ #14143]
29270         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29271         (__fe_mask_env): Likewise.
29272         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29273         libm_hidden_proto and add function prototype.
29274         (__fe_mask_env): Add function prototype.
29275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29276         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29278         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29280         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29282 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29284         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29285         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29287 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29289         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29290         of htab_find_slot().
29292 2013-11-11  David S. Miller  <davem@davemloft.net>
29294         [BZ #16150]
29295         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29296         symbol in the non-vis3 case in static builds.
29297         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29298         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29299         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29300         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29302 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29304         [BZ #387]
29305         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29306         it is empty.
29308 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29310         * benchtests/Makefile: Add bench-strtod.
29311         * benchtests/bench-strtod.c: New file: strtod benchtest
29313 2013-11-11  Andreas Schwab  <schwab@suse.de>
29315         [BZ #16153]
29316         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29317         terminating NUL in key length.
29319 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29321         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29322         Add artificial ODP entry for vDSO symbol for PPC64.
29323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29324         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29326 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29328         [BZ #15374]
29329         * nss/getent.c (services_keys): Recognize services starting with digit.
29331 2013-11-06  David S. Miller  <davem@davemloft.net>
29333         [BZ #15985]
29334         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29335         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29337 2013-11-06  Will Newton  <will.newton@linaro.org>
29339         * manual/memory.texi (Malloc Examples): Remove register
29340         keyword from examples.
29342 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29344         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29346 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29348         [BZ #6981]
29349         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29350         depending on [__GCC_IEC_559 > 0].
29351         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29352         depending on [__GCC_IEC_559_COMPLEX > 0].
29354 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29356         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29357         to iso-639.def.
29359 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29361         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29363 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29365         [BZ #16112]
29366         * malloc/malloc (malloc_info): Do not handle first bin as
29367         special case.
29369 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29371         * locale/iso-639.def: Add Central Nahuatl (nhn).
29373 2013-11-01  Bruno Haible  <bruno@clisp.org>
29375         [BZ #7003]
29376         * manual/math.texi (BSD Random): Specify range upper bound as
29377         in POSIX.
29379 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29381         * locale/iso-639.def: Add Meadow Mari (mhr).
29383 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29385         [BZ #14752], [BZ #15763]
29386         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29387         Validate name.
29388         * rt/tst_shm.c: Add test for escaping directory.
29390 2013-10-31  Andreas Schwab  <schwab@suse.de>
29392         [BZ #15917]
29393         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29394         followed by 'x' as part of digit sequence.
29395         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29397 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29399         [BZ #16037]
29400         * configure.ac: allow GNU Make 4.0 and greater.
29401         * configure: Regenerated.
29403 2013-10-30  Will Newton  <will.newton@linaro.org>
29405         [BZ #16038]
29406         * malloc/hooks.c (memalign_check): Limit alignment to the
29407         maximum representable power of two.
29408         * malloc/malloc.c (__libc_memalign): Likewise.
29409         * malloc/tst-memalign.c (do_test): Add test for very
29410         large alignment values.
29411         * malloc/tst-posix_memalign.c (do_test): Likewise.
29413 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29415         [BZ #11087]
29416         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29417         (munmap_chunk): Likewise.
29418         (mremap_chunk): Likewise.
29420 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29422         [BZ #15799]
29423         * stdlib/div.c (div): Remove obsolete code.
29424         * stdlib/ldiv.c (ldiv): Likewise.
29425         * stdlib/lldiv.c (lldiv): Likewise.
29427 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29429         [BZ #16071]
29430         * nss/nss_files/files-XXX.c (get_contents_ret): New
29431         enumerator.
29432         (get_contents): New function.
29433         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29435 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29437         * configure.in: Moved to ...
29438         * configure.ac: ... here. Change reference to configure.in
29439         to configure.ac.
29440         * sysdeps/arm/preconfigure.ac: ... here.
29441         configure.in to configure.ac.
29442         * sysdeps/gnu/configure.in: Moved to ...
29443         * sysdeps/gnu/configure.ac: ... here.
29444         * sysdeps/i386/configure.in: Moved to ...
29445         * sysdeps/i386/configure.ac: ... here.
29446         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29447         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29448         * sysdeps/mach/configure.in: Moved to ...
29449         * sysdeps/mach/configure.ac: ... here.
29450         * sysdeps/mach/hurd/configure.in: Moved to ...
29451         * sysdeps/mach/hurd/configure.ac: ... here.
29452         * sysdeps/powerpc/configure.in: Moved to ...
29453         * sysdeps/powerpc/configure.ac: ... here.
29454         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29455         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29456         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29457         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29458         * sysdeps/s390/s390-32/configure.in: Moved to ...
29459         * sysdeps/s390/s390-32/configure.ac: ... here.
29460         * sysdeps/s390/s390-64/configure.in: Moved to ...
29461         * sysdeps/s390/s390-64/configure.ac: ... here.
29462         * sysdeps/sh/configure.in: Moved to ...
29463         * sysdeps/sh/configure.ac: ... here.
29464         * sysdeps/sparc/configure.in: Moved to ...
29465         * sysdeps/sparc/configure.ac: ... here.
29466         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29467         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29468         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29469         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29470         * sysdeps/x86_64/configure.in: Moved to ...
29471         * sysdeps/x86_64/configure.ac: ... here.
29472         * sysdeps/x86_64/preconfigure.in: Moved to ...
29473         * sysdeps/x86_64/preconfigure.ac: ... here.
29474         * aclocal.m4: Change reference to configure.in to configure.ac.
29475         * config.h.in: Likewise.
29476         * manual/install.texi: Likewise.
29477         * manual/maint.texi: Likewise.
29478         * Makefile: Likewise.
29479         * malloc/Makefile: Likewise.
29480         * nscd/Makefile: Likewise.
29481         * Makeconfig: Change reference to configure.in and
29482         preconfigure.in to configure.ac and preconfigure.ac
29483         respectively.
29484         * INSTALL: Regenerated.
29485         * configure: Likewise.
29486         * sysdeps/gnu/configure: Likewise.
29487         * sysdeps/i386/configure: Likewise.
29488         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29489         * sysdeps/mach/configure: Likewise.
29490         * sysdeps/mach/hurd/configure: Likewise.
29491         * sysdeps/powerpc/configure: Likewise.
29492         * sysdeps/powerpc/powerpc32/configure: Likewise.
29493         * sysdeps/powerpc/powerpc64/configure: Likewise.
29494         * sysdeps/s390/s390-32/configure: Likewise.
29495         * sysdeps/s390/s390-64/configure: Likewise.
29496         * sysdeps/sh/configure: Likewise.
29497         * sysdeps/sparc/configure: Likewise.
29498         * sysdeps/unix/sysv/linux/configure: Likewise.
29499         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29500         * sysdeps/x86_64/configure: Likewise.
29501         * sysdeps/x86_64/preconfigure: Likewise.
29503 2013-10-29  Andreas Schwab  <schwab@suse.de>
29505         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29507 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29509         * benchtests/pow-inputs: Add new inputs.
29511         * benchtests/exp-inputs: Add new inputs.
29513         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29514         conditional check for return value.
29515         (__cos32): Likewise.
29517 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29519         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29520         to provide a boost for large inputs with word alignment.
29521         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29522         implementation based on optimized PPC64 strcpy.
29523         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29524         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29525         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29526         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29528 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29530         [BZ #2801]
29531         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29533 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29535         [BZ #14876]
29536         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29537         * time/tst-strptime.c (day_tests): Add testcase.
29539 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29541         [BZ #14029]
29542         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29544 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29546         [BZ #16074]
29547         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29548         MAP_FAILED on error.
29550 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29552         [BZ #16072]
29553         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29554         heap for large requests.
29556 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29558         [BZ #9954]
29559         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29560         result if the result has no associated interface.
29561         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29562         interface for all 127.X.Y.Z addresses.
29564 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29566         * locale/iso-639.def: Add Ligurian (lij)
29568 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29570         [BZ #15825]
29571         * sunrpc/rpc_main.c: Document rpcgen -5.
29573 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29575         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29577 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29579         [BZ #10278]
29580         * posix/glob.c: Match only directories when trailing slash is present.
29581         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29582         (main): Add testcase.
29584 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29586         [BZ #15670]
29587         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29589 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29591         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29592         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29593         AUTH_DES and cindex for FIPS 140-2.
29594         (DES Encryption): Add cindex FIPS 46-3.
29596         * locale/locarchive.h (struct locarhandle): Add fname.
29597         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29598         if an optional argument was specified to --list-archive,
29599         otherwise NULL.
29600         * locale/programs/locarchive.c (show_archive_content): Take new
29601         argument fname and pass it via ah.fname to open_archive.
29602         * locale/programs/localedef.h: Update decl.
29603         (open_archive): If AH->fname is non-null, open that file
29604         rather than the default file name, and don't ignore ENOENT.
29605         (create_archive): Set AH.fname to NULL.
29606         (delete_locales_from_archive): Likewise.
29607         (add_locales_to_archive): Likewise.
29608         * locale/programs/locfile.c (write_all_categories): Likewise.
29610 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29611             Aldy Hernandez  <aldyh@redhat.com>
29613         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29614         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29615         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29616         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29617         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29618         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29619         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29620         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29621         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29622         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29623         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29624         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29625         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29626         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29628         Likewise.
29629         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29630         Likewise.
29631         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29632         Likewise.
29633         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29634         Likewise.
29635         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29636         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29637         Likewise.
29638         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29639         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29640         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29641         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29642         Likewise.
29643         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29644         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29645         * sysdeps/powerpc/preconfigure: Likewise.
29646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29647         Likewise.
29648         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29649         Replace contents of file by #include of <fenv_libc.h>.
29650         * sysdeps/powerpc/soft-fp/sfp-machine.h
29651         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29652         and <sys/prctl.h>.
29653         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29661         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29662         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29663         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29666         Allow copysignl PLT reference to be missing.
29668 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29669             Joseph Myers  <joseph@codesourcery.com
29671         [BZ #15948]
29672         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29673         single character.
29674         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29676 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29678         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29679         * elf/tst-tls1.c: Likewise.
29680         * elf/tst-tls10.h: Likewise.
29681         * elf/tst-tls14.c: Likewise.
29682         * elf/tst-tls2.c: Likewise.
29683         * elf/tst-tls3.c: Likewise.
29684         * elf/tst-tls4.c: Likewise.
29685         * elf/tst-tls5.c: Likewise.
29686         * elf/tst-tls6.c: Likewise.
29687         * elf/tst-tls7.c: Likewise.
29688         * elf/tst-tls8.c: Likewise.
29689         * elf/tst-tls9.c: Likewise.
29690         * elf/tst-tlsmod1.c: Likewise.
29691         * elf/tst-tlsmod13.c: Likewise.
29692         * elf/tst-tlsmod13a.c: Likewise.
29693         * elf/tst-tlsmod14a.c: Likewise.
29694         * elf/tst-tlsmod16a.c: Likewise.
29695         * elf/tst-tlsmod16b.c: Likewise.
29696         * elf/tst-tlsmod2.c: Likewise.
29697         * elf/tst-tlsmod3.c: Likewise.
29698         * elf/tst-tlsmod4.c: Likewise.
29699         * elf/tst-tlsmod5.c: Likewise.
29700         * elf/tst-tlsmod6.c: Likewise.
29702 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29704         [BZ #12486]
29705         * malloc/malloc.c: remove checks for statistics.
29707 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29709         [BZ #15277]
29710         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29711         * inet/tst-network.c: Add testcase.
29713 2013-10-17  Andreas Schwab  <schwab@suse.de>
29715         [BZ #15218]
29716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29717         to determine canonical name.
29719 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29721         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29722         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29724         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29726         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29727         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29728         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29729         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29730         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29731         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29732         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29733         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29734         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29736         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29739         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29740         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29744         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29745         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29746         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29747         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29748         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29749         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29750         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29751         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29753         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29754         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29757         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29758         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29759         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29761         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29762         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29763         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29764         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29765         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29766         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29768         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29769         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29770         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29771         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29772         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29773         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29774         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29776         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29778         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29780 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29782         [BZ #16041]
29783         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29784         make result into a quiet NaN.
29786 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29788         * soft-fp/adddf3.c: Fix horizontal whitespace.
29789         * soft-fp/addsf3.c: Likewise.
29790         * soft-fp/addtf3.c: Likewise.
29791         * soft-fp/divdf3.c: Likewise.
29792         * soft-fp/divsf3.c: Likewise.
29793         * soft-fp/divtf3.c: Likewise.
29794         * soft-fp/double.h: Likewise.
29795         * soft-fp/eqdf2.c: Likewise.
29796         * soft-fp/eqsf2.c: Likewise.
29797         * soft-fp/eqtf2.c: Likewise.
29798         * soft-fp/extenddftf2.c: Likewise.
29799         * soft-fp/extended.h: Likewise.
29800         * soft-fp/extendsfdf2.c: Likewise.
29801         * soft-fp/extendsftf2.c: Likewise.
29802         * soft-fp/extendxftf2.c: Likewise.
29803         * soft-fp/fixdfdi.c: Likewise.
29804         * soft-fp/fixdfsi.c: Likewise.
29805         * soft-fp/fixdfti.c: Likewise.
29806         * soft-fp/fixsfdi.c: Likewise.
29807         * soft-fp/fixsfsi.c: Likewise.
29808         * soft-fp/fixsfti.c: Likewise.
29809         * soft-fp/fixtfdi.c: Likewise.
29810         * soft-fp/fixtfsi.c: Likewise.
29811         * soft-fp/fixtfti.c: Likewise.
29812         * soft-fp/fixunsdfdi.c: Likewise.
29813         * soft-fp/fixunsdfsi.c: Likewise.
29814         * soft-fp/fixunsdfti.c: Likewise.
29815         * soft-fp/fixunssfdi.c: Likewise.
29816         * soft-fp/fixunssfsi.c: Likewise.
29817         * soft-fp/fixunssfti.c: Likewise.
29818         * soft-fp/fixunstfdi.c: Likewise.
29819         * soft-fp/fixunstfsi.c: Likewise.
29820         * soft-fp/fixunstfti.c: Likewise.
29821         * soft-fp/floatdidf.c: Likewise.
29822         * soft-fp/floatdisf.c: Likewise.
29823         * soft-fp/floatditf.c: Likewise.
29824         * soft-fp/floatsidf.c: Likewise.
29825         * soft-fp/floatsisf.c: Likewise.
29826         * soft-fp/floatsitf.c: Likewise.
29827         * soft-fp/floattidf.c: Likewise.
29828         * soft-fp/floattisf.c: Likewise.
29829         * soft-fp/floattitf.c: Likewise.
29830         * soft-fp/floatundidf.c: Likewise.
29831         * soft-fp/floatundisf.c: Likewise.
29832         * soft-fp/floatunditf.c: Likewise.
29833         * soft-fp/floatunsidf.c: Likewise.
29834         * soft-fp/floatunsisf.c: Likewise.
29835         * soft-fp/floatunsitf.c: Likewise.
29836         * soft-fp/floatuntidf.c: Likewise.
29837         * soft-fp/floatuntisf.c: Likewise.
29838         * soft-fp/floatuntitf.c: Likewise.
29839         * soft-fp/fmadf4.c: Likewise.
29840         * soft-fp/fmasf4.c: Likewise.
29841         * soft-fp/fmatf4.c: Likewise.
29842         * soft-fp/gedf2.c: Likewise.
29843         * soft-fp/gesf2.c: Likewise.
29844         * soft-fp/getf2.c: Likewise.
29845         * soft-fp/ledf2.c: Likewise.
29846         * soft-fp/lesf2.c: Likewise.
29847         * soft-fp/letf2.c: Likewise.
29848         * soft-fp/muldf3.c: Likewise.
29849         * soft-fp/mulsf3.c: Likewise.
29850         * soft-fp/multf3.c: Likewise.
29851         * soft-fp/negdf2.c: Likewise.
29852         * soft-fp/negsf2.c: Likewise.
29853         * soft-fp/negtf2.c: Likewise.
29854         * soft-fp/op-1.h: Likewise.
29855         * soft-fp/op-2.h: Likewise.
29856         * soft-fp/op-4.h: Likewise.
29857         * soft-fp/op-8.h: Likewise.
29858         * soft-fp/op-common.h: Likewise.
29859         * soft-fp/quad.h: Likewise.
29860         * soft-fp/single.h: Likewise.
29861         * soft-fp/soft-fp.h: Likewise.
29862         * soft-fp/sqrtdf2.c: Likewise.
29863         * soft-fp/sqrtsf2.c: Likewise.
29864         * soft-fp/sqrttf2.c: Likewise.
29865         * soft-fp/subdf3.c: Likewise.
29866         * soft-fp/subsf3.c: Likewise.
29867         * soft-fp/subtf3.c: Likewise.
29868         * soft-fp/truncdfsf2.c: Likewise.
29869         * soft-fp/trunctfdf2.c: Likewise.
29870         * soft-fp/trunctfsf2.c: Likewise.
29871         * soft-fp/trunctfxf2.c: Likewise.
29872         * soft-fp/unorddf2.c: Likewise.
29873         * soft-fp/unordsf2.c: Likewise.
29874         * soft-fp/unordtf2.c: Likewise.
29876 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29878         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29879         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29881 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29883         * elf/dl-libc.c: Clear initfini list after freeing.
29885 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29887         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29888         * soft-fp/addsf3.c: Likewise.
29889         * soft-fp/addtf3.c: Likewise.
29890         * soft-fp/divdf3.c: Likewise.
29891         * soft-fp/divsf3.c: Likewise.
29892         * soft-fp/divtf3.c: Likewise.
29893         * soft-fp/double.h: Likewise.
29894         * soft-fp/eqdf2.c: Likewise.
29895         * soft-fp/eqsf2.c: Likewise.
29896         * soft-fp/eqtf2.c: Likewise.
29897         * soft-fp/extenddftf2.c: Likewise.
29898         * soft-fp/extended.h: Likewise.
29899         * soft-fp/extendsfdf2.c: Likewise.
29900         * soft-fp/extendsftf2.c: Likewise.
29901         * soft-fp/extendxftf2.c: Likewise.
29902         * soft-fp/fixdfdi.c: Likewise.
29903         * soft-fp/fixdfsi.c: Likewise.
29904         * soft-fp/fixdfti.c: Likewise.
29905         * soft-fp/fixsfdi.c: Likewise.
29906         * soft-fp/fixsfsi.c: Likewise.
29907         * soft-fp/fixsfti.c: Likewise.
29908         * soft-fp/fixtfdi.c: Likewise.
29909         * soft-fp/fixtfsi.c: Likewise.
29910         * soft-fp/fixtfti.c: Likewise.
29911         * soft-fp/fixunsdfdi.c: Likewise.
29912         * soft-fp/fixunsdfsi.c: Likewise.
29913         * soft-fp/fixunsdfti.c: Likewise.
29914         * soft-fp/fixunssfdi.c: Likewise.
29915         * soft-fp/fixunssfsi.c: Likewise.
29916         * soft-fp/fixunssfti.c: Likewise.
29917         * soft-fp/fixunstfdi.c: Likewise.
29918         * soft-fp/fixunstfsi.c: Likewise.
29919         * soft-fp/fixunstfti.c: Likewise.
29920         * soft-fp/floatdidf.c: Likewise.
29921         * soft-fp/floatdisf.c: Likewise.
29922         * soft-fp/floatditf.c: Likewise.
29923         * soft-fp/floatsidf.c: Likewise.
29924         * soft-fp/floatsisf.c: Likewise.
29925         * soft-fp/floatsitf.c: Likewise.
29926         * soft-fp/floattidf.c: Likewise.
29927         * soft-fp/floattisf.c: Likewise.
29928         * soft-fp/floattitf.c: Likewise.
29929         * soft-fp/floatundidf.c: Likewise.
29930         * soft-fp/floatundisf.c: Likewise.
29931         * soft-fp/floatunsidf.c: Likewise.
29932         * soft-fp/floatunsisf.c: Likewise.
29933         * soft-fp/floatuntidf.c: Likewise.
29934         * soft-fp/floatuntisf.c: Likewise.
29935         * soft-fp/floatuntitf.c: Likewise.
29936         * soft-fp/fmadf4.c: Likewise.
29937         * soft-fp/fmasf4.c: Likewise.
29938         * soft-fp/fmatf4.c: Likewise.
29939         * soft-fp/gedf2.c: Likewise.
29940         * soft-fp/gesf2.c: Likewise.
29941         * soft-fp/getf2.c: Likewise.
29942         * soft-fp/ledf2.c: Likewise.
29943         * soft-fp/lesf2.c: Likewise.
29944         * soft-fp/letf2.c: Likewise.
29945         * soft-fp/muldf3.c: Likewise.
29946         * soft-fp/mulsf3.c: Likewise.
29947         * soft-fp/multf3.c: Likewise.
29948         * soft-fp/negdf2.c: Likewise.
29949         * soft-fp/negsf2.c: Likewise.
29950         * soft-fp/negtf2.c: Likewise.
29951         * soft-fp/op-1.h: Likewise.
29952         * soft-fp/op-2.h: Likewise.
29953         * soft-fp/op-4.h: Likewise.
29954         * soft-fp/op-8.h: Likewise.
29955         * soft-fp/op-common.h: Likewise.
29956         * soft-fp/quad.h: Likewise.
29957         * soft-fp/single.h: Likewise.
29958         * soft-fp/soft-fp.h: Likewise.
29959         * soft-fp/sqrtdf2.c: Likewise.
29960         * soft-fp/sqrtsf2.c: Likewise.
29961         * soft-fp/sqrttf2.c: Likewise.
29962         * soft-fp/subdf3.c: Likewise.
29963         * soft-fp/subsf3.c: Likewise.
29964         * soft-fp/subtf3.c: Likewise.
29965         * soft-fp/truncdfsf2.c: Likewise.
29966         * soft-fp/trunctfdf2.c: Likewise.
29967         * soft-fp/trunctfsf2.c: Likewise.
29968         * soft-fp/trunctfxf2.c: Likewise.
29969         * soft-fp/unorddf2.c: Likewise.
29970         * soft-fp/unordsf2.c: Likewise.
29971         * soft-fp/unordtf2.c: Likewise.
29973 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29975         [BZ #15672]
29976         * misc/error.c (error_tail): Fix possible buffer overflow.
29978 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29980         [BZ #13028]
29981         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29982         address.
29984 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29986         [BZ #832]
29987         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29988         testing pipefail option.
29990 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29992         * soft-fp/double.h: Indent preprocessor directives inside #if.
29993         * soft-fp/extended.h: Likewise.
29994         * soft-fp/op-2.h: Likewise.
29995         * soft-fp/op-4.h: Likewise.
29996         * soft-fp/op-common.h: Likewise.
29997         * soft-fp/quad.h: Likewise.
29998         * soft-fp/single.h: Likewise.
29999         * soft-fp/soft-fp.h: Likewise.
30001 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30003         * iconv/iconv_prog.c: Fix typos.
30004         * stdio-common/psiginfo-data.h: Likewise.
30006 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30008         [BZ #15764]
30009         * locale/setlocale.c: Fix typo.
30011 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30013         [BZ #16036]
30014         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30015         signaling NaN arguments.
30016         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30017         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30019         [BZ #14910]
30020         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30021         unordered operands.
30022         * soft-fp/gesf2.c (__gesf2): Likewise.
30023         * soft-fp/getf2.c (__getf2): Likewise.
30024         * soft-fp/ledf2.c (__ledf2): Likewise.
30025         * soft-fp/lesf2.c (__lesf2): Likewise.
30026         * soft-fp/letf2.c (__letf2): Likewise.
30028         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30029         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30030         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30031         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30032         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30033         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30034         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30035         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30036         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30037         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30038         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30039         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30040         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30041         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30042         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30043         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30044         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30045         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30046         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30047         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30048         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30049         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30050         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30051         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30052         * soft-fp/floattidf.c (__floattidf): Likewise.
30053         * soft-fp/floattisf.c (__floattisf): Likewise.
30054         * soft-fp/floattitf.c (__floattitf): Likewise.
30055         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30056         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30057         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30058         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30059         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30060         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30061         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30062         * soft-fp/gesf2.c (__gesf2): Likewise.
30063         * soft-fp/getf2.c (__getf2): Likewise.
30064         * soft-fp/ledf2.c (__ledf2): Likewise.
30065         * soft-fp/lesf2.c (__lesf2): Likewise.
30066         * soft-fp/letf2.c (__letf2): Likewise.
30068         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30069         Undefine and redefine.
30070         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30071         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30072         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30073         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30074         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30075         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30076         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30077         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30078         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30079         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30080         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30081         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30082         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30083         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30084         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30086         [BZ #16032]
30087         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30088         without decrementing exponent if mantissa >= that for the
30089         denominator, not >.
30090         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30091         denominator, not >.  Decrement exponent in < case instead of
30092         incrementing in >= case.
30093         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30094         without decrementing exponent if mantissa >= that for the
30095         denominator, not >.
30097         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30098         computing saturated result for unsigned overflow.
30100 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30101             Jeff Law  <law@redhat.com>
30103         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30104         (atan2Mp): Add systemtap probe marker.
30105         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30106         (__ieee754_log): Add systemtap probe marker.
30107         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30108         (atanMp): Add systemtap probe marker.
30109         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30110         (tanMp): Add systemtap probe marker.
30111         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30112         (__slowexp): Add systemtap probe marker.
30113         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30114         (__slowpow): Add systemtap probe marker.
30115         * manual/probes.texi: Document probes.
30117 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30119         [BZ #15362]
30120         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30121         written.
30122         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30123         written.
30124         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30125         written to buffer but not flushed.
30126         * libio/iofwrite_u.c:  Likewise.
30127         * libio/iopadn.c:  Return bytes returned even if EOF was
30128         encountered.
30129         * libio/iowpadn.c:  Likewise.
30130         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30131         if _IO_padn does not write the whole buffer.
30132         [!COMPILE_WPRINTF] (PAD): Likewise.
30134 2013-10-10  David S. Miller  <davem@davemloft.net>
30136         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30137         directory block.
30139 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30141         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30142         instead of FSF address.
30143         * soft-fp/fixdfti.c: Likewise.
30144         * soft-fp/fixsfti.c: Likewise.
30145         * soft-fp/fixtfti.c: Likewise.
30146         * soft-fp/fixunsdfti.c: Likewise.
30147         * soft-fp/fixunssfti.c: Likewise.
30148         * soft-fp/fixunstfti.c: Likewise.
30149         * soft-fp/floattidf.c: Likewise.
30150         * soft-fp/floattisf.c: Likewise.
30151         * soft-fp/floattitf.c: Likewise.
30152         * soft-fp/floatuntidf.c: Likewise.
30153         * soft-fp/floatuntisf.c: Likewise.
30154         * soft-fp/floatuntitf.c: Likewise.
30155         * soft-fp/trunctfxf2.c: Likewise.
30157         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30158         * soft-fp/fixdfti.c: Likewise.
30159         * soft-fp/fixsfti.c: Likewise.
30160         * soft-fp/fixtfti.c: Likewise.
30161         * soft-fp/fixunsdfti.c: Likewise.
30162         * soft-fp/fixunssfti.c: Likewise.
30163         * soft-fp/fixunstfti.c: Likewise.
30164         * soft-fp/floattidf.c: Likewise.
30165         * soft-fp/floattisf.c: Likewise.
30166         * soft-fp/floattitf.c: Likewise.
30167         * soft-fp/floatuntidf.c: Likewise.
30168         * soft-fp/floatuntisf.c: Likewise.
30169         * soft-fp/floatuntitf.c: Likewise.
30170         * soft-fp/trunctfxf2.c: Likewise.
30172 2013-10-10  David S. Miller  <davem@davemloft.net>
30174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30176 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30178         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30179         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30180         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30181         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30182         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30183         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30184         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30187         for NaNs before doing comparisons on argument.
30188         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30189         Likewise.
30191 2013-10-10  Will Newton  <will.newton@linaro.org>
30193         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30194         passed to _int_memalign does not overflow.
30196 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30198         * scripts/bench.pl: Add include-sources directive.
30199         * benchtests/README: Update documentation.
30201 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30203         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30204         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30205         instead of FP_INIT_ROUNDMODE.
30206         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30207         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30209         [BZ #16034]
30210         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30211         copy class of input value.
30212         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30213         not handle exceptions.
30214         * soft-fp/negsf2.c (__negsf2): Likewise.
30215         * soft-fp/negtf2.c (__negtf2): Likewise.
30216         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30218 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30220         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30221         semicolon.  From Linux kernel.
30223 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30225         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30227 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30229         [BZ #156]
30230         * manual/socket.texi: Added statement about buffer
30231         for gethostbyname2_r.
30233 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30235         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30236         Use .p2align directive instead, throughout.
30237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30238         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30239         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30242         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30243         * sysdeps/x86_64/strchr.S: Likewise.
30244         * sysdeps/x86_64/strrchr.S: Likewise.
30246 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30248         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30250         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30252         * sysdeps/generic/math_private.h (__mpsin1): Remove
30253         declaration.
30254         (__mpcos1): Likewise.
30255         (__mpsin): New argument __range_reduce.
30256         (__mpcos): Likewise.
30257         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30258         (slow): Use __mpsin and __mpcos.
30259         (slow1): Likewise.
30260         (slow2): Likewise.
30261         (sloww): Likewise.
30262         (sloww1): Likewise.
30263         (sloww2): Likewise.
30264         (bsloww): Likewise.
30265         (bsloww1): Likewise.
30266         (bsloww2): Likewise.
30267         (cslow2): Likewise.
30268         (csloww): Likewise.
30269         (csloww1): Likewise.
30270         (csloww2): Likewise.
30271         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30272         range_reduce.  Merge in __mpsin1.
30273         (__mpcos): Likewise.
30274         (__mpsin1): Remove.
30275         (__mpcos1): Likewise.
30277 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30279         * locale/loadlocale.c (_nl_intern_locale_data): Use
30280         LOCFILE_ALIGNED_P.
30281         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30282         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30283         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30284         obstack data is appropriately aligned.
30285         (obstack_int32_grow_fast): Likewise.
30286         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30287         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30288         (add_locale_uint32_array): Likewise.
30290 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30292         * benchtests/Makefile: Remove ARGLIST and RET variables.
30293         ($(objpfx)bench-%.c): Pass only function name to the script.
30294         * benchtests/README: Update documentation.
30295         * benchtests/acos-inputs: Add new directives.
30296         * benchtests/acosh-inputs: Likewise.
30297         * benchtests/asin-inputs: Likewise.
30298         * benchtests/asinh-inputs: Likewise.
30299         * benchtests/atan-inputs: Likewise.
30300         * benchtests/atanh-inputs: Likewise.
30301         * benchtests/cos-inputs: Likewise.
30302         * benchtests/cosh-inputs: Likewise.
30303         * benchtests/exp-inputs: Likewise.
30304         * benchtests/log-inputs: Likewise.
30305         * benchtests/pow-inputs: Likewise.
30306         * benchtests/rint-inputs: Likewise.
30307         * benchtests/sin-inputs: Likewise.
30308         * benchtests/sinh-inputs: Likewise.
30309         * benchtests/tan-inputs: Likewise.
30310         * benchtests/tanh-inputs: Likewise.
30311         * scripts/bench.pl: Add support for new directives.
30313 2013-10-07  Alan Modra  <amodra@gmail.com>
30315         * README: Fix careless merge.
30317 2013-10-05  Alan Modra  <amodra@gmail.com>
30319         * NEWS: Mention powerpc64le support and bugs fixed.
30320         * README: Both big-endian and little-endian powerpc64 supported.
30322 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30324         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30325         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30326         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30327         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30329 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30331         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30332         match prototype.
30334 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30336         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30337         Move -mhard-float appending from
30338         ports/sysdeps/powerpc/powerpc32/Makefile.
30339         [$(with-fp) = yes] (ASFLAGS): Likewise.
30340         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30341         * sysdeps/powerpc/nofpu: Move directory from
30342         ports/sysdeps/powerpc/nofpu.
30343         * sysdeps/powerpc/soft-fp: Move directory from
30344         ports/sysdeps/powerpc/soft-fp.
30345         * sysdeps/powerpc/powerpc32/405: Move directory from
30346         ports/sysdeps/powerpc/powerpc32/405.
30347         * sysdeps/powerpc/powerpc32/440: Move directory from
30348         ports/sysdeps/powerpc/powerpc32/440.
30349         * sysdeps/powerpc/powerpc32/464: Move directory from
30350         ports/sysdeps/powerpc/powerpc32/464.
30351         * sysdeps/powerpc/powerpc32/476: Move directory from
30352         ports/sysdeps/powerpc/powerpc32/476.
30353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30360         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30362         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30363         * README: Update for powerpc-*-linux-gnu software floating point
30364         support in libc.
30366         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30367         case to powerpc/powerpc32*.
30368         * sysdeps/unix/sysv/linux/configure: Regenerated.
30370         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30371         (_FPU_MASK_OM): Define as 0x04.
30372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30374         0x00c10080.
30375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30376         0x0000003c.
30377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30380         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30381         getcontext_e500.
30382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30383         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30384         setcontext_e500.
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30386         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30387         and setcontext_e500.
30389 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30391         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30393 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30395         * manual/threads.texi (Default Thread Attributes): Fix typo.
30397 2013-10-04  Will Newton  <will.newton@linaro.org>
30399         * malloc/Makefile: Add tst-memalign.
30400         * malloc/tst-memalign.c: New file.
30402         * malloc/tst-posix_memalign.c: Add comments.
30403         (do_test): Add comments and call free on all potentially
30404         allocated pointers. Add space after cast.
30406         * malloc/tst-pvalloc.c: Add comments.
30407         (do_test): Add comments and call free on all potentially
30408         allocated pointers. Remove duplicate check for NULL pointer.
30409         Add space after cast.
30411         * malloc/tst-valloc.c: Add comments.
30412         (do_test): Add comments and call free on all potentially
30413         allocated pointers. Remove duplicate check for NULL pointer.
30414         Add space after cast.
30416 2013-10-04  Alan Modra  <amodra@gmail.com>
30418         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30419         Use stdint types in rather than __attribute__((mode())).
30420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30422 2013-10-04  Alan Modra  <amodra@gmail.com>
30424         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30425         Correct handling of unaligned relocs for little-endian.
30426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30428 2013-10-04  Alan Modra  <amodra@gmail.com>
30430         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30431         * configure: Regenerate.
30432         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30433         * shlib-versions: Likewise.
30435 2013-10-04  Alan Modra  <amodra@gmail.com>
30437         * string/tester.c (test_memrchr): Increment reported test cycle.
30439 2013-10-04  Alan Modra  <amodra@gmail.com>
30441         * string/test-memcpy.c (do_one_test): When reporting errors, print
30442         string address and don't overrun end of string.
30444 2013-10-04  Alan Modra  <amodra@gmail.com>
30446         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30447         insrdi.  Make better use of reg selection to speed exit slightly.
30448         Schedule entry path a little better.  Remove useless "are we done"
30449         checks on entry to main loop.  Handle wrapping around zero address.
30450         Correct main loop count.  Handle single left-over word from main
30451         loop inline rather than by using loop_small.  Remove extra word
30452         case in loop_small caused by wrong loop count.  Add little-endian
30453         support.
30454         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30456         cache hint.
30457         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30458         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30459         support.  Avoid rlwimi.
30460         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30462 2013-10-04  Alan Modra  <amodra@gmail.com>
30464         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30465         insrdi.  Formatting.
30466         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30467         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30468         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30469         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30470         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30471         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30473 2013-10-04  Alan Modra  <amodra@gmail.com>
30475         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30477         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30478         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30479         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30480         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30482         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30483         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30484         use of regs.  Use power7 mtocrf.  Tidy function tails.
30486 2013-10-04  Alan Modra  <amodra@gmail.com>
30488         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30489         Formatting.  Consistently use rXXX register defines or rN defines.
30490         Use early exit labels that avoid restoring unused non-volatile regs.
30491         Make cr field use more consistent with rWORDn compares.  Rename
30492         regs used as shift registers for unaligned loop, using rN defines
30493         for short lifetime/multiple use regs.
30494         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30496         addi 1,1,64 to pop stack frame.  Simplify return value code.
30497         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30499 2013-10-04  Alan Modra  <amodra@gmail.com>
30501         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30502         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30503         rather than rlwimi.
30504         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30505         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30506         little-endian support.  Correct typos.
30507         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30508         rather than rlwimi.
30509         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30510         in loop and entry code to keep "and." results.
30511         (strchr): Add little-endian support.  Comment.  Move cntlzd
30512         earlier in tail.
30513         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30515 2013-10-04  Alan Modra  <amodra@gmail.com>
30517         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30518         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30519         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30520         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30522 2013-10-04  Alan Modra  <amodra@gmail.com>
30524         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30525         (rTMP): Define as r11.
30526         (strcmp): Add little-endian support.  Optimise tail.
30527         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30529         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30533         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30535 2013-10-04  Alan Modra  <amodra@gmail.com>
30537         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30538         little-endian support.  Remove unnecessary "are we done" tests.
30539         Handle "s" wrapping around zero and extremely large "size".
30540         Correct main loop count.  Handle single left-over word from main
30541         loop inline rather than by using small_loop.  Correct comments.
30542         Delete "zero" tail, use "end_max" instead.
30543         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30545 2013-10-04  Alan Modra  <amodra@gmail.com>
30547         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30548         support.  Don't branch over align.
30549         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30550         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30551         support.  Rearrange tmp reg use to suit.  Comment.
30552         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30554 2013-10-04  Alan Modra  <amodra@gmail.com>
30556         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30558 2013-10-04  Alan Modra  <amodra@gmail.com>
30560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30561         conditional form of branch and link when obtaining pc.
30562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30564 2013-10-04  Alan Modra  <amodra@gmail.com>
30566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30567         HIWORD/LOWORD.
30568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30571 2013-10-04  Alan Modra  <amodra@gmail.com>
30573         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30574         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30575         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30576         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30577         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30578         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30579         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30580         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30581         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30582         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30585             Alistair Popple <alistair@ozlabs.au.ibm.com>
30586             Alan Modra <amodra@gmail.com>
30588         [BZ #15723]
30589         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30590         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30591         _dl_hwcap access for little-endian.
30592         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30593         destroy vmx regs when saving unaligned.
30594         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30595         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30596         destroy vmx regs when saving unaligned.
30598 2013-10-04  Alan Modra  <amodra@gmail.com>
30600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30601         Don't use a union to pack hi/low value.
30603 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30605         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30606         for little-endian.
30607         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30609         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30610         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30611         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30613 2013-10-04  Alan Modra  <amodra@gmail.com>
30615         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30616         constants to usual value for .cst8 section, and remove redundant
30617         high address load.
30618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30619         constant for 0x1p52.  Load little-endian words of double from
30620         correct stack offsets.
30622 2013-10-04  Alan Modra  <amodra@gmail.com>
30624         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30625         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30626         words of double from correct stack offsets.
30627         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30628         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30629         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30632         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30633         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30634         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30635         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30636         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30637         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30638         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30639         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30640         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30641         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30642         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30643         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30645 2013-10-04  Alan Modra  <amodra@gmail.com>
30647         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30648         64-bit int/double union.
30649         (_FPU_SETCW): Likewise.
30650         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30651         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30653 2013-10-04  Alan Modra  <amodra@gmail.com>
30655         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30656         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30658 2013-10-04  Alan Modra  <amodra@gmail.com>
30660         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30661         use vector int constants.
30662         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30664 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30666         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30667         array with long long.
30668         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30669         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30670         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30671         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30672         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30673         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30674         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30675         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30676         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30677         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30678         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30679         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30680         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30682 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30684         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30685         (__signbit): Likewise.  Correct for little-endian.
30686         (__signbitl): Call __signbit.
30687         (lrint): Correct for little-endian.
30688         (lrintf): Call lrint.
30690 2013-10-04  Alan Modra  <amodra@gmail.com>
30692         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30693         union 32-bit int array member with 64-bit int array.
30694         (t515, tm256): Double rather than long double.
30695         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30697 2013-10-04  Alan Modra  <amodra@gmail.com>
30699         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30700         Delete.
30701         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30703         version of math_ldbl.h.
30705 2013-10-04  Alan Modra  <amodra@gmail.com>
30707         [BZ #15734], [BZ #15735]
30708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30709         all uses of ieee875 long double macros and unions.  Simplify test
30710         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30711         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30712         normalize after ldbl_extract_mantissa, and don't add hidden bit
30713         already handled.  Don't treat low word of ieee854 mantissa like
30714         low word of IBM long double and mask off bit when testing for
30715         zero.
30716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30717         all uses of ieee875 long double macros and unions.  Simplify tests
30718         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30719         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30720         two1022, instead use their values.  Recognise that tests for large
30721         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30722         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30723         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30724         test for 0.0L and nan.  Correct negation.
30725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30726         ieee875 long double macros and unions.  Correct output for large
30727         magnitude x.  Correct absolute value calculation.
30728         (__erfcl): Likewise.
30729         * math/libm-test.inc: Add tests for errors discovered in IBM long
30730         double versions of fmodl, remainderl, erfl and erfcl.
30732 2013-10-04  Alan Modra  <amodra@gmail.com>
30734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30735         all uses of ieee854 long double macros and unions.  Simplify tests
30736         for long doubles that are fully specified by the high double.
30737         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30738         Likewise.
30739         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30740         Remove dead code too.
30741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30742         (__ieee754_ynl): Likewise.
30743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30744         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30746         Remove dead code too.
30747         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30748         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30749         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30750         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30751         Simplify.
30752         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30753         Simplify.
30754         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30755         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30757         Comment on variable precision.
30758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30759         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30760         Likewise.
30761         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30763         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30764         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30765         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30767 2013-10-04  Alan Modra  <amodra@gmail.com>
30769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30770         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30771         all uses of ieee854 long double macros and unions.
30772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30773         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30775         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30776         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30777         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30778         Likewise.
30779         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30780         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30781         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30782         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30783         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30784         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30785         Simplify sign and nan test too.
30786         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30787         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30788         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30789         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30790         Likewise.
30791         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30792         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30793         Likewise.
30794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30795         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30796         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30797         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30801 2013-10-04  Alan Modra  <amodra@gmail.com>
30803         * stdio-common/printf_size.c (__printf_size): Don't use
30804         union ieee854_long_double in fpnum union.
30805         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30806         signbit macro to retrieve sign from long double.
30807         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30808         retrieve sign from long double.
30809         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30810         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30811         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30812         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30813         * math/test-misc.c (main): Don't use union ieee854_long_double.
30815 2013-10-04  Alan Modra  <amodra@gmail.com>
30817         [BZ #15680]
30818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30820         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30821         calculation.  Remove unnecessary test for denormal exponent.
30822         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30823         Correct handling of denormals.  Avoid undefined shift behaviour.
30824         Correct normalisation of low mantissa when low double is denormal.
30825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30826         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30827         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30828         Correct normalisation of low mantissa.  Test for overflow of high
30829         mantissa and normalise.
30830         (ldbl_nearbyint): Use more readable constant for two52.
30831         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30832         (__mpn_construct_long_double): Fix test for overflow of high
30833         mantissa and correct normalisation.  Avoid undefined shift.
30835 2013-10-04  Alan Modra  <amodra@gmail.com>
30837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30838         (union ibm_extended_long_double): Define as an array of ieee754_double.
30839         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30840         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30841         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30842         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30844         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30846         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30847         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30848         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30849         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30851 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30853         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30854         page size instead of calling getpagesize.
30856         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30857         (LOCFILE_ALIGN_MASK): Likewise.
30858         (LOCFILE_ALIGN_UP): Likewise.
30859         (LOCFILE_ALIGNED_P): Likewise.
30860         * locale/programs/ld-collate.c (collate_output): Use the new
30861         macros instead of __alignof__ (int32_t).
30862         * locale/weight.h (findidx): Likewise.
30864 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30866         [BZ #431]
30867         * manual/string.texi: Fix strncat and wcsncat.
30869 2013-10-03  Brooks Moses  <bmoses@google.com>
30871         [BZ #15915]
30872         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30873         * Makerules: ...here, and adjust associated comments.
30875 2013-10-02  Will Newton  <will.newton@linaro.org>
30877         * malloc/Makefile: Add tst-pvalloc.
30878         * malloc/tst-pvalloc.c: New file.
30880 2013-10-02  Will Newton  <will.newton@linaro.org>
30882         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30883         improve test coverage.
30885 2013-10-02  Will Newton  <will.newton@linaro.org>
30887         * malloc/Makefile: Add tst-posix_memalign.
30888         * malloc/tst-posix_memalign.c: New file.
30890 2013-10-01  Eric Blake  <eblake@redhat.com>
30892         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30893         Use __THROWNL rather than __THROW on static functions.
30895 2013-09-30  Petr Machata  <pmachata@redhat.com>
30897         * elf/elf.h (R_AARCH64_ABS16): New macro.
30898         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30899         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30900         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30901         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30902         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30903         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30904         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30905         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30906         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30907         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30908         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30909         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30910         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30911         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30912         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30913         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30914         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30915         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30916         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30917         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30918         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30919         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30920         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30921         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30922         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30923         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30924         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30925         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30926         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30927         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30928         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30929         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30930         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30931         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30932         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30933         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30934         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30935         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30936         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30937         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30938         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30939         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30940         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30941         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30942         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30943         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30944         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30945         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30946         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30947         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30948         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30949         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30950         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30951         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30952         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30953         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30954         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30955         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30956         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30957         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30958         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30959         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30960         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30961         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30962         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30963         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30964         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30965         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30966         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30967         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30968         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30969         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30970         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30971         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30972         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30973         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30974         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30975         (R_AARCH64_TLSDESC_LDR): Likewise.
30976         (R_AARCH64_TLSDESC_ADD): Likewise.
30977         (R_AARCH64_TLSDESC_CALL): Likewise.
30979 2013-09-30  Andreas Schwab  <schwab@suse.de>
30981         [BZ #15048]
30982         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30983         the nss database lookup.
30984         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30987 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30989         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30991 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30993         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30994         ${Bash-specific parameter/pattern/string} parameter expansion.
30995         * sysdeps/unix/make-syscalls.sh: Likewise.
30997 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30999         * sysdeps/sh/stackguard-macros.h: New file.
31001 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31005         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31006         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31007         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31008         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31010 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31012         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31013         Fix thread ID register.
31015 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31017         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31018         [POSIX || UNIX98]: Require rather than permitting all symbols from
31019         <time.h>.
31020         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31021         element of struct sched_param.
31022         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31023         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31024         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31025         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31026         constant.
31028 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31030         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31031         argument calculation.
31033 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31035         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31036         Expect macro.
31037         [POSIX] (pthread_attr_t): Do not require type.
31038         [POSIX] (pthread_cond_t): Likewise.
31039         [POSIX] (pthread_condattr_t): Likewise.
31040         [POSIX] (pthread_key_t): Likewise.
31041         [POSIX] (pthread_mutex_t): Likewise.
31042         [POSIX] (pthread_mutexattr_t): Likewise.
31043         [POSIX] (pthread_once_t): Likewise.
31044         [POSIX] (pthread_t): Likewise.
31045         [POSIX-based standards] (pthread_atfork): Expect function.
31047 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31048             Richard Sandiford  <richard@codesourcery.com>
31050         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31051         (swap_endianness_p): New extern variable.
31052         (set_big_endian): New inline function.
31053         (maybe_swap_uint32): Likewise.
31054         (maybe_swap_uint32_array): Likewise.
31055         (maybe_swap_uint32_obstack): Likewise.
31056         * locale/programs/locfile.c: Include <stdbool.h>.
31057         (swap_endianness_p): New variable.
31058         (add_locale_uint32): Call maybe_swap_uint32.
31059         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31060         (write_locale_data): Call maybe_swap_uint32_array.
31061         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31062         maybe_swap_uint32.
31063         (obstack_int32_grow_fast): Likewise.
31064         (output_weightwc): Call maybe_swap_uint32_obstack.
31065         (collate_output): Likewise.
31066         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31067         (OPT_LITTLE_ENDIAN): Likewise.
31068         (options): Add --little-endian and --big-endian options.
31069         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31070         * locale/programs/locarchive.c: Include "locfile.h".
31071         (GET): New macro.
31072         (SET): Likewise.
31073         (INC): Likewise.
31074         (create_archive): Use the new macros to access fields of
31075         structures directly mapped from or written to locale archives.
31076         (oldlocrecentcmp): Likewise.
31077         (enlarge_archive): Likewise.
31078         (insert_name): Likewise.
31079         (add_alias): Likewise.
31080         (add_locale): Likewise.
31081         (delete_locales_from_archive): Likewise.
31082         (show_archive_content): Likewise.
31083         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31084         locale data.
31086 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31088         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31089         http://www.gnu.org/doc/freemanuals.texi.
31090         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31092 2013-09-24  Will Newton  <will.newton@linaro.org>
31094         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31095         macro.
31097 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31099         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31100         unsigned char.
31102 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31104         * manual/threads.texi (POSIX Threads): Fix a typo.
31106 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31108         [BZ #14547]
31109         * string/tst-strcoll-overflow.c: New test case.
31110         * string/Makefile (xtests): Add tst-strcoll-overflow.
31111         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31112         cache if string sizes may cause integer overflow.
31114         [BZ #14547]
31115         * string/strcoll_l.c (coll_seq): New members rule, idx,
31116         save_idx and back_us.
31117         (get_next_seq_nocache): New function.
31118         (do_compare_nocache): New function.
31119         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31120         when malloc fails.
31122 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31124         [BZ #15754]
31125         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31126         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31127         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31129         [BZ #15754]
31130         * elf/Makefile (tests): Add tst-ptrguard1.
31131         (tests-static): Add tst-ptrguard1-static.
31132         (tst-ptrguard1-ARGS): Define.
31133         (tst-ptrguard1-static-ARGS): Define.
31134         * elf/tst-ptrguard1.c: New file.
31135         * elf/tst-ptrguard1-static.c: New file.
31136         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31137         * sysdeps/i386/stackguard-macros.h: Likewise.
31138         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31139         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31140         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31141         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31142         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31143         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31145 2013-09-23  Hector Marco  <hecmargi@upv.es>
31146             Ismael Ripoll  <iripoll@disca.upv.es>
31147             Carlos O'Donell  <carlos@redhat.com>
31149         [BZ #15754]
31150         * sysdeps/generic/stackguard-macros.h: Define
31151         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31152         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31153         Define __pointer_chk_guard_local.
31154         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31155         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31157 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31159         [BZ #15859]
31160         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31162 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31164         * include/string.h (__ffs): Declare as hidden.
31165         * string/ffs.c (__ffs): Define as hidden.
31166         * sysdeps/i386/ffs.c (__ffs): Likewise.
31167         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31168         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31169         * sysdeps/s390/ffs.c (__ffs): Likewise.
31170         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31172 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31174         * NEWS: Mention malloc probes.
31176         * malloc/arena.c (new_heap): New memory_heap_new probe.
31177         (grow_heap): New memory_heap_more probe.
31178         (shrink_heap): New memory_heap_less probe.
31179         (heap_trim): New memory_heap_free probe.
31180         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31181         (systrim): New memory_sbrk_less probe.
31182         * manual/probes.texi: Document them.
31184         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31185         * manual/probes.texi: Document it.
31187         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31188         (__libc_realloc): Add memory_realloc_retry probe.
31189         (__libc_memalign): Add memory_memalign_retry probe.
31190         (__libc_valloc): Add memory_valloc_retry probe.
31191         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31192         (__libc_calloc): Add memory_calloc_retry probe.
31193         * manual/probes.texi: Document them.
31195         * malloc/arena.c (get_free_list): Add probe
31196         memory_arena_reuse_free_list.
31197         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31198         and memory_arena_reuse.
31199         (arena_get2) [!PER_THREAD]: Likewise.
31200         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31201         memory_arena_reuse_realloc.
31202         * manual/probes.texi: Document them.
31204         * malloc/malloc.c (__libc_free): Add
31205         memory_mallopt_free_dyn_thresholds probe.
31206         (__libc_mallopt): Add multiple memory_mallopt probes.
31207         * manual/probes.texi: Document them.
31209         * malloc/malloc.c: Include stap-probe.h.
31210         (__libc_mallopt): Add memory_mallopt probe.
31211         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31212         * manual/probes.texi: New.
31213         * manual/Makefile (chapters): Add probes.
31214         * manual/threads.texi: Set next node.
31216 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31218         [BZ #15963, #13985]
31219         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31220         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31221         Add `Chinese' to `nan' entry name.
31223 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31225         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31226         (POLYNOMIAL): Likewise.
31227         (TAYLOR_SINCOS): Likewise.
31228         (TAYLOR_SLOW): Likewise.
31229         (__sin): Use TAYLOR_SINCOS.
31230         (__cos): Likewise.
31231         (slow): Use TAYLOR_SLOW.
31232         (sloww): Likewise.
31233         (bsloww): Likewise.
31234         (csloww): Likewise.
31236 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31238         * stdlib/strtod_l.c: Fix buffer overrun.
31240 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31242         * benchtests/Makefile (bench): Add sincos.
31243         * benchtests/bench-sincos.c: New file.
31245         * math/libm-test.inc (cos_test_data): New test inputs.
31246         (sin_test_data): Likewise.
31248         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31249         macro.
31250         (__sin): Use it.
31251         (__cos): Likewise.
31252         (slow1): Likewise.
31253         (slow2): Likewise.
31254         (sloww1): Likewise.
31255         (sloww2): Likewise.
31256         (bsloww1): Likewise.
31257         (bsloww2): Likewise.
31258         (cslow2): Likewise.
31259         (csloww1): Likewise.
31260         (csloww2): Likewise.
31262         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31263         function.
31264         (__sin): Use it.
31265         (__cos): Likewise.
31267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31268         gotos.
31269         (__cos): Likewise.
31271 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31273         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31274         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31275         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31276         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31277         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31278         * elf/cache.c (print_entry): Handle the new cache flags.
31280 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31281             Aldy Hernandez  <aldyh@redhat.com>
31283         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31284         Change condition to [_SOFT_FLOAT].
31285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31297         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31300         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31301         declaration.
31303 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31305         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31306         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31307         (__longjmp): Use LOAD_GP to load saved GPRs.
31308         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31309         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31310         (__sigsetjmp): Use SAVE_GP to save GPRs.
31312         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31313         Do not append -msoft-float.
31314         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31316 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31318         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31320 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31322         [BZ #15966]
31323         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31324         (_FPU_GETCW): Use initial "__" on variable and field names but not
31325         on macro parameter name.
31326         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31327         parentheses around reference to macro parameter.
31329 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31331         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31332         prototype.
31333         (ctype_startup): Use uint32_t in cast and sizeof for
31334         ctype->charnames.
31336 2013-09-11  Jia Liu  <proljc@gmail.com>
31338         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31339         __daddr_t_defined.
31340         [__FreeBSD__]: Likewise.
31342 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31345         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31346         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31347         (strchr): Remove __strchr_sse42 ifunc selection.
31348         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31349         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31351 2013-09-11  Will Newton  <will.newton@linaro.org>
31353         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31354         parameter to RES. Remove hardcoded 1000 value.
31355         * benchtests/bench-skeleton.c (main): Pass RES parameter
31356         to TIMING_INIT and multiply result by 1000.
31358 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31362 2013-09-11  Andreas Schwab  <schwab@suse.de>
31364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31365         if not defined.
31366         (O_TMPFILE) [__USE_GNU]: Define.
31367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31368         Define.
31370 2013-09-11  Will Newton  <will.newton@linaro.org>
31372         [BZ #15857]
31373         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31374         does not overflow.
31376 2013-09-11  Will Newton  <will.newton@linaro.org>
31378         [BZ #15856]
31379         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31380         does not overflow.
31382 2013-09-11  Will Newton  <will.newton@linaro.org>
31384         [BZ #15855]
31385         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31386         does not overflow.
31388 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31390         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31391         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31393         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31394         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31396 2013-09-10  Allan McRae  <allan@archlinux.org>
31398         [BZ #15748]
31399         * manual/arith.texi (Parsing of Floats): Clarify
31400         cross-reference.
31402         [BZ #15849]
31403         * manual/install.texi (Running make install): Mention
31404         --enable-pt-chown.
31405         * INSTALL: Regenerated.
31407 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31409         * csu/init-first.c (_init): Remove the !SHARED condition around
31410         FPU control word initialization.
31411         * elf/dl-support.c (_dl_fpu_control): New variable.
31412         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31413         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31414         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31415         * math/test-fpucw-static.c: New file.
31416         * math/test-fpucw-ieee.c: New file.
31417         * math/test-fpucw-ieee-static.c: New file.
31418         * math/Makefile (tests): Add `test-fpucw-ieee' and
31419         `$(tests-static)'.
31420         (tests-static): New variable.
31421         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31422         dependency to...
31423         [($(build-shared),yes)]
31424         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31425         ... this.
31426         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31427         New dependency.
31429 2013-09-09  Allan McRae  <allan@archlinux.org>
31431         [BZ #15939]
31432         * manual/string.texi (Collation Functions): Fix typo in
31433         strcoll example.
31434         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31436         [BZ #15893]
31437         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31439         [BZ #15892]
31440         * libio/memstream.c (open_memstream): Fix memory leak.
31441         * libio/wmemstream.c (open_wmemstream): Likewise.
31443         [BZ #15895]
31444         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31446 2013-09-09  Will Newton  <will.newton@linaro.org>
31448         * malloc/Makefile: Add tst-realloc to tests.
31449         * malloc/tst-realloc.c: New file.
31451 2013-09-09  Allan McRae  <allan@archlinux.org>
31453         [BZ #15844]
31454         * COPYING: Update from GNU website to fix FSF address.
31455         * COPYING.LIB: Likewise.
31457 2013-09-06  David S. Miller  <davem@davemloft.net>
31459         * po/zh_TW.po: Update Chinese (traditional) translation from
31460         translation project.
31462 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31463             Joseph Myers  <joseph@codesourcery.com>
31465         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31466         "localeinfo.h".
31467         (obstack_chunk_alloc): New macro.
31468         (obstack_chunk_free): Likewise.
31469         (record_offset): New function.
31470         (init_locale_data): Likewise.
31471         (align_locale_data): Likewise.
31472         (add_locale_empty): Likewise.
31473         (add_locale_raw_data): Likewise.
31474         (add_locale_raw_obstack): Likewise.
31475         (add_locale_string): Likewise.
31476         (add_locale_wstring): Likewise.
31477         (add_locale_uint32): Likewise.
31478         (add_locale_uint32_array): Likewise.
31479         (add_locale_char): Likewise.
31480         (start_locale_structure): Likewise.
31481         (end_locale_structure): Likewise.
31482         (start_locale_prelude): Likewise.
31483         (end_locale_prelude): Likewise.
31484         (write_locale_data): Take locale_file structure rather than an
31485         iovec.
31486         * locale/programs/locfile.h: Include "obstack.h".
31487         (struct locale_file): Change to store locale file contents instead
31488         of header.
31489         (init_locale_data): New prototype.
31490         (align_locale_data): Likewise.
31491         (add_locale_empty): Likewise.
31492         (add_locale_raw_data): Likewise.
31493         (add_locale_raw_obstack): Likewise.
31494         (add_locale_string): Likewise.
31495         (add_locale_wstring): Likewise.
31496         (add_locale_uint32): Likewise.
31497         (add_locale_uint32_array): Likewise.
31498         (add_locale_char): Likewise.
31499         (start_locale_structure): Likewise.
31500         (end_locale_structure): Likewise.
31501         (start_locale_prelude): Likewise.
31502         (end_locale_prelude): Likewise.
31503         (write_locale_data): Update prototype.
31504         * locale/programs/3level.h (struct TABLE): Remove result field.
31505         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31506         Use new locale_file interface.
31507         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31508         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31509         * locale/programs/ld-address.c (address_output): Use new
31510         locale_file interface.
31511         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31512         NO_ADD_LOCALE.
31513         (collate_finish): Don't call collseq_table_finalize.
31514         (collate_output): Use new locale_file interface.
31515         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31516         in file.
31517         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31518         (TABLE): Move defines earlier in file.
31519         (ELEMENT): Likewise.
31520         (DEFAULT): Likewise.
31521         (wctrans_table_add): Move macro and inline function earlier in
31522         file.
31523         (struct wctype_table): Move type earlier in file.
31524         (add_locale_wctype_table): New static prototype.
31525         (struct locale_ctype_t): Use logical types instead of struct iovec
31526         pointers for members.
31527         (ctype_output): Use new locale_file interface.
31528         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31529         new locale_file interface.
31530         (allocate_arrays): Update for use of new locale_file interface.
31531         * locale/programs/ld-identification.c (identification_output): Use
31532         new locale_file interface.
31533         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31534         * locale/programs/ld-messages.c (messages_output): Likewise.
31535         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31536         * locale/programs/ld-name.c (name_output): Likewise.
31537         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31538         * locale/programs/ld-paper.c (paper_output): Likewise.
31539         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31540         * locale/programs/ld-time.c (time_output): Likewise.
31542 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         * benchtests/Makefile: Add memrchr benchmark.
31545         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31546         benchmark as memrchr.
31547         * benchtests/bench-memrchr-ifunc.c: New file.
31548         * benchtests/bench-memrchr.c: New file.
31550 2013-09-06   Will Newton  <will.newton@linaro.org>
31552         * benchtests/Makefile (string-bench): Add memcpy.
31554 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31555             Cong Wang  <amwang@redhat.com>
31557         [BZ #15850]
31558         * sysdeps/unix/sysv/linux/bits/in.h
31559         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31560         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31561         before __USE_KERNEL_IPV6_DEFS uses.
31562         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31563         IPPROTO_BEETPH.
31564         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31565         sockaddr_in6, or ipv6_mreq.
31567 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31569         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31570         memory access for final bytes in some large inputs.
31571         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31573 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31575         * string/test-memrchr.c: New file.
31576         * string/test-memrchr-ifunc.c: New file.
31577         * string/Makefile: Add new memrchr testcase.
31579 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31581         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31582         fanotify_init returns EPERM.
31584 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31586         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31587         errors.
31588         (top level): Treat second token from macro or constant entries for
31589         allowed headers as allowed.
31590         * include/complex.h: Condition internal declarations on
31591         [!_ISOMAC].
31592         * include/fenv.h: Condition include of <stdbool.h> and internal
31593         declarations on [!_ISOMAC].
31595 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31597         [BZ #15923]
31598         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31600 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31602         * configure.in (--enable-versioning): Remove configure option.
31603         (libc_cv_asm_symver_directive): Remove configure test.
31604         (libc_cv_ld_version_script_option): Likewise.
31605         (VERSIONING): Remove variable and AC_SUBST.
31606         (DO_VERSIONING): Remove AC_DEFINE.
31607         * configure: Regenerated.
31608         * config.h.in (DO_VERSIONING): Remove macro.
31609         * Makerules [$(versioning) = yes]: Change conditionals to
31610         [$(build-shared) = yes].
31611         * config.make.in (versioning): Remove variable.
31612         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31613         [$(build-shared) = yes].
31614         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31615         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31616         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31617         [$(build-shared) = yes].
31618         * extra-lib.mk [$(versioning) = yes]: Likewise.
31619         * hurd/Makefile [$(versioning) = yes]: Likewise.
31620         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31621         [SHARED].
31622         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31623         [SHARED].
31624         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31625         [SHARED && !NO_HIDDEN].
31626         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31627         [SHARED].
31628         [SHARED && DO_VERSIONING]: Likewise..
31629         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31630         [$(build-shared) = yes].
31631         * manual/install.texi (--disable-versioning): Remove
31632         documentation.
31633         * INSTALL: Regenerated.
31634         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31635         to [SHARED].
31636         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31637         [$(build-shared) = yes].
31638         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31639         * sysdeps/i386/i686/multiarch/strstr-c.c
31640         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31641         [SHARED && !NO_HIDDEN].
31642         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31643         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31644         * sysdeps/powerpc/powerpc32/dl-machine.c
31645         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31646         * sysdeps/powerpc/powerpc32/sysdep.h
31647         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31648         to [SHARED && PIC && !NO_HIDDEN].
31649         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31650         conditional to [SHARED].
31652 2013-09-04   Will Newton  <will.newton@linaro.org>
31654         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31655         * benchtests/bench-string.h: Include bench-timing.h instead
31656         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31657         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31658         call to HP_TIMING_DIFF_INIT.
31659         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31660         instead of hp-timing.h macros.
31661         * benchtests/bench-memchr.c: Likewise.
31662         * benchtests/bench-memcmp.c: Likewise.
31663         * benchtests/bench-memcpy.c: Likewise.
31664         * benchtests/bench-memmem.c: Likewise.
31665         * benchtests/bench-memmove.c: Likewise.
31666         * benchtests/bench-memset.c: Likewise.
31667         * benchtests/bench-rawmemchr.c: Likewise.
31668         * benchtests/bench-strcasecmp.c: Likewise.
31669         * benchtests/bench-strcasestr.c: Likewise.
31670         * benchtests/bench-strcat.c: Likewise.
31671         * benchtests/bench-strchr.c: Likewise.
31672         * benchtests/bench-strcmp.c: Likewise.
31673         * benchtests/bench-strcpy.c: Likewise.
31674         * benchtests/bench-strcpy_chk.c: Likewise.
31675         * benchtests/bench-strlen.c: Likewise.
31676         * benchtests/bench-strncasecmp.c: Likewise.
31677         * benchtests/bench-strncat.c: Likewise.
31678         * benchtests/bench-strncmp.c: Likewise.
31679         * benchtests/bench-strncpy.c: Likewise.
31680         * benchtests/bench-strnlen.c: Likewise.
31681         * benchtests/bench-strpbrk.c: Likewise.
31682         * benchtests/bench-strrchr.c: Likewise.
31683         * benchtests/bench-strspn.c: Likewise.
31684         * benchtests/bench-strstr.c: Likewise.
31686 2013-09-04  Will Newton  <will.newton@linaro.org>
31688         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31690 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31692         [BZ #15427]
31693         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31694         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31695         * math/libm-test.inc (lgamma_test_data): Add more tests.
31696         * sysdeps/i386/fpu/libm-test-ulps: Update.
31697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31699 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31701         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31703         Add ifunc.
31704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31705         Add strcmp-sse2-unaligned
31706         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31708 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31710         * Versions.def (libc): Add GLIBC_2.19.
31712 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31714         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31715         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31717 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31719         [BZ #14155]
31720         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31721         intermediate calculations in recurrence.
31722         (__ieee754_ynf): Likewise.
31723         * math/libm-test.inc (jn_test_data): Do not allow spurious
31724         underflow exception.  Add more tests.
31725         (yn_test_data): Add more tests.
31726         * sysdeps/i386/fpu/libm-test-ulps: Update.
31727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31729 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31733 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31735         * csu/init-first.c: Fix then/than typos.
31736         * locale/programs/ld-collate.c: Likewise.
31737         * locale/programs/linereader.h: Likewise.
31738         * manual/charset.texi: Likewise.
31739         * manual/filesys.texi: Likewise.
31740         * manual/stdio.texi: Likewise.
31741         * manual/string.texi: Likewise.
31742         * stdlib/fmtmsg.c: Likewise.
31743         * sysdeps/i386/stpncpy.S: Likewise.
31744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31745         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31746         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31747         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31749 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31751         * elf/dl-open.c: Fix typos.
31752         * iconvdata/gbbig5.c: Likewise.
31753         * iconvdata/iso-2022-jp.c: Likewise.
31754         * iconv/gconv_int.h: Likewise.
31755         * iconv/loop.c: Likewise.
31756         * nis/rpcsvc/nis.h: Likewise.
31757         * resolv/ns_name.c: Likewise.
31758         * stdio-common/vfscanf.c: Likewise.
31759         * streams/stropts.h: Likewise.
31760         * sunrpc/rpc_thread.c: Likewise.
31761         * sysdeps/i386/strpbrk.S: Likewise.
31762         * sysdeps/ieee754/k_standard.c: Likewise.
31763         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31765         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31766         * sysdeps/mach/hurd/profil.c: Likewise.
31767         * sysdeps/s390/dl-procinfo.h: Likewise.
31768         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31770         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31771         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31772         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31774 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31776         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31779 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31781         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31782         aix specific files.
31783         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31784         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31785         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31786         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31787         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31788         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31789         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31790         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31792 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31793             Roland McGrath  <roland@hack.frob.com>
31795         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31796         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31798 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31800         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31801         __executable_start symbol instead of _start.
31803 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31805         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31806         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31807         Move macros to...
31808         * sysdeps/gnu/ldsodefs.h: ... this new file.
31810         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31811         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31812         instead of ELFOSABI_LINUX.
31814         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31815         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31816         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31817         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31818         Likewise.
31819         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31820         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31821         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31822         Likewise.
31823         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31824         (ibm_extended_long_double): Add ieee_nan member.
31825         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31826         (do_test): New function.
31828         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31829         TEST_TRUNC.
31830         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31831         functions, renamed from truncdfsf_test, trunctfsf_test,
31832         trunctfdf_test.
31833         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31834         functions.
31835         (do_test): Run all these.
31837 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31839         * argp/argp-help.c: Fix typos.
31840         * argp/argp-parse.c: Likewise.
31841         * debug/backtracesyms.c: Likewise.
31842         * elf/elf.h: Likewise.
31843         * malloc/malloc.c: Likewise.
31844         * nis/nis_print.c: Likewise.
31845         * resolv/res_comp.c: Likewise.
31846         * stdlib/stdlib.h: Likewise.
31847         * sunrpc/clnt_tcp.c: Likewise.
31848         * sunrpc/clnt_udp.c: Likewise.
31849         * sunrpc/clnt_unix.c: Likewise.
31850         * sysdeps/unix/bsd/ptsname.c: Likewise.
31851         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31852         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31854         Likewise.
31855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31856         Likewise.
31857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31858         Likewise.
31859         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31861 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31863         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31866 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31868         [BZ #15897]
31869         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31870         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31871         ($(objpfx)bug-dl-leaf): New rule.
31872         ($(objpfx)bug-dl-leaf.so): Likewise.
31873         ($(objpfx)bug-dl-leaf.out): Likewise.
31874         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31875         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31876         * dlfcn/bug-dl-leaf.c: New test.
31877         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31878         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31879         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31880         (dlclose): Likewise.
31881         (dlmopen): Likewise.
31883 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31885         * include/netdb.h [!_ISOMAC]:
31886         Don't include <tls.h>.
31887         (h_errno, __libc_h_errno): Move declaration and macros out of
31888         [_LIBC_REENTRANT].
31890         * include/resolv.h [_RESOLV_H_]:
31891         Don't include <tls.h>.
31892         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31893         * resolv/res_libc.c: Don't include <tls.h>.
31894         (_res): Use __attribute__ ((nocommon)) in place of
31895         __attribute__ ((section (".bss"))).
31897         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31898         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31900         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31902         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31903         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31905         * resolv/res_mkquery.c: Include <sys/time.h>.
31907         * inet/ifreq.c: Moved to ...
31908         * sysdeps/unix/ifreq.c: ... here.
31909         * inet/ifreq.c: New file, true stub version.
31911         * socket/sa_len.c: New file.
31912         * socket/Makefile (aux): Add it.
31913         * sysdeps/unix/sysv/linux/Makefile
31914         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31915         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31916         and #include <socket/sa_len.c>.
31917         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31918         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31920         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31921         * bits/socket.h: ... here.
31923         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31924         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31925         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31927 2013-08-27  Andreas Schwab  <schwab@suse.de>
31929         [BZ #15736]
31930         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31931         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31932         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31933         * string/test-strcasecmp.c (test_main): Run tests in several
31934         locales.
31935         * string/test-strncasecmp.c (test_main): Likewise.
31937         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31938         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31939         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31941         (__strncasecmp_ssse3) [PIC]: Likewise.
31943 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31945         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31947         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31948         instead of explicitly declaring xdecrypt.
31949         * nis/nss_nis/nis-publickey.c: Likewise.
31951 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31953         [BZ #15890]
31954         * nscd/aicache.c: Include res_hconf.h.
31955         (addhstaiX): Initialize res_hconf.
31957 2013-08-26  Andreas Schwab  <schwab@suse.de>
31959         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31960         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31962 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31964         * nscd/aicache.c (addhstaiX): Fix indentation.
31966 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31968         * configure.ac: Quote $build_pt_chown test.
31969         * configure: Regenerated.
31971 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31973         [BZ #15532]
31974         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31975         * math/s_cexpf.c (__cexpf): Likewise.
31976         * math/s_cexpl.c (__cexpl): Likewise.
31977         * math/libm-test.inc (cexp_test_data): Correct expected return
31978         value for NaN + i0.  Add another test.
31980 2013-08-22  David S. Miller  <davem@davemloft.net>
31982         * po/ca.po: Update Catalan translation from translation project.
31983         * po/uk.po: Add Ukrainian translations from translation project.
31985 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31987         [BZ #15797]
31988         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31989         is infinite, not alongside NaN test.
31990         * math/s_fdimf.c (__fdimf): Likewise.
31991         * math/s_fdiml.c (__fdiml): Likewise.
31992         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31993         errno is unchanged.
31995 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31997         * argp/argp-help.c: Fix typos.
31998         * crypt/speeds.c: Likewise.
31999         * csu/check_fds.c: Likewise.
32000         * elf/dl-load.c: Likewise.
32001         * elf/dl-open.c: Likewise.
32002         * elf/reldep3.c: Likewise.
32003         * elf/reldep.c: Likewise.
32004         * elf/sprof.c: Likewise.
32005         * iconv/iconv_charmap.c: Likewise.
32006         * iconv/skeleton.c: Likewise.
32007         * iconv/strtab.c: Likewise.
32008         * io/lockf64.c: Likewise.
32009         * libio/libioP.h: Likewise.
32010         * resolv/gai_notify.c: Likewise.
32011         * resolv/ns_name.c: Likewise.
32012         * resolv/ns_samedomain.c: Likewise.
32013         * resolv/res_send.c: Likewise.
32014         * stdlib/random.c: Likewise.
32015         * sunrpc/rpc/xdr.h: Likewise.
32016         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32017         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32018         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32019         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32020         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32024         * sysdeps/mach/hurd/check_fds.c: Likewise.
32025         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32026         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32027         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32028         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32029         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32030         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32031         * sysdeps/pthread/aio_notify.c: Likewise.
32032         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32033         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32034         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32035         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32036         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32038 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32040         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32041         version if bit_Slow_SSE4_2 is set.
32042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32043         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32045 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32047         [BZ #15867]
32048         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32049         trampoline stack frame information.
32050         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32051         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32052         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32053         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32054         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32055         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32056         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32057         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32058         sa_flags value.
32059         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32060         interrupting a syscall and set with option SA_SIGINFO.
32062 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32064         [BZ #15531]
32065         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32066         argument is infinite.
32067         * math/s_cprojf.c (__cprojf): Likewise.
32068         * math/s_cprojl.c (__cprojl): Likewise.
32069         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32070         * math/libm-test.inc (cproj_test_data): Add more tests.
32072         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32074         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32075         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32076         size.  Use __ffs to determine corresponding shift.
32078 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32079             Roland McGrath  <roland@hack.frob.com>
32081         * Makefile (INSTALL): Remove trailing blank lines from output of
32082         makeinfo.
32084 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32086         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32087         Align 32 bit compat elf_greg to 8 bytes.
32089 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32091         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32093 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32095         * string/strcoll_l.c (coll_seq): New structure.
32096         (get_next_seq_cached): New function.
32097         (get_next_seq): New function.
32098         (do_compare): New function.
32099         (STRCOLL): Use GNU style definition.  Simplify implementation
32100         by using get_next_seq, get_next_seq_cached and do_compare.
32102 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32104         [BZ #14699]
32105         CVE-2013-4237
32106         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32107         member.
32108         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32109         member.
32110         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32111         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32112         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32113         conditional.
32114         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32115         GETDENTS_64BIT_ALIGNED.
32116         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32117         * manual/filesys.texi (Reading/Closing Directory): Document
32118         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32119         strongly.
32120         * manual/conf.texi (Limits for Files): Add portability note to
32121         NAME_MAX, PATH_MAX.
32122         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32124 2013-08-13  Andreas Schwab  <schwab@suse.de>
32126         [BZ #15749]
32127         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32128         of fabs.
32129         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32130         LDBL_MAX_EXP >= 16384]: Add tests for it.
32132 2013-08-12  David S. Miller  <davem@davemloft.net>
32134         * version.h (RELEASE): Set to "development".
32135         (VERSION): Set to "2.18.90".
32136         * NEWS: Add 2.19 section.
32138 2013-08-03  David S. Miller  <davem@davemloft.net>
32140         * po/ko.po: Update Korean translation from translation project.
32142 2013-08-01  David S. Miller  <davem@davemloft.net>
32144         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32145         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32146         Bilka.
32148 2013-07-30  David S. Miller  <davem@davemloft.net>
32150         * po/fr.po: Update French translation from translation project.
32152 2013-07-28  David S. Miller  <davem@davemloft.net>
32154         * po/cs.po: Update Czech translation from translation project.
32156         * po/sv.po: Update Swedish translation from translation project.
32158 2013-07-27  David S. Miller  <davem@davemloft.net>
32160         * po/eo.po: Update Esperanto translation from translation project.
32162         * po/vi.po: Update Vietnamese translation from translation project.
32164         * po/de.po: Update German translation from translation project.
32166 2013-07-26  David S. Miller  <davem@davemloft.net>
32168         * po/bg.po: Update Bulgarian translation from translation project.
32170         * po/nl.po: Update Dutch translation from translation project.
32171         * po/pl.po: Update Polish translation from translation project.
32172         * po/ru.po: Update Russian translation from translation project.
32174 2013-07-24  David S. Miller  <davem@davemloft.net>
32176         * po/libc.pot: Update.
32178 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32180         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32181         variable page size.
32182         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32183         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32184         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32186 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32188         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32190 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32191             Andreas Schwab  <schwab@suse.de>
32192             Roland McGrath  <roland@hack.frob.com>
32193             Joseph Myers  <joseph@codesourcery.com>
32194             Carlos O'Donell  <carlos@redhat.com>
32196         [BZ #15755]
32197         * config.h.in: Define HAVE_PT_CHOWN.
32198         * config.make.in (build-pt-chown): New variable.
32199         * configure.in (--enable-pt_chown): New configure option.
32200         * configure: Regenerate.
32201         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32202         build-pt-chown is enabled.
32203         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32204         pt_chown to fix pty ownership.
32205         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32206         CLOSE_ALL_FDS.
32207         * manual/install.texi (Configuring and compiling): Mention
32208         --enable-pt_chown. Add @findex for grantpt.
32209         * INSTALL: Regenerate.
32211 2013-07-20  David S. Miller  <davem@davemloft.net>
32213         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32214         difference between 32-bit and 64-bit.
32216 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32218         [BZ #15711]
32219         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32220         Avoid system header dependency with -ffreestanding.
32221         ($(objpfx)bits/syscall%d): Likewise.
32223 2013-07-13  David S. Miller  <davem@davemloft.net>
32225         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32226         underflows from atanl/atan2l due to bug 15319.
32227         (casinh_test_data): Likewise.
32229 2013-07-07  David S. Miller  <davem@davemloft.net>
32231         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32233 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32235         * sysdeps/i386/fpu/libm-test-ulps: Update.
32236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32238 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32240         * configure.in (--enable-lock-elision): Fix message text.
32241         * INSTALL: Regenerate.
32242         * configure: Regenerate.
32244 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32248 2013-07-03  Andreas Jaeger  <aj@suse.de>
32250         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32251         define.
32252         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32253         (ptrace_peeksiginfo_args): Add.
32254         (__ptrace_peeksiginfo_flags): Add.
32255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32259 2013-07-03  Allan McRae  <allan@archlinux.org>
32261         * sysdeps/i386/fpu/libm-test-ulps: Update.
32263 2013-07-02  David S. Miller  <davem@davemloft.net>
32265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32267 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32271 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32273         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32276 2013-07-02  Andi Kleen <ak@linux.intel.com>
32278         * config.h.in (ENABLE_LOCK_ELISION): Add.
32279         * configure.in (--enable-lock-elision): Add option.
32280         * manual/install.texi: Document --enable lock elision.
32281         * configure: Regenerate
32282         * INSTALL: Regenerate.
32284 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32286         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32287         SSE4.2 strcasecmp for libc.a.
32288         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32290 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32292         [BZ #13304]
32293         * soft-fp/op-common.h (_FP_FMA): New macro.
32294         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32295         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32296         (_FP_MUL_MEAT_1_imm): ... here.
32297         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32298         (_FP_MUL_MEAT_1_wide): ... here.
32299         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32300         (_FP_MUL_MEAT_1_hard): ... here.
32301         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32302         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32303         (_FP_MUL_MEAT_2_wide): ... here.
32304         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32305         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32306         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32307         (_FP_MUL_MEAT_2_gmp): ... here.
32308         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32309         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32310         (_FP_MUL_MEAT_4_wide): ... here.
32311         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32312         (_FP_MUL_MEAT_4_gmp): ... here.
32313         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32314         (_FP_WFRACBITS_DW_S): Likewise.
32315         (_FP_WFRACXBITS_DW_S): Likewise.
32316         (_FP_HIGHBIT_DW_S): Likewise.
32317         (FP_FMA_S): Likewise.
32318         (_FP_FRAC_HIGH_DW_S): Likewise.
32319         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32320         (_FP_WFRACBITS_DW_D): Likewise.
32321         (_FP_WFRACXBITS_DW_D): Likewise.
32322         (_FP_HIGHBIT_DW_D): Likewise.
32323         (FP_FMA_D): Likewise.
32324         (_FP_FRAC_HIGH_DW_D): Likewise.
32325         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32326         (_FP_WFRACBITS_DW_E): Likewise.
32327         (_FP_WFRACXBITS_DW_E): Likewise.
32328         (_FP_HIGHBIT_DW_E): Likewise.
32329         (FP_FMA_E): Likewise.
32330         (_FP_FRAC_HIGH_DW_E): Likewise.
32331         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32332         (_FP_WFRACBITS_DW_Q): Likewise.
32333         (_FP_WFRACXBITS_DW_Q): Likewise.
32334         (_FP_HIGHBIT_DW_Q): Likewise.
32335         (FP_FMA_Q): Likewise.
32336         (_FP_FRAC_HIGH_DW_Q): Likewise.
32337         * soft-fp/fmasf4.c: New file.
32338         * soft-fp/fmadf4.c: Likewise.
32339         * soft-fp/fmatf4.c: Likewise.
32341 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32344         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32345         Silvermont.
32346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32347         macro.
32348         (index_Slow_SSE4_2): Likewise.
32349         (index_Prefer_PMINUB_for_stringop): Likewise.
32350         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32351         bit_Slow_SSE4_2 is set.
32352         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32353         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32355 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32357         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32358         rtld_global._dl_hwcap2.
32359         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32360         POWER8.
32361         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32362         POWER8 feature descriptions defined in _dl_hwcap2.
32363         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32364         string handling for POWER8 feature bits.
32365         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32366         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32367         _dl_powerpc_cap_flags.
32368         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32369         * sysdeps/powerpc/rtld-global-offsets.sym
32370         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32371         _dl_hwcap2 in the rtld_global_ro structure.
32373 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32375         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32376         hardware capabilities in support of AT_HWCAP2.
32377         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32378         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32379         GLRO(dl_hwcap2).
32380         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32381         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32382         explicitly the unknown a_type display mechanism is used.
32383         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32384         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32385         struct member.
32386         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32387         to macro prototype for AT_HWCAP2 support.
32388         * sysdeps/i386/dl-procinfo.h: Likewise.
32389         * sysdeps/s390/dl-procinfo.h: Likewise.
32390         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32391         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32392         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32393         return -1 for unknown a_type display fallback.
32394         * sysdeps/sparc/dl-procinfo.h: Likewise.
32395         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32396         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32398 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32401         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32403 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32405         [BZ #12492]
32406         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32407         mprotect making __stack_prot writable.
32409 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32410             Joseph Myers  <joseph@codesourcery.com>
32412         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32413         as being properly aligned.
32415 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32417         * dlfcn/modstatic5.c: New file.
32418         * dlfcn/tststatic5.c: New file.
32419         * dlfcn/Makefile (tests): Add tststatic5.
32420         (tests-static): Likewise.
32421         (modules-names): Add modstatic5.
32422         (tststatic5-ENV): New variable.
32423         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32425         [BZ #15022]
32426         * elf/dl-support.c (_dl_main_map): New variable.
32427         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32428         (_dl_nns, _dl_load_adds): Set to 1.
32429         (_dl_initial_searchlist): Refer to _dl_main_map.
32430         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32431         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32432         call to _dl_get_origin.
32433         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32434         around call_map.
32435         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32436         * dlfcn/modstatic3.c: New file.
32437         * dlfcn/tststatic3.c: New file.
32438         * dlfcn/tststatic4.c: New file.
32439         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32440         (tests-static): Likewise.
32441         (modules-names): Add modstatic3.
32442         (tststatic3-ENV, tststatic4-ENV): New variables.
32443         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32444         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32446 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32448         * configure.in (CC): Require GCC version 4.4 or later.
32449         * configure: Regenerated.
32450         * manual/install.texi (Tools for Compilation): Update GCC version
32451         requirement.
32452         * INSTALL: Regenerated.
32454 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32456         [BZ #15674]
32457         * string/test-memcmp.c (check2): New.
32458         (main): Call check2.
32460         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32462 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32464         [BZ #15022]
32465         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32466         over to...
32467         (dl_open_worker) [!SHARED]: ... here.
32469 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32471         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32473 2013-06-25  Richard Henderson  <rth@redhat.com>
32475         * locale/programs/locarchive.c: Include <libc-internal.h>
32477 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32479         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32480         trailing whitespace removed.
32482 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32484         [BZ #10283]
32485         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32486         * locale/programs/locarchive.c: Include libc-mmap.h.
32487         (prepare_address_space): Take two new outputs (the mmap base and len).
32488         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32489         values.
32490         (create_archive): Declare new mmap base and len values for
32491         prepare_address_space, and store the result in ah.
32492         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32493         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32494         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32495         Declare new mmap base and len values for
32496         prepare_address_space, and store the result in new_ah.
32497         (open_archive): Declare new mmap base and len values for
32498         prepare_address_space, and store the result in ah.
32499         (close_archive): If ah->mmap_base is not NULL, use that and
32500         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32501         * sysdeps/generic/libc-mmap.h: New file.
32503 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32505         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32506         (ALIGN_UP): Likewise.
32507         (PTR_ALIGN_DOWN): Likewise.
32508         (PTR_ALIGN_UP): Likewise.
32510 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32512         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32513         entry mapped to PPC_PLATFORM_POWER8.
32514         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32515         POWER8.
32516         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32517         (_dl_string_platform): Add case for exporting platform position for
32518         POWER8.
32519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32520         search path to sysdeps/powerpc/powerpc32/power8 directory.
32521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32522         search path to sysdeps/powerpc/powerpc64/power8 directory.
32523         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32524         power7 directories.
32525         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32526         power7 directories.
32528 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32530         * INSTALL: Regenerate.
32532         * nscd/connections.c (nscd_init): Fix comment.
32534 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32536         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32538         [BZ #15667]
32539         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32540         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32542 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32544         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32545         DL_DST_REQ_STATIC.
32546         (DL_DST_REQ_STATIC): Remove macro.
32548 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32550         [BZ #7006]
32551         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32552         with a shift of 0 bits.
32554 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32556         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32557         $(tststatic-ENV).
32559 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32561         [BZ #15655]
32562         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32564 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32566         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32567         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32568         accepts -fno-tree-loop-distribute-patterns.
32569         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32570         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32571         recursive call.
32572         * string/memset.c (memset): Likewise.
32573         * string/test-memmove.c (simple_memmove): Disable loop transformation
32574         to library calls.
32575         * string/test-memset.c (simple_memset): Likewise.
32576         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32577         * benchtests/bench-memset.c (simple_memset): Likewise.
32578         * configure: Regenerated.
32580 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32582         * math/test-misc.c (main): Ignore fesetround failure when failures
32583         of subsequent rounding tests would be ignored.
32585         [BZ #15654]
32586         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32587         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32588         * math/fegetenv.c (__fegetenv): Return 0.
32589         * math/fegetexcept.c (fegetexcept): Return 0.
32590         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32591         FE_TONEAREST.
32592         * math/feholdexcpt.c (feholdexcept): Return 0.
32593         * math/fesetenv.c (__fesetenv): Return 0.
32594         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32595         argument FE_TONEAREST.
32596         * math/feupdateenv.c (__feupdateenv): Return 0.
32597         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32599 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32601         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32602         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32603         ($(objpfx)rtld-%.os rules): Use them.
32605 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32607         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32608         fields.
32610 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32612         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32613         length of target pattern, then descending length of dependency pattern.
32614         * configure.in (AWK): Require gawk 3.1.2 or newer.
32615         * manual/install.texi (Tools for Compilation): Say that we do.
32616         * configure: Regenerated.
32618         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32619         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32620         * scripts/sysd-rules.awk: ... this new script.
32621         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32622         than a glob-style pattern.
32624 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32626         * math/test-misc.c (main): Do not treat incorrectly rounded
32627         conversions as failure unless ROUNDING_TESTS passes.
32629 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32631         [BZ #15631]
32632         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32633         restore exception state around main square root computation, then
32634         check for inexactness explicitly.
32636         * math/libm-test.inc (fma_test_data): Add another test.
32638 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32640         * manual/threads.texi (Non-POSIX Extensions): New document
32641         node.  Document pthread_getattr_default_np and
32642         pthread_setattr_default_np.
32644         * Versions.def (libpthread): Add GLIBC_2.18.
32645         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32647         Likewise.
32648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32649         Likewise.
32650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32651         Likewise.
32652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32653         Likewise.
32654         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32655         Likewise.
32656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32657         Likewise.
32658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32659         Likewise.
32660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32661         Likewise.
32662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32663         Likewise.
32665 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32668         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32670 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32671             H.J. Lu  <hjl.tools@gmail.com>
32673         [BZ #15627]
32674         * sysdeps/x86_64/rtld-memset.c: Remove file.
32675         * sysdeps/x86_64/rtld-memset.S: New file.
32677 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32679         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32680         (test_in_one_mode): Take arguments for whether the rounding mode
32681         is supported for each floating-point type.
32682         (do_test): Pass new arguments to test_in_one_mode using
32683         ROUNDING_TESTS.
32685 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32687         * posix/tst-waitid.c (do_test): Distinguish different instances of
32688         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32689         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32690         before entering the kernel for waitpid.
32692 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32694         * NEWS: Fix note on clock function precision.  Text by Roland
32695         McGrath.
32697 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32699         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32700         it into place only when and if the sanity check passes.
32702 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32704         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32705         output for whether conversion result is exact.  Take argument
32706         indicating whether type is IBM long double.
32707         (round_for_all): Change need_exact field to ibm_ld.
32708         * stdlib/tst-strtod-round.c (struct exactness): New type.
32709         (struct test): Change bool ld_ok field to struct exactness exact.
32710         (TEST): Update all definitions for change to field.
32711         (tests): Regenerate array contents.
32712         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32713         field value.  Check for IBM long double here.
32714         (do_test): Update calls to test_in_one_mode.
32716 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32718         [BZ #12515]
32719         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32720         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32722 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32724         [BZ #15605]
32725         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32726         generated by the compiler on loop optimizations.
32727         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32728         general definitions.
32730 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32732         * math/bug-nextafter.c: Include <math-tests.h>.
32733         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32734         the relevant type.
32735         * math/bug-nexttoward.c: Include <math-tests.h>.
32736         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32737         the relevant type.
32738         * math/test-misc.c: Include <math-tests.h>.
32739         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32740         the relevant type.
32742 2013-06-12  Andreas Jaeger  <aj@suse.de>
32744         * po/ia.po: Update Interlingua translation from translation
32745         project.
32747 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32749         * include/fenv.h: Include stdbool.h.
32750         (struct rm_ctx): New structure.
32751         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32752         Define macro.
32753         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32754         (SET_RESTORE_ROUNDF): Likewise.
32755         (SET_RESTORE_ROUNDL): Likewise.
32756         (SET_RESTORE_ROUND_NOEX): Likewise.
32757         (SET_RESTORE_ROUND_NOEXF): Likewise.
32758         (SET_RESTORE_ROUND_NOEXL): Likewise.
32759         (SET_RESTORE_ROUND_53BIT): Likewise.
32760         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32761         (libc_feresetround_noexf_ctx): Likewise.
32762         (libc_feresetround_noexl_ctx): Likewise.
32763         (libc_feholdsetround_53bit_ctx): Likewise.
32764         (libc_feresetround_53bit_ctx): Likewise.
32765         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32766         (libc_feholdexcept_setround_sse_ctx): New function.
32767         (libc_fesetenv_sse_ctx): Likewise.
32768         (libc_feupdateenv_sse_ctx): Likewise.
32769         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32770         (libc_feholdexcept_setround_387_ctx): Likewise.
32771         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32772         (libc_feholdsetround_387_prec_ctx): Likewise.
32773         (libc_feholdsetround_387_ctx): Likewise.
32774         (libc_feholdsetround_387_53bit_ctx): Likewise.
32775         (libc_feholdsetround_sse_ctx): Likewise.
32776         (libc_feresetround_sse_ctx): Likewise.
32777         (libc_feresetround_387_ctx): Likewise.
32778         (libc_feupdateenv_387_ctx): Likewise.
32779         (libc_feholdexcept_setroundf_ctx): Define macro.
32780         (libc_fesetenvf_ctx): Likewise.
32781         (libc_feupdateenvf_ctx): Likewise.
32782         (libc_feholdsetroundf_ctx): Likewise.
32783         (libc_feresetroundf_ctx): Likewise.
32784         (libc_feholdexcept_setround_ctx): Likewise.
32785         (libc_fesetenv_ctx): Likewise.
32786         (libc_feupdateenv_ctx): Likewise.
32787         (libc_feholdsetround_ctx): Likewise.
32788         (libc_feresetround_ctx): Likewise.
32789         (libc_feholdexcept_setroundl_ctx): Likewise.
32790         (libc_feupdateenvl_ctx): Likewise.
32791         (libc_feholdsetroundl_ctx): Likewise.
32792         (libc_feresetroundl_ctx): Likewise.
32793         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32794         (libc_feresetround_53bit_ctx): Likewise.
32796 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32798         * locale/iso-639.def: Convert to UTF-8.
32800 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32802         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32803         (EXCEPTION_TESTS_double): Likewise.
32804         (EXCEPTION_TESTS_long_double): Likewise.
32805         (EXCEPTION_TESTS): Likewise.
32806         * math/libm-test.inc (test_exceptions): Only test exceptions if
32807         EXCEPTION_TESTS (FLOAT).
32809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32811         * benchtests/Makefile (string-bench): Add strcpy_chk and
32812         stpcpy_chk.
32813         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32814         * benchtests/bench-stpcpy_chk.c: New file.
32815         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32816         * benchtests/bench-strcpy_chk.c: New file.
32817         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32818         code.
32819         (do_test): Likewise.
32821 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32823         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32824         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32825         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32826         with tabs where appropriate.
32827         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32828         dl-procinfo.h.
32829         [PPC_PLATFORM_PPC440]: Likewise.
32830         [PPC_PLATFORM_PPC464]: Likewise.
32831         [PPC_PLATFORM_PPC476]: Likewise.
32832         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32833         ppc464, and ppc476 platform strings merging from ports/
32834         dl-procinfo.h.
32836 2013-06-11  Andreas Schwab  <schwab@suse.de>
32838         [BZ #14991]
32839         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32840         (from_ucs4_idx): Regenerate.
32841         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32842         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32843         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32844         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32845         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32846         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32847         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32848         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32849         from FROM_LOOP and TO_LOOP specific macros.
32850         (BODY): Handle combining characters.
32851         * iconvdata/BIG5HKSCS.irreversible: Update.
32852         * iconvdata/BIG5HKSCS.precomposed: New file.
32853         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32854         characters.
32855         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32857 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32859         * include/sys/time.h: Fix indentation and add copyright header.
32861         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32862         (do_test): Likewise.
32863         * string/test-memchr.c (do_one_test): Likewise.
32864         (do_test): Likewise.
32865         * string/test-memcmp.c (do_one_test): Likewise.
32866         (do_test): Likewise.
32867         * string/test-memcpy.c (do_one_test): Likewise.
32868         (do_test): Likewise.
32869         * string/test-memmem.c (do_one_test): Likewise.
32870         (do_test): Likewise.
32871         (do_random_tests): Likewise.
32872         * string/test-memmove.c (do_one_test): Likewise.
32873         (do_test): Likewise.
32874         * string/test-memset.c (do_one_test): Likewise.
32875         (do_test): Likewise.
32876         * string/test-rawmemchr.c (do_one_test): Likewise.
32877         (do_test): Likewise.
32878         * string/test-strcasecmp.c (do_one_test): Likewise.
32879         (do_test): Likewise.
32880         * string/test-strcasestr.c (do_one_test): Likewise.
32881         (do_test): Likewise.
32882         * string/test-strcat.c (do_one_test): Likewise.
32883         (do_test): Likewise.
32884         * string/test-strchr.c (do_one_test): Likewise.
32885         (do_test): Likewise.
32886         * string/test-strcmp.c (do_one_test): Likewise.
32887         (do_test): Likewise.
32888         * string/test-strcpy.c (do_one_test): Likewise.
32889         (do_test): Likewise.
32890         * string/test-string.h: Likewise.
32891         (test_init): Likewise.
32892         * string/test-strlen.c (do_one_test): Likewise.
32893         (do_test): Likewise.
32894         * string/test-strncasecmp.c (do_one_test): Likewise.
32895         (do_test): Likewise.
32896         * string/test-strncat.c (do_one_test): Likewise.
32897         (do_test): Likewise.
32898         * string/test-strncmp.c (do_one_test): Likewise.
32899         (do_test_limit): Likewise.
32900         (do_test): Likewise.
32901         * string/test-strncpy.c (do_one_test): Likewise.
32902         (do_test): Likewise.
32903         * string/test-strnlen.c (do_one_test): Likewise.
32904         (do_test): Likewise.
32905         * string/test-strpbrk.c (do_one_test): Likewise.
32906         (do_test): Likewise.
32907         * string/test-strrchr.c (do_one_test): Likewise.
32908         (do_test): Likewise.
32909         * string/test-strspn.c (do_one_test): Likewise.
32910         (do_test): Likewise.
32911         * string/test-strstr.c (do_one_test): Likewise.
32912         (do_test): Likewise.
32914         * benchtests/Makefile (string-bench): Add string benchmarks.
32915         * benchtests/bench-bcopy-ifunc.c: New file.
32916         * benchtests/bench-bcopy.c: New file.
32917         * benchtests/bench-bzero-ifunc.c: New file.
32918         * benchtests/bench-bzero.c: New file.
32919         * benchtests/bench-memccpy-ifunc.c: New file.
32920         * benchtests/bench-memccpy.c: New file.
32921         * benchtests/bench-memchr-ifunc.c: New file.
32922         * benchtests/bench-memchr.c: New file.
32923         * benchtests/bench-memcmp-ifunc.c: New file.
32924         * benchtests/bench-memcmp.c: New file.
32925         * benchtests/bench-memmem-ifunc.c: New file.
32926         * benchtests/bench-memmem.c: New file.
32927         * benchtests/bench-memmove-ifunc.c: New file.
32928         * benchtests/bench-memmove.c: New file.
32929         * benchtests/bench-mempcpy-ifunc.c: New file.
32930         * benchtests/bench-mempcpy.c: New file.
32931         * benchtests/bench-memset-ifunc.c: New file.
32932         * benchtests/bench-memset.c: New file.
32933         * benchtests/bench-rawmemchr-ifunc.c: New file.
32934         * benchtests/bench-rawmemchr.c: New file.
32935         * benchtests/bench-stpcpy-ifunc.c: New file.
32936         * benchtests/bench-stpcpy.c: New file.
32937         * benchtests/bench-stpncpy-ifunc.c: New file.
32938         * benchtests/bench-stpncpy.c: New file.
32939         * benchtests/bench-strcasecmp-ifunc.c: New file.
32940         * benchtests/bench-strcasecmp.c: New file.
32941         * benchtests/bench-strcasestr-ifunc.c: New file.
32942         * benchtests/bench-strcasestr.c: New file.
32943         * benchtests/bench-strcat-ifunc.c: New file.
32944         * benchtests/bench-strcat.c: New file.
32945         * benchtests/bench-strchr-ifunc.c: New file.
32946         * benchtests/bench-strchr.c: New file.
32947         * benchtests/bench-strchrnul-ifunc.c: New file.
32948         * benchtests/bench-strchrnul.c: New file.
32949         * benchtests/bench-strcmp-ifunc.c: New file.
32950         * benchtests/bench-strcmp.c: New file.
32951         * benchtests/bench-strcpy-ifunc.c: New file.
32952         * benchtests/bench-strcpy.c: New file.
32953         * benchtests/bench-strcspn-ifunc.c: New file.
32954         * benchtests/bench-strcspn.c: New file.
32955         * benchtests/bench-strlen-ifunc.c: New file.
32956         * benchtests/bench-strlen.c: New file.
32957         * benchtests/bench-strncasecmp-ifunc.c: New file.
32958         * benchtests/bench-strncasecmp.c: New file.
32959         * benchtests/bench-strncat-ifunc.c: New file.
32960         * benchtests/bench-strncat.c: New file.
32961         * benchtests/bench-strncmp-ifunc.c: New file.
32962         * benchtests/bench-strncmp.c: New file.
32963         * benchtests/bench-strncpy-ifunc.c: New file.
32964         * benchtests/bench-strncpy.c: New file.
32965         * benchtests/bench-strnlen-ifunc.c: New file.
32966         * benchtests/bench-strnlen.c: New file.
32967         * benchtests/bench-strpbrk-ifunc.c: New file.
32968         * benchtests/bench-strpbrk.c: New file.
32969         * benchtests/bench-strrchr-ifunc.c: New file.
32970         * benchtests/bench-strrchr.c: New file.
32971         * benchtests/bench-strspn-ifunc.c: New file.
32972         * benchtests/bench-strspn.c: New file.
32973         * benchtests/bench-strstr-ifunc.c: New file.
32974         * benchtests/bench-strstr.c: New file.
32976         * benchtests/Makefile: Disable parallel execution of targets.
32977         (string-bench): Add memcpy.
32978         (benchset): New variable to store a list of benchmark sets.
32979         (bench-func): Renamed from bench.
32980         (bench-set): New target.
32981         (bench): Depend on bench-func and bench-set.
32982         * benchtests/README: Add section on benchmark sets.
32983         * benchtests/bench-memcpy-ifunc.c: New file.
32984         * benchtests/bench-memcpy.c: New file.
32985         * benchtests/bench-string.h: New file.
32987 2013-06-11  Andreas Schwab  <schwab@suse.de>
32989         [BZ #15577]
32990         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32991         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32992         values in the triple.
32993         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32994         terminator in the group key.
32996 2013-06-11  Andreas Jaeger  <aj@suse.de>
32998         * po/zh_TW.po: Update Chinese (traditional) translation from
32999         translation project.
33001 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33003         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33004         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33005         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33007         (clock_getcpuclockid): Likewise.
33008         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33009         Add weak_alias and libc_hidden_def.
33010         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33011         * rt/clock_gettime.c (clock_gettime): Rename to
33012         __clock_gettime.  Add weak_alias and libc_hidden_def.
33013         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33014         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33015         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33016         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33017         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33018         Likewise.
33019         * rt/clock_settime.c (clock_settime): Rename to
33020         __clock_settime.  Add weak_alias and libc_hidden_def.
33021         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33023 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33025         * mach/err_boot.sub: Remove trailing whitespace.
33026         * mach/err_ipc.sub: Likewise.
33027         * mach/err_mach.sub: Likewise.
33029         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33030         (ROUNDING_TESTS_double): Likewise.
33031         (ROUNDING_TESTS_long_double): Likewise.
33032         (ROUNDING_TESTS): Likewise.
33033         * math/libm-test.inc: Include <math-tests.h>.
33034         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33035         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33036         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33037         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33039 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33041         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33042         of assigning.
33044 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33046         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33047         otherwise empty TRANS lines.
33048         * sysdeps/gnu/errlist.c: Regenerated.
33050         * catgets/gencat.c (error_print): Use (void) in function
33051         definition.
33052         * crypt/crypt_util.c (__init_des): Likewise.
33053         * crypt/speeds.c (Stop): Likewise.
33054         (main): Likewise.
33055         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33056         * inet/ruserpass.c (token): Likewise.
33057         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33058         * intl/localealias.c (extend_alias_table): Likewise.
33059         * intl/plural-exp.c (init_germanic_plural): Likewise.
33060         * libio/fcloseall.c (__fcloseall): Likewise.
33061         * libio/genops.c (_IO_flush_all): Likewise.
33062         (_IO_flush_all_linebuffered): Likewise.
33063         (_IO_cleanup): Likewise.
33064         (_IO_iter_begin): Likewise.
33065         (_IO_iter_end): Likewise.
33066         (_IO_list_lock): Likewise.
33067         (_IO_list_unlock): Likewise.
33068         (_IO_list_resetlock): Likewise.
33069         * libio/getchar.c (getchar): Likewise.
33070         * libio/getchar_u.c (getchar_unlocked): Likewise.
33071         * libio/getwchar.c (getwchar): Likewise.
33072         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33073         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33074         * login/getpt.c (__getpt): Likewise.
33075         * login/tst-utmp.c (main): Likewise.
33076         * malloc/hooks.c (__malloc_check_init): Likewise.
33077         * malloc/malloc.c (__malloc_stats): Likewise.
33078         * malloc/mtrace.c (tr_break): Likewise.
33079         (mtrace): Likewise.
33080         (muntrace): Likewise.
33081         * misc/fstab.c (endfsent): Likewise.
33082         * misc/getclktck.c (__getclktck): Likewise.
33083         * misc/getdtsz.c (__getdtablesize): Likewise.
33084         * misc/gethostid.c (gethostid): Likewise.
33085         * misc/getpagesize.c (__getpagesize): Likewise.
33086         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33087         (__get_nprocs): Likewise.
33088         (__get_phys_pages): Likewise.
33089         (__get_avphys_pages): Likewise.
33090         * misc/getttyent.c (getttyent): Likewise.
33091         (setttyent): Likewise.
33092         (endttyent): Likewise.
33093         * misc/getusershell.c (getusershell): Likewise.
33094         (endusershell): Likewise.
33095         (setusershell): Likewise.
33096         (initshells): Likewise.
33097         * misc/hsearch.c (__hdestroy): Likewise.
33098         * misc/sync.c (sync): Likewise.
33099         * misc/syslog.c (closelog_internal): Likewise.
33100         (closelog): Likewise.
33101         * misc/ttyslot.c (ttyslot): Likewise.
33102         * misc/vhangup.c (vhangup): Likewise.
33103         * posix/fork.c (__fork): Likewise.
33104         * posix/getegid.c (__getegid): Likewise.
33105         * posix/geteuid.c (__geteuid): Likewise.
33106         * posix/getgid.c (__getgid): Likewise.
33107         * posix/getpid.c (__getpid): Likewise.
33108         * posix/getppid.c (__getppid): Likewise.
33109         * posix/getuid.c (__getuid): Likewise.
33110         * posix/pause.c (pause): Likewise.
33111         * posix/setpgrp.c (setpgrp): Likewise.
33112         * posix/setsid.c (__setsid): Likewise.
33113         * posix/test-vfork.c (noop): Likewise.
33114         * resolv/gethnamaddr.c (_endhtent): Likewise.
33115         (_gethtent): Likewise.
33116         (ht_endhostent): Likewise.
33117         (gethostent): Likewise.
33118         (dns_service): Likewise.
33119         * stdlib/drand48.c (drand48): Likewise.
33120         * stdlib/lrand48.c (lrand48): Likewise.
33121         * stdlib/mrand48.c (mrand48): Likewise.
33122         * stdlib/rand.c (rand): Likewise.
33123         * stdlib/random.c (__random): Likewise.
33124         * stdlib/setenv.c (clearenv): Likewise.
33125         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33126         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33127         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33128         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33129         (__get_nprocs): Likewise.
33130         (__get_phys_pages): Likewise.
33131         (__get_avphys_pages): Likewise.
33132         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33133         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33134         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33135         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33136         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33137         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33138         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33139         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33140         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33141         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33142         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33143         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33144         * sysdeps/posix/clock.c (clock): Likewise.
33145         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33146         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33147         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33148         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33149         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33151         (__get_nprocs_conf): Likewise.
33152         (__get_phys_pages): Likewise.
33153         (__get_avphys_pages): Likewise.
33154         * time/clock.c (clock): Likewise.
33155         * time/tzset.c (__tzname_max): Likewise.
33157 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33159         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33160         (__bswap_32): Do not use "register".
33161         * crypt/crypt.c (_ufc_doit_r): Likewise.
33162         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33163         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33164         * gmon/gmon.c (__monstartup): Likewise.
33165         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33166         * hurd/hurdmalloc.c (more_memory): Likewise.
33167         (malloc): Likewise.
33168         (free): Likewise.
33169         (realloc): Likewise.
33170         (malloc_fork_prepare): Likewise.
33171         (malloc_fork_parent): Likewise.
33172         (malloc_fork_child): Likewise.
33173         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33174         (_svcauth_des): Likewise.
33175         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33176         * inet/inet_net.c (inet_network): Likewise.
33177         * inet/inet_netof.c (inet_netof): Likewise.
33178         * inet/rcmd.c (__validuser2_sa): Likewise.
33179         * io/fts.c (fts_open): Likewise.
33180         (fts_load): Likewise.
33181         (fts_close): Likewise.
33182         (fts_read): Likewise.
33183         (fts_children): Likewise.
33184         (fts_build): Likewise.
33185         (fts_stat): Likewise.
33186         (fts_sort): Likewise.
33187         (fts_alloc): Likewise.
33188         (fts_lfree): Likewise.
33189         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33190         (_IO_file_xsgetn): Likewise.
33191         (_IO_file_xsgetn_mmap): Likewise.
33192         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33193         (_IO_cookie_write): Likewise.
33194         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33195         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33196         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33197         * malloc/obstack.c (_obstack_begin): Likewise.
33198         (_obstack_begin_1): Likewise.
33199         (_obstack_newchunk): Likewise.
33200         (_obstack_allocated_p): Likewise.
33201         (obstack_free): Likewise.
33202         (_obstack_memory_used): Likewise.
33203         * misc/getttyent.c (getttynam): Likewise.
33204         (getttyent): Likewise.
33205         (skip): Likewise.
33206         (value): Likewise.
33207         * misc/getusershell.c (initshells): Likewise.
33208         * misc/syslog.c (__vsyslog_chk): Likewise.
33209         * misc/ttyslot.c (ttyslot): Likewise.
33210         * nis/nis_hash.c (__nis_hash): Likewise.
33211         * posix/fnmatch_loop.c (FCT): Likewise.
33212         * posix/getconf.c (print_all): Likewise.
33213         (main): Likewise.
33214         * posix/getopt.c (exchange): Likewise.
33215         * posix/glob.c (globfree): Likewise.
33216         (prefix_array): Likewise.
33217         (__glob_pattern_type): Likewise.
33218         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33219         (NS_GET32): Likewise.
33220         (NS_PUT16): Likewise.
33221         (NS_PUT32): Likewise.
33222         * resolv/gethnamaddr.c (getanswer): Likewise.
33223         (gethostbyname2): Likewise.
33224         (gethostbyaddr): Likewise.
33225         (_gethtent): Likewise.
33226         (_gethtbyname2): Likewise.
33227         (_gethtbyaddr): Likewise.
33228         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33229         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33230         * resolv/res_init.c (__res_vinit): Likewise.
33231         (net_mask): Likewise.
33232         * resolv/res_mkquery.c (outchar): Likewise.
33233         (PRINT): Likewise.
33234         * stdio-common/printf_fp.c (outchar): Likewise.
33235         (PRINT): Likewise.
33236         * stdio-common/printf_fphex.c (outchar): Likewise.
33237         (PRINT): Likewise.
33238         * stdio-common/printf_size.c (outchar): Likewise.
33239         (PRINT): Likewise.
33240         * stdio-common/test_rdwr.c (main): Likewise.
33241         * stdio-common/tfformat.c (matches): Likewise.
33242         * stdio-common/vfprintf.c (outchar): Likewise.
33243         (printf_unknown): Likewise.
33244         (buffered_vfprintf): Likewise.
33245         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33246         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33247         (ReadFile): Likewise.
33248         * stdlib/qsort.c (SWAP): Likewise.
33249         (_quicksort): Likewise.
33250         * stdlib/setenv.c (__add_to_environ): Likewise.
33251         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33252         * stdlib/strtol_l.c (__strtol_l): Likewise.
33253         * stdlib/tst-strtod.c (main): Likewise.
33254         * stdlib/tst-strtol.c (main): Likewise.
33255         * stdlib/tst-strtoll.c (main): Likewise.
33256         * string/bits/string2.h (__strcmp_cc): Likewise.
33257         (__strcmp_cg): Likewise.
33258         (__strcspn_c1): Likewise.
33259         (__strcspn_c2): Likewise.
33260         (__strcspn_c3): Likewise.
33261         (__strspn_c1): Likewise.
33262         (__strspn_c2): Likewise.
33263         (__strspn_c3): Likewise.
33264         (__strsep_1c): Likewise.
33265         (__strsep_2c): Likewise.
33266         (__strsep_3c): Likewise.
33267         * string/memccpy.c (__memccpy): Likewise.
33268         * string/stpcpy.c (__stpcpy): Likewise.
33269         * string/strcmp.c (strcmp): Likewise.
33270         * string/strrchr.c (strrchr): Likewise.
33271         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33272         Likewise.
33273         * sysdeps/mach/hurd/getcwd.c
33274         (_hurd_canonicalize_directory_name_internal): Likewise.
33275         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33276         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33277         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33278         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33279         Likewise, in both definitions.
33280         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33281         definitions.
33282         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33283         64] (__bswap_64): Likewise.
33284         * time/test_time.c (main): Likewise.
33285         * time/tzfile.c (__tzfile_read): Likewise.
33286         (__tzfile_compute): Likewise.
33287         * time/tzset.c (__tzset_parse_tz): Likewise.
33288         (tzset_internal): Likewise.
33289         (compute_change): Likewise.
33290         * wcsmbs/wcscat.c (__wcscat): Likewise.
33291         * wcsmbs/wcschr.c (wcschr): Likewise.
33292         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33293         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33294         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33295         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33296         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33297         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33298         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33299         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33300         * wcsmbs/wmemset.c (wmemset): Likewise.
33302 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33304         * scripts/config.guess: Update to version 2013-05-16.
33305         * scripts/config.sub: Update to version 2013-04-24.
33306         * scripts/install-sh: Update to version 2011-11-20.07.
33307         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33308         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33310 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33312         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33313         * elf/sln.c: Likewise.
33314         * hurd/hurd/ioctl.h: Likewise.
33315         * hurd/hurdmalloc.c: Likewise.
33316         * hurd/xattr.c: Likewise.
33317         * include/shlib-compat.h: Likewise.
33318         * inet/ruserpass.c: Likewise.
33319         * libio/iofgets_u.c: Likewise.
33320         * libio/iofgetws_u.c: Likewise.
33321         * locale/programs/ld-identification.c: Likewise.
33322         * locale/programs/ld-time.c: Likewise.
33323         * mach/msg-destroy.c: Likewise.
33324         * nss/nss_files/files-netgrp.c: Likewise.
33325         * resolv/res_data.c: Likewise.
33326         * soft-fp/op-1.h: Likewise.
33327         * soft-fp/op-2.h: Likewise.
33328         * soft-fp/op-4.h: Likewise.
33329         * soft-fp/op-common.h: Likewise.
33330         * stdio-common/printf_fphex.c: Likewise.
33331         * stdlib/strtod_l.c: Likewise.
33332         * sunrpc/rpc/clnt.h: Likewise.
33333         * sysdeps/generic/framestate.c: Likewise.
33334         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33335         * sysdeps/i386/bsd-setjmp.S: Likewise.
33336         * sysdeps/i386/__longjmp.S: Likewise.
33337         * sysdeps/i386/setjmp.S: Likewise.
33338         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33339         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33340         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33341         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33343         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33345         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33346         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33347         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33348         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33349         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33350         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33351         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33352         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33354         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33355         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33356         * sysdeps/ieee754/support.c: Likewise.
33357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33358         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33359         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33360         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33361         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33362         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33363         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33364         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33365         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33366         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33367         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33368         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33369         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33370         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33371         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33372         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33373         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33376 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33378         * posix/transbug.c: Remove executable mode.
33380 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33382         * crypt/speeds.c: Remove trailing whitespace.
33383         * dlfcn/default.c: Likewise.
33384         * elf/ifuncdep2.c: Likewise.
33385         * elf/ifuncmain1.c: Likewise.
33386         * elf/ifuncmain1vis.c: Likewise.
33387         * elf/testobj.h: Likewise.
33388         * elf/tst-stackguard1.c: Likewise.
33389         * gmon/sys/gmon.h: Likewise.
33390         * hurd/hurdmsg.c: Likewise.
33391         * hurd/new-fd.c: Likewise.
33392         * hurd/ports-get.c: Likewise.
33393         * iconvdata/ibm1008_420.c: Likewise.
33394         * inet/tst-getni1.c: Likewise.
33395         * inet/tst-getni2.c: Likewise.
33396         * libio/ioungetc.c: Likewise.
33397         * libio/wfiledoalloc.c: Likewise.
33398         * manual/libm-err-tab.pl: Likewise.
33399         * math/w_dremf.c: Likewise.
33400         * misc/ftruncate.c: Likewise.
33401         * posix/bug-glob2.c: Likewise.
33402         * posix/tst-pcre.c: Likewise.
33403         * posix/wait4.c: Likewise.
33404         * resolv/README: Likewise.
33405         * resolv/res_debug.h: Likewise.
33406         * resolv/tst-inet_ntop.c: Likewise.
33407         * setjmp/bug269-setjmp.c: Likewise.
33408         * soft-fp/extended.h: Likewise.
33409         * soft-fp/op-1.h: Likewise.
33410         * soft-fp/op-2.h: Likewise.
33411         * soft-fp/op-4.h: Likewise.
33412         * soft-fp/op-8.h: Likewise.
33413         * soft-fp/testit.c: Likewise.
33414         * stdio-common/bug16.c: Likewise.
33415         * stdlib/random.c: Likewise.
33416         * sunrpc/rpcsvc/rquota.x: Likewise.
33417         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33418         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33420         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33421         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33422         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33423         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33424         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33425         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33426         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33427         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33428         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33429         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33430         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33431         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33432         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33433         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33435         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33436         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33437         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33438         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33439         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33444         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33446         * sysdeps/ieee754/s_lib_version.c: Likewise.
33447         * sysdeps/mach/hurd/check_fds.c: Likewise.
33448         * sysdeps/mach/hurd/getsockname.c: Likewise.
33449         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33450         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33451         * sysdeps/powerpc/bits/link.h: Likewise.
33452         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33453         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33454         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33455         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33456         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33457         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33458         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33459         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33460         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33461         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33462         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33463         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33464         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33465         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33466         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33467         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33468         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33469         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33470         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33471         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33473         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33475         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33476         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33477         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33478         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33479         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33480         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33481         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33482         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33483         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33485         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33486         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33487         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33488         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33489         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33490         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33491         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33492         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33493         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33494         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33495         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33496         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33497         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33498         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33499         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33500         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33501         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33502         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33505         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33506         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33507         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33508         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33509         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33510         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33511         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33512         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33513         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33514         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33515         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33516         * sysdeps/powerpc/sysdep.h: Likewise.
33517         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33518         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33519         * sysdeps/sh/dl-trampoline.S: Likewise.
33520         * sysdeps/sh/memset.S: Likewise.
33521         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33522         * sysdeps/sh/strlen.S: Likewise.
33523         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33524         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33525         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33526         * sysdeps/sparc/sparc32/rem.S: Likewise.
33527         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33528         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33529         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33530         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33531         * sysdeps/sparc/sparc32/urem.S: Likewise.
33532         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33533         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33534         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33535         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33536         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33537         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33538         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33539         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33540         * sysdeps/unix/bsd/times.c: Likewise.
33541         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33542         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33546         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33547         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33548         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33549         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33550         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33551         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33552         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33553         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33554         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33555         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33556         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33557         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33558         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33559         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33560         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33561         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33562         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33563         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33566         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33567         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33568         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33569         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33570         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33571         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33572         * sysdeps/x86_64/strcspn.S: Likewise.
33574 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33576         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33577         generated file.  Regenerate properly from gen-translit.pl.
33578         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33579         locale/C-translit.h.
33581 2013-06-05  Andreas Schwab  <schwab@suse.de>
33583         [BZ #15100]
33584         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33585         week as 6 instead of -1.
33586         * time/tst-strptime.c (day_tests): Add test case.
33588 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33590         * sysdeps/generic/math_private.h
33591         (libc_feholdexcept_setround_53bit): Replace with
33592         libc_feholdsetround_53bit.
33593         (libc_feupdateenv_53bit): Replace with
33594         libc_feresetround_53bit.
33595         (SET_RESTORE_ROUND_53BIT): Adjust.
33597 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33599         * string/test-strchrnul.c: Add copyright header.
33601         * posix/tst-getaddrinfo4.c: Increase test timeout.
33603 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33605         [BZ #15536]
33606         * math/libm-test.inc (MAX_EXP): Remove
33607         (MIN_EXP): Define.
33608         (ulp): Use MIN_EXP - MANT_DIG.
33609         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33611 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33613         * po/be.po: Revert last change.
33614         * po/zh_CN.po: Likewise.
33615         * po/header.pot: Likewise.
33617 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33619         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33620         link-libc-deps to empty as target-specific variable.
33621         * Makerules (link-libc-args): New variable.
33622         (libc-for-link): Likewise.
33623         (link-libc-deps): Likewise.
33624         (lib%.so): Depend on $(link-libc-deps).  Link with
33625         $(link-libc-args).
33626         (build-module): Link with $(link-libc-args).
33627         (build-module-asneeded): Likewise.
33628         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33629         list of objects.
33630         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33631         target-specific variable.
33632         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33633         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33634         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33635         libc.
33636         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33637         libc and ld.so.
33638         ($(objpfx)libpcprofile.so): Likewise.
33639         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33640         libc_nonshared.a.
33641         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33642         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33643         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33644         $(link-libc-deps).
33645         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33646         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33647         * login/Makefile ($(objpfx)libutil.so): Likewise.
33648         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33649         * math/Makefile ($(objpfx)libm.so): Likewise.
33650         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33651         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33652         variable instead of depending directly on libc.
33653         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33654         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33655         $(link-libc-deps).
33656         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33657         libc.
33658         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33659         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33660         ($(objpfx)libanl.so): Likewise.
33661         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33662         ld.so.
33663         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33664         $(link-libc-deps).
33665         * sysdeps/i386/fpu/Makefile: Remove file.
33666         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33667         ($(objpfx)libm.so): Remove dependency on ld.so.
33669 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33671         [BZ # 15553]
33672         * nis/yp_xdr.c (XDRMAXNAME): Define.
33673         (XDRMAXRECORD): Define.
33674         (xdr_domainname): Use XDRMAXNAME.
33675         (xdr_mapname): Likewise.
33676         (xdr_peername): Likewise.
33677         (xdr_keydat): Use XDRMAXRECORD.
33678         (xdr_valdat): Likewise.
33680 2013-05-30  Jeff Law  <law@redhat.com>
33682         [BZ #14256]
33683         * manual/errno.texi (ESTALE): Update to account for more than
33684         just NFS file systems.
33685         * sysdeps/gnu/errlist.c: Regenerated.
33687 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33689         [BZ #15465]
33690         * elf/Makefile (tests): Add tst-null-argv.
33691         (modules-names):  Add tst-null-argv-lib.
33692         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33693         (tst-null-argv-ENV): Set environment for tst-null-argv.
33694         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33695         (RTLD_PROGNAME): New macro.
33696         * elf/tst-null-argv.c: New test case.
33697         * elf/tst-null-argv-lib.c: Library for test case.
33698         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33699         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33700         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33701         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33702         * elf/dl-init.c (call_init): Likewise.
33703         (_dl_init): Likewise.
33704         * elf/dl-load.c (print_search_path): Likewise.
33705         (_dl_map_object): Likewise.
33706         * elf/dl-lookup.c (do_lookup_x): Likewise.
33707         (add_dependency): Likewise.
33708         (_dl_lookup_symbol_x): Likewise.
33709         (_dl_debug_bindings): Likewise.
33710         * elf/dl-open.c (_dl_show_scope): Likewise.
33711         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33712         * elf/dl-version.c (match_symbol): Likewise.
33713         (_dl_check_map_versions): Likewise.
33714         * elf/rtld.c (dl_main): Likewise.
33715         (print_unresolved): Use RTLD_PROGNAME.
33716         (print_missing_version): Likewise.
33717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33718         (elf_machine_rela): Likewise.
33719         * sysdeps/powerpc/powerpc32/dl-machine.c
33720         (__process_machine_rela): Likewise.
33721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33722         Likewise.
33723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33724         Likewise.
33725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33726         Likewise.
33727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33729         Likewise.
33730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33731         Likewise.
33732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33734 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33736         * po/be.po: Add descriptive title.
33737         * po/zh_CN.po: Likewise.
33738         * po/header.pot: Likewise.
33740 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33742         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33743         error message.
33744         (enlarge_archive): Likewise.
33746 2013-05-28  Ben North  <ben@redfrontdoor.org>
33748         * manual/arith.texi (frexp): It is the magnitude of the return
33749         value which lies in [0.5, 1), not the return value itself.
33751 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33755 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33757         * stdio-common/bug26.c (main): Correct fscanf template.
33759         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33760         declare _dl_skip_args.
33762         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33763         Don't declare.
33765         * manual/platform.texi: Add missing @end deftypefun.
33767 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33769         [BZ #15529]
33770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33771         bit of mantissa of 2^16382.
33772         * math/libm-test.inc (hypot_test_data): Add more tests.
33774         * math/libm-test.inc: Add drem and pow10 to list of tested
33775         functions.
33776         (pow10_test): New function.
33777         (drem_test): Likewise.
33778         (drem_test_tonearest): Likewise.
33779         (drem_test_towardzero): Likewise.
33780         (drem_test_downward): Likewise.
33781         (drem_test_upward): Likewise.
33782         (main): Call the new functions.
33784         * math/libm-test.inc (finite_test_data): Remove.
33785         (finite_test): Run tests from isfinite_test_data.
33786         (gamma_test_data): Remove.
33787         (gamma_test): Run tests from lgamma_test_data.
33788         * sysdeps/i386/fpu/libm-test-ulps: Update.
33789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33793         * manual/platform.texi: Add PowerPC PPR function set documentation.
33794         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33795         implementation.
33797 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33799         * math/libm-test.inc (MAX_EXP): Define.
33800         (ULPDIFF): Define.
33801         (ulp): New function.
33802         (check_float_internal): Use ULPDIFF.
33803         (cpow_test): Disable failing test.
33804         (check_ulp): Test ulp() implemetnation.
33805         (main): Call check_ulp before starting tests.
33807 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33809         * math/gen-libm-test.pl (generate_testfile): Do not handle
33810         START_DATA and END_DATA.
33811         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33812         END_DATA.
33813         (acos_tonearest_test_data): Likewise.
33814         (acos_towardzero_test_data): Likewise.
33815         (acos_downward_test_data): Likewise.
33816         (acos_upward_test_data): Likewise.
33817         (acosh_test_data): Likewise.
33818         (asin_test_data): Likewise.
33819         (asin_tonearest_test_data): Likewise.
33820         (asin_towardzero_test_data): Likewise.
33821         (asin_downward_test_data): Likewise.
33822         (asin_upward_test_data): Likewise.
33823         (asinh_test_data): Likewise.
33824         (atan_test_data): Likewise.
33825         (atanh_test_data): Likewise.
33826         (atan2_test_data): Likewise.
33827         (cabs_test_data): Likewise.
33828         (cacos_test_data): Likewise.
33829         (cacosh_test_data): Likewise.
33830         (carg_test_data): Likewise.
33831         (casin_test_data): Likewise.
33832         (casinh_test_data): Likewise.
33833         (catan_test_data): Likewise.
33834         (catanh_test_data): Likewise.
33835         (cbrt_test_data): Likewise.
33836         (ccos_test_data): Likewise.
33837         (ccosh_test_data): Likewise.
33838         (ceil_test_data): Likewise.
33839         (cexp_test_data): Likewise.
33840         (cimag_test_data): Likewise.
33841         (clog_test_data): Likewise.
33842         (clog10_test_data): Likewise.
33843         (conj_test_data): Likewise.
33844         (copysign_test_data): Likewise.
33845         (cos_test_data): Likewise.
33846         (cos_tonearest_test_data): Likewise.
33847         (cos_towardzero_test_data): Likewise.
33848         (cos_downward_test_data): Likewise.
33849         (cos_upward_test_data): Likewise.
33850         (cosh_test_data): Likewise.
33851         (cosh_tonearest_test_data): Likewise.
33852         (cosh_towardzero_test_data): Likewise.
33853         (cosh_downward_test_data): Likewise.
33854         (cosh_upward_test_data): Likewise.
33855         (cpow_test_data): Likewise.
33856         (cproj_test_data): Likewise.
33857         (creal_test_data): Likewise.
33858         (csin_test_data): Likewise.
33859         (csinh_test_data): Likewise.
33860         (csqrt_test_data): Likewise.
33861         (ctan_test_data): Likewise.
33862         (ctan_tonearest_test_data): Likewise.
33863         (ctan_towardzero_test_data): Likewise.
33864         (ctan_downward_test_data): Likewise.
33865         (ctan_upward_test_data): Likewise.
33866         (ctanh_test_data): Likewise.
33867         (ctanh_tonearest_test_data): Likewise.
33868         (ctanh_towardzero_test_data): Likewise.
33869         (ctanh_downward_test_data): Likewise.
33870         (ctanh_upward_test_data): Likewise.
33871         (erf_test_data): Likewise.
33872         (erfc_test_data): Likewise.
33873         (exp_test_data): Likewise.
33874         (exp_tonearest_test_data): Likewise.
33875         (exp_towardzero_test_data): Likewise.
33876         (exp_downward_test_data): Likewise.
33877         (exp_upward_test_data): Likewise.
33878         (exp10_test_data): Likewise.
33879         (exp2_test_data): Likewise.
33880         (expm1_test_data): Likewise.
33881         (fabs_test_data): Likewise.
33882         (fdim_test_data): Likewise.
33883         (finite_test_data): Likewise.
33884         (floor_test_data): Likewise.
33885         (fma_test_data): Likewise.
33886         (fma_towardzero_test_data): Likewise.
33887         (fma_downward_test_data): Likewise.
33888         (fma_upward_test_data): Likewise.
33889         (fmax_test_data): Likewise.
33890         (fmin_test_data): Likewise.
33891         (fmod_test_data): Likewise.
33892         (fpclassify_test_data): Likewise.
33893         (frexp_test_data): Likewise.
33894         (gamma_test_data): Likewise.
33895         (hypot_test_data): Likewise.
33896         (ilogb_test_data): Likewise.
33897         (isfinite_test_data): Likewise.
33898         (isgreater_test_data): Likewise.
33899         (isgreaterequal_test_data): Likewise.
33900         (isinf_test_data): Likewise.
33901         (isless_test_data): Likewise.
33902         (islessequal_test_data): Likewise.
33903         (islessgreater_test_data): Likewise.
33904         (isnan_test_data): Likewise.
33905         (isnormal_test_data): Likewise.
33906         (issignaling_test_data): Likewise.
33907         (isunordered_test_data): Likewise.
33908         (j0_test_data): Likewise.
33909         (j1_test_data): Likewise.
33910         (jn_test_data): Likewise.
33911         (ldexp_test_data): Likewise.
33912         (lgamma_test_data): Likewise.
33913         (lrint_test_data): Likewise.
33914         (lrint_tonearest_test_data): Likewise.
33915         (lrint_towardzero_test_data): Likewise.
33916         (lrint_downward_test_data): Likewise.
33917         (lrint_upward_test_data): Likewise.
33918         (llrint_test_data): Likewise.
33919         (llrint_tonearest_test_data): Likewise.
33920         (llrint_towardzero_test_data): Likewise.
33921         (llrint_downward_test_data): Likewise.
33922         (llrint_upward_test_data): Likewise.
33923         (log_test_data): Likewise.
33924         (log10_test_data): Likewise.
33925         (log1p_test_data): Likewise.
33926         (log2_test_data): Likewise.
33927         (logb_test_data): Likewise.
33928         (logb_downward_test_data): Likewise.
33929         (lround_test_data): Likewise.
33930         (llround_test_data): Likewise.
33931         (modf_test_data): Likewise.
33932         (nearbyint_test_data): Likewise.
33933         (nextafter_test_data): Likewise.
33934         (nexttoward_test_data): Likewise.
33935         (pow_test_data): Likewise.
33936         (pow_tonearest_test_data): Likewise.
33937         (pow_towardzero_test_data): Likewise.
33938         (pow_downward_test_data): Likewise.
33939         (pow_upward_test_data): Likewise.
33940         (remainder_test_data): Likewise.
33941         (remainder_tonearest_test_data): Likewise.
33942         (remainder_towardzero_test_data): Likewise.
33943         (remainder_downward_test_data): Likewise.
33944         (remainder_upward_test_data): Likewise.
33945         (remquo_test_data): Likewise.
33946         (rint_test_data): Likewise.
33947         (rint_tonearest_test_data): Likewise.
33948         (rint_towardzero_test_data): Likewise.
33949         (rint_downward_test_data): Likewise.
33950         (rint_upward_test_data): Likewise.
33951         (round_test_data): Likewise.
33952         (scalb_test_data): Likewise.
33953         (scalbn_test_data): Likewise.
33954         (scalbln_test_data): Likewise.
33955         (signbit_test_data): Likewise.
33956         (sin_test_data): Likewise.
33957         (sin_tonearest_test_data): Likewise.
33958         (sin_towardzero_test_data): Likewise.
33959         (sin_downward_test_data): Likewise.
33960         (sin_upward_test_data): Likewise.
33961         (sincos_test_data): Likewise.
33962         (sinh_test_data): Likewise.
33963         (sinh_tonearest_test_data): Likewise.
33964         (sinh_towardzero_test_data): Likewise.
33965         (sinh_downward_test_data): Likewise.
33966         (sinh_upward_test_data): Likewise.
33967         (sqrt_test_data): Likewise.
33968         (tan_test_data): Likewise.
33969         (tan_tonearest_test_data): Likewise.
33970         (tan_towardzero_test_data): Likewise.
33971         (tan_downward_test_data): Likewise.
33972         (tan_upward_test_data): Likewise.
33973         (tanh_test_data): Likewise.
33974         (tgamma_test_data): Likewise.
33975         (trunc_test_data): Likewise.
33976         (y0_test_data): Likewise.
33977         (y1_test_data): Likewise.
33978         (yn_test_data): Likewise.
33979         (significand_test_data): Likewise.
33981         * math/gen-libm-test.pl (@functions): Remove variable.
33982         (generate_testfile): Don't handle START and END lines.
33983         * math/libm-test.inc (START): New macro.
33984         (END): Likewise.
33985         (END_COMPLEX): Likewise.
33986         (acos_test): Use END macro without arguments.
33987         (acos_test_tonearest): Likewise.
33988         (acos_test_towardzero): Likewise.
33989         (acos_test_downward): Likewise.
33990         (acos_test_upward): Likewise.
33991         (acosh_test): Likewise.
33992         (asin_test): Likewise.
33993         (asin_test_tonearest): Likewise.
33994         (asin_test_towardzero): Likewise.
33995         (asin_test_downward): Likewise.
33996         (asin_test_upward): Likewise.
33997         (asinh_test): Likewise.
33998         (atan_test): Likewise.
33999         (atanh_test): Likewise.
34000         (atan2_test): Likewise.
34001         (cabs_test): Likewise.
34002         (cacos_test): Use END_COMPLEX macro without arguments.
34003         (cacosh_test): Likewise.
34004         (carg_test): Use END macro without arguments.
34005         (casin_test): Use END_COMPLEX macro without arguments.
34006         (casinh_test): Likewise.
34007         (catan_test): Likewise.
34008         (catanh_test): Likewise.
34009         (cbrt_test): Use END macro without arguments.
34010         (ccos_test): Use END_COMPLEX macro without arguments.
34011         (ccosh_test): Likewise.
34012         (ceil_test): Use END macro without arguments.
34013         (cexp_test): Use END_COMPLEX macro without arguments.
34014         (cimag_test): Use END macro without arguments.
34015         (clog_test): Use END_COMPLEX macro without arguments.
34016         (clog10_test): Likewise.
34017         (conj_test): Likewise.
34018         (copysign_test): Use END macro without arguments.
34019         (cos_test): Likewise.
34020         (cos_test_tonearest): Likewise.
34021         (cos_test_towardzero): Likewise.
34022         (cos_test_downward): Likewise.
34023         (cos_test_upward): Likewise.
34024         (cosh_test): Likewise.
34025         (cosh_test_tonearest): Likewise.
34026         (cosh_test_towardzero): Likewise.
34027         (cosh_test_downward): Likewise.
34028         (cosh_test_upward): Likewise.
34029         (cpow_test): Use END_COMPLEX macro without arguments.
34030         (cproj_test): Likewise.
34031         (creal_test): Use END macro without arguments.
34032         (csin_test): Use END_COMPLEX macro without arguments.
34033         (csinh_test): Likewise.
34034         (csqrt_test): Likewise.
34035         (ctan_test): Likewise.
34036         (ctan_test_tonearest): Likewise.
34037         (ctan_test_towardzero): Likewise.
34038         (ctan_test_downward): Likewise.
34039         (ctan_test_upward): Likewise.
34040         (ctanh_test): Likewise.
34041         (ctanh_test_tonearest): Likewise.
34042         (ctanh_test_towardzero): Likewise.
34043         (ctanh_test_downward): Likewise.
34044         (ctanh_test_upward): Likewise.
34045         (erf_test): Use END macro without arguments.
34046         (erfc_test): Likewise.
34047         (exp_test): Likewise.
34048         (exp_test_tonearest): Likewise.
34049         (exp_test_towardzero): Likewise.
34050         (exp_test_downward): Likewise.
34051         (exp_test_upward): Likewise.
34052         (exp10_test): Likewise.
34053         (exp2_test): Likewise.
34054         (expm1_test): Likewise.
34055         (fabs_test): Likewise.
34056         (fdim_test): Likewise.
34057         (finite_test): Likewise.
34058         (floor_test): Likewise.
34059         (fma_test): Likewise.
34060         (fma_test_towardzero): Likewise.
34061         (fma_test_downward): Likewise.
34062         (fma_test_upward): Likewise.
34063         (fmax_test): Likewise.
34064         (fmin_test): Likewise.
34065         (fmod_test): Likewise.
34066         (fpclassify_test): Likewise.
34067         (frexp_test): Likewise.
34068         (gamma_test): Likewise.
34069         (hypot_test): Likewise.
34070         (ilogb_test): Likewise.
34071         (isfinite_test): Likewise.
34072         (isgreater_test): Likewise.
34073         (isgreaterequal_test): Likewise.
34074         (isinf_test): Likewise.
34075         (isless_test): Likewise.
34076         (islessequal_test): Likewise.
34077         (islessgreater_test): Likewise.
34078         (isnan_test): Likewise.
34079         (isnormal_test): Likewise.
34080         (issignaling_test): Likewise.
34081         (isunordered_test): Likewise.
34082         (j0_test): Likewise.
34083         (j1_test): Likewise.
34084         (jn_test): Likewise.
34085         (ldexp_test): Likewise.
34086         (lgamma_test): Likewise.
34087         (lrint_test): Likewise.
34088         (lrint_test_tonearest): Likewise.
34089         (lrint_test_towardzero): Likewise.
34090         (lrint_test_downward): Likewise.
34091         (lrint_test_upward): Likewise.
34092         (llrint_test): Likewise.
34093         (llrint_test_tonearest): Likewise.
34094         (llrint_test_towardzero): Likewise.
34095         (llrint_test_downward): Likewise.
34096         (llrint_test_upward): Likewise.
34097         (log_test): Likewise.
34098         (log10_test): Likewise.
34099         (log1p_test): Likewise.
34100         (log2_test): Likewise.
34101         (logb_test): Likewise.
34102         (logb_test_downward): Likewise.
34103         (lround_test): Likewise.
34104         (llround_test): Likewise.
34105         (modf_test): Likewise.
34106         (nearbyint_test): Likewise.
34107         (nextafter_test): Likewise.
34108         (nexttoward_test): Likewise.
34109         (pow_test): Likewise.
34110         (pow_test_tonearest): Likewise.
34111         (pow_test_towardzero): Likewise.
34112         (pow_test_downward): Likewise.
34113         (pow_test_upward): Likewise.
34114         (remainder_test): Likewise.
34115         (remainder_test_tonearest): Likewise.
34116         (remainder_test_towardzero): Likewise.
34117         (remainder_test_downward): Likewise.
34118         (remainder_test_upward): Likewise.
34119         (remquo_test): Likewise.
34120         (rint_test): Likewise.
34121         (rint_test_tonearest): Likewise.
34122         (rint_test_towardzero): Likewise.
34123         (rint_test_downward): Likewise.
34124         (rint_test_upward): Likewise.
34125         (round_test): Likewise.
34126         (scalb_test): Likewise.
34127         (scalbn_test): Likewise.
34128         (scalbln_test): Likewise.
34129         (signbit_test): Likewise.
34130         (sin_test): Likewise.
34131         (sin_test_tonearest): Likewise.
34132         (sin_test_towardzero): Likewise.
34133         (sin_test_downward): Likewise.
34134         (sin_test_upward): Likewise.
34135         (sincos_test): Likewise.
34136         (sinh_test): Likewise.
34137         (sinh_test_tonearest): Likewise.
34138         (sinh_test_towardzero): Likewise.
34139         (sinh_test_downward): Likewise.
34140         (sinh_test_upward): Likewise.
34141         (sqrt_test): Likewise.
34142         (tan_test): Likewise.
34143         (tan_test_tonearest): Likewise.
34144         (tan_test_towardzero): Likewise.
34145         (tan_test_downward): Likewise.
34146         (tan_test_upward): Likewise.
34147         (tanh_test): Likewise.
34148         (tgamma_test): Likewise.
34149         (trunc_test): Likewise.
34150         (y0_test): Likewise.
34151         (y1_test): Likewise.
34152         (yn_test): Likewise.
34153         (significand_test): Likewise.
34155 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34157         [BZ #15381]
34158         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34160 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34162         [BZ #14894]
34163         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34164         __ppc_mdoio and __ppc_mdoom.
34165         * manual/platform.texi: Document new functions __ppc_yield,
34166         __ppc_mdoio and __ppc_mdoom.
34168 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34170         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34171         (main): Mention "tls" pseudo-hwcap is legacy.
34172         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34174 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34176         * math/gen-libm-test.pl (parse_args): Output only string of
34177         arguments as text for test name, not full call or descriptions of
34178         tests for extra outputs.
34179         (generate_testfile): Do not pass function name to parse_args.
34180         Generate this_func variable from START.
34181         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34182         field to arg_str.
34183         (struct test_ff_f_data): Likewise.
34184         (test_ff_f_data_nexttoward): Likewise.
34185         (struct test_fi_f_data): Likewise.
34186         (struct test_fl_f_data): Likewise.
34187         (struct test_if_f_data): Likewise.
34188         (struct test_fff_f_data): Likewise.
34189         (struct test_c_f_data): Likewise.
34190         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34191         (struct test_fF_f1_data): Likewise.
34192         (struct test_ffI_f1_data): Likewise.
34193         (struct test_c_c_data): Rename test_name field to arg_str.
34194         (struct test_cc_c_data): Likewise.
34195         (struct test_f_i_data): Likewise.
34196         (struct test_ff_i_data): Likewise.
34197         (struct test_f_l_data): Likewise.
34198         (struct test_f_L_data): Likewise.
34199         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34200         and extra2_name.
34201         (COMMON_TEST_SETUP): New macro.
34202         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34203         (COMMON_TEST_CLEANUP): Likewise.
34204         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34205         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34206         macros.
34207         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34208         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34209         macros.
34210         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34211         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34212         cleanup macros.
34213         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34214         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34215         macros.
34216         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34217         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34218         macros.
34219         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34220         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34221         cleanup macros.
34222         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34223         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34224         cleanup macros.
34225         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34226         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34227         cleanup macros.
34228         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34229         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34230         macros.
34231         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34232         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34233         macros.
34234         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34235         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34236         macros.
34237         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34238         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34239         cleanup macros.
34240         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34241         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34242         cleanup macros.
34243         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34244         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34245         macros.
34246         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34247         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34248         cleanup macros.
34249         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34250         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34251         macros.
34252         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34253         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34254         macros.
34255         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34256         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34257         cleanup macros.
34258         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34260 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34262         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34263         to _sifields.sigfault.
34264         (si_addr_lsb): Define new macro.
34265         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34267         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34269 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34271         [BZ #15441]
34272         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34273         returns -1.
34274         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34275         null return -1.
34276         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34277         loading the domain.
34279 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34281         * math/gen-libm-test.pl (parse_args): Do not include expected
34282         result in test name.
34283         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34286         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34287         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34290 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34292         * benchtests/Makefile: Sort function entries.
34294         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34295         tanh, asinh, acosh, atanh.
34296         * benchtests/acos-inputs: New file.
34297         * benchtests/acosh-inputs: New file.
34298         * benchtests/asin-inputs: New file.
34299         * benchtests/asinh-inputs: New file.
34300         * benchtests/atanh-inputs: New file.
34301         * benchtests/cosh-inputs: New file.
34302         * benchtests/log-inputs: New file.
34303         * benchtests/sinh-inputs: New file.
34304         * benchtests/tanh-inputs: New file.
34306 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34308         [BZ #15339]
34309         * posix/tst-getaddrinfo4.c: New test.
34310         * posix/Makefile (tests): Add it.
34312 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34314         [BZ #15339]
34315         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34316         when no services were used.
34317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34318         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34320 2013-05-21  Andreas Schwab  <schwab@suse.de>
34322         [BZ #15014]
34323         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34324         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34325         successful.
34326         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34327         redundant variable declarations and reallocation of buffer when
34328         parsing as IPv6 address.  Always set NSS status when called from
34329         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34330         buffer too small.  Correct computation of needed size.
34331         * nss/Makefile (tests): Add test-digits-dots.
34332         * nss/test-digits-dots.c: New test.
34334 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34336         * benchtests/Makefile: Remove instructions for adding
34337         benchmark tests.
34338         * benchtests/README: New file to explain how to execute and
34339         enhance the benchmark tests.
34341 2013-05-21  Andreas Schwab  <schwab@suse.de>
34343         [BZ #15493]
34344         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34345         * setjmp/tst-sigsetjmp.c: New test.
34347 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34349         * sysdeps/x86_64/memset.S (memset): New implementation.
34350         (__bzero): Likewise.
34351         (__memset_tail): New function.
34353 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34355         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34356         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34357         __memcpy_sse2_unaligned ifunc selection.
34358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34359         Add memcpy-sse2-unaligned.S.
34360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34361         Add: __memcpy_sse2_unaligned.
34363 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34365         [BZ #15490]
34366         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34367         math_force_eval before restoring floating-point envrionment.
34368         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34370         Likewise.
34371         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34372         <math_private.h>.
34373         (__nearbyintl): Use math_force_eval before restoring
34374         floating-point environment.
34375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34377         * math/gen-libm-test.pl (special_functions): Remove.
34378         (parse_args): Don't handle TEST_extra.  Handle functions with no
34379         return value.
34380         * math/libm-test.inc (struct test_sincos_data): Replace with
34381         struct test_fFF_11_data.
34382         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34383         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34384         (sincos_test_data): Change element type to struct
34385         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34386         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34387         RUN_TEST_LOOP_sincos.
34388         * math/README.libm-test: Don't mention special handling of
34389         individual functions.
34390         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34391         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34392         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34393         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34394         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34397         * math/gen-libm-test.pl (get_variable): Remove function.
34398         (parse_args): Don't show pointer parameters to call in test
34399         names.  Use "extra output N" in test names for extra outputs
34400         rather than naming variables.
34402 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34404         [BZ #15488]
34405         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34406         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34407         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34408         double tests.
34409         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34410         disable.
34411         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34412         check_long_double.
34414         * math/gen-libm-test.pl (@tests): Remove variable.
34415         ($count): Likewise.
34416         (new_test): Remove function.
34417         (show_exceptions): New function.
34418         (special_functions): Use show_exceptions instead of new_test.
34419         (parse_args): Likewise.
34420         (generate_testfile): Pass only function name in generated call to
34421         print_max_error or print_complex_max_error.
34422         (get_ulps): Do not handle complex tests specially.
34423         (output_test): Rename to ...
34424         (get_all_ulps_for_test): ... this.  Return a string rather than
34425         printing to a file.  Require ulps to be present.
34426         (output_ulps): Generate arrays rather than #defines.
34427         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34428         (struct ulp_data): New type.
34429         (BUILD_COMPLEX_ULP): Remove macro.
34430         (compare_ulp_data): New function.
34431         (find_ulps): Likewise.
34432         (find_test_ulps): Likewise.
34433         (find_function_ulps): Likewise.
34434         (find_complex_function_ulps): Likewise.
34435         (print_max_error): Determine allowed ulps using
34436         find_function_ulps.
34437         (print_complex_max_error): Determine allowed ulps using
34438         find_complex_function_ulps.
34439         (check_float_internal): Determine max ulps using find_test_ulps.
34440         (check_float): Do not take max_ulp parameter.  Update call to
34441         check_float_internal.
34442         (check_complex): Likewise.
34443         (check_int): Do not take max_ulp parameter.
34444         (check_long): Likewise.
34445         (check_bool): Likewise.
34446         (check_longlong): Likewise.
34447         (struct test_f_f_data): Remove max_ulp field.
34448         (struct test_ff_f_data): Likewise.
34449         (struct test_ff_f_data_nexttoward): Likewise.
34450         (struct test_fi_f_data): Likewise.
34451         (struct test_fl_f_data): Likewise.
34452         (struct test_if_f_data): Likewise.
34453         (struct test_fff_f_data): Likewise.
34454         (struct test_c_f_data): Likewise.
34455         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34456         (struct test_fF_f1_data): Likewise.
34457         (struct test_ffI_f1_data): Likewise.
34458         (struct test_c_c_data): Remove max_ulp field.
34459         (struct test_cc_c_data): Likewise.
34460         (struct test_f_i_data): Likewise.
34461         (struct test_ff_i_data): Likewise.
34462         (struct test_f_l_data): Likewise.
34463         (struct test_f_L_data): Likewise.
34464         (struct test_sincos_data): Likewise.
34465         (RUN_TEST_f_f): Do not handle ulps.
34466         (RUN_TEST_LOOP_f_f): Likewise.
34467         (RUN_TEST_2_f): Likewise.
34468         (RUN_TEST_LOOP_2_f): Likewise.
34469         (RUN_TEST_fff_f): Likewise.
34470         (RUN_TEST_LOOP_fff_f): Likewise.
34471         (RUN_TEST_c_f): Likewise.
34472         (RUN_TEST_LOOP_c_f): Likewise.
34473         (RUN_TEST_f_f1): Likewise.
34474         (RUN_TEST_LOOP_f_f1): Likewise.
34475         (RUN_TEST_fF_f1): Likewise.
34476         (RUN_TEST_LOOP_fF_f1): Likewise.
34477         (RUN_TEST_fI_f1): Likewise.
34478         (RUN_TEST_LOOP_fI_f1): Likewise.
34479         (RUN_TEST_ffI_f1): Likewise.
34480         (RUN_TEST_LOOP_ffI_f1): Likewise.
34481         (RUN_TEST_c_c): Likewise.
34482         (RUN_TEST_LOOP_c_c): Likewise.
34483         (RUN_TEST_cc_c): Likewise.
34484         (RUN_TEST_LOOP_cc_c): Likewise.
34485         (RUN_TEST_f_i): Likewise.
34486         (RUN_TEST_LOOP_f_i): Likewise.
34487         (RUN_TEST_f_i_tg): Likewise.
34488         (RUN_TEST_LOOP_f_i_tg): Likewise.
34489         (RUN_TEST_ff_i_tg): Likewise.
34490         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34491         (RUN_TEST_f_b): Likewise.
34492         (RUN_TEST_LOOP_f_b): Likewise.
34493         (RUN_TEST_f_b_tg): Likewise.
34494         (RUN_TEST_LOOP_f_b_tg): Likewise.
34495         (RUN_TEST_f_l): Likewise.
34496         (RUN_TEST_LOOP_f_l): Likewise.
34497         (RUN_TEST_f_L): Likewise.
34498         (RUN_TEST_LOOP_f_L): Likewise.
34499         (RUN_TEST_sincos): Likewise.
34500         (RUN_TEST_LOOP_sincos): Likewise.
34502 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34504         [BZ #15480]
34505         [BZ #15485]
34506         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34507         main case of finite arguments, set rounding mode to FE_TONEAREST
34508         and discard exceptions.
34509         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34510         exceptions.
34511         (remainder_tonearest_test_data): New variable.
34512         (remainder_test_tonearest): New function.
34513         (remainder_towardzero_test_data): New variable.
34514         (remainder_test_towardzero): New function.
34515         (remainder_downward_test_data): New variable.
34516         (remainder_test_downward): New function.
34517         (remainder_upward_test_data): New variable.
34518         (remainder_test_upward): New function.
34519         (main): Call the new test functions.
34521         * math/libm-test.inc (struct test_f_f1_data): Remove field
34522         extra_init.
34523         (struct test_fF_f1_data): Likewise.
34524         (struct test_ffI_f1_data): Likewise.
34525         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34526         based on value of EXTRA_EXPECTED.
34527         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34528         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34529         EXTRA_VAR based on value of EXTRA_EXPECTED.
34530         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34531         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34532         EXTRA_VAR based on value of EXTRA_EXPECTED.
34533         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34534         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34535         EXTRA_VAR based on value of EXTRA_EXPECTED.
34536         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34537         * math/gen-libm-test.pl (parse_args): Don't output initializers
34538         for extra output values.
34540         * math/libm-test.inc (check_int): Expect result to be exactly
34541         equal to expected value and do not handle ulps.
34542         (check_long): Likewise.
34543         (check_longlong): Likewise.
34545         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34546         exceptions.
34547         (cimag_test_data): Likewise.
34548         (conj_test_data): Likewise.
34549         (copysign_test_data): Likewise.
34550         (cproj_test_data): Likewise.
34551         (creal_test_data): Likewise.
34552         (fabs_test_data): Likewise.
34553         (fdim_test_data): Likewise.
34554         (finite_test_data): Likewise.
34555         (floor_test_data): Likewise.
34556         (fmax_test_data): Likewise.
34557         (fmin_test_data): Likewise.
34558         (fmod_test_data): Likewise.
34559         (fpclassify_test_data): Likewise.
34560         (frexp_test_data): Likewise.
34561         (ilogb_test_data): Likewise.
34562         (isfinite_test_data): Likewise.
34563         (isgreater_test_data): Likewise.
34564         (isgreaterequal_test_data): Likewise.
34565         (isinf_test_data): Likewise.
34566         (isless_test_data): Likewise.
34567         (islessequal_test_data): Likewise.
34568         (islessgreater_test_data): Likewise.
34569         (isnan_test_data): Likewise.
34570         (isnormal_test_data): Likewise.
34571         (issignaling_test_data): Likewise.
34572         (isunordered_test_data): Likewise.
34573         (ldexp_test_data): Likewise.
34574         (lrint_test_data): Likewise.
34575         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34576         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34577         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34578         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34579         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34580         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34581         test input.
34582         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34583         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34584         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34585         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34586         that test input.
34587         (lrint_downward_test_data): Test for "inexact" exceptions.
34588         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34589         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34590         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34591         test input.
34592         (lrint_upward_test_data): Test for "inexact" exceptions.
34593         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34594         test input.
34595         (llrint_test_data): Test for "inexact" exceptions.
34596         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34597         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34598         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34599         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34600         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34601         (llrint_downward_test_data): Test for "inexact" exceptions.
34602         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34603         (llrint_upward_test_data): Test for "inexact" exceptions.
34604         (logb_test_data): Likewise.
34605         (logb_downward_test_data): Likewise.
34606         (nextafter_test_data): Likewise.
34607         (nexttoward_test_data): Likewise.
34608         (remainder_test_data): Likewise.
34609         (remquo_test_data): Likewise.
34610         (scalbn_test_data): Likewise.
34611         (scalbln_test_data): Likewise.
34612         (signbit_test_data): Likewise.
34613         (sqrt_test_data): Likewise.
34614         (significand_test_data): Likewise.
34616 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34618         [BZ #15424]
34619         * benchtests/bench-modf.c (struct args): Mark arg0 as
34620         volatile.
34621         * scripts/bench.pl: Mark members of struct args as volatile.
34623 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34625         [BZ # 15497]
34626         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34627         negative infinity on POWER6 or lower.
34628         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34630 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34632         [BZ #15442]
34633         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34634         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34635         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34636         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34637         (_FP_SETQNAN): New macro.
34638         (_FP_SETQNAN_SEMIRAW): Likewise.
34639         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34640         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34641         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34642         (FP_EXTEND): Use _FP_FRAC_SNANP.
34643         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34644         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34645         into account.
34646         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34647         New macro.
34648         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34649         Likewise.
34651 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34653         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34654         with DIVIDE_BY_ZERO_EXCEPTION.
34655         (gamma_test_data): Likewise.
34656         (lgamma_test_data): Likewise.
34657         (log_test_data): Likewise.
34658         (log10_test_data): Likewise.
34659         (log2_test_data): Likewise.
34660         (tgamma_test_data): Likewise.
34662         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34663         (acos_test_tonearest): Likewise.
34664         (acos_test_towardzero): Likewise.
34665         (acos_test_downward): Likewise.
34666         (acos_test_upward): Likewise.
34667         (acosh_test): Likewise.
34668         (asin_test): Likewise.
34669         (asin_test_tonearest): Likewise.
34670         (asin_test_towardzero): Likewise.
34671         (asin_test_downward): Likewise.
34672         (asin_test_upward): Likewise.
34673         (asinh_test): Likewise.
34674         (atan_test): Likewise.
34675         (atanh_test): Likewise.
34676         (atan2_test): Likewise.
34677         (cabs_test): Likewise.
34678         (cacos_test): Likewise.
34679         (cacosh_test): Likewise.
34680         (casin_test): Likewise.
34681         (casinh_test): Likewise.
34682         (catan_test): Likewise.
34683         (catanh_test): Likewise.
34684         (cbrt_test): Likewise.
34685         (ccos_test): Likewise.
34686         (ccosh_test): Likewise.
34687         (cexp_test): Likewise.
34688         (clog_test): Likewise.
34689         (clog10_test): Likewise.
34690         (cos_test): Likewise.
34691         (cos_test_tonearest): Likewise.
34692         (cos_test_towardzero): Likewise.
34693         (cos_test_downward): Likewise.
34694         (cos_test_upward): Likewise.
34695         (cosh_test): Likewise.
34696         (cosh_test_tonearest): Likewise.
34697         (cosh_test_towardzero): Likewise.
34698         (cosh_test_downward): Likewise.
34699         (cosh_test_upward): Likewise.
34700         (cpow_test): Likewise.
34701         (csin_test): Likewise.
34702         (csinh_test): Likewise.
34703         (csqrt_test): Likewise.
34704         (ctan_test): Likewise.
34705         (ctan_test_tonearest): Likewise.
34706         (ctan_test_towardzero): Likewise.
34707         (ctan_test_downward): Likewise.
34708         (ctan_test_upward): Likewise.
34709         (ctanh_test): Likewise.
34710         (ctanh_test_tonearest): Likewise.
34711         (ctanh_test_towardzero): Likewise.
34712         (ctanh_test_downward): Likewise.
34713         (ctanh_test_upward): Likewise.
34714         (erf_test): Likewise.
34715         (erfc_test): Likewise.
34716         (exp_test): Likewise.
34717         (exp_test_tonearest): Likewise.
34718         (exp_test_towardzero): Likewise.
34719         (exp_test_downward): Likewise.
34720         (exp_test_upward): Likewise.
34721         (exp10_test): Likewise.
34722         (exp2_test): Likewise.
34723         (expm1_test): Likewise.
34724         (fmod_test): Likewise.
34725         (gamma_test): Likewise.
34726         (hypot_test): Likewise.
34727         (j0_test): Likewise.
34728         (j1_test): Likewise.
34729         (jn_test): Likewise.
34730         (lgamma_test): Likewise.
34731         (log_test): Likewise.
34732         (log10_test): Likewise.
34733         (log1p_test): Likewise.
34734         (log2_test): Likewise.
34735         (logb_test_downward): Likewise.
34736         (pow_test): Likewise.
34737         (pow_test_tonearest): Likewise.
34738         (pow_test_towardzero): Likewise.
34739         (pow_test_downward): Likewise.
34740         (pow_test_upward): Likewise.
34741         (remainder_test): Likewise.
34742         (remquo_test): Likewise.
34743         (sin_test): Likewise.
34744         (sin_test_tonearest): Likewise.
34745         (sin_test_towardzero): Likewise.
34746         (sin_test_downward): Likewise.
34747         (sin_test_upward): Likewise.
34748         (sincos_test): Likewise.
34749         (sinh_test): Likewise.
34750         (sinh_test_tonearest): Likewise.
34751         (sinh_test_towardzero): Likewise.
34752         (sinh_test_downward): Likewise.
34753         (sinh_test_upward): Likewise.
34754         (sqrt_test): Likewise.
34755         (tan_test): Likewise.
34756         (tan_test_tonearest): Likewise.
34757         (tan_test_towardzero): Likewise.
34758         (tan_test_downward): Likewise.
34759         (tan_test_upward): Likewise.
34760         (tanh_test): Likewise.
34761         (tgamma_test): Likewise.
34762         (y0_test): Likewise.
34763         (y1_test): Likewise.
34764         (yn_test): Likewise.
34766         * math/gen-libm-test.pl (adjust_arg): Remove function.
34767         (special_function): Remove argument $in_func.  Only handle
34768         generating output for tables of tests, not inside functions.
34769         (parse_args): Likewise.
34770         (generate_testfile): Remove variable $in_func.  Update call to
34771         parse_args.
34772         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34773         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34774         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34775         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34776         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34777         (MAX_VALUE_INIT): Rename macro to max_value.
34778         (MIN_VALUE_INIT): Rename macro to min_value.
34779         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34780         (plus_zero): Remove variable.
34781         (minus_zero): Likewise.
34782         (plus_infty): Likewise.
34783         (minus_infty): Likewise.
34784         (qnan_value): Likewise.
34785         (max_value): Likewise.
34786         (min_value): Likewise.
34787         (min_subnorm_value): Likewise.
34789 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34791         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34792         uint64_t or uint32_t usage.
34793         * crypt/sha256-block.c: Likewise.
34794         * crypt/sha256-crypt.c: Likewise.
34795         * crypt/sha256.c: Likewise.
34796         * crypt/sha512-block.c: Likewise.
34797         * crypt/sha512-crypt.c: Likewise.
34798         * crypt/sha512.c: Likewise.
34799         * debug/backtrace-tst.c: Likewise.
34800         * debug/pcprofiledump.c: Likewise.
34801         * elf/cache.c: Likewise.
34802         * elf/dl-cache.c: Likewise.
34803         * elf/dl-misc.c: Likewise.
34804         * elf/dl-profile.c: Likewise.
34805         * elf/dl-support.c: Likewise.
34806         * elf/ldconfig.c: Likewise.
34807         * elf/sprof.c: Likewise.
34808         * iconv/dummy-repertoire.c: Likewise.
34809         * iconv/iconv_charmap.c: Likewise.
34810         * iconv/skeleton.c: Likewise.
34811         * iconvdata/8bit-generic.c: Likewise.
34812         * iconvdata/cp737.h: Likewise.
34813         * iconvdata/cp775.h: Likewise.
34814         * iconvdata/ibm1008.h: Likewise.
34815         * iconvdata/ibm1025.h: Likewise.
34816         * iconvdata/ibm1046.h: Likewise.
34817         * iconvdata/ibm1097.h: Likewise.
34818         * iconvdata/ibm1112.h: Likewise.
34819         * iconvdata/ibm1122.h: Likewise.
34820         * iconvdata/ibm1123.h: Likewise.
34821         * iconvdata/ibm1124.h: Likewise.
34822         * iconvdata/ibm1129.h: Likewise.
34823         * iconvdata/ibm1130.h: Likewise.
34824         * iconvdata/ibm1132.h: Likewise.
34825         * iconvdata/ibm1133.h: Likewise.
34826         * iconvdata/ibm1137.h: Likewise.
34827         * iconvdata/ibm1140.h: Likewise.
34828         * iconvdata/ibm1141.h: Likewise.
34829         * iconvdata/ibm1142.h: Likewise.
34830         * iconvdata/ibm1143.h: Likewise.
34831         * iconvdata/ibm1144.h: Likewise.
34832         * iconvdata/ibm1145.h: Likewise.
34833         * iconvdata/ibm1146.h: Likewise.
34834         * iconvdata/ibm1147.h: Likewise.
34835         * iconvdata/ibm1148.h: Likewise.
34836         * iconvdata/ibm1149.h: Likewise.
34837         * iconvdata/ibm1153.h: Likewise.
34838         * iconvdata/ibm1154.h: Likewise.
34839         * iconvdata/ibm1155.h: Likewise.
34840         * iconvdata/ibm1156.h: Likewise.
34841         * iconvdata/ibm1157.h: Likewise.
34842         * iconvdata/ibm1158.h: Likewise.
34843         * iconvdata/ibm1160.h: Likewise.
34844         * iconvdata/ibm1161.h: Likewise.
34845         * iconvdata/ibm1162.h: Likewise.
34846         * iconvdata/ibm1163.h: Likewise.
34847         * iconvdata/ibm1164.h: Likewise.
34848         * iconvdata/ibm1166.h: Likewise.
34849         * iconvdata/ibm1167.h: Likewise.
34850         * iconvdata/ibm12712.h: Likewise.
34851         * iconvdata/ibm1390.h: Likewise.
34852         * iconvdata/ibm1399.h: Likewise.
34853         * iconvdata/ibm16804.h: Likewise.
34854         * iconvdata/ibm4517.h: Likewise.
34855         * iconvdata/ibm4899.h: Likewise.
34856         * iconvdata/ibm4909.h: Likewise.
34857         * iconvdata/ibm4971.h: Likewise.
34858         * iconvdata/ibm5347.h: Likewise.
34859         * iconvdata/ibm803.h: Likewise.
34860         * iconvdata/ibm856.h: Likewise.
34861         * iconvdata/ibm901.h: Likewise.
34862         * iconvdata/ibm902.h: Likewise.
34863         * iconvdata/ibm9030.h: Likewise.
34864         * iconvdata/ibm9066.h: Likewise.
34865         * iconvdata/ibm921.h: Likewise.
34866         * iconvdata/ibm922.h: Likewise.
34867         * iconvdata/ibm9448.h: Likewise.
34868         * iconvdata/isiri-3342.h: Likewise.
34869         * iconvdata/jis0201.h: Likewise.
34870         * include/link.h: Likewise.
34871         * include/netdb.h: Likewise.
34872         * inet/check_native.c: Likewise.
34873         * inet/check_pf.c: Likewise.
34874         * inet/getipv4sourcefilter.c: Likewise.
34875         * inet/getnameinfo.c: Likewise.
34876         * inet/getsourcefilter.c: Likewise.
34877         * inet/htonl.c: Likewise.
34878         * inet/setipv4sourcefilter.c: Likewise.
34879         * inet/setsourcefilter.c: Likewise.
34880         * inet/test-inet6_opt.c: Likewise.
34881         * inet/tst-network.c: Likewise.
34882         * locale/C-collate.c: Likewise.
34883         * locale/C-ctype.c: Likewise.
34884         * locale/C-time.c: Likewise.
34885         * locale/C-translit.h: Likewise.
34886         * locale/loadarchive.c: Likewise.
34887         * locale/programs/3level.h: Likewise.
34888         * locale/programs/charmap.c: Likewise.
34889         * locale/programs/charmap.h: Likewise.
34890         * locale/programs/ld-address.c: Likewise.
34891         * locale/programs/ld-collate.c: Likewise.
34892         * locale/programs/ld-ctype.c: Likewise.
34893         * locale/programs/ld-identification.c: Likewise.
34894         * locale/programs/ld-measurement.c: Likewise.
34895         * locale/programs/ld-messages.c: Likewise.
34896         * locale/programs/ld-monetary.c: Likewise.
34897         * locale/programs/ld-name.c: Likewise.
34898         * locale/programs/ld-numeric.c: Likewise.
34899         * locale/programs/ld-paper.c: Likewise.
34900         * locale/programs/ld-telephone.c: Likewise.
34901         * locale/programs/ld-time.c: Likewise.
34902         * locale/programs/linereader.c: Likewise.
34903         * locale/programs/locale.c: Likewise.
34904         * locale/programs/locarchive.c: Likewise.
34905         * locale/programs/locfile.h: Likewise.
34906         * locale/programs/repertoire.c: Likewise.
34907         * locale/programs/simple-hash.c: Likewise.
34908         * locale/programs/simple-hash.h: Likewise.
34909         * malloc/memusage.c: Likewise.
34910         * malloc/memusagestat.c: Likewise.
34911         * nis/nis_defaults.c: Likewise.
34912         * nis/nis_hash.c: Likewise.
34913         * nis/nis_print.c: Likewise.
34914         * nis/nis_xdr.c: Likewise.
34915         * nscd/connections.c: Likewise.
34916         * nscd/hstcache.c: Likewise.
34917         * nscd/nscd_gethst_r.c: Likewise.
34918         * nscd/nscd_getserv_r.c: Likewise.
34919         * nscd/nscd_helper.c: Likewise.
34920         * nscd/servicescache.c: Likewise.
34921         * nss/makedb.c: Likewise.
34922         * nss/nss_db/db-XXX.c: Likewise.
34923         * nss/nss_db/db-initgroups.c: Likewise.
34924         * nss/nss_db/db-netgrp.c: Likewise.
34925         * nss/nss_files/files-network.c: Likewise.
34926         * nss/nss_files/files-parse.c: Likewise.
34927         * posix/bug-regex5.c: Likewise.
34928         * posix/fnmatch_loop.c: Likewise.
34929         * posix/regcomp.c: Likewise.
34930         * posix/regexec.c: Likewise.
34931         * posix/tst-rfc3484-2.c: Likewise.
34932         * posix/tst-rfc3484-3.c: Likewise.
34933         * posix/tst-rfc3484.c: Likewise.
34934         * resolv/nss_dns/dns-canon.c: Likewise.
34935         * resolv/nss_dns/dns-network.c: Likewise.
34936         * resolv/res_init.c: Likewise.
34937         * resolv/res_mkquery.c: Likewise.
34938         * resolv/tst-aton.c: Likewise.
34939         * stdlib/cxa_atexit.c: Likewise.
34940         * stdlib/cxa_finalize.c: Likewise.
34941         * stdlib/gen-fpioconst.c: Likewise.
34942         * stdlib/strtol_l.c: Likewise.
34943         * string/tst-endian.c: Likewise.
34944         * sunrpc/auth_des.c: Likewise.
34945         * sunrpc/clnt_udp.c: Likewise.
34946         * sunrpc/rtime.c: Likewise.
34947         * sunrpc/svcauth_des.c: Likewise.
34948         * sunrpc/xdr.c: Likewise.
34949         * sunrpc/xdr_intXX_t.c: Likewise.
34950         * sunrpc/xdr_rec.c: Likewise.
34951         * sysdeps/generic/ldconfig.h: Likewise.
34952         * sysdeps/generic/ldsodefs.h: Likewise.
34953         * sysdeps/generic/memusage.h: Likewise.
34954         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34956         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34957         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34958         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34960         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34962         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34964         * sysdeps/posix/getaddrinfo.c: Likewise.
34965         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34966         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34967         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34968         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34969         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34970         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34971         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34972         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34973         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34974         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34975         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34976         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34977         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34978         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34979         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34980         * sysdeps/x86_64/dl-tls.h: Likewise.
34981         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34982         * time/alt_digit.c: Likewise.
34983         * time/era.c: Likewise.
34984         * wcsmbs/tst-c16c32-1.c: Likewise.
34986 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34988         * math/libm-test.inc (struct test_sincos_data): New type.
34989         (RUN_TEST_LOOP_sincos): New macro.
34990         (sincos_test_data): New variable.
34991         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34993 2013-05-16  Richard Henderson  <rth@redhat.com>
34995         * math/atest-exp2.c (LIMB64): New macro.
34996         (CONSTSZ): New macro.
34997         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34998         (hexdig): Move ...
34999         (print_mpn_fp): ... to function scope.
35000         (read_mpn_hex): Remove.
35001         (get_log2): Remove.
35002         (exp2_mpn): Use mp_log2.
35003         (main): Use mp_exp1.
35005 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35007         * math/libm-test.inc: Remove comment about not testing "inexact"
35008         exceptions.
35009         (INEXACT_EXCEPTION): New macro.
35010         (NO_INEXACT_EXCEPTION): Likewise.
35011         (INVALID_EXCEPTION_OK): Update value.
35012         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35013         (OVERFLOW_EXCEPTION_OK): Likewise.
35014         (UNDERFLOW_EXCEPTION_OK): Likewise.
35015         (IGNORE_ZERO_INF_SIGN): Likewise.
35016         (ERRNO_UNCHANGED): Likewise.
35017         (ERRNO_EDOM): Likewise.
35018         (ERRNO_ERANGE): Likewise.
35019         (test_exceptions): Handle testing "inexact" exceptions.
35020         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35021         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35022         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35023         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35024         INEXACT_EXCEPTION.
35025         (rint_towardzero_test_data): Likewise.
35026         (rint_downward_test_data): Likewise.
35027         (rint_upward_test_data): Likewise.
35029         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35030         with OVERFLOW_EXCEPTION.
35031         (exp10_test_data): Likewise.
35032         (exp2_test_data): Likewise.
35033         (expm1_test_data): Likewise.
35034         (lgamma_test_data): Likewise.
35035         (pow_test_data): Likewise.
35036         (tgamma_test_data): Likewise.
35037         (yn_test_data): Remove duplicate test of overflow.
35039         * math/libm-test.inc (struct test_cc_c_data): New type.
35040         (RUN_TEST_LOOP_cc_c): New macro.
35041         (cpow_test_data): New variable.
35042         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35044         * math/libm-test.inc (struct test_f_L_data): New type.
35045         (RUN_TEST_LOOP_f_L): New macro.
35046         (llrint_test_data): New variable.
35047         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35048         (llrint_tonearest_test_data): New variable.
35049         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35050         (llrint_towardzero_test_data): New variable.
35051         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35052         (llrint_downward_test_data): New variable.
35053         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35054         (llrint_upward_test_data): New variable.
35055         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35056         (llround_test_data): New variable.
35057         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35059 2013-05-13  Peter Collingbourne  <pcc@google.com>
35061         * math/atest-exp2.c (get_log2): Remove const attribute.
35063 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35065         * math/libm-test.inc (struct test_f_l_data): New type.
35066         (RUN_TEST_LOOP_f_l): New macro.
35067         (lrint_test_data): New variable.
35068         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35069         (lrint_tonearest_test_data): New variable.
35070         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35071         (lrint_towardzero_test_data): New variable.
35072         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35073         (lrint_downward_test_data): New variable.
35074         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35075         (lrint_upward_test_data): New variable.
35076         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35077         (lround_test_data): New variable.
35078         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35080 2013-05-15  Peter Collingbourne  <pcc@google.com>
35082         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35083         (EXTRACT_WORDS64) Use where appropriate.
35084         (INSERT_WORDS64) Likewise.
35086         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35087         constraints with x constraints.
35088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35090         * malloc/obstack.c (_obstack_compat): Add initializer.
35092 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35094         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35095         si_trapno and add si_addr_lsb to _sifields.sigfault.
35096         (si_trapno): Remove macro.
35097         (si_addr_lsb): Define new macro.
35098         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35100 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35102         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35103         instead of TEST_f_l.
35104         (llrint_test_tonearest): Likewise.
35105         (llrint_test_towardzero): Likewise.
35106         (llrint_test_downward): Likewise.
35107         (llrint_test_upward): Likewise.
35108         (llround_test): Likewise.
35110         * math/libm-test.inc (struct test_f_i_data): Add comment.
35111         (RUN_TEST_LOOP_f_b): New macro.
35112         (RUN_TEST_LOOP_f_b_tg): Likewise.
35113         (finite_test_data): New variable.
35114         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35115         (isfinite_test_data): New variable.
35116         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35117         (isinf_test_data): New variable.
35118         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35119         (isnan_test_data): New variable.
35120         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35121         (isnormal_test_data): New variable.
35122         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35123         (issignaling_test_data): New variable.
35124         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35125         (signbit_test_data): New variable.
35126         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35128         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35129         with INVALID_EXCEPTION.
35130         (acosh_test_data): Likewise.
35131         (asin_test_data): Likewise.
35132         (atanh_test_data): Likewise.
35133         (fmod_test_data): Likewise.
35134         (log_test_data): Likewise.
35135         (log10_test_data): Likewise.
35136         (log2_test_data): Likewise.
35137         (pow_test_data): Likewise.
35138         (sqrt_test_data): Likewise.
35139         (y0_test_data): Likewise.
35140         (y1_test_data): Likewise.
35141         (yn_test_data): Likewise.
35143         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35144         function contents.
35146         * math/libm-test.inc (struct test_ff_i_data): New type.
35147         (RUN_TEST_LOOP_ff_i_tg): New macro.
35148         (isgreater_test_data): New variable.
35149         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35150         (isgreaterequal_test_data): New variable.
35151         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35152         (isless_test_data): New variable.
35153         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35154         (islessequal_test_data): New variable.
35155         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35156         (islessgreater_test_data): New variable.
35157         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35158         (isunordered_test_data): New variable.
35159         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35161 2013-05-14  David S. Miller  <davem@davemloft.net>
35163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35165 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35167         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35169         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35170         extra_test to int.
35171         (struct test_f_i_data): Change type of max_ulp to int.
35173         * math/libm-test.inc (test_ffI_f1_data): New type.
35174         (RUN_TEST_LOOP_ffI_f1): New macro.
35175         (remquo_test_data): New variable.
35176         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35178         * setjmp/tst-setjmp-fp.c: New file.
35179         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35180         (link-libm): New variable.
35181         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35183         * math/libm-test.inc (struct test_f_i_data): New type.
35184         (RUN_TEST_LOOP_f_i): New macro.
35185         (RUN_TEST_LOOP_f_i_tg): Likewise.
35186         (fpclassify_test_data): New variable.
35187         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35188         (ilogb_test_data): New variable.
35189         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35191         * math/libm-test.inc (scalbln_test): Correct function name in END
35192         call.
35194         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35195         (RUN_TEST_LOOP_fI_f1): New macro.
35196         (frexp_test_data): New variable.
35197         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35199         * math/libm-test.inc (struct test_fF_f1_data): New type.
35200         (RUN_TEST_LOOP_fF_f1): New macro.
35201         (modf_test_data): New variable.
35202         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35204         * math/libm-test.inc (struct test_f_f1_data): New type.
35205         (RUN_TEST_LOOP_f_f1): New macro.
35206         (gamma_test_data): New variable.
35207         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35208         (lgamma_test_data): New variable.
35209         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35211 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35214         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35215         (main): Comment "tls" pseudo-hwcap.
35217 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35219         * math/libm-test.inc (struct test_fl_f_data): New type.
35220         (RUN_TEST_LOOP_fl_f): New variable.
35221         (scalbln_test_data): New variable.
35222         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35224         * math/libm-test.inc (struct test_fi_f_data): New type.
35225         (RUN_TEST_LOOP_fi_f): New macro.
35226         (ldexp_test_data): New variable.
35227         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35228         (scalbn_test_data): New variable.
35229         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35231         * math/libm-test.inc (struct test_c_f_data): New type.
35232         (RUN_TEST_LOOP_c_f): New macro.
35233         (cabs_test_data): New variable.
35234         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35235         (carg_test_data): New variable.
35236         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35237         (cimag_test_data): New variable.
35238         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35239         (creal_test_data): New variable.
35240         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35242         * math/libm-test.inc (struct test_if_f_data): New type.
35243         (RUN_TEST_LOOP_if_f): New macro.
35244         (jn_test_data): New variable.
35245         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35246         (yn_test_data): New variable.
35247         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35249         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35251 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35253         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35254         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35256 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35258         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35259         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35260         (bench-deps): Add bench-timing.h.
35261         * benchtests-bench-skeleton.c: Include bench-timing.h.
35262         (main): Use TIMING_* macros instead of clock_gettime.
35263         * benchtests/bench-timing.h: New file.
35265         [BZ #14582]
35266         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35267         Renamed from _LIB_VERSION.
35268         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35270 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35272         * math/libm-test.inc (struct test_fff_f_data): New type.
35273         (RUN_TEST_LOOP_fff_f): New macro.
35274         (fma_test_data): New variable.
35275         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35276         (fma_towardzero_test_data): New variable.
35277         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35278         (fma_downward_test_data): New variable.
35279         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35280         (fma_upward_test_data): New variable.
35281         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35283         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35284         (struct test_c_c_data): New type.
35285         (RUN_TEST_LOOP_c_c): New macro.
35286         (cacos_test_data): New variable.
35287         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35288         (cacosh_test_data): New variable.
35289         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35290         (casin_test_data): New variable.
35291         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35292         (casinh_test_data): New variable.
35293         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35294         (catan_test_data): New variable.
35295         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35296         (catanh_test_data): New variable.
35297         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35298         (ccos_test_data): New variable.
35299         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35300         (ccosh_test_data): New variable.
35301         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35302         (cexp_test_data): New variable.
35303         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35304         (clog_test_data): New variable.
35305         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35306         (clog10_test_data): New variable.
35307         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35308         (conj_test_data): New variable.
35309         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35310         (cproj_test_data): New variable.
35311         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35312         (csin_test_data): New variable.
35313         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35314         (csinh_test_data): New variable.
35315         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35316         (csqrt_test_data): New variable.
35317         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35318         (ctan_test_data): New variable.
35319         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35320         (ctan_tonearest_test_data): New variable.
35321         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35322         (ctan_towardzero_test_data): New variable.
35323         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35324         (ctan_downward_test_data): New variable.
35325         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35326         (ctan_upward_test_data): New variable.
35327         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35328         (ctanh_test_data): New variable.
35329         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35330         (ctanh_tonearest_test_data): New variable.
35331         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35332         (ctanh_towardzero_test_data): New variable.
35333         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35334         (ctanh_downward_test_data): New variable.
35335         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35336         (ctanh_upward_test_data): New variable.
35337         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35338         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35339         of BUILD_COMPLEX.
35341         * math/libm-test.inc (struct test_ff_f_data): New type.
35342         (struct test_ff_f_data_nexttoward): Likewise.
35343         (RUN_TEST_LOOP_2_f): New macro.
35344         (RUN_TEST_LOOP_ff_f): Likewise.
35345         (atan2_test_data): New variable.
35346         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35347         (copysign_test_data): New variable.
35348         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35349         (fdim_test_data): New variable.
35350         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35351         (fmax_test_data): New variable.
35352         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35353         (fmin_test_data): New variable.
35354         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35355         (fmod_test_data): New variable.
35356         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35357         (hypot_test_data): New variable.
35358         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35359         (nextafter_test_data): New variable.
35360         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35361         (nexttoward_test_data): New variable.
35362         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35363         (pow_test_data): New variable.
35364         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35365         (pow_tonearest_test_data): New variable.
35366         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35367         (pow_towardzero_test_data): New variable.
35368         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35369         (pow_downward_test_data): New variable.
35370         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35371         (pow_upward_test_data): New variable.
35372         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35373         (remainder_test_data): New variable.
35374         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35375         (scalb_test_data): New variable.
35376         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35377         * sysdeps/i386/fpu/libm-test-ulps: Update.
35379 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35381         * math/libm-test.inc (fma_test): Use max_value instead of local
35382         variable fltmax.
35383         (nextafter_test): Likewise.
35385         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35386         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35387         (acos_downward_test_data): New variable.
35388         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35389         (acos_upward_test_data): New variable.
35390         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35391         (acosh_test_data): New variable.
35392         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35393         (asin_test_data): New variable.
35394         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35395         (asin_tonearest_test_data): New variable.
35396         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35397         (asin_towardzero_test_data): New variable.
35398         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35399         (asin_downward_test_data): New variable.
35400         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35401         (asin_upward_test_data): New variable.
35402         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35403         (asinh_test_data): New variable.
35404         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35405         (atan_test_data): New variable.
35406         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35407         (atanh_test_data): New variable.
35408         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35409         (cbrt_test_data): New variable.
35410         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35411         (ceil_test_data): New variable.
35412         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35413         (cos_test_data): New variable.
35414         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35415         (cos_tonearest_test_data): New variable.
35416         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35417         (cos_towardzero_test_data): New variable.
35418         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35419         (cos_downward_test_data): New variable.
35420         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35421         (cos_upward_test_data): New variable.
35422         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35423         (cosh_test_data): New variable.
35424         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35425         (cosh_tonearest_test_data): New variable.
35426         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35427         (cosh_towardzero_test_data): New variable.
35428         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35429         (cosh_downward_test_data): New variable.
35430         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35431         (cosh_upward_test_data): New variable.
35432         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35433         (erf_test_data): New variable.
35434         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35435         (erfc_test_data): New variable.
35436         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35437         (exp_test_data): New variable.
35438         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35439         (exp_tonearest_test_data): New variable.
35440         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35441         (exp_towardzero_test_data): New variable.
35442         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35443         (exp_downward_test_data): New variable.
35444         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35445         (exp_upward_test_data): New variable.
35446         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35447         (exp10_test_data): New variable.
35448         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35449         (exp2_test_data): New variable.
35450         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35451         (expm1_test_data): New variable.
35452         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35453         (fabs_test_data): New variable.
35454         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35455         (floor_test_data): New variable.
35456         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35457         (j0_test_data): New variable.
35458         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35459         (j1_test_data): New variable.
35460         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35461         (log_test_data): New variable.
35462         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35463         (log10_test_data): New variable.
35464         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35465         (log1p_test_data): New variable.
35466         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35467         (log2_test_data): New variable.
35468         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35469         (logb_test_data): New variable.
35470         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35471         (logb_downward_test_data): New variable.
35472         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35473         (nearbyint_test_data): New variable.
35474         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35475         (rint_test_data): New variable.
35476         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35477         (rint_tonearest_test_data): New variable.
35478         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35479         (rint_towardzero_test_data): New variable.
35480         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35481         (rint_downward_test_data): New variable.
35482         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35483         (rint_upward_test_data): New variable.
35484         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35485         (round_test_data): New variable.
35486         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35487         (sin_test_data): New variable.
35488         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35489         (sin_tonearest_test_data): New variable.
35490         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35491         (sin_towardzero_test_data): New variable.
35492         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35493         (sin_downward_test_data): New variable.
35494         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35495         (sin_upward_test_data): New variable.
35496         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35497         (sinh_test_data): New variable.
35498         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35499         (sinh_tonearest_test_data): New variable.
35500         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35501         (sinh_towardzero_test_data): New variable.
35502         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35503         (sinh_downward_test_data): New variable.
35504         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35505         (sinh_upward_test_data): New variable.
35506         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35507         (sqrt_test_data): New variable.
35508         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35509         (tan_test_data): New variable.
35510         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35511         (tan_tonearest_test_data): New variable.
35512         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35513         (tan_towardzero_test_data): New variable.
35514         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35515         (tan_downward_test_data): New variable.
35516         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35517         (tan_upward_test_data): New variable.
35518         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35519         (tanh_test_data): New variable.
35520         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35521         (tgamma_test_data): New variable.
35522         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35523         (trunc_test_data): New variable.
35524         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35525         (y0_test_data): New variable.
35526         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35527         (y1_test_data): New variable.
35528         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35529         (significand_test_data): New variable.
35530         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35532 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35534         [BZ #12387]
35535         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35537 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35539         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35541 2013-05-10  Andreas Jaeger  <aj@suse.de>
35543         [BZ #15448]
35544         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35545         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35547 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35549         * math/gen-libm-test.pl (adjust_arg): New function.
35550         (special_functions): Handle generating output in both functions
35551         and arrays.
35552         (parse_args): Likewise.
35553         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35554         $in_func argument to parse_args.
35555         * math/libm-test.inc (struct test_f_f_data): New type.
35556         (IF_ROUND_INIT_): New macro.
35557         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35558         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35559         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35560         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35561         (ROUND_RESTORE_): Likewise.
35562         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35563         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35564         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35565         (ROUND_RESTORE_FE_UPWARD): Likewise.
35566         (RUN_TEST_LOOP_f_f): New macro.
35567         (acos_test_data): New variable.
35568         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35569         (acos_tonearest_test_data): New variable.
35570         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35572 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35574         * benchtests/bench-skeleton.c (startup): Fix coding style.
35576 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35578         [BZ #6809]
35579         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35580         negative infinity argument.
35581         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35582         negative infinity argument.
35583         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35584         negative infinity argument.
35585         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35586         domain errors.
35588 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35590         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35591         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35592         * iconv/iconv_prog.c (main): Likewise.
35593         * locale/programs/charmap-dir.c (charmap_readdir)
35594         (fopen_uncompressed): Likewise.
35595         * locale/programs/locfile.c (siblings_uncached)
35596         (write_locale_data): Use lstat64 instead of lstat.
35597         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35598         stat.
35600 2013-05-10  Andreas Jaeger  <aj@suse.de>
35602         [BZ #15395]
35603         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35604         localization.
35605         Include <locale.h>.
35607 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35609         * elf/dl-close.c (_dl_close_worker): Add comments.
35611 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35613         [BZ #15359]
35614         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35615         high part of pi/2.
35616         (__ieee754_rem_pio2l): Update comments.
35618         [BZ #15429]
35619         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35620         high part of pi/2.
35621         (__ieee754_rem_pio2l): Update comments.
35623         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35624         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35626         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35627         M_PI_4l.
35629         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35630         (M_PI_34_LOG10El): Likewise.
35631         (M_PI2_LOG10El): Likewise.
35632         (M_PI4_LOG10El): Likewise.
35633         (M_PI_LOG10El): Likewise.
35635 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35639 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35641         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35642         (MINUS_ZERO_INIT): Likewise.
35643         (PLUS_INFTY_INIT): Likewise.
35644         (MINUS_INFTY_INIT): Likewise.
35645         (QNAN_VALUE_INIT): Likewise.
35646         (MAX_VALUE_INIT): Likewise.
35647         (MIN_VALUE_INIT): Likewise.
35648         (MIN_SUBNORM_VALUE_INIT): Likewise.
35649         (plus_zero): Initialize with PLUS_ZERO_INIT.
35650         (minus_zero): Initialize with MINUS_ZERO_INIT.
35651         (plus_infty): Initialize with PLUS_INFTY_INIT.
35652         (minus_infty): Initialize with MINUS_INFTY_INIT.
35653         (qnan_value): Initialize with QNAN_VALUE_INIT.
35654         (max_value): Initialize with MAX_VALUE_INIT.
35655         (min_value): Initialize with MIN_VALUE_INIT.
35656         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35658         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35659         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35660         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35661         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35663         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35664         (RUN_TEST_2_f): Likewise.
35665         (RUN_TEST_ff_f): Likewise.
35666         (RUN_TEST_fi_f): Likewise.
35667         (RUN_TEST_fl_f): Likewise.
35668         (RUN_TEST_fff_f): Likewise.
35669         (RUN_TEST_c_f): Likewise.
35670         (RUN_TEST_f_f1): Likewise.
35671         (RUN_TEST_fF_f1): Likewise.
35672         (RUN_TEST_fI_f1): Likewise.
35673         (RUN_TEST_ffI_f1): Likewise.
35674         (RUN_TEST_c_c): Likewise.
35675         (RUN_TEST_cc_c): Likewise.
35676         (RUN_TEST_f_i): Likewise.
35677         (RUN_TEST_f_i_tg): Likewise.
35678         (RUN_TEST_ff_i_tg): Likewise.
35679         (RUN_TEST_f_b): Likewise.
35680         (RUN_TEST_f_b_tg): Likewise.
35681         (RUN_TEST_f_l): Likewise.
35682         (RUN_TEST_f_L): Likewise.
35683         (RUN_TEST_sincos): Likewise.
35684         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35685         whether to show exceptions.  Do not include ");\n" in return
35686         value.
35687         (special_functions): Output call to RUN_TEST_sincos instead of
35688         check_float calls.  Update calls to new_test.
35689         (parse_args): Output call to single RUN_TEST_* macro instead of
35690         check_* calls and other assignments.  Update calls to new_test.
35692         [BZ #2546]
35693         [BZ #2560]
35694         [BZ #5159]
35695         [BZ #15426]
35696         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35697         input to result for tgamma overflow.
35698         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35699         (gamma_coeff): New variable.
35700         (NCOEFF): New macro.
35701         (gamma_positive): New function.
35702         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35703         underflow here.  Use gamma_positive instead of exp (lgamma) for
35704         other arguments.
35705         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35706         (gamma_coeff): New variable.
35707         (NCOEFF): New macro.
35708         (gammaf_positive): New function.
35709         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35710         underflow here.  Use gamma_positive instead of exp (lgamma) for
35711         other arguments.
35712         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35713         (gamma_coeff): New variable.
35714         (NCOEFF): New macro.
35715         (gammal_positive): New function.
35716         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35717         underflow here.  Use gamma_positive instead of exp (lgamma) for
35718         other arguments.
35719         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35720         (gamma_coeff): New variable.
35721         (NCOEFF): New macro.
35722         (gammal_positive): New function.
35723         (__ieee754_gammal_r): Handle positive infinity, overflow and
35724         underflow here.  Handle NaN the same as positive infinity.  Remove
35725         check x < 0xffffffff for negative integers.  Use gamma_positive
35726         instead of exp (lgamma) for other arguments.
35727         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35728         (gamma_coeff): New variable.
35729         (NCOEFF): New macro.
35730         (gammal_positive): New function.
35731         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35732         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35733         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35736         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35737         * sysdeps/generic/math_private.h (__gamma_productf): New
35738         prototype.
35739         (__gamma_product): Likewise.
35740         (__gamma_productl): Likewise.
35741         * math/Makefile (libm-calls): Add gamma_product.
35742         * math/libm-test.inc (tgamma_test): Add more tests.
35743         * sysdeps/i386/fpu/libm-test-ulps: Update.
35744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35746 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35748         * benchtests/bench-skeleton.c (main): Preheat CPU.
35750 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35752         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35754 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35756         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35757         and _dl_skip_args_internal.
35759 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35761         * manual/message.texi (Message Translation): Talk about users.
35762         Message to key mapping impacts design.
35764 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35766         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35768         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35770         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35771         * sysdeps/wordsize-64/glob64.c: ... here.
35773         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35774         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35775         New macros.
35777         * debug/getlogin_r_chk.c: Moved to ...
35778         * login/getlogin_r_chk.c: ... here.
35779         * debug/Makefile (routines): Move getlogin_r_chk to ...
35780         * login/Makefile (routines): ... here.
35781         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35782         * login/Versions (libc: GLIBC_2.4): ... here.
35784         * io/poll.c (__poll): Renamed from poll.
35785         Add libc_hidden_def.
35786         (poll): Define as weak alias.
35788         * debug/ptsname_r_chk.c: Moved to ...
35789         * login/ptsname_r_chk.c: ... here.
35790         * debug/Makefile (routines): Move ptsname_r_chk to ...
35791         * login/Makefile (routines): ... here.
35792         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35793         * login/Versions (libc: GLIBC_2.4): ... here.
35795         * posix/getlogin.c: Moved to ...
35796         * login/getlogin.c: ... here.
35797         * posix/getlogin_r.c: Moved to ...
35798         * login/getlogin_r.c: ... here.
35799         * posix/getlogin_r.c: Moved to ...
35800         * login/getlogin_r.c: ... here.
35801         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35802         * login/Makefile (routines): ... here.
35803         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35804         * login/Versions (libc: GLIBC_2.0): ... here.
35806         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35807         (setrlimit): Define as weak alias.
35809         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35810         Call __ names for open, ftruncate, and close.
35811         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35812         (truncate): Define as weak alias.
35814 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35816         * math/gen-libm-test.pl (parse_args): Initialize x before each
35817         test of frexp, modf and remquo.
35819         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35820         test signgam value.
35822 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35824         [BZ #15418]
35825         [BZ #15419]
35826         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35827         internal tests.
35828         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35830 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35832         * elf/dl-writev.h: New file.
35833         * elf/dl-misc.c: Include it.
35834         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35835         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35837 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35839         * math/libm-test.inc (noXFails): Remove variable.
35840         (noXPasses): Likewise.
35841         (BUILD_COMPLEX_INT): Remove macro.
35842         (print_screen): Remove xfail argument.
35843         (print_screen_max_error): Likewise.
35844         (update_stats): Likewise.
35845         (print_max_error): Likewise.  Update calls to other affected
35846         functions.
35847         (print_complex_max_error): Likewise.
35848         (test_single_exception): Update calls to print_screen.
35849         (test_single_errno): Likewise.
35850         (check_float_internal): Remove xfail argument.  Update calls to
35851         other affected functions.
35852         (check_float): Likewise.
35853         (check_complex): Likewise.
35854         (check_int): Likewise.
35855         (check_long): Likewise.
35856         (check_bool): Likewise.
35857         (check_longlong): Likewise.
35858         (main): Don't print noXFails and noXPasses.
35859         * math/gen-libm-test.pl (top level): Don't mention expected
35860         failure handling in comment.
35861         (new_test): Don't handle expected failures.
35862         (parse_args): Don't mention expected failure handling in comment.
35863         (generate_testfile): Don't handle expected failures.
35864         (parse_ulps): Likewise.
35865         (print_ulps_file): Likewise.
35866         (get_failure): Remove function.
35867         (output_test): Don't handle expected failures.
35868         * make/README.libm-test: Don't mention expected failure handling.
35870         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35871         (minus_zero): Likewise.
35872         (plus_infty): Likewise.
35873         (minus_infty): Likewise.
35874         (qnan_value): Likewise.
35875         (max_value): Likewise.
35876         (min_value): Likewise.
35877         (min_subnorm_value): Likewise.
35878         (initialize): Do not initialize those variables dynamically.
35880 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35882         * io/open.c (__open_2): Moved to ...
35883         * io/open_2.c: ... this new file.
35884         * io/open64.c (__open64_2): Moved to ...
35885         * io/open64_2.c: ... this new file.
35886         * io/openat.c (__openat_2): Moved to ...
35887         * io/openat_2.c: ... this new file.
35888         * io/openat64.c (__openat64_2): Moved to ...
35889         * io/openat64_2.c: ... this new file.
35890         * io/Makefile (routines): Add them.
35891         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35892         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35893         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35894         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35895         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35896         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35897         (__openat64): Add hidden_ver.
35898         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35899         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35901         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35902         Separately conditionalize setting of GLRO(dl_sysinfo) so
35903         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35904         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35906 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35908         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35909         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35910         definition.
35911         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35912         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35913         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35914         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35915         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35917 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35919         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35920         test signgam value.
35922         * math/libm-test.inc (hypot_test): Do not use
35923         IGNORE_ZERO_INF_SIGN.
35925 2013-05-03  Andreas Jaeger  <aj@suse.de>
35927         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35928         Linux 3.9.
35929         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35930         (PF_MAX): Adjust for VSOCK change.
35932 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35936 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35938         [BZ #15264]
35939         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35940         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35941         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35943 2013-05-02  David S. Miller  <davem@davemloft.net>
35945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35947 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35949         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35951 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35953         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35955 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35957         [BZ #14952]
35958         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35959         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35960         Use __attribute__ ((__gnu_inline__)).
35961         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35962         Don't use __attribute__ ((__gnu_inline__)).
35964 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35966         [BZ #15423]
35967         * math/s_catan.c (__catan): Handle small real or imaginary part of
35968         input specially to avoid spurious underflow.
35969         * math/s_catanf.c (__catanf): Likewise.
35970         * math/s_catanh.c (__catanh): Likewise.
35971         * math/s_catanhf.c (__catanhf): Likewise.
35972         * math/s_catanhl.c (__catanhl): Likewise.
35973         * math/s_catanl.c (__catanl): Likewise.
35974         * math/libm-test.inc (catan_test): Add more tests.
35975         (catanh_test): Likewise.
35976         * sysdeps/i386/fpu/libm-test-ulps: Update.
35977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35979 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35983 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35985         [BZ #15416]
35986         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35987         accurately for denominator in atan2.
35988         * math/s_catanf.c (__catanf): Likewise.
35989         * math/s_catanh.c (__catanh): Likewise.
35990         * math/s_catanhf.c (__catanhf): Likewise.
35991         * math/s_catanhl.c (__catanhl): Likewise.
35992         * math/s_catanl.c (__catanl): Likewise.
35993         * math/libm-test.inc (catan_test): Add more tests.
35994         (catanh_test): Likewise.
35995         * sysdeps/i386/fpu/libm-test-ulps: Update.
35996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35998 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36000         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36002         * benchtests/Makefile (bench): Remove slow benchmarks.
36003         * benchtests/atan-inputs: Add slow benchmark inputs.
36004         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36005         (BENCH_FUNC): Accept variant offset.
36006         (VARIANT): Define.
36007         * benchtests/bench-skeleton.c (main): Run benchmark for each
36008         variant.
36009         * benchtests/cos-inputs: Add slow benchmark inputs.
36010         * benchtests/exp-inputs: Likewise.
36011         * benchtests/pow-inputs: Likewise.
36012         * benchtests/sin-inputs: Likewise.
36013         * benchtests/slowatan-inputs: Remove.
36014         * benchtests/slowatan.c: Remove.
36015         * benchtests/slowcos-inputs: Remove.
36016         * benchtests/slowcos.c: Remove.
36017         * benchtests/slowexp-inputs: Remove.
36018         * benchtests/slowexp.c: Remove.
36019         * benchtests/slowpow-inputs: Remove.
36020         * benchtests/slowpow.c: Remove.
36021         * benchtests/slowsin-inputs: Remove.
36022         * benchtests/slowsin.c: Remove.
36023         * benchtests/slowtan-inputs: Remove.
36024         * benchtests/slowtan.c: Remove.
36025         * benchtests/tan-inputs: Add slow benchmark inputs.
36026         * scripts/bench.pl: Parse comments and directives.
36028         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36029         in CPPFLAGS.
36030         ($(objpfx)bench-%.c): Remove *-ITER.
36031         * benchtests/bench-modf.c: Remove definition of ITER.
36032         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36033         (main): Loop for DURATION seconds instead of fixed number of
36034         iterations.
36035         * scripts/bench.pl: Don't expect iterations in parameters.
36037 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36039         * io/fchdir.c (__fchdir): Renamed from fchdir.
36040         (fchdir): Define as weak alias.
36042 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36044         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36045         (ERRNO_EDOM): Likewise.
36046         (ERRNO_ERANGE): Likewise.
36047         (noErrnoTests): New variable.
36048         (init_max_error): Set errno to 0.
36049         (test_single_errno): New function.
36050         (test_errno): Likewise.
36051         (check_float_internal): Call test_errno.  Set errno to 0.
36052         (check_complex): Refer to errno tests in comment.
36053         (check_int): Call test_errno.  Set errno to 0.
36054         (check_long): Likewise.
36055         (check_bool): Likewise.
36056         (check_longlong): Likewise.
36057         (cos_test): Use ERRNO_* flags for errno tests instead of
36058         check_int.
36059         (expm1_test): Likewise.
36060         (fmod_test): Likewise.
36061         (ilogb_test): Likewise.
36062         (lgamma_test): Likewise.
36063         (pow_test): Likewise.
36064         (remainder_test): Likewise.
36065         (sin_test): Likewise.
36066         (tan_test): Likewise.
36067         (yn_test): Likewise.
36068         (initialize): Set errno to 0.
36069         (main): Print number of errno tests.
36070         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36072 2013-04-29  Andreas Jaeger  <aj@suse.de>
36074         [BZ #15084]
36075         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36076         and RES_USEVC.
36078         [BZ #15085]
36079         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36080         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36081         unimplemented.
36083         [BZ #15380]
36084         * stdlib/random.c (__initstate): Return NULL if
36085         __initstate fails.
36087         [BZ #15086]
36088         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36089         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36090         RES_SNGLKUPREOP.
36092 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36096 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36098         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36099         of individual tests.
36100         (casin_test): Likewise.
36101         (casinh_test): Likewise.
36103 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36105         [BZ #15409]
36106         * math/s_catan.c (__catan): Handle arguments with large real or
36107         imaginary part separately without squaring.
36108         * math/s_catanf.c (__catanf): Likewise.
36109         * math/s_catanh.c (__catanh): Likewise.
36110         * math/s_catanhf.c (__catanhf): Likewise.
36111         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36112         and redefine.
36113         (__catanhl): Handle arguments with large real or imaginary part
36114         separately without squaring.
36115         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36116         and redefine.
36117         (__catanl): Handle arguments with large real or imaginary part
36118         separately without squaring.
36119         * math/libm-test.inc (catan_test): Add more tests.
36120         (catanh_test): Likewise.
36121         * sysdeps/i386/fpu/libm-test-ulps: Update.
36122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36124 2013-04-27  Andreas Jaeger  <aj@suse.de>
36126         [BZ #15007]
36127         * stdlib/stdlib.h: Update guards for qecvt.
36128         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36129         <stdlib.h>.
36131 2013-04-27  Allan McRae  <allan@archlinux.org>
36133         * sysdeps/i386/fpu/libm-test-ulps: Update.
36135 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36137         [BZ #15406]
36138         * math/s_catan.c: Include <float.h>.
36139         (__catan): Ensure underflow exception occurs for underflowed
36140         result.
36141         * math/s_catanf.c: Include <float.h>.
36142         (__catanf): Ensure underflow exception occurs for underflowed
36143         result.
36144         * math/s_catanh.c: Include <float.h>.
36145         (__catanh): Ensure underflow exception occurs for underflowed
36146         result.
36147         * math/s_catanhf.c: Include <float.h>.
36148         (__catanhf): Ensure underflow exception occurs for underflowed
36149         result.
36150         * math/s_catanhl.c: Include <float.h>.
36151         (__catanhl): Ensure underflow exception occurs for underflowed
36152         result.
36153         * math/s_catanl.c: Include <float.h>.
36154         (__catanl): Ensure underflow exception occurs for underflowed
36155         result.
36156         * math/libm-test.inc (catan_test): Add more tests.
36157         (catanh_test): Likewise.
36159         [BZ #15405]
36160         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36161         underflowed result.
36162         * math/s_ccoshf.c (__ccoshf): Likewise.
36163         * math/s_ccoshl.c (__ccoshl): Likewise.
36164         * math/s_csin.c (__csin): Likewise.
36165         * math/s_csinf.c (__csinf): Likewise.
36166         * math/s_csinh.c (__csinh): Likewise.
36167         * math/s_csinhf.c (__csinhf): Likewise.
36168         * math/s_csinhl.c (__csinhl): Likewise.
36169         * math/s_csinl.c (__csinl): Likewise.
36170         * math/libm-test.inc (ccos_test): Add more tests.
36171         (ccosh_test): Likewise.
36172         (csin_test): Likewise.
36173         (csinh_test): Likewise.
36175 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36177         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36178         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36179         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36180         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36181         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36182         powerpc/power5+/fpu folders.
36183         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36186 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36190 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36192         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36193         additions to variable.
36194         [$(config-machine) = x86_64] (modules-names): Likewise.
36195         ($(objpfx)tst-audit3): Remove dependency.
36196         ($(objpfx)tst-audit3.out): Likewise.
36197         ($(objpfx)tst-audit4): Likewise.
36198         ($(objpfx)tst-audit4.out): Likewise.
36199         ($(objpfx)tst-audit5): Likewise.
36200         ($(objpfx)tst-audit5.out): Likewise.
36201         ($(objpfx)tst-audit6): Likewise.
36202         ($(objpfx)tst-audit6.out): Likewise.
36203         ($(objpfx)tst-audit7): Likewise.
36204         ($(objpfx)tst-audit7.out): Likewise.
36205         (tst-audit3-ENV): Remove variable.
36206         (tst-audit4-ENV): Likewise.
36207         (tst-audit5-ENV): Likewise.
36208         (tst-audit6-ENV): Likewise.
36209         (tst-audit7-ENV): Likewise.
36210         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36211         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36212         addition to variable.
36213         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36214         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36215         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36216         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36217         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36218         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36219         tst-audit3, tst-audit4 and tst-audit5.
36220         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36221         tst-audit6 and tst-audit7.
36222         [$(subdir) = elf] (modules-names): Add audit modules for those
36223         tests.
36224         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36225         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36226         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36227         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36228         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36229         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36230         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36231         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36232         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36233         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36234         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36235         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36236         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36237         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36238         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36239         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36240         Likewise.
36241         [$(subdir) = elf && $(config-cflags-avx) = yes]
36242         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36243         [$(subdir) = elf && $(config-cflags-avx) = yes]
36244         (CFLAGS-tst-auditmod4a.c): Likewise.
36245         [$(subdir) = elf && $(config-cflags-avx) = yes]
36246         (CFLAGS-tst-auditmod4b.c): Likewise.
36247         [$(subdir) = elf && $(config-cflags-avx) = yes]
36248         (CFLAGS-tst-auditmod6b.c): Likewise.
36249         [$(subdir) = elf && $(config-cflags-avx) = yes]
36250         (CFLAGS-tst-auditmod6c.c): Likewise.
36251         [$(subdir) = elf && $(config-cflags-avx) = yes]
36252         (CFLAGS-tst-auditmod7b.c): Likewise.
36253         * elf/tst-audit3.c: Move to ...
36254         * sysdeps/x86_64/tst-audit3.c: ... here.
36255         * elf/tst-audit4.c: Move to ...
36256         * sysdeps/x86_64/tst-audit4.c: ... here.
36257         * elf/tst-audit5.c: Move to ...
36258         * sysdeps/x86_64/tst-audit5.c: ... here.
36259         * elf/tst-audit6.c: Move to ...
36260         * sysdeps/x86_64/tst-audit6.c: ... here.
36261         * elf/tst-audit7.c: Move to ...
36262         * sysdeps/x86_64/tst-audit7.c: ... here.
36263         * elf/tst-auditmod3a.c: Move to ...
36264         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36265         * elf/tst-auditmod3b.c: Move to ...
36266         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36267         * elf/tst-auditmod4a.c: Move to ...
36268         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36269         * elf/tst-auditmod4b.c: Move to ...
36270         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36271         * elf/tst-auditmod5a.c: Move to ...
36272         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36273         * elf/tst-auditmod5b.c: Move to ...
36274         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36275         * elf/tst-auditmod6a.c: Move to ...
36276         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36277         * elf/tst-auditmod6b.c: Move to ...
36278         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36279         * elf/tst-auditmod6c.c: Move to ...
36280         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36281         * elf/tst-auditmod7a.c: Move to ...
36282         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36283         * elf/tst-auditmod7b.c: Move to ...
36284         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36286 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36288         [BZ #15366]
36289         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36290         define unconditionally.
36291         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36292         define unconditionally.
36293         (INT8_C, INT16_C, etc.): Likewise.
36295 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36297         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36298         __ehdr_start with hidden visibility.
36300         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36302 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36304         * math/libm-test.inc (cos_test): Use accurate hex constants.
36305         (sincost_test): Likewise.
36307 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36309         * math/libm-test.inc (catan_test): Add more tests.
36310         (catanh_test): Likewise.
36312         * math/s_catanf.c (__catanf): Use suffixed floating-point
36313         constants.
36314         * math/s_catanhf.c (__catanhf): Likewise.
36315         * math/s_catanhl.c (__catanhl): Likewise.
36316         * math/s_catanl.c (__catanl): Likewise.
36318         [BZ #15394]
36319         * math/s_catan.c (__catan): Calculate imaginary part of result
36320         with log1p not log unless computing log of number close to 0.
36321         * math/s_catanf.c (__catanf): Likewise.
36322         * math/s_catanl.c (__catanl): Likewise.
36323         * math/s_catanh.c (__catanh): Calculate real part of result with
36324         log1p not log unless computing log of number close to 0.
36325         * math/s_catanhf.c (__catanhf): Likewise.
36326         * math/s_catanhl.c (__catanhl): Likewise.
36327         * math/libm-test.inc (catan_test): Add more tests.
36328         (catanh_test): Likewise.
36329         * sysdeps/i386/fpu/libm-test-ulps: Update.
36330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36332 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36334         * benchtests/Makefile: Mention files in which fast and slow
36335         paths of math functions are implemented.
36337 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36339         * sysdeps/posix/timespec_get.c: New file.
36341 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36343         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36344         POWER.
36345         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36346         for POWER.
36347         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36348         powerpc/power5/fpu folders.
36349         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36350         * benchtests/Makefile: Add modf testcase.
36351         * benchtests/bench-modf.c: New file: Benchmark test for mo
36353 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36355         [BZ #14888]
36356         * time/Makefile (tests): Add tst-strptime-whitespace.
36357         * time/strptime_l.c (get_number): Use ISSPACE.
36358         (__strptime_internal): Likewise.
36359         * time/tst-strptime-whitespace.c: New test case.
36361 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36363         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36364         member.
36365         (_nss_files_init): Set it here.
36367 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36369         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36370         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36371         unsigned.
36373 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36375         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36377 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36380         size just once.
36382 2013-04-21  David S. Miller  <davem@davemloft.net>
36384         * po/ru.po: Update Russion translation from translation project.
36386 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36388         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36389         and setfsgid.
36391 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36393         * configure.in: Remove i386 configure warning. Remove i386 case.
36394         * configure: Regenerate.
36395         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36396         Add example to error message.
36397         * sysdeps/i386/configure: Regenerate.
36399 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36401         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36402         slowtan.
36403         * benchtests/cos-inputs: New file.
36404         * benchtests/slowcos-inputs: New file.
36405         * benchtests/slowcos.c: New file.
36406         * benchtests/slowtan-inputs: New file.
36407         * benchtests/slowtan.c: New file.
36408         * benchtests/tan-inputs: New file.
36410 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36412         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36413         considered kosher.
36415 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36417         * benchtests/Makefile: Include cppflags-iterator.mk to add
36418         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36420         * Makefile.in (bench-clean): New target.
36421         * benchtests/Makefile (bench-clean): Likewise.
36423 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36425         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36427 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36429         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36431 2013-04-15  Andreas Schwab  <schwab@suse.de>
36433         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36434         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36435         * nscd/pwdcache.c (cache_addpw): Likewise.
36436         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36437         more than recsize.
36439 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36441         * benchtests/Makefile (bench): Write all output to
36442         bench-out.tmp together.
36444 2013-04-15  Andreas Schwab  <schwab@suse.de>
36446         * nscd/nscd.c (main): Don't fork again after closing files.
36448 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36450         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36452         * benchtests/Rules (bench-deps): Collect dependencies into a
36453         single variable.  Add Makefile to dependencies.
36454         ($(objpfx)bench-%.c): Depend on bench-deps.
36456 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36457             Xavier Roche  <roche+kml2@exalead.com>
36459         [BZ #15361]
36460         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36461         just that it's a file descriptor.
36462         * manual/llio.texi (Synchronizing AIO Operations): Update description
36463         for EBADF error from aio_fsync.
36465 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36467         * Rules (bench): Move target definition...
36468         * benchtests/Makefile: ... here.
36470 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36472         * math/libm-test.inc (cos_test): Fix PI/2 test.
36473         (sincos_test): Likewise.
36474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36475         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36477 2013-04-11  Andreas Schwab  <schwab@suse.de>
36479         [BZ #13988]
36480         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36481         accept exponent character only when digits were seen.
36482         * stdio-common/Makefile (tests): Add bug26.
36483         * stdio-common/bug26.c: New file.
36485         [BZ #14293]
36486         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36487         non-freeable.
36489 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36491         * Makeconfig (rtld-prefix): Define built linker prefix.
36492         * Rules (run-bench): Use it.
36493         * math/Makefile (run-regen-ulps): Likewise.
36495         * Rules (bench): Remove eval.
36497 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36498             Roland McGrath  <roland@hack.frob.com>
36499             Ondrej Bilka  <neleai@seznam.cz>
36501         [BZ #15346]
36502         * time/getdate.c: Include ctype.h and alloca.h.
36503         (__getdate_r): Trim leading and trailing spaces of input.
36504         * time/tst-getdate.c (tests): Add tests with leading and
36505         trailing spaces.
36507 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36509         [BZ #14280]
36510         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36511         when computing value.
36513 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36515         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36516         Use testrun.sh to run libm tests.
36518         [BZ #15309]
36519         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36521 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36523         [BZ #15264]
36524         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36528         * Makefile.in (regen-ulps): New target.
36529         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36530         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36531         [ifneq (no,$(PERL)] (regen-ulps): New target.
36532         [ifeq (no,$(PERL)] (regen-ulps): New target.
36533         * math/libm-test.inc (ulps_file_name): Define.
36534         (output_dir): New variable.
36535         (options): Add "output-dir" option.
36536         (parse_opt): Handle 'o' case.
36537         (main): If output_dir is non-NULL use it as a prefix
36538         otherwise use "".
36539         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36541 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36543         [BZ #10060, #10062]
36544         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36545         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36546         fail configure if __sync_val_compare_and_swap is not inlined.
36547         * sysdeps/i386/configure: Regenerate.
36548         * configure.in: Build for i686 when configured for i386.
36549         * configure: Regenerate.
36550         * README: Remove i386 reference.
36552 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36554         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36557 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36559         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36560         (lmsnanval): New variables.
36561         (F): Add conversion tests.
36562         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36563         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36565         * stdio-common/tstdiomisc.c (F): Properly collect individual
36566         tests' results.
36568         [BZ #14686, #15336]
36569         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36570         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36571         Instead, use input NaN values or generate a qNaN by arithmetic
36572         operation.  Also fix bugs to comply with the standard.
36573         * math/libm-test.inc (remainder_test): Add more tests.
36575         [BZ #15335, #15342]
36576         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36578         input NaN values or generate a qNaN by arithmetic operation.
36580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36581         unreachable code.
36583         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36584         definitions.
36586 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36588         [BZ #14478]
36589         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36590         underflowed result.
36591         * math/s_cexpf.c (__cexpf): Likewise.
36592         * math/s_cexpl.c (__cexpl): Likewise.
36593         * math/libm-test.inc (cexp_test): Add more tests.
36595 2013-04-03  Andreas Schwab  <schwab@suse.de>
36597         [BZ #15330]
36598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36599         order arrays from heap if bigger than alloca cutoff.
36601 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36603         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36604         (SNAN_TESTS_double): Refer to GCC PR56831.
36605         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36606         GCC PR56828.
36608 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36610         * Rules (bench): Move bench.out after the run is complete.
36612         * Rules (bench): Echo currently running benchmark.
36614         * benchtests/Makefile (bench): Add atan and slowatan.
36615         * benchtests/atan-inputs: New file.
36616         * benchtests/slowatan-inputs: New file.
36617         * benchtests/slowatan.c: New file.
36619         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36620         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36621         its value.
36623         [BZ #15305]
36624         * sysdeps/unix/sysv/linux/kernel-features.h
36625         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36626         __ASSUME_XFS_RESTRICTED_CHOWN.
36627         * sysdeps/unix/sysv/linux/pathconf.c
36628         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36629         Save and restore errno.
36631 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36633         [BZ #15327]
36634         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36635         arguments using __kernel_casinh.
36636         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36637         arguments using __kernel_casinhf.
36638         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36639         arguments using __kernel_casinhl.
36640         * math/libm-test.inc (cacosh_test): Add more tests.
36641         * sysdeps/i386/fpu/libm-test-ulps: Update.
36642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36644 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36646         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36649         * bench/Makefile (bench): Add sin and slowsin.
36650         * benchtests/sin-inputs: New file.
36651         * benchtests/slowsin-inputs: New file.
36652         * benchtests/slowsin.c: New file.
36654         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36655         (bench): Add slowexp and slowpow.
36656         (exp-ITER): Increase iterations.
36657         (pow-ITER): Likewise.
36658         * benchtests/exp-inputs: Change input.
36659         * benchtests/pow-inputs: Likewise.
36660         * benchtests/slowexp-inputs: New file.
36661         * benchtests/slowexp.c: New file.
36662         * benchtests/slowpow-inputs: New file.
36663         * benchtests/slowpow.c: New file.
36665 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36667         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36668         instructions.
36669         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36670         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36671         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36672         * benchtests/Makefile: Add rint benchtest.
36673         * benchtests/rint-inputs: Input for rint benchtest.
36675 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36677         * Versions.def (libm): Add GLIBC_2.18.
36678         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36679         hidden libm prototypes.
36680         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36681         * math/Makefile (libm-calls): Add s_issignaling.
36682         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36683         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36684         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36685         declaration.
36686         * math/math.h [__USE_GNU] (issignaling): New macro.
36687         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36688         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36689         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36690         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36691         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36692         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36693         * manual/arith.texi (issignaling): New section.
36694         * manual/libm-err-tab.pl (@all_functions): Update comment.
36695         * math/gen-libm-test.pl (parse_args): Apply special handling for
36696         issignaling.
36697         * math/libm-test.inc (print_float, issignaling_test): New
36698         functions.
36699         (check_float_internal): Add issignaling checks.
36700         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36701         default definition.
36702         * sysdeps/powerpc/math-tests.h: New file.
36703         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36704         tests.
36705         * math/test-snan.c (TEST_FUNC): Likewise.
36707 2013-03-30  David S. Miller  <davem@davemloft.net>
36709         * po/de.po: Update from translation team.
36711 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36713         [BZ #10357]
36714         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36715         imaginary part less than 1.0 and real part less than 0.5
36716         specially.
36717         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36718         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36719         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36720         (cacos_test): Add more tests.
36721         (casin_test): Likewise.
36722         (casinh_test): Likewise.
36723         * sysdeps/i386/fpu/libm-test-ulps: Update.
36724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36726 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36728         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36729         ONE with its value.
36731         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36732         (__pow_mp): Replace ONE and MONE with their values.
36733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36734         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36735         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36736         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36737         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36740         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36742         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36743         (__pow_mp): Replace ZERO and MZERO with their values.
36744         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36746         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36748         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36749         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36750         (__sqr): Likewise.
36752         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36754         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36756 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36758         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36759         Declare with __attribute__ ((weak)).
36760         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36761         Call __call_tls_dtors only if it's not NULL.
36763 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36765         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36766         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36767         magic __ehdr_start linker symbol if it's defined.
36768         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36769         them up here if it was already done.
36771         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36772         (_dl_aux_init): Use const in cast when setting it.
36773         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36774         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36775         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36777         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36778         Declare them here.
36779         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36780         * csu/libc-tls.c: Nor here.
36781         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36783         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36784         (__libc_message): Never call vsyslog.
36786 2013-03-28  Alan Modra  <amodra@gmail.com>
36788         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36789         Define as empty.
36790         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36791         Likewise.
36793 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36795         [BZ #15214]
36796         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36797         underflow.
36798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36800 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36802         [BZ #15304]
36803         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36804         Don't add gid passed as argument.
36806         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36808 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36810         [BZ #15307]
36811         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36812         imaginary part between 1.0 and 1.5 and real part less than 0.5
36813         specially.
36814         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36815         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36816         * math/libm-test.inc (cacos_test): Add more tests.
36817         (casin_test): Likewise.
36818         (casinh_test): Likewise.
36819         * sysdeps/i386/fpu/libm-test-ulps: Update.
36820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36822 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36824         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36825         constants.
36826         (norm): Likewise.
36827         (denorm): Likewise.
36828         (__dbl_mp): Likewise.
36829         (add_magnitudes): Likewise.
36830         (sub_magnitudes): Likewise.
36831         (__add): Likewise.
36832         (__sub): Likewise.
36833         (__mul): Likewise.
36834         (__sqr): Likewise.
36835         (__inv): Likewise.
36836         (__dvd): Likewise.
36838         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36839         commented code.
36840         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36841         (__dubcos): Likewise.
36842         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36843         (__ieee754_acos): Likewise.
36844         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36845         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36846         (__exp1): Likewise.
36847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36849         (log1): Likewise.
36850         (my_log2): Likewise.
36851         (checkint): Likewise.
36852         * sysdeps/ieee754/dbl-64/e_remainder.c
36853         (__ieee754_remainder): Likewise.
36854         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36856         (bsloww): Likewise.
36857         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36859         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36860         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36861         MANTISSA_STORE_T to store computations on mantissa.  Use
36862         macros for rounding and division.
36863         (denorm): Likewise.
36864         (__dbl_mp): Likewise.
36865         (add_magnitudes): Likewise.
36866         (sub_magnitudes): Likewise.
36867         (__mul): Likewise.
36868         (__sqr): Likewise.
36869         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36870         powers of two in terms of TWOPOW macro.
36871         (mp_no): Make type of mantissa as MANTISSA_T.
36872         [!RADIXI]: Define RADIXI.
36873         [!TWO52]: Define TWO52.
36874         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36876 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36878         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36879         llroundl symbol when building for PPC32.
36881 2013-03-24  Mark H Weaver  <mhw@netris.org>
36883         * manual/arith.texi (Normalization Functions): Fix prototypes for
36884         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36886 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36888         [BZ #13889]
36889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36890         high value to check if expl overflow.
36891         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36892         to check for underflow and overflow.
36893         * math/libm-test.inc: Add exp test.
36895 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36897         [BZ #11120]
36898         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36899         with NOT_IN_libc.
36901 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36903         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36904         symbol.
36906 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36908         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36909         wrap blocks consisting of several statements.
36911         * sysdeps/generic/math-tests.h: New file.
36912         * sysdeps/i386/fpu/math-tests.h: Likewise.
36913         * math/test-snan.c: Include it.
36914         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36916 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36918         [BZ #15285]
36919         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36920         (__ieee754_j0l): Do not improve calculations using cos of twice
36921         input for inputs above LDBL_MAX / 2.0L.
36922         (__ieee754_y0l): Likewise.
36923         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36924         (__ieee754_j1l): Do not improve calculations using cos of twice
36925         input for inputs above LDBL_MAX / 2.0L.
36926         (__ieee754_y1l): Likewise.
36927         * math/libm-test.inc (j0_test): Add another test.
36928         (j1_test): Likewise.
36929         (y0_test): Likewise.
36930         (y1_test): Likewise.
36931         * sysdeps/i386/fpu/libm-test-ulps: Update.
36933 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36935         * Rules ($(objpfx)bench-%.c): Include code from a C source
36936         file.
36938 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36940         [BZ #15287]
36941         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36942         imaginary part 1.0 and real part less than 0.5 specially.
36943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36945         * math/libm-test.inc (cacos_test): Add more tests.
36946         (casin_test): Likewise.
36947         (casinh_test): Likewise.
36948         * sysdeps/i386/fpu/libm-test-ulps: Update.
36949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36951 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36953         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36954         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36956 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36958         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36959         * config.make.in (config-cflags-sse4): Remove variable.
36960         (config-cflags-avx): Likewise.
36961         (config-cflags-sse2avx): Likewise.
36962         (config-cflags-novzeroupper): Likewise.
36963         (config-asflags-i686): Likewise.
36964         (have-mfma4): Likewise.
36965         (have-as-vis3): Likewise.
36966         (MIG): Likewise.
36967         * configure.in (MIG): Do not AC_SUBST.
36968         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36969         (libc_cv_cc_sse4): Do not AC_SUBST.
36970         (libc_cv_cc_avx): Likewise.
36971         (libc_cv_cc_sse2avx): Likewise.
36972         (libc_cv_cc_novzeroupper): Likewise.
36973         (libc_cv_cc_fma4): Likewise.
36974         (libc_cv_as_i686): Likewise.
36975         (libc_cv_sparc_as_vis3): Likewise.
36976         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36977         LIBC_CONFIG_VAR.
36978         (config-asflags-i686): Likewise.
36979         (config-cflags-avx): Likewise.
36980         (config-cflags-sse2avx): Likewise.
36981         (have-mfma4): Likewise.
36982         (config-cflags-novzeroupper): Likewise.
36983         * sysdeps/mach/configure.in (MIG): Likewise.
36984         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36985         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36986         LIBC_CONFIG_VAR.
36987         (config-cflags-avx): Likewise.
36988         (config-cflags-sse2avx): Likewise.
36989         (have-mfma4): Likewise.
36990         (config-cflags-novzeroupper): Likewise.
36991         * configure: Regenerated.
36992         * sysdeps/i386/configure: Likewise.
36993         * sysdeps/mach/configure: Likewise.
36994         * sysdeps/sparc/configure: Likewise.
36995         * sysdeps/x86_64/configure: Likewise.
36997 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36999         [BZ #14812]
37000         * locale/programs/localedef.c (options): Put N_ translation marker
37001         on argument names, not just descriptions.
37003 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37005         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37007 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37009         [BZ #14176]
37010         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37012 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37014         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37015         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37016         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37017         [!BEFORE_ABORT] (before_abort): New function.
37018         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37019         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37020         (writev_for_fatal): New function.
37021         (WRITEV_FOR_FATAL): New macro; call that.
37022         (backtrace_and_maps): New function.
37023         (BEFORE_ABORT): New macro; call that.
37024         (struct str_list): Type removed.
37025         (__libc_message, __libc_fatal): Functions removed.
37026         Include <sysdeps/posix/libc_fatal.c> instead.
37028 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37030         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37031         constants.
37032         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37033         double constants.
37035 2013-03-19  Andreas Schwab  <schwab@suse.de>
37037         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37038         * sysdeps/gnu/configure: Regenerate.
37040         * configure.in: Substitute libc_cv_rtlddir.
37041         * configure: Regenerate.
37042         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37043         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37044         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37045         * elf/Makefile (install-others, CFLAGS-interp.c)
37046         (ldso_install, common-ldd-rewrite): Likewise.
37047         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37048         $(inst_slibdir)/$(rtld-installed-name).
37049         * scripts/rellns-sh: Add -p option.
37050         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37051         for source.
37053 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37055         * manual/nptl.texi: Renamed to ...
37056         * manual/threads.texi: ... this.
37057         * manual/Makefile (chapters): Update.
37059 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37061         [BZ #14812]
37062         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37063         on argument names, not just descriptions.
37064         * malloc/memusagestat.c (options): Likewise.
37065         * nss/getent.c (options): Likewise.
37067 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37069         [BZ #14812]
37070         * iconv/iconv_prog.c (options): Put N_ translation marker
37071         on argument names, not just descriptions.
37072         * iconv/iconvconfig.c (options): Likewise.
37074 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37076         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37077         implementation which is faster on all x86_64 architectures.
37078         Tested on AMD, Intel Nehalem, SNB, IVB.
37079         * sysdeps/x86_64/strnlen.S: Likewise.
37081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37082         Remove all multiarch strlen and strnlen versions.
37083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37084         Remove strlen and strnlen related parts.
37086         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37087         Inline strlen part.
37088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37090         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37091         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37092         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37093         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37094         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37095         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37097 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37099         * manual/memory.texi (Malloc Tunable Parameters):
37100         Sort parameters alphabetically. Add comments for missing entries.
37102 2013-03-17  David S. Miller  <davem@davemloft.net>
37104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37106 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37108         [BZ #15283]
37109         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37110         for arguments at most half maximum finite value.
37111         * math/libm-test.inc (j0_test): Add more tests.
37112         (j1_test): Likewise.
37113         (y0_test): Likewise.
37114         (y1_test): Likewise.
37115         * sysdeps/i386/fpu/libm-test-ulps: Update.
37116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37118         [BZ #14155]
37119         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37120         1 / x and functions P and Q for arguments above 0x1p256L.
37121         (__ieee754_y0l): Likewise.
37122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37123         (__ieee754_y1l): Likewise.
37124         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37125         (j1_test): Likewise.
37126         (y0_test): Likewise.
37127         (y1_test): Likewise.
37129 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37131         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37132         variable.
37134 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37136         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37137         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37138         zero since it's initialized to EXEC_PAGESIZE.
37140         * sysdeps/unix/sysv/linux/ldsodefs.h
37141         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37142         * sysdeps/generic/ldsodefs.h: ... here.
37144 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37146         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37148         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37149         math/test-snan.c.
37150         * math/test-snan.c: Renamed from
37151         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37152         * math/Makefile (tests): Add test-snan.
37153         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37154         test-powerpc-snan.
37156         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37157         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37158         functions.
37159         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37160         __builtin_nan family of functions.
37161         * math/libm-test.inc (initialize): Initialize qnan_value with
37162         __builtin_nan family of functions.
37163         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37164         Remove variables.
37165         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37166         Remove functions.
37167         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37168         storage class.  Initialize qNaN_var and sNaN_var with
37169         __builtin_nan and __builtin_nans families of functions,
37170         respectively.
37172         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37173         (sqrt_test): Remove duplicate test with qNaN input.
37174         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37175         (round_test, signbit_test, significand_test): Note missing +/-Inf
37176         as well as qNaN tests.
37178         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37179         qNaN_var.  Fix a few strings, too.
37180         * math/libm-test.inc (nan_value): Rename to qnan_value.
37181         * math/gen-libm-test.pl (%beautify): Adjust to that.
37182         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37183         * math/test-misc.c (main): Likewise.
37184         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37185         to __qnan_bytes, and __qnan_union, respectively.
37186         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37187         Likewise.
37188         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37189         and lqnanval, respectively.
37190         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37191         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37192         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37193         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37195         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37196         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37197         doubles.
37199         * math/test-misc.c (main): Fix copy'n'pastos.
37200         * misc/tst-efgcvt.c (special): Likewise.
37202         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37203         Remove declarations.
37205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37207         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37208         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37209         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37210         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37212 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37215         macro to return vdso values correctly in IFUNC implementations.
37216         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37217         Optimization by using IFUNC.
37219 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37220             Richard Henderson  <rth@redhat.com>
37221             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37223         * Makefile.in (bench): New target.
37224         * NEWS: Mention the benchmark framework.
37225         * Rules (bench): Likewise.
37226         (binaries-bench): Generate binaries for functions to
37227         benchmark.
37228         * benchtests/Makefile: New makefile for benchmark tests.
37229         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37230         programs.
37231         * benchtests/exp-inputs: New input file for EXP function.
37232         * benchtests/pow-inputs: New input file for POW function.
37233         * scripts/bench.pl: New script to generate source files for
37234         benchmark programs.
37236 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37238         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37240         computations on mantissa.  Use macros for rounding and
37241         division.
37242         (denorm): Likewise.
37243         (__dbl_mp): Likewise.
37244         (add_magnitudes): Likewise.
37245         (sub_magnitudes): Likewise.
37246         (__mul): Likewise.
37247         (__sqr): Likewise.
37248         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37249         powers of two in terms of TWOPOW macro.
37250         (mp_no): Make type of mantissa as MANTISSA_T.
37251         [!RADIXI]: Define RADIXI.
37252         [!TWO52]: Define TWO52.
37253         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37255         * manual/nptl.texi (cindex): Modify threads to pthreads.
37257 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37259         * sysdeps/x86_64/preconfigure: Regenerated.
37261 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37263         [BZ #14155]
37264         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37265         0x1p28 and above.
37266         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37267         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37268         0x1p28 and above.
37269         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37270         * math/libm-test.inc (j0_test): Do not allow one spurious
37271         underflow exception.
37272         (y1_test): Likewise.
37274 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37276         * manual/Makefile (chapters): Add nptl.
37277         * manual/debug.texi (Debugging Support): Add link to Threads
37278         chapter.
37279         * manual/nptl.texi: New file.
37281         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37283 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37285         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37286         for non-NULL pointer before the memory validity test. Pointed
37287         out by Holger Brunck <holger.brunck@keymile.com>.
37289 2013-03-13  Andreas Schwab  <schwab@suse.de>
37291         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37292         instead of .os.
37294 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37296         * timezone/zic.c: Update from tzcode 2013b.
37298 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37300         * manual/install.texi (Configuring and compiling):
37301         Mention i686 and i586.
37302         * INSTALL: Regenerate.
37304 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37306         * sysdeps/init_array/elf-init.c: New file.
37307         * csu/elf-init.c
37308         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37309         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37311         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37312         __gmon_start__ as global, but as static with a .preinit_array pointer.
37313         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37314         * sysdeps/init_array/crti.S: New file, empty except for comments.
37315         * sysdeps/init_array/crtn.S: Likewise.
37317 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37319         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37320         definining bcopy.
37321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37322         Remove Prefer_SSE_for_memop.
37323         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37324         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37325         HAS_PREFER_SSE_FOR_MEMOP.
37326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37327         memset-x86-64.
37328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37329         Remove bzero, memset ifunc support.
37330         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37331         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37332         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37333         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37335 2013-03-11  Andreas Schwab  <schwab@suse.de>
37337         [BZ #15234]
37338         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37339         by SHLIB_COMPAT.
37340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37341         (GLIBC_2.16): Remove pthread_atfork.
37343 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37345         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37346         (ptestcases.h): Likewise.
37348 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37350         * Makeconfig ($(common-objpfx)config.status): Depend on
37351         sysdeps/*/preconfigure{,.in} too.
37353 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37355         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37356         (__free_hook): Use void * instead of __malloc_ptr_t.
37357         (__malloc_hook): Likewise.
37358         (__realloc_hook): Likewise.
37359         (__memalign_hook): Likewise.
37360         (__after_morecore_hook): Likewise.
37361         * malloc/arena.c (save_malloc_hook): Likewise.
37362         (save_free_hook): Likewise.
37363         * malloc/hooks.c (malloc_hook_ini): Likewise.
37364         (realloc_hook_ini): Likewise.
37365         (memalign_hook_ini): Likewise.
37366         * malloc/malloc.c (malloc_hook_ini): Likewise.
37367         (realloc_hook_ini): Likewise.
37368         (memalign_hook_ini): Likewise.
37369         (__free_hook): Likewise.
37370         (__malloc_hook): Likewise.
37371         (__realloc_hook): Likewise.
37372         (__memalign_hook): Likewise.
37373         (__libc_malloc): Likewise.
37374         (__libc_free): Likewise.
37375         (__libc_realloc): Likewise.
37376         (__libc_memalign): Likewise.
37377         (__libc_valloc): Likewise.
37378         (__libc_pvalloc): Likewise.
37379         (__libc_calloc): Likewise.
37380         (__posix_memalign): Likewise.
37381         * malloc/morecore.c (__sbrk): Likewise.
37382         (__default_morecore): Likewise.
37384         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37386         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37387         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37388         __malloc_ptrdiff_t.
37390         * malloc/malloc.h (__malloc_size_t): Remove macro.
37391         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37392         __malloc_size_t.
37393         (old_memalign_hook): Likewise.
37394         (old_realloc_hook): Likewise.
37395         (struct hdr): Likewise.
37396         (flood): Likewise.
37397         (mallochook): Likewise.
37398         (memalignhook): Likewise.
37399         (reallochook): Likewise.
37400         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37401         (tr_old_realloc_hook): Likewise.
37402         (tr_old_memalign_hook): Likewise.
37403         (tr_mallochook): Likewise.
37404         (tr_reallochook): Likewise.
37405         (tr_memalignhook): Likewise.
37407 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37409         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37410         default_ldbl_pack and using as default implementation.
37411         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37412         implementation.
37413         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37414         redundant definition.
37415         (ldbl_insert_mantissa): Likewise.
37416         (ldbl_canonicalize): Likewise.
37417         (ldbl_nearbyint): Likewise.
37418         (ldbl_pack): Rename to ldbl_pack_ppc.
37419         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37420         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37421         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37423 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37426         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37427         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37428         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37430         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37431         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37432         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37434 2013-03-07  Andreas Jaeger  <aj@suse.de>
37436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37437         bits/mman-linux.h.
37439 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37441         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37442         Include mpa.h and declare __MPEXP.
37443         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37444         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37445         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37446         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37447         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37448         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37449         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37451         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37452         (__slowpow): Use long double EXPL and LOGL functions to
37453         compute POW.
37454         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37455         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37456         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37457         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37458         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37459         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37462         intermediate variable to calculate exponent.
37463         (__sqr): Likewise.
37464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37465         Likewise.
37466         (__sqr): Likewise.
37468         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37469         [!NO__SQR]: Define __sqr.
37470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37471         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37472         sysdeps/ieee754/dbl-64/mpa.c.
37473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37475         [BZ #12723]
37476         * posix/Makefile (tests): Add tst-pathconf.
37477         * posix/tst-pathconf.c: New test case.
37478         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37479         _PC_PIPE_BUF.
37480         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37482 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37484         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37486 2013-03-06  Andreas Jaeger  <aj@suse.de>
37488         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37489         definition via __MAP_ANONYMOUS.
37491         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37492         it's not part of Linux headers.
37494         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37495         (MAP_HUGE_MASK): Define.
37497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37498         Define.
37499         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37501         Define.
37502         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37503         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37504         Define.
37505         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37506         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37507         Define.
37508         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37510         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37511         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37512         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37513         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37514         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37515         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37518         Handle f2fs.
37520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37521         Handle f2fs and efivarfs.
37523         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37524         f2fs.
37526         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37527         (EFIVARFS_MAGIC): Add.
37528         (F2FS_LINK_MAX): Add.
37530 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37532         * stdio-common/vfprintf.c: Replace __builtin_expect with
37533         __glibc_unlikely.
37535 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37537         [BZ #13550]
37538         * sysdeps/generic/bp-sym.h: Remove file.
37539         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37540         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37541         <bp-sym.h> and <bp-asm.h>.
37542         (__longjmp): Don't use BP_SYM.
37543         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37544         and <bp-asm.h>.
37545         (memcpy): Don't use BP_SYM.
37546         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37547         <bp-sym.h> and <bp-asm.h>.
37548         (memcpy): Don't use BP_SYM.
37549         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37550         <bp-asm.h>.
37551         (memcpy): Don't use BP_SYM.
37552         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37553         <bp-asm.h>.
37554         (memset): Don't use BP_SYM.
37555         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37556         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37557         (__bzero): Don't use BP_SYM.
37558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37560         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37561         <bp-sym.h> and <bp-asm.h>.
37562         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37563         pointers.
37564         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37565         <bp-sym.h> and <bp-asm.h>.
37566         (memcpy): Don't use BP_SYM.
37567         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37568         <bp-sym.h> and <bp-asm.h>.
37569         (memset): Don't use BP_SYM.
37570         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37571         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37572         (__bzero): Don't use BP_SYM.
37573         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37574         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37576         <bp-sym.h> and <bp-asm.h>.
37577         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37578         pointers.
37579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37580         <bp-sym.h> and <bp-asm.h>.
37581         (memcpy): Don't use BP_SYM.
37582         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37583         <bp-sym.h> and <bp-asm.h>.
37584         (memset): Don't use BP_SYM.
37585         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37586         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37587         (__bzero): Don't use BP_SYM.
37588         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37589         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37590         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37591         <bp-sym.h> and <bp-asm.h>.
37592         (__memchr): Don't use BP_SYM.
37593         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37594         <bp-sym.h> and <bp-asm.h>.
37595         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37596         pointers.
37597         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37598         <bp-sym.h> and <bp-asm.h>.
37599         (memcpy): Don't use BP_SYM.
37600         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37601         <bp-sym.h> and <bp-asm.h>.
37602         (__mempcpy): Don't use BP_SYM.
37603         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37604         <bp-sym.h> and <bp-asm.h>.
37605         (__memrchr): Don't use BP_SYM.
37606         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37607         <bp-sym.h> and <bp-asm.h>.
37608         (memset): Don't use BP_SYM.
37609         (__bzero): Likewise.
37610         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37611         <bp-sym.h> and <bp-asm.h>.
37612         (__rawmemchr): Don't use BP_SYM.
37613         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37614         <bp-sym.h> and <bp-asm.h>.
37615         (__STRCMP): Don't use BP_SYM.
37616         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37617         <bp-sym.h> and <bp-asm.h>.
37618         (strchr): Don't use BP_SYM.
37619         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37620         <bp-sym.h> and <bp-asm.h>.
37621         (__strchrnul): Don't use BP_SYM.
37622         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37623         <bp-sym.h> and <bp-asm.h>.
37624         (strlen): Don't use BP_SYM.
37625         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37626         <bp-sym.h> and <bp-asm.h>.
37627         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37628         pointers.
37629         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37630         <bp-sym.h> and <bp-asm.h>.
37631         (__strnlen): Don't use BP_SYM.
37632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37633         <bp-sym.h> and <bp-asm.h>.
37634         (__GI__setjmp): Don't use BP_SYM.
37635         (_setjmp): Likewise.
37636         (__sigsetjmp): Likewise.
37637         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37638         (L(start_addresses)): Don't use BP_SYM.
37639         (_start): Likewise.
37640         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37641         <bp-asm.h>.
37642         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37643         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37644         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37645         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37646         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37647         <bp-asm.h>.
37648         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37649         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37650         about bounded pointers.
37651         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37652         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37653         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37654         <bp-asm.h>.
37655         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37656         about bounded pointers.  Remove GKM FIXME comments.
37657         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37658         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37659         <bp-asm.h>.
37660         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37661         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37662         Remove GKM FIXME comments.
37663         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37664         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37665         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37666         <bp-asm.h>.
37667         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37668         about bounded pointers.  Remove GKM FIXME comment.
37669         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37670         and <bp-asm.h>.
37671         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37672         pointers.
37673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37674         <bp-sym.h> and <bp-asm.h>.
37675         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37677         <bp-sym.h> and <bp-asm.h>.
37678         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37679         comment.
37681 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37683         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37684         call free(NULL).
37686 2013-03-05  David S. Miller  <davem@davemloft.net>
37688         * po/es.po: Update from translation team.
37690 2013-03-05  Andreas Jaeger  <aj@suse.de>
37692         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37693         <bits/mman-linux.h>.
37694         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37695         is fine.
37696         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37697         <bits/mman-linux.h> to end of file.
37698         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37699         is fine.
37700         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37701         <bits/mman-linux.h> to end of file.
37702         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37703         is fine.
37704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37705         <bits/mman-linux.h> to end of file.
37707         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37708         (MCL_CURRENT, MCL_FUTURE): Define here.
37710 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37712         [BZ #15232]
37713         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37714         attribute_hidden.
37715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37717 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37719         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37720         fourth parameter needed for rt_sigprocmask syscall.
37721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37723         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37724         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37725         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37726         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37728 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37730         [BZ #13550]
37731         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37732         comment about bounded pointers.
37733         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37734         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37736 2013-03-04  Andreas Jaeger  <aj@suse.de>
37738         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37739         common definitions.
37741         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37742         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37743         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37744         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37745         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37746         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37748 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37750         [BZ #15055]
37751         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37752         __ieee754_sqrl instead of __sqrl.
37754 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37756         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37757         * sysdeps/powerpc/fpu_control.h: ... here.
37758         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37759         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37760         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37761         * sysdeps/powerpc/bits/mathinline.h: ... here.
37763 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37765         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37766         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37767         to just [NEED_DL_SYSINFO_DSO].
37768         * elf/dl-support.c: Likewise.
37769         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37770         * elf/rtld.c (dl_main): Likewise.
37771         * elf/setup-vdso.h (setup_vdso): Likewise.
37772         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37773         * sysdeps/unix/sysv/linux/dl-sysdep.c
37774         (_dl_discover_osversion): Likewise.
37776 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37778         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37779         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37781 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37783         * NEWS: Mention libm performance improvements and non-x86 PI
37784         futex support.
37786         * csu/libc-start.c (__pthread_initialize_minimal): Change
37787         function arguments.
37788         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37790 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37792         [BZ #13550]
37793         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37794         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37795         <bp-sym.h> and <bp-asm.h>.
37796         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37797         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37798         and <bp-asm.h>.
37799         (memcpy): Don't use BP_SYM.
37800         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37801         <bp-asm.h>.
37802         (__mpn_add_n): Don't use BP_SYM.
37803         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37804         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37805         and <bp-asm.h>.
37806         (__mpn_addmul_1): Don't use BP_SYM.
37807         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37808         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37809         <bp-sym.h>.
37810         (_setjmp): Don't use BP_SYM.
37811         (__novmx_setjmp): Likewise.
37812         (__GI__setjmp): Likewise.
37813         (__vmx_setjmp): Likewise.
37814         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37815         <bp-sym.h>.
37816         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37817         (__bzero): Don't use BP_SYM.
37818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37820         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37821         <bp-sym.h> and <bp-asm.h>.
37822         (memcpy): Don't use BP_SYM.
37823         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37824         <bp-sym.h> and <bp-asm.h>.
37825         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37826         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37827         <bp-sym.h> and <bp-asm.h>.
37828         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37829         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37830         <bp-asm.h>.
37831         (__mpn_lshift): Don't use BP_SYM.
37832         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37833         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37834         <bp-asm.h>.
37835         (memset): Don't use BP_SYM.
37836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37838         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37839         <bp-asm.h>.
37840         (__mpn_mul_1): Don't use BP_SYM.
37841         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37842         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37843         <bp-sym.h> and <bp-asm.h>.
37844         (memcmp): Don't use BP_SYM.
37845         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37846         <bp-sym.h> and <bp-asm.h>.
37847         (memcpy): Don't use BP_SYM.
37848         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37849         <bp-sym.h> and <bp-asm.h>.
37850         (memset): Don't use BP_SYM.
37851         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37852         <bp-sym.h> and <bp-asm.h>.
37853         (strncmp): Don't use BP_SYM.
37854         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37855         <bp-sym.h> and <bp-asm.h>.
37856         (memcpy): Don't use BP_SYM.
37857         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37858         <bp-sym.h> and <bp-asm.h>.
37859         (memset): Don't use BP_SYM.
37860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37861         <bp-sym.h> and <bp-asm.h>.
37862         (__memchr): Don't use BP_SYM.
37863         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37864         <bp-sym.h> and <bp-asm.h>.
37865         (memcmp): Don't use BP_SYM.
37866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37867         <bp-sym.h> and <bp-asm.h>.
37868         (memcpy): Don't use BP_SYM.
37869         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37870         <bp-sym.h> and <bp-asm.h>.
37871         (__mempcpy): Don't use BP_SYM.
37872         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37873         <bp-sym.h> and <bp-asm.h>.
37874         (__memrchr): Don't use BP_SYM.
37875         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37876         <bp-sym.h> and <bp-asm.h>.
37877         (memset): Don't use BP_SYM.
37878         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37879         <bp-sym.h> and <bp-asm.h>.
37880         (__rawmemchr): Don't use BP_SYM.
37881         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37882         <bp-sym.h> and <bp-asm.h>.
37883         (__STRCMP): Don't use BP_SYM.
37884         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37885         <bp-sym.h> and <bp-asm.h>.
37886         (strchr): Don't use BP_SYM.
37887         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37888         <bp-sym.h> and <bp-asm.h>.
37889         (__strchrnul): Don't use BP_SYM.
37890         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37891         <bp-sym.h> and <bp-asm.h>.
37892         (strlen): Don't use BP_SYM.
37893         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37894         <bp-sym.h> and <bp-asm.h>.
37895         (strncmp): Don't use BP_SYM.
37896         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37897         <bp-sym.h> and <bp-asm.h>.
37898         (__strnlen): Don't use BP_SYM.
37899         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37900         <bp-asm.h>.
37901         (__mpn_rshift): Don't use BP_SYM.
37902         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37903         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37904         <bp-sym.h> and <bp-asm.h>.
37905         (__sigsetjmp): Don't use BP_SYM.
37906         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37907         (L(start_addresses)): Don't use BP_SYM.
37908         (_start): Likewise.
37909         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37910         <bp-asm.h>.
37911         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37912         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37913         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37914         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37915         <bp-asm.h>.
37916         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37917         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37918         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37919         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37920         <bp-asm.h>.
37921         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37922         comments.
37923         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37924         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37925         <bp-asm.h>.
37926         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37927         FIXME comments.
37928         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37929         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37930         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37931         <bp-asm.h>.
37932         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37933         comment.
37934         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37935         and <bp-asm.h>.
37936         (strncmp): Don't use BP_SYM,
37937         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37938         <bp-asm.h>.
37939         (__mpn_sub_n): Don't use BP_SYM.
37940         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37941         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37942         and <bp-asm.h>.
37943         (__mpn_submul_1): Don't use BP_SYM.
37944         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37946         <bp-sym.h> and <bp-asm.h>.
37947         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37949         <bp-sym.h> and <bp-asm.h>.
37950         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37951         comment.
37953 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37956         Use ZK to minimize writes to Z.
37957         (sub_magnitudes): Simplify code a bit.
37958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37959         Use ZK to minimize writes to Z.
37960         (sub_magnitudes): Simplify code a bit.
37962 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37964         * csu/gmon-start.c: Add special exception to license text.
37966 2013-02-27  Richard Henderson  <rth@redhat.com>
37968         * scripts/config.guess: Update from config.git.
37969         * scripts/config.sub: Likewise.
37971 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37973         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37975         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37977         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37979         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37981         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37983 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37985         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37986         [$(build-shared = yes].
37988 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37990         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37991         (__mul): Reduce iterations for calculating mantissa.
37993         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37994         MPTWO.
37995         (__mpranred): Likewise.
37997         [BZ #15160]
37998         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37999         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38001 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38003         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38004         Define __attribute__.
38006 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38008         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38009         unused.
38010         * posix/regex_internal.h (__attribute): Remove.
38011         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38012         (re_string_context_at): Likewise.
38013         (bitset_not): Use __attribute__ and mark function as possibly
38014         unused.
38015         (bitset_merge): Likewise.
38016         (bitset_mask): Likewise.
38017         (re_string_char_size_at): Likewise.
38018         (re_string_wchar_at): Likewise.
38019         (re_string_elem_size_at): Likewise.
38021 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38023         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38024         code.
38025         (cc32): Likewise.
38027         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38028         (__acr): Likewise.
38029         (__cpy): Likewise.
38030         (norm): Likewise.
38031         (denorm): Likewise.
38032         (__dbl_mp): Likewise.
38033         (add_magnitudes): Likewise.
38034         (sub_magnitudes): Likewise.
38035         (__mul): Likewise.
38036         (__inv): Likewise.
38038         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38039         style.
38041         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38042         style.
38044         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38045         code.
38047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38048         up changes with default code.
38049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38050         Likewise.
38052 2013-02-24  Allan McRae  <allan@archlinux.org>
38054         * manual/socket.texi (The Internet Namespace): Order menu items
38055         to match that in the file.
38057         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38058         node listing of the info page menu.
38060 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38062         [BZ #13550]
38063         * sysdeps/i386/bp-asm.h: Remove file.
38064         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38065         (PARMS): Do not use macros from bp-asm.h.
38066         (S1): Likewise.
38067         (S2): Likewise.
38068         (SIZE): Likewise.
38069         (__mpn_add_n): Do not use BP_SYM
38070         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38071         "bp-asm.h".
38072         (PARMS): Do not use macros from bp-asm.h.
38073         (S1): Likewise.
38074         (SIZE): Likewise.
38075         (__mpn_addmul_1): Do not use BP_SYM
38076         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38077         "bp-asm.h".
38078         (PARMS): Do not use macros from bp-asm.h.
38079         (SIGMSK): Likewise.
38080         (_setjmp): Likewise.  Do not use BP_SYM.
38081         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38082         "bp-asm.h".
38083         (PARMS): Do not use macros from bp-asm.h.
38084         (SIGMSK): Likewise.
38085         (setjmp): Likewise.  Do not use BP_SYM.
38086         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38087         "bp-asm.h".
38088         (PARMS): Do not use macros from bp-asm.h.
38089         (__frexp): Do not use BP_SYM.
38090         (frexp): Likewise.
38091         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38092         "bp-asm.h".
38093         (PARMS): Do not use macros from bp-asm.h.
38094         (__frexpf): Do not use BP_SYM.
38095         (frexpf): Likewise.
38096         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38097         "bp-asm.h".
38098         (PARMS): Do not use macros from bp-asm.h.
38099         (__frexpl): Do not use BP_SYM.
38100         (frexpl): Likewise.
38101         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38102         "bp-asm.h".
38103         (PARMS): Do not use macros from bp-asm.h.
38104         (__remquo): Do not use BP_SYM.
38105         (remquo): Likewise.
38106         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38107         "bp-asm.h".
38108         (PARMS): Do not use macros from bp-asm.h.
38109         (__remquof): Do not use BP_SYM.
38110         (remquof): Likewise.
38111         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38112         "bp-asm.h".
38113         (PARMS): Do not use macros from bp-asm.h.
38114         (__remquol): Do not use BP_SYM.
38115         (remquol): Likewise.
38116         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38117         "bp-asm.h".
38118         (PARMS): Do not use macros from bp-asm.h.
38119         (DEST): Likewise.
38120         (SRC): Likewise.
38121         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38122         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38123         "bp-asm.h".
38124         (PARMS): Do not use macros from bp-asm.h.
38125         (strlen): Do not use BP_SYM.
38126         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38127         "bp-asm.h".
38128         (PARMS): Do not use macros from bp-asm.h.
38129         (S1): Likewise.
38130         (S2): Likewise.
38131         (SIZE): Likewise.
38132         (__mpn_add_n): Do not use BP_SYM.
38133         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38134         "bp-asm.h".
38135         (PARMS): Do not use macros from bp-asm.h.
38136         (S1): Likewise.
38137         (SIZE): Likewise.
38138         (__mpn_addmul_1): Do not use BP_SYM.
38139         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38140         weak_alias.
38141         (bzero): Likewise.
38142         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38143         "bp-asm.h".
38144         (PARMS): Do not use macros from bp-asm.h.
38145         (S): Likewise.
38146         (SIZE): Likewise.
38147         (__mpn_lshift): Do not use BP_SYM.
38148         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38149         "bp-asm.h".
38150         (PARMS): Do not use macros from bp-asm.h.
38151         (DEST): Likewise.
38152         (SRC): Likewise.
38153         (LEN): Likewise.
38154         (memcpy): Likewise.  Do not use BP_SYM.
38155         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38156         libc_hidden_def and weak_alias.
38157         (mempcpy): Do not use BP_SYM in weak_alias.
38158         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38159         "bp-asm.h".
38160         (PARMS): Do not use macros from bp-asm.h.
38161         (DEST): Likewise.
38162         (LEN): Likewise.
38163         [!BZERO_P] (CHR): Likewise.
38164         (memset): Likewise.  Do not use BP_SYM.
38165         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38166         "bp-asm.h".
38167         (PARMS): Do not use macros from bp-asm.h.
38168         (S1): Likewise.
38169         (SIZE): Likewise.
38170         (__mpn_mul_1): Do not use BP_SYM.
38171         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38172         "bp-asm.h".
38173         (PARMS): Do not use macros from bp-asm.h.
38174         (S): Likewise.
38175         (SIZE): Likewise.
38176         (__mpn_rshift): Do not use BP_SYM.
38177         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38178         "bp-asm.h".
38179         (PARMS): Do not use macros from bp-asm.h.
38180         (STR): Likewise.
38181         (CHR): Likewise.
38182         (strchr): Likewise.  Do not use BP_SYM.
38183         (index): Do not use BP_SYM in weak_alias.
38184         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38185         "bp-asm.h".
38186         (PARMS): Do not use macros from bp-asm.h.
38187         (DEST): Likewise.
38188         (SRC): Likewise.
38189         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38190         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38191         "bp-asm.h".
38192         (PARMS): Do not use macros from bp-asm.h.
38193         (strlen): Do not use BP_SYM.
38194         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38195         "bp-asm.h".
38196         (PARMS): Do not use macros from bp-asm.h.
38197         (S1): Likewise.
38198         (S2): Likewise.
38199         (SIZE): Likewise.
38200         (__mpn_sub_n): Do not use BP_SYM.
38201         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38202         "bp-asm.h".
38203         (PARMS): Do not use macros from bp-asm.h.
38204         (S1): Likewise.
38205         (SIZE): Likewise.
38206         (__mpn_submul_1): Do not use BP_SYM.
38207         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38208         "bp-asm.h".
38209         (PARMS): Do not use macros from bp-asm.h.
38210         (S1): Likewise.
38211         (S2): Likewise.
38212         (SIZE): Likewise.
38213         (__mpn_add_n): Do not use BP_SYM.
38214         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38215         weak_alias.
38216         (bzero): Likewise.
38217         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38218         "bp-asm.h".
38219         (PARMS): Do not use macros from bp-asm.h.
38220         (BLK2): Likewise.
38221         (LEN): Likewise.
38222         (memcmp): Do not use BP_SYM.
38223         (bcmp): Do not use BP_SYM in weak_alias.
38224         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38225         "bp-asm.h".
38226         (PARMS): Do not use macros from bp-asm.h.
38227         (DEST): Likewise.
38228         (SRC): Likewise.
38229         (LEN): Likewise.
38230         (memcpy): Likewise.  Do not use BP_SYM.
38231         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38232         "bp-asm.h".
38233         (PARMS): Do not use macros from bp-asm.h.
38234         (DEST): Likewise.
38235         (SRC): Likewise.
38236         (LEN): Likewise.
38237         (memmove): Likewise.  Do not use BP_SYM.
38238         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38239         "bp-asm.h".
38240         (PARMS): Do not use macros from bp-asm.h.
38241         (DEST): Likewise.
38242         (SRC): Likewise.
38243         (LEN): Likewise.
38244         (__mempcpy): Likewise.  Do not use BP_SYM.
38245         (mempcpy): Do not use BP_SYM in weak_alias.
38246         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38247         "bp-asm.h".
38248         (PARMS): Do not use macros from bp-asm.h.
38249         (DEST): Likewise.
38250         (LEN): Likewise.
38251         [!BZERO_P] (CHR): Likewise.
38252         (memset): Likewise.  Do not use BP_SYM.
38253         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38254         "bp-asm.h".
38255         (PARMS): Do not use macros from bp-asm.h.
38256         (STR2): Likewise.
38257         (strcmp): Do not use BP_SYM.
38258         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38259         "bp-asm.h".
38260         (PARMS): Do not use macros from bp-asm.h.
38261         (STR): Likewise.
38262         (DELIM): Likewise.
38263         [USE_AS_STRTOK_R] (SAVE): Likewise.
38264         (FUNCTION): Likewise.  Do not use BP_SYM.
38265         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38266         aliases.
38267         (strtok_r): Likewise.
38268         (__GI___strtok_r): Likewise.
38269         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38270         (PARMS): Do not use macros from bp-asm.h.
38271         (S): Likewise.
38272         (SIZE): Likewise.
38273         (__mpn_lshift): Do not use BP_SYM.
38274         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38275         (PARMS): Do not use macros from bp-asm.h.
38276         (STR): Likewise.
38277         (CHR): Likewise.
38278         (__memchr): Do not use BP_SYM.
38279         (memchr): Do not use BP_SYM in weak_alias.
38280         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38281         (PARMS): Do not use macros from bp-asm.h.
38282         (BLK2): Likewise.
38283         (LEN): Likewise.
38284         (memcmp): Do not use BP_SYM.
38285         (bcmp): Do not use BP_SYM in weak_alias.
38286         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38287         (PARMS): Do not use macros from bp-asm.h.
38288         (S1): Likewise.
38289         (SIZE): Likewise.
38290         (__mpn_mul_1): Do not use BP_SYM.
38291         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38292         "bp-asm.h".
38293         (PARMS): Do not use macros from bp-asm.h.
38294         (STR): Likewise.
38295         (CHR): Likewise.
38296         (__rawmemchr): Do not use BP_SYM.
38297         (rawmemchr): Do not use BP_SYM in weak_alias.
38298         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38299         (PARMS): Do not use macros from bp-asm.h.
38300         (S): Likewise.
38301         (SIZE): Likewise.
38302         (__mpn_rshift): Do not use BP_SYM.
38303         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38304         (PARMS): Do not use macros from bp-asm.h.
38305         (SIGMSK): Likewise.
38306         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38307         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38308         (_start): Do not use BP_SYM.
38309         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38310         (PARMS): Do not use macros from bp-asm.h.
38311         (DEST): Likewise.
38312         (SRC): Likewise.
38313         (__stpcpy): Likewise.  Do not use BP_SYM.
38314         (stpcpy): Do not use BP_SYM in weak_alias.
38315         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38316         "bp-asm.h".
38317         (PARMS): Do not use macros from bp-asm.h.
38318         (DEST): Likewise.
38319         (SRC): Likewise.
38320         (LEN): Likewise.
38321         (__stpncpy): Likewise.  Do not use BP_SYM.
38322         (stpncpy): Do not use BP_SYM in weak_alias.
38323         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38324         (PARMS): Do not use macros from bp-asm.h.
38325         (STR): Likewise.
38326         (CHR): Likewise.
38327         (strchr): Likewise.  Do not use BP_SYM.
38328         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38329         "bp-asm.h".
38330         (PARMS): Do not use macros from bp-asm.h.
38331         (STR): Likewise.
38332         (CHR): Likewise.
38333         (__strchrnul): Likewise.  Do not use BP_SYM.
38334         (strchrnul): Do not use BP_SYM in weak_alias.
38335         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38336         "bp-asm.h".
38337         (PARMS): Do not use macros from bp-asm.h.
38338         (STOP): Likewise.
38339         (strcspn): Do not use BP_SYM.
38340         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38341         "bp-asm.h".
38342         (PARMS): Do not use macros from bp-asm.h.
38343         (STR): Likewise.
38344         (STOP): Likewise.
38345         (strpbrk): Likewise.  Do not use BP_SYM.
38346         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38347         "bp-asm.h".
38348         (PARMS): Do not use macros from bp-asm.h.
38349         (STR): Likewise.
38350         (CHR): Likewise.
38351         (strrchr): Likewise.  Do not use BP_SYM.
38352         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38353         (PARMS): Do not use macros from bp-asm.h.
38354         (SKIP): Likewise.
38355         (strspn): Do not use BP_SYM.
38356         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38357         (PARMS): Do not use macros from bp-asm.h.
38358         (STR): Likewise.
38359         (DELIM): Likewise.
38360         (SAVE): Likewise.
38361         (FUNCTION): Likewise.  Do not use BP_SYM.
38362         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38363         aliases.
38364         (strtok_r): Likewise.
38365         (__GI___strtok_r): Likewise.
38366         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38367         (PARMS): Do not use macros from bp-asm.h.
38368         (S1): Likewise.
38369         (S2): Likewise.
38370         (SIZE): Likewise.
38371         (__mpn_sub_n): Do not use BP_SYM.
38372         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38373         "bp-asm.h".
38374         (PARMS): Do not use macros from bp-asm.h.
38375         (S1): Likewise.
38376         (SIZE): Likewise.
38377         (__mpn_submul_1): Do not use BP_SYM.
38378         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38379         <bp-sym.h>.
38380         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38381         and <bp-asm.h>.
38382         (PARMS): Do not use macros from bp-asm.h.
38383         (FLAGS): Likewise.
38384         (PTID): Likewise.
38385         (TLS): Likewise.
38386         (CTID): Likewise.
38387         (__clone): Do not use BP_SYM.
38388         (clone): Do not use BP_SYM in weak_alias.
38389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38390         and <bp-asm.h>.
38391         (PARMS): Do not use macros from bp-asm.h.
38392         (LEN): Likewise.
38393         (__mmap64): Do not use BP_SYM.
38394         (mmap64): Do not use BP_SYM in weak_alias.
38395         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38396         <bp-sym.h> and <bp-asm.h>.
38397         (PARMS): Do not use macros from bp-asm.h.
38398         (__posix_fadvise64_l64): Do not use BP_SYM.
38399         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38400         (PARMS): Do not use macros from bp-asm.h.
38401         (NSOPS): Likewise.
38402         (semtimedop): Do not use BP_SYM.
38403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38404         and <bp-asm.h>.
38406 2013-02-21  Allan McRae  <allan@archlinux.org>
38408         * manual/message.texi (Charset conversion in gettext):
38409         Move @end statement to beginning of line.
38411 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38414         static.
38415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38416         Likewise.
38418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38419         (denorm): Likewise.
38420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38423 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38425         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38426         tail-call to the resolved function if pltexit isn't needed.
38428 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38431         or Y being zero as being unlikely.
38432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38433         Likewise.
38435 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38437         * manual/nss.texi (System Databases and Name Service Switch):
38438         Remove frobnicate @pxref.
38440 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38442         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38443         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38445 2013-02-20  Petr Machata  <pmachata@redhat.com>
38447         * elf/elf.h (R_ARM_TARGET1): New macro.
38448         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38449         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38450         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38451         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38452         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38453         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38454         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38455         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38456         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38457         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38458         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38459         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38460         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38461         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38462         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38463         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38464         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38465         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38466         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38467         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38468         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38469         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38470         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38471         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38472         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38473         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38474         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38475         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38476         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38477         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38478         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38479         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38480         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38481         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38482         (R_ARM_THM_GOT_BREL12): Likewise.
38483         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38484         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38485         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38486         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38487         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38488         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38489         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38490         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38491         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38493 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38495         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38496         __attribute_used__ to __attribute__ ((unused)).
38498 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38500         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38501         powerpc mpa.c.
38502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38503         comment formatting.
38504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38506 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38508         [BZ #13550]
38509         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38510         Remove macro.
38511         (ENTER): Remove both macro definitions.
38512         (LEAVE): Likewise.
38513         (CHECK_BOUNDS_LOW): Likewise.
38514         (CHECK_BOUNDS_HIGH): Likewise.
38515         (CHECK_BOUNDS_BOTH): Likewise.
38516         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38517         (RETURN_BOUNDED_POINTER): Likewise.
38518         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38519         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38520         (POP_ERRNO_LOCATION_RETURN): Likewise.
38521         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38522         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38523         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38524         macros.
38525         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38526         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38527         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38528         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38529         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38530         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38531         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38532         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38533         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38534         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38535         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38536         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38537         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38538         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38539         removed macros.
38540         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38541         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38542         macros.
38543         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38544         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38545         * sysdeps/i386/i586/memset.S (memset): Likewise.
38546         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38547         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38548         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38549         macros.
38550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38551         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38552         Change uses of L(2) to L(out).
38553         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38554         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38555         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38556         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38557         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38558         removed macros.
38559         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38560         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38561         macros.
38562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38563         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38564         (RETURN): Do not use macro LEAVE.
38565         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38566         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38567         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38568         * sysdeps/i386/i686/memset.S (memset): Likewise.
38569         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38570         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38571         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38572         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38573         Likewise.
38574         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38575         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38576         L(1_2) and L(1_3) into L(1).
38577         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38578         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38579         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38580         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38581         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38582         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38583         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38584         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38585         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38586         macros.
38587         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38588         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38589         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38590         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38591         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38592         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38593         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38594         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38595         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38596         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38597         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38598         * sysdeps/i386/strspn.S (strspn): Likewise.
38599         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38600         conditional code.
38601         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38602         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38603         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38604         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38605         L(1_3) into L(1_1).
38606         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38607         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38608         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38609         macros.
38610         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38612 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38614         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38615         macro.
38617 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38619         * math/atest-exp.c (exp_mpn): Remove ROUND.
38620         * math/atest-exp2.c (exp_mpn): Likewise.
38621         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38623         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38624         * stdlib/tst-tls-atexit-lib.c: Likewise.
38625         * stdlib/tst-tls-atexit.c: Likewise.
38627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38629         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38630         and __attribute_alloc_size__.
38632 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38634         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38635         __attribute_alloc_size__.
38636         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38637         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38639 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38641         * include/programs/xmalloc.h: New file.
38642         * catgets/gencat.c: Include it.
38643         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38644         * elf/pldd.c: Likewise.
38645         * iconv/iconv_charmap.c: Likewise.
38646         * iconv/iconvconfig.c: Likewise.
38647         * iconv/strtab.c: Likewise.
38648         * locale/programs/locale.c: Likewise.
38649         * locale/programs/localedef.h: Likewise.
38650         * locale/programs/simple-hash.c: Likewise.
38651         * nscd/nscd.h: Likewise.
38652         * nss/makedb.c: Likewise.
38653         * sysdeps/generic/ldconfig.h: Likewise.
38655 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38657         * Versions.def: Add GLIBC_2.18.
38658         * include/link.h (struct link_map): New member l_tls_dtor_count.
38659         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38660         (__call_tls_dtors): Likewise.
38661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38662         __cxa_thread_atexit_impl.
38663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38664         Likewise.
38665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38666         Likewise.
38667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38668         Likewise.
38669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38670         Likewise.
38671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38673         Likewise.
38674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38675         Likewise.
38676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38678         Likewise.
38679         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38680         (tests): Add test case tst-tls-atexit.
38681         (modules-names): Add shared library for tst-tls-atexit.
38682         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38683         (GLIBC_PRIVATE): Add __call_tls_dtors.
38684         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38685         for libstdc++.
38686         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38687         * stdlib/tst-tls-atexit.c: New test case.
38688         * stdlib/tst-tls-atexit-lib.c: New test case.
38690         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38692         * elf/Versions (ld): Add _dl_find_dso_for_object.
38693         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38694         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38695         (dl_open_worker): Use _dl_find_dso_for_object.
38696         * elf/dl-sym.c (do_sym): Likewise.
38697         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38699 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38701         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38702         Syntactic changes only.
38703         (_dl_runtime_profile): Do a tail-call to the resolved function.
38705 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38707         [BZ #13550]
38708         * sysdeps/x86_64/bp-asm.h: Remove file.
38709         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38710         <bp-sym.h> and <bp-asm.h>.
38711         (__clone): Do not use BP_SYM.
38712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38713         <bp-sym.h> and <bp-asm.h>.
38714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38715         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38716         "bp-asm.h".
38717         (_setjmp): Do not use BP_SYM.
38718         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38719         "bp-asm.h".
38720         (setjmp): Do not use BP_SYM.
38721         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38722         libc_hidden_def.
38723         (mempcpy): Do not use BP_SYM in weak_alias.
38724         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38725         "bp-asm.h".
38726         (strchr): Do not use BP_SYM.
38727         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38728         "bp-asm.h".
38729         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38730         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38731         (_start): Do not use BP_SYM.
38732         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38733         "bp-asm.h".
38734         (strcat): Do not use BP_SYM.
38735         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38736         "bp-asm.h".
38737         (STRCMP): Do not use BP_SYM.
38738         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38739         "bp-asm.h".
38740         (STRCPY): Do not use BP_SYM.
38741         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38742         "bp-asm.h".
38743         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38744         "bp-asm.h".
38745         (FUNCTION): Do not use BP_SYM.
38746         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38747         weak_alias.
38748         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38750 2013-02-17  Andreas Jaeger  <aj@suse.de>
38752         * time/Versions: Sort entries.
38753         * string/Versions: Likewise.
38754         * resolv/Versions: Likewise.
38755         * posix/Versions: Likewise.
38756         * iconv/Versions: Likewise.
38757         * elf/Versions: Likewise.
38758         * wcsmbs/Versions: Likewise.
38760 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38762         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38763         loop termination condition.
38765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38766         variable to calculate EZ.
38767         (__sqr): Likewise.
38769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38770         the lower precision input.
38772 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38774         [BZ #13550]
38775         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38776         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38777         (run-via-rtld-prefix): Do not handle %-bp tests.
38778         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38779         (all-object-suffixes): Remove .ob.
38780         (bppfx): Remove variable.
38781         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38782         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38783         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38784         [$(build-bounded) = yes] (libtype.ob): Likewise.
38785         * Makerules (elide-routines.ob): Remove variable.
38786         (do-tests-clean): Do not handle *-bp.out.
38787         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38788         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38789         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38790         (tests): Do not include $(tests-bp.out).
38791         (xtests): Do not include $(xtests-bp.out).
38792         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38793         [$(build-bounded) = yes] ($(addprefix
38794         $(objpfx),$(binaries-bounded))): Remove rule.
38795         ($(objpfx)%-bp.out): Remove rule.
38796         * config.make.in (build-bounded): Remove variable.
38797         * crypt/Makefile [$(build-bounded) = yes]
38798         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38799         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38800         append to variable.
38801         [$(build-bounded) = yes] (install-lib): Likewise.
38802         [$(build-bounded) = yes] (generated): Likewise.
38803         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38804         Remove rule.
38805         * intl/Makefile [$(build-bounded) = yes]
38806         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38807         * math/Makefile [$(build-bounded) = yes]
38808         ($(tests:%=$(objpfx)%-bp): Likewise.
38809         * misc/Makefile [$(build-bounded) = yes]
38810         ($(objpfx)tst-tsearch-bp): Likewise.
38811         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38812         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38813         Remove dependency.
38814         * string/Makefile (o-objects.ob): Remove variable.
38815         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38816         (CFLAGS-.ob): Remove variable.
38817         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38818         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38819         both definitions of variable.
38820         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38821         (ASFLAGS-.ob): Remove variable.
38823 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38825         [BZ #13550]
38826         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38827         Remove __BOUNDED_POINTERS__ from condition.
38828         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38829         * string/bits/string2.h [!__NO_STRING_INLINES &&
38830         !__BOUNDED_POINTERS__]: Likewise.
38831         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38832         Likewise.
38833         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38834         Remove conditional code.
38835         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38836         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38837         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38838         condition.
38840         [BZ #13550]
38841         * csu/libc-start.c: Do not include <bp-sym.h>.
38842         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38843         * elf/dl-open.c: Do not include <bp-sym.h>.
38844         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38845         * math/fegetenv.c: Do not include <bp-sym.h>.
38846         (fegetenv): Do not use BP_SYM in versioned symbols.
38847         * nptl/sysdeps/pthread/bits/libc-lockP.h
38848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38849         <bp-sym.h>.
38850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38851         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38853         (__pthread_mutex_destroy): Likewise.
38854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38855         (__pthread_mutex_lock): Likewise.
38856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38857         (__pthread_mutex_trylock): Likewise.
38858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38859         (__pthread_mutex_unlock): Likewise.
38860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38861         (__pthread_mutexattr_init): Likewise.
38862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38863         (__pthread_mutexattr_destroy): Likewise.
38864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38865         (__pthread_mutexattr_settype): Likewise.
38866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38867         (__pthread_rwlock_init): Likewise.
38868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38869         (__pthread_rwlock_destroy): Likewise.
38870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38871         (__pthread_rwlock_rdlock): Likewise.
38872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38873         (__pthread_rwlock_tryrdlock): Likewise.
38874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38875         (__pthread_rwlock_wrlock): Likewise.
38876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38877         (__pthread_rwlock_trywrlock): Likewise.
38878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38879         (__pthread_rwlock_unlock): Likewise.
38880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38881         (__pthread_key_create): Likewise.
38882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38883         (__pthread_setspecific): Likewise.
38884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38885         (__pthread_getspecific): Likewise.
38886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38887         Likewise.
38888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38889         (_pthread_cleanup_push_defer): Likewise.
38890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38891         (_pthread_cleanup_pop_restore): Likewise.
38892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38893         (pthread_setcancelstate): Likewise.
38894         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38895         <bp-sym.h>.
38896         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38897         (memchr): Do not use BP_SYM in weak_alias.
38898         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38899         (fegetenv): Do not use BP_SYM in versioned symbols.
38900         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38901         (fesetenv): Do not use BP_SYM in versioned symbols.
38902         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38903         (feupdateenv): Do not use BP_SYM in versioned symbols.
38904         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38905         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38906         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38907         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38908         (open64): Do not use BP_SYM in weak_alias.
38909         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38910         (fegetenv): Do not use BP_SYM in versioned symbols.
38911         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38912         (fesetenv): Do not use BP_SYM in versioned symbols.
38913         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38914         (feupdateenv): Do not use BP_SYM in versioned symbols.
38915         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38916         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38917         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38918         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38919         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38920         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38922         <bp-sym.h>.
38923         (__libc_start_main): Do not use BP_SYM.
38925 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38928         redundant return line.
38929         (norm): Likewise.
38930         (denorm): Likewise.
38931         (dbl_mp): Likewise.
38932         (sub_magnitudes): Likewise.
38933         (__add): Likewise.
38934         (__sub): Likewise.
38935         (__mul): Likewise.
38936         (__inv): Likewise.
38937         (__dvd): Likewise.
38938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38939         (norm): Likewise.
38940         (denorm): Likewise.
38941         (dbl_mp): Likewise.
38942         (sub_magnitudes): Likewise.
38943         (__add): Likewise.
38944         (__sub): Likewise.
38945         (__mul): Likewise.
38946         (__inv): Likewise.
38947         (__dvd): Likewise.
38949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38950         instead of __mul.
38951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38952         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38953         (cc32): Likewise.
38955         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38956         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38958         of __mul for squares.
38959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38960         function
38961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38962         Likewise.
38963         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38964         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38966 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38968         [BZ #13550]
38969         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38970         code.
38971         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38972         prototype or function definition.  Rename ubp_* variables and
38973         parameters.  Remove argv definitions conditional on
38974         [__BOUNDED_POINTERS__].
38975         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38976         * elf/dl-runtime.c (_dl_fixup): Likewise.
38977         * include/set-hooks.h (RUN_HOOK): Likewise.
38978         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38979         definition.
38980         * string/strcpy.c (strcpy): Do not use __unbounded.
38981         * sysdeps/generic/frame.h (struct layout): Likewise.
38982         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38983         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38984         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38985         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38986         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38987         (__backtrace): Likewise.
38988         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38989         use __ptrvalue.
38990         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38991         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38992         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38993         Likewise.
38994         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38995         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38996         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38997         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38998         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38999         Do not use __unbounded.
39000         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39001         Rename __unboundedrlimits parameter to rlimits in prototype.
39002         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39003         Do not use __unbounded.
39004         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39005         not use __ptrvalue.
39006         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39007         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39008         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39009         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39010         __ptrvalue or __unbounded.
39011         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39012         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39013         use __unbounded.
39014         (__new_msgctl): Do not use __ptrvalue.
39015         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39016         __unbounded.
39017         (__libc_msgrcv): Do not use __ptrvalue.
39018         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39019         startup_info): Do not use __unbounded.
39020         (__libc_start_main): Likewise.  Rename ubp_* variables and
39021         parameters.  Remove argv definitions conditional on
39022         [__BOUNDED_POINTERS__].
39023         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39024         __ptrvalue.
39025         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39026         use __unbounded.
39027         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39028         or __ptrvalue.
39029         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39030         use __unbounded.
39031         (__new_shmctl): Do not use __ptrvalue.
39032         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39033         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39034         Likewise.
39035         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39036         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39037         (__libc_sigaction): Likewise.
39038         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39040         Likewise.
39041         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39043 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39045         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39047         * string/mempcpy.c: Implement by calling memcpy.
39049 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39054         evaluation.
39056         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39057         values in the mantissa.
39059         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39060         minimize writes to Z.
39061         (sub_magnitudes): Simplify code a bit.
39063 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39065         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39066         from the message.  The linker prefixes all warnings with that already.
39068 2013-02-12  Andreas Schwab  <schwab@suse.de>
39070         [BZ #15078]
39071         * posix/regexec.c (extend_buffers): Add parameter min_len.
39072         (check_matching): Pass minimum needed length.
39073         (clean_state_log_if_needed): Likewise.
39074         (get_subexp): Likewise.
39075         * posix/Makefile (tests): Add bug-regex34.
39076         (bug-regex34-ENV): Define.
39077         * posix/bug-regex34.c: New file.
39079         [BZ #11561]
39080         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39081         elements compare against the byte sequence of it, not its name.
39082         * posix/Makefile (tests): Add bug-regex35.
39083         (bug-regex35-ENV): Define.
39084         * posix/bug-regex35.c: New file.
39086 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39088         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39089         comment.
39090         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39091         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39092         (CHECK_EOL): Add undef.
39094 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39096         * bits/stdlib-bsearch.h: New file.
39097         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39098         * stdlib/stdlib.h: Likewise.
39100 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39102         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39103         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39104         declaration.
39105         * manual/search.texi (Array Search Function): Add missing const in
39106         lfind prototype.
39107         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39108         declaration to use rlim_t.
39109         (Basic Scheduling Functions): Remove erroneous const from
39110         sched_getparam prototype.  Remove erroneous * from
39111         sched_get_priority_max and sched_get_priority_min prototypes.
39112         (Resource Usage): Fix summary @comment on vtimes to refer to
39113         sys/vtimes.h rather than vtimes.h.
39114         Add missing *s in vtimes prototype.
39115         (Limits on Resources): Fix ulimit prototype to return long int.
39116         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39117         prototypes to use long int rather than double.
39118         (BSD Random): Fix initstate and setstate to use char *, not void *.
39119         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39120         prototype to make second argument 'struct aiocb64 *const[]'.
39121         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39122         (Status of AIO Operations): Remove erroneous const in aio_return and
39123         aio_return64 prototypes.
39124         (Synchronizing I/O): Fix sync prototype to return void.
39125         * manual/startup.texi (Suboptions): Remove an erroneous const in
39126         getsubopt prototype.
39127         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39128         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39129         use size_t rather than int.
39130         (Scanning All Users): Likewise for getpwent_r.
39131         (Setting Groups): Add missing const to setgroups prototype.
39132         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39133         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39134         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39135         'const void *' rather than 'const char *'.
39136         (Host Address Functions): Likewise for inet_ntop.
39137         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39138         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39139         ssize_t for return value.
39140         (Sending Data): Likewise for send, sendto, sendmsg.
39141         (Socket Option Functions): Add a missing const in setsockopt prototype.
39142         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39143         use wchar_t for the argument.
39144         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39145         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39146         take no arguments.
39147         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39148         double/float/long double for second argument.
39149         Fix return types of significand, significandf, significandl.
39150         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39151         argument in fchmod prototype.
39152         (File Owner): Use uid_t and gid_t in fchown prototype.
39153         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39154         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39155         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39156         use 'const struct dirent **' as argument types to CMP function pointer
39157         argument.
39158         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39159         (File Times): Fix summary magic @comment for struct utimbuf and utime
39160         to refer to utime.h, not time.h.
39161         * manual/string.texi (Argz Functions): Add missing const in
39162         argz_extract and argz_next prototypes.
39163         (Finding Tokens in a String): Likewise for basename.
39164         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39165         (Copying and Concatenation): Fix typo in wmemmove prototype.
39166         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39167         (Signal Stack): Remove erroneous const in sigstack prototype.
39168         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39169         prototype.
39170         (Simple Calendar Time): Likewise for stime.
39171         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39172         prototype.
39173         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39174         say sys/sysctl.h instead.
39175         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39176         and vsyslog prototypes.
39178 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39180         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39181         Remove.
39183 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39185         * misc/sys/mman.h: Fix typo in mremap comment.
39187 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39189         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39190         the '\0' terminator.
39192 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39194         [BZ #13550]
39195         * debug/segfault.c: Don't include <bp-checks.h>.
39196         * sysdeps/generic/bp-checks.h: Remove file.
39197         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39198         (__GETDENTS): Don't use CHECK_N.
39199         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39200         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39201         (__getgroups): Don't use CHECK_N.
39202         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39203         (setgroups): Don't use CHECK_N.
39204         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39205         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39206         (__libc_msgrcv): Don't use CHECK_N.
39207         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39208         (__libc_msgsnd): Don't use CHECK_N.
39209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39210         <bp-checks.h>.
39211         (__libc_pread): Don't use CHECK_N.
39212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39213         include <bp-checks.h>.
39214         (__libc_pread64): Don't use CHECK_N.
39215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39216         include <bp-checks.h>.
39217         (__libc_pwrite): Don't use CHECK_N.
39218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39219         include <bp-checks.h>.
39220         (__libc_pwrite64): Don't use CHECK_N.
39221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39222         <bp-checks.h>.
39223         (__libc_pread): Don't use CHECK_N.
39224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39225         include <bp-checks.h>.
39226         (__libc_pread64): Don't use CHECK_N.
39227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39228         include <bp-checks.h>.
39229         (__libc_pwrite): Don't use CHECK_N.
39230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39231         include <bp-checks.h>.
39232         (__libc_pwrite64): Don't use CHECK_N.
39233         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39234         (do_pread): Don't use CHECK_N.
39235         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39236         (do_pread64): Don't use CHECK_N.
39237         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39238         (do_pwrite): Don't use CHECK_N.
39239         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39240         (do_pwrite64): Don't use CHECK_N.
39241         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39242         (__libc_readv): Don't use CHECK_N.
39243         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39244         (semop): Don't use CHECK_N.
39245         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39246         <bp-checks.h>.
39247         (semtimedop): Don't use CHECK_N.
39248         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39249         (__libc_pread): Don't use CHECK_N.
39250         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39251         <bp-checks.h>.
39252         (__libc_pread64): Don't use CHECK_N.
39253         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39254         <bp-checks.h>.
39255         (__libc_pwrite): Don't use CHECK_N.
39256         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39257         <bp-checks.h>.
39258         (__libc_pwrite64): Don't use CHECK_N.
39259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39260         <bp-checks.h>.
39261         (__libc_msgrcv): Don't use CHECK_N.
39262         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39263         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39264         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39265         (__libc_writev): Don't use CHECK_N.
39267 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39269         * string/strcpy.c: Removed unused variable.
39271         * Makeconfig (+sysdep-includes): Define with := rather than =.
39272         Use an existing include/ subdir of each sysdeps dir before it.
39274 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39276         * nscd/connection.c (register_traced_file): Comment function.
39277         [HAVE_INOTIFY] (union __inev): Define.
39278         [HAVE_INOTIFY] (inotify_check_files): New function.
39279         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39280         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39281         clear_db_cache.
39282         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39286         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39287         loaded if not already and that a failure is permanent.
39289 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39291         [BZ #15006]
39292         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39293         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39295 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39297         [BZ #13550]
39298         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39299         (CHECK_1_NULL_OK): Likewise.
39300         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39301         (__fxstat): Do not use CHECK_1.
39302         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39303         <bp-checks.h>.
39304         (___fxstat64): Do not use CHECK_1.
39305         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39306         <bp-checks.h>.
39307         (__fxstatat): Do not use CHECK_1.
39308         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39309         <bp-checks.h>.
39310         (__fxstatat64): Do not use CHECK_1.
39311         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39312         <bp-checks.h>.
39313         (__fxstat): Do not use CHECK_1.
39314         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39315         <bp-checks.h>.
39316         (__fxstatat): Do not use CHECK_1.
39317         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39318         <bp-checks.h>.
39319         (__getresgid): Do not use CHECK_1.
39320         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39321         <bp-checks.h>.
39322         (__getresuid): Do not use CHECK_1.
39323         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39324         <bp-checks.h>.
39325         (__lxstat): Do not use CHECK_1.
39326         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39327         <bp-checks.h>.
39328         (__old_msgctl): Do not use CHECK_1.
39329         (__new_msgctl): Likewise.
39330         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39331         <bp-checks.h>.
39332         (__new_setrlimit): Do not use CHECK_1.
39333         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39334         <bp-checks.h>.
39335         (__old_shmctl): Do not use CHECK_1.
39336         (__new_shmctl): Likewise.
39337         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39338         <bp-checks.h>.
39339         (__xstat): Do not use CHECK_1.
39340         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39341         (__lxstat): Do not use CHECK_1.
39342         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39343         <bp-checks.h>.
39344         (___lxstat64): Do not use CHECK_1.
39345         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39346         (__old_msgctl): Do not use CHECK_1.
39347         (__new_msgctl): Likewise.
39348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39349         <bp-checks.h>.
39350         (__gettimeofday): Do not use CHECK_1.
39351         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39352         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39353         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39354         <bp-checks.h>.
39355         (__gettimeofday): Do not use CHECK_1.
39356         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39357         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39358         (__new_shmctl): Do not use CHECK_1.
39359         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39360         <bp-checks.h>.
39361         (do_sigtimedwait): Do not use CHECK_1.
39362         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39363         <bp-checks.h>.
39364         (do_sigwaitinfo): Do not use CHECK_1.
39365         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39366         <bp-checks.h>.
39367         (msgctl): Do not use CHECK_1.
39368         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39369         <bp-checks.h>.
39370         (shmctl): Do not use CHECK_1.
39371         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39372         (ustat): Do not use CHECK_1.
39373         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39374         <bp-checks.h>.
39375         (__fxstat): Do not use CHECK_1.
39376         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39377         <bp-checks.h>.
39378         (__fxstatat): Do not use CHECK_1.
39379         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39380         <bp-checks.h>.
39381         (__lxstat): Do not use CHECK_1.
39382         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39383         <bp-checks.h>.
39384         (__xstat): Do not use CHECK_1.
39385         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39386         (__xstat): Do not use CHECK_1.
39387         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39388         (___xstat64): Do not use CHECK_1.
39390         [BZ #13550]
39391         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39392         definitions.
39393         (CHECK_BOUNDS_HIGH): Likewise.
39394         * string/strcpy.c: Do not include <bp-checks.h>.
39395         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39397 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39399         * nscd/nscd-client.h (__nscd_drop_map_ref):
39400         Add __attribute__ ((unused)).
39401         * nis/nss-nisplus.h (niserr2nss): Likewise.
39403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39404         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39406         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39407         Remove inline keyword.
39408         * include/rounding-mode.h (round_away): Likewise.
39409         * libio/wfileops.c (adjust_wide_data): Likewise.
39410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39411         (__m128i_strloadu_tolower): Likewise.
39412         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39413         (__m128i_strloadu_tolower): Likewise.
39414         * time/mktime.c (ydhms_diff): Likewise.
39415         * locale/elem-hash.h (elem_hash): Likewise.
39416         * locale/setlocale.c (setdata): Likewise.
39417         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39418         (re_string_wchar_at): Likewise.
39419         (bitset_not, bitset_merge, bitset_mask): Likewise.
39420         [!(__GNUC__ > 3)] (inline): Remove macro.
39421         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39422         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39423         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39424         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39425         * string/memcmp.c (memcmp_bytes): Likewise.
39426         * locale/programs/locarchive.c (compute_hashval): Likewise.
39427         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39428         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39429         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39430         * nss/getent.c (print_rpc, print_protocols): Likewise.
39431         (print_passwd, print_group, print_aliases): Likewise.
39432         * nis/nss-nisplus.h (niserr2nss): Likewise.
39433         * nscd/connections.c (restart_p): Likewise.
39434         Change return type to bool.
39436 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39438         * Makeconfig (all-Depend-files): Add existing
39439         $(sorted-subdirs:=/Depend) files.
39440         (all-subdirs): Remove nss.
39441         * sysdeps/unix/inet/Subdirs: Add it here instead.
39442         * hesiod/Depend: New file.
39444         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39445         instead of calling alloca.
39447         * io/lseek.c (__lseek): Rename to __libc_lseek.
39448         Define __lseek as an alias.
39450         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39452 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39454         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39455         else clause and remove check for non-standard endianness.
39457 2013-02-04  David S. Miller  <davem@davemloft.net>
39459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39461 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39463         [BZ #13550]
39464         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39465         (__ubp_memchr): Remove prototype.
39466         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39467         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39468         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39469         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39470         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39471         Remove alias.
39472         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39473         (__ubp_memchr): Likewise.
39474         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39475         (__ubp_memchr): Likewise.
39476         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39477         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39478         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39480         CHECK_STRING.
39481         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39482         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39483         (__getcwd): Do not use CHECK_STRING.
39484         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39485         <bp-checks.h>.
39486         (__real_chown): Do not use CHECK_STRING.
39487         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39488         <bp-checks.h>.
39489         (fchownat): Do not use CHECK_STRING.
39490         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39491         CHECK_STRING.
39492         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39493         <bp-checks.h>.
39494         (__lchown): Do not use CHECK_STRING.
39495         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39497         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39498         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39500         include <bp-checks.h>.
39501         (truncate64): Do not use CHECK_STRING.
39502         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39503         <bp-checks.h>.
39504         (__real_chown): Do not use CHECK_STRING.
39505         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39506         <bp-checks.h>.
39507         (__lchown): Do not use CHECK_STRING.
39508         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39509         <bp-checks.h>.
39510         (__chown): Do not use CHECK_STRING.
39511         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39512         <bp-checks.h>.
39513         (truncate64): Do not use CHECK_STRING.
39514         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39515         Likewise.
39516         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39517         (__xmknod): Do not use CHECK_STRING.
39518         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39519         <bp-checks.h>.
39520         (__xmknodat): Do not use CHECK_STRING.
39521         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39522         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39524 2013-02-04  Andreas Schwab  <schwab@suse.de>
39526         [BZ #14142]
39527         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39528         * include/netdb.h: Likewise for h_errno.
39529         * elf/tst-stackguard1.c: Include <tls.h>.
39531 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39533         * elf/link.h (struct link_map): Extend the l_addr comment.
39534         * include/link.h (struct link_map): Likewise.
39536 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39538         [BZ #13550]
39539         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39540         (BOUNDED_1): Remove macro.
39541         * debug/backtrace.c: Don't include <bp-checks.h>.
39542         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39543         (__backtrace): Likewise.
39544         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39545         <bp-checks.h>.
39546         (__backtrace): Don't use BOUNDED_1.
39547         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39548         <bp-checks.h>.
39549         (__backtrace): Don't use BOUNDED_1.
39550         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39551         (__backtrace): Don't use BOUNDED_1.
39552         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39553         (shmat): Don't use BOUNDED_N.
39555 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39557         [BZ #13550]
39558         * sysdeps/generic/bp-start.h: Remove file.
39559         * csu/libc-start.c: Don't include <bp-start.h>.
39560         (LIBC_START_MAIN): Set up __environ directly instead of using
39561         INIT_ARGV_and_ENVIRON.
39562         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39563         <bp-start.h>.
39565         [BZ #13550]
39566         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39567         definitions.
39568         (CHECK_FCNTL): Likewise.
39569         (CHECK_N_PAGES): Likewise.
39571         [BZ #13550]
39572         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39573         definitions.
39574         (CHECK_SIGSET_NULL_OK): Likewise.
39575         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39576         <bp-checks.h>.
39577         (sigpending): Don't use CHECK_SIGSET.
39578         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39579         <bp-checks.h>.
39580         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39581         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39582         <bp-checks.h>.
39583         (do_sigsuspend): Don't use CHECK_SIGSET.
39584         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39585         use CHECK_SIGSET.
39586         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39587         (do_sigwait): Don't use CHECK_SIGSET.
39588         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39589         use CHECK_SIGSET.
39590         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39591         include <bp-checks.h>.
39592         (sigpending): Don't use CHECK_SIGSET.
39593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39594         include <bp-checks.h>.
39595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39596         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39597         <bp-checks.h>.
39598         (sigpending): Don't use CHECK_SIGSET.
39599         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39600         <bp-checks.h>.
39601         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39603         [BZ #13550]
39604         * sysdeps/generic/bp-semctl.h: Remove file.
39605         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39606         <bp-checks.h> and <bp-semctl.h>.
39607         (__old_semctl): Don't use CHECK_SEMCTL.
39608         (__new_semctl): Likewise.
39609         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39610         and <bp-semctl.h>.
39611         (__old_semctl): Don't use CHECK_SEMCTL.
39612         (__new_semctl): Likewise.
39613         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39614         <bp-checks.h> and <bp-semctl.h>.
39615         (__old_semctl): Don't use CHECK_SEMCTL.
39616         (__new_semctl): Likewise.
39617         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39618         <bp-checks.h> and <bp-semctl.h>.
39619         (semctl): Don't use CHECK_SEMCTL.
39621         [BZ #13550]
39622         * Makerules (elide-bp-thunks): Remove variable.
39623         (elide-routines.oS): Don't use $(elide-bp-thunks).
39624         (elide-routines.os): Likewise.
39625         (elide-routines.o): Likewise.
39626         (elide-routines.op): Likewise.
39627         (elide-routines.og): Likewise.
39628         (objects): Don't use $(bp-thunks).
39629         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39630         include.
39631         (common-generated): Do not add s-proto-bp.d.
39632         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39633         (int): Likewise.
39634         (typ): Likewise.
39635         Do not generate makefile rules for bounded-pointer thunks.
39636         * sysdeps/generic/bp-thunks.h: Remove file.
39637         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39638         * sysdeps/unix/s-proto-bp.S: Likewise.
39640         [BZ #15062]
39641         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39642         parts of result separately when argument is not close to line from
39643         -i to i and one part of argument is small.
39644         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39645         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39646         * math/libm-test.inc (cacos_test): Add more tests.
39647         (casin_test): Likewise.
39648         (casinh_test): Likewise.
39649         * sysdeps/i386/fpu/libm-test-ulps: Update.
39650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39652 2013-01-31  David S. Miller  <davem@davemloft.net>
39654         * po/de.po: Update from translation team.
39656 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39658         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39660 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39662         * configure.in (_AC_PROG_CC_C89): New definition.
39663         * configure: Regenerate.
39665         * configure.in (AC_PROG_CPP): New definition.
39666         * configure: Regenerate.
39668 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39670         * debug/tst-backtrace.h: New file.
39671         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39672         (ret): Remove variable.
39673         (x): Likewise.
39674         (FAIL): Remove macro.
39675         (NO_INLINE): Likewise.
39676         (fn1): Use match function instead of strstr.
39677         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39678         (ret): Remove variable.
39679         (x): Likewise.
39680         (FAIL): Remove macro.
39681         (NO_INLINE): Likewise.
39682         (fn): Use match function instead of strstr.
39683         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39684         (ret): Remove variable.
39685         (x): Likewise.
39686         (FAIL): Remove macro.
39687         (NO_INLINE): Likewise.
39688         (handle_signal): Use match function instead of strstr.
39689         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39690         (ret): Remove variable.
39691         (x): Likewise.
39692         (FAIL): Remove macro.
39693         (NO_INLINE): Likewise.
39694         (handle_signal): Use match function instead of strstr.
39696 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39698         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39700 2013-01-23  David S. Miller  <davem@davemloft.net>
39702         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39703         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39704         argument of CAS if possible.
39705         * sysdeps/sparc/sparc64/bits/atomic.h
39706         (__arch_compare_and_exchange_val_32_acq): Likewise.
39707         (__arch_compare_and_exchange_val_64_acq): Likewise.
39709 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39711         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39712         * sysdeps/posix/ulimit.c: ... this.
39713         Include <limits.h>.
39714         * sysdeps/unix/bsd/ulimit.c: Remove file.
39716 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39718         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39719         (LDFLAGS-tst-array5): Likewise.
39721 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39723         [BZ #15036]
39724         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39725         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39726         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39727         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39729 2013-01-21  David S. Miller  <davem@davemloft.net>
39731         * sysdeps/sparc/backtrace.c: New file.
39732         * sysdeps/sparc/sparc32/backtrace.h: New file.
39733         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39734         * sysdeps/sparc/sparc64/backtrace.h: New file.
39735         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39736         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39737         -funwind-tables.
39739 2013-01-21  Andreas Schwab  <schwab@suse.de>
39741         [BZ #15020]
39742         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39743         closed its stdout.
39745 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39748         "mpa2.h".
39749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39751 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39752             Mark Mitchell  <mark@codesourcery.com>
39753             Tom de Vries  <tom@codesourcery.com>
39754             Paul Pluzhnikov  <ppluzhnikov@google.com>
39756         * debug/tst-backtrace2.c: New file.
39757         * debug/tst-backtrace3.c: Likewise.
39758         * debug/tst-backtrace4.c: Likewise.
39759         * debug/tst-backtrace5.c: Likewise.
39760         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39761         (CFLAGS-tst-backtrace3.c): Likewise.
39762         (CFLAGS-tst-backtrace4.c): Likewise.
39763         (CFLAGS-tst-backtrace5.c): Likewise.
39764         (LDFLAGS-tst-backtrace2): Likewise.
39765         (LDFLAGS-tst-backtrace3): Likewise.
39766         (LDFLAGS-tst-backtrace4): Likewise.
39767         (LDFLAGS-tst-backtrace5): Likewise.
39768         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39769         tst-backtrace4 and tst-backtrace5.
39771 2013-01-18  Anton Blanchard  <anton@samba.org>
39772             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39774         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39775         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39777         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39779         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39780         "+r" and remove output regs list as redundant.  Add explicit inline
39781         asm to specify register of return val to work around compiler codegen
39782         bug.  Remove (int) cast on return value.  Add return type parameter to
39783         use in macro so that this macro does not truncate return value for
39784         64-bit values.
39785         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39786         pass to INTERNAL_VSYSCALL_NCS.
39787         (INLINE_VSYSCALL): Add 'long int' as return type to
39788         INTERNAL_VSYSCALL_NCS macro invocation.
39789         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39790         INTERNAL_VSYSCALL_NCS macro invocation.
39791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39793 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39795         [BZ #14496]
39796         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39797         Fix application of SIMD FP exception mask.
39799         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39800         mp_no from a power of two.
39801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39802         __mpexp_twomm1.  Use __pow_mp.
39804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39805         multiplication.
39807 2013-01-17  David S. Miller  <davem@davemloft.net>
39809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39811 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39813         [BZ #15023]
39814         * include/complex.h: Condition contents on [!_COMPLEX_H].
39815         (__kernel_casinhf): New prototype.
39816         (__kernel_casinh): Likewise.
39817         (__kernel_casinhl): Likewise.
39818         * math/Makefile (libm_calls): Add k_casinh.
39819         * math/k_casinh.c: New file.
39820         * math/k_casinhf.c: Likewise.
39821         * math/k_casinhl.c: Likewise.
39822         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39823         finite nonzero arguments.
39824         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39825         finite nonzero arguments.
39826         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39827         finite nonzero arguments.
39828         * math/s_casinh.c: Do not include <float.h>.
39829         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39830         * math/s_casinhf.c: Do not include <float.h>.
39831         (__casinhf): Move code for finite nonzero arguments to
39832         k_casinhf.c.
39833         * math/s_casinhl.c: Do not include <float.h>.
39834         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39835         redefine.
39836         (__casinhl): Move code for finite nonzero arguments to
39837         k_casinhl.c.
39838         * math/libm-test.inc (cacos_test): Add more tests.
39839         * sysdeps/i386/fpu/libm-test-ulps: Update.
39840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39842 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39844         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39845         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39846         [!HAVE_MREMAP]: Remove [defined linux] case.
39847         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39849 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39851         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39853 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39855         * elf/elf.h (R_386_SIZE32): New relocation.
39856         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39857         R_386_SIZE32.
39858         (elf_machine_rela): Likewise.
39859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39860         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39862 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39864         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39865         (FP_FAST_FMA): Do not define.
39866         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39867         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39868         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39869         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39870         !_SOFT_FLOAT]: Likewise.
39871         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39873         value.
39874         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39875         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39877         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39878         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39879         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39880         file.
39882 2013-01-16  Andreas Schwab  <schwab@suse.de>
39884         [BZ #14327]
39885         * include/stdlib.h (__mktemp): Add declaration.
39886         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39887         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39889 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39891         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39892         definitions.
39893         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39894         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39895         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39896         definitions here.
39897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39898         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39899         definitions.
39900         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39901         and ONE.
39902         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39903         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39904         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39905         definitions.
39906         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39907         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39908         definitions.
39909         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39911         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39913 2013-01-15  David S. Miller  <davem@davemloft.net>
39915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39916         trunc{,f} to libm-sysdep_routes.
39917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39919         file.
39920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39922         file.
39923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39924         file.
39925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39927         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39928         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39929         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39930         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39931         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39932         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39935         nearbyint{,f} to libm-sysdep_routes.
39936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39938         New file.
39939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39940         file.
39941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39942         New file.
39943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39944         file.
39945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39948         file.
39949         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39950         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39951         file.
39952         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39953         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39954         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39956         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39957         libc_feholdexcept and libc_fesetenv.
39959 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39961         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39963 2013-01-14  David S. Miller  <davem@davemloft.net>
39965         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39966         (SPARC_ASM_VIS2_IFUNC): Likewise.
39967         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39969         use of 'siam' instruction.
39970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39971         Likewise.
39972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39973         Likewise.
39974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39975         Likewise.
39976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39981         file.
39982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39983         file.
39984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39985         file.
39986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39987         file.
39988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39993         new VIS2 routines.
39994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39997         Likewise.
39998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40003         routines to libm-sysdep_routines.
40004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40007         fdim/fdimf to libm-sysdep_routines.
40008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40009         file.
40010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40012         file.
40013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40016         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40017         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40018         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40019         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40021 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40023         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40024         to optimize copies.
40026         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40031         local variable MPTWO.
40032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40033         Likewise.
40035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40037         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40038         GLOB_NOESCAPE.
40040 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40042         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40044 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40046         * manual/pattern.texi (glob_t): Document gl_flags.
40047         (glob64_t): Likewise.
40049 2013-01-11  David S. Miller  <davem@davemloft.net>
40051         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40052         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40053         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40054         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40055         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40056         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40057         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40058         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40059         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40060         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40061         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40062         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40063         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40065         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40066         sparc V9 rather than using V8 code.
40067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40070         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40071         Move to...
40072         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40073         Here.
40075 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40077         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40078         not in the main loop.
40079         * configure: Regenerated.
40081 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40083         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40084         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40085         to just #else.
40086         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40087         [!__GLIBC_HAVE_LONG_LONG] case.
40088         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40089         condition to just #else.
40090         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40091         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40092         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40093         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40094         unconditional.
40095         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40096         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40097         #elif condition to just #else.
40098         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40099         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40100         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40101         #elif condition to just #else.
40103 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40105         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40106         (EF_MIPS_ARCH_64): Fix value.
40107         (EF_MIPS_ARCH_32R2): New.
40108         (EF_MIPS_ARCH_64R2): New.
40110 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40112         * Makeconfig (+link-pie-before-libc): New.
40113         (+link-pie-after-libc): Likewise.
40114         (+link-pie-tests): Likewise.
40115         (+link-pie): Rewritten.
40116         (link-before-libc): Remove $(config-LDFLAGS).
40117         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40118         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40119         (config-LDFLAGS): Renamed to ...
40120         (rtld-LDFLAGS): This.
40121         (rtld-tests-LDFLAGS): New macro.
40122         (link-libc-rpath-link): Likewise.
40123         (link-libc-tests-rpath-link): Likewise.
40124         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40125         (link-libc): Prepand $(link-libc-rpath-link).
40126         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40127         (test-program-prefix): New macro.
40128         (test-via-rtld-prefix): Likewise.
40129         (test-program-cmd): Likewise.
40130         (host-test-program-cmd): Likewise.
40131         * Makefile ($(common-objpfx)testrun.sh): Replace
40132         $(run-program-prefix) with $(test-program-prefix).
40133         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40134         $(rtld-LDFLAGS).
40135         ($(common-objpfx)shlib.lds): Likewise.
40136         (build-module-helper): Likewise.
40137         ($(common-objpfx)format.lds): Likewise.
40138         * Rules (binaries-pie-tests): New.
40139         (binaries-pie-notests): Likewise.
40140         (binaries-pie): Rewritten.
40141         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40142         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40143         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40144         (make-test-out): Replace $(host-built-program-cmd) with
40145         $(host-test-program-cmd).
40146         * config.make.in (build-hardcoded-path-in-tests): New variable.
40147         * configure.in (--enable-hardcoded-path-in-tests): New configure
40148         option.
40149         (hardcoded_path_in_tests): New AC_SUBST.
40150         * configure: Regenerated.
40151         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40152         $(built-program-cmd) with $(test-program-cmd).
40153         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40154         (test_program_cmd): This.
40155         * elf/Makefile ($(objpfx)order.out): Run test with
40156         $(test-program-prefix).
40157         ($(objpfx)order2.out): Likewise.
40158         ($(objpfx)tst-initorder.out): Likewise.
40159         ($(objpfx)tst-initorder2.out): Likewise.
40160         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40161         $(test-program-cmd).
40162         ($(objpfx)tst-array1-static.out): Likewise.
40163         ($(objpfx)tst-array2.out): Likewise.
40164         ($(objpfx)tst-array3.out): Likewise.
40165         ($(objpfx)tst-array4.out): Likewise.
40166         ($(objpfx)tst-array5.out): Likewise.
40167         ($(objpfx)tst-array5-static.out): Likewise.
40168         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40169         $(test-program-cmd).
40170         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40171         $(run-program-prefix) with $(test-program-prefix).
40172         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40173         (test_program_prefix): This.
40174         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40175         $(run-program-prefix) with $(test-program-prefix).
40176         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40177         (test_program_prefix): This.
40178         * iconvdata/tst-tables.sh: Likewise.
40179         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40180         $(run-program-prefix) with $(test-program-prefix).
40181         ($(objpfx)tst-translit.out): Likewise.
40182         ($(objpfx)tst-gettext2.out): Likewise.
40183         ($(objpfx)tst-gettext4.out): Likewise.
40184         ($(objpfx)tst-gettext6.out): Likewise.
40185         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40186         (test_program_prefix): This.
40187         * intl/tst-gettext2.sh: Likewise.
40188         * intl/tst-gettext4.sh  Likewise.
40189         * intl/tst-gettext6.sh: Likewise.
40190         * intl/tst-translit.sh: Likewise.
40191         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40192         with $(test-program-cmd).
40193         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40194         $(run-program-prefix) with $(test-program-prefix).
40195         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40196         (test_program_prefix): This.
40197         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40198         $(run-program-prefix) with $(test-program-prefix).
40199         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40200         (test_program_prefix): This.
40201         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40202         * posix/Makefile ($(objpfx)globtest.out): Replace
40203         $(run-via-rtld-prefix) and $(test-wrapper) with
40204         $(test-program-prefix) and $(test-via-rtld-prefix).
40205         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40206         $(test-program-prefix).
40207         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40208         $(host-test-program-cmd).
40209         (tst-spawn-ARGS): Likewise.
40210         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40211         $(test-program-prefix).
40212         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40213         (test_via_rtld_prefix): This.
40214         (test_wrapper): Renamed to ...
40215         (test_program_prefix): This.
40216         (run_program_prefix): Replaced by test_program_prefix.
40217         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40218         (test_program_prefix): This.
40219         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40220         with $(host-test-program-cmd).
40221         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40222         $(run-program-prefix) with $(test-program-prefix).
40223         ($(objpfx)tst-printf.out): Likewise.
40224         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40225         $(test-program-cmd).
40226         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40227         (test_program_prefix): This.
40228         * stdio-common/tst-unbputc.sh: Likewise.
40229         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40230         $(run-program-prefix) with $(test-program-prefix).
40231         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40232         (test_program_prefix): This.
40233         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40234         $(built-program-cmd) with $(test-program-cmd).
40236 2013-01-11  Andreas Jaeger  <aj@suse.de>
40238         [BZ #15003]
40239         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40240         value. Sync with Linux 3.7.
40242 2013-01-10  David S. Miller  <davem@davemloft.net>
40244         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40245         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40246         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40248 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40250         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40251         never set.
40252         * configure: Regenerated.
40254 2013-01-10  David S. Miller  <davem@davemloft.net>
40256         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40257         sparc V9 rather than using V8 code.
40258         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40259         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40261 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40263         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40264         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40265         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40266         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40267         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40268         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40269         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40270         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40271         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40272         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40273         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40274         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40275         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40276         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40277         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40278         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40279         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40280         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40281         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40282         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40283         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40284         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40285         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40286         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40287         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40288         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40289         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40291 2013-01-10  David S. Miller  <davem@davemloft.net>
40293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40295 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40297         * posix/Makefile (tests-static): New variable.
40298         (tests): Add $(tests-static).
40299         (tst-exec-static-ARGS): New variable.
40300         (tst-spawn-static-ARGS): Likewise.
40301         * posix/tst-exec-static.c: New file.
40302         * posix/tst-spawn-static.c: Likewise.
40303         * posix/tst-exec.c: Support run directly.
40304         * posix/tst-spawn.c: Likewise.
40306 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40308         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40309         long.
40310         * math/bits/mathcalls.h (llrint): Likewise.
40311         (llround): Likewise.
40312         * stdlib/stdlib.h (struct drand48_data): Likewise.
40313         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40314         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40315         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40316         Likewise.
40317         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40318         Likewise.
40319         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40320         (elf_greg_t): Likewise.
40321         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40322         (__jmp_buf): Likewise.
40323         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40324         definitions.
40325         (llrint): Likewise, for all definitions.
40326         (llrintl): Likewise.
40328         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40329         Remove [__GNUC__] condition.
40330         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40331         condition to just [__USE_ISOC99].
40332         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40334 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40336         [BZ #14200]
40337         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40338         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40339         defined.
40340         (_POSIX_V6_ILP32_OFF32): Likewise.
40341         (_XBS5_ILP32_OFF32): Likewise.
40342         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40343         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40345 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40347         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40349         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40350         doubles __mpexp_twomm1.  Adjust usage.
40351         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40352         Remove.
40354 2013-01-10  Andreas Schwab  <schwab@suse.de>
40356         [BZ #14964]
40357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40358         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40360 2013-01-09  David S. Miller  <davem@davemloft.net>
40362         [BZ #15003]
40363         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40364         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40365         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40366         (TCP_FASTOPEN): Define.
40367         (tcp_repair_opt): New structure.
40368         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40369         enum values.
40370         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40371         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40372         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40373         (tcp_cookie_transactions): New structure.
40375 2013-01-09  Anton Blanchard  <anton@samba.org>
40377         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40378         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40379         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40380         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40382 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40384         * include/features.h (__USE_ANSI): Remove.
40386 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40388         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40390         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40392 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40394         * sysdeps/s390/fpu/libm-test-ulps: Update.
40396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40398         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40399         (__acr): Likewise.
40400         (__cpy): Likewise.
40401         (norm): Likewise.
40402         (denorm): Likewise.
40403         (__mp_dbl): Likewise.
40404         (__dbl_mp): Likewise.
40405         (add_magnitudes): Likewise.
40406         (sub_magnitudes): Likewise.
40407         (__add): Likewise.
40408         (__sub): Likewise.
40409         (__mul): Likewise.
40410         (__inv): Likewise.
40411         (__dvd): Likewise.
40412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40413         (__acr): Likewise.
40414         (__cpy): Likewise.
40415         (norm): Likewise.
40416         (denorm): Likewise.
40417         (__mp_dbl): Likewise.
40418         (__dbl_mp): Likewise.
40419         (add_magnitudes): Likewise.
40420         (sub_magnitudes): Likewise.
40421         (__add): Likewise.
40422         (__sub): Likewise.
40423         (__mul): Likewise.
40424         (__inv): Likewise.
40425         (__dvd): Likewise.
40426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40427         (__acr): Likewise.
40428         (__cpy): Likewise.
40429         (norm): Likewise.
40430         (denorm): Likewise.
40431         (__mp_dbl): Likewise.
40432         (__dbl_mp): Likewise.
40433         (add_magnitudes): Likewise.
40434         (sub_magnitudes): Likewise.
40435         (__add): Likewise.
40436         (__sub): Likewise.
40437         (__mul): Likewise.
40438         (__inv): Likewise.
40439         (__dvd): Likewise.
40441 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40443         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40444         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40445         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40446         2 && __USE_EXTERN_INLINES]: Likewise.
40448 2013-01-08  Andreas Jaeger  <aj@suse.de>
40450         [BZ# 14985]
40451         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40452         Remove.
40453         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40454         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40456 2013-01-07  Anton Blanchard  <anton@samba.org>
40458         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40459         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40460         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40461         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40462         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40463         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40464         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40465         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40467         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40468         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40469         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40470         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40471         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40472         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40475         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40476         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40477         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40478         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40479         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40480         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40481         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40482         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40483         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40484         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40485         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40486         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40487         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40488         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40490         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40491         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40492         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40493         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40496         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40497         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40498         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40499         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40500         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40502 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40504         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40505         (__MALLOC_PMT): Likewise.
40506         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40507         [__GNUC__], only on [_LIBC].
40508         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40509         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40510         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40511         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40512         forward declaration.
40513         (realloc_hook_ini): Likewise.
40514         (memalign_hook_ini): Likewise.
40515         (__libc_memalign): Do not use __MALLOC_PMT in variable
40516         declaration.
40517         (__libc_valloc): Likewise.
40518         (__libc_pvalloc): Likewise.
40519         (__libc_calloc): Likewise.
40520         (__posix_memalign): Likewise.
40522         [BZ #14996]
40523         * math/s_casinh.c: Include <float.h>.
40524         (__casinh): Do not do computation with squaring and square root
40525         for large arguments.
40526         * math/s_casinhf.c: Include <float.h>.
40527         (__casinhf): Do not do computation with squaring and square root
40528         for large arguments.
40529         * math/s_casinhl.c: Include <float.h>.
40530         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40531         (__casinhl): Do not do computation with squaring and square root
40532         for large arguments.
40533         * math/libm-test.inc (casin_test): Add more tests.
40534         (casinh_test): Likewise.
40535         * sysdeps/i386/fpu/libm-test-ulps: Update.
40536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40538 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40540         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40541         (__x86_64_raw_data_cache_size): Likewise.
40542         (__x86_64_data_cache_size_half): Likewise.
40543         (__x86_64_raw_data_cache_size_half): Likewise.
40544         (__x86_64_shared_cache_size): Likewise.
40545         (__x86_64_raw_shared_cache_size): Likewise.
40546         (__x86_64_shared_cache_size_half): Likewise.
40547         (__x86_64_raw_shared_cache_size_half): Likewise.
40548         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40549         to ...
40550         (__x86_data_cache_size): This.
40551         (__x86_64_raw_data_cache_size): Renamed to ...
40552         (__x86_raw_data_cache_size): This.
40553         (__x86_64_data_cache_size_half): Renamed to ...
40554         (__x86_data_cache_size_half): This.
40555         (__x86_64_raw_data_cache_size_half): Renamed to ...
40556         (__x86_raw_data_cache_size_half): This.
40557         (__x86_64_shared_cache_size): Renamed to ...
40558         (__x86_shared_cache_size): This.
40559         (__x86_64_raw_shared_cache_size): Renamed to ...
40560         (__x86_raw_shared_cache_size): This.
40561         (__x86_64_shared_cache_size_half): Renamed to ...
40562         (__x86_shared_cache_size_half): This.
40563         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40564         (__x86_raw_shared_cache_size_half): This.
40565         * sysdeps/x86_64/memcpy.S: Updated.
40566         * sysdeps/x86_64/memset.S: Likewise.
40567         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40568         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40569         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40571 2013-01-04  David S. Miller  <davem@davemloft.net>
40573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40575 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40577         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40578         1 to avoid redefinition warning.
40579         (__USE_GNU): Don't define.
40580         (init_signaling_nan): Protoize.
40582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40584 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40586         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40588         (__cpymn): Likewise.
40589         (norm): Remove commented code.
40590         (denorm): Likewise.
40591         (__mp_dbl): Likewise.
40592         (__inv): Likewise.
40593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40594         (__cpymn): Likewise.
40595         (norm): Remove commented code.
40596         (denorm): Likewise.
40597         (__mp_dbl): Likewise.
40598         (__inv): Likewise.
40600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40601         mp_no value for 1.0 and 2.0.
40602         (norm): Use RADIXI instead of radixi.d.
40603         (denorm): Likewise.
40604         (__mul): Use 0.0 instead of zero.d.
40605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40606         mp_no value for 1.0 and 2.0.
40607         (norm): Use RADIXI instead of radixi.d.
40608         (denorm): Likewise.
40609         (__mul): Use 0.0 instead of zero.d.
40611 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40613         [BZ #14994]
40614         * math/s_casinh.c (__casinh): Reduce finite argument to first
40615         quadrant then set signs of results at the end.
40616         * math/s_casinhf.c (__casinhf): Likewise.
40617         * math/s_casinhl.c (__casinhl): Likewise.
40618         * math/libm-test.inc (casin_test): Add more tests.
40619         (casinh_test): Likewise.
40620         * sysdeps/i386/fpu/libm-test-ulps: Update.
40621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40623 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40625         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40627         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40629         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40630         declarations.
40631         (denorm): Likewise.
40632         (__mp_dbl): Likewise.
40633         (__inv): Likewise.
40635         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40636         and adjust the header comment.
40638         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40639         variable name from declaration.
40641 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40644         Initialize COMMON_CPUID_INDEX_7 element.
40645         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40646         (CPUID_RTM): Likewise.
40647         (HAS_RTM): Likewise.
40648         (COMMON_CPUID_INDEX_7): New enum.
40650 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40652         [BZ #14981]
40653         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40654         size is zero, record memory as freed.
40656 2013-01-03  Andreas Jaeger  <aj@suse.de>
40658         * po/ia.po: Add new Interlingua translation.
40660 2012-01-03  Allan McRae  <allan@archlinux.org>
40662         * locale/programs/localedef.c: Fix description of '--posix' flag.
40664 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40666         * NEWS: Update dates in second copyright notice.
40667         * README: Update copyright dates in example.
40668         * manual/libc.texinfo: Update copyright dates.
40669         * scripts/test-installation.pl: Update copyright date in --version
40670         output.
40672         * hurd/ctty-input.c: Fix copyright notice formatting.
40673         * hurd/ctty-output.c: Likewise.
40674         * hurd/dtable.c: Likewise.
40675         * hurd/hurd-raise.c: Likewise.
40676         * hurd/hurdprio.c: Likewise.
40677         * hurd/msgportdemux.c: Likewise.
40678         * misc/sys/file.h: Likewise.
40679         * misc/sys/ioctl.h: Likewise.
40680         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40681         * sysdeps/mach/hurd/chdir.c: Likewise.
40682         * sysdeps/mach/hurd/fchdir.c: Likewise.
40683         * sysdeps/mach/hurd/rename.c: Likewise.
40684         * sysdeps/mach/hurd/rmdir.c: Likewise.
40685         * sysdeps/mach/hurd/seekdir.c: Likewise.
40686         * sysdeps/mach/hurd/setsid.c: Likewise.
40687         * sysdeps/posix/wait3.c: Likewise.
40689         * All files with FSF copyright notices: Update copyright dates
40690         using scripts/update-copyrights.
40691         * intl/plural.c: Regenerated.
40692         * locale/programs/charmap-kw.h: Likewise.
40693         * locale/programs/locfile-kw.h: Likewise.
40695 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40697         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40698         four values.
40700         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40701         calculation loop and add branch prediction.
40703         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40704         check access beyond bounds of m1np.
40706         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40707         MPTWO.
40708         (__inv): Remove local variable MPTWO to use the global
40709         constant.
40710         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40712         variable MPTWO.
40713         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40714         MP3HALFS static const.
40716 2013-01-01  David S. Miller  <davem@davemloft.net>
40718         * po/ca.po: Update from translation team.
40720 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40722         * scripts/update-copyrights: New file.
40723         * Makeconfig: Reformat copyright notice.
40724         * ctype/ctype.h: Likewise.
40725         * debug/swprintf_chk.c: Likewise.
40726         * elf/dl-cache.c: Likewise.
40727         * elf/dl-debug.c: Likewise.
40728         * elf/dl-object.c: Likewise.
40729         * grp/initgroups.c: Likewise.
40730         * hurd/Makefile: Likewise.
40731         * hurd/hurd/signal.h: Likewise.
40732         * hurd/hurdfault.c: Likewise.
40733         * hurd/hurdioctl.c: Likewise.
40734         * hurd/hurdlookup.c: Likewise.
40735         * hurd/intr-msg.c: Likewise.
40736         * iconv/gconv_open.c: Likewise.
40737         * libio/swprintf.c: Likewise.
40738         * locale/lc-ctype.c: Likewise.
40739         * locale/nl_langinfo.c: Likewise.
40740         * mach/Machrules: Likewise.
40741         * mach/Makefile: Likewise.
40742         * malloc/obstack.h: Likewise.
40743         * manual/Makefile: Likewise.
40744         * manual/tsort.awk: Likewise.
40745         * misc/bits/stab.def: Likewise.
40746         * nis/nis_print_group_entry.c: Likewise.
40747         * nis/nis_table.c: Likewise.
40748         * nis/nss_compat/compat-pwd.c: Likewise.
40749         * nis/nss_compat/compat-spwd.c: Likewise.
40750         * po/Makefile: Likewise.
40751         * posix/fnmatch.c: Likewise.
40752         * posix/regex.h: Likewise.
40753         * resolv/Makefile: Likewise.
40754         * resolv/nss_dns/dns-network.c: Likewise.
40755         * resolv/res_hconf.c: Likewise.
40756         * scripts/gen-sorted.awk: Likewise.
40757         * soft-fp/soft-fp.h: Likewise.
40758         * stdio-common/printf.h: Likewise.
40759         * stdlib/monetary.h: Likewise.
40760         * stdlib/random.c: Likewise.
40761         * stdlib/random_r.c: Likewise.
40762         * sysdeps/generic/Makefile: Likewise.
40763         * sysdeps/gnu/Makefile: Likewise.
40764         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40766         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40771         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40772         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40773         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40774         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40775         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40776         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40777         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40778         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40779         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40780         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40782         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40784         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40785         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40786         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40787         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40788         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40791         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40792         * sysdeps/mach/hurd/errnos.awk: Likewise.
40793         * sysdeps/mach/hurd/fork.c: Likewise.
40794         * sysdeps/mach/hurd/getcwd.c: Likewise.
40795         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40796         * sysdeps/mach/hurd/mmap.c: Likewise.
40797         * sysdeps/mach/hurd/utimes.c: Likewise.
40798         * sysdeps/mach/hurd/xmknod.c: Likewise.
40799         * sysdeps/posix/profil.c: Likewise.
40800         * sysdeps/posix/readdir_r.c: Likewise.
40801         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40802         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40803         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40804         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40806         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40807         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40808         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40810         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40811         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40812         * sysdeps/pthread/lio_listio.c: Likewise.
40813         * sysdeps/sparc/dl-procinfo.h: Likewise.
40814         * sysdeps/unix/i386/sysdep.S: Likewise.
40815         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40816         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40817         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40818         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40820         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40821         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40822         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40823         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40824         * sysdeps/wordsize-32/divdi3.c: Likewise.
40825         * time/sys/time.h: Likewise.
40826         * wcsmbs/Makefile: Likewise.
40828 2013-01-01  David S. Miller  <davem@davemloft.net>
40830         * po/fr.po: Update from translation team.
40832         * catgets/gencat.c: Update copyright year.
40833         * csu/version.c: Likewise.
40834         * debug/catchsegv.sh: Likewise.
40835         * debug/pcprofiledump.c: Likewise.
40836         * debug/xtrace.sh: Likewise.
40837         * elf/ldconfig.c: Likewise.
40838         * elf/ldd.bash.in: Likewise.
40839         * elf/pldd.c: Likewise.
40840         * elf/sotruss.ksh: Likewise.
40841         * elf/sprof.c: Likewise.
40842         * iconv/iconv_prog.c: Likewise.
40843         * iconv/iconvconfig.c: Likewise.
40844         * locale/programs/locale.c: Likewise.
40845         * locale/programs/localedef.c: Likewise.
40846         * login/programs/pt_chown.c: Likewise.
40847         * malloc/memusage.sh: Likewise.
40848         * malloc/memusagestat.c: Likewise.
40849         * malloc/mtrace.pl: Likewise.
40850         * nscd/nscd.c: Likewise.
40851         * nss/getent.c: Likewise.
40852         * nss/makedb.c: Likewise.
40853         * posix/getconf.c: Likewise.
40855 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40857         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40858         numbers.
40860 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40862         * math/bits/mathcalls.h (modf): Use __nonnull.
40864 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40866         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40867         (split): Use macro CN instead of the bare value.
40868         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40869         could be used.
40870         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40871         instead of the bare value.
40872         (power1): Likewise.
40874 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40876         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40877         __ATAN_TWOM.
40878         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40880         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40881         their values.
40882         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40883         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40884         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40885         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40887 2012-12-28  Andreas Jaeger  <aj@suse.de>
40889         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40890         values are from Linux 3.7.
40892         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40893         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40895 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40897         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40898         TRUE case.
40900         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40901         (norm): Likewise.
40902         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40903         variables with preprocessor constants.
40904         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40905         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40906         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40908 2012-12-27  Bruno Haible  <bruno@clisp.org>
40910         [BZ #14317]
40911         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40912         only if needed.
40914 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40917         and use variable directly.
40918         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40920         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40921         MPONE.
40922         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40923         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40924         variable MPONE.
40925         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40927         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40928         include directive.  Remove local variable MPONE.
40929         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40930         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40931         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40933 2012-12-25  David S. Miller  <davem@davemloft.net>
40935         * version.h (RELEASE): Set to "development".
40936         (VERSION): Set to "2.17.90".
40937         * NEWS: Add 2.18 section.
40939 2012-12-21  David S. Miller  <davem@davemloft.net>
40941         * po/hr.po: Update from translation team.
40943 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40945         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40947 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40949         * NEWS:  Mention new memcpy for MIPS.
40951 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40953         * manual/contrib.texi (Contributors): Spelling correction.
40955 2012-12-15  David S. Miller  <davem@davemloft.net>
40957         * po/ru.po: Update from translation team.
40959 2012-12-13  David S. Miller  <davem@davemloft.net>
40961         * NEWS: Mention IFUNC testsuite enhancements.
40963         * po/pl.po: Update from translation team.
40964         * po/bg.po: Likewise.
40966         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40967         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40969 2012-12-11  David S. Miller  <davem@davemloft.net>
40971         * po/sv.po: Update from translation team.
40973         * po/vi.po: Update from translation team.
40975         * po/cs.po: Update from translation team.
40977         * po/de.po: Update from translation team.
40978         * po/eo.po: Likewise.
40979         * po/nl.po: Likewise.
40981 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40983         [BZ #14246]
40984         * manual/argp.texi (Argp Helper Functions): Move node to follow
40985         Argp Parsing State.
40987         [BZ #14872]
40988         * manual/conf.texi (Limits on File System Capacity): Mention if
40989         terminating null is included in the max size.
40991 2012-12-10  Andreas Jaeger  <aj@suse.de>
40993         * po/cs.po: Update from translation team.
40995 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40997         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40998         void pointer and cast to uintptr_t.
40999         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41000         path.
41001         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41002         * sysdeps/s390/s390-64/memset.S: Likewise.
41004 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41006         [BZ #14833]
41007         * menual/message.texi (Message Translation): Fix typos.
41008         (Helper programs for gettext): Likewise.
41010 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41012         [BZ #14898]
41013         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41014         Change to -1.
41016 2012-12-07  David S. Miller  <davem@davemloft.net>
41018         * po/libc.pot: Update.
41020 2012-12-07  Richard Henderson  <rth@redhat.com>
41022         [BZ #10114]
41023         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41024         normal/normal case to before the switch.
41025         (_FP_DIV): Likewise.
41027 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41028             Mike Frysinger  <vapier@gentoo.org>
41030         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41031         check for __NR_fadvise64_64.
41033 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41035         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41036         0, not just to plain "0" as a statement.
41037         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41038         with cw.
41040 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41042         * NEWS: Use sourceware.org in Bugzilla URL.
41044 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41047         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41049         * stdio-common/tst-put-error.c (do_test): Add newline to the
41050         padded test to ensure flush.
41052 2012-12-05  Jeff Law  <law@redhat.com>
41054         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41056 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41058         * README: Don't refer to ports add-on as distributed separately.
41059         Mention AArch64 in list of systems supported in the ports add-on.
41061         * LICENSES: Add more non-FSF copyright and license notices.
41063         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41064         ((unused)).
41066         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41068         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41069         10000 as width of padded output.
41071 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41073         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41075         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41076         variable LX with __attribute__ ((unused)).
41077         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41078         Likewise.
41079         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41082         with __attribute__ ((unused)).
41084 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41086         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41088 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41090         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41091         (CFLAGS-nldbl-acos.c): New variable.
41092         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41093         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41094         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41095         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41096         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41097         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41098         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41099         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41100         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41101         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41102         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41103         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41104         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41105         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41106         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41107         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41108         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41109         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41110         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41111         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41112         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41113         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41114         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41115         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41116         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41117         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41118         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41119         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41120         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41121         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41122         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41123         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41124         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41125         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41126         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41127         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41128         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41129         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41130         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41131         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41132         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41133         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41134         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41135         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41136         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41137         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41138         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41139         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41140         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41141         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41142         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41143         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41144         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41145         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41146         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41147         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41148         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41149         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41150         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41151         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41152         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41153         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41154         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41155         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41156         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41157         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41158         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41159         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41160         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41161         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41162         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41163         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41164         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41165         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41166         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41167         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41168         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41169         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41170         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41171         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41172         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41173         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41174         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41175         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41176         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41177         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41178         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41179         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41180         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41181         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41182         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41183         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41184         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41185         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41186         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41187         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41188         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41191         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41193         [BZ #14914]
41194         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41195         whole low double instead of just low 47 bits when splitting values
41196         into two parts.
41198 2012-12-03  Allan McRae  <allan@archlinux.org>
41200         * manual/stdio.texi (Predefined Printf Handlers): Remove
41201         @hsep and @vsep usage.
41203 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41205         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41206         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41208 2012-12-03  Jeff Law  <law@redhat.com>
41210         * time/sys/time.h (settimeofday): Do not mark TV argument
41211         as __nonnull.
41213 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41215         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41216         when currently writing and seek to current position when not.
41217         * libio/Makefile (tests): Remove bug-fclose1.
41218         * libio/bug-fclose1.c: Delete.
41220 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41222         * manual/arith.texi (feenableexcept): Fix typo.
41223         (fedisableexcept): Likewise.
41225 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41227         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41228         second, differently-typed declaration, rather than a cast.
41230 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41232         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41233         * include/rpc/svc.h: ... here.
41235 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41237         [BZ #13013]
41238         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41239         depending n and resplen2 to catch cases where answer
41240         equals answerp2.
41242 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41244         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41245         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41247 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41251 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41253         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41255 2012-11-28  Jeff Law  <law@redhat.com>
41257         [BZ #13761]
41258         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41259         dataset_temporary.  Track alloca usage into alloca_used.
41260         If dataset is large allocate and release it via malloc/free.
41262 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41264         [BZ #14197]
41265         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41267 2012-11-28  David S. Miller  <davem@davemloft.net>
41269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41271 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41273         [BZ #14803]
41274         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41275         of pi/2 rounded to nearest to 64 bits.
41276         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41277         nearest to 64 bits.
41278         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41279         bits.
41281 2012-11-28  Jeff Law <law@redhat.com>
41282             Martin Osvald <mosvald@redhat.com>
41284         [BZ #14889]
41285         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41286         * sunrpc/svc.c: Include time.h.
41287         (__svc_accept_failed): New function.
41288         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41289         any reason other than EINTR, call __svc_accept_failed.
41290         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41291         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41293 2012-11-28  Andreas Schwab  <schwab@suse.de>
41295         * scripts/abilist.awk: Also handle indirect functions in .opd
41296         section.
41298 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41300         [BZ #13881]
41301         * sysdeps/x86/fpu/powl_helper.c: New file.
41302         * sysdeps/x86/fpu/Makefile: Likewise.
41303         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41304         (p3): New object.
41305         (__ieee754_powl): Use __powl_helper for finite arguments except
41306         integer exponents below 8.
41307         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41308         (p3): New object.
41309         (__ieee754_powl): Use __powl_helper for finite arguments except
41310         integer exponents below 8.
41311         * math/libm-test.inc (pow_test): Add more tests and enable some
41312         previously disabled tests.
41313         * sysdeps/i386/fpu/libm-test-ulps: Update.
41314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41316 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41317             Carlos O'Donell  <carlos_odonell@mentor.com>
41319         * nss/makedb.c (is_prime): Assert that input is odd and greater
41320         than 4.  Note that fact in a comment too.
41321         (next_prime): Add 4 to input.
41323 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41325         [BZ #11741]
41326         * libio/Makefile (tests): Add test case tst-fwrite-error.
41327         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41328         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41329         * libio/tst-fwrite-error.c: New test case.
41331 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41333         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41334         before casting to void *.
41335         * include/libc-internal.h (__pointer_type): New macro.
41336         (__integer_if_pointer_type_sub): Likewise.
41337         (__integer_if_pointer_type): Likewise.
41338         (cast_to_integer): Likewise.
41339         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41340         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41341         before casting to atomic64_t.
41342         (atomic_exchange_acq): Likewise.
41343         (__arch_exchange_and_add_body): Likewise.
41344         (__arch_add_body): Likewise.
41345         (atomic_add_negative): Likewise.
41346         (atomic_add_zero): Likewise.
41348 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41350         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41351         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41352         (add_fdes): Likewise.
41353         (linear_search_fdes): Likewise.
41354         (binary_search_unencoded_fdes): Likewise.
41356 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41358         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41360 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41362         * configure.in: Autodetect C++ header directories.
41363         * configure: Regenerated.
41365 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41367         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41369 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41373 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41375         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41376         LDBL_MANT_DIG == 106]: Disable some tests.
41377         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41378         Likewise.
41379         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41380         Likewise.
41382         [BZ #14871]
41383         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41384         input for small inputs.  Return +/- pi/2 for large inputs.
41385         * math/libm-test.inc (atan_test): Add more tests.
41387         * sysdeps/generic/unwind-dw2-fde-glibc.c
41388         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41389         __attribute__ ((unused)).
41391         [BZ #14645]
41392         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41393         x * y if x and y are nonzero and z is zero.
41395         [BZ #14811]
41396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41397         nonzero exponents with absolute value below 0x1p-117 to +/-
41398         0x1p-117.
41400         [BZ #14869]
41401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41402         up arguments below 2**-450, not just those below 2**-500.
41403         * math/libm-test.inc (hypot_test): Add another test.
41405         [BZ #14868]
41406         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41407         Return a+b for ratio over 2**120, not 2**60.
41408         * math/libm-test.inc (hypot_test): Add another test.
41410         * math/libm-test.inc (clog_test): Use
41411         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41412         (clog10_test): Likewise.
41414         [BZ #6778]
41415         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41417 2012-11-22  Andreas Schwab  <schwab@suse.de>
41419         * sysdeps/i386/fpu/libm-test-ulps: Update.
41421 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41423         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41424         printf output with newline.
41426 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41428         [BZ #14865]
41429         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41430         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41431         -z nodlopen, -z initfirst and -z execstack support.
41432         * configure: Regenerated.
41434         * elf/elf.h (DF_1_NODIRECT): New macro.
41435         (DF_1_IGNMULDEF): Likewise.
41436         (DF_1_NOKSYMS): Likewise.
41437         (DF_1_NOHDR): Likewise.
41438         (DF_1_EDITED): Likewise.
41439         (DF_1_NORELOC): Likewise.
41440         (DF_1_SYMINTPOSE): Likewise.
41441         (DF_1_GLOBAUDIT): Likewise.
41442         (DF_1_SINGLETON): Likewise.
41443         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41444         DT_1_SUPPORTED_MASK bits.
41445         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41447 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41449         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41451 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41453         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41454         macro.
41456         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41457         (sendmmsg): Move declarations...
41458         * socket/sys/socket.h: ... here.
41459         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41460         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41461         include it from...
41462         * socket/recvmmsg.c: ... this new file.
41463         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41464         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41465         definition of __sendmmsg hidden.
41466         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41467         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41468         Move ENOSYS stub into and include it from...
41469         * socket/sendmmsg.c: ... this new file.
41470         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41471         (sysdep_routines): Move recvmmsg and sendmmsg...
41472         * socket/Makefile (routines): ... here.
41473         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41474         (GLIBC_PRIVATE): Add __sendmmsg.
41475         * include/sys/socket.h (__sendmmsg): Add declarations.
41476         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41477         sendmmsg.
41479 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41481         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41482         variable I1 with __attribute__ ((unused)).
41483         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41485 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41487         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41488         DUMMY variables with __attribute__ ((unused)).
41490         * bits/byteswap.h: Include <bits/types.h>.
41491         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41493 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41495         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41496         string_t.  Do not manually set errno.
41497         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41498         length with __strnlen.  Make sure to both set errno and return it on
41499         failure.
41501 2012-11-19  David S. Miller  <davem@davemloft.net>
41503         With help from Joseph Myers.
41504         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41505         very large arguments properly.
41506         * math/libm-test.inc (atan_test): New tests.
41507         (atan2_test): New tests.
41508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41511 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41513         [BZ #14856]
41514         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41515         Define to 3.
41517         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41518         [POSIX] (EADDRNOTAVAIL): Likewise.
41519         [POSIX] (EAFNOSUPPORT): Likewise.
41520         [POSIX] (EALREADY): Likewise.
41521         [POSIX] (ECONNABORTED): Likewise.
41522         [POSIX] (ECONNREFUSED): Likewise.
41523         [POSIX] (ECONNRESET): Likewise.
41524         [POSIX] (EDESTADDRREQ): Likewise.
41525         [POSIX] (EDQUOT): Likewise.
41526         [POSIX] (EHOSTUNREACH): Likewise.
41527         [POSIX] (EIDRM): Likewise.
41528         [POSIX] (EISCONN): Likewise.
41529         [POSIX] (ELOOP): Likewise.
41530         [POSIX] (EMULTIHOP): Likewise.
41531         [POSIX] (ENETDOWN): Likewise.
41532         [POSIX] (ENETUNREACH): Likewise.
41533         [POSIX] (ENOBUFS): Likewise.
41534         [POSIX] (ENODATA): Likewise.
41535         [POSIX] (ENOLINK): Likewise.
41536         [POSIX] (ENOMSG): Likewise.
41537         [POSIX] (ENOPROTOOPT): Likewise.
41538         [POSIX] (ENOSR): Likewise.
41539         [POSIX] (ENOSTR): Likewise.
41540         [POSIX] (ENOTCONN): Likewise.
41541         [POSIX] (ENOTSOCK): Likewise.
41542         [POSIX] (EOPNOTSUPP): Likewise.
41543         [POSIX] (EOVERFLOW): Likewise.
41544         [POSIX] (EPROTO): Likewise.
41545         [POSIX] (EPROTONOSUPPORT): Likewise.
41546         [POSIX] (EPROTOTYPE): Likewise.
41547         [POSIX] (ESTALE): Likewise.
41548         [POSIX] (ETIME): Likewise.
41549         [POSIX] (ETXTBSY): Likewise.
41550         [POSIX] (EWOULDBLOCK): Likewise.
41551         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41552         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41553         [POSIX] (SEEK_CUR): Likewise.
41554         [POSIX] (SEEK_END): Likewise.
41555         [POSIX || UNIX98] (mode_t): Do not require.
41556         [POSIX] (off_t): Likewise.
41557         [POSIX] (pid_t): Likewise.
41558         [POSIX] (sys/stat.h): Do not allow header.
41559         [POSIX] (unistd.h): Likewise.
41560         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41561         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41562         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41563         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41564         require.
41565         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41566         sigevent): Specify elements.
41567         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41568         entry.
41569         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41570         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41572         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41573         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41574         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41575         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41576         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41577         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41578         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41579         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41580         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41581         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41582         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41583         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41584         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41586         Likewise.
41587         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41588         Likewise.
41589         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41590         Likewise.
41591         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41592         Likewise.
41593         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41594         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41595         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41596         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41597         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41598         Specify lower bound on value.
41599         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41600         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41601         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41602         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41603         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41604         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41605         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41606         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41607         value.
41608         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41609         as optional.
41610         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41611         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41612         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41613         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41614         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41615         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41616         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41617         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41618         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41619         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41620         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41621         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41622         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41623         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41624         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41625         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41626         entry.
41627         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41628         optional.
41629         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41630         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41631         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41632         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41633         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41634         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41635         Likewise.
41636         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41637         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41638         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41639         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41640         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41641         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41642         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41643         as optional.
41644         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41645         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41647         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41648         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41649         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41650         specify as optional.
41651         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41652         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41653         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41654         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41655         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41656         [XPG3] (NL_LANGMAX): Likewise.
41657         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41658         [POSIX || XPG3] (NL_NMAX): Likewise.
41659         [POSIX || XPG3] (NL_SETMAX): Likewise.
41660         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41661         [XPG3] (NZERO): Likewise.
41662         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41663         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41664         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41665         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41666         (REG_ERANGE): Expect.
41667         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41668         optional-constant.
41669         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41670         Use (void) in prototype.
41671         [POSIX] (*_t): Allow.
41672         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41673         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41674         (WRDE_BADVAL): Expect.
41676         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41677         expect.
41678         [XPG3 || XPG4] (O_RSYNC): Likewise.
41679         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41680         Likewise.
41681         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41682         [XPG3 || XPG4] (sigqueue): Likewise.
41683         [XPG3 || XPG4] (sigtimedwait): Likewise.
41684         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41685         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41686         [XPG3 || XPG4] (vsnprintf): Likewise.
41687         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41688         Likewise.
41689         [XPG3 || XPG4] (blksize_t): Likewise.
41690         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41691         Likewise.
41692         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41693         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41694         [XPG3 || XPG4] (struct itimerspec): Likewise.
41695         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41696         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41697         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41698         [XPG3 || XPG4] (clockid_t): Likewise.
41699         [XPG3 || XPG4] (timer_t): Likewise.
41700         [XPG3 || XPG4] (clock_getres): Likewise.
41701         [XPG3 || XPG4] (clock_gettime): Likewise.
41702         [XPG3 || XPG4] (clock_settime): Likewise.
41703         [XPG3 || XPG4] (nanosleep): Likewise.
41704         [XPG3 || XPG4] (timer_create): Likewise.
41705         [XPG3 || XPG4] (timer_delete): Likewise.
41706         [XPG3 || XPG4] (timer_gettime): Likewise.
41707         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41708         [XPG3 || XPG4] (timer_settime): Likewise.
41709         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41710         [XPG3 || XPG4] (getlogin_r): Likewise.
41711         [XPG3 || XPG4] (pread): Likewise.
41712         [XPG3 || XPG4] (pthread_atfork): Likewise.
41713         [XPG3 || XPG4] (pwrite): Likewise.
41715         [BZ #14835]
41716         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41717         <bits/siginfo.h>.
41719 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41721         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41722         finalizing MALLSTREAM.
41724         * sysdeps/mach/hurd/syncfs.c: New file.
41726 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41728         [BZ #14719]
41729         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41730         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41731         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41732         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41733         (_nss_dns_gethostbyname4_r): Likewise.
41734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41735         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41737 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41739         [BZ #13763]
41740         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41742 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41744         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41745         * elf/cache.c (print_entry): Print ",AArch64" for
41746         FLAG_AARCH64_LIB64
41748         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41749         * elf/cache.c (print_entry): Print ",hard-float" for
41750         FLAG_ARM_LIBHF.
41752 2012-11-18  David S. Miller  <davem@davemloft.net>
41754         With help from Joseph Myers.
41755         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41756         cutoff to 2**-13.
41757         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41758         cutoff to 2**-25.
41759         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41760         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41761         small.
41762         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41763         * math/libm-test.inc (y0_test): New tests.
41764         (y1_test): New tests.
41765         * sysdeps/i386/fpu/libm-test-ulps: Update.
41766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41769 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41771         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41772         64-bit targets.
41773         * configure: Regenerated.
41775 2012-11-17  David S. Miller  <davem@davemloft.net>
41777         [BZ #14811]
41778         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41779         nonzero exponents with absolute value below 0x1p-128 to +/-
41780         0x1p-128.
41782 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41784         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41786         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41788         * posix/getconf-speclist.c: New file.
41789         * posix/posix-envs.def: Likewise.
41790         * posix/confstr.c (START_ENV_GROUP): New macro.
41791         (END_ENV_GROUP): Likewise.
41792         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41793         (KNOWN_PRESENT_ENV_STRING): Likewise.
41794         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41795         (UNKNOWN_ENVIRONMENT): Likewise.
41796         (confstr): Include posix-envs.def instead of handling
41797         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41798         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41799         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41800         (END_ENV_GROUP): Likewise.
41801         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41802         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41803         (UNKNOWN_ENVIRONMENT): Likewise.
41804         (__sysconf): Include posix-envs.def instead of handling associated
41805         cases directly here.
41806         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41807         preprocessing getconf-speclist.c rather than running getconf or
41808         generating empty file.
41810 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41812         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41814 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41816         [BZ #14672]
41817         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41819 2012-11-16  David S. Miller  <davem@davemloft.net>
41821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41822         smaller than LDBL_EPSILON/2.0L, just return xm1.
41824 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41826         * elf/tst-array1.c (init): Set constructor priority to 1000.
41827         (fini): Set destructor priority to 1000.
41828         * elf/tst-array2dep.c: Likewise.
41830 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41832         [BZ #11741]
41833         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41834         (_IO_new_file_xsputn): Also return EOF if none of the input
41835         data was written when overflow failed.
41836         * libio/iopadn.c (_IO_padn): Likewise.
41837         * libio/iowpadn.c (_IO_wpadn): Likewise.
41838         * stdio-common/tst-put-error.c: Add copyright notice.
41839         (do_test): Add case for printing padded string.
41840         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41841         _IO_padn returned error.
41842         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41843         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41844         return EOF.
41846 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41848         * libio/libioP.h: Add comment note that the references to C++
41849         bits are now obsolete.
41851 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41853         * math/libm-test.inc (check_complex): Use asprintf.
41855 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41857         * debug/pcprofiledump.c (print_version): Update copyright year.
41858         * malloc/memusagestat.c (print_version): Likewise.
41860 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41862         [BZ #14831]
41863         * elf/Makefile (tests): Add tst-audit8.
41864         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41865         ($(objpfx)tst-audit8.out): New target.
41866         (tst-audit8-ENV): New variable.
41867         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41868         audit if l_reloc_result is NULL.
41869         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41870         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41871         * elf/tst-audit8.c: New file.
41873 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41875         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41876         * misc/Makefile (CFLAGS-select.c): Define.
41877         * posix/Makefile (CFLAGS-pause.c): Define.
41879 2012-11-13  David S. Miller  <davem@davemloft.net>
41881         * crypt/Makefile: Move test targets after toplevel Rules
41882         inclusion.  Grab any necessary sysdep routines when linking.
41883         * crypt/md5.c (md5_process_block): Remove define, we will always
41884         name it __md5_process_block.
41885         (md5_finish_ctx): Update md5_process_block call.
41886         (md5_stream): Likewise.
41887         (md5_process_bytes): Likewise.
41888         (md5_process_block): Rename to __md5_process_block and move to ...
41889         * crypt/md5-block.c: ... here.
41890         * crypt/sha256.c (sha256_process_block): Move to ...
41891         * crypt/sha256-block.c: ... here.
41892         * crypt/sha512.c (sha512_process_block): Move to ...
41893         * crypt/sha512-block.c: ... here.
41894         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41895         path.
41896         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41897         * sysdeps/sparc/sparc64/multiarch/Makefile
41898         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41899         crypt subdir.
41900         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41901         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41902         multiarch changes.
41903         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41904         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41905         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41906         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41907         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41908         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41909         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41910         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41912         file.
41913         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41915         file.
41916         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41918 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41920         * timezone/tzselect.ksh: Update from tzcode git revision
41921         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41922         * timezone/zdump.c: Likewise.
41923         * timezone/zic.c: Likewise.
41924         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41925         in TZVERSION setting, not $(PKGVERSION).
41926         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41927         REPORT_BUGS_TO settings.
41929         [BZ #14838]
41930         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41931         macro.
41933 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41935         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41936         detection to immediately after _FP_ROUND().
41937         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41938         bits are 0.
41940 2012-11-11  David S. Miller  <davem@davemloft.net>
41942         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41943         inttypes.h
41944         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41945         __close rather than their public counterparts.
41947 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41949         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41950         file.
41951         [UNIX98] (sem_timedwait): Do not expect.
41952         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41953         [XPG4 || UNIX98] (sockatmark): Do not expect.
41954         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41955         (clock_getcpuclockid): Do not expect.
41956         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41957         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41958         Do not expect.
41959         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41960         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41961         [UNIX98] (vwscanf): Likewise.
41962         [UNIX98] (vswscanf): Likewise.
41964 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41966         * timezone/version.h: Remove file.
41967         * timezone/README: Do not refer to version.h.
41968         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41969         $(objpfx)version.h.
41970         ($(objpfx)zdump.o): Likewise.
41971         ($(objpfx)version.h): New target.
41973         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41974         2012i.
41975         * timezone/README: Don't mention modification to tzselect.ksh.
41976         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41977         work on unmodified tzselect.ksh.  Substitute version numbers in
41978         tzselect.ksh.
41980         * Makefile (format-me): Remove.
41981         (INSTALL): Adjust indentation.  Use commands directly instead of
41982         using $(format-me).
41984         * aclocal.m4 (ACX_PKGVERSION): New macro.
41985         (ACX_BUGURL): Likewise.
41986         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41987         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41988         (REPORT_BUGS_TO): Likewise.
41989         * configure: Regenerated.
41990         * config.h.in (PKGVERSION): New macro.
41991         (REPORT_BUGS_TO): Likewise.
41992         * config.make.in (PKGVERSION): New variable.
41993         (PKGVERSION_TEXI): Likewise.
41994         (REPORT_BUGS_TO): Likewise.
41995         (REPORT_BUGS_TEXI): Likewise.
41996         * Makefile (format-me): Use -I$(common-objpfx)manual.
41997         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41998         ($(common-objpfx)manual/%): New target.
41999         (manual/%): Remove target.
42000         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42001         (print_version): Use PKGVERSION.
42002         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42003         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42004         and REPORT_BUGS_TO.
42005         ($(objpfx)xtrace): Likewise.
42006         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42007         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42008         (print_version): Use PKGVERSION.
42009         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42010         (do_version): Use PKGVERSION.
42011         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42012         REPORT_BUGS_TO.
42013         (common-ldd-rewrite): Likewise.
42014         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42015         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42016         (print_version): Use PKGVERSION.
42017         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42018         * elf/pldd.c (argp_program_bug_address): Remove variable.
42019         (more_help): New function.
42020         (argp): Use more_help.
42021         (print_version): Use PKGVERSION.
42022         * elf/sln.c (main): Use PKGVERSION.
42023         (usage): Use REPORT_BUGS_TO.
42024         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42025         (top level): Use PKGVERSION.
42026         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42027         (print_version): Use PKGVERSION.
42028         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42029         (print_version): Use PKGVERSION.
42030         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42031         (print_version): Use PKGVERSION.
42032         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42033         (print_version): Use PKGVERSION.
42034         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42035         (print_version): Use PKGVERSION.
42036         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42037         (print_version): Use PKGVERSION.
42038         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42039         and BUGURL.
42040         ($(objpfx)memusage): Likewise.
42041         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42042         (do_version): Use PKGVERSION.
42043         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42044         (print_version): Use PKGVERSION.
42045         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42046         ($PKGVERSION): New variable.
42047         ($REPORT_BUGS_TO): Likewise.
42048         (usage): Use $REPORT_BUGS_TO.
42049         (top level): Use $PKGVERSION.
42050         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42051         ($(objpfx)pkgvers.texi): New rule.
42052         ($(objpfx)stamp-pkgvers): Likewise.
42053         * manual/install.texi: Include pkgvers.texi.
42054         (--with-pkgversion): Document new configure option.
42055         (--with-bugurl): Likewise.
42056         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42057         than necessarily for this particular distribution.  Use
42058         REPORT_BUGS_TO for where to report bugs.
42059         * INSTALL: Regenerated.
42060         * manual/libc.texinfo: Include pkgvers.texi.
42061         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42062         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42063         (print_version): Use PKGVERSION.
42064         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42065         (print_version): Use PKGVERSION.
42066         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42067         (print_version): Use PKGVERSION.
42068         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42069         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42070         macro.
42071         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42072         (print_version): Use PKGVERSION.
42073         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42074         (print_version): Use PKGVERSION.
42075         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42076         and PKGVERSION.
42078         * timezone/checktab.awk: Update from tzcode 2012i.
42079         * timezone/ialloc.c: Likewise.
42080         * timezone/private.h: Likewise.
42081         * timezone/scheck.c: Likewise.
42082         * timezone/tzfile.h: Likewise.
42083         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42084         (TZVERSION): Hardcode tzcode version number.
42085         * timezone/zdump.c: Update from tzcode 2012i.
42086         * timezone/zic.c: Likewise.
42087         * timezone/version.h: New file.
42088         * timezone/README: Describe version.h.  Update upstream location.
42090         [BZ #14824]
42091         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42092         (mktemp): Enable declaration.
42093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42097         Likewise.
42098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42099         Likewise.
42100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42101         Likewise.
42102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42103         Likewise.
42104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42105         Likewise.
42106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42107         Likewise.
42109         [BZ #14821]
42110         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42111         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42112         for copies of such integer values.
42113         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42114         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42116 2012-11-09  Andreas Jaeger  <aj@suse.de>
42118         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42119         definitions and declarations that are provided by
42120         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42122 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42124         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42125         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42126         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42127         definition.
42129 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42131         * elf/elf.h: Update comment before AArch64 relocations.
42133 2012-11-07  David S. Miller  <davem@davemloft.net>
42135         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42136         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42137         (__start_context): Declare.
42138         (__makecontext_ret): Delete.
42139         (__makecontext): Hook up __start_context instead of
42140         __makecontext_ret.
42141         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42142         (sysdep_routines): Add __start_context when in stdlib.
42144 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42146         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42147         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42148         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42149         hardcoded "nm".
42150         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42151         (READELF): New variable.  Use it instead of hardcoded "readelf".
42153 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42155         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42156         * sysdeps/x86/Makefile: Here.
42157         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42158         * sysdeps/x86/tst-xmmymm.sh: This.
42160 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42162         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42163         expectations.
42164         [UNIX98] (pthread_barrier_t): Do not expect.
42165         [UNIX98] (pthread_barrierattr_t): Likewise.
42166         [UNIX98] (pthread_spinlock_t): Likewise.
42167         [UNIX98] (pthread_barrier_destroy): Likewise.
42168         [UNIX98] (pthread_barrier_init): Likewise.
42169         [UNIX98] (pthread_barrier_wait): Likewise.
42170         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42171         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42172         [UNIX98] (pthread_barrierattr_init): Likewise.
42173         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42174         [UNIX98] (pthread_getcpuclockid): Likewise.
42175         [UNIX98] (pthread_mutex_timedlock): Likewise.
42176         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42177         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42178         [UNIX98] (pthread_sigmask): Likewise.
42179         [UNIX98] (pthread_spin_destroy): Likewise.
42180         [UNIX98] (pthread_spin_init): Likewise.
42181         [UNIX98] (pthread_spin_lock): Likewise.
42182         [UNIX98] (pthread_spin_trylock): Likewise.
42183         [UNIX98] (pthread_spin_unlock): Likewise.
42184         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42185         Do not expect.
42186         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42187         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42188         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42189         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42190         [XPG3 || XPG4] (pthread_key_t): Likewise.
42191         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42192         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42193         [XPG3 || XPG4] (pthread_once_t): Likewise.
42194         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42195         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42196         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42197         [XPG3 || XPG4] (pthread_t): Likewise.
42199         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42200         not expect.
42201         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42203         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42204         Change function return type to int.
42206         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42207         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42208         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42209         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42210         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42211         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42212         [!POSIX] (posix_madvise): Likewise.
42213         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42214         && !UNIX98].
42215         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42216         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42217         (mode_t): Likewise.
42218         (posix_mem_offset): Likewise.
42219         (posix_typed_mem_get_info): Likewise.
42220         (posix_typed_mem_open): Likewise.
42222         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42223         Change condition to [XOPEN2K8].
42225         * conform/conformtest.pl: Preprocess allow-header data with -x c
42226         instead of from stdin.
42227         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42228         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42229         [C99-based standards] (cerfc): Likewise.
42230         [C99-based standards] (cexp2): Likewise.
42231         [C99-based standards] (cexpm1): Likewise.
42232         [C99-based standards] (clog10): Likewise.
42233         [C99-based standards] (clog1p): Likewise.
42234         [C99-based standards] (clog2): Likewise.
42235         [C99-based standards] (clgamma): Likewise.
42236         [C99-based standards] (ctgamma): Likewise.
42237         [C99-based standards] (cerff): Likewise.
42238         [C99-based standards] (cerfcf): Likewise.
42239         [C99-based standards] (cexp2f): Likewise.
42240         [C99-based standards] (cexpm1f): Likewise.
42241         [C99-based standards] (clog10f): Likewise.
42242         [C99-based standards] (clog1pf): Likewise.
42243         [C99-based standards] (clog2f): Likewise.
42244         [C99-based standards] (clgammaf): Likewise.
42245         [C99-based standards] (ctgammaf): Likewise.
42246         [C99-based standards] (cerfl): Likewise.
42247         [C99-based standards] (cerfcl): Likewise.
42248         [C99-based standards] (cexp2l): Likewise.
42249         [C99-based standards] (cexpm1l): Likewise.
42250         [C99-based standards] (clog10l): Likewise.
42251         [C99-based standards] (clog1pl): Likewise.
42252         [C99-based standards] (clog2l): Likewise.
42253         [C99-based standards] (clgammal): Likewise.
42254         [C99-based standards] (ctgammal): Likewise.
42255         * conform/data/inttypes.h-data [C99-based standards]: Include
42256         stdint.h-data.  Remove all expectations for stdint.h contents.
42257         [C99-based standards] (PRI*): Do not allow.
42258         [C99-based standards] (SCN*): Likewise.
42259         [C99-based standards] (*_t): Likewise.
42260         [C99-based-standards] (PRId8): Expect macro.
42261         [C99-based-standards] (PRIi8): Likewise.
42262         [C99-based-standards] (PRIo8): Likewise.
42263         [C99-based-standards] (PRIu8): Likewise.
42264         [C99-based-standards] (PRIx8): Likewise.
42265         [C99-based-standards] (PRIX8): Likewise.
42266         [C99-based-standards] (SCNd8): Likewise.
42267         [C99-based-standards] (SCNi8): Likewise.
42268         [C99-based-standards] (SCNo8): Likewise.
42269         [C99-based-standards] (SCNu8): Likewise.
42270         [C99-based-standards] (SCNx8): Likewise.
42271         [C99-based-standards] (PRIdLEAST8): Likewise.
42272         [C99-based-standards] (PRIiLEAST8): Likewise.
42273         [C99-based-standards] (PRIoLEAST8): Likewise.
42274         [C99-based-standards] (PRIuLEAST8): Likewise.
42275         [C99-based-standards] (PRIxLEAST8): Likewise.
42276         [C99-based-standards] (PRIXLEAST8): Likewise.
42277         [C99-based-standards] (SCNdLEAST8): Likewise.
42278         [C99-based-standards] (SCNiLEAST8): Likewise.
42279         [C99-based-standards] (SCNoLEAST8): Likewise.
42280         [C99-based-standards] (SCNuLEAST8): Likewise.
42281         [C99-based-standards] (SCNxLEAST8): Likewise.
42282         [C99-based-standards] (PRIdFAST8): Likewise.
42283         [C99-based-standards] (PRIiFAST8): Likewise.
42284         [C99-based-standards] (PRIoFAST8): Likewise.
42285         [C99-based-standards] (PRIuFAST8): Likewise.
42286         [C99-based-standards] (PRIxFAST8): Likewise.
42287         [C99-based-standards] (PRIXFAST8): Likewise.
42288         [C99-based-standards] (SCNdFAST8): Likewise.
42289         [C99-based-standards] (SCNiFAST8): Likewise.
42290         [C99-based-standards] (SCNoFAST8): Likewise.
42291         [C99-based-standards] (SCNuFAST8): Likewise.
42292         [C99-based-standards] (SCNxFAST8): Likewise.
42293         [C99-based-standards] (PRId16): Likewise.
42294         [C99-based-standards] (PRIi16): Likewise.
42295         [C99-based-standards] (PRIo16): Likewise.
42296         [C99-based-standards] (PRIu16): Likewise.
42297         [C99-based-standards] (PRIx16): Likewise.
42298         [C99-based-standards] (PRIX16): Likewise.
42299         [C99-based-standards] (SCNd16): Likewise.
42300         [C99-based-standards] (SCNi16): Likewise.
42301         [C99-based-standards] (SCNo16): Likewise.
42302         [C99-based-standards] (SCNu16): Likewise.
42303         [C99-based-standards] (SCNx16): Likewise.
42304         [C99-based-standards] (PRIdLEAST16): Likewise.
42305         [C99-based-standards] (PRIiLEAST16): Likewise.
42306         [C99-based-standards] (PRIoLEAST16): Likewise.
42307         [C99-based-standards] (PRIuLEAST16): Likewise.
42308         [C99-based-standards] (PRIxLEAST16): Likewise.
42309         [C99-based-standards] (PRIXLEAST16): Likewise.
42310         [C99-based-standards] (SCNdLEAST16): Likewise.
42311         [C99-based-standards] (SCNiLEAST16): Likewise.
42312         [C99-based-standards] (SCNoLEAST16): Likewise.
42313         [C99-based-standards] (SCNuLEAST16): Likewise.
42314         [C99-based-standards] (SCNxLEAST16): Likewise.
42315         [C99-based-standards] (PRIdFAST16): Likewise.
42316         [C99-based-standards] (PRIiFAST16): Likewise.
42317         [C99-based-standards] (PRIoFAST16): Likewise.
42318         [C99-based-standards] (PRIuFAST16): Likewise.
42319         [C99-based-standards] (PRIxFAST16): Likewise.
42320         [C99-based-standards] (PRIXFAST16): Likewise.
42321         [C99-based-standards] (SCNdFAST16): Likewise.
42322         [C99-based-standards] (SCNiFAST16): Likewise.
42323         [C99-based-standards] (SCNoFAST16): Likewise.
42324         [C99-based-standards] (SCNuFAST16): Likewise.
42325         [C99-based-standards] (SCNxFAST16): Likewise.
42326         [C99-based-standards] (PRId32): Likewise.
42327         [C99-based-standards] (PRIi32): Likewise.
42328         [C99-based-standards] (PRIo32): Likewise.
42329         [C99-based-standards] (PRIu32): Likewise.
42330         [C99-based-standards] (PRIx32): Likewise.
42331         [C99-based-standards] (PRIX32): Likewise.
42332         [C99-based-standards] (SCNd32): Likewise.
42333         [C99-based-standards] (SCNi32): Likewise.
42334         [C99-based-standards] (SCNo32): Likewise.
42335         [C99-based-standards] (SCNu32): Likewise.
42336         [C99-based-standards] (SCNx32): Likewise.
42337         [C99-based-standards] (PRIdLEAST32): Likewise.
42338         [C99-based-standards] (PRIiLEAST32): Likewise.
42339         [C99-based-standards] (PRIoLEAST32): Likewise.
42340         [C99-based-standards] (PRIuLEAST32): Likewise.
42341         [C99-based-standards] (PRIxLEAST32): Likewise.
42342         [C99-based-standards] (PRIXLEAST32): Likewise.
42343         [C99-based-standards] (SCNdLEAST32): Likewise.
42344         [C99-based-standards] (SCNiLEAST32): Likewise.
42345         [C99-based-standards] (SCNoLEAST32): Likewise.
42346         [C99-based-standards] (SCNuLEAST32): Likewise.
42347         [C99-based-standards] (SCNxLEAST32): Likewise.
42348         [C99-based-standards] (PRIdFAST32): Likewise.
42349         [C99-based-standards] (PRIiFAST32): Likewise.
42350         [C99-based-standards] (PRIoFAST32): Likewise.
42351         [C99-based-standards] (PRIuFAST32): Likewise.
42352         [C99-based-standards] (PRIxFAST32): Likewise.
42353         [C99-based-standards] (PRIXFAST32): Likewise.
42354         [C99-based-standards] (SCNdFAST32): Likewise.
42355         [C99-based-standards] (SCNiFAST32): Likewise.
42356         [C99-based-standards] (SCNoFAST32): Likewise.
42357         [C99-based-standards] (SCNuFAST32): Likewise.
42358         [C99-based-standards] (SCNxFAST32): Likewise.
42359         [C99-based-standards] (PRId64): Likewise.
42360         [C99-based-standards] (PRIi64): Likewise.
42361         [C99-based-standards] (PRIo64): Likewise.
42362         [C99-based-standards] (PRIu64): Likewise.
42363         [C99-based-standards] (PRIx64): Likewise.
42364         [C99-based-standards] (PRIX64): Likewise.
42365         [C99-based-standards] (SCNd64): Likewise.
42366         [C99-based-standards] (SCNi64): Likewise.
42367         [C99-based-standards] (SCNo64): Likewise.
42368         [C99-based-standards] (SCNu64): Likewise.
42369         [C99-based-standards] (SCNx64): Likewise.
42370         [C99-based-standards] (PRIdLEAST64): Likewise.
42371         [C99-based-standards] (PRIiLEAST64): Likewise.
42372         [C99-based-standards] (PRIoLEAST64): Likewise.
42373         [C99-based-standards] (PRIuLEAST64): Likewise.
42374         [C99-based-standards] (PRIxLEAST64): Likewise.
42375         [C99-based-standards] (PRIXLEAST64): Likewise.
42376         [C99-based-standards] (SCNdLEAST64): Likewise.
42377         [C99-based-standards] (SCNiLEAST64): Likewise.
42378         [C99-based-standards] (SCNoLEAST64): Likewise.
42379         [C99-based-standards] (SCNuLEAST64): Likewise.
42380         [C99-based-standards] (SCNxLEAST64): Likewise.
42381         [C99-based-standards] (PRIdFAST64): Likewise.
42382         [C99-based-standards] (PRIiFAST64): Likewise.
42383         [C99-based-standards] (PRIoFAST64): Likewise.
42384         [C99-based-standards] (PRIuFAST64): Likewise.
42385         [C99-based-standards] (PRIxFAST64): Likewise.
42386         [C99-based-standards] (PRIXFAST64): Likewise.
42387         [C99-based-standards] (SCNdFAST64): Likewise.
42388         [C99-based-standards] (SCNiFAST64): Likewise.
42389         [C99-based-standards] (SCNoFAST64): Likewise.
42390         [C99-based-standards] (SCNuFAST64): Likewise.
42391         [C99-based-standards] (SCNxFAST64): Likewise.
42392         [C99-based-standards] (PRIdMAX): Likewise.
42393         [C99-based-standards] (PRIiMAX): Likewise.
42394         [C99-based-standards] (PRIoMAX): Likewise.
42395         [C99-based-standards] (PRIuMAX): Likewise.
42396         [C99-based-standards] (PRIxMAX): Likewise.
42397         [C99-based-standards] (PRIXMAX): Likewise.
42398         [C99-based-standards] (SCNdMAX): Likewise.
42399         [C99-based-standards] (SCNiMAX): Likewise.
42400         [C99-based-standards] (SCNoMAX): Likewise.
42401         [C99-based-standards] (SCNuMAX): Likewise.
42402         [C99-based-standards] (SCNxMAX): Likewise.
42403         [C99-based-standards] (PRIdPTR): Likewise.
42404         [C99-based-standards] (PRIiPTR): Likewise.
42405         [C99-based-standards] (PRIoPTR): Likewise.
42406         [C99-based-standards] (PRIuPTR): Likewise.
42407         [C99-based-standards] (PRIxPTR): Likewise.
42408         [C99-based-standards] (PRIXPTR): Likewise.
42409         [C99-based-standards] (SCNdPTR): Likewise.
42410         [C99-based-standards] (SCNiPTR): Likewise.
42411         [C99-based-standards] (SCNoPTR): Likewise.
42412         [C99-based-standards] (SCNuPTR): Likewise.
42413         [C99-based-standards] (SCNxPTR): Likewise.
42414         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42415         allow.
42416         * conform/data/stdint.h-data: Update comments to clarify
42417         requirements.
42418         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42419         type.
42420         [C99-based standards] (INT8_MAX): Likewise.
42421         [C99-based standards] (INT16_MIN): Likewise.
42422         [C99-based standards] (INT16_MAX): Likewise.
42423         [C99-based standards] (INT32_MIN): Likewise.
42424         [C99-based standards] (INT32_MAX): Likewise.
42425         [C99-based standards] (INT64_MIN): Likewise.
42426         [C99-based standards] (INT64_MAX): Likewise.
42427         [C99-based standards] (UINT8_MAX): Likewise.
42428         [C99-based standards] (UINT16_MAX): Likewise.
42429         [C99-based standards] (UINT32_MAX): Likewise.
42430         [C99-based standards] (UINT64_MAX): Likewise.
42431         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42432         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42433         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42434         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42435         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42436         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42437         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42438         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42439         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42440         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42441         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42442         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42443         [C99-based standards] (INT_FAST8_MIN): Likewise.
42444         [C99-based standards] (INT_FAST8_MAX): Likewise.
42445         [C99-based standards] (INT_FAST16_MIN): Likewise.
42446         [C99-based standards] (INT_FAST16_MAX): Likewise.
42447         [C99-based standards] (INT_FAST32_MIN): Likewise.
42448         [C99-based standards] (INT_FAST32_MAX): Likewise.
42449         [C99-based standards] (INT_FAST64_MIN): Likewise.
42450         [C99-based standards] (INT_FAST64_MAX): Likewise.
42451         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42452         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42453         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42454         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42455         [C99-based standards] (INTPTR_MIN): Likewise.
42456         [C99-based standards] (INTPTR_MAX): Likewise.
42457         [C99-based standards] (UINTPTR_MAX): Likewise.
42458         [C99-based standards] (INTMAX_MIN): Likewise.
42459         [C99-based standards] (INTMAX_MAX): Likewise.
42460         [C99-based standards] (UINTMAX_MAX): Likewise.
42461         [C99-based standards] (PTRDIFF_MIN): Likewise.
42462         [C99-based standards] (PTRDIFF_MAX): Likewise.
42463         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42464         [C99-based standards] (SIZE_MAX): Likewise.
42465         [C99-based standards] (WCHAR_MAX): Likewise.
42466         [C99-based standards] (WINT_MAX): Likewise.
42467         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42468         constraint on value.
42469         [C99-based standards] (WCHAR_MIN): Likewise.
42470         [C99-based standards] (WINT_MIN): Likewise.
42471         [C99-based standards] (*_t): Allow.
42472         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42473         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42474         Include math.h-data and complex.h-data.  Remove all expectations
42475         of math.h and complex.h contents.
42476         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42477         at end of line.
42478         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42479         (struct tm): Expect tag.
42480         [C99-based-standards] (wcstof): Expect function.
42481         [C99-based-standards] (wcstold): Likewise.
42482         [C99-based-standards] (wcstoll): Likewise.
42483         [C99-based-standards] (wcstoull): Likewise.
42484         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42485         macro-int-constant.  Specify type.
42486         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42487         constraint on value.
42488         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42489         Specify type.
42490         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42491         Specify value.
42492         [ISO C standards]: Do not allow headers.
42493         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42494         wcs[abcdefghijklmnopqrstuvwxyz]*.
42495         [ISO C standards] (*_t): Do not allow.
42496         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42497         Expect function.
42498         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42499         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42500         Specify type.
42501         [ISO C standards]: Do not allow headers.
42502         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42503         is[abcdefghijklmnopqrstuvwxyz]*.
42504         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42505         to[abcdefghijklmnopqrstuvwxyz]*.
42506         [ISO C standards] (*_t): Do not allow.
42507         * conform/data/stdalign.h-data: New file.
42508         * conform/data/stdbool.h-data: Likewise.
42509         * conform/data/stdnoreturn.h-data: Likewise.
42511 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42513         [BZ #14815]
42514         * manual/filesys.texi (Directory Entries): Typo fix.
42515         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42517 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42519         * elf/elf.h (EM_AARCH64): New macro.
42520         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42521         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42522         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42523         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42524         (R_AARCH64_TLSDESC): Likewise.
42525         (NT_ARM_TLS): Likewise.
42526         (NT_ARM_HW_BREAK): Likewise.
42527         (NT_ARM_HW_WATCH): Likewise.
42529 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42531         [BZ #14811]
42532         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42533         (__ieee754_powl): Saturate nonzero exponents with absolute value
42534         below 0x1p-79 to +/- 0x1p-79.
42535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42536         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42537         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42538         nonzero exponents with absolute value below 0x1p-32 to +/-
42539         0x1p-32.
42540         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42541         (__ieee754_powl): Saturate nonzero exponents with absolute value
42542         below 0x1p-79 to +/- 0x1p-79.
42543         * math/libm-test.inc (pow_test): Add more tests.
42545 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42547         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42548         _dl_s390_cap_flags with kernel. Increase string length.
42549         (_dl_s390_platforms): Add z196 and zEC12.
42551 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42553         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42554         Change XOPEN21K to XOPEN2K.
42556 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42558         * string/memmove.c: Use memcpy when possible.
42560 2012-11-06  Andreas Jaeger  <aj@suse.de>
42562         * po/eo.po: Update from translation team.
42564 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42566         [BZ #14793]
42567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42568         exponent and small x and y exponents, scale x or y up.  Increase
42569         by 2 the exponent used in scaling up.
42570         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42571         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42572         * math/libm-test.inc (fma_test): Add more tests.
42573         (fma_test_towardzero): Likewise.
42574         (fma_test_downward): Likewise.
42575         (fma_test_upward): Likewise.
42577 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42579         [BZ #14805]
42580         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42581         fenv_t *.
42583         [BZ #14801]
42584         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42585         namespace for names of struct fields.
42586         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42587         fenv_t fields.
42588         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42589         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42591 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42593         [BZ #3665]
42594         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42596 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42598         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42599         PTR_DEMANGLE.
42601         [BZ #5246]
42602         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42603         PTR_DEMANGLE.
42605 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42607         [BZ #14797]
42608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42609         definitely overflow as x * y not x * y + z.
42610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42612         * math/libm-test.inc (fma_test): Add more tests.
42613         (fma_test_towardzero): Likewise.
42614         (fma_test_downward): Likewise.
42615         (fma_test_upward): Likewise.
42617 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42619         [BZ #157]
42621         * include/stub-tag.h: Remove file.
42622         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42623         '#include' of it.
42624         * manual/maint.texi (Porting): Don't reference it.
42625         * Makerules ($(objpfx)stubs): Likewise.
42626         * dirent/closedir.c: Don't include <stub-tag.h>.
42627         * dirent/dirfd.c: Likewise.
42628         * dirent/fdopendir.c: Likewise.
42629         * dirent/getdents.c: Likewise.
42630         * dirent/getdents64.c: Likewise.
42631         * dirent/opendir.c: Likewise.
42632         * dirent/readdir.c: Likewise.
42633         * dirent/readdir64.c: Likewise.
42634         * dirent/readdir64_r.c: Likewise.
42635         * dirent/readdir_r.c: Likewise.
42636         * dirent/rewinddir.c: Likewise.
42637         * dirent/seekdir.c: Likewise.
42638         * dirent/telldir.c: Likewise.
42639         * gmon/profil.c: Likewise.
42640         * grp/setgroups.c: Likewise.
42641         * inet/if_index.c: Likewise.
42642         * io/access.c: Likewise.
42643         * io/chdir.c: Likewise.
42644         * io/chmod.c: Likewise.
42645         * io/chown.c: Likewise.
42646         * io/close.c: Likewise.
42647         * io/dup.c: Likewise.
42648         * io/dup2.c: Likewise.
42649         * io/dup3.c: Likewise.
42650         * io/euidaccess.c: Likewise.
42651         * io/faccessat.c: Likewise.
42652         * io/fchdir.c: Likewise.
42653         * io/fchmod.c: Likewise.
42654         * io/fchmodat.c: Likewise.
42655         * io/fchown.c: Likewise.
42656         * io/fchownat.c: Likewise.
42657         * io/fcntl.c: Likewise.
42658         * io/flock.c: Likewise.
42659         * io/fstatfs.c: Likewise.
42660         * io/fstatfs64.c: Likewise.
42661         * io/fstatvfs.c: Likewise.
42662         * io/fstatvfs64.c: Likewise.
42663         * io/futimens.c: Likewise.
42664         * io/fxstat.c: Likewise.
42665         * io/fxstat64.c: Likewise.
42666         * io/fxstatat.c: Likewise.
42667         * io/fxstatat64.c: Likewise.
42668         * io/getcwd.c: Likewise.
42669         * io/isatty.c: Likewise.
42670         * io/lchmod.c: Likewise.
42671         * io/lchown.c: Likewise.
42672         * io/link.c: Likewise.
42673         * io/linkat.c: Likewise.
42674         * io/lseek.c: Likewise.
42675         * io/lseek64.c: Likewise.
42676         * io/lxstat64.c: Likewise.
42677         * io/mkdir.c: Likewise.
42678         * io/mkdirat.c: Likewise.
42679         * io/mkfifo.c: Likewise.
42680         * io/mkfifoat.c: Likewise.
42681         * io/open.c: Likewise.
42682         * io/open64.c: Likewise.
42683         * io/openat.c: Likewise.
42684         * io/openat64.c: Likewise.
42685         * io/pipe.c: Likewise.
42686         * io/pipe2.c: Likewise.
42687         * io/poll.c: Likewise.
42688         * io/posix_fadvise.c: Likewise.
42689         * io/posix_fadvise64.c: Likewise.
42690         * io/posix_fallocate.c: Likewise.
42691         * io/posix_fallocate64.c: Likewise.
42692         * io/read.c: Likewise.
42693         * io/readlink.c: Likewise.
42694         * io/readlinkat.c: Likewise.
42695         * io/rmdir.c: Likewise.
42696         * io/sendfile.c: Likewise.
42697         * io/sendfile64.c: Likewise.
42698         * io/statfs.c: Likewise.
42699         * io/statfs64.c: Likewise.
42700         * io/statvfs.c: Likewise.
42701         * io/statvfs64.c: Likewise.
42702         * io/symlink.c: Likewise.
42703         * io/symlinkat.c: Likewise.
42704         * io/ttyname.c: Likewise.
42705         * io/ttyname_r.c: Likewise.
42706         * io/umask.c: Likewise.
42707         * io/unlink.c: Likewise.
42708         * io/unlinkat.c: Likewise.
42709         * io/utime.c: Likewise.
42710         * io/utimensat.c: Likewise.
42711         * io/write.c: Likewise.
42712         * io/xmknod.c: Likewise.
42713         * io/xmknodat.c: Likewise.
42714         * io/xstat.c: Likewise.
42715         * io/xstat64.c: Likewise.
42716         * login/getpt.c: Likewise.
42717         * login/grantpt.c: Likewise.
42718         * login/unlockpt.c: Likewise.
42719         * math/e_acoshl.c: Likewise.
42720         * math/e_acosl.c: Likewise.
42721         * math/e_asinl.c: Likewise.
42722         * math/e_atan2l.c: Likewise.
42723         * math/e_atanhl.c: Likewise.
42724         * math/e_coshl.c: Likewise.
42725         * math/e_expl.c: Likewise.
42726         * math/e_fmodl.c: Likewise.
42727         * math/e_gammal_r.c: Likewise.
42728         * math/e_hypotl.c: Likewise.
42729         * math/e_j0l.c: Likewise.
42730         * math/e_j1l.c: Likewise.
42731         * math/e_jnl.c: Likewise.
42732         * math/e_lgammal_r.c: Likewise.
42733         * math/e_log10l.c: Likewise.
42734         * math/e_log2l.c: Likewise.
42735         * math/e_logl.c: Likewise.
42736         * math/e_powl.c: Likewise.
42737         * math/e_rem_pio2l.c: Likewise.
42738         * math/e_sinhl.c: Likewise.
42739         * math/e_sqrtl.c: Likewise.
42740         * math/fclrexcpt.c: Likewise.
42741         * math/fedisblxcpt.c: Likewise.
42742         * math/feenablxcpt.c: Likewise.
42743         * math/fegetenv.c: Likewise.
42744         * math/fegetexcept.c: Likewise.
42745         * math/fegetround.c: Likewise.
42746         * math/feholdexcpt.c: Likewise.
42747         * math/fesetenv.c: Likewise.
42748         * math/fesetround.c: Likewise.
42749         * math/feupdateenv.c: Likewise.
42750         * math/fgetexcptflg.c: Likewise.
42751         * math/fraiseexcpt.c: Likewise.
42752         * math/fsetexcptflg.c: Likewise.
42753         * math/ftestexcept.c: Likewise.
42754         * math/k_cosl.c: Likewise.
42755         * math/k_rem_pio2l.c: Likewise.
42756         * math/k_sinl.c: Likewise.
42757         * math/k_tanl.c: Likewise.
42758         * math/s_asinhl.c: Likewise.
42759         * math/s_atanl.c: Likewise.
42760         * math/s_cbrtl.c: Likewise.
42761         * math/s_erfl.c: Likewise.
42762         * math/s_expm1l.c: Likewise.
42763         * math/s_log1pl.c: Likewise.
42764         * math/s_tanhl.c: Likewise.
42765         * misc/acct.c: Likewise.
42766         * misc/brk.c: Likewise.
42767         * misc/chflags.c: Likewise.
42768         * misc/chroot.c: Likewise.
42769         * misc/fchflags.c: Likewise.
42770         * misc/fgetxattr.c: Likewise.
42771         * misc/flistxattr.c: Likewise.
42772         * misc/fremovexattr.c: Likewise.
42773         * misc/fsetxattr.c: Likewise.
42774         * misc/fsync.c: Likewise.
42775         * misc/ftruncate.c: Likewise.
42776         * misc/futimes.c: Likewise.
42777         * misc/futimesat.c: Likewise.
42778         * misc/getdomain.c: Likewise.
42779         * misc/getdtsz.c: Likewise.
42780         * misc/gethostid.c: Likewise.
42781         * misc/gethostname.c: Likewise.
42782         * misc/getloadavg.c: Likewise.
42783         * misc/getpagesize.c: Likewise.
42784         * misc/getsysstats.c: Likewise.
42785         * misc/getxattr.c: Likewise.
42786         * misc/gtty.c: Likewise.
42787         * misc/ioctl.c: Likewise.
42788         * misc/lgetxattr.c: Likewise.
42789         * misc/listxattr.c: Likewise.
42790         * misc/llistxattr.c: Likewise.
42791         * misc/lremovexattr.c: Likewise.
42792         * misc/lsetxattr.c: Likewise.
42793         * misc/lutimes.c: Likewise.
42794         * misc/madvise.c: Likewise.
42795         * misc/mincore.c: Likewise.
42796         * misc/mlock.c: Likewise.
42797         * misc/mlockall.c: Likewise.
42798         * misc/mmap.c: Likewise.
42799         * misc/mprotect.c: Likewise.
42800         * misc/msync.c: Likewise.
42801         * misc/munlock.c: Likewise.
42802         * misc/munlockall.c: Likewise.
42803         * misc/munmap.c: Likewise.
42804         * misc/preadv.c: Likewise.
42805         * misc/preadv64.c: Likewise.
42806         * misc/ptrace.c: Likewise.
42807         * misc/pwritev.c: Likewise.
42808         * misc/pwritev64.c: Likewise.
42809         * misc/readv.c: Likewise.
42810         * misc/reboot.c: Likewise.
42811         * misc/remap_file_pages.c: Likewise.
42812         * misc/removexattr.c: Likewise.
42813         * misc/revoke.c: Likewise.
42814         * misc/select.c: Likewise.
42815         * misc/setdomain.c: Likewise.
42816         * misc/setegid.c: Likewise.
42817         * misc/seteuid.c: Likewise.
42818         * misc/sethostid.c: Likewise.
42819         * misc/sethostname.c: Likewise.
42820         * misc/setregid.c: Likewise.
42821         * misc/setreuid.c: Likewise.
42822         * misc/setxattr.c: Likewise.
42823         * misc/sstk.c: Likewise.
42824         * misc/stty.c: Likewise.
42825         * misc/swapoff.c: Likewise.
42826         * misc/swapon.c: Likewise.
42827         * misc/sync.c: Likewise.
42828         * misc/syncfs.c: Likewise.
42829         * misc/syscall.c: Likewise.
42830         * misc/truncate.c: Likewise.
42831         * misc/ualarm.c: Likewise.
42832         * misc/usleep.c: Likewise.
42833         * misc/ustat.c: Likewise.
42834         * misc/utimes.c: Likewise.
42835         * misc/vhangup.c: Likewise.
42836         * misc/writev.c: Likewise.
42837         * posix/_exit.c: Likewise.
42838         * posix/alarm.c: Likewise.
42839         * posix/execve.c: Likewise.
42840         * posix/fexecve.c: Likewise.
42841         * posix/fork.c: Likewise.
42842         * posix/fpathconf.c: Likewise.
42843         * posix/getaddrinfo.c: Likewise.
42844         * posix/getegid.c: Likewise.
42845         * posix/geteuid.c: Likewise.
42846         * posix/getgid.c: Likewise.
42847         * posix/getgroups.c: Likewise.
42848         * posix/getlogin.c: Likewise.
42849         * posix/getlogin_r.c: Likewise.
42850         * posix/getpgid.c: Likewise.
42851         * posix/getpid.c: Likewise.
42852         * posix/getppid.c: Likewise.
42853         * posix/getresgid.c: Likewise.
42854         * posix/getresuid.c: Likewise.
42855         * posix/getsid.c: Likewise.
42856         * posix/getuid.c: Likewise.
42857         * posix/glob64.c: Likewise.
42858         * posix/nanosleep.c: Likewise.
42859         * posix/pathconf.c: Likewise.
42860         * posix/pause.c: Likewise.
42861         * posix/posix_madvise.c: Likewise.
42862         * posix/pread.c: Likewise.
42863         * posix/pread64.c: Likewise.
42864         * posix/pwrite.c: Likewise.
42865         * posix/pwrite64.c: Likewise.
42866         * posix/sched_getaffinity.c: Likewise.
42867         * posix/sched_getp.c: Likewise.
42868         * posix/sched_gets.c: Likewise.
42869         * posix/sched_primax.c: Likewise.
42870         * posix/sched_primin.c: Likewise.
42871         * posix/sched_rr_gi.c: Likewise.
42872         * posix/sched_setaffinity.c: Likewise.
42873         * posix/sched_setp.c: Likewise.
42874         * posix/sched_sets.c: Likewise.
42875         * posix/sched_yield.c: Likewise.
42876         * posix/setgid.c: Likewise.
42877         * posix/setlogin.c: Likewise.
42878         * posix/setpgid.c: Likewise.
42879         * posix/setresgid.c: Likewise.
42880         * posix/setresuid.c: Likewise.
42881         * posix/setsid.c: Likewise.
42882         * posix/setuid.c: Likewise.
42883         * posix/sleep.c: Likewise.
42884         * posix/spawni.c: Likewise.
42885         * posix/sysconf.c: Likewise.
42886         * posix/times.c: Likewise.
42887         * posix/wait.c: Likewise.
42888         * posix/wait3.c: Likewise.
42889         * posix/wait4.c: Likewise.
42890         * posix/waitpid.c: Likewise.
42891         * resolv/gai_sigqueue.c: Likewise.
42892         * resource/getpriority.c: Likewise.
42893         * resource/getrlimit.c: Likewise.
42894         * resource/getrusage.c: Likewise.
42895         * resource/nice.c: Likewise.
42896         * resource/setpriority.c: Likewise.
42897         * resource/setrlimit.c: Likewise.
42898         * resource/ulimit.c: Likewise.
42899         * rt/aio_cancel.c: Likewise.
42900         * rt/aio_fsync.c: Likewise.
42901         * rt/aio_read.c: Likewise.
42902         * rt/aio_sigqueue.c: Likewise.
42903         * rt/aio_suspend.c: Likewise.
42904         * rt/aio_write.c: Likewise.
42905         * rt/clock_getres.c: Likewise.
42906         * rt/clock_gettime.c: Likewise.
42907         * rt/clock_nanosleep.c: Likewise.
42908         * rt/clock_settime.c: Likewise.
42909         * rt/lio_listio.c: Likewise.
42910         * rt/mq_close.c: Likewise.
42911         * rt/mq_getattr.c: Likewise.
42912         * rt/mq_notify.c: Likewise.
42913         * rt/mq_open.c: Likewise.
42914         * rt/mq_receive.c: Likewise.
42915         * rt/mq_send.c: Likewise.
42916         * rt/mq_setattr.c: Likewise.
42917         * rt/mq_timedreceive.c: Likewise.
42918         * rt/mq_timedsend.c: Likewise.
42919         * rt/mq_unlink.c: Likewise.
42920         * rt/shm_open.c: Likewise.
42921         * rt/shm_unlink.c: Likewise.
42922         * rt/timer_create.c: Likewise.
42923         * rt/timer_delete.c: Likewise.
42924         * rt/timer_getoverr.c: Likewise.
42925         * rt/timer_gettime.c: Likewise.
42926         * rt/timer_settime.c: Likewise.
42927         * setjmp/__longjmp.c: Likewise.
42928         * setjmp/setjmp.c: Likewise.
42929         * signal/kill.c: Likewise.
42930         * signal/killpg.c: Likewise.
42931         * signal/raise.c: Likewise.
42932         * signal/sigaction.c: Likewise.
42933         * signal/sigaltstack.c: Likewise.
42934         * signal/sigblock.c: Likewise.
42935         * signal/sigignore.c: Likewise.
42936         * signal/sigintr.c: Likewise.
42937         * signal/signal.c: Likewise.
42938         * signal/sigpause.c: Likewise.
42939         * signal/sigpending.c: Likewise.
42940         * signal/sigqueue.c: Likewise.
42941         * signal/sigreturn.c: Likewise.
42942         * signal/sigset.c: Likewise.
42943         * signal/sigsetmask.c: Likewise.
42944         * signal/sigstack.c: Likewise.
42945         * signal/sigsuspend.c: Likewise.
42946         * signal/sigtimedwait.c: Likewise.
42947         * signal/sigvec.c: Likewise.
42948         * signal/sigwait.c: Likewise.
42949         * signal/sigwaitinfo.c: Likewise.
42950         * signal/sysv_signal.c: Likewise.
42951         * socket/accept.c: Likewise.
42952         * socket/accept4.c: Likewise.
42953         * socket/bind.c: Likewise.
42954         * socket/connect.c: Likewise.
42955         * socket/getpeername.c: Likewise.
42956         * socket/getsockname.c: Likewise.
42957         * socket/getsockopt.c: Likewise.
42958         * socket/isfdtype.c: Likewise.
42959         * socket/listen.c: Likewise.
42960         * socket/recv.c: Likewise.
42961         * socket/recvfrom.c: Likewise.
42962         * socket/recvmsg.c: Likewise.
42963         * socket/send.c: Likewise.
42964         * socket/sendmsg.c: Likewise.
42965         * socket/sendto.c: Likewise.
42966         * socket/setsockopt.c: Likewise.
42967         * socket/shutdown.c: Likewise.
42968         * socket/sockatmark.c: Likewise.
42969         * socket/socket.c: Likewise.
42970         * socket/socketpair.c: Likewise.
42971         * stdio-common/ctermid.c: Likewise.
42972         * stdio-common/cuserid.c: Likewise.
42973         * stdio-common/remove.c: Likewise.
42974         * stdio-common/rename.c: Likewise.
42975         * stdio-common/renameat.c: Likewise.
42976         * stdio-common/tempname.c: Likewise.
42977         * stdlib/getcontext.c: Likewise.
42978         * stdlib/makecontext.c: Likewise.
42979         * stdlib/setcontext.c: Likewise.
42980         * stdlib/swapcontext.c: Likewise.
42981         * stdlib/system.c: Likewise.
42982         * streams/fattach.c: Likewise.
42983         * streams/fdetach.c: Likewise.
42984         * streams/getmsg.c: Likewise.
42985         * streams/getpmsg.c: Likewise.
42986         * streams/putmsg.c: Likewise.
42987         * streams/putpmsg.c: Likewise.
42988         * sysdeps/unix/bsd/getpt.c: Likewise.
42989         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42990         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42991         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42993         Likewise.
42994         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42995         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42996         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42997         * sysvipc/msgctl.c: Likewise.
42998         * sysvipc/msgget.c: Likewise.
42999         * sysvipc/msgrcv.c: Likewise.
43000         * sysvipc/msgsnd.c: Likewise.
43001         * sysvipc/semctl.c: Likewise.
43002         * sysvipc/semget.c: Likewise.
43003         * sysvipc/semop.c: Likewise.
43004         * sysvipc/semtimedop.c: Likewise.
43005         * sysvipc/shmat.c: Likewise.
43006         * sysvipc/shmctl.c: Likewise.
43007         * sysvipc/shmdt.c: Likewise.
43008         * sysvipc/shmget.c: Likewise.
43009         * termios/tcdrain.c: Likewise.
43010         * termios/tcflow.c: Likewise.
43011         * termios/tcflush.c: Likewise.
43012         * termios/tcgetattr.c: Likewise.
43013         * termios/tcgetpgrp.c: Likewise.
43014         * termios/tcsendbrk.c: Likewise.
43015         * termios/tcsetattr.c: Likewise.
43016         * termios/tcsetpgrp.c: Likewise.
43017         * time/adjtime.c: Likewise.
43018         * time/clock.c: Likewise.
43019         * time/getitimer.c: Likewise.
43020         * time/gettimeofday.c: Likewise.
43021         * time/setitimer.c: Likewise.
43022         * time/settimeofday.c: Likewise.
43023         * time/stime.c: Likewise.
43024         * time/time.c: Likewise.
43026 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43028         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43029         /usr/old/bin.
43031         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43032         instead of spaces.
43033         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43035 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43037         [BZ #14796]
43038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43039         FE_TONEAREST before applying Dekker multiplication and Knuth
43040         addition.  Clear inexact exceptions and check for exact zero
43041         results afterwards.
43042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43043         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43045         * math/libm-test.inc (fma_test): Add more tests.
43046         (fma_test_towardzero): Likewise.
43047         (fma_test_downward): Likewise.
43048         (fma_test_upward): Likewise.
43049         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43050         function.
43051         (libc_fesetround): New macro.
43052         (libc_fesetroundf): Likewise.
43053         (libc_fesetroundl): Likewise.
43054         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43055         function.
43056         (libc_fesetround_387): Likewise.
43057         (libc_fesetroundf): New macro.
43058         (libc_fesetround): Likewise.
43059         (libc_fesetroundl): Likewise.
43060         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43061         function.
43062         (libc_fesetroundf): New macro.
43063         (libc_fesetround): Likewise.
43064         (libc_fesetroundl): Likewise.
43065         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43066         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43067         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43068         libm_hidden_ver.
43069         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43070         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43071         libm_hidden_def.
43072         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43073         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43074         libm_hidden_ver.
43075         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43076         libm_hidden_def.
43078         [BZ #3439]
43079         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43080         integer constant usable in #if and use that to give value to enum
43081         constant.
43082         (FE_DIVBYZERO): Likewise.
43083         (FE_UNDERFLOW): Likewise.
43084         (FE_OVERFLOW): Likewise.
43085         (FE_INVALID): Likewise.
43086         (FE_INVALID_SNAN): Likewise.
43087         (FE_INVALID_ISI): Likewise.
43088         (FE_INVALID_IDI): Likewise.
43089         (FE_INVALID_ZDZ): Likewise.
43090         (FE_INVALID_IMZ): Likewise.
43091         (FE_INVALID_COMPARE): Likewise.
43092         (FE_INVALID_SOFTWARE): Likewise.
43093         (FE_INVALID_SQRT): Likewise.
43094         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43095         (FE_TONEAREST): Likewise.
43096         (FE_TOWARDZERO): Likewise.
43097         (FE_UPWARD): Likewise.
43098         (FE_DOWNWARD): Likewise.
43099         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43100         (FE_DIVBYZERO): Likewise.
43101         (FE_OVERFLOW): Likewise.
43102         (FE_UNDERFLOW): Likewise.
43103         (FE_INEXACT): Likewise.
43104         (FE_TONEAREST): Likewise.
43105         (FE_DOWNWARD): Likewise.
43106         (FE_UPWARD): Likewise.
43107         (FE_TOWARDZERO): Likewise.
43108         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43109         (FE_UNDERFLOW): Likewise.
43110         (FE_OVERFLOW): Likewise.
43111         (FE_DIVBYZERO): Likewise.
43112         (FE_INVALID): Likewise.
43113         (FE_TONEAREST): Likewise.
43114         (FE_TOWARDZERO): Likewise.
43115         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43116         (FE_OVERFLOW): Likewise.
43117         (FE_UNDERFLOW): Likewise.
43118         (FE_DIVBYZERO): Likewise.
43119         (FE_INEXACT): Likewise.
43120         (FE_TONEAREST): Likewise.
43121         (FE_TOWARDZERO): Likewise.
43122         (FE_UPWARD): Likewise.
43123         (FE_DOWNWARD): Likewise.
43124         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43125         (FE_DIVBYZERO): Likewise.
43126         (FE_OVERFLOW): Likewise.
43127         (FE_UNDERFLOW): Likewise.
43128         (FE_INEXACT): Likewise.
43129         (FE_TONEAREST): Likewise.
43130         (FE_DOWNWARD): Likewise.
43131         (FE_UPWARD): Likewise.
43132         (FE_TOWARDZERO): Likewise.
43134 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43136         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43138 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43140         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43141         commands.  Quote $PWD.
43142         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43143         -x" by "export".
43144         (remove_newlines): Remove.
43146 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43148         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43149         * stdlib/stdlib.h (atof): Moved to ...
43150         * include/bits/stdlib-float.h: Here.  New file.
43151         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43152         * stdlib/bits/stdlib-float.h: New file.
43153         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43154         -mno-sse -mno-mmx.
43155         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43156         <xmmintrin.h>.
43158 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43160         * conform/conformtest.pl (@headers): Add fenv.h.
43161         * conform/data/fenv.h-data: New file.
43162         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43163         include of <math/fenv.h>.
43165         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43166         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43167         && !UNIX98].  Enables tests for XOPEN2K8.
43168         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43169         POSIX2008]: Likewise.
43171         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43172         (struct rusage): Do not expect type or its members.
43174         [BZ #3439]
43175         * math/math.h (FP_NAN): Define macro to integer constant usable in
43176         #if and use that to give value to enum constant.
43177         (FP_INFINITE): Likewise.
43178         (FP_ZERO): Likewise.
43179         (FP_SUBNORMAL): Likewise.
43180         (FP_NORMAL): Likewise.
43182 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43184         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43185         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43186         arguments.
43188 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43190         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43191         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43192         autoconf-time if not.
43193         * configure.in: Remove AC_PREREQ.
43195 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43197         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43198         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43199         of the internal implementation.
43201 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43203         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43204         except include of <misc/sys/syslog.h>.
43206 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43209         function returns with a NULL context exit with zero.
43211 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43213         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43215 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43217         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43218         (run_program_cmd): This.
43219         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43220         (tst_langinfo): New variable.  Use it.
43222 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43224         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43225         floating point opcodes.
43227 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43229         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43230         variable.
43232         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43234         * sysdeps/mach/hurd/powerpc: Remove directory.
43235         * sysdeps/mach/powerpc: Likewise.
43237 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43239         * scripts/check-local-headers.sh: Ignore c++ headers.
43241 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43243         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43244         __libc_cleanup_region_start argument.
43246 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43248         [BZ #14784]
43249         [BZ #14785]
43250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43251         x * y using scaling, not as x * y + z.
43252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43254         * math/libm-test.inc (fma_test): Add more tests.
43255         (fma_test_towardzero): Likewise.
43256         (fma_test_downward): Likewise.
43257         (fma_test_upward): Likewise.
43259 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43261         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43263 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43265         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43266         New variable.
43268 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43270         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43272 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43275         Fix sort order.
43276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43277         Likewise.
43279 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43282         Fix the order of the list for glibc 2.17.
43283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43284         Likewise.
43286 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43290 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43292         [BZ #14610]
43293         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43294         for low part of x being zero before using __atanl (y).
43295         * math/libm-test.inc (atan2_test): Add another test.
43297         * manual/install.texi (Configuring and compiling): Document
43298         general use of test-wrapper and test-wrapper-env.
43299         * INSTALL: Regenerated.
43301         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43302         (__fma): Do not extract and scale down low bits on after-rounding
43303         systems when result rounded to normal precision would have normal
43304         exponent.
43305         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43306         (__fmal): Do not extract and scale down low bits on after-rounding
43307         systems when result rounded to normal precision would have normal
43308         exponent.
43309         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43310         (__fmal): Do not extract and scale down low bits on after-rounding
43311         systems when result rounded to normal precision would have normal
43312         exponent.
43313         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43314         macro.
43315         (fma_test): Add more tests.
43316         (fma_test_towardzero): Likewise.
43317         (fma_test_downward): Likewise.
43318         (fma_test_upward): Likewise.
43320 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43322         * sysdeps/i386/tininess.h: Renamed to ...
43323         * sysdeps/x86/tininess.h: This.
43324         * sysdeps/x86_64/tininess.h: Removed.
43326 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43328         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43329         input.  Use $(build-program-cmd).
43330         ($(objpfx)tst-array1-static.out): Likewise.
43331         ($(objpfx)tst-array2.out): Likewise.
43332         ($(objpfx)tst-array3.out): Likewise.
43333         ($(objpfx)tst-array4.out): Likewise.
43334         ($(objpfx)tst-array5.out): Likewise.
43335         ($(objpfx)tst-array5-static.out): Likewise.
43337 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43339         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43340         if defined.
43342         * nss/nsswitch.h (nss_interface_function): Provide new
43343         macro for use with NSS functions.
43344         * grp/initgroups.c: Use new macro.
43345         * nss/getXXbyYY.c: Likewise.
43346         * nss/getXXbyYY_r.c: Likewise.
43347         * nss/getXXent.c: Likewise.
43348         * nss/getXXent_r.c: Likewise.
43349         * sysdeps/posix/getaddrinfo.c: Likewise.
43351 2012-10-30  Andreas Jaeger  <aj@suse.de>
43353         * po/ru.po: Update Russion translation from translation project.
43355 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43357         [BZ #14152]
43358         [BZ #14783]
43359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43360         result and shift together with sticky bit instead of replicating
43361         round-to-nearest rounding.
43362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43363         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43364         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43365         missing underflow exceptions.
43366         (fma_test_towardzero): Add more tests.
43367         (fma_test_downward): Likewise.
43368         (fma_test_upward): Likewise.
43370         [BZ #14047]
43371         * sysdeps/generic/tininess.h: New file.
43372         * sysdeps/i386/tininess.h: Likewise.
43373         * sysdeps/sh/tininess.h: Likewise.
43374         * sysdeps/x86_64/tininess.h: Likewise.
43375         * stdlib/tst-strtod-underflow.c: Likewise.
43376         * stdlib/tst-tininess.c: Likewise.
43377         * stdlib/strtod_l.c: Include <tininess.h>.
43378         (round_and_return): Do not set errno for exact underflow cases.
43379         Force an underflow exception when setting errno for underflow.
43380         Determine underflow based on rounding to normal precision if
43381         TININESS_AFTER_ROUNDING.
43382         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43383         ERANGE for exact underflow cases.
43384         * stdlib/Makefile (tests): Add tst-tininess and
43385         tst-strtod-underflow.
43386         ($(objpfx)tst-tininess): Use $(link-libm).
43387         ($(objpfx)tst-strtod-underflow): Likewise.
43389 2012-10-30  Andreas Jaeger  <aj@suse.de>
43391         [BZ#14767]
43392         * elf/Makefile (tests): Remove conditional for have-initfini-array
43393         since this is now always required and the variable does not exist
43394         anymore.
43395         (tests-static): Likewise.
43396         (modules-names): Likewise.
43398         * po/eo.po: Add Esperanto translation from translation project.
43400         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43401         merged with constructor/destructor.
43402         (init_array): Likewise.
43403         * elf/tst-array2dep.c (fini_array): Likewise.
43404         (init_array): Likewise.
43406 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43408         * manual/message.texi: Delete @cartouche tags.
43410 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43412         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43413         EOPNOTSUPP.
43414         * sysdeps/mach/hurd/fsync.c: Likewise.
43416         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43417         [_POSIX_REALTIME_SIGNALS]: Change condition to
43418         [_POSIX_REALTIME_SIGNALS > 0].
43420 2012-10-27  Andreas Jaeger  <aj@suse.de>
43422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43423         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43425         [__WORDSIZE != 64]: Likewise.
43427 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43429         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43430         *  iconvdata/tst-tables.sh: Likewise.
43432 2012-10-25  David S. Miller  <davem@davemloft.net>
43434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43435         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43436         of strtoull.
43438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43439         ifunc-impl-list.c
43440         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43441         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43442         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43443         file.
43445 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43447         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43448         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43449         __getdirentries.
43451 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43452             Jim Blandy  <jimb@codesourcery.com>
43454         * scripts/cross-test-ssh.sh: New file.
43455         * manual/install.texi (Configuring and compiling): Document use of
43456         cross-test-ssh.sh.
43457         * INSTALL: Regenerated.
43459 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43461         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43462         EOPNOTSUPP.
43464 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43466         * Makeconfig (run-program-prefix): Fix comment.
43468 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43469             Jim Blandy  <jimb@codesourcery.com>
43471         * Makeconfig (test-wrapper): New variable,
43472         (test-wrapper-env): Likewise.
43473         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43474         (run-built-tests): Define to yes.
43475         (run-program-prefix): Use $(test-wrapper).
43476         (built-program-cmd): Likewise.
43477         * Rules (make-test-out): Use $(test-wrapper-env) and
43478         $(host-built-program-cmd).
43479         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43480         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43481         tst-pathopt.sh.
43482         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43483         $(test-wrapper-env) to tst-rtld-load-self.sh.
43484         ($(objpfx)order2.out): Use $(test-wrapper).
43485         ($(objpfx)tst-initorder.out): Likewise.
43486         ($(objpfx)tst-initorder2.out): Likewise.
43487         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43488         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43489         (test_wrapper_env): New variable.  Use it to run ld.so.
43490         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43491         Use it to run ld.so.
43492         (test_wrapper_env): Likewise.
43493         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43494         $(test-wrapper) to run-iconv-test.sh.
43495         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43496         (ICONV): Use $test_wrapper.
43497         * posix/Makefile ($(objpfx)globtest.out): Pass
43498         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43499         globtest.sh, not $(run-program-prefix).
43500         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43501         (test_wrapper): Likewise.
43502         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43503         set together with run_via_rtld_prefix.
43504         (run_program_prefix): Define in terms of test_wrapper and
43505         run_via_rtld_prefix.
43507 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43509         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43510         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43511         Targets removed.
43513         [BZ #14743]
43514         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43515         Declare __clock_getres, __clock_gettime, __clock_settime,
43516         __clock_nanosleep, and __clock_getcpuclockid.
43517         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43518         Remove librt_hidden_def (clock_gettime).
43519         * sysdeps/unix/clock_gettime.c: Likewise.
43520         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43522         * rt/clock_getres.c: Define __clock_getres as an alias.
43523         * sysdeps/posix/clock_getres.c: Likewise.
43524         * rt/clock_settime.c: Define __clock_settime as an alias.
43525         * sysdeps/unix/clock_settime.c: Likewise.
43526         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43527         * sysdeps/unix/clock_nanosleep.c: Likewise.
43528         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43529         * rt/clock-compat.c: New file.
43530         * rt/Makefile (librt-routines): Add clock-compat and move
43531         $(clock-routines) to ...
43532         (routines): ... here, new variable.
43533         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43534         Don't add get_clockfreq here.
43535         * rt/Versions (libc: GLIBC_2.17): New version set.
43536         Add clock_* symbols here.
43537         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43538         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43539         (GLIBC_2.17): Add clock_* symbols.
43540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43544         Likewise.
43545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43546         Likewise.
43547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43551         * NEWS: Mention the move.
43553         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43554         Use __open, __read, __close rather than their public counterparts.
43555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43556         (__get_clockfreq_via_cpuinfo): Likewise.
43557         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43558         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43560         * config.h.in (HAVE_IFUNC): New #undef.
43561         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43562         was successful.
43563         * configure: Regenerated.
43565 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43567         * configure.in: Move READELF check to start of file.
43568         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43569         libc_cv_asm_gnu_indirect_function in the process.
43570         * configure: Regenerated.
43572 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43574         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43575         send the output to /dev/null.
43576         (libc_cv_cc_with_libunwind): Likewise.
43577         (libc_cv_as_noexecstack): Likewise.
43578         * configure: Regenerate.
43580 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43582         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43584         * posix/globtest.sh (TMPDIR): Do not set.
43585         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43586         (testout): Likewise.
43588 2012-10-24  Andreas Jaeger  <aj@suse.de>
43590         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43591         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43592         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43593         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43594         posix_fadvise64, posix_fallocate64.
43596         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43597         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43598         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43599         Likewise.
43600         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43601         Likewise.
43602         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43605         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43606         <bits/fcntl-linux.h>.
43607         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43609         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43610         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43611         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43612         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43613         [__WORDSIZE != 64]: Likewise.
43615 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43617         * Makeconfig (run-built-tests): New variable.
43618         * Rules [$(cross-compiling) = yes]: Change condition to
43619         [$(run-built-tests) = no].
43620         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43621         to [$(run-built-tests) = yes].
43622         * elf/Makefile [$(cross-compiling) = no]: Likewise
43623         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43624         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43625         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43626         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43627         * io/Makefile [$(cross-compiling) = no]: Likewise.
43628         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43629         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43630         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43631         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43632         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43633         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43634         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43635         * string/Makefile [$(cross-compiling) = no]: Likewise.
43637         * posix/Makefile ($(objpfx)globtest.out): Pass
43638         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43639         $(rtld-installed-name).
43640         * posix/globtest.sh (elf_objpfx): Remove variable.
43641         (rtld_installed_name): Likewise.
43642         (library_path): Likewise.
43643         (run_program_prefix): New variable.  Use for running globtest
43644         binary.
43646 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43647             Joseph Myers  <joseph@codesourcery.com>
43649         * Makeconfig (host-built-program-cmd): New variable.
43650         * elf/Makefile (tst-stackguard1-ARGS): Use
43651         $(host-built-program-cmd).
43652         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43653         (tst-spawn-ARGS): Likewise.
43654         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43656 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43657             Jim Blandy  <jimb@codesourcery.com>
43659         * Makeconfig (run-via-rtld-prefix): New variable.
43660         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43661         (built-program-cmd): Likewise.
43663 2012-10-22  Andreas Jaeger  <aj@suse.de>
43665         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43666         __O_RSYNC if it exists, otherwise to O_SYNC.
43668 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43669             Joseph Myers  <joseph@codesourcery.com>
43671         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43672         /dev/null.
43673         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43674         from /dev/null
43675         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43676         /dev/null.
43678 2012-10-22  Andreas Jaeger  <aj@suse.de>
43680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43681         Define always.
43682         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43685         bits/fcntl-linux.h.
43687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43688         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43690         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43691         to __O_LARGEFILE.
43692         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43693         to __O_LARGEFILE.
43695 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43696             Joseph Myers  <joseph@codesourcery.com>
43698         * config.make.in (NM): New variable.
43700 2012-10-21  Andreas Jaeger  <aj@suse.de>
43702         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43703         definitions and declarations that are provided by
43704         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43706 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43708         [BZ #14683]
43709         * elf/Makefile (tests-static): Add tst-leaks1-static.
43710         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43711         ($(objpfx)tst-leaks1-static): New rule.
43712         ($(objpfx)tst-leaks1-static-mem): Likewise.
43713         (tst-leaks1-static-ENV): New macro.
43714         * elf/dl-open.c (dl_open_worker): Check the main application
43715         only if SHARED is defined.
43716         * elf/tst-leaks1-static.c: New file.
43718 2012-10-20  Andreas Jaeger  <aj@suse.de>
43720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43721         generic values for Linux.
43722         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43723         and declarations that are provided by <bits/fcntl-linux.h> and
43724         include <bits/fcntl-linux.h>.
43725         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43728 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43730         * io/fcntl.h: Move include of <bits/types.h> to the top and
43731         include it unconditionally.
43733 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43735         * wcsmbs/Makefile (tests-ifunc): New variable.
43736         (tests): Add $(tests-ifunc).
43737         * wcsmbs/test-wcschr-ifunc.c: New file.
43738         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43739         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43740         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43741         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43742         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43744         * string/Makefile (tests-ifunc): New variable.
43745         (tests): Add $(tests-ifunc).
43746         * string/test-memccpy.c (TEST_NAME): New macro.
43747         * string/test-memchr.c (TEST_NAME): Likewise.
43748         * string/test-memcmp.c (TEST_NAME): Likewise.
43749         * string/test-memcpy.c (TEST_NAME): Likewise.
43750         * string/test-memmem.c (TEST_NAME): Likewise.
43751         * string/test-memmove.c (TEST_NAME): Likewise.
43752         * string/test-memset.c (TEST_NAME): Likewise.
43753         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43754         * string/test-stpcpy.c (TEST_NAME): Likewise.
43755         * string/test-stpncpy.c (TEST_NAME): Likewise.
43756         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43757         * string/test-strcasestr.c (TEST_NAME): Likewise.
43758         * string/test-strcat.c (TEST_NAME): Likewise.
43759         * string/test-strchr.c (TEST_NAME): Likewise.
43760         * string/test-strcmp.c(TEST_NAME): Likewise.
43761         * string/test-strcpy.c (TEST_NAME): Likewise.
43762         * string/test-strcspn.c (TEST_NAME): Likewise.
43763         * string/test-strlen.c (TEST_NAME): Likewise.
43764         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43765         * string/test-strncmp.c (TEST_NAME): Likewise.
43766         * string/test-strncpy.c (TEST_NAME): Likewise.
43767         * string/test-strnlen.c (TEST_NAME): Likewise.
43768         * string/test-strpbrk.c (TEST_NAME): Likewise.
43769         * string/test-strrchr.c (TEST_NAME): Likewise.
43770         * string/test-strspn.c (TEST_NAME): Likewise.
43771         * string/test-strstr.c (TEST_NAME): Likewise.
43772         * string/test-bcopy-ifunc.c: New file.
43773         * string/test-bzero-ifunc.c: Likewise.
43774         * string/test-memccpy-ifunc.c: Likewise.
43775         * string/test-memchr-ifunc.c: Likewise.
43776         * string/test-memcmp-ifunc.c: Likewise.
43777         * string/test-memcpy-ifunc.c: Likewise.
43778         * string/test-memmem-ifunc.c: Likewise.
43779         * string/test-memmove-ifunc.c: Likewise.
43780         * string/test-mempcpy-ifunc.c: Likewise.
43781         * string/test-memset-ifunc.c: Likewise.
43782         * string/test-rawmemchr-ifunc.c: Likewise.
43783         * string/test-stpcpy-ifunc.c: Likewise.
43784         * string/test-stpncpy-ifunc.c: Likewise.
43785         * string/test-strcasecmp-ifunc.c: Likewise.
43786         * string/test-strcasestr-ifunc.c: Likewise.
43787         * string/test-strcat-ifunc.c: Likewise.
43788         * string/test-strchr-ifunc.c: Likewise.
43789         * string/test-strchrnul-ifunc.c: Likewise.
43790         * string/test-strcmp-ifunc.c: Likewise.
43791         * string/test-strcpy-ifunc.c: Likewise.
43792         * string/test-strcspn-ifunc.c: Likewise.
43793         * string/test-strlen-ifunc.c: Likewise.
43794         * string/test-strncasecmp-ifunc.c: Likewise.
43795         * string/test-strncat-ifunc.c: Likewise.
43796         * string/test-strncmp-ifunc.c: Likewise.
43797         * string/test-strncpy-ifunc.c: Likewise.
43798         * string/test-strnlen-ifunc.c: Likewise.
43799         * string/test-strpbrk-ifunc.c: Likewise.
43800         * string/test-strrchr-ifunc.c: Likewise.
43801         * string/test-strspn-ifunc.c: Likewise.
43802         * string/test-strstr-ifunc.c: Likewise.
43804         * debug/Makefile (tests-ifunc): New variable.
43805         (tests): Add $(tests-ifunc).
43806         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43807         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43808         * debug/test-stpcpy_chk-ifunc.c: New file.
43809         * debug/test-strcpy_chk-ifunc.c: Likewise.
43811 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43813         [BZ #13601]
43814         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43815         header is not read in.
43817 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43819         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43820         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43821         directly.  Pass built executable to script as
43822         $(built-program-cmd).
43823         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43824         $testprogram without using LD_LIBRARY_PATH and $ldso.
43826         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43827         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43828         $(rtld-installed-name).
43829         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43830         (rtld_installed_name): Likewise.
43831         (library_path): Likewise.
43832         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43833         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43834         $(run-program-prefix) to tst-tables.sh.
43835         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43836         it to run tst-table-from and tst-table-to.
43837         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43838         Pass it to tst-table.sh.
43839         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43840         $(run-program-prefix) to tst-gettext.sh.
43841         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43842         tst-translit.sh.
43843         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43844         tst-gettext2.sh.
43845         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43846         to run tst-gettext.
43847         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43848         to run tst-gettext2.
43849         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43850         to run tst-translit.
43851         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43852         $(run-program-prefix) to tst-mtrace.sh.
43853         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43854         to run tst-mtrace.
43855         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43856         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43857         $(rtld-installed-name).
43858         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43859         (rtld_installed_name): Likewise.
43860         (run_program_prefix): New variable.  Use it to run wordexp-test.
43862         * Makeconfig (ARCH): Remove all definitions.
43863         (machine): Likewise.
43864         [ARCH]: Remove conditional code.
43865         [!objdir]: Give error.
43866         [!objdir] (objpfx): Remove.
43867         [!objdir] (common-objpfx): Likewise.
43868         [!objdir] (common-objdir): Likewise.
43869         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43870         AC_CONFIG_FILES call.
43871         * configure: Regenerated.
43873         [BZ #13888]
43874         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43875         or TMPDIR.
43876         (testout): Likewise.
43878         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43879         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43880         $(rtld-installed-name).
43881         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43882         (rtld_installed_name): Likwise.
43883         (runit): Remove function.
43884         (run_getconf): New variable,  Use it for running getconf binary.
43886 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43888         [BZ #14716]
43889         * string/test-memmem.c (check_result): New function.
43890         (do_one_test): Use it.
43891         (check1): New function.
43892         (test_main): Use it.
43894 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43896         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43898 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43900         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43901         (_G_LSEEK64): Likewise.
43902         (_G_MMAP64): Likewise.
43903         (_G_FSTAT64): Likewise.
43904         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43905         (_G_LSEEK64): Likewise.
43906         (_G_MMAP64): Likewise.
43907         (_G_FSTAT64): Likewise.
43908         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43909         unconditional.  Call __mmap64 directly.
43910         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43911         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43912         __lseek64 directly.
43913         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43914         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43915         __mmap64 directly.
43916         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43917         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43918         __lseek64 directly.
43919         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43920         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43921         __lseek64 directly.
43922         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43923         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43924         __lseek64 directly.
43925         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43926         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43927         __fxstat64 directly.
43928         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43929         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43930         unconditional.
43931         (freopen64) [!_G_OPEN64]: Remove conditional code.
43932         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43933         unconditional.
43934         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43935         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43936         unconditional.
43937         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43938         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43939         unconditional.
43940         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43941         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43942         unconditional.
43943         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43944         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43945         unconditional.
43946         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43947         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43948         unconditional.
43949         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43950         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43951         unconditional.
43952         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43954 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43956         [BZ #12140]
43957         * manual/memory.texi (Malloc Tunable Parameters): Add note
43958         about free list pointers overwriting some perturb bytes.
43959         Wording suggested by Roland McGrath.
43961 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43963         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43964         (lgamma_test): Likewise.
43965         (tgamma_test): Likewise.
43967 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43969         [BZ #14700]
43970         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43971         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43973 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43975         * NEWS: Mention BZ #14716.
43976         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43977         when removing AVAILABLE1_USES_J macro.
43979 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43981         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43982         (__bswap_64): __uint64_t for unsigned 64-bit int.
43984 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43986         * include/string.h (memmem): Declare libc hidden alias.
43987         * string/memmem.c (memmem): Define libc hidden alias.
43988         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43989         __read, __close instead of open, read, close.
43991 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43994         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43995         global and hidden.
43996         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43997         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43998         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43999         Likewise.
44000         (__rawmemchr_sse2): Likewise.
44001         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44002         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44003         (__strchr_sse2): Likewise.
44004         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44005         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44006         (__strcasecmp_sse2): Likewise.
44007         (__strncasecmp_sse2): Likewise.
44008         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44009         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44010         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44011         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44012         (__strrchr_sse2): Likewise.
44013         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44014         ifunc-impl-list.c.
44015         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44016         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44017         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44018         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44019         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44020         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44021         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44022         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44023         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44024         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44025         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44026         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44027         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44028         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44029         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44030         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44031         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44032         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44033         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44034         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44035         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44036         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44037         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44038         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44039         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44040         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44041         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44042         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44043         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44044         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44046         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44047         global and hidden.
44048         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44049         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44050         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44051         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44052         Likewise.
44053         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44054         Likewise.
44055         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44056         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44057         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44058         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44059         ifunc-impl-list.c.
44060         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44061         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44062         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44063         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44064         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44065         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44066         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44067         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44068         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44069         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44070         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44071         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44072         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44073         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44074         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44075         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44076         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44077         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44078         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44079         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44080         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44081         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44082         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44083         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44084         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44085         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44086         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44087         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44088         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44089         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44090         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44091         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44092         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44093         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44094         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44095         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44096         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44097         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44098         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44099         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44100         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44102         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44103         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44104         * include/ifunc-impl-list.h: New file.
44105         * misc/ifunc-impl-list.c: Likewise.
44106         * misc/Makefile (routines): Add ifunc-impl-list.
44107         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44108         * string/test-string.h: Include <ifunc-impl-list.h>.
44109         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44110         TEST_NAME]: New variables.
44111         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44112         are defined.
44113         (test_init): Call __libc_ifunc_impl_list to initialize
44114         func_list if TEST_IFUNC and TEST_NAME are defined.
44116         * string/Makefile (strop-tests): Add bcopy and bzero.
44117         * string/test-bcopy.c: New file.
44118         * string/test-bzero.c: Likewise.
44119         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44120         defined.
44121         * string/test-memset.c: Support bzero test if TEST_BZERO is
44122         defined.
44123         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44124         __libc_memmove.
44125         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44126         __libc_memset.
44127         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44128         of memset.
44130 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44132         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44133         * configure: Regenerated.
44135         * Makeconfig (+link-static-before-libc): Don't include
44136         $(link-static-libc).
44138         * libio/libio.h (_IO_pos_t): Remove.
44140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44142         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44143         McGrath.
44145 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44147         * crypt/crypt-entry.c: Include fips-private.h.
44148         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44149         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44150         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44151         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44153 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44155         * crypt/crypt-private.h: Include stdbool.h.
44156         (_ufc_setup_salt_r): Return bool.
44157         * crypt/crypt-entry.c: Include errno.h.
44158         (__crypt_r): Return NULL with EINVAL for bad salt.
44159         * crypt/crypt_util.c (bad_for_salt): New.
44160         (_ufc_setup_salt_r): Check that salt is long enough and within
44161         the specified alphabet.
44162         * crypt/badsalttest.c: New file.
44163         * crypt/Makefile (tests): Add it.
44164         ($(objpfx)badsalttest): New.
44166 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44168         * NEWS: Add entry for BZ #14602.
44170 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44172         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44173         type-generic.
44174         * math/libm-test.inc: Update comment listing what functions and
44175         macros are tested.
44176         (isgreater_test): New function.
44177         (isgreaterequal_test): Likewise.
44178         (isless_test): Likewise.
44179         (islessequal_test): Likewise.
44180         (islessgreater_test): Likewise.
44181         (isunordered_test): Likewise.
44182         (main): Call the new functions.
44184 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44186         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44187         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44188         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44189         * sysdeps/i386/configure: Regenerated.
44190         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44191         * sysdeps/mach/configure: Regenerated.
44192         * sysdeps/mach/hurd/configure: Regenerated.
44193         * sysdeps/powerpc/configure: Regenerated.
44194         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44195         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44196         * sysdeps/s390/s390-32/configure: Regenerated.
44197         * sysdeps/s390/s390-64/configure: Regenerated.
44198         * sysdeps/sh/configure: Regenerated.
44199         * sysdeps/sparc/configure: Regenerated.
44200         * sysdeps/unix/sysv/linux/configure: Regenerated.
44201         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44202         * sysdeps/x86_64/configure: Regenerated.
44204         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44205         defined.  Don't check if MAP is NULL.
44207 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44209         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44210         (_G_stat64): Likewise.
44211         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44212         (_G_stat64): Likewise.
44213         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44214         instead of struct _G_stat64.
44215         * libio/fileops.c (mmap_remap_check): Likewise.
44216         (decide_maybe_mmap): Likewise.
44217         (_IO_new_file_seekoff): Likewise.
44218         (_IO_file_stat): Likewise.
44219         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44220         _G_off64_t.
44221         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44222         instead of struct _G_stat64.
44223         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44225 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44227         [BZ #14602]
44228         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44229         Replace with ...
44230         (CHECK_EOL): New macro.
44231         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44232         CHECK_EOL.
44233         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44234         Replace with CHECK_EOL.
44235         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44236         Replace with CHECK_EOL.
44238 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44240         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44241         type-generic.
44242         * math/libm-test.inc: Update comment listing what functions and
44243         macros are tested.
44244         (finite_test): New function.
44245         (isinf_test): Likewise.
44246         (isnan_test): Likewise.
44247         (fpclassify_test): Test subnormal input.
44248         (isfinite_test): Likewise.
44249         (isnormal_test): Likewise.
44250         (main): Call the new functions.
44252 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44254         [BZ #14660]
44255         * Makerules (%.dynsym): Force C locale when running
44256         $(OBJDUMP) --dynamic-syms.
44258 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44260         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44261         <stdint.h>.
44263 2012-10-06  David S. Miller  <davem@davemloft.net>
44265         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44266         upper 32-bits of the length value in %o2 since we use branch-on-register
44267         tests which consider the entire 64-bit register.
44269 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44271         * string/test-strstr.c (check2): Add a test for page boundary.
44273 2012-10-05  David S. Miller  <davem@davemloft.net>
44275         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44276         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44277         file.
44278         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44279         sysdep_routines.
44280         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44281         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44282         and bzero when HWCAP_SPARC_CRYPTO is present.
44284 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44286         [BZ #14602]
44287         * string/test-strstr.c (check2): New function.
44288         (test_main): Call check2.
44290         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44291         and bug-strchr1.
44292         * string/bug-strcasestr1.c (do_test): Moved to ...
44293         * string/test-strcasestr.c (check1): Here.  New function.
44294         (do_one_test): Break out result checking code into ...
44295         (check_result): This.  New function.
44296         (do_one_test): Call check_result.
44297         (test_main): Call check1.
44298         * string/bug-strchr1.c (do_test): Moved to ...
44299         * string/test-strchr.c (check1): Here.  New function.
44300         (do_one_test): Break out result checking code into ...
44301         (check_result): This.  New function.
44302         (do_one_test): Call check_result.
44303         (test_main): Call check1.
44304         * string/bug-strstr1.c (main): Moved to ...
44305         * string/test-strstr.c (check1): Here.  New function.
44306         (do_one_test): Break out result checking code into ...
44307         (check_result): This.  New function.
44308         (do_one_test): Call check_result.
44309         (test_main): Call check1.
44310         * string/bug-strcasestr1.c: Removed.
44311         * string/bug-strchr1.c: Likewise.
44312         * string/bug-strstr1.c: Likewise.
44314         * elf/Makefile (dl-routines): Add hwcaps.
44315         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44316         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44317         (_dl_important_hwcaps): Moved to ...
44318         * elf/dl-hwcaps.c: Here.  New file.
44319         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44321         [BZ #14557]
44322         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44323         if IS_IN_rtld isn't defined.
44325         * elf/dl-support.c (_dl_sysinfo_map): New.
44326         Include "get-dynamic-info.h" and "setup-vdso.h".
44327         (_dl_non_dynamic_init): Call setup_vdso.
44328         * elf/dynamic-link.h: Don't include <assert.h>.
44329         (elf_get_dynamic_info): Moved to ...
44330         * elf/get-dynamic-info.h: Here.  New file.
44331         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44332         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44333         * elf/setup-vdso.h: Here.  New file.
44334         * elf/rtld.c: Include "setup-vdso.h".
44335         (dl_main): Call setup_vdso.
44337 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44339         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44340         creal in comment listing functions tested.  List finite, isinf,
44341         isnan, isless, islessequal, isgreater, isgreaterequal,
44342         islessgreater, isunordered, lgamma_r and pow10 as functions and
44343         macros not tested.  Mention which functions not tested are aliases
44344         for other functions.  Fix typo.  Note that signs of NaNs are not
44345         tested.
44347         * scripts/config.guess: Update from config.git.
44348         * scripts/config.sub: Likewise.
44350 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44352         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44353         * misc/madvise.c (madvise): Renamed to __madvise.
44354         Make madvise a weak alias.
44355         * include/sys/mman.h: Declare __madvise.
44356         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44357         * sysdeps/unix/syscalls.list
44358         (madvise): Make __madvise the strong name, and madvise a weak alias.
44359         * sysdeps/unix/sysv/linux/syscalls.list
44360         (madvise, mmap): Remove redundant entries.
44361         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44362         * malloc/malloc.c (mtrim): Likewise.
44363         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44365 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44367         * sysdeps/mach/hurd/dl-cache.c: File removed.
44368         * config.h.in (USE_LDCONFIG): New #undef.
44369         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44370         * configure: Regenerated.
44371         * elf/Makefile (dl-routines): Add dl-cache only under
44372         [$(use-ldconfig) = yes].
44373         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44374         cache on [USE_LDCONFIG].
44375         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44376         [USE_LDCONFIG].
44377         * elf/rtld.c (dl_main): Likewise.
44379 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44381         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44382         _SC_LEVEL4_CACHE_LINESIZE.
44384 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44386         * sysdeps/unix/bsd/confstr.h: File removed.
44388 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44390         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44391         sys/sdt-config.h.
44393 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44395         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44396         Make 'mapoff' field ElfW(Off) rather than off_t.
44398 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44400         * nscd/Makefile: Remove nscd-cflags and all its users.
44401         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44402         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44404         [BZ #10631]
44405         * malloc.c (malloc_printerr): Clarify error message.
44407 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44409         [BZ #14648]
44410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44411         Set bit_FMA_Usable if FMA is supported.
44412         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44413         macro.
44414         (bit_FMA4_Usable): Updated.
44415         (index_FMA_Usable): New macro.
44416         (CPUID_FMA): Likewise
44417         (HAS_FMA): Defined with bit_FMA_Usable.
44419 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44421         * bits/types.h (__swblk_t): Type removed.
44422         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44423         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44425         (__SWBLK_T_TYPE): Likewise.
44426         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44427         (__SWBLK_T_TYPE): Likewise.
44428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44429         (__SWBLK_T_TYPE): Likewise.
44430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44431         (__SWBLK_T_TYPE): Likewise.
44433 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44434             Honza Horak <hhorak@redhat.com>
44436         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44437         (xdr_mapname): Use YPMAXMAP as maxsize.
44438         (xdr_peername): Use YPMAXPEER as maxsize.
44439         (xdr_keydat): Use YPAXRECORD as maxsize.
44440         (xdr_valdat): Use YPMAXRECORD as maxsize.
44442 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44444         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44446         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44447         * csu/init-first.c: ... here.
44448         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44449         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44450         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44451         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44452         * sysdeps/i386/init-first.c: File removed.
44453         * sysdeps/sh/init-first.c: File removed.
44455 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44457         [BZ #14645]
44458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44459         if x * y might underflow to zero and z is zero.
44460         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44461         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44462         * math/libm-test.inc (min_subnorm_value): New variable.
44463         (fma_test): Add more tests.
44464         (fma_test_towardzero): Likewise.
44465         (fma_test_downward): Likewise
44466         (fma_test_upward): Likewise.
44467         (initialize): Set min_subnorm_value.
44469 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44471         [BZ #14638]
44472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44473         0 + 0.
44474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44475         mode for addition resulting in exact zero.
44476         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44478         exact 0 + 0.
44479         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44481         * math/libm-test.inc (fma_test): Add more tests.
44482         (fma_test_towardzero): New function.
44483         (fma_test_downward): Likewise.
44484         (fma_test_upward): Likewise.
44485         (main): Call the new functions.
44487 2012-09-28  David S. Miller  <davem@davemloft.net>
44489         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44491 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44493         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44494         instead of SIGALRM.
44496         * sysdeps/gnu/_G_config.h: Moved to ...
44497         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44498         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44499         * sysdeps/generic/_G_config.h: ... here.
44501         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44503         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44505         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44506         Conditionalize target on [libnss_test1.so-version].
44508         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44510         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44511         (elfobjdir): Move out of conditionals.
44513         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44514         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44515         (__nss_lookup_function): Conditionalize label remove_from_tree on
44516         [!DO_STATIC_NSS || SHARED], matching its only use.
44518 2012-09-28  David S. Miller  <davem@davemloft.net>
44520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44521         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44522         file.
44523         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44524         sysdep_routines.
44525         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44527         when HWCAP_SPARC_CRYPTO is present.
44529 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44531         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44533 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44535         [BZ #6530]
44536         * stdio-common/vfprintf.c (process_string_arg): Revert
44537         2000-07-22 change.
44539 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44541         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44542         for testcase.
44543         * stdio-common/tst-sprintf.c: Include <locale.h>
44544         (main): Test sprintf's handling of incomplete multibyte
44545         characters.
44547 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44549         * elf/dl-runtime.c (VERSYMIDX): Removed.
44550         * elf/dl-version.c (VERSYMIDX): Likewise.
44551         * elf/do-rel.h (VERSYMIDX): Likewise.
44552         (VALIDX): Likewise.
44553         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44554         * elf/rtld.c (VALIDX): Likewise.
44555         (ADDRIDX): Likewise.
44556         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44557         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44558         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44559         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44560         (VALIDX): Likewise.
44561         (ADDRIDX): Likewise.
44563 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44565         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44567 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44569         [BZ #11438]
44570         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44571         to global scope.
44572         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44573         addresses are in the same scope as 192.0.2/24.
44574         * posix/gai.conf: Document new scope table defaults.
44576 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44578         [BZ #5298]
44579         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44580         for ftell.  Compute offsets from write pointers instead.
44581         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44583 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44585         [BZ #14543]
44586         * libio/Makefile (tests): New test case tst-fseek.
44587         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44588         combination works in wide mode.
44589         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44590         state when the external buffer state changes.
44592 2012-09-27  David S. Miller  <davem@davemloft.net>
44594         [BZ #14376]
44595         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44596         pass reloc->r_addend in as the 'high' argument to
44597         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44601 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44603         * rt/tst-aio2.c: Include <pthread.h>.
44604         * rt/tst-aio3.c: Likewise.
44606 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44608         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44610 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44612         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44613         contents on [SHARED].
44615 2012-09-26  Marek Polacek  <polacek@redhat.com>
44617         [BZ #14530]
44618         [BZ #13741]
44619         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44620         for C++ and GCC <4.3 as well as for non GCC compilers.
44622 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44626 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44628         * Makefile.in (all, install): Declare with .PHONY.
44629         Reported by Michael Hope <michael.hope@linaro.org>.
44631 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44633         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44634         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44635         system header.
44636         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44637         Likewise.
44638         (sydep_routines): Add the new and the internal functions.
44639         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44640         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44642         (GLIBC_2.17): Add the new function.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44644         (GLIBC_2.17): Likewise.
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44646         (GLIBC_2.17): Likewise.
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44648         (GLIBC_2.17): Likewise.
44649         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44651 2012-09-25  Alan Modra  <amodra@gmail.com>
44653         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44654         Add release barrier before setting once_control to say
44655         initialisation is done.  Add hints on lwarx.  Use macro in
44656         place of isync.
44657         (clear_once_control): Add release barrier.
44659 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44661         [BZ #13629]
44662         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44663         specially.
44664         * math/s_clog10.c (__clog10): Likewise.
44665         * math/s_clog10f.c (__clog10f): Likewise.
44666         * math/s_clog10l.c (__clog10l): Likewise.
44667         * math/s_clogf.c (__clogf): Likewise.
44668         * math/s_clogl.c (__clogl): Likewise.
44669         * math/Makefile (libm-calls): Add x2y2m1.
44670         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44671         (__x2y2m1): Likewise.
44672         (__x2y2m1l): Likewise.
44673         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44674         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44675         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44676         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44677         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44678         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44679         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44680         * sysdeps/i386/fpu/libm-test-ulps: Update.
44681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44683         [BZ #14621]
44684         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44685         int as type of variable DEPTH.
44686         (glob): Use size_t instead of int as type of variables NEWCOUNT
44687         and OLD_PATHC.
44689 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44691         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44692         Add s_sincosf-sse2.
44693         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44694         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44695         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44696         macros for using routine as __sincosf_ia32.
44697         Use macro for function declaration and weak_alias.
44698         * sysdeps/i386/fpu/libm-test-ulps: Update.
44700         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44703         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44704         subnormal argument.
44705         * math/s_cexpf.c (__cexpf): Likewise.
44706         * math/s_csinf.c (__csinf): Likewise.
44707         * math/s_csinhf.c (__csinhf): Likewise.
44708         * math/s_ctanf.c (__ctanf): Likewise.
44709         * math/s_ctanhf.c (__ctanhf): Likewise.
44710         * math/s_ccosh.c (__ccoshf): Likewise.
44711         * math/s_cexp.c (__cexpl): Likewise.
44712         * math/s_csin.c (__csin): Likewise.
44713         * math/s_csinh.c (__csinh): Likewise.
44714         * math/s_ctan.c (__ctan): Likewise.
44715         * math/s_ctanh.c (ctanh): Likewise.
44716         * math/s_ccoshl.c (__ccoshl): Likewise.
44717         * math/s_cexpl.c (__cexpl): Likewise.
44718         * math/s_csinl.c (__csinl): Likewise.
44719         * math/s_csinhl.c (__csinhl): Likewise.
44720         * math/s_ctanl.c (__ctanl): Likewise.
44721         * math/s_ctanhl.c (__ctanhl): Likewise.
44723 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44725         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44726         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44727         (_IO_off_t): Define to __off_t, not _G_off_t.
44728         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44729         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44730         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44731         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44732         type of __dummy and __dummy2 fields.
44733         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44734         (_G_ssize_t): Likewise.
44735         (_G_off_t): Likewise.
44736         (_G_pid_t): Likewise.
44737         (_G_uid_t): Likewise.
44738         (_G_wchar_t): Likewise.
44739         (_G_wint_t): Likewise.
44740         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44741         (_G_ssize_t): Likewise.
44742         (_G_off_t): Likewise.
44743         (_G_pid_t): Likewise.
44744         (_G_uid_t): Likewise.
44745         (_G_wchar_t): Likewise.
44746         (_G_wint_t): Likewise.
44747         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44748         (_G_ssize_t): Likewise.
44749         (_G_off_t): Likewise.
44750         (_G_pid_t): Likewise.
44751         (_G_uid_t): Likewise.
44752         (_G_wchar_t): Likewise.
44753         (_G_wint_t): Likewise.
44755 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44757         * malloc/arena.c: Include malloc-sysdep.h.
44758         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44759         is sufficient to shrink the heap or an unmap is needed.
44760         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44761         new function check_may_shrink_heap.
44762         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44763         new function check_may_shrink_heap.
44765 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44767         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44768         comments.
44770 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44772         * catgets/test-gencat.sh: Add "set -e".
44773         * elf/tst-pathopt.sh: Likewise.
44774         * grp/tst_fgetgrent.sh: Likewise.
44775         * iconvdata/run-iconv-test.sh: Likewise.
44776         * intl/tst-gettext.sh: Likewise.
44777         * intl/tst-gettext2.sh: Likewise.
44778         * intl/tst-gettext4.sh: Likewise.
44779         * intl/tst-gettext6.sh: Likewise.
44780         * intl/tst-translit.sh: Likewise.
44781         * io/ftwtest-sh: Likewise.
44782         * libio/test-freopen.sh: Likewise.
44783         * malloc/tst-mtrace.sh: Likewise.
44784         * posix/globtest.sh: Likewise.
44785         * posix/tst-getconf.sh: Likewise.
44786         * posix/wordexp-tst.sh: Likewise.
44787         * stdio-common/tst-printf.sh: Likewise.
44788         * stdio-common/tst-unbputc.sh: Likewise.
44789         * stdlib/tst-fmtmsg.sh: Likewise.
44790         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44791         * catgets/Makefile: Do not specify -e option when running
44792         testsuite shell scripts.
44793         * elf/Makefile: Likewise.
44794         * grp/Makefile: Likewise.
44795         * iconvdata/Makefile: Likewise.
44796         * intl/Makefile: Likewise.
44797         * io/Makefile: Likewise.
44798         * libio/Makefile: Likewise.
44799         * malloc/Makefile: Likewise.
44800         * posix/Makefile: Likewise.
44801         * stdio-common/Makefile: Likewise.
44802         * stdlib/Makefile: Likewise.
44803         * sysdeps/x86_64/Makefile: Likewise.
44805         * io/ftwtest-sh: Add copyright header.
44806         * posix/globtest.sh: Likewise.
44807         * posix/tst-getconf.sh: Likewise.
44808         * posix/wordexp-tst.sh: Likewise.
44809         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44811 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44813         [BZ #13679]
44814         * Makeconfig (+link): Defined as $(+link-static) if
44815         $(build-shared) isn't yes.
44816         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44817         isn't yes.
44818         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44820         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44822         [BZ #14562]
44823         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44824         new chunk size with MALLOC_ALIGN_MASK.
44826 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44828         [BZ #5044]
44829         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44830         <rounding-mode.h>.
44831         (__printf_fphex): Determine rounding using get_rounding_mode and
44832         round_away.
44833         * stdio-common/tst-printf-round.c (struct hex_test): New
44834         structure.
44835         (hex_tests): New variable.
44836         (test_hex_in_one_mode): New function.
44837         (do_test): Also run tests for hex float output.
44839 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44841         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44842         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44843         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44844         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44845         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44846         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44847         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44848         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44850 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44852         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44853         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44854         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44855         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44857 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44859         [BZ #14579]
44860         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44861         mode only.
44862         * elf/tst-rtld-load-self.sh: New test.
44863         * elf/Makefile: Run it.
44865 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44867         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44868         (tst-writev-ENV): Remove.
44869         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44871 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44873         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44875 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44877         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44878         unconditional.
44879         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44880         Likewise.
44881         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44882         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44883         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44884         Likewise.
44886 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44888         [BZ #14587]
44889         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44890         * config.make.in (have-cpp-asm-debuginfo): Removed.
44891         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44892         * configure: Regenerated.
44894 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44896         [BZ #5044]
44897         * stdio-common/printf_fp.c: Include <stdbool.h> and
44898         <rounding-mode.h>.
44899         (___printf_fp): Determine rounding using get_rounding_mode and
44900         round_away.
44901         * stdio-common/tst-printf-round.c: New file.
44902         * stdio-common/Makefile (tests): Add tst-printf-round.
44903         (link-libm): New variable.
44904         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44906 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44908         [BZ #14576]
44909         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44910         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44911         Likewise.
44912         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44913         Likewise.
44915 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44917         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44918         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44919         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44920         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44922 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44924         [BZ #14518]
44925         * include/rounding-mode.h: New file.
44926         * sysdeps/generic/get-rounding-mode.h: Likewise.
44927         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44928         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44929         (MAX_VALUE): New macro.
44930         (MIN_VALUE): Likewise.
44931         (overflow_value): New function.
44932         (underflow_value): Likewise.
44933         (round_and_return): Use overflow_value and underflow_value to
44934         determine return values in overflow and underflow cases.  Use
44935         round_away to determine rounding depending on rounding mode.
44936         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44937         determine return values in overflow and underflow cases.
44938         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44939         (struct test_results): New structure.
44940         (struct test): Use struct test_results to store expected results
44941         for all rounding modes.
44942         (TEST): Include expected results for all rounding modes.
44943         (test_in_one_mode): New function.
44944         (do_test): Use test_in_one_mode to compute and check results.
44945         Check results for all rounding modes.
44946         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44947         $(link-libm).
44949 2012-12-09  Allan McRae  <allan@archlinux.org>
44951         * sysdeps/i386/fpu/libm-test-ulps: Update
44953 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44955         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44956         (_G_int32_t): Likewise.
44957         (_G_uint16_t): Likewise.
44958         (_G_uint32_t): Likewise.
44959         (_G_HAVE_BOOL): Likewise.
44960         (_G_HAVE_ATEXIT): Likewise.
44961         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44962         (_G_HAVE_IO_FILE_OPEN): Likewise.
44963         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44964         (_G_int32_t): Likewise.
44965         (_G_uint16_t): Likewise.
44966         (_G_uint32_t): Likewise.
44967         (_G_HAVE_BOOL): Likewise.
44968         (_G_HAVE_ATEXIT): Likewise.
44969         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44970         (_G_HAVE_IO_FILE_OPEN): Likewise.
44971         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44972         (_G_int32_t): Likewise.
44973         (_G_uint16_t): Likewise.
44974         (_G_uint32_t): Likewise.
44975         (_G_HAVE_BOOL): Likewise.
44976         (_G_HAVE_ATEXIT): Likewise.
44977         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44978         (_G_HAVE_IO_FILE_OPEN): Likewise.
44980 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44982         * csu/libc-tls.c: Update copyright years.
44984 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44986         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44987         [!_G_USING_THUNKS]: Remove conditional code.
44988         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44989         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44991         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44992         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44993         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44994         (_G_VTABLE_LABEL_PREFIX): Likewise.
44995         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44996         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44997         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44998         (_G_VTABLE_LABEL_PREFIX): Likewise.
44999         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45000         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45001         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45002         (_G_VTABLE_LABEL_PREFIX): Likewise.
45003         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45005 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45007         * libio/Makefile: Include ../Makeconfig before tests.
45008         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45009         only if $(build-shared) is yes.
45011         * iconv/gconv_db.c: Update copyright years.
45013 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45015         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45016         unwind info if defined PIC. Fix special cases description.
45017         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45019         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45020         DP_HI_MASK entry.
45021         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45023 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45025         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45027         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45028         is NULL.
45030         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45031         (LDLIBS-tst-chk4): This.
45032         (LDFLAGS-tst-chk5): Renamed to ...
45033         (LDLIBS-tst-chk5): This.
45034         (LDFLAGS-tst-chk6): Renamed to ...
45035         (LDLIBS-tst-chk6): This.
45036         (LDFLAGS-tst-lfschk4): Renamed to ...
45037         (LDLIBS-tst-lfschk4): This.
45038         (LDFLAGS-tst-lfschk5): Renamed to ...
45039         (LDLIBS-tst-lfschk5): This.
45040         (LDFLAGS-tst-lfschk6): Renamed to ...
45041         (LDLIBS-tst-lfschk6): This.
45043         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45044         on $(common-objpfx)soversions.mk.
45046 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45048         [BZ #10014]
45049         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45050         example host name.
45052 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45054         * malloc/arena.c (arena_get_retry): New function that gets
45055         another arena for the caller to try its request on.
45056         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45057         current arena cannot fulfill the request.
45058         (__libc_memalign): Likewise.
45059         (__libc_memalign): Likewise.
45060         (__libc_pvalloc): Likewise.
45061         (__libc_calloc): Likewise.
45063 2012-09-05  John Tobey  <john.tobey@gmail.com>
45065         [BZ #13542]
45066         * manual/arith.texi (Operations on Complex): Fix description
45067         of carg branch cut.
45069 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45071         [BZ #10014]
45072         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45073         host name.
45075         [BZ #10038]
45076         * manual/memory.texi (Memory): Make order of menu items match
45077         order of sections.
45079 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45081         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45082         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45083         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45085 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45087         * csu/libc-tls.c (static_dtv): Renamed to ...
45088         (_dl_static_dtv): This.  Make it global.
45089         (_dl_initial_dtv): Removed.
45090         (__libc_setup_tls): Updated.
45091         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45092         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45093         DL_INITIAL_DTV.
45095 2012-09-06  Petr Machata  <pmachata@redhat.com>
45097         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45098         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45099         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45100         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45102 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45104         [BZ #14545]
45105         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45106         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45107         freeing dtv[-1].
45109 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45111         [BZ #14544]
45112         * Makeconfig (link-static-before-libc): Replace $(+prector)
45113         with $(+prectorT).
45114         (link-static-after-libc): Replace $(+postctor) with
45115         $(+postctorT).
45116         (link-bounded): Replace $(+prector)/$(+postctor) with
45117         $(+prectorT)/$(+postctorT).
45118         (+prectorT): New macro.
45119         (+postctorT): Likewise.
45121 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45123         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45124         (round_str): Handle values above the maximum for IBM long double
45125         as inexact.
45126         * stdlib/tst-strtod-round.c (tests): Regenerated.
45128 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45130         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45131         assembler flag.
45132         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45133         zarch_nohighgprs around the zarch optimized routines.
45134         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45135         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45136         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45137         for zarch.
45139 2012-09-05  David S. Miller  <davem@davemloft.net>
45141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45143         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45144         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45145         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45146         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45147         entries.
45149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45151         * malloc/arena.c: Fold copyright years.
45152         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45156         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45160         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45164         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45165         change internal state upon failure.
45167 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45169         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45170         * malloc/memusage.c (mmap): Likewise.
45171         (mmap64, mremap): Likewise.  Adjust name in comment.
45173 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45175         * libio/fileops.c: Fix typos in comments.
45176         * libio/oldfileops.c: Likewise.
45177         * libio/wfileops.c: Likewise.
45179 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45181         [BZ #1349]
45182         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45183         (tst-malloc-usable-ENV): Set environment for test case.
45184         * malloc/hooks.c (malloc_check_get_size): New function to get
45185         requested size.
45186         * malloc/malloc.c (musable): Use malloc_check_get_size.
45187         * malloc/tst-malloc-usable.c: New test case.
45189 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45191         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45193 2012-09-05  Allan McRae  <allan@archlinux.org>
45195         [BZ #13966]
45196         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45197         determine header location.
45198         * configure: Regenerated.
45200 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45202         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45203         float format.
45204         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45205         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45206         format.
45207         (test): Regenerate.
45209 2012-09-04  David S. Miller  <davem@davemloft.net>
45211         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45212         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45213         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45215 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45217         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45218         failures.
45220         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45222 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45224         [BZ #9914]
45225         * libio/iogetdelim.c: Include <limits.h>.
45226         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45227         + len + 1 would overflow.
45229 2012-09-03  Andreas Jaeger  <aj@suse.de>
45231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45232         * sysdeps/i386/fpu/libm-test-ulps: Update.
45234 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45236         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45237         Add s_sinf-sse2, s_conf-sse2.
45239         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45240         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45241         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45242         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45244         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45245         for using routine as __sinf_ia32.
45246         Use macro for function declaration and weak_alias.
45247         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45248         for using routine as __cosf_ia32.
45249         Use macro for function declaration and weak_alias.
45251         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45252         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45254         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45255         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45258         * math/libm-test.inc (cos_test): Add more test cases.
45259         (sin_test): Likewise.
45260         (sincos_test): Likewise.
45262 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45264         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45265         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45266         hidden.
45267         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45269 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45271         [BZ #14538]
45272         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45273         first element of the GOT.
45274         (elf_machine_load_address): Return the difference between
45275         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45277 2012-09-01  Allan McRae  <allan@archlinux.org>
45279         [BZ #13412]
45280         * configure.in (AWK): Require gawk version 3.0 or later.
45281         * configure: Regenerated.
45283 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45285         * sysdeps/unix/sysv/linux/kernel-features.h
45286         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45287         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45288         [__NR_clock_getres]: Make code unconditional.
45289         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45290         (clock_getcpuclockid): Remove code left unreachable by removal of
45291         conditionals.
45292         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45293         code unconditional.
45294         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45295         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45296         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45297         Make code unconditional.
45298         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45300         * sysdeps/unix/sysv/linux/clock_settime.c
45301         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45302         conditional code.
45303         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45304         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45306 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45308         [BZ #14476]
45309         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45310         scripts/test-installation.pl.
45312         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45313         and $ld_so_version if it is set.
45315 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45317         [BZ #14516]
45318         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45319         failure if reading from procfs failed.
45320         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45322 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45324         * sysdeps/unix/sysv/linux/kernel-features.h
45325         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45326         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45327         Remove conditional code.
45328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45329         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45330         Remove conditional code.
45331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45332         * sysdeps/unix/sysv/linux/i386/fxstat.c
45333         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45335         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45336         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45337         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45338         * sysdeps/unix/sysv/linux/i386/lxstat.c
45339         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45341         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45342         Remove conditional code.
45343         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45344         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45345         Remove conditional code.
45346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45347         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45348         <kernel-features.h>.
45349         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45350         Remove.
45351         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45352         Remove conditional code.
45353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45354         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45355         Remove conditional.
45357 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45359         [BZ #5400]
45360         * NEWS: Add fixed bug number.
45362 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45364         [BZ #14519]
45365         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45366         underflowing exponent in case of negative sign.
45367         * stdlib/tst-strtod-round-data: Add more tests.
45368         * stdlib/tst-strtod-round.c (tests): Regenerated.
45370         [BZ #3479]
45371         * stdlib/strtod_l.c (NDIG): Remove.
45372         (HEXNDIG): Likewise.
45373         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45374         smallest representable value.
45375         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45376         lie within an exact representation of 1/2 ulp of the result.
45377         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45378         unconditionally.
45379         (TENS_P9_IDX): Define unconditionally.
45380         (TENS_P9_SIZE): Likewise.
45381         (TENS_P10_IDX): Likewise.
45382         (TENS_P10_SIZE): Likewise.
45383         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45384         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45385         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45386         entries for 10^2^13 and 10^2^14.
45387         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45388         (TENS_P13_IDX): Define.
45389         (TENS_P13_SIZE): Likewise.
45390         (TENS_P14_IDX): Likewise.
45391         (TENS_P14_SIZE): Likewise.
45392         (_fpioconst_pow10): Change array size to
45393         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45394         unconditional.
45395         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45396         1024]: Add entries for 10^2^13 and 10^2^14.
45397         [LAST_POW10 > _LAST_POW10]: Remove #error.
45398         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45399         (_fpioconst_pow10): Change array size to
45400         FPIOCONST_POW10_ARRAY_SIZE.
45401         * stdlib/gen-fpioconst.c: New file.
45402         * stdlib/gen-tst-strtod-round.c: Likewise.
45403         * stdlib/tst-strtod-round-data: Likewise.
45404         * stdlib/tst-strtod-round.c: Likewise.
45405         * stdlib/Makefile (tests): Add tst-strtod-round.
45407         [BZ #14459]
45408         * stdlib/strtod_l.c: Include <stdint.h>.
45409         (NDEBUG): Do not define.
45410         (round_and_return): Change EXPONENT parameter to type intmax_t.
45411         Rearrange calculations to avoid internal overflow possibilities.
45412         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45413         Rearrange calculations to avoid internal overflow possibilities.
45414         Assert that number fits inside MPNSIZE limbs.
45415         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45416         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45417         calculations and add assertions to avoid internal overflow
45418         possibilities.  Add casts to avoid signed/unsigned operations.
45419         * stdlib/tst-strtod-overflow.c: New file.
45420         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45422 2012-08-25  Marek Polacek  <polacek@redhat.com>
45424         * time/time.h: Fix some typos in comments.
45426 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45428         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45429         * posix/tst-rfc3484-2.c: Likewise.
45430         * posix/tst-rfc3484-3.c: Likewise.
45432 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45434         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45435         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45437 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45439         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45440         #include of fxstatat64.c.
45442 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45444         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45445         * shadow/getspent_r.c: Likewise.
45446         * shadow/getspnam.c: Likewise.
45447         * shadow/getspnam_r.c: Likewise.
45448         * gshadow/getsgent.c: Likewise.
45449         * gshadow/getsgent_r.c: Likewise.
45450         * gshadow/getsgnam.c: Likewise.
45451         * gshadow/getsgnam_r.c: Likewise.
45452         * inet/getnetbyad.c: Likewise.
45453         * inet/getnetbyad_r.c: Likewise.
45454         * inet/getnetbynm.c: Likewise.
45455         * inet/getnetbynm_r.c: Likewise.
45456         * inet/getnetent.c: Likewise.
45457         * inet/getnetent_r.c: Likewise.
45458         * inet/getproto.c: Likewise.
45459         * inet/getproto_r.c: Likewise.
45460         * inet/getprtent.c: Likewise.
45461         * inet/getprtent_r.c: Likewise.
45462         * inet/getprtname.c: Likewise.
45463         * inet/getprtname_r.c: Likewise.
45464         * inet/getrpcbyname.c: Likewise.
45465         * inet/getrpcbyname_r.c: Likewise.
45466         * inet/getrpcbynumber.c: Likewise.
45467         * inet/getrpcbynumber_r.c: Likewise.
45468         * inet/getrpcent.c: Likewise.
45469         * inet/getrpcent_r.c: Likewise.
45470         * inet/getaliasent.c: Likewise.
45471         * inet/getaliasent_r.c: Likewise.
45472         * inet/getaliasname.c: Likewise.
45473         * inet/getaliasname_r.c: Likewise.
45474         * nscd/getgrgid_r.c: Likewise.
45475         * nscd/getgrnam_r.c: Likewise.
45476         * nscd/gethstbyad_r.c: Likewise.
45477         * nscd/gethstbynm3_r.c: Likewise.
45478         * nscd/getpwnam_r.c: Likewise.
45479         * nscd/getpwuid_r.c: Likewise.
45480         * nscd/getsrvbynm_r.c: Likewise.
45481         * nscd/getsrvbypt_r.c: Likewise.
45482         * nscd/gai.c: Likewise.
45484         * configure.in (build_nscd): New substituted variable, set
45485         by --disable-build-nscd and defaults to $use_nscd.
45486         * configure: Regenerated.
45487         * config.make.in (build-nscd): New substituted variable.
45488         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45489         Change conditional to require [$(build-nscd) = yes] as well.
45490         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45492         [BZ# 13696]
45493         * configure.in (use_nscd): New substituted variable, set by
45494         --disable-nscd.  If enabled, define USE_NSCD.
45495         * configure: Regenerated.
45496         * config.h.in: Add USE_NSCD.
45497         * config.make.in (use-nscd): New substituted variable.
45498         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45499         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45500         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45501         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45502         (CFLAGS-getgrnam_r.c): Likewise.
45503         (CFLAGS-initgroups.c): Likewise.
45504         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45505         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45506         Variables removed.
45507         * inet/getnetgrent_r.c
45508         (nscd_setnetgrent): New function, broken out of ...
45509         (setnetgrent): ... here.  Call it.
45510         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45511         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45512         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45513         * nscd/Makefile (routines, aux): Move definitions after include of
45514         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45515         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45516         Conditionalize on [USE_NSCD].
45517         (is_nscd, nscd_init_cb): Likewise.
45518         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45519         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45520         * nss/nss_db/db-init.c: Likewise.
45521         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45522         [USE_NSCD].
45523         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45524         (make_request): Use it.
45525         (cache_valid_p): New function.
45526         (__check_pf): Use it.
45527         * NEWS: Add item for --disable-nscd.
45529 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45531         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45532         to support sed >= 4.2.1-20-ga9bf076.
45533         * configure: Regenerated.
45535 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45537         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45538         Conditionalize whole body on [IREL].
45540 2012-08-22  Jeff Law <law@redhat.com>
45542         [BZ #14505]
45543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45544         if the family is PF_UNSPEC.
45546 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45548         * Makerules (lib-version): Rename from V.
45549         (install-lib-nosubdir): Change V to lib-version.
45551 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45553         [BZ #14252]
45554         * powerpc32/power6/wcschr.c: New file.
45555         * powerpc32/power6/wcscpy.c: New file.
45556         * powerpc32/power6/wcsrchr.c: New file.
45557         * powerpc64/power6/wcschr.c: New file.
45558         * powerpc64/power6/wcscpy.c: New file.
45559         * powerpc64/power6/wcsrchr.c: New file.
45561 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45563         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45564         (two_way_short_needle): Use it.
45565         * string/strstr.c (AVAILABLE1_USES_J): Define.
45566         * string/strcasestr.c: Likewise.
45568         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45569         array references.
45570         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45572         [BZ #11607]
45573         * NEWS: Add an entry.
45574         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45575         define their defaults.
45576         (two_way_short_needle): Detect end-of-string on-the-fly.
45577         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45578         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45579         * string/bug-strcasestr1.c: New test.
45580         * string/Makefile: Run it.
45582 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45584         [BZ #11607]
45585         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45586         the first character.
45588 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45590         * csu/elf-init.c (__libc_csu_irel): Function removed.
45591         * csu/libc-start.c (apply_irel): New function.
45592         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45594 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45596         * sysdeps/unix/sysv/linux/kernel-features.h
45597         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45598         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45599         <kernel-features.h>.
45600         [__NR_fadvise64_64]: Make code unconditional.
45601         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45602         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45603         !__NR_fadvise64_64)]: Likewise.
45604         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45605         !__NR_fadvise64_64))]: Likewise.
45606         [__NR_fadvise64]: Make code unconditional.
45607         [!__NR_fadvise64]: Remove conditional code.
45608         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45609         <kernel-features.h>.
45610         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45611         unconditional.
45612         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45613         conditional code.
45614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45615         not include <kernel-features.h>.
45616         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45617         unconditional.
45618         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45619         conditional code.
45620         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45621         include <kernel-features.h>.
45622         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45623         unconditional.
45624         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45625         conditional code.
45627 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45629         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45630         slight instruction rearrangements per scrollpipe analysis.
45631         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45633 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45635         * manual/syslog.texi (syslog; vsyslog, closelog):
45636         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45637         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45639         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45640         DSOCAPS to match condition on defining it.
45642 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45644         * sysdeps/unix/sysv/linux/kernel-features.h
45645         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45647         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45648         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45650         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45651         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45653         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45654         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45656         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45657         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45659         * sysdeps/unix/sysv/linux/kernel-features.h
45660         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45661         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45662         unconditional.
45663         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45664         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45665         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45666         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45667         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45668         Make code unconditional.
45669         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45670         (__mmap64) [!__NR_mmap2]: Likewise.
45671         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45672         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45673         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45674         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45675         [__NR_mmap2]: Make code unconditional.
45676         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45677         (__mmap64) [!__NR_mmap2]: Likewise.
45679 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45681         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45683 2012-08-18  Andreas Jaeger  <aj@suse.de>
45685         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45687 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45689         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45690         * include/unistd.h (__have_sock_cloexec): Likewise.
45691         (__have_pipe2): Likewise.
45692         (__have_dup3): Likewise.
45694 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45696         [BZ #9685]
45697         * include/unistd.h (__have_pipe2): Change define into an extern int.
45698         (__have_dup3): Likewise.
45699         * socket/have_sock_cloexec.c: Include fcntl.h.
45700         (__have_pipe2): New variable.
45701         (__have_dup3): Likewise.
45703 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45705         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45707 2012-08-17  Marek Polacek  <polacek@redhat.com>
45709         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45710         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45712 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45714         * configure.in: Add AC_SUBST for sysheaders.
45715         * configure: Regenerated.
45716         * config.make.in (sysheaders): New substituted variable.
45718         * sysdeps/unix/mkfifo.c: Moved ...
45719         * sysdeps/posix/mkfifo.c: ... here.
45720         * sysdeps/unix/mkfifoat.c: Moved ...
45721         * sysdeps/posix/mkfifoat.c: ... here.
45723         * sysdeps/unix/utime.c: Moved ...
45724         * sysdeps/posix/utime.c: ... here.
45726         * sysdeps/unix/time.c: Moved ...
45727         * sysdeps/posix/time.c: ... here.
45728         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45729         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45731         * sysdeps/unix/nice.c: Moved ...
45732         * sysdeps/posix/nice.c: ... here.
45734         * sysdeps/unix/alarm.c: Moved ...
45735         * sysdeps/posix/alarm.c: ... here.
45737         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45739 2012-08-17  Jeff Law <law@redhat.com>
45741         * intl/Makefile (codeset_mo): New variable.
45742         ($(codeset_mo)): New target.
45743         (tst-codeset.out): Depend on that.  Remove explicit rule.
45744         (tst-gettext3.out, tst-gettext5.out): Likewise.
45745         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45746         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45747         * intl/tst-codeset.sh: Remove.
45748         * intl/tst-gettext3.sh: Likewise.
45749         * intl/tst-gettext5.sh: Likewise.
45751 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45753         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45754         * sysdeps/unix/syscalls.list: ... here.
45756         * sysdeps/posix/getaddrinfo.c
45757         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45758         (gaiconf_init, gaiconf_reload): Use them.
45759         [!_STATBUF_ST_NSEC]
45760         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45761         Define using time_t rather than struct timespec.
45763         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45764         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45765         Macros removed.
45766         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45767         [!NO_THREADS].
45768         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45769         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45770         Likewise.
45772         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45773         __libc_cleanup_push argument.
45775         * bits/param.h: New file.
45776         * misc/sys/param.h: New file.
45777         * include/sys/param.h: New file.
45778         * misc/Makefile (headers): Add bits/param.h.
45779         * sysdeps/generic/sys/param.h: File removed.
45780         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45781         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45782         * sysdeps/mach/hurd/bits/param.h: New file.
45783         * sysdeps/mach/hurd/sys/param.h: File removed.
45785         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45786         last change.
45788         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45789         [_IO_MTSAFE_IO].
45790         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45791         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45792         New macros.
45794         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45795         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45796         rather than -D_IO_MTSAFE_IO conditionally.
45797         * stdio-common/Makefile (CPPFLAGS): Likewise.
45798         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45799         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45800         Use $(libio-mtsafe).
45801         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45802         of -D_IO_MTSAFE_IO.
45803         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45804         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45805         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45806         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45807         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45808         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45809         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45810         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45811         (CFLAGS-fread_u_chk.c): Likewise.
45812         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45813         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45814         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45815         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45816         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45817         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45818         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45819         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45820         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45822         * libio/Makefile: Test [$(libc-reentrant) = yes]
45823         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45825         * Makeconfig
45826         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45827         * sysdeps/pthread/configure: File removed.
45828         * sysdeps/pthread/Makeconfig: New file.
45829         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45830         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45832 2012-08-16  Gary Benson  <gbenson@redhat.com>
45834         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45835         unmapping the first object in a namespace.
45837 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45839         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45840         (__internal_setnetgrent): ... this.  Add internal_function to
45841         definition.  Add libc_hidden_def.
45842         (setnetgrent): Update caller.
45843         (internal_endnetgrent): Renamed to ...
45844         (__internal_endnetgrent): ... this.  Add internal_function to
45845         definition.  Add libc_hidden_def.
45846         (endnetgrent): Update caller.
45847         (internal_getnetgrent_r): Renamed to ...
45848         (__internal_getnetgrent_r): ... this.  Add internal_function to
45849         definition.  Add libc_hidden_def.
45850         (__getnetgrent_r): Update caller.
45851         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45853 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45855         * stdlib/longlong.h: Update from GCC.
45857 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45859         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45860         on _QL, which is set by umul_ppmm but never used.
45861         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45862         variables, which are set by GMP macros but never used.
45863         * stdio-common/_itowa.c (_itowa): Likewise.
45864         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45865         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45867 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45869         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45870         struct La_sh_regs is not constant.
45871         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45872         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45873         and struct La_sparc64_regs are not constant.
45875 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45877         * sysdeps/unix/sysv/linux/kernel-features.h
45878         (__ASSUME_POSIX_TIMERS): Remove.
45879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45881         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45882         Make code unconditional.
45883         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45884         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45885         Make code unconditional.
45886         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45887         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45888         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45889         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45890         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45891         Make code unconditional.
45892         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45893         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45894         (__libc_missing_posix_timers): Remove.
45896 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45898         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45899         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45901         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45903         * elf/dl-sym.c: Include <stdlib.h>.
45905         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45906         constants, which avoids warnings in 32-bit builds.
45908         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45909         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45911         * misc/lseek.c: File moved to ...
45912         * io/lseek.c: ... here.
45914         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45916         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45917         shifting LEN more than 31 bits at once.
45919 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45921         [BZ #14195]
45922         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45923         segmentation fault for a case of two empty input strings.
45924         * string/test-strncasecmp.c (check1): Renamed to...
45925         (bz12205): ...this.
45926         (bz14195): Add new testcase for two empty input strings and N > 0.
45927         (test_main): Call new testcase, adapt for renamed function.
45929 2012-08-15  Andreas Jaeger  <aj@suse.de>
45931         [BZ #14090]
45932         * crypt/md5test2.c: New test, based on test supplied by Serge
45933         Belyshev <belyshev@depni.sinp.msu.ru>.
45934         * crypt/Makefile (xtests): Add md5test-giant..
45935         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45937 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45939         [BZ #14090]
45940         * crypt/md5.c (md5_process_block): Don't assume the buffer
45941         length is less than 2**32.
45942         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45943         length is less than 2**64.
45945 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45947         * string/str-two-way.h: Include <sys/param.h>.
45948         (MAX): Macro removed.
45950         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45951         Move #define and #undef of memmove to just before and after
45952         including <string.h>.
45954         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45955         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45956         and after including <string.h>.  Move declarations of
45957         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45958         to before #include "string/memmove.c".
45960         * include/dirent.h: Declare __getdirentries.
45962         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45963         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45965 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45967         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45968         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45969         * sysdeps/i386/configure: Regenerated.
45970         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45971         STABS_CURRENT_FILE, and STABS_FUN.
45972         (END): Remove call to STABS_FUN_END.
45973         (STABS_CURRENT_FILE1): Delete.
45974         (STABS_CURRENT_FILE): Likewise.
45975         (STABS_FUN): Likewise.
45976         (STABS_FUN_END): Likewise.
45977         (STABS_FUN2): Likewise.
45978         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45979         * sysdeps/x86_64/configure: Regenerated.
45981 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45983         * elf/dl-open.c: Include <atomic.h>.
45984         * elf/dl-lookup.c: Likewise.
45986 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45988         * sysdeps/unix/sysv/linux/kernel-features.h
45989         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45990         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45991         unconditionally.
45992         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45993         unconditionally.
45994         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45995         condition on __ASSUME_CLONE_THREAD_FLAGS.
45997 2012-08-14  Andreas Jaeger  <aj@suse.de>
45999         * sysdeps/i386/fpu/libm-test-ulps: Update.
46001 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46003         * include/atomic.h (atomic_exchange_and_add): Split into ...
46004         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46005         New atomic macros.
46007 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46011 2012-08-13  Jeff Law <law@redhat.com>
46013         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46014         null byte in the output string.
46016 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46018         * sysdeps/unix/sysv/linux/kernel-features.h
46019         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46020         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46021         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46022         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46023         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46024         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46025         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46027 2012-08-09  Jeff Law <law@redhat.com>
46029         [BZ #13939]
46030         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46031         When avoid_arena is set, don't retry in the that arena.  Pick the
46032         next one, whatever it might be.
46033         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46034         (arena_lock): Pass in new parameter to arena_get2.
46035         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46036         arena_get2.
46037         (__libc_malloc): Unify retrying after main arena failure with
46038         __libc_memalign version.
46039         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46041 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46043         [BZ #14166]
46044         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46045         to __redirect_strstr.
46046         (__strstr_sse42): Use typeof __redirect_strstr.
46047         (__strstr_ia32): Likewise.
46048         (__libc_strstr): New prototype.
46049         (strstr): Renamed to ...
46050         (__libc_strstr): This.
46051         (strstr): New strong alias of __libc_strstr.
46052         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46053         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46054         __redirect_time.
46055         Include <time.h>.
46056         (__libc_time): New prototype.
46057         (time_ifunc): Replace time with __libc_time.
46058         (time): New strong alias and hidden definition of __libc_time.
46059         (__GI_time): Remove strong alias.
46060         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46061         Include <stddef.h>.
46062         (memmove): Redefined to __redirect_memmove.
46063         (__memmove_sse2): Use typeof __redirect_memmove.
46064         (__memmove_ssse3): Likewise.
46065         (__memmove_ssse3_back): Likewise.
46066         (__libc_memmove): New prototype.
46067         (memmove): Renamed to ...
46068         (__libc_memmove): This.
46069         (memmove): New strong alias of __libc_memmove.
46071 2012-08-08  Mark Salter  <msalter@redhat.com>
46073         * elf/elf.h
46074         (R_MN10300_TLS_GD): Define.
46075         (R_MN10300_TLS_LD): Likewise.
46076         (R_MN10300_TLS_LDO): Likewise.
46077         (R_MN10300_TLS_GOTIE): Likewise.
46078         (R_MN10300_TLS_IE): Likewise.
46079         (R_MN10300_TLS_LE): Likewise.
46080         (R_MN10300_TLS_DTPMOD): Likewise.
46081         (R_MN10300_TLS_DTPOFF): Likewise.
46082         (R_MN10300_TLS_TPOFF): Likewise.
46083         (R_MN10300_SYM_DIFF): Likewise.
46084         (R_MN10300_ALIGN): Likewise.
46085         (R_MN10300_NUM): Update.
46087 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46090         Remove.
46092 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46094         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46096         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46097         sysdeps/unix -> sysdeps/posix move.
46098         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46100 2012-08-07      Allan McRae     <allan@archlinux.org>
46102         [BZ #14303]
46103         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46104         (SUNOS_CPP): Likewise.
46105         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46106         not found.
46107         (open_input): Call CPP using execvp.
46109 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46111         * sysdeps/unix/sysv/linux/kernel-features.h
46112         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46113         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46114         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46115         (__ASSUME_WAITID_SYSCALL): Likewise.
46116         * sysdeps/unix/sysv/linux/dl-execstack.c
46117         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46118         code unconditional.
46119         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46120         conditional code.
46121         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46122         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46123         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46124         code.
46125         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46126         unconditional.
46127         [__ASSUME_WAITID_SYSCALL]: Likewise.
46128         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46130 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46132         * sysdeps/unix/closedir.c: Renamed to ...
46133         * sysdeps/posix/closedir.c: ... here.
46134         * sysdeps/unix/dirfd.c: Renamed to ...
46135         * sysdeps/posix/dirfd.c: ... here.
46136         * sysdeps/unix/dirstream.h: Renamed to ...
46137         * sysdeps/posix/dirstream.h: ... here.
46138         * sysdeps/unix/fdopendir.c: Renamed to ...
46139         * sysdeps/posix/fdopendir.c: ... here.
46140         * sysdeps/unix/opendir.c: Renamed to ...
46141         * sysdeps/posix/opendir.c: ... here.
46142         * sysdeps/unix/readdir.c: Renamed to ...
46143         * sysdeps/posix/readdir.c: ... here.
46144         * sysdeps/unix/readdir_r.c: Renamed to ...
46145         * sysdeps/posix/readdir_r.c: ... here.
46146         * sysdeps/unix/rewinddir.c: Renamed to ...
46147         * sysdeps/posix/rewinddir.c: ... here.
46148         * sysdeps/unix/seekdir.c: Renamed to ...
46149         * sysdeps/posix/seekdir.c: ... here.
46150         * sysdeps/unix/telldir.c: Renamed to ...
46151         * sysdeps/posix/telldir.c: ... here.
46152         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46153         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46154         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46155         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46157         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46158         * bits/fcntl.h: ... here.
46160         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46161         not 0.
46162         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46163         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46164         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46165         (struct flock): Move l_start, l_len to the beginning.
46166         Use __pid_t for l_pid.
46167         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46168         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46169         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46170         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46171         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46172         [__USE_LARGEFILE64] (struct flock64): New type.
46173         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46175         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46176         * bits/dirent.h: ... here.
46178         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46179         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46181 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46183         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46184         Change from 2.6.0 to 2.6.16.
46185         * sysdeps/unix/sysv/linux/configure: Regenerated.
46186         * sysdeps/unix/sysv/linux/kernel-features.h
46187         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46188         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46189         version.
46190         (__ASSUME_UTIMES): Likewise.
46191         (__ASSUME_CLONE_STOPPED): Remove.
46192         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46193         architectures, not kernel version.
46194         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46195         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46196         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46197         (__ASSUME_WAITID_SYSCALL): Likewise.
46198         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46199         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46200         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46201         refer to older versions.
46203 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46205         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46206         Define alphasort64 as an alias.
46207         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46208         Define versionsort64 as an alias.
46209         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46210         Define scandir64 as an alias.
46211         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46212         Define scandirat64 as an alias.
46213         * dirent/alphasort64.c (alphasort64):
46214         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46215         * dirent/versionsort64.c: Likewise.
46216         * dirent/scandir64.c: Likewise.
46217         * dirent/scandirat64.c: Likewise.
46218         * sysdeps/wordsize-64/alphasort.c: File removed.
46219         * sysdeps/wordsize-64/alphasort64.c: File removed.
46220         * sysdeps/wordsize-64/scandir.c: File removed.
46221         * sysdeps/wordsize-64/scandir64.c: File removed.
46222         * sysdeps/wordsize-64/scandirat.c: File removed.
46223         * sysdeps/wordsize-64/scandirat64.c: File removed.
46224         * sysdeps/wordsize-64/versionsort.c: File removed.
46225         * sysdeps/wordsize-64/versionsort64.c: File removed.
46226         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46228         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46229         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46230         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46231         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46232         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46233         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46235         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46236         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46237         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46238         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46239         [defined __arch64__ || defined __sparcv9]
46240         (__INO_T_MATCHES_INO64_T): New macro.
46241         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46242         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46243         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46244         * sysdeps/unix/sysv/linux/bits/dirent.h
46245         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46246         (_DIRENT_MATCHES_DIRENT64): New macro.
46248         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46249         Define lockf64 as an alias.
46250         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46251         Define fseeko64 as an alias.
46252         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46253         Define ftello64 as an alias.
46254         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46255         Define _IO_fgetpos64 and fgetpos64 as aliases.
46256         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46257         Define _IO_fsetpos64 and fsetpos64 as aliases.
46258         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46259         Conditionalize body on this.
46260         * libio/fseeko64.c: Likewise.
46261         * libio/ftello64.c: Likewise.
46262         * libio/iofgetpos64.c: Likewise.
46263         * libio/iofsetpos64.c: Likewise.
46264         * sysdeps/wordsize-64/lockf.c: File removed.
46265         * sysdeps/wordsize-64/lockf64.c: File removed.
46266         * sysdeps/wordsize-64/fseeko.c: File removed.
46267         * sysdeps/wordsize-64/fseeko64.c: File removed.
46268         * sysdeps/wordsize-64/ftello.c: File removed.
46269         * sysdeps/wordsize-64/ftello64.c: File removed.
46270         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46271         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46272         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46273         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46274         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46275         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46276         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46277         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46278         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46279         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46280         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46281         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46282         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46283         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46285         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46286         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46287         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46289         [defined __arch64__ || defined __sparcv9]
46290         (__OFF_T_MATCHES_OFF64_T): New macro.
46291         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46292         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46293         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46294         (__OFF_T_MATCHES_OFF64_T): New macro.
46296 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46298         * stdlib/secure-getenv.c (__secure_getenv): Replace
46299         GLIBC_2_16 with GLIBC_2_17.
46301 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46303         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46304         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46306 2012-08-03  David S. Miller  <davem@davemloft.net>
46308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46310 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46313         Remove.
46314         (__ASSUME_CORRECT_SI_PID): Likewise.
46315         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46316         (__ASSUME_TMPFS_NAME): Likewise.
46317         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46318         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46319         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46320         (HAVE_AUX_SECURE): Make definition unconditional.
46321         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46322         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46324 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46326         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46327         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46328         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46329         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46330         __eloop_threshold instead of SYMLOOP_MAX.
46332         * sysdeps/generic/eloop-threshold.h: New file.
46333         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46334         of MAXSYMLINKS.
46335         * elf/chroot_canon.c (chroot_canon): Likewise.
46337 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46339         [BZ #13717]
46340         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46341         Change to 2.6.0 everywhere.
46342         * sysdeps/unix/sysv/linux/configure: Regenerated.
46343         * sysdeps/unix/sysv/linux/kernel-features.h
46344         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46345         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46346         kernel versions.
46347         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46348         (__ASSUME_FUTEX_REQUEUE): Remove.
46349         (__ASSUME_STATFS64): Define unconditionally.
46350         (__ASSUME_AT_SECURE): Likewise.
46351         (__ASSUME_CORRECT_SI_PID): Likewise.
46352         (__ASSUME_TGKILL): Define without depending on kernel version for
46353         i386.
46354         (__ASSUME_UTIMES): Likewise.
46355         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46356         kernel version.
46357         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46358         (__ASSUME_TMPFS_NAME): Likewise.
46359         * README: Update reference to Linux kernel versions.
46361 2012-08-02  Marek Polacek  <polacek@redhat.com>
46363         [BZ# 14150]
46364         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46365         libc_cv_asm_type_prefix with %.
46366         * configure: Regenerated.
46367         * include/libc-symbols.h: Remove comment about
46368         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46369         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46370         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46371         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46372         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46373         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46374         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46375         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46376         * elf/tst-unique2mod1.c: Likewise.
46377         * elf/tst-unique1mod2.c: Likewise.
46378         * elf/tst-unique1mod1.c: Likewise.
46379         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46380         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46381         Replace ASM_TYPE_DIRECTIVE with .type.
46382         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46383         * sysdeps/i386/sysdep.h: Likewise.
46384         * sysdeps/x86_64/sysdep.h: Likewise.
46385         * sysdeps/sh/sysdep.h: Likewise.
46386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46387         Do not define ASM_TYPE_DIRECTIVE.
46388         * sysdeps/powerpc/sysdep.h: Likewise.
46389         * sysdeps/powerpc/powerpc32/sysdep.h:
46390         Replace ASM_TYPE_DIRECTIVE with .type.
46391         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46392         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46393         * sysdeps/i386/fpu/e_powf.S: Likewise.
46394         * sysdeps/i386/fpu/e_expl.S: Likewise.
46395         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46396         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46397         * sysdeps/i386/fpu/e_pow.S: Likewise.
46398         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46399         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46400         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46401         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46402         * sysdeps/i386/fpu/e_log2.S: Likewise.
46403         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46404         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46405         * sysdeps/i386/fpu/e_powl.S: Likewise.
46406         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46407         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46408         * sysdeps/i386/fpu/e_logl.S: Likewise.
46409         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46410         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46411         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46412         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46413         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46414         * sysdeps/i386/fpu/e_log.S: Likewise.
46415         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46416         * sysdeps/i386/fpu/e_logf.S: Likewise.
46417         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46418         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46419         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46420         * sysdeps/i386/fpu/e_log10.S: Likewise.
46421         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46422         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46423         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46424         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46425         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46426         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46427         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46428         * sysdeps/i386/i686/strtok.S: Likewise.
46429         * sysdeps/i386/i386-mcount.S: Likewise.
46430         * sysdeps/i386/strtok.S: Likewise.
46431         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46432         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46433         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46434         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46435         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46436         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46437         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46438         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46439         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46440         * sysdeps/x86_64/_mcount.S: Likewise.
46441         * sysdeps/x86_64/strtok.S: Likewise.
46442         * sysdeps/sh/_mcount.S: Likewise.
46444 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46446         * libio/iofopen.c: Include <fcntl.h>.
46447         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46448         (_IO_fopen64, fopen64): Define as aliases.
46449         * libio/iofopen64.c: Include <fcntl.h>.
46450         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46451         Conditionalize body on this.
46452         * sysdeps/wordsize-64/iofopen.c: File removed.
46453         * sysdeps/wordsize-64/iofopen64.c: File removed.
46455 2012-08-01  Marek Polacek  <polacek@redhat.com>
46457         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46458         Use dlfcn directly instead of a variable.
46459         (binfmt-subdir): Do not define.
46460         (dlfcn): Likewise.
46462 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46465         Remove all definitions.
46466         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46467         <kernel-features.h>.
46468         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46469         (miss_F_GETOWN_EX): Remove all definitions.
46470         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46471         macro definition.
46472         [!__ASSUME_FCNTL64]: Remove conditional code.
46473         [__ASSUME_FCNTL64]: Make code unconditional.
46474         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46475         <kernel-features.h>.
46476         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46477         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46478         (lockf64) [__NR_fcntl64]: Make code unconditional.
46479         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46481         * sysdeps/unix/sysv/linux/kernel-features.h
46482         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46483         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46484         Make code unconditional.
46485         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46486         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46488         [__NR_vfork]: Make code unconditional.
46489         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46490         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46492         [__NR_vfork]: Make code unconditional.
46493         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46494         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46496 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46498         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46499         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46501         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46502         Define mkstemp64 as an alias.
46503         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46504         Define mkstemps64 as an alias.
46505         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46506         Define mkostemp64 as an alias.
46507         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46508         Define mkostemps64 as an alias.
46509         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46510         Conditionalize body on this.
46511         * misc/mkostemp64.c: Likewise.
46512         * misc/mkostemps64.c: Likewise.
46513         * misc/mkstemps64.c: Likewise.
46514         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46515         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46516         * sysdeps/wordsize-64/mkostemp.c: File removed.
46517         * sysdeps/wordsize-64/mkstemp.c: File removed.
46518         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46519         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46521         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46523         [BZ #14138]
46524         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46525         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46526         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46527         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46529         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46530         compat_symbol macros from <shlib-compat.h> rather than the underlying
46531         default_symbol_version and symbol_version macros, so that DEFAULT
46532         lines in shlib-versions are respected.
46533         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46535 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46537         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46538         Declare with warn_unused_result.
46539         (setgid, setregid, setegid, setresgid): Likewise.
46540         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46541         Likewise.
46542         * WUR-REPORT: Remove set*id functions.
46544 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46546         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46548 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46550         [BZ #10191]
46551         * include/sys/socket.h (__libc_accept, __libc_accept4):
46552         Add attribute_hidden.
46553         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46555         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46556         use of PTR_MANGLE.
46557         * inet/getnetgrent_r.c (setup): Likewise.
46559         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46561 2012-07-31  David S. Miller  <davem@davemloft.net>
46563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46565 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46567         [BZ #13629]
46568         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46569         value between 1.0 and 2.0 and smaller part has absolute value less
46570         than 1.0.
46571         * math/s_clog10.c (__clog10): Likewise.
46572         * math/s_clog10f.c (__clog10f): Likewise.
46573         * math/s_clog10l.c (__clog10l): Likewise.
46574         * math/s_clogf.c (__clogf): Likewise.
46575         * math/s_clogl.c (__clogl): Likewise.
46576         * math/libm-test.inc (clog_test): Add more tests.
46577         (clog10_test): Likewise.
46578         * sysdeps/i386/fpu/libm-test-ulps: Update.
46579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46581 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46583         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46584         Exit with zero in case no suitable GID is found, and write a
46585         message to standard error.
46587 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46589         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46590         rather than to 1.
46591         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46592         (MAXPATHLEN): Removed.
46593         (NOGROUP, NODEV): New macros.
46594         (setbit, clrbit, isset, isclr): New macros.
46595         (howmany, roundup, powerof2): New macros.
46596         (DEV_BSIZE): New macro.
46598         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46599         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46601         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46602         definition on [!__NO_LONG_DOUBLE_MATH].
46604         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46605         PTR_MANGLE and PTR_DEMANGLE.
46607         * socket/accept4.c (accept4): Rename to __libc_accept4.
46608         Define accept4 as a weak alias.
46610         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46611         on [_DIRENT_HAVE_D_TYPE].
46612         * io/ftw.c (ftw_dir): Likewise.
46614         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46616         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46618         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46619         Use the BSD numbers rather than the arbitrary ones we had.
46620         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46621         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46622         (SIGXCPU, SIGXFSZ): New macros.
46623         (_NSIG): Now 32.
46625         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46626         initializer on [_LIBC_REENTRANT].
46628         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46629         definitions inside [_POSIX_MAPPED_FILES].
46631         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46633         * dirent/opendir.c: Include <fcntl.h>.
46635         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46636         (__libc_getspecific): Likewise.
46637         (__libc_key_create): Likewise.
46639         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46640         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46641         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46642         (tmpfile64): Define as alias.
46643         * sysdeps/wordsize-64/tmpfile.c: File removed.
46644         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46645         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46648         * stdio-common/vfscanf.c: Include <stdbool.h>.
46649         * nss/makedb.c: Likewise.
46650         * stdio-common/_i18n_number.h: Likewise.
46651         * argp/argp-help.c: Likewise.
46652         * posix/wordexp.c: Likewise.
46653         * sysdeps/posix/spawni.c: Likewise.
46654         * nss/nss_files/files-initgroups.c: Likewise.
46655         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46656         * nss/nss_files/files-initgroups.c: Likewise.
46657         * nss/nss_db/db-netgrp.c: Likewise.
46658         * nss/nss_db/db-initgroups.c: Likewise.
46659         * io/fchmodat.c: Include <sys/stat.h>.
46661         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46662         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46664         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46665         [HAVE_MMAP].
46667         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46668         Add multiple inclusion protection.
46670 2012-07-27  David S. Miller  <davem@davemloft.net>
46672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46674 2012-07-27  Gary Benson  <gbenson@redhat.com>
46676         [BZ #14298]
46677         * elf/rtld.c: Include <stap-probe.h>.
46678         (dl_main): Added static probes "init_start" and "init_complete".
46679         * elf/dl-load.c: Include <stap-probe.h>.
46680         (lose): Take new parameter "nsid".
46681         Added static probe "map_failed".
46682         (_dl_map_object_from_fd): Pass namespace id to lose.
46683         Added static probe "map_start".
46684         (open_verify): Pass namespace id to lose.
46685         * elf/dl-open.c: Include <stap-probe.h>.
46686         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46687         and "reloc_complete".
46688         * elf/dl-close.c: Include <stap-probe.h>.
46689         (_dl_close_worker): Added static probes "unmap_start" and
46690         "unmap_complete".
46691         * elf/rtld-debugger-interface.txt: New file documenting the above.
46693 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46695         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46696         rather than a string variable.
46697         * sunrpc/rpc_main.c (h_output): Likewise.
46698         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46700 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46702         * inet/check_native.c: New file.
46704 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46706         [BZ #13629]
46707         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46708         if larger part has absolute value 1.0.
46709         * math/s_clog10.c (__clog10): Likewise.
46710         * math/s_clog10f.c (__clog10f): Likewise.
46711         * math/s_clog10l.c (__clog10l): Likewise.
46712         * math/s_clogf.c (__clogf): Likewise.
46713         * math/s_clogl.c (__clogl): Likewise.
46714         * math/libm-test.inc (clog_test): Add more tests.
46715         (clog10_test): Likewise.
46716         * sysdeps/i386/fpu/libm-test-ulps: Update.
46717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46719         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46720         (pltexit): Likewise.
46721         (La_regs): Likewise.
46722         (La_retval): Likewise.
46723         (int_retval): Likewise.
46724         Update #error for removed macros to refer only to definitions in
46725         tst-audit.h.
46726         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46727         macro.
46728         (pltexit): Likewise.
46729         (La_regs): Likewise.
46730         (La_retval): Likewise.
46731         (int_retval): Likewise.
46732         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46733         macro.
46734         (pltexit): Likewise.
46735         (La_regs): Likewise.
46736         (La_retval): Likewise.
46737         (int_retval): Likewise.
46738         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46739         macro.
46740         (pltexit): Likewise.
46741         (La_regs): Likewise.
46742         (La_retval): Likewise.
46743         (int_retval): Likewise.
46744         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46745         macro.
46746         (pltexit): Likewise.
46747         (La_regs): Likewise.
46748         (La_retval): Likewise.
46749         (int_retval): Likewise.
46750         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46751         macro.
46752         (pltexit): Likewise.
46753         (La_regs): Likewise.
46754         (La_retval): Likewise.
46755         (int_retval): Likewise.
46756         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46757         macro.
46758         (pltexit): Likewise.
46759         (La_regs): Likewise.
46760         (La_retval): Likewise.
46761         (int_retval): Likewise.
46762         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46763         macro definitions in tst-audit.h.
46764         * sysdeps/i386/tst-audit.h: New file.
46765         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46766         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46767         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46768         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46769         * sysdeps/sh/tst-audit.h: Likewise.
46770         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46771         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46772         * sysdeps/x86_64/tst-audit.h: Likewise.
46774 2012-07-26  Andreas Jaeger  <aj@suse.de>
46776         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46777         ptrace.
46779         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46780         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46781         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46782         PTRACE_O_MASK.
46783         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46784         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46785         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46787         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46788         value.
46790         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46791         _sigsys.
46792         (si_call_addr, si_syscall, si_arch): Define new macro.
46793         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46794         _sigsys.
46795         (si_call_addr, si_syscall, si_arch): Define new marcro.
46796         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46797         _sigsys.
46798         (si_call_addr, si_syscall, si_arch): Define new macro.
46799         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46800         _sigsys.
46801         (si_call_addr, si_syscall, si_arch): Define new macro.
46803 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46805         [BZ #13717]
46806         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46807         Change to 2.4.21 where previously 2.4.1.
46808         * sysdeps/unix/sysv/linux/configure: Regenerated.
46809         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46810         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46811         Linux kernel version.
46812         (__ASSUME_STD_AUXV): Remove.
46813         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46814         kernel version.
46815         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46816         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46817         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46818         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46819         (__ASSUME_NETLINK_SUPPORT): Likewise.
46820         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46821         (__no_netlink_support): Remove conditional definition.
46822         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46823         Remove.
46824         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46825         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46826         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46827         (if_nameindex_ioctl): Remove.
46828         (if_nameindex_netlink): Do not handle __no_netlink_support.
46829         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46830         code.
46831         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46832         Remove conditional code.
46833         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46834         code.
46835         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46836         unconditional.
46837         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46838         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46839         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46840         Remove.
46841         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46842         [!__ASSUME_STD_AUXV]: Remove conditional code.
46843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46844         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46845         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46847         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46848         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46849         code.
46850         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46852         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46853         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46854         conditional code.
46855         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46857         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46858         code.
46859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46860         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46861         conditional code.
46862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46863         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46864         code unconditional.
46865         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46866         conditional code.
46867         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46868         unconditional.
46869         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46870         conditional code.
46871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46872         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46873         unconditional.
46874         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46875         conditional code.
46876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46877         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46878         code unconditional.
46879         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46880         conditional code.
46881         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46882         unconditional.
46883         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46884         conditional code.
46885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46886         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46887         code unconditional.
46888         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46889         conditional code.
46890         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46891         unconditional.
46892         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46893         conditional code.
46895 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46897         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46898         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46899         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46900         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46901         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46902         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46903         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46904         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46905         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46906         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46907         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46908         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46909         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46910         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46911         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46912         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46913         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46914         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46915         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46917         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46918         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46919         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46921 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46923         * Versions.def: Add GLIBC_2.17.
46924         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46925         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46926         Introduce __libc_secure_getenv.
46927         * stdlib/Versions (2.17): Add secure_getenv
46928         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46929         * stdlib/secure-getenv.c: Rename __secure_getenv to
46930         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46931         symbol __secure_getenv for GLIBC_2.0.
46932         * stdlib/tst-secure-getenv.c: New.
46933         * stdlib/Makefile (tests): Add testcase.
46934         * manual/startup.texi (Environment Access): Document
46935         secure_getenv.
46936         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46937         __libc_secure_getenv.
46938         * inet/ruserpass.c (ruserpass): Likewise.
46939         * malloc/mtrace.c (mtrace): Likewise.
46940         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46941         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46942         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46943         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46944         HAVE_SECURE_GETENV.
46945         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46946         __secure_getenv to __libc_secure_getenv.
46947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46949         Likewise.
46950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46951         Likewise.
46952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46960 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46962         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46963         (struct La_i86_retval): Likewise.
46964         (struct La_x86_64_regs): Likewise.
46965         (struct La_x86_64_retval): Likewise.
46966         (struct La_x32_regs): Likewise.
46967         (struct La_x32_retval): Likewise.
46968         (struct La_ppc32_regs): Likewise.
46969         (struct La_ppc32_retval): Likewise.
46970         (struct La_ppc64_regs): Likewise.
46971         (struct La_ppc64_retval): Likewise.
46972         (struct La_sh_regs): Likewise.
46973         (struct La_sh_retval): Likewise.
46974         (struct La_s390_32_regs): Likewise.
46975         (struct La_s390_32_retval): Likewise.
46976         (struct La_s390_64_regs): Likewise.
46977         (struct La_s390_64_retval): Likewise.
46978         (struct La_sparc32_regs): Likewise.
46979         (struct La_sparc32_retval): Likewise.
46980         (struct La_sparc64_regs): Likewise.
46981         (struct La_sparc64_retval): Likewise.
46982         (struct audit_ifaces): Remove architecture-specific pltenter and
46983         pltexit members.
46984         * sysdeps/i386/ldsodefs.h: New file.
46985         * sysdeps/powerpc/ldsodefs.h: Likewise.
46986         * sysdeps/s390/ldsodefs.h: Likewise.
46987         * sysdeps/sh/ldsodefs.h: Likewise.
46988         * sysdeps/sparc/ldsodefs.h: Likewise.
46989         * sysdeps/x86_64/ldsodefs.h: Likewise.
46991 2012-07-25  Marek Polacek  <polacek@redhat.com>
46993         [BZ #6808]
46994         * math/libm-test.inc (yn_test): Add another test.
46995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46996         to ERANGE when the result is +-Inf.
46997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46998         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46999         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47000         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47002 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47004         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47005         equal to 0.
47006         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47007         clock_t.
47008         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47010 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47012         * configure.in <sysdeps resolving>: Correct printing
47013         Implies_before.
47014         * configure: Regenerate.
47016 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47018         * math/w_ilogb.c: Include <limits.h>.
47019         * math/w_ilogbl.c: Likewise.
47021 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47023         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47024         va_copy.  Document allowing for unavailable va_copy only as
47025         pre-C99 compatibility.
47026         * manual/string.texi (Copying and Concatenation): Use va_copy
47027         instead of __va_copy in concat example.
47029 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47031         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47032         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47033         it if not null.
47035         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47036         with O_NOLINK passed to __file_name_lookup.
47038         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47039         with O_NOLINK passed to __file_name_lookup.
47041         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47042         negative N or less than NGIDS.
47044         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47045         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47046         enough.  Use memcpy instead of strncpy.
47048 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47050         * elf/Makefile (check-data): Remove.
47051         (localplt.data): New vpath directive.
47052         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47053         instead of $(check-data).
47054         * scripts/data/localplt-generic.data: Move to ...
47055         * sysdeps/generic/localplt.data: ... here.
47056         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47057         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47058         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47060         ... here.
47061         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47063         ... here.
47064         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47066         ... here.
47067         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47069         ... here.
47070         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47072         ... here.
47073         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47075         ... here.
47077 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47079         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47080         PPC32 and PPC64 files.
47081         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47082         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47084 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47086         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47087         __makecontext_ret to ...
47088         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47089         ... here and call exit if uc_link is NULL.  New file.
47090         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47091         __makecontext_ret.S.
47092         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47093         __makecontext_ret to ...
47094         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47095         ... here and call exit if uc_link is NULL.  New file.
47096         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47097         __makecontext_ret.S.
47099 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47101         * elf/elf.h (R_390_IRELATIVE): New definition.
47102         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47103         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47104         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47105         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47106         (elf_machine_lazy_rel): Likewise.
47107         * sysdeps/s390/dl-irel.h: New file.
47108         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47109         * sysdeps/s390/s390-64/memset.S: New asm code.
47110         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47111         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47112         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47113         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47114         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47115         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47117         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47118         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47119         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47120         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47121         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47122         * sysdeps/s390/s390-32/memset.S: New asm code.
47123         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47125 2012-07-17  Marek Polacek  <polacek@redhat.com>
47127         [BZ #14349]
47128         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47129         * sysdeps/s390/s390-64/configure.in: Likewise.
47130         * sysdeps/sparc/configure.in: Likewise.
47131         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47132         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47133         * sysdeps/i386/configure.in: Likewise.
47134         * sysdeps/x86_64/configure.in: Likewise.
47135         * sysdeps/sh/configure.in: Likewise.
47136         * sysdeps/s390/s390-32/configure: Regenerated.
47137         * sysdeps/s390/s390-64/configure: Likewise.
47138         * sysdeps/x86_64/configure: Likewise.
47139         * sysdeps/sh/configure: Likewise.
47140         * sysdeps/powerpc/powerpc64/configure: Likewise.
47141         * sysdeps/powerpc/powerpc32/configure: Likewise.
47142         * sysdeps/sparc/configure: Likwise.
47143         * sysdeps/i386/configure: Likewise.
47145         * elf/dl-open.c: Comment fixes.
47147 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47149         * Makefile [CXX] (check-data): Remove.
47150         [CXX] (c++-types.data): New vpath directive.
47151         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47152         vpath.  Do not allow for C++ type data being missing.
47153         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47154         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47155         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47156         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47157         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47158         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47159         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47161         ... here.
47162         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47164         ... here.
47165         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47167         ... here.
47168         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47170         ... here.
47171         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47173         ... here.
47174         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47176         ... here.
47177         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47179         ... here.
47180         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47183         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47184         definitions to architecture-specific files.
47185         (TLS_IE): Likewise.
47186         (TLS_LD): Likewise.
47187         (TLS_GD): Likewise.
47188         * sysdeps/i386/tls-macros.h: New file.
47189         * sysdeps/powerpc/tls-macros.h: Likewise.
47190         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47191         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47192         * sysdeps/sh/tls-macros.h: Likewise.
47193         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47194         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47195         * sysdeps/x86_64/tls-macros.h: Likewise.
47197 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47199         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47200         zero value for regular exit case.
47202         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47203         (__start_context): Preserve zero value for regular exit case.
47205 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47206             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47208         * manual/setjmp.texi (setcontext): Clarify normal process
47209         termination when uc_link is the null pointer.
47210         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47211         exit call.
47213 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47215         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47216         preprocessor.  Test for each exception mask separately.
47218 2012-07-16  Andreas Jaeger  <aj@suse.de>
47220         * po/ru.po: Update from translation team.
47222 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47224         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47225         equal to 0.
47226         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47227         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47228         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47229         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47232 2012-07-13  Andreas Jaeger  <aj@suse.de>
47234         * po/fr.po: Update from translation team.
47236 2012-07-12  Marek Polacek  <polacek@redhat.com>
47238         [BZ #14173]
47239         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47240         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47241         loop condition.
47243 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47245         [BZ #13717]
47246         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47247         Change to 2.4.1 where previously 2.4.0.
47248         * sysdeps/unix/sysv/linux/configure: Regenerated.
47249         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47250         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47251         version.
47252         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47253         (__ASSUME_AT_CLKTCK): Remove.
47254         (__ASSUME_AT_PAGESIZE): Likewise.
47255         (__ASSUME_AT_XID): Likewise.
47256         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47257         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47258         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47259         unconditionally.
47260         (HAVE_AUX_PAGESIZE): Likewise.
47261         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47262         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47263         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47265 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47267         [BZ #14307]
47268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47269         the temporary buffer used to invoke __gethostbyname2_r,
47270         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47271         host_data / struct gaih_addrtuple.
47272         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47273         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47274         header file nss/nsswitch.h.
47275         * nss/nsswitch.h (global scope): Add definition of implementation
47276         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47277         resolv/nss_dns/dns-host.c).
47279 2012-07-11  Andreas Jaeger  <aj@suse.de>
47281         * po/fr.po: Update from translation team.
47283         * po/sv.po: Update from translation team
47284         * po/fr.po: Another update from translation team.
47286 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47288         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47289         for subnormals or multiply small sinh result by itself.
47290         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47293 2012-07-11  David S. Miller  <davem@davemloft.net>
47295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47297 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47299         [BZ #14347]
47300         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47301         (INTERNAL_MARK): Shift it here.
47303 2012-07-10  Marek Polacek  <polacek@redhat.com>
47305         [BZ #14151]
47306         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47307         libc_cv_asm_global_directive with .globl.
47308         * configure: Regenerated.
47309         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47310         with .globl.
47311         * sysdeps/i386/configure: Regenerated.
47312         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47313         with .globl.
47314         * sysdeps/x86_64/configure: Regenerated.
47315         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47316         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47317         * elf/tst-unique2mod2.c: Likewise.
47318         * elf/tst-unique2mod1.c: Likewise.
47319         * elf/tst-unique1mod2.c: Likewise.
47320         * elf/tst-unique1mod1.c: Likewise.
47321         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47322         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47324         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47325         * sysdeps/mach/sysdep.h: Likewise.
47326         * sysdeps/i386/sysdep.h: Likewise.
47327         * sysdeps/i386/i386-mcount.S: Likewise.
47328         * sysdeps/x86_64/_mcount.S: Likewise.
47329         * sysdeps/x86_64/sysdep.h: Likewise.
47330         * sysdeps/sh/_mcount.S: Likewise.
47331         * sysdeps/sh/sysdep.h: Likewise.
47332         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47333         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47334         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47335         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47336         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47337         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47338         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47339         * locale/localeinfo.h: Likewise.
47340         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47341         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47343 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47345         [BZ #14336]
47346         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47347         system".
47348         * manual/message.texi (The Uniforum approach): Likewise.
47349         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47350         (glibc iconv Implementation): Likewise.
47352 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47354         [BZ #14337]
47355         * math/s_clog.c (__clog): Avoid scaling a value down where that
47356         could result in underflow.
47357         * math/s_clog10.c (__clog10): Likewise.
47358         * math/s_clog10f.c (__clog10f): Likewise.
47359         * math/s_clog10l.c (__clog10l): Likewise.
47360         * math/s_clogf.c (__clogf): Likewise.
47361         * math/s_clogl.c (__clogl): Likewise.
47362         * math/libm-test.inc (clog_test): Add more tests.
47363         (clog10_test): Likewise.
47364         * sysdeps/i386/fpu/libm-test-ulps: Update.
47365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47367 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47369         [BZ #14283]
47370         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47371         by 7 not 8 to examine high bit of fractional part.
47373         [BZ #14042]
47374         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47375         for call to __mcount_internal.
47376         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47377         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47378         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47380 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47382         [BZ #14154]
47383         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47384         approximation for values within 0x1p-13f of an odd multiple of
47385         pi/4.
47386         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47387         exception.  Add more tests.
47388         * sysdeps/i386/fpu/libm-test-ulps: Update.
47390         [BZ #6778]
47391         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47392         inputs and return -1 for them.  Do not check for +Inf in case not
47393         reachable for +Inf.
47394         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47395         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47397         and return -1 for them.  Do not check for +Inf in case not
47398         reachable for +Inf.
47399         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47400         define.
47401         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47402         and return -1 for them.  Do not check for +Inf in case not
47403         reachable for +Inf.
47404         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47405         spurious underflow.
47406         * sysdeps/i386/fpu/libm-test-ulps: Update.
47407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47409 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47411         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47413 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47415         [BZ #14157]
47416         [BZ #14331]
47417         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47418         could result in spurious underflow.  Scale down values above
47419         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47420         * math/s_csqrtf.c (__csqrtf): Likewise.
47421         * math/s_csqrtl.c (__csqrtl): Likewise.
47422         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47423         spurious underflow.
47424         * sysdeps/i386/fpu/libm-test-ulps: Update.
47425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47427 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47429         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47430         xopen-msg.sed.
47431         * catgets/xopen-msg.awk: New file.
47432         * catgets/xopen-msg.sed: Removed.
47434         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47435         po2text.sed.
47436         * intl/po2test.awk: New file.
47437         * intl/po2test.sed: Removed.
47439 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47441         [BZ #14328]
47442         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47443         or multiply small sinh result by itself.
47444         * math/s_ctanf.c (__ctanf): Likewise.
47445         * math/s_ctanh.c (__ctanh): Likewise.
47446         * math/s_ctanhf.c (__ctanhf): Likewise.
47447         * math/s_ctanhl.c (__ctanhl): Likewise.
47448         * math/s_ctanl.c (__ctanl): Likewise.
47449         * math/libm-test.inc (ctan_test_tonearest): New function.
47450         (ctan_test_towardzero): Likewise.
47451         (ctan_test_downward): Likewise.
47452         (ctan_test_upward): Likewise.
47453         (ctanh_test_tonearest): Likewise.
47454         (ctanh_test_towardzero): Likewise.
47455         (ctanh_test_downward): Likewise.
47456         (ctanh_test_upward): Likewise.
47457         (main): Call these new functions.
47458         * sysdeps/i386/fpu/libm-test-ulps: Update.
47459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47461 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47463         * .gitignore: Delete /ports entry.
47465 2012-07-03  Andreas Jaeger  <aj@suse.de>
47467         * po/bg.po: Update from translation team.
47468         * po/cs.po: Likewise.
47469         * po/de.po: Likewise.
47470         * po/hr.po: Likewise.
47471         * po/nl.pl: Likewise.
47472         * po/pl.po: Likewise.
47473         * po/vi.po: Likewise.
47475 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47477         * Makeconfig [!+link] (+link-before-libc): New variable.
47478         [!+link] (+link-after-libc): Likewise.
47479         [!+link] (+link-tests): Likewise.
47480         [!+link] (+link): Define in terms of $(+link-before-libc) and
47481         $(+link-after-libc).
47482         [!+link-static] (+link-static-before-libc): New variable.
47483         [!+link-static] (+link-static-after-libc): Likewise.
47484         [!+link-static] (+link-static-tests): Likewise.
47485         [!+link-static] (+link-static): Define in terms of
47486         $(+link-static-before-libc) and $(+link-static-after-libc).
47487         [build-shared] (link-libc-before-gnulib): New variable.
47488         [build-shared] (link-libc-tests): Likewise.
47489         [build-shared] (link-libc): Define in terms of
47490         $(link-libc-before-gnulib).
47491         [!build-shared] (link-libc-tests): New variable.
47492         (link-libc-static-tests): New variable.
47493         [!gnulib] (gnulib-arch): New variable.
47494         [!gnulib] (gnulib-tests): Likewise.
47495         [!gnulib] (static-gnulib-arch): Likewise.
47496         [!gnulib] (static-gnulib-tests): Likewise.
47497         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47498         Define with "=" instead of ":=".
47499         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47500         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47501         * Rules (binaries-all-notests): New variable.
47502         (binaries-all-tests): Likewise.
47503         (binaries-static-notests): Likewise.
47504         (binaries-static-tests): Likewise.
47505         (binaries-all): Define using $(binaries-all-notests) and
47506         $(binaries-all-tests).
47507         (binaries-static): Define using $(binaries-static-notests) and
47508         $(binaries-static-tests).
47509         (binaries-shared-tests): New variable.
47510         (binaries-shared-notests): Likewise.
47511         (binaries-shared): Remove variable.
47512         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47513         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47514         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47515         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47516         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47517         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47518         * elf/Makefile (sln-modules): New variable.
47519         (extra-objs): Add $(sln-modules:=.o).
47520         (ldconfig-modules): Add static-stubs.
47521         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47522         * elf/static-stubs.c: New file.
47524         [BZ #14283]
47525         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47526         by 7 not 8 to examine high bit of fractional part.  Use volatile
47527         variables when splitting into final array of floats if
47528         __FLT_EVAL_METHOD__ != 0.
47529         * math/libm-test.inc (cos_test): Add another test.
47530         (sin_test): Likewise.
47531         * sysdeps/i386/fpu/libm-test-ulps: Update.
47533         [BZ #14273]
47534         * math/libm-test.inc (cosh_test): Add more tests.
47536         * version.h (RELEASE): Set to "development".
47537         (VERSION): Set to "2.16.90".
47539 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47541         * NEWS: Update copyright. Remove last-updated date.
47542         Mention math library bug fixes and timezone data changes.
47543         * README: Mention GNU/Hurd, x32, and HPPA support status.
47545 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47547         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47549 2012-06-27  Andreas Jaeger  <aj@suse.de>
47551         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47553 2012-06-25  Andreas Jaeger  <aj@suse.de>
47555         * sysdeps/s390/fpu/libm-test-ulps: Update.
47557 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47558             Thomas Schwinge  <thomas@codesourcery.com>
47560         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47561         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47563         fanotify_mark.
47565 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47567         * sysdeps/mach/start.c: Remove file.
47568         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47569         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47570         * sysdeps/sh/init-first.c: Likewise.
47572         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47573         registers for frame unwinding purposes, add CFI directives.
47574         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47575         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47576         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47577         Likewise.
47579         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47580         __fortify_fail returning.
47581         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47583         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47584         sysdeps/sh/____longjmp_chk.S.
47585         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47586         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47587         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47588         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47590         * sysdeps/sh/abort-instr.h: New file.
47591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47592         process in case exit returns.
47594         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47595         initialize the GOT register before use.
47597         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47598         calculation of ARGC > 4.
47600         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47601         meaningful names to some local labels.
47603 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47604             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47606         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47607         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47608         (__arch_compare_and_exchange_val_16_acq): Likewise.
47609         (__arch_compare_and_exchange_val_32_acq): Likewise.
47610         (atomic_exchange_and_add): Fix gUSA sequence.
47611         (atomic_add): Likewise.
47612         (atomic_add_negative): Likewise.
47613         (atomic_add_zero): Likewise.
47614         (atomic_bit_test_set): Likewise.
47616 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47618         [BZ #13579]
47619         * include/link.h (struct link_map): Add l_free_initfini.
47620         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47621         l_initfini.
47622         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47623         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47624         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47625         set.
47627 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47629         * configure.in: Use AC_LANG_SOURCE.
47630         * configure: Regenerate.
47632 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47634         * configure.in (libc_cv_localstatedir): New substituted variable.
47635         * configure: Regenerated.
47636         * config.make.in (localstatedir): New variable, substituted from
47637         libc_cv_localstatedir.
47638         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47639         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47640         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47641         * sysdeps/gnu/configure: Regenerated.
47643 2012-06-21  Jeff Law  <law@redhat.com>
47645         [BZ #14277]
47646         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47647         free.  Simplify list management for _LIBC case.
47649 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47651         [BZ #14273]
47652         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47653         Clear sign bit of 64-bit integer value before comparing against
47654         overflow value.
47656         * sysdeps/mach/configure: Regenerated.
47658 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47660         [BZ #14278]
47661         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47663 2012-06-21  Jeff Law  <law@redhat.com>
47665         [BZ #13882]
47666         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47667         uint16_t for elements in the "seen" array to avoid char overflows.
47668         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47669         * elf/dl-open.c (dl_open_worker): Likewise.
47671 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47673         * scripts/list-sources.sh: Scan PORTS for translations.
47674         * po/libc.pot: Regenerated.
47676 2012-06-21  Andreas Jaeger  <aj@suse.de>
47678         [BZ #12194]
47679         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47680         warning.
47681         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47682         * bits/byteswap-16.h (__bswap_16): Likewise.
47683         * bits/byteswap.h (__bswap_constant_16): Likewise.
47685 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47687         [BZ #14117]
47688         * sysdeps/i386/fpu_control.h: Removed.
47689         * sysdeps/x86_64/fpu_control.h: Moved to ...
47690         * sysdeps/x86/fpu_control.h: Here.
47692         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47693         (_FPU_SETCW): Likewise.
47695 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47697         [BZ #14117]
47698         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47699         * sysdeps/x86/fpu/bits/mathinline.h: This.
47700         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47702         [BZ #14050]
47703         [BZ #14117]
47704         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47705         functions if __x86_64__ is defined.
47707 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47709         * string/endian.h: Add !__ASSEMBLER__ condition for including
47710         conversion interfaces.
47712 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47714         [BZ #14241]
47715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47716         of ABS(x) in calculating zero to negative powers other than odd
47717         integers.
47718         * math/libm-test.inc (pow_test): Add more tests.
47720 2012-06-15  Andreas Jaeger  <aj@suse.de>
47722         * manual/contrib.texi (Contributors): Update entry of Liubov
47723         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47724         Machado Filho.
47726 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47728         * string/string.h: Add __wur to GNU version of strerror_r.
47730 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47732         [BZ #14229]
47733         * string/Makefile (tests): Add tst-strtok_r.
47734         * string/tst-strtok_r.c: New file.
47735         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47736         RAX_LP/RDX_LP on SAVE_PTR.
47738 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47740         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47742 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47744         * libm_test.inc (csqrt_test): Allow more spurious underflow
47745         exceptions.
47746         (j0_test): Likewise.
47747         (j1_test): Likewise.
47748         (y0_test): Likewise.
47749         (y1_test): Likewise.
47751 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47753         * po/Makefile (libc.pot): Use UTF-8 charset.
47755 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47757         [BZ #14210]
47758         Suppress sign-conversion warning from FD_SET.
47759         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47760         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47761         not unsigned long int.
47762         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47764 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47766         [BZ #14050]
47767         [BZ #14117]
47768         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47769         __extern_always_inline instead of __extern_inline.
47770         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47771         (__signbit): Likewise.
47772         (__signbitl): Support C++ namespace.
47773         (lrintf): New inline function.
47774         (lrint): Likewise.
47775         (llrintf): Likewise.
47776         (llrint): Likewise.
47777         (fmaxf): Likewise.
47778         (fmax): Likewise.
47779         (fminf): Likewise.
47780         (fmin): Likewise.
47781         (rint): Likewise.
47782         (rintf): Likewise.
47783         (ceil): Likewise.
47784         (ceilf): Likewise.
47785         (floor): Likewise.
47786         (floorf): Likewise.
47787         (nearbyint): Likewise.
47788         (nearbyintf): Likewise.
47790 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47792         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47793         non-default versions.
47795 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47797         [BZ #14218]
47798         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47800 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47802         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47803         (FE_UPWARD, FE_DOWNWARD): Don't define.
47804         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47805         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47807         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47808         reading it.
47809         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47810         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47812 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47814         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47816         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47817         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47819 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47821         [BZ #14117]
47822         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47823         * sysdeps/i386/fpu/Implies: New file.
47824         * sysdeps/x86_64/fpu/Implies: Likewise.
47825         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47826         * sysdeps/x86/fpu/bits/fenv.h: This.
47828         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47829         __SSE_MATH__.
47831 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47833         [BZ #14134]
47834         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47835         character 0xffff that matches the last element of the
47836         conversion table.
47838 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47841         fmodl commit.
47843 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47846         values higher than 25.6283.
47848 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47850         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47851         subnormal exponent extraction and add some __builtin_expect.
47852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47853         Fix for subnormal mantissa calculation.
47855 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47857         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47858         cpu2 is -1 and errno is not ENOSYS.
47860 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47862         [BZ #14117]
47863         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47864         * sysdeps/x86/bits/string.h: This.
47865         * sysdeps/x86_64/bits/string.h: Removed.
47867         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47868         if not compiling for x86-64, but compiling for >= i486.
47870         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47871         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47873         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47874         New macro from Linux kernel 3.4.0.
47875         (FP_XSTATE_MAGIC2): Likewise.
47876         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47877         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47878         (struct _fpx_sw_bytes): New struct.
47879         (struct _xsave_hdr): Likewise.
47880         (struct _ymmh_state): Likewise.
47881         (struct _xstate): Likewise.
47883         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47884         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47885         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47886         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47887         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47888         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47890         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47891         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47892         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47893         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47894         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47895         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47897 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47899         [BZ #13743]
47900         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47901         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47902         (sysdep_headers): Include sys/platform/ppc.h.
47903         * sysdeps/powerpc/test-gettimebase.c: Test for
47904         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47905         * manual/Makefile (appendices): Include platform.texi.
47906         * manual/contrib.texi (Contributors): Update @node pointers.
47907         * manual/maint.texi (Maintenance): Likewise.
47908         (Platform): New node.
47909         * manual/platform.texi: New file.  Document the new features.
47911 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47912             Jakub Jelinek  <jakub@redhat.com>
47914         [BZ #14188]
47915         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47916         where __builtin_expect is unavailable.
47918 2012-06-03  David S. Miller  <davem@davemloft.net>
47920         * stdlib/longlong.h: Updated from GCC.
47922 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47924         [BZ #14042]
47925         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47926         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47927         __mcount_internal.
47928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47929         (GLIBC_2.16): Likewise.
47931 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47933         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47935 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47938         (default-abi): New variable.
47939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47940         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47941         variable.
47942         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47943         Likewise.
47944         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47945         Likewise.
47946         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47947         Likewise.
47949         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47950         definition.  Document in comment.
47952 2012-06-01  David S. Miller  <davem@davemloft.net>
47954         * stdlib/longlong.h: Updated from GCC.
47956 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47958         [BZ #14117]
47959         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47960         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47961         sys/debugreg.h sys/io.h here.
47962         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47963         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47964         sys/io.h.
47965         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47966         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47967         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47968         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47969         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47970         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47972         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47973         Define only if __x86_64__ is defined.
47975 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47977         [BZ #14048]
47978         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47979         Use int64_t for variable i.
47980         * math/libm-test.inc (fmod_test): Add more tests.
47982         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47983         z computation is not scheduled after fetestexcept.
47984         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47985         Use math_force_eval instead of asm to ensure calculation scheduled
47986         before exception test.
47987         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47988         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47990 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47993         computation is not scheduled after fetestexcept.
47995 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47997         [BZ #14117]
47998         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47999         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48001 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48003         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48004         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48006 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48008         [BZ #14117]
48009         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48010         <bits/wordsize.h>.
48011         (__WCHAR_MIN): Support __WORDSIZE == 64.
48012         (__WCHAR_MAX): Likewise.
48014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48015         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48017         [BZ #14183]
48018         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48019         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48021         [BZ #14117]
48022         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48025         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48026         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48028         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48029         Defined to 1 if __x86_64__ isn't defined.
48030         (_STAT_VER_LINUX_OLD): New.
48031         (st_atime): Remove duplicate.
48032         (st_mtime): Likewise.
48033         (st_ctime): Likewise.
48035 2012-05-31  David S. Miller  <davem@davemloft.net>
48037         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48038         entries.
48040 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48042         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48043         gen-libm-test.pl.
48045         [BZ #14132]
48046         * elf/dl-reloc.c: Include <_itoa.h>.
48047         (_dl_reloc_bad_type): Remove use of INTUSE.
48048         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48049         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48050         * stdio-common/psiginfo.c (psiginfo): Likewise.
48051         * stdio-common/psignal.c (psignal): Likewise.
48052         * string/strsignal.c (strsignal): Likewise.
48053         * include/signal.h (_sys_siglist): Declare hidden proto.
48054         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48055         INTVARDEF with libc_hidden_data_def.
48056         * stdio-common/itoa-udigits.c: Likewise.
48057         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48058         (_itoa_lower_digits_internal): Remove declaration.
48059         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48060         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48061         (_sys_sigabbrev_internal): Remove aliases.
48062         (_sys_siglist): Define hidden alias.
48064 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48067         bits/sysctl.h.
48069 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48071         [BZ #14117]
48072         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48073         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48075         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48076         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48077         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48078         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48079         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48080         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48082         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48083         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48084         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48086         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48087         with __addr.
48088         (insw): Likewise.
48089         (insl): Likewise.
48090         (outsb): Likewise.
48091         (outsw): Likewise.
48092         (outsl): Likewise.
48094         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48095         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48096         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48098         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48099         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48100         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48101         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48102         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48103         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48105         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48106         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48108         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48109         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48112         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48113         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48115         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48116         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48117         to ...
48118         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48120         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48121         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48122         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48124         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48125         for x86-64.
48126         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48128 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48130         * math/math.h (M_El): Use two more decimal places.
48131         (M_LOG2El): Likewise.
48132         (M_LOG10El): Likewise.
48133         (M_LN2l): Likewise.
48134         (M_LN10l): Likewise.
48135         (M_PIl): Likewise.
48136         (M_PI_2l): Likewise.
48137         (M_PI_4l): Likewise.
48138         (M_1_PIl): Likewise.
48139         (M_2_PIl): Likewise.
48140         (M_2_SQRTPIl): Likewise.
48141         (M_SQRT2l): Likewise.
48142         (M_SQRT1_2l): Likewise.
48144 2012-05-31  David S. Miller  <davem@davemloft.net>
48146         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48147         values between float registers.
48148         * sysdeps/sparc/sparc64/memset.S: Likewise.
48149         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48151 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48153         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48154         -D_FORTIFY_SOURCE=1.
48155         (CPPFLAGS-tst-longjmp_chk.c): Define.
48156         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48157         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48158         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48159         CFLAGS-tst-wchar-h.c.
48161 2012-05-31  Marek Polacek  <polacek@redhat.com>
48163         [BZ #14132]
48164         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48165         __endmntent_internal): Remove declaration.
48166         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48167         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48168         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48170 2012-05-30  David S. Miller  <davem@davemloft.net>
48172         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48173         (___Q_simulate_exceptions): Use real FP ops rather than writing
48174         into the %fsr.
48175         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48176         Likewise.
48178 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48180         [BZ #14117]
48181         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48182         * sysdeps/x86/bits/xtitypes.h: This.
48184         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48185         * sysdeps/x86/bits/wordsize.h: This.
48187         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48188         * sysdeps/x86/bits/huge_vall.h: This.
48190         * sysdeps/i386/bits/select.h: Removed.
48191         * sysdeps/x86_64/bits/select.h: Renamed to ...
48192         * sysdeps/x86/bits/select.h: This.
48194         * sysdeps/i386/bits/setjmp.h: Removed.
48195         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48196         * sysdeps/x86/bits/setjmp.h: This.
48198         * sysdeps/i386/bits/mathdef.h: Removed.
48199         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48200         * sysdeps/x86/bits/mathdef.h: This.
48202 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48204         [BZ #14132]
48205         * include/sys/socket.h (__connect_internal)
48206         (__libc_sa_len_internal): Remove declaration.
48207         (__connect, __libc_sa_len): Declare hidden_proto.
48208         (SA_LEN): Remove use of INTUSE.
48209         * socket/connect.c: Add libc_hidden_def.
48210         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48211         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48212         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48213         alias.
48214         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48215         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48216         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48217         of adding _internal alias.
48219 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48221         [BZ #14117]
48222         * sysdeps/i386/bits/link.h: Removed.
48223         * sysdeps/i386/bits/linkmap.h: Likewise.
48224         * sysdeps/x86_64/bits/link.h: Renamed to ...
48225         * sysdeps/x86/bits/link.h: This.
48226         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48227         * sysdeps/x86/bits/linkmap.h: This.
48229         * sysdeps/i386/bits/endian.h: Removed.
48230         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48231         * sysdeps/x86/bits/endian.h: This.
48233         * sysdeps/i386/bits/byteswap.h: Removed.
48234         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48235         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48236         * sysdeps/x86/bits/byteswap.h: This.
48237         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48238         * sysdeps/x86/bits/byteswap-16.h: This.
48239         * sysdeps/i386/Implies: Add x86.
48240         * sysdeps/x86_64/Implies: Likewise.
48242 2012-05-30  David S. Miller  <davem@davemloft.net>
48244         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48245         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48246         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48247         (FP_TRAPPING_EXCEPTIONS): Define.
48248         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48249         (FP_TRAPPING_EXCEPTIONS): Define.
48250         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48251         subnormals only when inexact has been signalled or underflow
48252         exceptions are enabled.
48253         (_FP_PACK_CANONICAL): Likewise.
48255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48257         [BZ #14183]
48258         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48259         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48261 2012-05-30  Richard Henderson  <rth@twiddle.net>
48263         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48264         with #ifndef NOT_IN_libc.
48266         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48267         marked to avoid plt entry.
48269 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48271         [BZ #14112]
48272         * Makeconfig (default-abi): New macro.
48273         (abi-includes): Likewise.
48274         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48275         $(abi-$(default-abi)-lib-soname) for soname if defined.
48276         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48277         abi-variants.
48278         * Makefile (installed-stubs): Likewise.
48279         * include/stubs-biarch.h: Removed.
48280         * scripts/lib-names.awk: Only handle one library at a time.
48281         * scripts/soversions.awk: Remove WORDSIZE support.
48282         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48283         entries.
48284         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48285         Removed.
48286         (syscall-list-default-condition): Likewise.
48287         (syscall-list-default-condition): Likewise.
48288         (syscall-list-includes): Likewise.
48289         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48290         syscall-list-* with abi-*.  Handle undefined abi-variants.
48291         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48292         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48293         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48294         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48295         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48296         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48297         Removed.
48298         (syscall-list-32-options): Likewise.
48299         (syscall-list-32-condition): Likewise.
48300         (syscall-list-64-options): Likewise.
48301         (syscall-list-64-condition): Likewise.
48302         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48303         macro.
48304         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48305         Renamed to ...
48306         (abi-*): This.
48307         (abi-64-ld-soname): New macro.
48308         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48309         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48310         Renamed to ...
48311         (abi-*): This.
48312         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48313         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48315 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48317         * sysdeps/unix/sysv/linux/kernel-features.h
48318         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48319         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48320         include <kernel-features.h>.
48321         [!__NR_ftruncate64]: Remove conditional code.
48322         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48323         [__NR_ftruncate64]: Make code unconditional.
48324         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48325         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48326         include <kernel-features.h>.
48327         [!__NR_ftruncate64]: Remove conditional code.
48328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48329         [__NR_ftruncate64]: Make code unconditional.
48330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48332         include <kernel-features.h>.
48333         [!__NR_ftruncate64]: Remove conditional code.
48334         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48335         [__NR_ftruncate64]: Make code unconditional.
48336         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48338         include <kernel-features.h>.
48339         [!__NR_ftruncate64]: Remove conditional code.
48340         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48341         [__NR_ftruncate64]: Make code unconditional.
48342         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48344         * configure.in (libc_cv_fpie): Weaken to a compile test using
48345         LIBC_TRY_CC_OPTION.
48346         * configure: Regenerated.
48348 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48354         Refreshed.
48355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48361         Refreshed.
48363 2012-05-27  David S. Miller  <davem@davemloft.net>
48365         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48366         (___Q_zero): New.
48367         (__Q_simulate_exceptions): Return void.  Change to simulate
48368         exceptions by writing into the %fsr.
48369         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48370         (__Qp_handle_exceptions): Likewise.
48371         (numbers): Delete.
48372         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48373         __Qp_handle_exceptions.
48374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48375         __Qp_handle_exceptions.
48376         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48377         as unused and give dummy FP_RND_NEAREST initializer.
48378         (FP_INHIBIT_RESULTS): Define.
48379         (___Q_simulate_exceptions): Update declaration.
48380         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48381         formatting.
48382         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48383         as unused and give dummy FP_RND_NEAREST initializer.
48384         (__Qp_handle_exceptions): Update declaration.
48385         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48386         formatting.
48388 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48390         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48391         the temporary FPU control word.
48392         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48393         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48394         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48395         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48396         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48397         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48398         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48399         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48400         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48401         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48404 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48406         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48407         fields.
48409 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48411         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48412         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48413         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48414         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48415         Likewise.
48416         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48417         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48418         Likewise.
48420 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48422         * po/h.po: Update from translation team.
48424 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48426         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48428         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48429         handling of denormals.
48430         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48431         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48432         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48433         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48434         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48437         Likewise.
48439 2012-05-26  Marek Polacek  <polacek@redhat.com>
48441         [BZ #14152]
48442         * math/libm-test.inc (fma_test): Don't always expect underflow
48443         exception.
48445 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48447         [BZ #12416]
48448         * elf/tst-execstack.c: Include stackinfo.h.
48449         (do_test): Adjust test case to ensure that pthread_getattr_np
48450         behaviour remains the same after marking stack executable.
48452 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48454         * sysdeps/unix/sysv/linux/kernel-features.h
48455         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48456         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48457         kernel-features.h.
48458         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48459         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48460         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48461         kernel-features.h.
48462         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48463         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48465 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48467         * configure.in: Define the default includes to being none.
48468         * configure: Regenerated.
48470 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48472         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48473         * sysdeps/x86_64/setjmp.S: Likewise.
48474         * sysdeps/i386/bsd-setjmp.S: Likewise.
48475         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48476         * sysdeps/i386/setjmp.S: Likewise.
48477         * sysdeps/i386/__longjmp.S: Likewise.
48478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48479         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48481         * include/stap-probe.h: New file.
48482         * configure.in: Handle --enable-systemtap.
48483         * configure: Regenerated.
48484         * config.h.in (USE_STAP_PROBE): New #undef.
48485         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48486         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48487         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48489 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48491         [BZ #13717]
48492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48493         to 2.4.0 where earlier.
48494         * sysdeps/unix/sysv/linux/configure: Regenerated.
48495         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48496         <kernel-features.h>.
48497         [__ASSUME_32BITUIDS]: Make code unconditional.
48498         [!__ASSUME_32BITUIDS]: Remove conditional code.
48499         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48500         <kernel-features.h>.
48501         [__ASSUME_32BITUIDS]: Make code unconditional.
48502         [!__ASSUME_32BITUIDS]: Remove conditional code.
48503         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48504         [__ASSUME_32BITUIDS]: Make code unconditional.
48505         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48506         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
48527         <kernel-features.h>.
48528         [__ASSUME_32BITUIDS]: Make code unconditional.
48529         [!__ASSUME_32BITUIDS]: Remove conditional code.
48530         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48531         <kernel-features.h>.
48532         [__ASSUME_32BITUIDS]: Make code unconditional.
48533         [!__ASSUME_32BITUIDS]: Remove conditional code.
48534         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48535         <kernel-features.h>.
48536         [__ASSUME_32BITUIDS]: Make code unconditional.
48537         [!__ASSUME_32BITUIDS]: Remove conditional code.
48538         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48539         <kernel-features.h>.
48540         [__ASSUME_32BITUIDS]: Make code unconditional.
48541         [!__ASSUME_32BITUIDS]: Remove conditional code.
48542         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48543         <kernel-features.h>.
48544         [__ASSUME_32BITUIDS]: Make code unconditional.
48545         [!__ASSUME_32BITUIDS]: Remove conditional code.
48546         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48547         <kernel-features.h>.
48548         [__NR_setresgid] (__setresgid): Do not declare.
48549         [__ASSUME_32BITUIDS]: Make code unconditional.
48550         [!__ASSUME_32BITUIDS]: Remove conditional code.
48551         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48552         <kernel-features.h>.
48553         [__NR_setresuid] (__setresuid): Do not declare.
48554         [__ASSUME_32BITUIDS]: Make code unconditional.
48555         [!__ASSUME_32BITUIDS]: Remove conditional code.
48556         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
48577         <kernel-features.h>.
48578         [__ASSUME_32BITUIDS]: Make code unconditional.
48579         [!__ASSUME_32BITUIDS]: Remove conditional code.
48580         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48581         <kernel-features.h>.
48582         [__ASSUME_32BITUIDS]: Make code unconditional.
48583         [!__ASSUME_32BITUIDS]: Remove conditional code.
48584         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48585         <kernel-features.h>.
48586         [__ASSUME_32BITUIDS]: Make code unconditional.
48587         [!__ASSUME_32BITUIDS]: Remove conditional code.
48588         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48589         <kernel-features.h>.
48590         [__ASSUME_32BITUIDS]: Make code unconditional.
48591         [!__ASSUME_32BITUIDS]: Remove conditional code.
48592         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48593         <kernel-features.h>.
48594         [__ASSUME_32BITUIDS]: Make code unconditional.
48595         [!__ASSUME_32BITUIDS]: Remove conditional code.
48596         * sysdeps/unix/sysv/linux/kernel-features.h
48597         (__ASSUME_SETRESUID_SYSCALL): Remove.
48598         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48599         (__ASSUME_32BITUIDS): Likewise.
48600         (__ASSUME_LDT_WORKS): Likewise.
48601         (__ASSUME_O_DIRECTORY): Likewise.
48602         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48603         architecture but not kernel version.
48604         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48605         (__ASSUME_MMAP2_SYSCALL): Likewise.
48606         (__ASSUME_STAT64_SYSCALL): Likewise.
48607         (__ASSUME_IPC64): Likewise.
48608         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48609         <kernel-features.h>.
48610         [__ASSUME_32BITUIDS]: Make code unconditional.
48611         [!__ASSUME_32BITUIDS]: Remove conditional code.
48612         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48613         <kernel-features.h>.
48614         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48615         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48616         132096]: Remove conditional code.
48617         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48618         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48619         <kernel-features.h>.
48620         [__ASSUME_32BITUIDS]: Make code unconditional.
48621         [!__ASSUME_32BITUIDS]: Remove conditional code.
48622         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48623         <kernel-features.h>.
48624         [__ASSUME_32BITUIDS]: Make code unconditional.
48625         [!__ASSUME_32BITUIDS]: Remove conditional code.
48626         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48627         <kernel-features.h>.
48628         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48629         unconditional.
48630         (__setresgid): Do not declare.
48631         [__ASSUME_32BITUIDS]: Make code unconditional.
48632         [!__ASSUME_32BITUIDS]: Remove conditional code.
48633         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48634         <kernel-features.h>.
48635         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48636         unconditional.
48637         (__setresuid): Do not declare.
48638         [__ASSUME_32BITUIDS]: Make code unconditional.
48639         [!__ASSUME_32BITUIDS]: Remove conditional code.
48640         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48641         <kernel-features.h>.
48642         [__ASSUME_32BITUIDS]: Make code unconditional.
48643         [!__ASSUME_32BITUIDS]: Remove conditional code.
48644         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48645         <kernel-features.h>.
48646         [__ASSUME_32BITUIDS]: Make code unconditional.
48647         [!__ASSUME_32BITUIDS]: Remove conditional code.
48649 2012-05-25  Richard Henderson  <rth@twiddle.net>
48651         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48652         dl_hwcap to ifunc resolver.
48653         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48654         elf_ifunc_invoke.
48655         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48656         dl_hwcap to ifunc resolver.
48657         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48659 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48661         [BZ #14153]
48662         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48663         for |x| <= 2**-26, not 2**-57.
48664         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48665         exception.
48667 2012-05-24  Jeff Law  <law@redhat.com>
48669         * stdio-common/Makefile (tests): Add bug25.
48670         * stdio-common/bug25.c: New test.
48672 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48674         [BZ #13576]
48675         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48676         multiple of MALLOC_ALIGNMENT in size.
48677         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48679 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48681         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48682         Require >= 256.
48683         (FILENAME_MAX): Use macro-int-constant.
48684         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48685         (_IOFBF): Use macro-int-constant.
48686         (_IOLBF): Likewise.
48687         (_IONBF): Likewise.
48688         (SEEK_CUR): Likewise.
48689         (SEEK_END): Likewise.
48690         (SEEK_SET): Likewise.
48691         (TMP_MAX): Likewise.
48692         (EOF): Use macro-int-constant.  Require < 0.
48693         (NULL): Use macro-constant.  Require == 0.
48694         (stdin): Require type to be FILE *.
48695         (stdout): Likewise.
48696         (stderr): Likewise.
48697         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48698         macro-int-constant.
48699         (EXIT_SUCCESS): Likewise.
48700         (NULL): Use macro-constant.  Require == 0.
48701         (RAND_MAX): Use macro-int-constant.
48702         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48703         [C99-based standards] (strtof): Require function.
48704         [C99-based standards] (strtold): Likewise.
48705         [C99-based standards] (strtoll): Likewise.
48706         [C99-based standards] (strtoull): Likewise.
48707         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48708         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48709         [ISO || ISO99 || ISO11] (math.h): Likewise.
48710         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48711         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48712         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48714 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48716         [BZ #14132]
48717         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48718         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48719         * intl/dgettext.c (DCGETTEXT): Likewise.
48720         * intl/gettext.c (DCGETTEXT): Likewise.
48721         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48722         * posix/regex_internal.h (gettext): Likewise.
48723         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48724         Remove declaration.
48725         * include/argz.h (__argz_count_internal)
48726         (__argz_stringify_internal): Remove declaration.
48727         (__argz_count, __argz_stringify): Declare hidden proto.
48728         * intl/dcgettext.c: Remove use of INTDEF.
48729         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48730         * string/argz-stringify.c: Likewise.
48731         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48732         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48733         Declare hidden proto.
48734         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48735         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48736         Declare hidden proto.
48737         * include/stdio.h (__asprintf_internal): Don't declare.
48738         (__asprintf): Don't define as macro.  Declare hidden proto.
48739         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48740         (__fsetlocking): Declare hidden proto.
48741         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48742         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48743         hidden proto.
48744         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48745         (_IO_setlinebuf): Remove use of INTUSE.
48746         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48747         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48748         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48749         Remove declaration.
48750         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48751         (_IO_do_flush): Remove use of INTUSE.
48752         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48753         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48754         (_IO_adjust_column, _IO_least_wmarker)
48755         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48756         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48757         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48758         (_IO_default_doallocate, _IO_wdefault_doallocate)
48759         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48760         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48761         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48762         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48763         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48764         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48765         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48766         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48767         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48768         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48769         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48770         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48771         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48772         proto.
48773         (_IO_flush_all_internal, _IO_adjust_column_internal)
48774         (_IO_default_uflow_internal, _IO_default_finish_internal)
48775         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48776         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48777         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48778         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48779         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48780         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48781         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48782         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48783         (_IO_file_close_internal, _IO_file_close_it_internal)
48784         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48785         (_IO_file_init_internal, _IO_file_attach_internal)
48786         (_IO_file_fopen_internal, _IO_file_read_internal)
48787         (_IO_file_sync_internal, _IO_file_seek_internal)
48788         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48789         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48790         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48791         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48792         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48793         (_IO_list_all_internal, _IO_link_in_internal)
48794         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48795         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48796         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48797         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48798         (_IO_do_write_internal, _IO_padn_internal)
48799         (_IO_getline_info_internal, _IO_getline_internal)
48800         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48801         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48802         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48803         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48804         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48805         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48806         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48807         with libc_hidden_ver, remove use of INTUSE.
48808         * libio/genops.c: Likewise.
48809         * libio/freopen.c: Likewise.
48810         * libio/freopen64.c: Likewise.
48811         * libio/iofclose.c: Likewise.
48812         * libio/iofdopen.c: Likewise.
48813         * libio/iofflush.c: Likewise.
48814         * libio/iofflush_u.c: Likewise.
48815         * libio/iofgets.c: Likewise.
48816         * libio/iofgets_u.c: Likewise.
48817         * libio/iofopen.c: Likewise.
48818         * libio/iofopncook.c: Likewise.
48819         * libio/iofread.c: Likewise.
48820         * libio/iofread_u.c: Likewise.
48821         * libio/ioftell.c: Likewise.
48822         * libio/iofwrite.c: Likewise.
48823         * libio/iogetline.c: Likewise.
48824         * libio/iogets.c: Likewise.
48825         * libio/iogetwline.c: Likewise.
48826         * libio/iopadn.c: Likewise.
48827         * libio/iopopen.c: Likewise.
48828         * libio/ioseekoff.c: Likewise.
48829         * libio/ioseekpos.c: Likewise.
48830         * libio/iosetbuffer.c: Likewise.
48831         * libio/iosetvbuf.c: Likewise.
48832         * libio/ioungetc.c: Likewise.
48833         * libio/ioungetwc.c: Likewise.
48834         * libio/iovdprintf.c: Likewise.
48835         * libio/iovsprintf.c: Likewise.
48836         * libio/iovsscanf.c: Likewise.
48837         * libio/memstream.c: Likewise.
48838         * libio/obprintf.c: Likewise.
48839         * libio/oldfileops.c: Likewise.
48840         * libio/oldiofclose.c: Likewise.
48841         * libio/oldiofdopen.c: Likewise.
48842         * libio/oldiofopen.c: Likewise.
48843         * libio/oldiopopen.c: Likewise.
48844         * libio/oldstdfiles.c: Likewise.
48845         * libio/putc.c: Likewise.
48846         * libio/setbuf.c: Likewise.
48847         * libio/setlinebuf.c: Likewise.
48848         * libio/stdfiles.c: Likewise.
48849         * libio/strops.c: Likewise.
48850         * libio/vasprintf.c: Likewise.
48851         * libio/vscanf.c: Likewise.
48852         * libio/vsnprintf.c: Likewise.
48853         * libio/vswprintf.c: Likewise.
48854         * libio/wfiledoalloc.c: Likewise.
48855         * libio/wfileops.c: Likewise.
48856         * libio/wgenops.c: Likewise.
48857         * libio/wmemstream.c: Likewise.
48858         * libio/wstrops.c: Likewise.
48859         * libio/__fpurge.c: Likewise.
48860         * libio/__fsetlocking.c: Likewise.
48861         * assert/assert.c: Likewise.
48862         * debug/fgets_chk.c: Likewise.
48863         * debug/fgets_u_chk.c: Likewise.
48864         * debug/fread_chk.c: Likewise.
48865         * debug/fread_u_chk.c: Likewise.
48866         * debug/gets_chk.c: Likewise.
48867         * debug/obprintf_chk.c: Likewise.
48868         * debug/vasprintf_chk.c: Likewise.
48869         * debug/vdprintf_chk.c: Likewise.
48870         * debug/vsnprintf_chk.c: Likewise.
48871         * debug/vsprintf_chk.c: Likewise.
48872         * malloc/mtrace.c: Likewise.
48873         * misc/error.c: Likewise.
48874         * misc/syslog.c: Likewise.
48875         * stdio-common/asprintf.c: Likewise.
48876         * stdio-common/fxprintf.c: Likewise.
48877         * stdio-common/getw.c: Likewise.
48878         * stdio-common/isoc99_fscanf.c: Likewise.
48879         * stdio-common/isoc99_scanf.c: Likewise.
48880         * stdio-common/isoc99_vfscanf.c: Likewise.
48881         * stdio-common/isoc99_vscanf.c: Likewise.
48882         * stdio-common/isoc99_vsscanf.c: Likewise.
48883         * stdio-common/printf-prs.c: Likewise.
48884         * stdio-common/printf_fp.c: Likewise.
48885         * stdio-common/printf_fphex.c: Likewise.
48886         * stdio-common/printf_size.c: Likewise.
48887         * stdio-common/putw.c: Likewise.
48888         * stdio-common/scanf.c: Likewise.
48889         * stdio-common/sprintf.c: Likewise.
48890         * stdio-common/tmpfile.c: Likewise.
48891         * stdio-common/vfprintf.c: Likewise.
48892         * stdio-common/vfscanf.c: Likewise.
48893         * stdlib/strfmon_l.c: Likewise.
48894         * sunrpc/openchild.c: Likewise.
48895         * sunrpc/xdr_stdio.c: Likewise.
48896         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48897         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48899 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48901         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48903         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48904         in the third column, to generate for the shared library an IFUNC
48905         that uses _dl_vdso_vsym.
48906         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48907         * Makeconfig (object-suffixes-noshared): New variable.
48909         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48910         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48911         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48912         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48914         [BZ #14132]
48915         * include/sys/time.h (__gettimeofday): Remove macro.
48916         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48917         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48918         Remove INTDEF.
48919         (__gettimeofday): Add libc_hidden_def.
48920         (gettimeofday): Add libc_hidden_weak.
48921         * sysdeps/mach/gettimeofday.c: Likewise.
48922         * sysdeps/posix/gettimeofday.c: Likewise.
48923         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48924         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48925         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48926         (__gettimeofday_internal): Remove strong_alias.
48927         (__gettimeofday): Add libc_hidden_def.
48928         (gettimeofday): Add libc_hidden_weak.
48929         * sysdeps/unix/syscalls.list (gettimeofday):
48930         Remove __gettimeofday_internal alias.
48932 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48933             H.J. Lu  <hongjiu.lu@intel.com>
48935         [BZ #12495]
48936         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48937         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48938         (largebin_index_32_big): New.
48939         (largebin_index): Use it for 16-byte alignment.
48940         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48941         correction with front_misalign.
48943 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48947         Likewise.
48948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48949         Likewise.
48950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48951         Likewise.
48952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48953         Likewise.
48954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48955         Likewise.
48956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48957         Likewise.
48958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48959         Likewise.
48960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48961         Likewise.
48962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48963         Likewise.
48964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48965         Likewise.
48966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48967         Likewise.
48968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48969         Likewise.
48971         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48972         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48974 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48976         [BZ #10846]
48977         [BZ #14036]
48978         * math/libm-test.inc (exp_test): Add test from bug 14036.
48979         (pow_test): Add test from bug 10846.
48981         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48982         and other flags.
48983         (special_function): Do not include flags in test name.
48984         (parse_args): Likewise.
48985         * sysdeps/i386/fpu/libm-test-ulps: Update.
48986         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48987         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48988         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48991         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48992         exceptions.
48993         * math/libm-test.inc ("Philosophy"): Update comment about
48994         exception testing.
48995         (UNDERFLOW_EXCEPTION): New macro.
48996         (UNDERFLOW_EXCEPTION_OK): Likewise.
48997         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48998         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48999         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49000         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49001         (INVALID_EXCEPTION_OK): Update value.
49002         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49003         (OVERFLOW_EXCEPTION_OK): Likewise.
49004         (IGNORE_ZERO_INF_SIGN): Likewise.
49005         (test_exceptions): Handle underflow exceptions.
49006         (acos_test): Update for underflow exception expectations.
49007         (cexp_test): Likewise.
49008         (clog_test): Likewise.
49009         (clog10_test): Likewise.
49010         (csqrt_test): Likewise.
49011         (ctan_test): Likewise.
49012         (ctanh_test): Likewise.
49013         (exp_test): Likewise.
49014         (exp10_test): Likewise.
49015         (exp2_test): Likewise.
49016         (expm1_test): Likewise.
49017         (fma_test): Likewise.
49018         (j0_test): Likewise.
49019         (jn_test): Likewise.
49020         (nexttoward_test): Likewise.
49021         (pow_test): Likewise.
49022         (scalbn_test): Likewise.
49023         (scalbln_test): Likewise.
49024         (tan_test): Likewise.
49025         (y1_test): Likewise.
49026         * sysdeps/i386/fpu/libm-test-ulps: Update.
49027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49029 2012-05-23  David S. Miller  <davem@davemloft.net>
49031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49032         (__libc_sigaction): Remove unused local variables.
49034 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49036         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49038 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49040         mktime: avoid signed integer overflow
49041         * time/mktime.c (__mktime_internal): Do not mishandle the case
49042         where diff == INT_MIN.
49044         mktime: simplify computation of average
49045         * time/mktime.c (ranged_convert): Use new time_t_avg function
49046         instead of rolling our own (probably-slower) code.
49048         mktime: do not assume signed right shift propagates sign bit
49049         * time/mktime.c (isdst_differ): New static function.
49050         (__mktime_internal): No need to normalize tm_isdst now.
49051         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49052         tm_isdst values.
49054         mktime: merge another wrapv change from gnulib
49055         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49056         from some compilers.
49058         mktime: remove incorrect attempt at unusual arithmetics
49059         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49060         The code didn't really work on such machines anyway.
49061         (TYPE_MINIMUM): Assume two's complement.
49062         (twos_complement_arithmetic): Verify that long_int and time_t
49063         are two's complement (or unsigned, in the latter case).
49065         mktime: check signed shifts on long_int and time_t, too
49066         * time/mktime.c (SHR): Check that shifts work as desired
49067         on the types long_int and time_t too, as SHR is used on
49068         such types.
49070         mktime: do not assume 'long' is wide enough
49071         * time/mktime.c (verify): Move decl up.
49072         (long_int): New type.
49073         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49074         to remove assumption in the code that 'long' is wide enough to
49075         store year values.  This assumption is not true on x32 and on
49076         some non-glibc platforms.
49078         mktime: merge wrapv change from gnulib
49079         * time/mktime.c (WRAPV): New macro.
49080         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49081         (guess_time_tm, __mktime_internal): Do not assume that signed
49082         integer overflow wraps around; modern compilers generate code
49083         where this assumption is no longer valid.
49085 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49087         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49088         Replace "jmp L(pseudo_end)" with "ret".
49089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49090         Likewise.
49092 2012-05-23  Andreas Jaeger  <aj@suse.de>
49094         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49095         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49097 2012-05-23  Andreas Jaeger  <aj@suse.de>
49098             Maximilian Attems  <max@stro.at>
49100         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49101         New macros.
49103 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49106         code so that pseudo_end is just ret and the stack pointer is
49107         correct also for static library in error case.
49109 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49111         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49112         move to syscalls.list.
49113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49118         * manual/install.texi (Running make install): Do not mention Linux
49119         kernel version for which pt_chown is not needed.
49120         (Linux): Do not mention problems with nscd with 2.0 kernels.
49121         * INSTALL: Regenerated.
49123 2012-05-23  Andreas Jaeger  <aj@suse.de>
49125         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49126         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49127         macro.
49128         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49129         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49130         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49131         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49132         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49133         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49134         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49135         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49136         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49137         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49138         * sysdeps/unix/sysv/linux/bits/in.h
49139         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49141 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49143         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49144         (PREPARE_VERSION): Just use assert instead, it will be elided
49145         under [NDEBUG] anyway.
49147 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49149         * sysdeps/unix/sysv/linux/Makefile: Include
49150         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49151         (sysdep_routines): Remove sysctl.
49152         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49153         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49154         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49155         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49156         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49158 2012-05-22  Andreas Jaeger  <aj@suse.de>
49160         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49161         that pseudo_end is just ret and the stack pointer is correct also
49162         for static library in error case.
49164 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49166         [BZ #14122]
49167         * nss/nsswitch.c (defconfig_entries): New variable.
49168         (__nss_database_lookup): Don't leak defconfig entries.
49169         (nss_parse_service_list): Don't leak on error paths.
49170         (free_database_entries): New function.
49171         (free_defconfig): New function.
49172         (free_mem): Move common code to free_database_entries.
49174 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49176         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49177         Add arch_prctl.
49178         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49181         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49182         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49183         New macro.
49184         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49185         (INTERNAL_SYSCALL_TYPES): Likewise.
49186         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49187         (LOAD_REGS_TYPES_[1-6]): Likewise.
49188         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49189         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49191 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49193         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49194         copysignl for GLIBC_2_0.
49195         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49196         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49197         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49198         logbl for GLIBC_2_0.
49199         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49200         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49202 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49205         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49207         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49208         Use "neg %eax".
49210         * time/mktime.c: Update copyright years.
49212 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49214         mktime: merge comment-quoting-style change from gnulib
49215         * time/mktime.c: Quote 'like this' in comments.
49216         The GNU coding standards suggest that we no longer quote `like this',
49217         as "`" and "'" are typically rendered asymmetrically nowadays.
49218         The typical gnulib style is to quote 'like this' when quoting
49219         code, and "like this" when quoting English.
49221         * time/mktime.c (compile-command): Add "-I.".
49223         mktime: merge mktime-internal.h change from gnulib
49224         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49226         mktime: merge time_r change from gnulib
49227         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49229         mktime: merge DEBUG change from gnulib
49230         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49231         case system <time.h> has a #define.
49233         mktime: merge <sys/types.h> change from gnulib
49234         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49235         since <time.t> is now guaranteed to define time_t.
49237         mktime: merge HAVE_CONFIG_H change from gnulib
49238         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49240 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49243         Use "neg %eax".
49245         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49246         __rlim_t cast.
49247         (struct rusage): Use anonymous union to pad each field to
49248         __syscall_slong_t.
49250 2012-05-21  David S. Miller  <davem@davemloft.net>
49252         * Makefules (o-iterator): Remove .s cases.
49253         (compile-command.s): Delete.
49254         (COMPILE.s): Delete.
49255         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49257 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49259         * configure.in (libc_cv_predef_stack_protector): Only consider
49260         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49261         * configure: Regenerated.
49263 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49266         New macro.  Use R*LP on int and pointer.
49267         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49268         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49269         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49270         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49272         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49273         [__WORDSIZE_TIME64_COMPAT32] instead of
49274         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49275         (struct utmp): Likewise.
49276         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49277         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49278         Renamed to ...
49279         (__WORDSIZE_TIME64_COMPAT32): This.
49280         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49281         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49282         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49283         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49284         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49285         (__WORDSIZE_TIME64_COMPAT32): New macro.
49287 2012-05-21  Andreas Jaeger  <aj@suse.de>
49289         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49290         only if [SHARED]. Add prototype for __wcschr_ia32.
49292 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49294         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49295         of %rbp unmolested in the jmp_buf while mangling the low bits.
49296         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49297         unmolested high bits of %rbp while demangling the low bits.
49298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49300 2012-05-21  Andreas Jaeger  <aj@suse.de>
49302         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49303         * sunrpc/svc_simple.c: Use it for registerrpc.
49304         * sunrpc/xcrypt.c: Use it for passwd2des.
49306         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49308 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49310         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49311         Don't define if [__SYSCALL_WORDSIZE != 32].
49312         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49313         New macro.
49315 2012-05-21  Bruno Haible  <bruno@clisp.org>
49316             Andreas Jaeger  <aj@suse.de>
49318         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49319         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49320         inptr and inend for must_buffer_ch.
49321         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49322         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49323         * stdio-common/Makefile (tests): Remove bug15.
49324         (bug15-ENV): Remove macro.
49325         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49326         anymore.
49328 2012-05-19  Andreas Jaeger  <aj@suse.de>
49329             Roland McGrath  <roland@hack.frob.com>
49331         * manual/contrib.texi: Completely rewritten. It contains now an
49332         alphabetical list of contributors and their contributions.
49334 2012-05-21  Richard Henderson  <rth@twiddle.net>
49336         * misc/getauxval.c (__getauxval): Use unsigned long int.
49337         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49338         (getauxval): Use unsigned long int.
49340 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49342         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49344 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49346         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49347         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49348         __alignof__ (long double).
49350 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49354 2012-05-20  Richard Henderson  <rth@twiddle.net>
49356         * misc/getauxval.c: New file.
49357         * misc/sys/auxv.h: New file.
49358         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49359         (routines): Add getauxval.
49360         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49361         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49362         * elf/dl-sysdep.c (_dl_auxv): Remove.
49363         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49364         * elf/dl-support.c (_dl_auxv): New variable.
49365         (_dl_aux_init): Initialize it.
49366         * manual/startup.texi (Auxiliary Vector): New node.
49367         * sysdeps/generic/bits/hwcap.h: New file.
49368         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49369         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49370         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49371         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49372         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49373         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49375         Update.
49376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49379         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49385 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49389 2012-05-19  David S. Miller  <davem@davemloft.net>
49391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49393 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49395         [BZ #14123]
49396         * math/s_ccosh.c: Include <float.h>
49397         (__ccosh): Avoid internal overflow calculating sinh and cosh
49398         values before multiplying by sin and cos values.
49399         * math/s_ccoshf.c: Likewise.
49400         * math/s_ccoshl.c: Likewise.
49401         * math/s_csin.c: Likewise.
49402         * math/s_csinf.c: Likewise.
49403         * math/s_csinl.c: Likewise.
49404         * math/s_csinh.c: Likewise.
49405         * math/s_csinhf.c: Likewise.
49406         * math/s_csinhl.c: Likewise.
49407         * math/libm-test.inc (ccos_test): Add more tests.
49408         (ccosh_test): Likewise.
49409         (csin_test): Likewise.
49410         (csinh_test): Likewise.
49411         * sysdeps/i386/fpu/libm-test-ulps: Update.
49412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49414 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49416         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49417         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49419         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49421 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49423         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49424         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49425         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49426         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49427         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49428         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49429         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49430         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49431         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49432         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49433         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49434         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49435         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49436         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49437         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49438         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49439         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49440         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49441         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49442         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49443         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49444         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49445         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49446         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49447         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49448         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49449         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49450         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49451         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49452         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49453         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49455 2012-05-18  Andreas Jaeger  <aj@suse.de>
49457         * csu/.gitignore: Delete.
49459 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49461         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49462         (timex): Use __syscall_slong_t.
49464 2012-05-18  Andreas Jaeger  <aj@suse.de>
49465             Carlos O'Donell  <carlos_odonell@mentor.com>
49467         * manual/install.texi (Configuring and compiling): Update
49468         description about files modified in the source directory.
49469         * INSTALL: Regenerated.
49471 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49473         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49474         value.  Use "or" to set return value to -1.
49475         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49476         negate return value.
49478 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49480         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49481         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49482         failure if the compiler has Graphite support disabled.
49483         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49484         Likewise.
49485         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49486         (CFLAGS-memmove.c): Likewise.
49487         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49488         Likewise.
49490 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49492         * sysdeps/x86_64/x32/_itoa.h: New file.
49494         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49495         getdents system call only if kernel and user dirents have the
49496         same d_ino and d_off.
49498         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49499         LLONG_MAX != LONG_MAX.
49500         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49501         (_fitoa_word): Likewise.
49503         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49504         years.
49505         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49506         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49507         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49509         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49510         include <bits/wordsize.h>.  Check __x86_64__ instead of
49511         __WORDSIZE.
49512         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49513         if __x86_64__ is defined.  Use anonymous union on fpstate.
49515         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49516         anonymous union.
49518 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49520         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49521         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49522         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49523         Refer to _rtld_local_ro instead of _rtld_global_ro.
49524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49525         Likewise.
49526         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49527         Likewise.
49528         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49529         Likewise.
49530         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49531         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49532         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49534         [BZ #10882]
49535         * sysdeps/powerpc/powerpc32/dl-machine.c
49536         (__elf_machine_runtime_setup) [PROF]: Don't reference
49537         _dl_prof_resolve.
49539 2012-05-18  Andreas Jaeger  <aj@suse.de>
49541         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49542         function only available for GCCs before 3.4 since GCC 3.4
49543         introduced a builtin.
49544         (lrint): Likewise.
49545         (llrintf): Likewise.
49546         (llrint): Likewise.
49547         (fmaxf): Likewise.
49548         (fmax): Likewise.
49549         (fminf): Likewise.
49550         (fmin): Likewise.
49551         (rint): Likewise.
49552         (rintf): Likewise.
49553         (nearbyint): Likewise.
49554         (nearbyintf): Likewise.
49555         (ceil): Likewise.
49556         (ceilf): Likewise.
49557         (floor): Likewise.
49558         (floorf): Likewise.
49560 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49562         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49563         on both fields and cast pointer to __syscall_ulong_t.
49565         * bits/types.h (__fsword_t): New type.
49566         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49567         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49569         (__FSWORD_T_TYPE): Likewise.
49570         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49571         (__FSWORD_T_TYPE): Likewise.
49572         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49573         (__FSWORD_T_TYPE): Likewise.
49574         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49575         (__FSWORD_T_TYPE): Likewise.
49576         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49577         __SWORD_TYPE with __fsword_t.
49578         (statfs64): Likewise.
49580 2012-05-17  David S. Miller  <davem@davemloft.net>
49582         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49584 2012-05-17  Andreas Jaeger  <aj@suse.de>
49586         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49587         warning.
49589 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49591         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49593 2012-05-17  Andreas Jaeger  <aj@suse.de>
49595         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49596         when it is used.
49598 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49600         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49602 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49604         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49605         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49607 2012-05-17  Andreas Jaeger  <aj@suse.de>
49608             Carlos O'Donell  <carlos_odonell@mentor.com>
49610         [BZ #14059]
49611         * sysdeps/x86_64/multiarch/init-arch.h
49612         (bit_YMM_Usable): Rename to...
49613         (bit_AVX_Usable): ... this.
49614         (bit_FMA4_Usable): New macro.
49615         (bit_XMM_state): New macro.
49616         (bit_YMM_state): New macro.
49617         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49618         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49619         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49620         (CPUID_OSXSAVE): New macro.
49621         (CPUID_AVX): New macro.
49622         (CPUID_FMA4): New macro.
49623         (index_YMM_Usable): Rename to...
49624         (index_AVX_Usable): ... this.
49625         (HAS_AVX): Use HAS_ARCH_FEATURE.
49626         (HAS_FMA4): Likewise.
49627         (HAS_YMM_USABLE): Remove.
49628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49629         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49630         are present.
49631         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49632         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49633         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49634         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49635         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49637 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49639         * math/libm-test.c: Support platforms without multiple rounding modes.
49640         * math/bug-nextafter.c: Support platforms without FP exceptions.
49641         * math/bug-nexttoward.c: Likewise.
49642         * math/test-fenv.c: Likewise.
49643         * math/test-misc.c: Likewise.
49644         * stdlib/bug-getcontext.c: Likewise.
49646 2012-05-17  Andreas Jaeger  <aj@suse.de>
49648         * manual/examples/search.c (critter_cmp): Change signature to
49649         avoid warnings.
49650         * manual/string.texi (Collation Functions): Likewise.
49652 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49654         * bits/types.h: Fold copyright years.
49655         * bits/typesizes.h: Likewise.
49656         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49657         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49658         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49660         * time/time.h: Likewise.
49662 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49664         [BZ #208]
49665         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49666         in instead of returning them.  Return void.
49667         (__libc_mallinfo): Accumulate over all arenas.
49668         (__malloc_stats): Adjust for change in int_mallinfo interface.
49670 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49672         [BZ #10375]
49673         * configure.in (NM): Add AC_CHECK_TOOL for it.
49674         (libc_extra_cflags): New substituted variable.
49675         Check for -fstack-protector being used implicitly.
49676         * configure: Regenerated.
49677         * config.make.in (config-extra-cflags): New variable,
49678         gets @libc_extra_cflags@.
49679         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49681         [BZ #10375]
49682         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49683         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49684         * configure: Regenerated.
49685         * config.make.in (CPPUNDEFS): New substituted variable.
49686         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49687         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49688         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49692         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49693         (mq_attr): Use __syscall_slong_t.
49695 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49697         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49698         Check __x86_64__ instead of __WORDSIZE.
49699         (_STAT_VER_LINUX): Likewise.
49700         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49701         __syscall_ulong_t and __syscall_slong_t.
49702         (stat64): Likewise.
49704 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49706         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49708 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49710         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49712 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49714         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49715         __syscall_ulong_t.
49717         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49718         include <bits/wordsize.h>.  Check __x86_64__ instead of
49719         __WORDSIZE.
49720         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49721         defined.
49722         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49724         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49725         include <bits/wordsize.h>.  Check __x86_64__ instead of
49726         __WORDSIZE.
49727         (user_regs_struct): Use "__extension__ unsigned long long"
49728         instead of "unsigned long" if __x86_64__ is defined.
49729         (user): Likewise.  Pad after pointer field if __ILP32__ is
49730         defined.
49732 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49734         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49735         versions 5 to 9.
49736         * configure: Regenerated.
49737         * manual/install.texi (texinfo): Increase version requirement to
49738         4.5 or later.
49739         * INSTALL: Regenerated.
49741         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49743 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49745         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49747         * sysdeps/x86_64/x32/ffs.c: New file.
49749         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49750         __syscall_ulong_t.
49751         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49752         defined.  Use __syscall_ulong_t.
49753         (shminfo): Use __syscall_ulong_t.
49754         (shm_info): Likewise.
49756         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49757         __syscall_ulong_t.
49759         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49760         <bits/wordsize.h>.
49761         (msgqnum_t): Use __syscall_ulong_t.
49762         (msglen_t): Likewise.
49763         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49764         __syscall_ulong_t.
49766         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49767         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49769         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49771         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49772         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49774         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49775         __syscall_slong_t.
49777         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49778         include <bits/wordsize.h>.  Check __x86_64__ instead of
49779         __WORDSIZE.
49781         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49782         "unsigned long long int" if __x86_64__ is defined.
49783         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49785         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49786         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49787         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49789         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49790         <stdint.h>.
49791         (GET_PC): Cast to uintptr_t first.
49792         (GET_FRAME): Likewise.
49793         (GET_STACK): Likewise.
49795         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49796         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49797         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49798         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49799         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49800         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49801         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49802         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49803         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49805         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49806         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49807         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49808         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49809         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49810         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49811         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49812         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49813         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49814         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49815         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49816         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49817         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49818         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49819         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49820         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49821         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49822         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49823         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49825 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49827         * Makerules (+depfiles): Also collect depfiles from .oS in
49828         $(extra-objs).
49829         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49830         .oS, $(libnldbl-routines)).
49832         * Makerules (native-compile-mkdep-flags): Define.
49833         * sunrpc/Makefile (extra-objs): Add $(addprefix
49834         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49835         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49836         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49837         calling $(make-target-directory).
49839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49841         * bits/types.h (__snseconds_t): Removed.
49842         * time/time.h (struct timespec): Replace __snseconds_t with
49843         __syscall_slong_t.
49844         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49845         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49846         Likewise.
49847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49848         (__SNSECONDS_T_TYPE): Likewise.
49849         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49850         (__SNSECONDS_T_TYPE): Likewise.
49851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49852         (__SNSECONDS_T_TYPE): Likewise.
49854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49856         * sysdeps/mach/hurd/bits/typesizes.h
49857         (__SYSCALL_SLONG_TYPE): New macro.
49858         (__SYSCALL_ULONG_TYPE): Likewise.
49860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49862         * bits/types.h (__syscall_slong_t): New type.
49863         (__syscall_ulong_t): Likewise.
49865         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49866         (__SYSCALL_ULONG_TYPE): Likewise.
49867         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49868         (__SYSCALL_SLONG_TYPE): Likewise.
49869         (__SYSCALL_ULONG_TYPE): Likewise.
49870         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49871         (__SYSCALL_SLONG_TYPE): Likewise.
49872         (__SYSCALL_ULONG_TYPE): Likewise.
49873         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49874         (__SYSCALL_SLONG_TYPE): Likewise.
49875         (__SYSCALL_ULONG_TYPE): Likewise.
49877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49879         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49880         Add sigaltstack-offsets.sym.
49881         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49882         <sigaltstack-offsets.h>.
49883         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49884         longjmp_msg pointer.
49885         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49886         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49887         signal stack.
49888         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49890 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49892         * elf/stackguard-macros.h: Remove file.
49893         * sysdeps/generic/stackguard-macros.h: New file.
49894         * sysdeps/i386/stackguard-macros.h: Likewise.
49895         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49896         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49897         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49898         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49899         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49900         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49901         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49902         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49903         <elf/stackguard-macros.h>.
49905         [BZ #14109]
49906         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49907         __aligned__ in attribute.
49908         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49909         (gregset_t): Likewise.
49911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49913         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49914         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49915         * sysdeps/x86_64/x32/Implies-after: New file.
49917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49919         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49920         and access return value for _dl_profile_fixup.  Use R10_LP to
49921         load frame size.
49923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49925         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49929         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49930         * sysdeps/x86_64/x32/sysdep.h: New file.
49932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49934         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49935         * sysdeps/x86_64/setjmp.S: Likewise.
49937 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49939         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49940         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49941         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49942         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49943         remove unused global constant.
49945 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49947         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49948         include of <not-cancel.h>.
49950 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49952         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49954 2012-05-15  Jeff Law  <law@redhat.com>
49955             Andreas Jaeger  <aj@suse.de>
49957         [BZ #13594]
49958         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49959         out from...
49960         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49961         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49962         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49963         code changing __hst_map_handle.map.
49965 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49967         * configure.in (sysnames): Look for Implies-before and Implies-after
49968         files.
49969         * configure: Regenerated.
49971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49973         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49974         8-byte data alignment with LP_SIZE alignment.
49976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49978         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49979         into R10_LP.
49981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49983         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49987         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49988         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49989         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49990         Likewise.
49991         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49995         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49996         (stackinfo_sub_sp): Likewise.
49998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50000         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50001         RAX_LP.
50003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50005         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50006         into R*_LP.
50008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50010         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50011         sizes into R*_LP.
50013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50015         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50019         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50020         into R11_LP and load __x86_64_shared_cache_size_half into
50021         R8_LP.
50023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50025         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50026         R8_LP.
50028 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50031         logb for POWER7.
50032         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50033         logbf for POWER7.
50034         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50035         logbl for POWER7.
50036         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50037         powerpc32/power7/fpu/s_logb.c via #include.
50038         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50039         powerpc32/power7/fpu/s_logbf.c via #include.
50040         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50041         powerpc32/power7/fpu/s_logbl.c via #include.
50043 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50045         * README.libm: Remove file.
50047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50049         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50050         count for x32.  Use R*_LP and omit operand-size suffix.
50052 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50054         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50055         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50056         * sysdeps/x86_64/x32/shlib-versions: New file.
50058 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50060         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50061         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50062         Use _dl_fatal_printf instead.
50064 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50066         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50067         set if not set by the user.  Do not allow for being unset.
50068         * sysdeps/unix/sysv/linux/configure: Regenerated.
50070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50072         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50073         the `q' suffix from lea and replace .quad with ASM_ADDR.
50075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50078         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50079         instead of $17.
50080         (PTR_DEMANGLE): Likewise.
50082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50084         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50085         (LP_OP): Likewise.
50086         (ASM_ADDR): Likewise.
50087         (RAX_LP): Likewise.
50088         (RBP_LP): Likewise.
50089         (RBX_LP): Likewise.
50090         (RCX_LP): Likewise.
50091         (RDI_LP): Likewise.
50092         (RSI_LP): Likewise.
50093         (RSP_LP): Likewise.
50094         (R8_LP): Likewise.
50095         (R9_LP): Likewise.
50096         (R10_LP): Likewise.
50097         (R10_LP): Likewise.
50098         (R11_LP): Likewise.
50099         (R12_LP): Likewise.
50100         (R13_LP): Likewise.
50101         (R14_LP): Likewise.
50102         (R15_LP): Likewise.
50104 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50106         * sysdeps/x86_64/x32/dl-machine.h: New file.
50108 2012-05-14  Andreas Jaeger  <aj@suse.de>
50110         * manual/Makefile (subdir): Remove export of subdir.
50111         (all): Remove target.
50112         (.PHONY): Remove all from list.
50113         (mkinstalldirs): Remove.
50114         (.PHONY): Remove installdirs from list.
50115         ($(inst_infodir)/libc.info): Use make-target-directory.
50116         (installdirs): Remove.
50117         (subdir_%): Remove.
50118         (glibc-targets): Remove.
50119         (lib): Remove.
50120         (stubs): Remove.
50121         ($(objpfx)stubs ../po/manual.pot): Remove.
50122         ($(objpfx)stamp%): Remove.
50123         (make-target-directory): Remove.
50124         (subdir_install): Remove.
50125         (routines): Remove.
50126         (aux): Remove.
50127         (sources): Remove.
50128         (objects): Remove.
50129         (headers): Remove.
50131         [BZ #13750]
50132         * manual/.gitignore: Remove, it's not needed anymore.
50133         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50134         all files in it.
50135         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50136         directory.
50137         (texis): Renamed to $(objpfx)texis.
50138         (texis-path): New, contains path to generated files.
50139         (chapters.%): Use texis-path for complete path, add extra argument
50140         libc-texinfo.sh.
50141         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50142         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50143         (summary,texi, stamp-summary): Use complete path of
50144         files. Generate files in build dir.
50145         (dir-add.texi): Build in build dir.
50146         (libm-err.texi,stamp-libm-err): Likewise.
50147         (version.texi, stamp-version): Likewise.
50148         (.%c.texi): Likewise.
50149         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50150         (mostlyclean): Remove target.
50151         (realclean): Remove target.
50152         (generated): Add new variable with contents from mostlyclean and
50153         realclean, remove entries duplicated in common-mostlyclean, add
50154         stamp-libm-err and stamp-version.
50155         (generated-dirs): Add libc directory.
50156         ($(inst_infodir)/libc.info): Install files from build dir.
50158         * manual/install.texi (Configuring and compiling): Adjust since
50159         the info files are not part of the tar ball anymore.
50161 2012-05-14  Andreas Jaeger  <aj@suse.de>
50163         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50164         variable.
50166 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50168         [BZ #13717]
50169         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50170         to 2.2.0 where earlier.
50171         * sysdeps/unix/sysv/linux/configure: Regenerated.
50172         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50173         Remove conditional code.
50174         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50175         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50176         Remove conditional code.
50177         [!__NR_lchown]: Likewise.
50178         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50179         [__NR_lchown]: Likewise.
50180         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50181         comment referencing __ASSUME_LCHOWN_SYSCALL.
50182         * sysdeps/unix/sysv/linux/i386/sigaction.c
50183         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50184         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50185         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50186         Remove conditional code.
50187         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50188         (__protocol_available): Remove #if 0 code.
50189         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50190         conditional code.
50191         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50192         * sysdeps/unix/sysv/linux/kernel-features.h
50193         (__ASSUME_GETCWD_SYSCALL): Don't define.
50194         (__ASSUME_REALTIME_SIGNALS): Likewise.
50195         (__ASSUME_PREAD_SYSCALL): Likewise.
50196         (__ASSUME_PWRITE_SYSCALL): Likewise.
50197         (__ASSUME_POLL_SYSCALL): Likewise.
50198         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50199         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50200         non-SPARC.
50201         (__ASSUME_SIOCGIFNAME): Don't define.
50202         (__ASSUME_MSG_NOSIGNAL): Likewise.
50203         (__ASSUME_SENDFILE): Define unconditionally.
50204         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50205         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50206         conditional code.
50207         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50208         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50209         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50210         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50211         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50212         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50213         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50215         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50218         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50221         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50222         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50224         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50227         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50233         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50234         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50238         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50239         Remove conditional code.
50240         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50241         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50242         Remove conditional code.
50243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50244         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50245         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50246         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50247         Remove conditional code.
50248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50249         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50250         Remove conditional code.
50251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50252         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50253         Remove conditional code.
50254         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50255         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50256         Remove conditional code.
50257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50258         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50259         Remove conditional code.
50260         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50261         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50262         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50264         * sysdeps/unix/sysv/linux/sigaction.c
50265         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50266         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50267         * sysdeps/unix/sysv/linux/sigpending.c
50268         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50269         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50270         * sysdeps/unix/sysv/linux/sigprocmask.c
50271         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50272         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50273         * sysdeps/unix/sysv/linux/sigsuspend.c
50274         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50275         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50276         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50277         (__libc_missing_rt_sigs): Remove.
50278         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50279         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50280         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50281         Remove conditional code.
50282         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50283         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50284         return 1.
50285         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50286         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50287         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50288         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50290 2012-05-14  Andreas Jaeger  <aj@suse.de>
50292         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50293         it's not used in glibc.
50294         (__coshm1): Likewise.
50295         (__acosh1p): Likewise.
50296         (__sgn): Likewise.
50298         * manual/string.texi (Copying and Concatenation): Add missing
50299         variable in concat example.
50300         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50304         [BZ #14103]
50305         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50306         __builtin_clzl with __builtin_clzll.
50308 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50310         [BZ #14104]
50311         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50312         libc_freeres_ptr.
50314 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50316         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50317         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50318         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50319         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50321 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50323         * NEWS: Update ia64 info.
50325 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50327         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50328         used as bcopy.
50330 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50332         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50333         * sysdeps/unix/syscalls.list (dup3): Likewise.
50334         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50335         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50337 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50339         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50340         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50342 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50344         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50345         thread pointer.
50346         (TLS_IE): Use mov/add instead of movq/addq to load thread
50347         pointer.
50348         (TLS_GD_PREFIX): New.
50349         (TLS_GD): Use it.
50351 2012-05-11  David S. Miller  <davem@davemloft.net>
50353         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50354         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50355         (_FPU_SETCW): Likewise.
50357 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50359         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50360         is 32-byte aligned.
50362 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50364         [BZ #11837]
50365         * iconvdata/gb18030.c: Update tables.
50366         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50367         characters specially.
50368         (BODY for TO_LOOP): Add encoding of missing ranges.
50370 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50372         [BZ #13673]
50373         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50374         * sysdeps/mach/hurd/dup3.c: Likewise.
50375         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50376         * sysdeps/powerpc/memmove.c:: Likewise.
50378 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50381         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50383 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50385         * elf/elf.h (R_X86_64_RELATIVE64): New.
50386         (R_X86_64_NUM): Updated.
50387         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50388         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50389         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50390         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50391         tst-quad1pie tst-quad2pie
50392         (modules-names): Add tst-quadmod1 tst-quadmod2.
50393         ($(objpfx)tst-quad1): New dependency.
50394         ($(objpfx)tst-quad2): Likewise.
50395         ($(objpfx)tst-quad1pie): Likewise.
50396         ($(objpfx)tst-quad2pie): Likewise.
50397         * sysdeps/x86_64/tst-quad1.c: New file.
50398         * sysdeps/x86_64/tst-quad1pie.c: New file.
50399         * sysdeps/x86_64/tst-quad2.c: Likewise.
50400         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50401         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50402         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50403         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50404         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50406 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50408         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50409         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50410         * streams/stropts.h (t_scalar_t): Define type.
50412         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50413         (_PATH_PRESERVE): Set to "/var/lib".
50414         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50416         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50417         instead of int.
50419         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50420         if __dir_mkfile succeeded.
50422         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50423         checking for _hurd_dtablesize.  Unlock it right after having
50424         finished _hurd_dtable allocation.
50426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50428         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50429         * sysdeps/mach/hurd/configure: Regenerated.
50430         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50431         special-casing to...
50432         * sysdeps/gnu/configure.in: ... this new file.
50433         * sysdeps/unix/sysv/linux/configure: Regenerated.
50434         * sysdeps/gnu/configure: New generated file.
50436         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50437         for Linux: use nsec instead of usec, as well as:
50438         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50439         members of type struct timespec.
50440         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50441         New macros.
50442         (struct stat64): Likewise.
50443         (_STATBUF_ST_NSEC): New macro.
50444         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50446         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50447         __strtoul_internal rather than strtoul.
50449 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50451         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50452         and reject them.
50454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50456         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50457         which preserves existing values.
50458         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50462         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50463         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50464         greater than FD_SETSIZE.
50466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50468         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50469         allocated, call __vm_protect to finish enabling the existing space, and
50470         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50471         allocate the remainder.
50473 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50475         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50476         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50480         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50481         sysdeps/mach/hurd/readlink.c.
50483         * posix/tst-sysconf.c (posix_options): Only use
50484         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50485         _POSIX_SYNCHRONIZED_IO when they are defined
50486         * sysdeps/mach/hurd/bits/posix_opt.h:
50487         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50488         (_XOPEN_REALTIME): Undefine macro.
50489         (_XOPEN_REALTIME_THREADS): Undefine macro.
50490         (_XOPEN_SHM): Undefine macro.
50491         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50492         macro to -1.
50493         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50494         macro to -1.
50495         (_POSIX_ASYNC_IO): Undefine macro.
50496         (_POSIX_PRIORITIZED_IO): Undefine macro.
50497         (_POSIX_SPIN_LOCKS): Define macro to -1.
50499         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50500         SA_NODEFER, SA_RESETHAND.
50501         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50502         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50503         F_DUPFD_CLOEXEC.
50505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50507         * elf/Makefile (pldd-modules): Define unconditionally.
50509 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50511         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50515         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50516         Return ENOENT when name is empty.
50517         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50521         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50523         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50527         Fix mlock in all cases except non-readable pages.
50528         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50529         instead of VM_PROT_ALL as parameter to __vm_wire function.
50531         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50532         (__mkdir): When path is `/', just fail with EEXIST.
50533         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50537         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50538         <sys/uio.h> (for writev).
50539         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50540         and <sys/param.h> (for MIN).
50542 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50544         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50545         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50546         if interrupted.
50548 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50550         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50551         Depend on against $(link-rpcuserlibs).
50553 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50555         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50556         (__libc_stack_end): Do not use attribute_relro.
50557         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50558         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50559         to libthread-provided value.
50560         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50561         attribute_relro.
50563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50565         [BZ #3748]
50566         * bits/libc-lock.h (__libc_once_get): New macro.
50567         * sysdeps/mach/bits/libc-lock.h: Likewise.
50568         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50569         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50570         instead of using implementation details.
50572         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50573         * libio/freopen.c: Likewise.
50574         * libio/freopen64.c: Likewise.
50575         * misc/syslog.c: Likewise.
50576         * nscd/connections.c: Likewise.
50577         * nscd/netgroupcache.c: Likewise.
50578         * sysdeps/posix/getcwd.c: Likewise.
50580 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50582         * math/w_ilogbf.c: Add #include <limits.h>.
50584 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50586         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50587         path instead of returning without unlocking.
50589         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50590         immediate-write ioctls.
50591         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50595         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50596         __builtin_frame_address instead of making assumptions about the
50597         location of the return address relative to DATA.  Force early load of
50598         the return address.
50599         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50600         __builtin_frame_address.
50602         dup3 for GNU Hurd.
50603         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50604         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50605         implement dup3 and do some further code clean-ups.
50606         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50607         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50609 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50611         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50613         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50614         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50615         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50616         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50617         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50618         d->port.lock.
50620         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50621         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50622         when handler == SIG_ERR, not when handler != SIG_ERR.
50624 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50626         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50627         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50628         definitions.
50630         accept4 for GNU Hurd.
50631         * include/sys/socket.h (__libc_accept4): New prototype.
50632         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50633         to implement __libc_accept4.
50634         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50635         __libc_accept4.
50636         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50638         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50639         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50640         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50641         signal-defines.sym.
50643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50645         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50649         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50650         assertion on O_CLOEXEC flag.
50651         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50652         * hurd/intern-fd.c: Likewise.
50653         * hurd/port2fd.c: Likewise.
50655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50657         [BZ #3906]
50658         * bits/in.h (IPV6_PKTINFO): Define new macro.
50659         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50661 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50663         [BZ #13954]
50664         [BZ #13955]
50665         [BZ #13956]
50666         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50667         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50668         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50669         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50670         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50671         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50672         * math/libm-test.inc (logb_test) : Additional logb tests.
50674 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50675             Andreas Jaeger  <aj@suse.de>
50677         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50678         * configure: Regenerated.
50679         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50680         * config.make.in (link-obsolete-rpc): New substituted variable.
50681         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50682         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50683         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50684         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50685         so that libc.a contains the symbols.
50686         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50687         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50688         * sunrpc/auth_none.c: Likewise.
50689         * sunrpc/auth_unix.c: Likewise.
50690         * sunrpc/authdes_prot.c: Likewise.
50691         * sunrpc/authuxprot.c: Likewise.
50692         * sunrpc/clnt_gen.c: Likewise.
50693         * sunrpc/clnt_perr.c: Likewise.
50694         * sunrpc/clnt_raw.c: Likewise.
50695         * sunrpc/clnt_simp.c: Likewise.
50696         * sunrpc/clnt_tcp.c: Likewise.
50697         * sunrpc/clnt_udp.c: Likewise.
50698         * sunrpc/clnt_unix.c: Likewise.
50699         * sunrpc/des_crypt.c: Likewise.
50700         * sunrpc/des_soft.c: Likewise.
50701         * sunrpc/get_myaddr.c: Likewise.
50702         * sunrpc/key_call.c: Likewise.
50703         * sunrpc/key_prot.c: Likewise.
50704         * sunrpc/netname.c: Likewise.
50705         * sunrpc/pm_getmaps.c: Likewise.
50706         * sunrpc/pm_getport.c: Likewise.
50707         * sunrpc/pmap_clnt.c: Likewise.
50708         * sunrpc/pmap_prot.c: Likewise.
50709         * sunrpc/pmap_prot2.c: Likewise.
50710         * sunrpc/pmap_rmt.c: Likewise.
50711         * sunrpc/publickey.c: Likewise.
50712         * sunrpc/rpc_cmsg.c: Likewise.
50713         * sunrpc/rpc_common.c: Likewise.
50714         * sunrpc/rpc_dtable.c: Likewise.
50715         * sunrpc/rpc_prot.c: Likewise.
50716         * sunrpc/rpc_thread.c: Likewise.
50717         * sunrpc/rtime.c: Likewise.
50718         * sunrpc/svc.c: Likewise.
50719         * sunrpc/svc_auth.c: Likewise.
50720         * sunrpc/svc_raw.c: Likewise.
50721         * sunrpc/svc_run.c: Likewise.
50722         * sunrpc/svc_tcp.c: Likewise.
50723         * sunrpc/svc_udp.c: Likewise.
50724         * sunrpc/svc_unix.c: Likewise.
50725         * sunrpc/svcauth_des.c: Likewise.
50726         * sunrpc/xcrypt.c: Likewise.
50727         * sunrpc/xdr.c: Likewise.
50728         * sunrpc/xdr_array.c: Likewise.
50729         * sunrpc/xdr_float.c: Likewise.
50730         * sunrpc/xdr_intXX_t.c: Likewise.
50731         * sunrpc/xdr_mem.c: Likewise.
50732         * sunrpc/xdr_rec.c: Likewise.
50733         * sunrpc/xdr_ref.c: Likewise.
50734         * sunrpc/xdr_sizeof.c: Likewise.
50735         * sunrpc/xdr_stdio.c: Likewise.
50737 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50739         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50740         change.  Update copyright years.
50742 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50744         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50746 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50747             Joseph Myers  <joseph@codesourcery.com>
50748             Paul Pluzhnikov  <ppluzhnikov@google.com>
50750         [BZ #14012]
50751         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50752         requiring rpcgen.
50753         [cross-compiling] (extra-libs): Likewise.
50754         [cross-compiling] (extra-libs-others): Likewise.
50755         [cross-compiling] (librpcsvc-routines): Likewise.
50756         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50757         [cross-compiling] (omit-deps): Likewise.
50758         (sunrpc-CPPFLAGS): New variable.
50759         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50760         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50761         (cross-rpcgen-objs): New variable.
50762         (extra-objs): Append $(cross-rpcgen-objs).
50763         ($(cross-rpcgen-objs)): New rule.
50764         ($(objpfx)cross-rpcgen): Likewise.
50765         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50766         comment.
50767         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50768         ($(objpfx)x%.stmp): Likewise.
50769         * sunrpc/proto.h [IS_IN_build] (_): Define.
50770         [IS_IN_build] (_libc_intl_domainname): Likewise.
50772 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50774         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50775         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50776         and R_X86_64_TPOFF64.
50778 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50780         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50781         sysdeps/unix/sysv/syscalls.list.
50782         (stime): Likewise.
50783         (utime): Likewise.
50784         * sysdeps/unix/sysv/syscalls.list: Remove file.
50786 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50788         [BZ #3440]
50789         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50790         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50791         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50792         (__LC_IDENTIFICATION): Make these macros useful in #if
50793         expressions, as required by C99.
50795 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50797         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50798         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50799         after this.
50801 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50803         * stdlib/longlong.h: Updated from GCC.
50805 2012-05-09  Andreas Jaeger  <aj@suse.de>
50807         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50808         default is first entry.
50809         (run_mode): Set type.
50810         (main): Remove informal message about syslog.
50811         (options): Fix typo.
50813         [BZ #14053]
50814         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50815         to asm.
50816         (lrint): Likewise.
50817         (llrintf): Likewise.
50818         (llrint): Likewise.
50819         (rint): Likewise.
50820         (rintf): Likewise.
50821         (nearbyint): Likewise.
50822         (nearbyintf): Likewise.
50824 2012-05-09  Andreas Jaeger  <aj@suse.de>
50825             Pedro Alves  <palves@redhat.com>
50827         * nscd/nscd.c (run_mode): Use enum.
50828         (main): Cleanup coding style issue.
50830 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50831             Andreas Jaeger  <aj@suse.de>
50833         * nscd/nscd.c (go_background): Replaced with...
50834         (run_mode): ... this.
50835         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50836         (options): Add -F --foreground.
50837         (main): Implement it.
50838         (parse_opt): Parse it.
50840 2012-05-09  Andreas Jaeger  <aj@suse.de>
50842         [BZ #14083]
50843         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50844         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50845         -Wconversion warning.
50846         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50847         Likewise.
50849 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50851         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50852         == 0.
50853         (LC_ALL): Use macro-int-constant.
50854         (LC_COLLATE): Likewise.
50855         (LC_CTYPE): Likewise.
50856         (LC_MESSAGES): Likewise.
50857         (LC_MONETARY): Likewise.
50858         (LC_NUMERIC): Likewise.
50859         (LC_TIME): Likewise.
50860         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50861         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50862         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50863         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50864         Specify type.
50865         [C99-based standards] (float_t): Expect type.
50866         [C99-based standards] (double_t): Expect type.
50867         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50868         type.
50869         [C99-based standards] (HUGE_VALL): Likewise.
50870         [C99-based standards] (INFINITY): Likewise.
50871         [C99-based standards] (NAN): Likewise.
50872         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50873         [C99-based standards] (FP_NAN): Likewise.
50874         [C99-based standards] (FP_NORMAL): Likewise.
50875         [C99-based standards] (FP_SUBNORMAL): Likewise.
50876         [C99-based standards] (FP_ZERO): Likewise.
50877         [C99-based standards] (FP_FAST_FMA): Use
50878         optional-macro-int-constant.  Specify type.  Require == 1.
50879         [C99-based standards] (FP_FAST_FMAF): Likewise.
50880         [C99-based standards] (FP_FAST_FMAL): Likewise.
50881         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50882         [C99-based standards] (FP_ILOGBNAN): Likewise.
50883         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50884         Specify type.
50885         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50886         [C99-based standards] (math_errhandling): Specify type.
50887         [ISO99 || ISO11] (signgam): Do not allow.
50888         [non-C99-based standards] (copysignf): Do not allow.
50889         [non-C99-based standards] (exp2f): Likewise.
50890         [non-C99-based standards] (log2f): Likewise.
50891         [non-C99-based standards] (modff): Allow.
50892         [non-C99-based standards] (erff): Do not allow.
50893         [non-C99-based standards] (erfcf): Likewise.
50894         [non-C99-based standards] (gammaf): Likewise.
50895         [non-C99-based standards] (hypotf): Likewise.
50896         [non-C99-based standards] (j0f): Likewise.
50897         [non-C99-based standards] (j1f): Likewise.
50898         [non-C99-based standards] (jnf): Likewise.
50899         [non-C99-based standards] (lgammaf): Likewise.
50900         [non-C99-based standards] (tgammaf): Likewise.
50901         [non-C99-based standards] (y0f): Likewise.
50902         [non-C99-based standards] (y1f): Likewise.
50903         [non-C99-based standards] (ynf): Likewise.
50904         [non-C99-based standards] (isnanf): Likewise.
50905         [non-C99-based standards] (acoshf): Likewise.
50906         [non-C99-based standards] (asinhf): Likewise.
50907         [non-C99-based standards] (atanhf): Likewise.
50908         [non-C99-based standards] (cbrtf): Likewise.
50909         [non-C99-based standards] (expm1f): Likewise.
50910         [non-C99-based standards] (ilogbf): Likewise.
50911         [non-C99-based standards] (log1pf): Likewise.
50912         [non-C99-based standards] (logbf): Likewise.
50913         [non-C99-based standards] (nextafterf): Likewise.
50914         [non-C99-based standards] (remainderf): Likewise.
50915         [non-C99-based standards] (rintf): Likewise.
50916         [non-C99-based standards] (scalbf): Likewise.
50917         [non-C99-based standards] (copysignl): Likewise.
50918         [non-C99-based standards] (exp2l): Likewise.
50919         [non-C99-based standards] (log2l): Likewise.
50920         [non-C99-based standards] (modfl): Allow.
50921         [non-C99-based standards] (erfl): Do not allow.
50922         [non-C99-based standards] (erfcl): Likewise.
50923         [non-C99-based standards] (gammal): Likewise.
50924         [non-C99-based standards] (hypotl): Likewise.
50925         [non-C99-based standards] (j0l): Likewise.
50926         [non-C99-based standards] (j1l): Likewise.
50927         [non-C99-based standards] (jnl): Likewise.
50928         [non-C99-based standards] (lgammal): Likewise.
50929         [non-C99-based standards] (tgammal): Likewise.
50930         [non-C99-based standards] (y0l): Likewise.
50931         [non-C99-based standards] (y1l): Likewise.
50932         [non-C99-based standards] (ynl): Likewise.
50933         [non-C99-based standards] (isnanl): Likewise.
50934         [non-C99-based standards] (acoshl): Likewise.
50935         [non-C99-based standards] (asinhl): Likewise.
50936         [non-C99-based standards] (atanhl): Likewise.
50937         [non-C99-based standards] (cbrtl): Likewise.
50938         [non-C99-based standards] (expm1l): Likewise.
50939         [non-C99-based standards] (ilogbl): Likewise.
50940         [non-C99-based standards] (log1pl): Likewise.
50941         [non-C99-based standards] (logbl): Likewise.
50942         [non-C99-based standards] (nextafterl): Likewise.
50943         [non-C99-based standards] (remainderl): Likewise.
50944         [non-C99-based standards] (rintl): Likewise.
50945         [non-C99-based standards] (scalbl): Likewise.
50946         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50947         [non-C99-based standards] (FP_*): Do not allow.
50948         [C99-based standards] (FP_*): Change to
50949         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50950         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50951         allow.
50952         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50953         (SIG_ERR): Likewise.
50954         [X/Open-based standards] (SIG_HOLD): Likewise.
50955         (SIG_IGN): Likewise.
50956         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50957         positive value.
50958         (SIGFPE): Likewise.
50959         (SIGILL): Likewise.
50960         (SIGINT): Likewise.
50961         (SIGSEGV): Likewise.
50962         (SIGTER): Likewise.
50963         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50964         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50965         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50966         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50967         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50968         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50969         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50970         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50971         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50972         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50973         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50974         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50975         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50976         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50977         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50978         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50979         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50980         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50981         [X/Open-based standards] (SIGTRAP): Likewise.
50982         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50983         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50984         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50985         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50986         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50987         allow.
50989 2012-05-08  Ian Wienand  <ianw@vmware.com>
50991         [BZ #14080]
50992         * time/tzset.c (__tzset_parse_tz): Update default rules for
50993         daylight time changes in the Energy Policy Act of 2005.
50995 2012-05-09  Andreas Jaeger  <aj@suse.de>
50997         [BZ #13983]
50998         * elf/ldconfig.c (parse_conf): Change string to make clear that
50999         ldconfig only issued a warning if ld.so.conf does not exist.
51001 2012-05-08  David S. Miller  <davem@davemloft.net>
51003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51004         movxtod instead of popping the value on the stack.
51006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51008 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51010         * config.h.in: Add HAVE_ARM_PCS_VFP.
51012 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51014         [BZ #13979]
51015         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51016         checking but the checks are disabled for any reason.
51018 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51020         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51021         and ELF64_R_TYPE with ELFW(R_TYPE).
51023 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51025         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51026         (ulimit): Likewise.
51028         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51029         (settimeofday): Likewise.
51031 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51033         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51034         a struct th_u2 inside the union, and move tu_block/tu_code into
51035         a new th_u3 union of tu_block/tu_code inside of that.  Move
51036         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51037         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51038         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51039         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51040         (th_stuff): Change to th_u1.tu_stuff.
51041         (th_data): Define.
51042         (th_msg): Change to th_u1.th_u2.tu_data.
51044 2012-05-07  David S. Miller  <davem@davemloft.net>
51046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51048         [BZ #14074]
51049         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51050         (SETUP_PIC_REG): Use it.
51051         (SETUP_PIC_REG_LEAF): Use it.
51053 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51055         [BZ #13885]
51056         [BZ #13923]
51057         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51058         USE_AS_EXPM1L.
51059         (EXPL_FINITE): Likewise.
51060         (FLDLOG): Likewise.
51061         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51062         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51063         e_expl.S.
51064         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51065         USE_AS_EXPM1L.
51066         (EXPL_FINITE): Likewise.
51067         (FLDLOG): Likewise.
51068         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51069         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51070         e_expl.S.
51071         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51072         test of -max_value argument for long double.
51073         * sysdeps/i386/fpu/libm-test-ulps: Update.
51074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51076 2012-05-06  David S. Miller  <davem@davemloft.net>
51078         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51079         quad soft-float symbols whose references which are compiler
51080         generated.
51081         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51083 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51085         [BZ #13884]
51086         [BZ #13914]
51087         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51088         USE_AS_EXP10L.
51089         (EXPL_FINITE): Likewise.
51090         (FLDLOG): Likewise.
51091         (c0): Likewise.
51092         (c1): Likewise.
51093         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51094         Adjust comments for base varying.
51095         (__expl_finite): Change alias to EXPL_FINITE.
51096         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51097         e_expl.S.
51098         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51099         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51100         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51101         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51102         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51103         USE_AS_EXP10L.
51104         (EXPL_FINITE): Likewise.
51105         (FLDLOG): Likewise.
51106         (c0): Likewise.
51107         (c1): Likewise.
51108         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51109         Adjust comments for base varying.
51110         (__expl_finite): Change alias to EXPL_FINITE.
51111         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51112         tests for bugs.
51113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51115         [BZ #14064]
51116         * math/libm-test.inc (check_float_internal): Correct ulp
51117         calculation for subnormal expected results.
51119 2012-05-06  Andreas Jaeger  <aj@suse.de>
51121         * Makeconfig (+math-flags): New, set to -frounding-math.
51122         (+cflags): Add +math-flags so that all of glibc gets compiled with
51123         it.
51125         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51127 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51129         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51130         Disable one test.
51132         [BZ #13787]
51133         [BZ #13922]
51134         [BZ #14036]
51135         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51136         (__ieee754_expl): Allow for and saturate large arguments.
51137         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51138         (u_threshold): Likewise.
51139         (__exp): Call __ieee754_exp before checking for overflow and
51140         underflow.
51141         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51142         (u_threshold): Likewise.
51143         (__expf): Call __ieee754_expf before checking for overflow and
51144         underflow.
51145         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51146         (u_threshold): Likewise.
51147         (__expl): Call __ieee754_expl before checking for overflow and
51148         underflow.
51149         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51150         (__ieee754_expl): Allow for and saturate large arguments.
51151         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51152         missing overflow exception on overflow.
51153         (expm1_test): Do not allow missing overflow exception on overflow.
51155         * sysdeps/i386/fpu/e_expl.c: Move to ...
51156         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51157         rather than using inline asm.
51158         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51159         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51160         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51162         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51163         (nice): Likewise.
51164         (poll): Likewise.
51165         (signal): Likewise.
51166         (time): Likewise.
51167         (times): Likewise.
51169 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51171         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51172         sysdeps/unix/common/syscalls.list.
51173         (fchmod): Likewise.
51174         (fchown): Likewise.
51175         (ftruncate): Likewise.
51176         (getrusage): Likewise.
51177         (gettimeofday): Likewise.
51178         (setpgid): Likewise.
51179         (setregid): Likewise.
51180         (setreuid): Likewise.
51181         (sigaction): Likewise.
51182         (truncate): Likewise.
51183         (vhangup): Likewise.
51184         * sysdeps/unix/common/syscalls.list: Remove file.
51185         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51186         * sysdeps/unix/sysv/linux/Implies: Likewise.
51188 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51190         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51192         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51193         Moved to ...
51194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51195         Here.
51196         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51197         to ...
51198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51199         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51200         to ...
51201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51202         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51203         to ...
51204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51205         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51206         to ...
51207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51208         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51209         to ...
51210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51211         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51212         to ...
51213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51214         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51215         to ...
51216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51217         Here.
51218         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51219         to ...
51220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51221         Here.
51222         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51223         to ...
51224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51225         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51226         Moved to ...
51227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51228         Here.
51229         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51230         to ...
51231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51233 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51235         * sysdeps/unix/common/bits/dirent.h: Remove file.
51236         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51238         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51239         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51240         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51241         * sysdeps/unix/bsd/isatty.c: Likewise.
51242         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51243         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51244         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51246 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51248         [BZ #13563]
51249         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51250         long double comparison inaccuracies.
51251         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51254 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51256         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51257         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51259 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51261         [BZ #14049]
51262         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51263         nonzero digits before rounding a hex value.
51264         * stdlib/tst-strtod.c (tests): Add another test.
51266 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51268         * sysdeps/s390/fpu/libm-test-ulps: Update.
51270 2012-05-03  Andreas Jaeger  <aj@suse.de>
51272         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51273         does not get optimized out.
51274         (malloc_opt_barrier): New.
51276 2012-05-03  Andreas Jaeger  <aj@suse.de>
51277             Roland McGrath  <roland@hack.frob.com>
51279         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51280         intermediate file deletion.
51281         (generated): Add .symlist files.
51283 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51285         [BZ #13775]
51286         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51287         Redirect under this condition.
51288         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51289         [__USE_GNU] (__dprintf_chk): Not under this condition.
51290         [__USE_GNU] (__vdprintf_chk): Likewise.
51291         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51292         under this condition.
51293         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51294         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51295         [__USE_XOPEN2K8] (vdprintf): Likewise.
51296         [__USE_GNU] (__dprintf_chk): Not under this condition.
51297         [__USE_GNU] (__vdprintf_chk): Likewise.
51298         [__USE_GNU] (dprintf): Likewise.
51299         [__USE_GNU] (vdprintf): Likewise.
51301 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51303         * elf/Makefile (common-generated): Set this instead of generated for
51304         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51305         $(all-built-dso)-derived lists.
51307 2012-05-03  Andreas Jaeger  <aj@suse.de>
51309         * sysdeps/i386/fpu/libm-test-ulps: Update.
51311         * FAQ: Removed.
51312         * FAQ.in: Likewise.
51313         * scripts/gen-FAQ.pl: Likewise.
51314         * manual/install.texi (Installation): Point to online location of
51315         FAQ.
51316         * Makefile (files-for-dist): Remove FAQ.
51317         (FAQ): Remove.
51319 2012-05-02  Allan McRae  <allan@archlinux.org>
51321         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51322         (LDFLAGS-reldepmod5.so): Likewise.
51323         (LDFLAGS-reldep6mod1.so): Likewise.
51324         (LDFLAGS-reldep6mod4.so): Likewise.
51325         (LDFLAGS-reldep8mod3.so): Likewise.
51326         (LDFLAGS-unload4mod1.so): Likewise.
51327         (LDFLAGS-unload4mod2.so): Likewise.
51328         (LDFLAGS-tst-initorder): Likewise.
51329         (LDFLAGS-tst-initordera2.so): Likewise.
51330         (LDFLAGS-tst-initordera3.so): Likewise.
51331         (LDFLAGS-tst-initordera4.so): Likewise.
51332         (LDFLAGS-tst-initorderb2.so): Likewise.
51333         (LDFLAGS-noload): Likewise.
51334         (LDFLAGS-next): Likewise.
51335         (LDFLAGS-order2mod1.so): Likewise.
51336         (LDFLAGS-order2mod2.so): Likewise.
51337         (LDFLAGS-tst-initorder2): Likewise.
51338         (LDFLAGS-tst-initorder2a.so): Likewise.
51339         (LDFLAGS-tst-initorder2b.so): Likewise.
51340         (LDFLAGS-tst-initorder2c.so): Likewise.
51341         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51343 2012-05-02  David S. Miller  <davem@davemloft.net>
51345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51347 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51349         [BZ #14055]
51350         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51352 2012-05-02  Andreas Jaeger  <aj@suse.de>
51354         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51355         since we manipulate rounding mode.
51356         (CPPFLAGS-test-idouble.c): Likewise.
51357         (CPPFLAGS-test-ifloat.c): Likewise.
51358         (CFLAGS-test-ldouble.c): Likewise.
51359         (CFLAGS-test-double.c): Likewise.
51360         (CFLAGS-test-float.c): Likewise.
51361         (CFLAGS-test-misc.c): Likewise.
51362         (CFLAGS-test-test-fenv.c): Likewise.
51364 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51366         [BZ #2550]
51367         [BZ #2570]
51368         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51369         comparisons to determine direction to adjust input.
51371 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51373         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51374         output to the target.
51376         * scripts/localplt.awk: New file.
51377         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51378         (check-localplt-CFLAGS): Variable removed.
51379         ($(all-built-dso:=.jmprel)): New static pattern rule.
51380         (generated): Add those targets.
51381         (localplt-built-dso): New variable.
51382         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51384         * elf/check-localplt.c: File removed.
51386         * scripts/check-execstack.awk: New file.
51387         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51388         (check-execstack-CFLAGS): Variable removed.
51389         ($(objpfx)check-execstack.h): Target removed.
51390         ($(objpfx)execstack-default): New target.
51391         (generated): Add that instead of check-execstack.h.
51392         ($(all-built-dso:=.phdr)): New static pattern rule.
51393         (generated): Add those targets.
51394         * elf/check-execstack.c: File removed.
51396         * scripts/check-textrel.awk: New file.
51397         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51398         (check-textrel-CFLAGS): Variable removed.
51399         (all-built-dso): Use := to define.o
51400         ($(all-built-dso:=.dyn)): New static pattern rule.
51401         (generated): Add those targets.
51402         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51403         * config.make.in (READELF): New substituted variable.
51404         * elf/check-textrel.c: File removed.
51406 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51408         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51409         allow.
51410         * conform/data/ctype.h-data [C99-based standards] (isblank):
51411         Expect function.
51412         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51413         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51414         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51415         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51416         Specify type.  Require positive value.
51417         (EILSEQ): Likewise.
51418         (ERANGE): Likewise.
51419         [ISO || POSIX] (EILSEQ): Do not expect.
51420         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51421         Specify type.  Require positive value.
51422         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51423         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51424         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51425         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51426         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51427         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51428         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51429         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51430         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51431         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51432         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51433         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51434         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51435         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51436         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51437         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51438         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51439         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51440         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51441         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51442         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51443         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51444         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51445         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51446         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51447         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51448         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51449         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51450         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51451         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51452         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51453         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51454         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51455         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51456         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51457         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51458         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51459         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51460         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51461         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51462         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51463         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51464         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51465         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51466         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51467         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51468         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51469         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51470         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51471         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51472         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51473         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51474         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51475         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51476         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51477         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51478         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51479         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51480         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51481         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51482         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51483         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51484         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51485         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51486         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51487         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51488         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51489         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51490         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51491         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51492         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51493         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51494         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51495         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51496         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51497         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51498         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51499         Require >= 2.
51500         (FLT_ROUNDS): Expect as macro, not constant.
51501         (FLT_MANT_DIG): Use macro-int-constant.
51502         (DBL_MANT_DIG): Likewise.
51503         (LDBL_MANT_DIG): Likewise.
51504         (FLT_DIG): Likewise.
51505         (DBL_DIG): Likewise.
51506         (LDBL_DIG): Likewise.
51507         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51508         (DBL_MIN_EXP): Likewise.
51509         (LDBL_MIN_EXP): Likewise.
51510         (FLT_MAX_EXP): Use macro-int-constant.
51511         (DBL_MAX_EXP): Likewise.
51512         (LDBL_MAX_EXP): Likewise.
51513         (FLT_MAX_10_EXP): Likewise.
51514         (DBL_MAX_10_EXP): Likewise.
51515         (LDBL_MAX_10_EXP): Likewise.
51516         (FLT_MAX): Use macro-constant.
51517         (DBL_MAX): Likewise.
51518         (LDBL_MAX): Likewise.
51519         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51520         (DBL_EPSILON): Likewise.
51521         (LDBL_EPSILON): Likewise.
51522         (FLT_MIN): Likewise.
51523         (DBL_MIN): Likewise.
51524         (LDBL_MIN): Likewise.
51525         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51526         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51527         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51528         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51529         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51530         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51531         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51532         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51533         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51534         [ISO11] (FLT_TRUE_MIN): Likewise.
51535         [ISO11] (LDBL_TRUE_MIN): Likewise.
51536         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51537         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51538         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51539         (SCHAR_MAX): Likewise.
51540         (UCHAR_MAX): Likewise.
51541         (CHAR_MIN): Likewise.
51542         (CHAR_MAX): Likewise.
51543         (MB_LEN_MAX): Use macro-int-constant.
51544         (SHRT_MIN): Use macro-int-constant.  Specify type.
51545         (SHRT_MAX): Likewise.
51546         (USHRT_MAX): Likewise.
51547         (INT_MAX): Likewise.
51548         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51549         bound negative.
51550         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51551         bound with "U".
51552         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51553         bound with "L".
51554         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51555         bound negative.  Suffix upper bound with "L".
51556         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51557         bound with "UL".
51558         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51559         Specify type.
51560         [C99-based standards] (LLONG_MAX): Likewise.
51561         [C99-based standards] (ULLONG_MAX): Likewise.
51562         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51563         == 0.
51564         [ISO11] (max_align_t): Require type.
51565         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51567         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51568         from $CFLAGS, without defining away __attribute__ calls.
51569         (checknamespace): Use $CFLAGS_namespace.
51571         * conform/conformtest.pl (@keywords): Only include C99 keywords
51572         for standards based on C99 or C11.
51574         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51575         Disable tests.
51576         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51577         UNIX98]: Likewise.
51579         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51580         usability of symbols in #if.
51582         * conform/conformtest.pl: If macro or constant types start
51583         "promoted:", expect the symbol to be of the following type
51584         promoted by the integer promotions.
51586         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51587         in one place.  Also handle "macro-constant".
51589         * conform/conformtest.pl: Only accept expected macro values with
51590         "==".  Parse all "macro" lines in one place.
51591         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51593         * conform/conformtest.pl: Handle braced types on "constant" lines
51594         instead of handling "typed-constant".
51595         * conform/data/signal.h-data: Use "constant" instead of
51596         "typed-constant".
51598         * conform/conformtest.pl: Handle "optional-" at start of lines in
51599         one place rather than duplicating several cases.  Handle each
51600         format of "macro" line with initial "optional-".
51602         * conform/conformtest.pl: Only accept expected constant or
51603         optional-constant values with "==".  Parse all "constant" lines in
51604         one place.  Parse all "optional-constant" lines in one place.
51605         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51606         * conform/data/fmtmsg.h-data: Likewise.
51607         * conform/data/netinet/in.h-data: Likewise.
51608         * conform/data/tar.h-data: Likewise.
51609         * conform/data/limits.h-data: Use "==" form on "constant" and
51610         "optional-constant" lines.
51612         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51613         Use -std=c99 for XOPEN2K.
51614         (@knownproblems): Remove.
51615         (newtoken): Don't check %isknown.
51617         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51618         Do not expect macro.
51619         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51620         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51621         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51622         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51623         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51624         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51625         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51626         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51627         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51628         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51629         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51630         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51631         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51632         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51633         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51634         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51635         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51636         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51637         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51638         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51639         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51640         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51641         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51642         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51643         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51644         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51645         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51646         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51647         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51648         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51649         [XPG3] (acosh): Likewise.
51650         [XPG3] (asinh): Likewise.
51651         [XPG3] (atanh): Likewise.
51652         [XPG3] (cbrt): Likewise.
51653         [XPG3] (expm1): Likewise.
51654         [XPG3] (ilogb): Likewise.
51655         [XPG3] (log1p): Likewise.
51656         [XPG3] (logb): Likewise.
51657         [XPG3] (nextafter): Likewise.
51658         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51659         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51660         [XPG3] (remainder): Likewise.
51661         [XPG3] (rint): Likewise.
51662         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51663         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51664         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51665         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51666         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51667         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51668         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51669         [UNIX98 || XOPEN2K] (scalb): Expect.
51670         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51671         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51672         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51673         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51674         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51675         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51676         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51677         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51678         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51679         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51680         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51681         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51682         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51683         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51684         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51685         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51686         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51687         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51688         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51689         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51690         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51691         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51692         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51693         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51694         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51695         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51696         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51697         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51698         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51699         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51700         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51701         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51702         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51703         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51704         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51705         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51706         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51707         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51708         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51709         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51710         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51711         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51712         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51713         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51714         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51715         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51716         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51717         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51718         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51719         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51720         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51721         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51722         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51723         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51724         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51725         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51726         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51727         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51728         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51729         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51730         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51731         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51732         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51733         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51734         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51735         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51736         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51737         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51738         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51739         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51740         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51741         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51742         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51743         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51744         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51745         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51746         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51747         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51748         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51749         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51750         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51751         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51752         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51753         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51754         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51755         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51756         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51757         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51758         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51759         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51760         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51761         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51762         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51763         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51764         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51765         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51766         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51767         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51768         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51769         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51770         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51771         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51772         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51773         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51774         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51775         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51776         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51777         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51778         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51779         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51780         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51781         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51782         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51783         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51784         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51785         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51786         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51787         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51788         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51789         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51790         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51791         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51792         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51793         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51794         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51795         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51796         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51797         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51798         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51799         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51800         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51801         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51802         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51803         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51804         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51805         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51806         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51808         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51809         _XOPEN_SOURCE_EXTENDED for XPG4.
51811         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51813         * Makeconfig (localtime): Remove variable.
51814         (inst_localtime-file): Likewise.
51816 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51819         Update.
51820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51821         Update.
51822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51823         Update.
51824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51825         Update.
51826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51827         Update.
51828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51829         Update.
51830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51831         Update.
51832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51833         Update.
51834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51835         Update.
51837 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51839         [BZ #2550]
51840         [BZ #2570]
51841         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51842         comparisons to determine direction to adjust input.
51843         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51844         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51845         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51846         Likewise.
51847         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51848         Likewise.
51849         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51850         Likewise.
51851         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51852         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51853         Likewise.
51854         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51855         Likewise.
51856         * math/libm-test.inc (nexttoward_test): Add more tests.
51858 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51860         [BZ #14040]
51861         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51862         in version GLIBC_2.1, not GLIBC_2.0.
51863         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51864         Likewise.
51866 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51868         [BZ #13942]
51869         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51870         (1 - x) * (1 + x).
51871         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51872         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51873         * math/libm-test.inc (acos_test): Add more tests.
51874         (asin_test): Likewise.
51875         * sysdeps/i386/fpu/libm-test-ulps: Update.
51876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51878         [BZ #14034]
51879         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51880         of square root.
51881         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51882         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51883         * math/libm-test.inc (acos_test_tonearest): New function.
51884         (acos_test_towardzero): Likewise.
51885         (acos_test_downward): Likewise.
51886         (acos_test_upward): Likewise.
51887         (asin_test_tonearest): Likewise.
51888         (asin_test_towardzero): Likewise.
51889         (asin_test_downward): Likewise.
51890         (asin_test_upward): Likewise.
51891         (main): Call the new functions.
51892         * sysdeps/i386/fpu/libm-test-ulps: Update.
51893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51895         [BZ #13884]
51896         [BZ #13924]
51897         * math/e_exp10.c: Include <float.h>.
51898         (__ieee754_exp10): Handle underflow here rather than multiplying
51899         large negative argument by M_LN10.
51900         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51901         of __ieee754_expf.
51902         * math/e_exp10l.c: Include <float.h>.
51903         (__ieee754_exp10l): Handle underflow here rather than multiplying
51904         large negative argument by M_LN10l.
51905         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51906         spurious overflow exception on underflow.
51908 2012-04-29  Marek Polacek  <polacek@redhat.com>
51910         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51911         (__fortify_function): New macro.
51912         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51913         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51914         __extern_always_inline.
51915         * libio/bits/stdio2.h: Likewise.
51916         * libio/bits/stdio.h: Likewise.
51917         * string/string.h: Likewise.
51918         * string/bits/string3.h: Likewise.
51919         * include/stdio.h: Likewise.
51920         * stdlib/bits/stdlib.h: Likewise.
51921         * stdlib/stdlib.h: Likewise.
51922         * rt/bits/mqueue2.h: Likewise.
51923         * rt/mqueue.h: Likewise.
51924         * posix/bits/unistd.h: Likewise.
51925         * posix/unistd.h: Likewise.
51926         * io/bits/poll2.h: Likewise.
51927         * io/bits/fcntl2.h: Likewise.
51928         * io/fcntl.h: Likewise.
51929         * io/sys/poll.h: Likewise.
51930         * misc/bits/syslog.h: Likewise.
51931         * misc/bits/syslog-ldbl.h: Likewise.
51932         * misc/sys/syslog.h: Likewise.
51933         * socket/bits/socket2.h: Likewise.
51934         * socket/sys/socket.h: Likewise.
51935         * debug/tst-chk1.c: Likewise.
51936         * wcsmbs/bits/wchar2.h: Likewise.
51937         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51938         * wcsmbs/wchar.h: Likewise.
51940 2012-04-29  Andreas Jaeger  <aj@suse.de>
51942         * Makerules (tests): Remove enable-check-abi protection.
51943         (check-abi-warn): Remove.
51944         (check-abi-%): Remove check-abi-warn usage.
51946         * configure.in: Remove check-abi configure option.
51947         * configure: Regenerated.
51948         * config.make.in (enable-check-abi): Remove.
51950 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51952         [BZ #14033]
51953         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51954         double functions to double *_finite functions.
51956         [BZ #13941]
51957         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51958         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51959         LDBL_MIN_EXP.
51960         * stdio-common/Makefile (tests): Add tst-sprintf3.
51961         * stdio-common/tst-sprintf3.c: New file.
51963         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51964         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51966 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51968         * conform/conformtest.pl: Remove duplicate typed-constant
51969         handling.
51971 2012-04-28  David S. Miller  <davem@davemloft.net>
51973         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51974         (check-abi-%): Remove AWK script prerequisite and explicit
51975         abilist directory.
51976         (check-abi): Rewrite to just diff the symlist with the abilist.
51977         (config-tls, config-abi-config): Delete, no longer used.
51978         (update-abi-%): Remove AWK script and explicit abilist directory.
51979         (update-abi): Rewrite to simply compare and conditionally copy the
51980         symlist and the sysdep abilist file.  Remove update-abi-config
51981         checks.
51982         * abilist/ld.abilist: Remove.
51983         * abilist/libBrokenLocale.abilist: Remove.
51984         * abilist/libanl.abilist: Remove.
51985         * abilist/libcrypt.abilist: Remove.
51986         * abilist/libdl.abilist: Remove.
51987         * abilist/librt.abilist: Remove.
51988         * abilist/libthread_db.abilist: Remove.
51989         * abilist/libutil.abilist: Remove.
51990         * scripts/extract-abilist.awk: Remove.
51991         * scripts/merge-abilist.awk: Remove.
51992         * sysdeps/generic/libcidn.abilist: New file.
51993         * sysdeps/generic/libnss_compat.abilist: New file.
51994         * sysdeps/generic/libnss_db.abilist: New file.
51995         * sysdeps/generic/libnss_dns.abilist: New file.
51996         * sysdeps/generic/libnss_files.abilist: New file.
51997         * sysdeps/generic/libnss_hesiod.abilist: New file.
51998         * sysdeps/generic/libnss_nis.abilist: New file.
51999         * sysdeps/generic/libnss_nisplus.abilist: New file.
52000         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52001         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52002         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52003         file.
52004         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52005         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52006         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52007         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52008         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52009         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52010         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52011         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52012         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52013         file.
52014         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52015         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52016         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52017         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52018         file.
52019         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52020         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52021         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52022         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52023         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52024         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52025         file.
52026         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52027         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52028         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52029         file.
52030         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52032         New file.
52033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52034         New file.
52035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52036         New file.
52037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52038         New file.
52039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52040         New file.
52041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52042         New file.
52043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52044         New file.
52045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52046         New file.
52047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52048         New file.
52049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52050         New file.
52051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52052         New file.
52053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52054         New file.
52055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52056         New file.
52057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52058         file.
52059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52060         New file.
52061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52062         New file.
52063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52064         file.
52065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52066         New file.
52067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52068         New file.
52069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52070         file.
52071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52072         New file.
52073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52074         New file.
52075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52076         New file.
52077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52078         New file.
52079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52080         New file.
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52082         New file.
52083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52085         file.
52086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52087         New file.
52088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52089         file.
52090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52091         file.
52092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52093         file.
52094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52095         file.
52096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52097         file.
52098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52099         New file.
52100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52101         file.
52102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52103         file.
52104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52105         New file.
52106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52107         file.
52108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52110         file.
52111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52112         New file.
52113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52114         file.
52115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52116         file.
52117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52118         file.
52119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52120         file.
52121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52122         file.
52123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52124         New file.
52125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52126         file.
52127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52128         file.
52129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52130         New file.
52131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52132         file.
52133         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52134         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52135         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52136         file.
52137         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52138         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52139         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52140         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52141         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52142         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52143         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52144         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52145         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52146         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52149         file.
52150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52151         New file.
52152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52153         file.
52154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52155         file.
52156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52157         file.
52158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52159         file.
52160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52161         file.
52162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52163         New file.
52164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52165         New file.
52166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52167         file.
52168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52169         New file.
52170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52171         file.
52172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52174         file.
52175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52176         New file.
52177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52178         file.
52179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52180         file.
52181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52182         file.
52183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52184         file.
52185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52186         file.
52187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52188         New file.
52189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52190         New file.
52191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52192         file.
52193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52194         New file.
52195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52196         file.
52198 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52200         * conform/conformtest.pl: Fix typo in handling typed-constant from
52201         allow-header.
52203 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52205         * README: Cut down references to pre-2.6 Linux kernels and
52206         Linuxthreads.  Update lists of configurations in libc and ports
52207         and sort alphabetically.  Say "or newer" with Linux kernel version
52208         requirements.
52210         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52212 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52214         [BZ #887]
52215         * math/libm-test.inc (logb_test_downward): New test to expose
52216         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52217         rounding mode.
52219 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52221         [BZ #14027]
52222         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52223         to be done.
52224         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52225         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52227 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52229         * sysdeps/unix/i386/brk.S: Remove file.
52230         * sysdeps/unix/i386/dl-brk.S: Likewise.
52231         * sysdeps/unix/i386/pipe.S: Likewise.
52232         * sysdeps/unix/i386/sigreturn.S: Likewise.
52233         * sysdeps/unix/i386/syscall.S: Likewise.
52234         * sysdeps/unix/i386/vfork.S: Likewise.
52235         * sysdeps/unix/i386/wait.S: Likewise.
52237         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52238         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52240         * configure.in (arm*-none*): Do not allow without
52241         --enable-hacker-mode.
52242         (netbsd*): Remove case setting base_os.
52243         (386bsd*): Likewise.
52244         (freebsd*): Likewise.
52245         (bsdi*): Likewise.
52246         (osf*): Likewise.
52247         (sunos*): Likewise.
52248         (ultrix*): Likewise.
52249         (newsos*): Likewise.
52250         (dynix*): Likewise.
52251         (*bsd*): Likewise.
52252         (sysv*): Likewise.
52253         (isc*): Likewise.
52254         (esix*): Likewise.
52255         (sco*): Likewise.
52256         (minix*): Likewise.
52257         (irix4*): Likewise.
52258         (irix6*): Likewise.
52259         (solaris[2-9]*): Likewise.
52260         (none): Likewise.
52261         * configure: Regenerated.
52263 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52265         [BZ #11521]
52266         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52267         overflow or cancellation in calculating denominator.
52268         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52269         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52270         down expression to avoid unexpected rounding in newer GCCs.
52271         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52273 2012-04-26  David S. Miller  <davem@davemloft.net>
52275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52276         long-double compat symbols.
52277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52291 2012-04-25  David S. Miller  <davem@davemloft.net>
52293         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52294         HWCAP_* values only after the memory barriers have been defined.
52295         (atomic_full_barrier): Define.
52296         (atomic_read_barrier): Define.
52297         (atomic_write_barrier): Define.
52299 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52301         * shlib-versions: Add libgcc_s version information.
52302         * sysdeps/generic/libgcc_s.h: Remove.
52303         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52304         libgcc_s.h.
52305         * sysdeps/gnu/unwind-resume.c: Likewise.
52306         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52308 2012-04-25  David S. Miller  <davem@davemloft.net>
52310         * sysdeps/unix/sparc/brk.S: Delete.
52311         * sysdeps/unix/sparc/dl-brk.S: Delete.
52312         * sysdeps/unix/sparc/pipe.S: Delete.
52313         * sysdeps/unix/sparc/sysdep.S: Delete.
52314         * sysdeps/unix/sparc/sysdep.h: Delete.
52315         * sysdeps/unix/sparc/vfork.S: Delete.
52316         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52317         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52318         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52319         (ret_ERRVAL, r0, r1, MOVE): Define.
52320         (JUMPTARGET): Remove.
52321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52322         sysdeps/unix/sparc/sysdep.h
52323         (ENTRY, END): Remove.
52324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52326 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52328         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52329         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52330         -DIS_IN_build.
52332         * timezone/README: Update upstream location and email address for
52333         tzcode and tzdata.
52334         * timezone/zdump.c: Update from tzcode 2012b.
52335         * timezone/zic.c: Likewise.
52337         * configure.in (libc_cv_as_needed): Remove test.
52338         * configure: Regenerated.
52339         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52340         conditional definition.
52341         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52342         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52343         * config.make.in (have-as-needed): Remove variable.
52345 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52346             Paul Pluzhnikov  <ppluzhnikov@google.com>
52348         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52349         strings correctly.
52351 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52353         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52354         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52355         * sysdeps/sh/strlen.S: Likewise.
52357 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52359         * sysdeps/unix/fork.S: Remove file.
52360         * sysdeps/unix/i386/fork.S: Likewise.
52361         * sysdeps/unix/sparc/fork.S: Likewise.
52363         * sysdeps/unix/system.c: Remove file.
52364         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52366         * sysdeps/unix/getegid.S: Remove file.
52367         * sysdeps/unix/geteuid.S: Likewise.
52369 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52371         * scripts/check-localplt.awk: New file.
52372         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52373         of diff.
52374         * scripts/data/localplt-generic.data: Add a comment.
52376         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52377         NODE when __dir_mkfile failed.
52378         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52379         Reported by Ludovic Courtès <ludo@gnu.org>.
52381 2012-04-24  Andreas Jaeger  <aj@suse.de>
52383         * Makerules (common-clean): Also remove gen-as-const-headers
52384         files.
52386 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52388         * Makerules (native-compile): Do not change working directory for
52389         build.  Use $(OUTPUT_OPTION) in command.
52390         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52392 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52394         [BZ #13886]
52395         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52396         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52397         * math/libm-test.inc (floor_test): Add more tests.
52398         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52400 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52402         * sysdeps/unix/getdents.c: Remove file.
52403         * sysdeps/unix/sysv/getdents.c: Likewise.
52404         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52406         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52407         sysdeps/unix/mman/syscalls.list.
52408         (mmap): Likewise.
52409         (mprotect): Likewise.
52410         (msync): Likewise.
52411         (munmap): Likewise.
52412         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52413         * sysdeps/unix/mman/syscalls.list: Remove.
52414         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52416         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52417         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52418         * configure: Regenerated.
52419         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52420         $(libgcc_s_suffix).
52421         * config.make.in (libgcc_s_suffix): Remove variable.
52423 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52425         * sysdeps/unix/sysv/gethostname.c: Move to ...
52426         * sysdeps/posix/gethostname.c: ... here.
52428         * sysdeps/unix/execve.S: Remove file.
52430         * sysdeps/unix/_exit.S: Remove file.
52432 2012-04-23  Andreas Jaeger  <aj@suse.de>
52434         [BZ #13739]
52435         * manual/Makefile: Remove make dist support, there's no
52436         need for a stand-alone documentation tar ball.
52437         (TEXI2DVI): Define always, it's not in Makeconfig.
52438         (dist): Removed.
52439         (tar-it): Removed.
52440         (edition): Removed.
52441         (glibc-doc-$(edition).tar): Removed
52442         (%.Z): Removed.
52443         (%.gz): Removed.
52444         (%.uu): Removed.
52445         (ETAGS): Remove, it's in Makeconfig.
52446         (move-if-change): Remove, it's in Makeconfig.
52448 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52450         [BZ #13970]
52451         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52452         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52453         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52454         (strtod_l, strtof_l, strtold_l): Remove __wur.
52455         It is not necessarily an error to ignore strtol's return value.
52456         One can reliably look at the stored endptr to decide whether
52457         the number had valid syntax.
52459 2012-04-21  Andreas Jaeger  <aj@suse.de>
52461         [BZ #13739]
52462         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52464 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52466         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52467         * sysdeps/unix/sysv/Versions: Remove file.
52469 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52471         [BZ #13927]
52472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52474 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52476         [BZ #7064]
52477         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52478         version from __vm86.
52480 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52482         * sysdeps/unix/common/lxstat.c: Remove file.
52483         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52485         * sysdeps/unix/sysv/Makefile: Remove file.
52487         * sysdeps/unix/sysv/direct.h: Remove file.
52489         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52490         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52491         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52492         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52493         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52494         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52495         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52497         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52499         * sysdeps/unix/xmknod.c: Remove file.
52500         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52502         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52504         * sysdeps/unix/sysv/i386/time.S: Remove file.
52506         * sysdeps/unix/fxstat.c: Remove file.
52507         * sysdeps/unix/xstat.c: Likewise.
52508         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52510         * sysdeps/unix/sysv/sigaction.c: Remove file.
52512         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52513         (sysdep_headers): Remove variable.
52514         [termio.h not in sysdep_headers] (generated): Likewise.
52515         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52516         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52517         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52518         * sysdeps/unix/sysv/tcflow.c: Likewise.
52519         * sysdeps/unix/sysv/tcflush.c: Likewise.
52520         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52521         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52522         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52523         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52524         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52526         * sysdeps/unix/siglist.c: Remove file.
52528         * sysdeps/unix/getppid.S: Remove file.
52530         * sysdeps/unix/mkdir.c: Remove file.
52531         * sysdeps/unix/rmdir.c: Likewise.
52533 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52535         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52536         ERR_MAX value.
52537         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52538         errlist-compat value.
52540 2012-04-18  David S. Miller  <davem@davemloft.net>
52542         * sysdeps/generic/memcopy.h (reg_char): Delete.
52543         * debug/strcat_chk.c: Use char, not reg_char.
52544         * debug/strcpy_chk.c: Likewise.
52545         * debug/strncat_chk.c: Likewise.
52546         * debug/strncpy_chk.c: Likewise.
52547         * string/memchr.c: Likewise.
52548         * string/memrchr.c: Likewise.
52549         * string/rawmemchr.c: Likewise.
52550         * string/strcat.c: Likewise.
52551         * string/strchr.c: Likewise.
52552         * string/strchrnul.c: Likewise.
52553         * string/strcmp.c: Likewise.
52554         * string/strcpy.c: Likewise.
52555         * string/strncat.c: Likewise.
52556         * string/strncmp.c: Likewise.
52557         * string/strncpy.c: Likewise.
52559 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52561         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52562         __builtin_memcopy is called when src and dest ranges are known to not
52563         overlap.
52565 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52567         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52568         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52569         fwd_align_merge macro call.
52570         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52571         bwd_align_merge macro call.
52572         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52574 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52576         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52577         bwd_align_merge macros.
52578         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52579         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52580         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52582 2012-04-18  David S. Miller  <davem@davemloft.net>
52584         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52586 2012-04-18  Andreas Jaeger  <aj@suse.de>
52588         [BZ# 6794]
52589         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52590         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52591         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52593         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52594         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52595         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52597         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52598         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52599         Adjust for changed ldbl-128 files.
52601         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52602         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52603         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52605 2012-04-17  David S. Miller  <davem@davemloft.net>
52607         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52609 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52611         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52612         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52613         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52614         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52615         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52616         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52618 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52620         [BZ #6794]
52621         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52622         * math/libm-test.inc: Add ilogb errno and exception tests.
52623         * math/w_ilogb.c: New file: ilogb wrapper.
52624         * math/w_ilogbf.c: New file: ilogbf wrapper.
52625         * math/w_ilogbl.c: New file: ilogbl wrapper.
52626         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52627         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52628         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52629         exception being thrown with 0.0 as argument.
52630         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52631         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52632         exception being thrown with 0.0 as argument.
52633         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52634         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52635         exception being thrown with 0.0 as argument.
52636         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52637         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52638         exception being thrown with 0.0 as argument.
52639         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52640         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52641         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52642         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52643         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52644         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52645         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52646         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52647         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52649 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52651         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52652         with altivec.
52654 2012-04-16  Marek Polacek  <polacek@redhat.com>
52656         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52658 2012-04-16  Marek Polacek  <polacek@redhat.com>
52660         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52661         operands of fdivp instruction.
52663 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52665         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52666         * elf/tst-auditmod3b.c: Likewise.
52667         * elf/tst-auditmod4b.c: Likewise.
52668         * elf/tst-auditmod5b.c: Likewise.
52669         * elf/tst-auditmod6b.c: Likewise.
52670         * elf/tst-auditmod6c.c: Likewise.
52671         * elf/tst-auditmod7b.c: Likewise.
52672         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52673         * sysdeps/x86_64/preconfigure.in: Likewise.
52674         * sysdeps/x86_64/preconfigure: Regenerated.
52676 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52678         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52679         __ILP32__.
52681 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52683         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52684         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52686 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52688         [BZ #13973]
52689         * locale/iso-639.def: Fix gl language name. Spotted by
52690         Yaron Shahrabani.
52692 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52694         [BZ #2074]
52695         * libio/libio.h (__io_write_fn): Update comment.
52697 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52699         [BZ #2074]
52700         * stdio.texi (Hook Functions): The user provided writer function
52701         is not allowed to return -1.
52703 2012-04-11  David S. Miller  <davem@davemloft.net>
52705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52707 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52709         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52710         Add a leading slash to rtkaio.
52712 2012-04-11  Jim Meyering  <meyering@redhat.com>
52714         [BZ #11959]
52715         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52716         It is not necessarily an error to ignore fwrite's return
52717         value.  One can reliably use ferror to test for errors after
52718         the fact.
52720 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52722         * bits/types.h (__snseconds_t): New type.
52723         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52725         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52726         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52727         (__SNSECONDS_T_TYPE): Likewise.
52728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52729         (__SNSECONDS_T_TYPE): Likewise.
52730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52731         (__SNSECONDS_T_TYPE): Likewise.
52733 2012-04-10  Andreas Jaeger  <aj@suse.de>
52735         [BZ #2636]
52736         * manual/time.texi (Processor Time): Return type of times is
52737         elapsed real time since an arbitrary point in the past.
52738         (CPU Time): Move CLK_TCK from here...
52739         (Processor Time): ...to here.  Correct description.
52740         * manual/conf.texi (Constants for Sysconf): Correct description of
52741         _SC_CLK_TCK.
52743 2012-04-10  David S. Miller  <davem@davemloft.net>
52745         [BZ #13967]
52746         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52747         where the is a gap between DT_REL(A) and DT_JMPREL.
52749 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52751         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52752         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52753         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52755 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52757         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52758         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52759         (dl_main): Handle --inhibit-cache.
52760         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52761         _dl_inhibit_cache.
52762         * elf/dl-load.c (_dl_map_object): Use it.
52763         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52765 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52767         [BZ #13872]
52768         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52769         (__ieee754_powl): Saturate large exponents rather than testing for
52770         overflow of y*log2(x).
52771         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52772         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52773         exceptions.
52775         [BZ #11521]
52776         * math/s_ctan.c: Include <float.h>.
52777         (__ctan): Avoid internal overflow or cancellation in calculating
52778         denominator.
52779         * math/s_ctanf.c: Likewise.
52780         * math/s_ctanl.c: Likewise.
52781         * math/s_ctanh.c: Likewise.
52782         * math/s_ctanhf.c: Likewise.
52783         * math/s_ctanhl.c: Likewise.
52784         * math/libm-test.inc (ctan_test): Add more tests.
52785         (ctanh_test): Likewise.
52786         * sysdeps/i386/fpu/libm-test-ulps: Update.
52787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52789 2012-04-09  Andreas Jaeger  <aj@suse.de>
52791         [BZ #6894]
52792         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52793         is an optional BSD extension.
52795         [BZ #10254]
52796         * manual/stdio.texi (Opening Streams): Document additional fopen
52797         parameters.
52799 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52801         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52802         %eax without telling the compiler.
52804 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52806         [BZ # 13963]
52807         * manual/install.texi: Use sourceware.org.
52809 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52811         [BZ #13873]
52812         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52813         (__ieee754_pow): Generate overflow and underflow using huge*huge
52814         and tiny*tiny rather than just returning constant infinity or zero
52815         for large exponents.
52816         * math/libm-test.inc (pow_test): Require overflow exceptions for
52817         applicable cases of large exponents.
52819         [BZ #706]
52820         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52821         (__ieee754_pow): Use iterative multiplication algorithm only for
52822         integer exponents with absolute value below 1024.  Check for odd
52823         integer exponents when using algorithm for real exponents.
52824         * math/libm-test.inc (pow_test): Add more tests.
52825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52827 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52829         [BZ #13705]
52830         * math/libm-test.inc (exp_test): Do not allow overflow exception
52831         on underflow test.
52833 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52835         [BZ #13705]
52836         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52837         instead of __kernel_standard_f.
52839 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52841         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52842         * sysdeps/x86_64/memset_chk.S: Likewise.
52844 2012-04-08  Andreas Jaeger  <aj@suse.de>
52846         [BZ #10153]
52847         * manual/startup.texi (Environment Access): Describe return value
52848         for putenv and setenv.
52850         [BZ #6895]
52851         * manual/filesys.texi (Directory Entries): Add description for
52852         DT_LNK.
52854         [BZ #6890]
52855         * manual/filesys.texi (Directory Entries): Clarify that it's file
52856         system not operating system in the description of DT_UNKNOWN.
52858         [BZ #6578]
52859         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52861 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52863         [BZ #6649]
52864         * manual/llio.texi (Opening and Closing Files): Add cross
52865         reference to explain mode argument.
52867 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52869         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52870         * sysdeps/x86_64/memset_chk.S: Likewise.
52872 2012-04-07  David S. Miller  <davem@davemloft.net>
52874         * elf/elf.h (R_SPARC_WDISP10): Define.
52875         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52876         R_SPARC_SIZE32.
52877         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52878         R_SPARC_SIZE64 and R_SPARC_H34.
52880 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52882         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52883         conditions and remove no longer applicable assertion.
52885 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52887         * bits/byteswap.h: Include <features.h>.
52888         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52889         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52891 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52893         * bits/byteswap.h (__bswap_16): Removed.
52894         Include <bits/byteswap-16.h> to get __bswap_16.
52895         * sysdeps/i386/bits/byteswap.h: Likewise.
52896         * sysdeps/s390/bits/byteswap.h: Likewise.
52897         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52898         * bits/byteswap-16.h: New file.
52899         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52900         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52901         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52902         * string/Makefile (headers): Add bits/byteswap-16.h.
52904 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52906         [BZ #13895]
52907         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52908         extra indirection.
52909         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52910         * nss/tst-nss-static.c: New.
52912 2012-04-06  Robert Millan  <rmh@gnu.org>
52914         [BZ #6486]
52915         * manual/llio.texi (File Position Primitive): lseek
52916         refers to WHENCE when it really means OFFSET.
52918 2012-04-06  Andreas Jaeger  <aj@suse.de>
52920         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52921         strncmp declarations.
52923         * abilist/libc.abilist: Add __poll and __ppoll.
52925 2012-04-05  David S. Miller  <davem@davemloft.net>
52927         * scripts/check-local-headers.sh: Accept a host triplet in the
52928         path matched by the exclude regexp.
52930         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52931         definition.
52932         * sysdeps/powerpc/powerpc32/dl-machine.h
52933         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52934         * sysdeps/s390/s390-32/dl-machine.h
52935         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52936         * sysdeps/sparc/sparc32/dl-machine.h
52937         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52938         * sysdeps/sparc/sparc64/dl-machine.h
52939         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52941         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52942         lazy binding.
52943         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52944         undefined symbol errors.
52946         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52947         DT_NEEDED entries.
52949 2012-04-05  Michael Matz  <matz@suse.de>
52951         [BZ #13592]
52952         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52954 2012-04-05  Andreas Jaeger  <aj@suse.de>
52956         [BZ #13908]
52957         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52958         comment.
52960 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52962         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52963         which ROUND is no valid rounding mode.
52965 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52967         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52968         read again.
52969         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52971 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52973         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52974         an exception using FPU order intentionally.
52976 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52978         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52979         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52980         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52981         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52983 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52985         [BZ #12340]
52986         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52987         EINVAL when BUFLEN is too smal.
52989 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52991         [BZ #13553]
52992         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52993         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52995 2012-04-03  Andreas Jaeger  <aj@suse.de>
52997         [BZ #13938]
52998         * manual/setjmp.texi (System V contexts): Fix sentence.
53000         [BZ #13926]
53001         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53002         New macro for this case.
53003         [!__GNUC__] (__bswap_64): New inline function for this case.
53004         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53005         * bits/byteswap.h: Likewise.
53006         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53007         ull, guard with __GLIBC_HAVE_LONG_LONG.
53009         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53010         __GLIBC_HAVE_LONG_LONG.
53012         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53013         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53015 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53017         [BZ #13691]
53018         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53019         inptr and inend, rather than using last_ch.
53021 2012-04-02  David S. Miller  <davem@davemloft.net>
53023         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53024         * stdio-common/printf-parse.h (read_int): Change return type to
53025         'int', return -1 on INT_MAX overflow.
53026         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53027         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53028         overflows INT_MAX.  Check for overflow of in-format-string precision
53029         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53030         SIZE_MAX not INT_MAX for integer overflow test.
53031         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53032         skip the construct in the format string but do not record anything.
53033         * stdio-common/bug22.c: Adjust to test both width/prevision
53034         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53035         explicitly for proper errno values.
53037 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53039         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53040         CHAR_MAX.
53041         * string/test-strcmp.c [! WIDE]: Likewise.
53042         * time/tst-mktime2.c: Likewise for INT_MAX.
53043         * string/test-string.h: #include <sys/param.h> for MIN.
53045         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53046         * sysdeps/i386/init-first.c (init): Likewise.
53047         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53048         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53049         * sysdeps/sh/init-first.c (init): Likewise.
53051 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53053         * po/ru.po: Update from translation team.
53054         * po/vi.po: Likewise.
53056 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53058         * resolv/nss_dns/dns-host.c: Merge copyright years.
53060 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53062         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53063         Optimize memcpy with prefetch if
53064         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53065         src, dst pointers have unequal 16 byte alignments.
53067 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53069         [BZ #13928]
53070         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53071         from a CNAME entry and return the minimum ttl for the query.
53072         (gaih_getanswer_slice): Likewise.
53074 2012-03-30  Jeff Law  <law@redhat.com>
53076         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53077         due to long keys.
53078         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53079         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53081         * resolv/nss_dns/dns-host.c: Update copyright year.
53083 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53085         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53086         requests to save a system call.  Fix check that all bytes are sent.
53088         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53089         comments for sendmmsg.
53091 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53093         [BZ #13691]
53094         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53095         with only 1 character between 0x0041 and 0x01b0.
53096         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53097         * wcsmbs/tst-mbsnrtowcs.c: New file.
53099 2012-03-29  David S. Miller  <davem@davemloft.net>
53101         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53102         small copies by hand.
53104 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53106         [BZ #13761]
53107         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53108         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53109         group memberships.
53111 2012-03-28  David S. Miller  <davem@davemloft.net>
53113         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53114         that branches into memcpy.
53115         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53117         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53118         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53120         bits.
53121         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53122         implementation too.
53123         * sysdeps/sparc/mempcpy.S: New file.
53125         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53126         the IFUNC routine in the libc case.
53127         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53129         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53130         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53131         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53132         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53133         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53134         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53135         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53136         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53138         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53139         loop to 256 bytes instead of 64 bytes and fix test signedness.
53141         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53142         * sysdeps/sparc/sparc32/Makefile: rather than here...
53143         * sysdeps/sparc/sparc64/Makefile: and here.
53145 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53147         * malloc/mallocbug.c: Avoid warnings about unused variables.
53149 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53151         [BZ #13760]
53152         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53153         in the right place. Discard and retry query if response is
53154         larger than input buffer size.
53156 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53158         [BZ #369]
53159         [BZ #2678]
53160         [BZ #3866]
53161         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53162         x for large integer exponent.
53163         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53164         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53165         sign of result as needed afterwards.
53166         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53167         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53168         result for underflowing pow the same as for overflow.
53169         (__kernel_standard_l): Handle powl overflow and underflow here
53170         rather than calling __kernel_standard.
53171         * math/libm-test.inc (pow_test): Add more tests.
53173         [BZ #3868]
53174         [BZ #13879]
53175         [BZ #13910]
53176         [BZ #13911]
53177         [BZ #13912]
53178         [BZ #13913]
53179         [BZ #13915]
53180         [BZ #13916]
53181         [BZ #13917]
53182         [BZ #13918]
53183         [BZ #13919]
53184         [BZ #13920]
53185         [BZ #13921]
53186         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53187         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53188         (__kernel_standard_l): New function.
53189         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53190         __kernel_standard.
53191         * math/w_acosl.c (__acosl): Likewise.
53192         * math/w_asinl.c (__asinl): Likewise.
53193         * math/w_atan2l.c (__atan2l): Likewise.
53194         * math/w_atanhl.c (__atanhl): Likewise.
53195         * math/w_coshl.c (__coshl): Likewise.
53196         * math/w_exp10l.c (__exp10l): Likewise.
53197         * math/w_exp2l.c (__exp2l): Likewise.
53198         * math/w_fmodl.c (__fmodl): Likewise.
53199         * math/w_hypotl.c (__hypotl): Likewise.
53200         * math/w_j0l.c (__j0l, __y0l): Likewise.
53201         * math/w_j1l.c (__j1l, __y1l): Likewise.
53202         * math/w_jnl.c (__jnl, __ynl): Likewise.
53203         * math/w_lgammal.c (__lgammal): Likewise.
53204         * math/w_log10l.c (__log10l): Likewise.
53205         * math/w_log2l.c (__log2l): Likewise.
53206         * math/w_logl.c (__logl): Likewise.
53207         * math/w_powl.c (__powl): Likewise.
53208         * math/w_remainderl.c (__remainderl): Likewise.
53209         * math/w_scalbl.c (sysv_scalbl): Likewise.
53210         * math/w_sinhl.c (__sinhl): Likewise.
53211         * math/w_sqrtl.c (__sqrtl): Likewise.
53212         * math/w_tgammal.c (__tgammal): Likewise.
53213         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53214         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53215         * math/libm-test.inc (acos_test): Add more tests.
53216         (acosh_test): Likewise.
53217         (asin_test): Likewise.
53218         (atanh_test): Likewise.
53219         (exp_test): Likewise.
53220         (exp10_test): Likewise.
53221         (exp2_test): Likewise.
53222         (expm1_test): Likewise.
53223         (lgamma_test): Likewise.
53224         (log_test): Likewise.
53225         (log10_test): Likewise.
53226         (log1p_test): Likewise.
53227         (log2_test): Likewise.
53228         (pow_test): Do not allow some spurious overflow exceptions.
53229         (sqrt_test): Add more tests.
53230         (tgamma_test): Likewise.
53231         (y0_test): Likewise.
53232         (y1_test): Likewise.
53233         (yn_test): Likewise.
53235 2012-03-27  Anton Blanchard  <anton@samba.org>
53237         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53238         MAP_HUGETLB.
53239         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53240         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53241         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53243 2012-03-27  David S. Miller  <davem@davemloft.net>
53245         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53247         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53248         have-as-vis3 check.
53250 2012-03-27  Andreas Jaeger  <aj@suse.de>
53252         * sysdeps/x86_64/elf/configure.in: Moved to ...
53253         * sysdeps/x86_64/configure.in: ... here.
53254         * sysdeps/x86_64/elf/start.S: Moved to ...
53255         * sysdeps/x86_64/start.S: ... here.
53256         * sysdeps/x86_64/elf/configure: Delete.
53258         * sysdeps/x86_64/configure.in: Merge contents from
53259         sysdeps/i386/configure.in (without i686 check).
53261         * sysdeps/i386/elf/Versions: Merge into ...
53262         * sysdeps/i386/Versions: ... this.
53263         * sysdeps/i386/elf/Versions: Delete file.
53264         * sysdeps/i386/elf/start.S: Moved to ...
53265         * sysdeps/i386/start.S: ...here.
53266         * sysdeps/i386/elf/configure.in: Merge into...
53267         * sysdeps/i386/configure.in: ...here.
53268         * sysdeps/i386/elf/configure.in: Delete file.
53269         * sysdeps/i386/elf/configure: Delete file.
53271         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53272         * debug/backtracesyms.c: ... here.
53273         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53274         * debug/backtracesymsfd.c: ... here.
53275         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53276         * sysdeps/generic/ifunc-sel.h: ... here.
53278         * sysdeps/unix/i386/start.c: Delete file.
53279         * sysdeps/unix/sparc/start.c: Delete file.
53280         * sysdeps/unix/start.c: Delete file.
53282         * sysdeps/sh/elf/configure.in: Moved to ...
53283         * sysdeps/sh/configure.in: ... here.
53284         * sysdeps/sh/elf/start.S: Moved to ...
53285         * sysdeps/sh/start.S: ... here.
53286         * sysdeps/sh/elf/configure: Delete file.
53288         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53289         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53290         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53291         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53292         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53293         * sysdeps/powerpc/powerpc64/start.S: here.
53294         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53295         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53296         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53297         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53298         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53300         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53301         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53302         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53303         * sysdeps/powerpc/powerpc32/start.S: ... here.
53304         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53305         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53306         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53308         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53309         * sysdeps/powerpc/ifunc-sel.h: ... here.
53310         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53311         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53313         * sysdeps/sparc/elf/configure.in: Moved to ...
53314         * sysdeps/sparc/configure.in: ... here.
53315         * sysdeps/sparc/elf/configure: Delete file.
53316         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53317         * sysdeps/sparc/sparc32/start.S: ... here.
53318         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53319         * sysdeps/sparc/sparc64/start.S: ... here.
53320         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53321         * sysdeps/sparc/sparc32/Makefile: ... this.
53322         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53323         * sysdeps/sparc/sparc64/Makefile: ... this.
53325         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53326         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53327         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53328         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53329         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53330         * sysdeps/s390/s390-32/setjmp.S: ... here.
53331         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53332         * sysdeps/s390/s390-32/configure.in: ... here.
53333         * sysdeps/s390/s390-32/elf/configure: Delete file.
53334         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53335         * sysdeps/s390/s390-32/start.S: ... here.
53337         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53338         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53339         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53340         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53341         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53342         * sysdeps/s390/s390-64/setjmp.S: ... here.
53343         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53344         * sysdeps/s390/s390-64/configure.in: ... here
53345         * sysdeps/s390/s390-64/elf/configure: Delete file.
53346         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53347         * sysdeps/s390/s390-64/start.S: ... here.
53348         * sysdeps/s390/s390-64/elf/configure: Delete.
53350         * configure.in: Remove support for elf directories in sysdeps.
53352         * configure: Regenerated.
53353         * sysdeps/i386/configure: Regenerated.
53354         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53355         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53356         * sysdeps/s390/s390-32/configure: Regenerated.
53357         * sysdeps/s390/s390-64/configure: Regenerated.
53358         * sysdeps/sh/configure: Regenerated.
53359         * sysdeps/sparc/configure: Regenerated.
53360         * sysdeps/x86_64/configure: Regenerated.
53362 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53366         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53367         denormal result into account.
53369 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53371         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53372         Reported by Allan McRae <allan@archlinux.org>.
53374 2012-03-23  Jeff Law  <law@redhat.com>
53376         * nss/getnssent.c (__nss_getent): Fix typo.
53378 2012-03-23  David S. Miller  <davem@davemloft.net>
53380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53382 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53384         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53385         to pad to uint64_t for each field.
53386         (dl_tls_index): Replace unsigned long with uint64_t.
53388 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53389         Paul Pluzhnikov  <ppluzhnikov@google.com>
53391         [BZ #6528]
53392         * grp/Makefile (otherlibs): Don't set it.
53393         * inet/Makefile (otherlibs): Likewise.
53394         * login/Makefile (otherlibs): Likewise.
53395         * nscd/Makefile (otherlibs): Likewise.
53396         * posix/Makefile (otherlibs): Likewise.
53397         * pwd/Makefile (otherlibs): Likewise.
53398         * rt/Makefile (otherlibs): Likewise.
53399         * sunrpc/Makefile (otherlibs): Likewise.
53400         * nss/Makefile (otherlibs): Likewise.
53401         Add libnss_files to routines and static-only-routines.
53402         ($(objpfx)getent): Remove rule.
53403         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53404         static-only-routines.
53406 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53408         [BZ #13892]
53409         * math/s_cexp.c: Include <float.h>.
53410         (__cexp): Handle exp result overflowing not necessarily
53411         overflowing both real and imaginary parts of result.
53412         * math/s_cexpf.c: Likewise.
53413         * math/s_cexpl.c: Likewise.
53414         * math/libm-test.inc (cexp_test): Add more tests.
53415         * sysdeps/i386/fpu/libm-test-ulps: Update.
53416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53418 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53420         * include/link.h (ELFW): New macro.
53421         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53422         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53424 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53426         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53427         with uint64_t.
53429 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53431         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53432         declaration.
53433         (struct La_x32_retval): Likewise.
53435 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53437         * sysdeps/x86_64/preconfigure.in: New file.
53438         * sysdeps/x86_64/preconfigure: New generated file.
53440 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53442         [BZ #13824]
53443         * math/e_exp2l.c: Include <float.h>.
53444         (__ieee754_exp2l): Handle overflow and underflow cases
53445         separately.  Only pass fractional part of argument to
53446         __ieee754_expl.
53447         * math/libm-test.inc (exp2_test): Add more tests.
53449         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53450         negating x to take absolute value.
53451         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53452         Likewise.
53453         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53454         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53455         Likewise.
53456         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53457         computing low part if x was negated.
53458         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53460 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53462         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53463         la_x32_gnu_pltexit.
53464         (pltexit): Cast int_retval to ptrdiff_t.
53465         * elf/tst-auditmod3b.c: Likewise.
53466         * elf/tst-auditmod4b.c: Likewise.
53467         * elf/tst-auditmod5b.c: Likewise.
53468         * elf/tst-auditmod6b.c: Likewise.
53469         * elf/tst-auditmod6c.c: Likewise.
53470         * elf/tst-auditmod7b.c: Likewise.
53472         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53473         and x32_gnu_pltexit.
53475         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53476         __ELF_NATIVE_CLASS.
53477         (La_x32_regs): New macro.
53478         (La_x32_retval): Likewise.
53479         (la_x32_gnu_pltenter): New function prototype.
53480         (la_x32_gnu_pltexit): Likewise.
53482 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53484         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53485         exponent.
53487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53489         * configure.in (libc_cv_cc_nofma): Check for option to disable
53490         generation of FMA instructions.
53491         * configure: Regenerate.
53492         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53493         * sysdeps/ieee754/dbl-64/Makefile: New file.
53494         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53495         Remove brandred-fma4.
53496         (CFLAGS-brandred-fma4.c): Remove.
53497         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53498         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53499         define.
53500         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53501         define.
53503 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53505         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53506         LLONG_MAX != LONG_MAX.
53507         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53508         (_fitoa_word): Likewise.
53509         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53510         LLONG_MAX != LONG_MAX.
53511         * stdio-common/_itowa.h: Include <_itoa.h>.
53512         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53513         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53514         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53515         only if not defined.
53516         (_ITOA_WORD_TYPE): Likewise.
53517         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53518         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53520 2012-03-21  David S. Miller  <davem@davemloft.net>
53522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53524 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53526         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53527         of x86_64 when setting libc_cv_slibdir, libdir and
53528         libc_cv_localedir.
53529         * sysdeps/unix/sysv/linux/configure: Regenerated.
53531 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53533         * manual/lang.texi (Old Varargs): Remove section.
53534         (How Variadic): Update menu.
53535         (va_start): Do not mention varargs.h.
53537 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53538             Joseph Myers  <joseph@codesourcery.com>
53540         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53541         link test.
53542         * configure: Regenerated.
53544 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53546         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53547         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53548         conformtest.pl
53550 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53552         * NOTES: Remove.
53553         * Makefile (files-for-dist): Remove NOTES.
53554         (NOTES): Remove rule.
53555         * README: Don't refer to NOTES.
53556         * manual/creature.texi: Don't include macros.texi.
53557         * manual/intro.texi (creature.texi): Remove comment referring to
53558         NOTES.
53560         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53561         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53562         * configure: Regenerated.
53563         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53564         LIBC_TRY_CC_OPTION.
53565         (libc_cv_as_i686): Likewise.
53566         (libc_cv_cc_avx): Likewise.
53567         (libc_cv_cc_sse2avx): Likewise.
53568         (libc_cv_cc_fma4): Likewise.
53569         (libc_cv_cc_novzeroupper): Likewise.
53570         * sysdeps/i386/configure: Regenerated.
53572         [BZ #13883]
53573         * sysdeps/i386/fpu/s_cexp.S: Remove.
53574         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53575         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53576         * math/libm-test.inc (cexp_test): Add more tests.
53577         * sysdeps/i386/fpu/libm-test-ulps: Update.
53578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53580 2012-03-21  Allan McRae  <allan@archlinux.org>
53582         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53584 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53586         [BZ #13871]
53587         * math/w_exp2.c: Do not include <float.h>.
53588         (o_threshold, u_threshold): Remove.
53589         (__exp2): Calculate result before checking finiteness and calling
53590         __kernel_standard.
53591         * math/w_exp2f.c: Likewise.
53592         * math/w_exp2l.c: Likewise.
53593         * math/libm-test.inc (exp2_test): Require overflow exception for
53594         1e6 input.
53596         [BZ #3866]
53597         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53598         range of signed 64-bit integers before using fistpll.  Remove
53599         checks for whether integers fit in mantissa bits.
53600         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53601         the range of signed 32-bit integers before using fistpl.  Remove
53602         checks for whether integers fit in mantissa bits.
53603         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53604         (__ieee754_powl): Test for y outside the range of signed 64-bit
53605         integers before using fistpll.  Reduce 64-bit values to 63-bit
53606         ones as needed.
53607         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53608         divide-by-zero is raised for zero to large negative powers.
53609         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53610         (__ieee754_powl): Test for y outside the range of signed 64-bit
53611         integers before using fistpll.  Reduce 64-bit values to 63-bit
53612         ones as needed.
53613         * math/libm-test.inc (pow_test): Add more tests.
53615 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53617         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53618         <stdio-common/_itoa.h>.
53619         * debug/segfault.c: Likewise.
53620         * elf/dl-cache.c: Likewise.
53621         * elf/dl-minimal.c: Likewise.
53622         * elf/dl-misc.c: Likewise.
53623         * elf/dl-sysdep.c: Likewise.
53624         * elf/dl-version.c: Likewise.
53625         * elf/rtld.c: Likewise.
53626         * hurd/hurdsock.c: Likewise.
53627         * hurd/lookup-retry.c: Likewise.
53628         * malloc/malloc.c: Likewise.
53629         * malloc/mtrace.c: Likewise.
53630         * nscd/nscd_getgr_r.c: Likewise.
53631         * nscd/nscd_getpw_r.c: Likewise.
53632         * nscd/nscd_getserv_r.c: Likewise.
53633         * posix/getopt_init.c: Likewise.
53634         * posix/wordexp.c: Likewise.
53635         * stdio-common/_itoa.c: Likewise.
53636         * stdio-common/printf_fphex.c: Likewise.
53637         * stdio-common/vfprintf.c: Likewise.
53638         * string/_strerror.c: Likewise.
53639         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53640         * sysdeps/i386/i686/hp-timing.h: Likewise.
53641         * sysdeps/mach/_strerror.c: Likewise.
53642         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53643         * sysdeps/mach/hurd/sethostid.c: Likewise.
53644         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53645         * sysdeps/mach/xpg-strerror.c: Likewise.
53646         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53648         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53649         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53650         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53651         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53652         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53653         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53654         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53655         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53656         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53657         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53658         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53659         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53660         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53661         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53662         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53663         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53664         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53665         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53666         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53668         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53670         * stdio-common/_itoa.h: Moved to ...
53671         * sysdeps/generic/_itoa.h: Here.
53673         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53675         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53676         instead of "_itoa.h" and "_itowa.h".
53677         * stdio-common/vfprintf.: Likewise.
53679 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53681         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53682         <bits/wordsize.h>.
53683         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53684         (__signbit): Likwise.
53685         (llrintf): Likwise.
53686         (llrint): Likwise.
53688 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53690         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53691         __WORDSIZE != 64.
53693 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53695         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53696         OVERFLOW_EXCEPTION_OK.
53697         * math/libm-test.inc ("Philosophy"): Update comment about
53698         exception testing.
53699         (OVERFLOW_EXCEPTION): Define.
53700         (OVERFLOW_EXCEPTION_OK): Likewise.
53701         (INVALID_EXCEPTION_OK): Renumber.
53702         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53703         (IGNORE_ZERO_INF_SIGN): Likewise.
53704         (test_exceptions): Handle FE_OVERFLOW.
53705         (exp10_test): Expect overflow exceptions.
53706         (exp2_test): Likewise.
53707         (expm1_test): Likewise.
53708         (nextafter_test): Likewise.
53709         (pow_test): Likewise.
53710         (scalbn_test): Likewise.
53711         (scalbln_test): Likewise.
53713 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53715         * sysdeps/x86_64/bits/atomic.h
53716         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53717         64bit integer.
53718         (atomic_exchange_acq): Likewise.
53719         (__arch_exchange_and_add_body): Likewise.
53720         (__arch_add_body): Likewise.
53721         (atomic_add_negative): Likewise.
53722         (atomic_add_zero): Likewise.
53724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53726         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53727         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53731         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53732         Check __x86_64__ instead of __WORDSIZE.
53734 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53736         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53738 2012-03-19  David S. Miller  <davem@davemloft.net>
53740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53742         * sysdeps/sparc/fpu/fenv_private.h: New file.
53743         * sysdeps/sparc/fpu/math_private.h: Use it.
53744         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53745         Remove.
53746         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53747         (libc_feholdexcept_setroundl): Remove.
53748         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53749         Remove.
53750         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53751         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53755         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53756         int64_t instead of long int.
53757         (INSERT_WORDS64): Likwise.
53759 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53761         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53762         _Unwind_GetCFA return to _Unwind_Ptr first.
53764 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53766         [BZ #13629]
53767         * math/s_clog.c: Include <float.h>.
53768         (__clog): Scale large or subnormal inputs.
53769         * math/s_clogf.c: Likewise.
53770         * math/s_clogl.c: Likewise.
53771         * math/s_clog10.c: Include <float.h>.
53772         (M_LOG10_2): Define.
53773         (__clog10): Scale large or subnormal inputs.
53774         * math/s_clog10f.c: Likewise.
53775         * math/s_clog10l.c: Likewise.
53776         * math/libm-test.inc (clog_test): Add more tests.
53777         (clog10_test): Likewise.
53778         * sysdeps/i386/fpu/libm-test-ulps: Update.
53779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53781         [BZ #11451]
53782         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53783         x and y.
53784         * math/libm-test.inc (atan2_test): Add another test.
53786         * Makerules (common-objdir-compile): Remove.
53787         * sysdeps/unix/Makefile (config-generated): Do not add
53788         $(unix-generated) to variable.
53789         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53790         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53791         Remove rule.
53792         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53793         Likewise.
53794         [generic bits/local_lim.h] (before-compile): Do not append to
53795         variable.
53796         [generic bits/local_lim.h] (common-generated): Likewise.
53797         [generic sys/param.h] (before-compile): Do not append to variable.
53798         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53799         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53800         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53801         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53802         include.
53803         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53804         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53805         [generic sys/param.h] ($(addprefix
53806         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53807         [generic sys/param.h] (common-generated): Do not append to
53808         variable.
53809         [generic sys/param.h] (sysdep_headers): Likewise.
53810         [generic bits/errno.h] (before-compile): Do not append to
53811         variable.
53812         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53813         rule.
53814         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53815         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53816         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53817         [generic bits/errno.h] (common-generated): Do not append to
53818         variable.
53819         [generic bits/ioctls.h] (before-compile): Do not append to
53820         variable.
53821         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53822         rule.
53823         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53824         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53825         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53826         rule.
53827         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53828         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53829         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53830         [generic bits/ioctls.h] (common-generated): Do not append to
53831         variable.
53832         [generic sys/syscall.h] (syscall.h): Remove variable.
53833         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53834         rule.
53835         [generic sys/syscall.h] (before-compile): Do not append to
53836         variable.
53837         [generic sys/syscall.h] (common-generated): Likewise.
53838         * sysdeps/unix/errnos-tmpl.c: Remove file.
53839         * sysdeps/unix/errnos.awk: Likewise.
53840         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53841         * sysdeps/unix/ioctls.awk: Likewise.
53842         * sysdeps/unix/mk-local_lim.c: Likewise.
53843         * sysdeps/unix/snarf-ioctls: Likewise.
53845 2012-03-19  Richard Henderson  <rth@twiddle.net>
53847         * sysdeps/i386/fpu/fenv_private.h: New file.
53848         * sysdeps/i386/fpu/math_private.h: Use it.
53849         (math_opt_barrier, math_force_eval): Remove.
53850         (libc_feholdexcept_setround_53bit): Remove.
53851         (libc_feupdateenv_53bit): Remove.
53852         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53853         (math_opt_barrier, math_force_eval): Remove.
53854         (libc_feholdexcept): Remove.
53855         (libc_feholdexcept_setround): Remove.
53856         (libc_fetestexcept, libc_fesetenv): Remove.
53857         (libc_feupdateenv_test): Remove.
53858         (libc_feupdateenv, libc_feholdsetround): Remove.
53859         (libc_feresetround): Remove.
53861         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53862         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53864         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53865         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53866         (libc_feupdateenv_testl): New.
53867         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53868         (libc_feupdateenv_testf): New.
53869         (libc_feupdateenv): Use libc_feupdateenv_test.
53870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53871         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53873         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53874         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53875         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53876         (libc_feresetround_noex): New.
53877         (libc_feresetround_noexf): New.
53878         (libc_feresetround_noexl): New.
53879         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53880         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53881         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53882         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53883         SET_RESTORE_ROUND.
53884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53886         (__cos): Likewise.
53887         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53888         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53889         SET_RESTORE_ROUND_NOEX.
53890         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53891         SET_RESTORE_ROUND_NOEXF.
53892         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53893         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53894         (libc_feholdsetroundf): New.
53895         (libc_feresetround, libc_feresetroundf): New.
53897         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53898         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53899         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53901         * sysdeps/generic/math_private.h: Include <fenv.h>.
53902         (default_libc_feholdexcept): New.
53903         (default_libc_feholdexcept_setround): New.
53904         (default_libc_fesetenv, default_libc_feupdateenv): New.
53905         (libc_feholdexcept): Only define if undefined.
53906         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53907         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53908         (libc_feholdexcept_setroundl): Likewise.
53909         (libc_feholdexcept_setround_53bit): Likewise.
53910         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53911         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53912         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53913         (libc_feupdateenv_53bit): Likewise.
53914         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53915         (libc_feholdexcept): Convert from macro to inline function.
53916         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53917         (libc_fesetenv, libc_feupdateenv): Likewise.
53919         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53920         not previously defined.
53921         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53922         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53923         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53924         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53925         * sysdeps/ieee754/flt-32/math_private.h: New file.
53926         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53927         math_private.h below SET_FLOAT_WORD.
53928         (__isnan, __isinf_ns, __finite): Remove.
53929         (__isnanf, __isinf_nsf, __finitef): Remove.
53931 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53935 2012-03-17  David S. Miller  <davem@davemloft.net>
53937         [BZ #6471]
53938         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53939         for 2.16.
53941 2012-03-16  David S. Miller  <davem@davemloft.net>
53943         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53944         warnings.
53946         [BZ #6471]
53947         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53948         properly.
53949         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53950         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53951         sysdep_routines when subdir is sysvipc.
53952         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53953         __getshmlba helper.
53955         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53957 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53959         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53960         [__LP64__].
53962 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53964         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53965         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53966         (__lround): Renamed to ...
53967         (__llround): This.  Replace long int with long long int.
53968         Define lround functions as aliases of llround functions.
53969         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53971 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53973         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53974         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53975         adresses to uintptr_t.  Replace "long int" and "unsigned long
53976         int" with "greg_t" on va_arg.
53978 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53980         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53981         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53983         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53984         Move e_machine check before EI_CLASS check.  Handle x32
53985         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53986         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53987         SKIP_EM_IA_64 and include
53988         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53990         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53991         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53992         (add_system_dir): New macro.
53994         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53995         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53997 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53999         [BZ #2551]
54000         [BZ #2552]
54001         [BZ #2553]
54002         [BZ #2554]
54003         [BZ #2562]
54004         [BZ #2563]
54005         [BZ #2565]
54006         [BZ #2566]
54007         [BZ #2576]
54008         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54009         (y0): Likewise.
54010         * math/w_j0f.c (j0f): Likewise.
54011         (y0f): Likewise.
54012         * math/w_j0l.c (__j0l): Likewise.
54013         (__y0l): Likewise.
54014         * math/w_j1.c (j1): Likewise.
54015         (y1): Likewise.
54016         * math/w_j1f.c (j1f): Likewise.
54017         (y1f): Likewise.
54018         * math/w_j1l.c (__j1l): Likewise.
54019         (__y1l): Likewise.
54020         * math/w_jn.c (jn): Likewise.
54021         (yn): Likewise.
54022         * math/w_jnf.c (jnf): Likewise.
54023         (ynf): Likewise.
54024         * math/w_jnl.c (__jnl): Likewise.
54025         (__ynl): Likewise.
54026         * math/libm-test.inc (j0_test): Add more tests.
54027         (j1_test): Likewise.
54028         (jn_test): Likewise.  Add trailing semicolon to existing test.
54029         (y0_test): Likewise.
54030         (y1_test): Likewise.
54031         * sysdeps/i386/fpu/libm-test-ulps: Update.
54032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54034         [BZ #13851]
54035         [BZ #13854]
54036         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54037         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54038         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54039         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54040         (__tanl): Set errno for infinite argument.
54041         * sysdeps/i386/fpu/mptan.c: Remove.
54042         * sysdeps/i386/fpu/s_tan.S: Likewise.
54043         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54044         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54045         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54046         * math/libm-test.inc (tan_test): Add more tests and enable more
54047         tests for double and long double.
54048         * sysdeps/i386/fpu/libm-test-ulps: Update.
54049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54051 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54053         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54054         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54056 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54058         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54059         * configure.in: Use it for both main tree and add-ons.
54060         * configure: Regenerated.
54062 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54064         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54066 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54068         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54069         in comment.
54071         [BZ #13851]
54072         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54073         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54074         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54075         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54076         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54077         infinite argument.
54078         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54079         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54080         != 0 for prec == 2.
54081         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54082         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54083         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54084         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54085         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54086         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54087         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54088         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54089         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54090         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54091         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54092         * math/libm-test.inc (cos_test): Add more tests and enable more
54093         tests for long double.
54094         (sin_test): Likewise.
54095         (sincos_test): Likewise.
54096         * sysdeps/i386/fpu/libm-test-ulps: Update.
54097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54099 2012-03-16  David S. Miller  <davem@davemloft.net>
54101         * sysdeps/sparc/fpu/math_private.h: New file.
54103 2012-03-15  David S. Miller  <davem@davemloft.net>
54105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54106         file.
54107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54109         file.
54110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54115         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54116         sysdep routines.
54117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54119         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54120         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54122         * sysdeps/sparc/sparc-ifunc.h: New file.
54123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54124         sparc-ifunc.h
54125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54127         Likewise.
54128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54129         Likewise.
54130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54134         Likewise.
54135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54140         Likewise.
54141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54142         Likewise.
54143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54162         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54165         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54166         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54168 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54170         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54171         scaling.
54172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54174 2012-03-15  Andreas Jaeger  <aj@suse.de>
54176         [BZ #13852]
54177         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54178         ieee754/flt-32 implementation for sin, cos and sincos.
54179         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54180         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54181         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54182         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54183         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54184         ieee754/flt-32 implementation for tan.
54186         * math/libm-test.inc (cos_test): Enable some large input tests for
54187         float as well
54188         (sin_test): Likewise.
54189         (sincos_test): Likewise.
54190         (tan_test): Add tests for large input.
54192         * sysdeps/i386/fpu/libm-test-ulps: Update.
54194 2012-03-15  Andreas Jaeger  <aj@suse.de>
54196         [BZ #13658]
54197         * math/libm-test.inc (cos_test): Add more test cases.
54198         (sin_test): Likewise.
54199         (sincos_test): Likewise.
54201 2012-03-15  Andreas Jaeger  <aj@suse.de>
54203         [BZ #13837]
54204         * math/libm-test.inc (cos_test): Add a test case for large input
54205         value.
54206         (sin_test): Likewise.
54207         (sincos_test): Likewise.
54209 2012-03-15  Andreas Jaeger  <aj@suse.de>
54210             Joseph Myers  <joseph@codesourcery.com>
54212         [BZ #13658]
54213         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54214         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54215         * sysdeps/i386/fpu/branred.c: Likewise.
54216         * sysdeps/i386/fpu/dosincos.c: Likewise.
54217         * sysdeps/i386/fpu/mpa.c: Likewise.
54218         * sysdeps/i386/fpu/s_cos.S: Likewise.
54219         * sysdeps/i386/fpu/s_sin.S: Likewise.
54220         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54221         * sysdeps/i386/fpu/sincos32.c: Likewise.
54223         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54224         Define.
54225         (libc_feupdateenv_53bit): Define.
54226         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54227         Define.
54228         (libc_feupdateenv_53bit): Define.
54230         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54231         53 bit (without extend i386 double precision).
54233         * math/libm-test.inc (sincos_test): Add tests for large input.
54234         (sin): Likewise.
54235         (cos): Likewise.
54237         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54239 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54243 2012-03-15  David S. Miller  <davem@davemloft.net>
54245         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54246         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54247         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54248         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54261         file.
54262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54264         file.
54265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54267         file.
54268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54270         file.
54271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54272         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54273         fmin/fmax sysdep routines.
54274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54276 2012-03-14  David S. Miller  <davem@davemloft.net>
54278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54282         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54298         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54302         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54305         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54306         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54307         routines.
54308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54309         file.
54310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54312         file.
54313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54315         file.
54316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54318         file.
54319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54321         file.
54322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54324         file.
54325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54326         file.
54327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54328         file.
54329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54330         file.
54331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54332         New file.
54333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54334         file.
54335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54336         file.
54337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54339         file.
54340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54342         file.
54343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54345         file.
54346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54348         VIS3 routines.
54350         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54351         New file.
54353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54355         * sysdeps/sparc/configure.in: New file.
54356         * sysdeps/sparc/configure: Generate.
54357         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54358         * configure: Regenerate.
54359         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54360         * config.make.in (have-as-vis3): New.
54361         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54362         available use -Av9d instead of -Av9a.
54363         * sysdeps/sparc/sparc64/Makefile: Likewise.
54364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54366         New file.
54367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54368         file.
54369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54370         New file.
54371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54372         file.
54373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54374         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54376         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54379         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54380         fzeros/fnegs to load 0x80000000 into a float register instead of
54381         using the stack.
54382         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54384 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54387         bits/syscall.h.
54388         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54389         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54390         ($(inst_includedir)/bits/syscall.h): Remove rule.
54391         ($(objpfx)bits/syscall.d): Include instead of
54392         $(objpfx)syscall-list.d.
54393         (generated): Change syscall-list.h and syscall-list.d to
54394         bits/syscall.h and bits/syscall.d.
54396 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54398         [BZ #13846]
54399         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54401 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54403         [BZ #13841]
54404         * math/s_csqrt.c: Include <float.h>.
54405         (__csqrt): Scale large or subnormal inputs.
54406         * math/s_csqrtf.c: Likewise.
54407         * math/s_csqrtl.c: Likewise.
54408         * math/libm-test.inc (csqrt_test): Add more tests.
54409         * sysdeps/i386/fpu/libm-test-ulps: Update.
54410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54412         [BZ #13840]
54413         * math/libm-test.inc (hypot_test): Add more tests.
54415 2012-03-13  David S. Miller  <davem@davemloft.net>
54417         [BZ #13840]
54418         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54419         double-precision for the calculation instead of scaling.
54421 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54423         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54424         manipulate bits before adding and subtracting TWO52[sx].
54425         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54426         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54427         Likewise.
54428         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54430 2012-03-13  David S. Miller  <davem@davemloft.net>
54432         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54433         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54434         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54435         rtld-global-offsets.h
54436         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54438         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54439         large parameters.
54441         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54443         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54444         'err' in the ifdef scope in which it is actually used.
54446         * nss/nss_db/db-init.c: Include string.h
54448 2012-03-12  David S. Miller  <davem@davemloft.net>
54450         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54451         masking out of the most significant byte of random value used.
54452         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54453         Fix coding style in previous change.
54455         * sysdeps/unix/sysv/linux/kernel-features.h
54456         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54457         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54458         expression.
54459         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54460         later.
54462 2012-03-11  David S. Miller  <davem@davemloft.net>
54464         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54465         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54466         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54467         for 'resultvar' otherwise things get truncated on 64-bit.
54469         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54470         Fix masking out of the most significant byte of random value used.
54472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54474 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54478 2012-03-09  David S. Miller  <davem@davemloft.net>
54480         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54481         variables with appropriate CPP guards.
54482         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54483         from the frame pointer, not the stack pointer.  Correct layout
54484         comments.  Fix test on resulting framesize and the management of
54485         the outregs buffer for pltexit.  Preserve floating point return
54486         values across _dl_call_pltexit call.
54487         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54488         framesize and the management of the outregs buffer for pltexit.
54489         Preserve floating point return values across _dl_call_pltexit
54490         call.
54491         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54492         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54493         (la_sparc64_gnu_pltexit): New functions.
54494         (print_exit): Fix format string for return register value.
54496 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54498         * sunrpc/Makefile (others): Add rpcgen.
54499         ($(objpfx)rpcgen): Remove special build rule and dependency on
54500         libc.
54501         * sunrpc/rpcgen.c: New file.
54503 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54505         [BZ #13673]
54506         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54507         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54508         * sysdeps/i386/crti.S: Likewise.
54509         * sysdeps/i386/crtn.S: Likewise.
54510         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54511         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54512         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54513         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54514         * sysdeps/sh/crti.S: Likewise.
54515         * sysdeps/sh/crtn.S: Likewise.
54516         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54518         [BZ #13673]
54519         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54520         with URL.
54521         * locale/programs/locfile-kw.gperf: Likewise.
54522         * locale/programs/charmap-kw.h: Regenerated.
54523         * locale/programs/locfile-kw.h: Likewise.
54525         [BZ #13673]
54526         * intl/plural.y: Replace FSF snail mail address with URL.
54527         * intl/plural.c: Regenerated.
54529 2012-03-09  Richard Henderson  <rth@twiddle.net>
54531         * include/math_private.h: Remove file.
54532         * math/math_private.h: Move file ...
54533         * sysdeps/generic/math_private.h: ... here.
54535         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54536         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54537         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54539         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54540         and <math_private.h>.
54541         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54542         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54543         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54544         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54545         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54580         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54583         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54584         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54585         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54586         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54587         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54588         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54589         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54590         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54591         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54593         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54594         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54595         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54596         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54597         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54598         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54599         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54600         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54601         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54602         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54604         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54605         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54606         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54607         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54608         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54609         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54610         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54611         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54612         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54613         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54614         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54615         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54616         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54617         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54618         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54619         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54620         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54621         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54622         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54623         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54624         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54628         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54629         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54630         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54631         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54632         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54633         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54634         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54635         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54636         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54637         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54638         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54639         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54641         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54642         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54643         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54644         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54645         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54646         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54647         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54648         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54649         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54650         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54651         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54652         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54653         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54654         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54655         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54656         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54657         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54658         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54659         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54660         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54661         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54662         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54663         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54664         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54665         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54666         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54667         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54668         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54669         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54670         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54671         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54672         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54673         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54674         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54675         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54676         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54677         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54678         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54679         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54680         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54681         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54682         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54683         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54684         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54685         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54686         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54687         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54688         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54689         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54690         * sysdeps/ieee754/k_standard.c: Likewise.
54691         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54692         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54693         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54694         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54695         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54696         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54697         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54698         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54699         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54700         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54701         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54702         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54703         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54704         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54705         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54706         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54707         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54708         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54709         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54710         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54711         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54712         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54713         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54714         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54715         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54716         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54717         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54718         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54719         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54720         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54721         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54722         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54723         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54724         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54725         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54726         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54727         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54728         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54729         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54730         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54731         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54732         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54733         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54734         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54735         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54736         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54737         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54738         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54739         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54740         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54741         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54742         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54743         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54744         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54745         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54746         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54747         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54748         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54749         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54750         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54751         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54752         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54753         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54754         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54755         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54756         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54757         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54758         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54759         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54761         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54763         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54764         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54765         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54766         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54767         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54768         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54770         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54771         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54772         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54773         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54774         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54775         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54776         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54777         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54778         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54779         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54780         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54781         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54782         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54783         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54786         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54787         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54788         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54789         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54790         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54791         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54792         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54793         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54794         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54795         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54796         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54797         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54798         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54799         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54800         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54801         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54802         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54803         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54804         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54805         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54806         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54807         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54808         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54809         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54810         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54811         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54812         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54813         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54814         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54815         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54816         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54817         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54818         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54819         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54820         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54821         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54822         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54823         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54824         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54825         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54826         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54827         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54828         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54829         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54830         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54831         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54832         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54833         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54834         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54835         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54836         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54837         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54840         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54841         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54842         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54843         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54844         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54845         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54846         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54847         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54848         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54849         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54850         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54851         * sysdeps/ieee754/s_lib_version.c: Likewise.
54852         * sysdeps/ieee754/s_matherr.c: Likewise.
54853         * sysdeps/ieee754/s_signgam.c: Likewise.
54854         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54855         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54856         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54857         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54858         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54859         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54860         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54861         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54862         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54863         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54864         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54865         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54866         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54867         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54868         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54869         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54870         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54871         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54872         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54873         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54874         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54876 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54878         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54879         * sunrpc/rpc_main.c: Likewise.
54880         * sunrpc/rpc_svcout.c: Likewise.
54882 2012-03-09  David S. Miller  <davem@davemloft.net>
54884         * include/math_private.h: New file.
54886 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54888         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54889         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54890         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54891         from <bits/socket_type.h>.
54892         (enum __socket_type): Don't define here.
54893         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54895         bits/socket_type.h.
54897         [BZ #13566]
54898         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54899         checking __USE_GNU.
54901         * Makerules ($(inst_includedir)/%.h): New rule.
54902         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54903         (install-others): Remove variable setting.
54904         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54906 2012-03-08  Richard Henderson  <rth@twiddle.net>
54908         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54909         from macro to inline function; merge with the
54910         !__LIBC_INTERNAL_MATH_INLINES version.
54911         (__ieee754_sqrtf): Likewise.
54913         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54914         to inline function.
54915         (__rintf, __floor, __floorf): Likewise.
54917         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54918         macro to inline function.
54919         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54921         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54922         not <math/math_private.h>.
54924 2012-03-08  David S. Miller  <davem@davemloft.net>
54926         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54927         copyright year.
54928         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54930 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54932         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54933         normalization.
54934         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54935         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54937 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54939         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54940         be defined individually, they must be defined as a block.  Define
54941         S for printing a string instead of hidint the different by using a
54942         macro for adding the 'l'.
54943         * stdio-common/tst-fphex-wide.c: Adjust.
54945 2012-03-07  Marek Polacek  <polacek@redhat.com>
54947         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54949 2012-03-08  Marek Polacek  <polacek@redhat.com>
54951         [BZ #13806]
54952         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54953         * stdio-common/tst-fphex.c: Define a few macros to make the
54954         test reusable.  Use them.
54955         * stdio-common/tst-fphex-wide.c: New file.
54957 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54959         [BZ #6911]
54960         * manual/macros.texi (gnusystems): New macro.
54961         (nongnusystems): Likewise.
54962         (gnulinuxhurdsystems): Likewise.
54963         (gnuhurdsystems): Likewise..
54964         (gnulinuxsystems): Likewise.
54965         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54966         variants of the GNU system, not "GNU system".
54967         * manual/conf.texi: Likewise.
54968         * manual/errno.texi: Likewise.  Update example of errno macro
54969         expansion.
54970         * manual/filesys.texi: Likewise.
54971         (getumask): Document as specific to GNU/Hurd.
54972         * manual/install.texi: Likewise.  Reword some references to
54973         GNU/Linux.
54974         * manual/intro.texi: Likewise.
54975         * manual/io.texi: Likewise.
54976         (File Name Portability): Detail which constraints are inapplicable
54977         to all GNU systems and which are only inapplicable to GNU/Hurd.
54978         * manual/job.texi: Likewise.
54979         * manual/llio.texi: Likewise.
54980         (O_NOCTTY): Document as present on GNU/Linux.
54981         * manual/maint.texi: Likewise.
54982         * manual/memory.texi: Likewise.
54983         * manual/pattern.texi: Likewise.
54984         * manual/pipe.texi: Likewise.
54985         * manual/process.texi: Likewise.
54986         * manual/resource.texi: Likewise.
54987         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54988         child on GNU/Hurd.
54989         * manual/setjmp.texi: Likewise.
54990         * manual/signal.texi: Likewise.
54991         * manual/startup.texi: Likewise.
54992         * manual/stdio.texi: Likewise.
54993         * manual/terminal.texi: Likewise.
54994         (ONLCR): Document as POSIX.
54995         (OXTABS): Document availability on GNU/Linux as XTABS.
54996         (ONOEOT): Document availability separately from other bits.
54997         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54998         * manual/time.texi: Likewise.
54999         * manual/users.texi: Likewise.
55000         * INSTALL: Regenerated.
55001         * sysdeps/gnu/errlist.c: Regenerated.
55003         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55004         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55005         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55006         puts.
55007         * configure: Regenerated.
55009 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55011         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55012         default includes instead of AC_HEADER_CHECK.
55013         * sysdeps/i386/configure: Regenerated.
55015         [BZ #10716]
55016         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55017         * math/s_cacoshf.c (__cacoshf): Likewise.
55018         * math/s_cacoshl.c (__cacoshl): Likewise.
55019         * math/s_casinh.c (__casinh): Set signs of result from argument.
55020         * math/s_casinhf.c (__casinhf): Likewise.
55021         * math/s_casinhl.c (__casinhl): Likewise.
55022         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55023         (casinh_test): Add more tests.
55024         * sysdeps/i386/fpu/libm-test-ulps: Update.
55025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55027 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55029         * po/zh_TW.po: Update from translation team.
55031         * login/Makefile (distribute): Remove variable.
55032         * catgets/Makefile: Likewise.
55033         * mach/Makefile: Likewise.
55034         * malloc/Makefile: Likewise.
55035         * misc/Makefile: Likewise.
55036         * iconv/Makefile: Likewise.
55037         * nscd/Makefile: Likewise.
55038         * hurd/Makefile: Likewise.
55039         * manual/Makefile: Likewise.
55040         * locale/Makefile: Likewise.
55041         * intl/Makefile: Likewise.
55042         * conform/Makefile: Likewise.
55043         * nss/Makefile: Likewise.
55044         * time/Makefile: Likewise.
55045         * soft-fp/Makefile: Likewise.
55046         * dirent/Makefile: Likewise.
55047         * gmon/Makefile: Likewise.
55048         * po/Makefile: Likewise.
55049         * rt/Makefile: Likewise.
55050         * socket/Makefile: Likewise.
55051         * math/Makefile: Likewise.
55052         * signal/Makefile: Likewise.
55053         * debug/Makefile: Likewise.
55054         * elf/Makefile: Likewise.
55055         * timezone/Makefile: Likewise.
55056         * stdlib/Makefile: Likewise.
55057         * iconvdata/Makefile: Likewise.
55058         * sunrpc/Makefile: Likewise.
55059         * io/Makefile: Likewise.
55060         * argp/Makefile: Likewise.
55061         * inet/Makefile: Likewise.
55062         * hesiod/Makefile: Likewise.
55063         * grp/Makefile: Likewise.
55064         * csu/Makefile: Likewise.
55065         * wctype/Makefile: Likewise.
55066         * crypt/Makefile: Likewise.
55067         * libio/Makefile: Likewise.
55068         * string/Makefile: Likewise.
55069         * nis/Makefile: Likewise.
55070         * resolv/Makefile: Likewise.
55071         * stdio-common/Makefile: Likewise.
55072         * wcsmbs/Makefile: Likewise.
55073         * dlfcn/Makefile: Likewise.
55074         * posix/Makefile: Likewise.
55076         [BZ #6959]
55077         * timezone/Makefile: Don't install timezone files, just the programs
55078         and scripts.
55080 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55082         * nss/databases.def: Add missing gshadow entry.
55084         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55086 2012-03-06  Marek Polacek  <polacek@redhat.com>
55088         [BZ #13726]
55089         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55090         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55091         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55092         * stdio-common/tst-long-dbl-fphex.c: New file.
55094 2012-03-06  David S. Miller  <davem@davemloft.net>
55096         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55097         (set_obp_int): New function.
55098         (get_obp_int): New function.
55099         (__get_clockfreq_via_dev_openprom): Likewise.
55100         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55101         Avoid unused variable warnings on 'val' and use builtin_expect.
55102         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55103         __builtin_expect.
55104         (INLINE_CLONE_SYSCALL): Likewise.
55106 2012-03-05  David S. Miller  <davem@davemloft.net>
55108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55110 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55114         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55115         only for |x| >= 40.
55116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55118 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55121         Replace gettimeofday with __vdso_gettimeofday.
55123         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55124         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55125         __vdso_clock_gettime and __vdso_getcpu.
55127         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55128         time with __vdso_time.
55130 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55132         * manual/lang.texi (size_t): Note types to which size_t may be
55133         equivalent with the GNU C Library, but do not describe when
55134         differences between them are significant.
55136 2012-03-05  Andreas Jaeger  <aj@suse.de>
55138         * sysdeps/i386/fpu/libm-test-ulps: Update.
55140 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55142         [BZ #3976]
55143         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55144         (__ieee754_pow): Save and restore rounding mode and use
55145         round-to-nearest for main computations.
55146         * math/libm-test.inc (pow_test_tonearest): New function.
55147         (pow_test_towardzero): Likewise.
55148         (pow_test_downward): Likewise.
55149         (pow_test_upward): Likewise.
55150         (main): Call the new functions.
55151         * sysdeps/i386/fpu/libm-test-ulps: Update.
55152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55154         [BZ #3976]
55155         * math/libm-test.inc (cosh_test_tonearest): New function.
55156         (cosh_test_towardzero): Likewise.
55157         (cosh_test_downward): Likewise.
55158         (cosh_test_upward): Likewise.
55159         (sinh_test_tonearest): Likewise.
55160         (sinh_test_towardzero): Likewise.
55161         (sinh_test_downward): Likewise.
55162         (sinh_test_upward): Likewise.
55163         (main): Call the new functions.
55164         * sysdeps/i386/fpu/libm-test-ulps: Update.
55165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55167 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55169         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55170         default stack guard is set in last bytes.
55171         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55173 2012-03-05  Kees Cook  <keescook@chromium.org>
55175         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55177         [BZ #13656]
55178         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55179         possibly allocate from heap instead of stack.
55180         * stdio-common/bug-vfprintf-nargs.c: New file.
55181         * stdio-common/Makefile (tests): Add nargs overflow test.
55183 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55187 2012-03-03  Marek Polacek  <polacek@redhat.com>
55189         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55190         * math/math_private.h: Likewise.
55191         * stdlib/tst-strtod.c: Likewise.
55192         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55193         * sysdeps/x86_64/bits/atomic.h: Likewise.
55195 2012-03-02  David S. Miller  <davem@davemloft.net>
55197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55201         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55202         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55203         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55204         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55206 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55208         [BZ #13792]
55209         * manual/examples/README: New file, says the example source files
55210         can be used under GPL>=2.
55211         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55212         line containing just "*/".
55213         * manual/examples/add.c: Add copyright header (GPL>=2).
55214         * manual/examples/argp-ex1.c: Likewise.
55215         * manual/examples/argp-ex2.c: Likewise.
55216         * manual/examples/argp-ex3.c: Likewise.
55217         * manual/examples/argp-ex4.c: Likewise.
55218         * manual/examples/atexit.c: Likewise.
55219         * manual/examples/db.c: Likewise.
55220         * manual/examples/dir.c: Likewise.
55221         * manual/examples/dir2.c: Likewise.
55222         * manual/examples/execinfo.c: Likewise.
55223         * manual/examples/filecli.c: Likewise.
55224         * manual/examples/filesrv.c: Likewise.
55225         * manual/examples/fmtmsgexpl.c: Likewise.
55226         * manual/examples/genpass.c: Likewise.
55227         * manual/examples/inetcli.c: Likewise.
55228         * manual/examples/inetsrv.c: Likewise.
55229         * manual/examples/isockad.c: Likewise.
55230         * manual/examples/longopt.c: Likewise.
55231         * manual/examples/memopen.c: Likewise.
55232         * manual/examples/memstrm.c: Likewise.
55233         * manual/examples/mkfsock.c: Likewise.
55234         * manual/examples/mkisock.c: Likewise.
55235         * manual/examples/mygetpass.c: Likewise.
55236         * manual/examples/pipe.c: Likewise.
55237         * manual/examples/popen.c: Likewise.
55238         * manual/examples/rprintf.c: Likewise.
55239         * manual/examples/search.c: Likewise.
55240         * manual/examples/select.c: Likewise.
55241         * manual/examples/setjmp.c: Likewise.
55242         * manual/examples/sigh1.c: Likewise.
55243         * manual/examples/sigusr.c: Likewise.
55244         * manual/examples/stpcpy.c: Likewise.
55245         * manual/examples/strdupa.c: Likewise.
55246         * manual/examples/strftim.c: Likewise.
55247         * manual/examples/strncat.c: Likewise.
55248         * manual/examples/subopt.c: Likewise.
55249         * manual/examples/swapcontext.c: Likewise.
55250         * manual/examples/termios.c: Likewise.
55251         * manual/examples/testopt.c: Likewise.
55252         * manual/examples/testpass.c: Likewise.
55253         * manual/examples/timeval_subtract.c: Likewise.
55255         [BZ #13792]
55256         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55257         function to ...
55258         * manual/timeval_subtract.c.texi: ... here, new file.
55260 2012-03-02  David S. Miller  <davem@davemloft.net>
55262         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55264 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55266         [BZ #3976]
55267         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55268         (__sin): Save and restore rounding mode and use round-to-nearest
55269         for all computations.
55270         (__cos): Save and restore rounding mode and use round-to-nearest
55271         for all computations.
55272         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55273         <fenv.h>.
55274         (tan): Save and restore rounding mode and use round-to-nearest for
55275         all computations.
55276         * math/libm-test.inc (cos_test_tonearest): New function.
55277         (cos_test_towardzero): Likewise.
55278         (cos_test_downward): Likewise.
55279         (cos_test_upward): Likewise.
55280         (sin_test_tonearest): Likewise.
55281         (sin_test_towardzero): Likewise.
55282         (sin_test_downward): Likewise.
55283         (sin_test_upward): Likewise.
55284         (tan_test_tonearest): Likewise.
55285         (tan_test_towardzero): Likewise.
55286         (tan_test_downward): Likewise.
55287         (tan_test_upward): Likewise.
55288         (main): Call the new functions.
55289         * sysdeps/i386/fpu/libm-test-ulps: Update.
55290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55292         [BZ #10135]
55293         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55294         small n, then large n, before computing and testing k+n.
55295         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55296         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55297         Likewise.
55298         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55299         Likewise.
55300         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55301         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55302         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55303         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55304         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55305         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55306         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55307         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55308         * math/libm-test.inc (scalbn_test): Add more tests.
55309         (scalbln_test): Likewise.
55311         * manual/filesys.texi (mode_t): Describe constraints on size and
55312         signedness, not exact equivalence to a particular type.
55313         (ino_t): Likewise.
55314         (ino64_t): Likewise.
55315         (dev_t): Likewise.
55316         (nlink_t): Likewise.
55317         (blkcnt_t): Likewise.
55318         (blkcnt64_t): Likewise.
55319         * manual/llio.texi (off_t): Likewise.
55321         [BZ #3976]
55322         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55323         (__ieee754_exp): Save and restore rounding mode and use
55324         round-to-nearest for all computations.
55325         * math/libm-test.inc (exp_test_tonearest): New function.
55326         (exp_test_towardzero): Likewise.
55327         (exp_test_downward): Likewise.
55328         (exp_test_upward): Likewise.
55329         (main): Call the new functions.
55330         * sysdeps/i386/fpu/libm-test-ulps: Update.
55331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55333 2012-03-01  Chris Demetriou  <cgd@google.com>
55335         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55336         have predictable order.
55338 2012-03-01  David S. Miller  <davem@davemloft.net>
55340         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55342         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55343         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55344         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55345         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55347         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55348         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55349         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55351         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55352         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55353         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55354         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55355         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55359         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55360         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55361         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55363         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55364         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55365         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55366         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55367         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55368         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55369         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55370         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55371         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55372         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55373         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55374         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55375         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55376         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55377         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55378         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55379         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55380         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55381         * sysdeps/sparc/elf/configure: Regenerated.
55383 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55385         * configure.in (AS, LD): Require binutils 2.20 or later.
55386         * configure: Regenerated.
55387         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55388         as required minimum version.
55389         * INSTALL: Regenerated.
55391         [BZ #2541]
55392         [BZ #4108]
55393         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55394         before squaring exponent.
55395         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55396         bottom long double and 27 bits of top long double before squaring
55397         exponent.
55398         * math/libm-test.inc (erfc_test): Add more tests.
55399         * sysdeps/i386/fpu/libm-test-ulps: Update.
55400         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55403 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55405         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55406         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55407         containing bit-fields.
55408         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55409         * soft-fp/single.h (_FP_UNION_S): Likewise.
55410         * soft-fp/double.h (_FP_UNION_D): Likewise.
55412 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55414         [BZ #13786]
55415         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55416         not include ../strcmp.S.
55417         [USE_AS_STRNCASECMP_L]: Likewise.
55418         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55419         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55420         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55421         (__strncasecmp_l_ia32): Define as alias to
55422         __strncasecmp_l_nonascii.
55424         [BZ #5794]
55425         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55426         * sysdeps/i386/fpu/libm-test-ulps: Update.
55427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55429         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55432 2012-02-29  Jeff Law  <law@redhat.com>
55434         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55435         out of bounds read.
55437 2012-02-29  Marek Polacek  <polacek@redhat.com>
55439         [BZ #13706]
55440         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55441         * elf/Makefile: Add rules to run tst-unused-dep.out.
55443 2012-02-28  David S. Miller  <davem@davemloft.net>
55445         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55446         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55447         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55448         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55449         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55450         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55452 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55454         * math/libm-test.inc (llround_test): Move one test from
55455         lround_test.  Use TEST_f_L in moved test.
55456         (lround_test): Move misplaced test to llround_test.  Add testcase
55457         from bug 2561.
55459 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55461         * sysdeps/x86_64/fpu/e_expf.S: New file.
55462         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55464 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55466         [BZ #13637]
55467         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55468         of remain_len that may cause incomplete multi-byte character and
55469         false match.
55470         * posix/bug-regex33.c: New file.
55471         * posix/Makefile (tests): Add bug-regex33.
55473 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55475         * manual/macros.texi: New file.
55476         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55477         * manual/libc.texinfo: Include macros.texi.
55478         * manual/creatute.texi: Likewise.
55479         * manual/install.texi: Likewise.
55480         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55481         @glibcadj{} in references to the GNU C Library.
55482         * manual/charset.texi: Likewise.
55483         * manual/conf.texi: Likewise.
55484         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55485         when not using those macros.
55486         * manual/creature.texi: Likewise.
55487         * manual/crypt.texi: Likewise.
55488         * manual/errno.texi: Likewise.
55489         * manual/filesys.texi: Likewise.
55490         * manual/header.texi: Likewise.
55491         * manual/install.texi: Likewise.
55492         * manual/intro.texi: Likewise.
55493         * manual/io.texi: Likewise.
55494         * manual/job.texi: Likewise.
55495         * manual/lang.texi: Likewise.
55496         * manual/libc.texiinfo: Likewise.
55497         * manual/llio.texi: Likewise.
55498         * manual/locale.texi: Likewise.
55499         * manual/maint.texi: Likewise.
55500         * manual/math.texi: Likewise.
55501         * manual/memory.texi: Likewise.
55502         * manual/message.texi: Likewise.
55503         * manual/nss.texi: Likewise.
55504         * manual/pattern.texi: Likewise.
55505         * manual/process.texi: Likewise.
55506         * manual/resource.texi: Likewise.
55507         * manual/search.texi: Likewise.
55508         * manual/setjmp.texi: Likewise.
55509         * manual/signal.texi: Likewise.
55510         * manual/socket.texi: Likewise.
55511         * manual/startup.texi: Likewise.
55512         * manual/stdio.texi: Likewise.
55513         * manual/string.texi: Likewise.
55514         * manual/sysinfo.texi: Likewise.
55515         * manual/syslog.texi: Likewise.
55516         * manual/terminal.texi: Likewise.
55517         * manual/time.texi: Likewise.
55518         * manual/users.texi: Likewise.
55519         * INSTALL: Regenerated.
55520         * NOTES: Regenerated.
55521         * sysdeps/gnu/errlist.c: Regenerated.
55523 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55525         * include/dirent.h: Include <dirstream.h> before
55526         <dirent/dirent.h>.
55528 2012-02-28  David S. Miller  <davem@davemloft.net>
55530         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55531         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55532         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55533         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55535 2012-02-27  David S. Miller  <davem@davemloft.net>
55537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55539         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55540         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55543         frame pointer instead of stack pointer relative arg slot.
55544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55545         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55546         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55548 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55550         [BZ #3992]
55551         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55553 2012-02-27  David S. Miller  <davem@davemloft.net>
55555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55559         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55560         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55561         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55562         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55564 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55566         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55567         later.  Allow versions 5-9.
55568         * configure: Regenerated.
55569         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55570         required minimum version and 4.6 as recommended version.  Do not
55571         mention bugs in GCC 2.7 and 2.8.
55572         * INSTALL: Regenerated.
55574 2012-02-27  David S. Miller  <davem@davemloft.net>
55576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55580         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55581         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55582         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55583         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55585         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55586         manipulate bits before adding and subtracting TWO112[sx].
55587         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55589 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55591         [BZ #13775]
55592         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55593         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55594         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55595         being in POSIX, because they are in 1003.1-2008.
55597         * rt/tst-aio.c: Include <fcntl.h>.
55598         * rt/tst-aio7.c: Likewise.
55599         * rt/tst-aio64.c: Likewise.
55601         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55603 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55605         * manual/install.texi (--with-headers): Describe headers as
55606         interface headers, not private headers.
55607         (Specific advice for GNU/Linux systems): Describe use of headers
55608         from "make headers_install", not private headers from older
55609         kernels.
55610         * INSTALL: Regenerated.
55611         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55612         Change to 2.6.19.
55613         * sysdeps/unix/sysv/linux/configure: Regenerated.
55615         * manual/llio.texi (fclean): Remove documentation.
55617         * manual/Makefile (libc-texi-generated): New variable.  Include
55618         version.texi.
55619         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55620         $(libc-texi-generated), not duplicated list of files.
55621         (version.texi, stamp-version): New rules.
55622         (realclean): Remove $(libc-texi-generated), not individual files
55623         from that list.  Do not remove dir-add.texinfo.
55624         * manual/libc.texinfo: Comment out uses of edition numbers and
55625         references to printed manual.  Remove last-updated dates.
55626         (EDITION): Comment out.
55627         (ISBN): Likewise.
55628         (VERSION, UPDATED): Remove.
55629         (version.texi): Include.
55631 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55633         * sysdeps/posix/spawni.c: Include <signal.h>.
55634         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55635         * sysdeps/pthread/aio_fsync.c: Likewise.
55637 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55639         * conform/Makefile (tests): Run only when not cross-compiling and
55640         when fast-check is not defined.
55642         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55643         * conform/data/limits.h-data: Fixes for POSIX2008.
55644         * conform/run-conformtest.sh: Run all tests.
55645         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55646         headers.
55647         * include/bits/dlfcn.h: Likewise.
55648         * include/langinfo.h: Likewise.
55649         * include/monetary.h: Likewise.
55650         * include/sys/poll.h: Likewise.
55652         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55653         for __USE_GNU.
55654         * posix/spawn.h: Define __need_sigset_t.
55655         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55656         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55657         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55658         to get sigevent_t only.
55659         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55660         only for __USE_GNU.
55661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55662         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55663         process_vm_writev only for __USE_GNU.
55664         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55666         * conform/Makefile: For now ignore errors from run-conformtest.
55667         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55668         POSIX to avoid namespace pollution.  Don't prepend headers.
55669         * conform/data/aio.h-data: Fixes for POSIX testing.
55670         * conform/data/fcntl.h-data: Likewise.
55671         * conform/data/glob.h-data: Likewise.
55672         * conform/data/grp.h-data: Likewise.
55673         * conform/data/pthread.h-data: Likewise.
55674         * conform/data/pwd.h-data: Likewise.
55675         * conform/data/signal.h-data: Likewise.
55676         * conform/data/spawn.h-data: Likewise.
55677         * conform/data/stdio.h-data: Likewise.
55678         * conform/data/stdlib.h-data: Likewise.
55679         * conform/data/stropts.h-data: Likewise.
55680         * conform/data/sys/mman.h-data: Likewise.
55681         * conform/data/sys/stat.h-data: Likewise.
55682         * conform/data/sys/types.h-data: Likewise.
55683         * conform/data/sys/wait.h-data: Likewise.
55684         * conform/data/time.h-data: Likewise.
55685         * conform/data/unistd.h-data: Likewise.
55686         * conform/data/utime.h-data: Likewise.
55688         * io/sys/stat.h: fchmod was always in POSIX.
55689         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55690         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55691         * rt/aio.h: Define __need_timespec before including <time.h>.
55692         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55693         struct.  Add forward declaration of pthread_attr_t and use it in
55694         sigevent.
55695         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55696         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55697         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55698         always remove CLK_TCK definition.
55700 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55702         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55704 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55706         * conform/run-conformtest.sh: New file.
55707         * conform/Makefile: Run run-conformtest for tests.
55708         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55709         support.
55711         * conform/data/uchar.h-data: New file.
55712         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55713         * conform/data/arpa/inet.h-data: Likewise.
55714         * conform/data/assert.h-data: Likewise.
55715         * conform/data/complex.h-data: Likewise.
55716         * conform/data/cpio.h-data: Likewise.
55717         * conform/data/ctype.h-data: Likewise.
55718         * conform/data/dirent.h-data: Likewise.
55719         * conform/data/dlfcn.h-data: Likewise.
55720         * conform/data/errno.h-data: Likewise.
55721         * conform/data/fcntl.h-data: Likewise.
55722         * conform/data/float.h-data: Likewise.
55723         * conform/data/fmtmsg.h-data: Likewise.
55724         * conform/data/fnmatch.h-data: Likewise.
55725         * conform/data/ftw.h-data: Likewise.
55726         * conform/data/glob.h-data: Likewise.
55727         * conform/data/grp.h-data: Likewise.
55728         * conform/data/iconv.h-data: Likewise.
55729         * conform/data/inttypes.h-data: Likewise.
55730         * conform/data/langinfo.h-data: Likewise.
55731         * conform/data/libgen.h-data: Likewise.
55732         * conform/data/limits.h-data: Likewise.
55733         * conform/data/locale.h-data: Likewise.
55734         * conform/data/math.h-data: Likewise.
55735         * conform/data/monetary.h-data: Likewise.
55736         * conform/data/mqueue.h-data: Likewise.
55737         * conform/data/ndbm.h-data: Likewise.
55738         * conform/data/net/if.h-data: Likewise.
55739         * conform/data/netdb.h-data: Likewise.
55740         * conform/data/netinet/in.h-data: Likewise.
55741         * conform/data/nl_types.h-data: Likewise.
55742         * conform/data/poll.h-data: Likewise.
55743         * conform/data/pthread.h-data: Likewise.
55744         * conform/data/pwd.h-data: Likewise.
55745         * conform/data/regex.h-data: Likewise.
55746         * conform/data/sched.h-data: Likewise.
55747         * conform/data/search.h-data: Likewise.
55748         * conform/data/semaphore.h-data: Likewise.
55749         * conform/data/setjmp.h-data: Likewise.
55750         * conform/data/signal.h-data: Likewise.
55751         * conform/data/spawn.h-data: Likewise.
55752         * conform/data/stdarg.h-data: Likewise.
55753         * conform/data/stdio.h-data: Likewise.
55754         * conform/data/stdlib.h-data: Likewise.
55755         * conform/data/string.h-data: Likewise.
55756         * conform/data/strings.h-data: Likewise.
55757         * conform/data/stropts.h-data: Likewise.
55758         * conform/data/sys/ipc.h-data: Likewise.
55759         * conform/data/sys/mman.h-data: Likewise.
55760         * conform/data/sys/msg.h-data: Likewise.
55761         * conform/data/sys/resource.h-data: Likewise.
55762         * conform/data/sys/select.h-data: Likewise.
55763         * conform/data/sys/sem.h-data: Likewise.
55764         * conform/data/sys/shm.h-data: Likewise.
55765         * conform/data/sys/socket.h-data: Likewise.
55766         * conform/data/sys/stat.h-data: Likewise.
55767         * conform/data/sys/statvfs.h-data: Likewise.
55768         * conform/data/sys/time.h-data: Likewise.
55769         * conform/data/sys/timeb.h-data: Likewise.
55770         * conform/data/sys/times.h-data: Likewise.
55771         * conform/data/sys/types.h-data: Likewise.
55772         * conform/data/sys/uio.h-data: Likewise.
55773         * conform/data/sys/un.h-data: Likewise.
55774         * conform/data/sys/utsname.h-data: Likewise.
55775         * conform/data/sys/wait.h-data: Likewise.
55776         * conform/data/syslog.h-data: Likewise.
55777         * conform/data/tar.h-data: Likewise.
55778         * conform/data/termios.h-data: Likewise.
55779         * conform/data/utime.h-data: Likewise.
55780         * conform/data/utmpx.h-data: Likewise.
55781         * conform/data/varargs.h-data: Likewise.
55782         * conform/data/wchar.h-data: Likewise.
55783         * conform/data/wctype.h-data: Likewise.
55784         * conform/data/wordexp.h-data: Likewise.
55786         * include/stropts.h: New file.
55787         * include/uchar.h: New file.
55788         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55789         * include/assert.h: Likewise.
55790         * include/ctype.h: Likewise.
55791         * include/dirent.h: Likewise.
55792         * include/dlfcn.h: Likewise.
55793         * include/fcntl.h: Likewise.
55794         * include/fnmatch.h: Likewise.
55795         * include/glob.h: Likewise.
55796         * include/grp.h: Likewise.
55797         * include/libio.h: Likewise.
55798         * include/locale.h: Likewise.
55799         * include/math.h: Likewise.
55800         * include/net/if.h: Likewise.
55801         * include/netdb.h: Likewise.
55802         * include/netinet/in.h: Likewise.
55803         * include/pthread.h: Likewise.
55804         * include/pwd.h: Likewise.
55805         * include/regex.h: Likewise.
55806         * include/sched.h: Likewise.
55807         * include/search.h: Likewise.
55808         * include/setjmp.h: Likewise.
55809         * include/signal.h: Likewise.
55810         * include/stdio.h: Likewise.
55811         * include/stdlib.h: Likewise.
55812         * include/string.h: Likewise.
55813         * include/sys/cdefs.h: Likewise.
55814         * include/sys/mman.h: Likewise.
55815         * include/sys/msg.h: Likewise.
55816         * include/sys/resource.h: Likewise.
55817         * include/sys/select.h: Likewise.
55818         * include/sys/socket.h: Likewise.
55819         * include/sys/stat.h: Likewise.
55820         * include/sys/statvfs.h: Likewise.
55821         * include/sys/time.h: Likewise.
55822         * include/sys/times.h: Likewise.
55823         * include/sys/uio.h: Likewise.
55824         * include/sys/utsname.h: Likewise.
55825         * include/sys/wait.h: Likewise.
55826         * include/termios.h: Likewise.
55827         * include/time.h: Likewise.
55828         * include/ulimit.h: Likewise.
55829         * include/unistd.h: Likewise.
55830         * include/utime.h: Likewise.
55831         * include/wchar.h: Likewise.
55832         * include/wctype.h: Likewise.
55833         * include/wordexp.h: Likewise.
55835         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55837         * time/time.h: TIME_UTC must be a macro.
55838         Make timespec_get available for ISO C11 only as well.
55840 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55842         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55843         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55845 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55847         * configure.in: Use -o not -a in test for unsupported multi-arch.
55849 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55851         * manual/texinfo.tex: Update to version 2012-01-19.16.
55853 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55855         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55857 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55859         [BZ #13738]
55860         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55861         * manual/fdl-1.3.texi: New file.
55862         * manual/fdl-1.1.texi: File removed.
55864         [BZ #13738]
55865         * manual/libc.texinfo (FDL_VERSION): New @set.
55866         Use it for mention of FDL in cover text.
55867         (Documentation License): Use it in @include file name.
55869 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55870             Roland McGrath  <roland@hack.frob.com>
55872         [BZ #5461]
55873         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55874         (not LONG_LONG_MAX and LONG_LONG_MIN.
55875         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55876         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55877         name.
55878         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55880 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55882         [BZ #2547]
55883         [BZ #11365]
55884         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55885         manipulate bits before adding and subtracting TWO23[sx].
55886         * math/libm-test.inc (nearbyint_test): Add more tests.
55888 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55890         [BZ #2548]
55891         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55892         bits before adding and subtracting TWO23[sx].
55893         * math/libm-test.inc (rint_test): Add more tests.
55894         (rint_test_tonearest): Likewise.
55895         (rint_test_towardzero): Likewise.
55896         (rint_test_downward): Likewise.
55897         (rint_test_upward: Likewise.
55899 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55901         [BZ #10110]
55902         * include/stdc-predef.h: New file.  Extracted from features.h.
55903         * include/features.h: Include stdc-predef.h.
55904         * Makefile (headers): Add stdc-predef.h.
55905         * CONFORMANCE (Compiler limitations): Update.
55907 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55909         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55911 2012-02-21  David S. Miller  <davem@davemloft.net>
55913         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55914         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55916 2012-02-20  David S. Miller  <davem@davemloft.net>
55918         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55919         using a normal save/restore sequence, rather than allocating a
55920         dummy stack frame just to store a frame pointer and restore.
55921         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55923 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55925         * manual/install.texi: Fix stray word in line-wrapped comment.
55927 2012-02-20  David S. Miller  <davem@davemloft.net>
55929         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55930         both binutils and gcc support GOTDATA.
55932         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55933         "rd %pc" in the PIC register setup sequences.
55935         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55936         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55937         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55938         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55939         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55941         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55942         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55943         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55944         (SYSCALL_ERROR_HANDLER): Likewise.
55945         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55946         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55947         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55948         (SYSCALL_ERROR_HANDLER): Likewise.
55950         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55951         (HAVE_GCC_GOTDATA): New.
55952         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55953         relocation support in both binutils and gcc.
55954         * sysdeps/sparc/elf/configure: Regenerate.
55956         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55957         * sysdeps/sparc/sparc32/elf/configure: Delete.
55958         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55959         * sysdeps/sparc/sparc64/elf/configure: Delete.
55960         * sysdeps/sparc/elf/configure.in: New file.
55961         * sysdeps/sparc/elf/configure: Generate.
55963         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55964         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55965         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55966         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55967         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55969 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55971         * manual/install.texi: Do not mention specific glibc version
55972         numbers.
55973         * manual/libc.texinfo (VERSION, UPDATED): Update.
55974         (@copying): Use @copyright{} and range of years.
55976 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55978         [BZ #13695]
55979         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55980         [crti.S not in sysdirs] (generated): Do not append.
55981         [crti.S not in sysdirs] (omit-deps): Likewise.
55982         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55983         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55984         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55985         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55986         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55987         Likewise.
55988         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55989         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55990         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55991         * csu/defs.awk: Remove file.
55992         * sysdeps/generic/initfini.c: Likewise.
55993         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55994         variable.
55995         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55996         Likewise.
55998 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56000         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56001         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56002         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56003         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56004         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56005         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56006         <bits/epoll.h>.
56007         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56008         (__EPOLL_PACKED): Define to empty if not defined by
56009         <bits/epoll.h>.
56010         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56012         bits/epoll.h.
56014 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56016         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56017         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56018         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56019         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56020         <bits/timerfd.h>.
56021         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56023         bits/timerfd.h.
56025 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56027         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56028         in C locale.
56029         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56030         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56031         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56034 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56036         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56037         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56039 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56041         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56042         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56043         defined.
56044         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56045         Likewise.
56046         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56047         entry for 2.16.
56049 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56051         * math/w_acos.c: Use non-signaling floating-point comparisons.
56052         * math/w_acosf.c: Likewise.
56053         * math/w_acosh.c: Likewise.
56054         * math/w_acoshf.c: Likewise.
56055         * math/w_acoshl.c: Likewise.
56056         * math/w_acosl.c: Likewise.
56057         * math/w_asin.c: Likewise.
56058         * math/w_asinf.c: Likewise.
56059         * math/w_asinl.c: Likewise.
56060         * math/w_atanh.c: Likewise.
56061         * math/w_atanhf.c: Likewise.
56062         * math/w_atanhl.c: Likewise.
56063         * math/w_exp2.c: Likewise.
56064         * math/w_exp2f.c: Likewise.
56065         * math/w_exp2l.c: Likewise.
56066         * math/w_j0.c: Likewise.
56067         * math/w_j0f.c: Likewise.
56068         * math/w_j0l.c: Likewise.
56069         * math/w_j1.c: Likewise.
56070         * math/w_j1f.c: Likewise.
56071         * math/w_j1l.c: Likewise.
56072         * math/w_jn.c: Likewise.
56073         * math/w_jnf.c: Likewise.
56074         * math/w_log.c: Likewise.
56075         * math/w_log10.c: Likewise.
56076         * math/w_log10f.c: Likewise.
56077         * math/w_log10l.c: Likewise.
56078         * math/w_log2.c: Likewise.
56079         * math/w_log2f.c: Likewise.
56080         * math/w_log2l.c: Likewise.
56081         * math/w_logf.c: Likewise.
56082         * math/w_logl.c: Likewise.
56083         * math/w_sqrt.c: Likewise.
56084         * math/w_sqrtf.c: Likewise.
56085         * math/w_sqrtl.c: Likewise.
56086         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56087         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56088         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56089         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56090         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56092 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56094         [BZ #9739]
56095         * manual/string.texi (strnlen): Use correct parameter name in
56096         equivalent expression.
56098 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56100         [BZ #11174]
56101         * manual/users.texi (seteuid): Consistently use neweuid for
56102         argument name.
56104 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56106         [BZ #13704]
56107         * manual/nss.texi (Services in the NSS configuration): Correct
56108         list of services in example configuration file.
56110 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56112         [BZ #11322]
56113         * manual/arith.texi: Remove statements about negative zero
56114         behaving identically to zero.
56116 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56118         [BZ #5993]
56119         * manual/install.texi: Do not document upgrading from libc5.
56121 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56123         [BZ #4596]
56124         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56126 2012-02-18  David S. Miller  <davem@davemloft.net>
56128         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56129         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56130         %o7 across the call.
56131         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56132         instead.
56133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56134         SETUP_PIC_REG_LEAF.
56135         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56136         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56137         * sysdeps/sparc/crtn.S: Likewise.
56139 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56141         * aout/Makefile: Remove.
56143 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56145         [BZ #13058]
56146         * manual/examples/argp-ex1.c (main): Format definition in GNU
56147         style.
56148         * manual/examples/argp-ex2.c (main): Likewise.
56149         * manual/examples/argp-ex3.c (main): Likewise.
56150         * manual/examples/argp-ex4.c (main): Likewise.
56151         * manual/examples/longopt.c (main): Use new-style prototype
56152         definition.
56153         * manual/examples/strncat.c (main): Specify return type and use
56154         (void) for arguments.
56155         * manual/examples/subopt.c (main): Use char **argv argument.
56157 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56159         [BZ #5077]
56160         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56161         rounding modes.
56163 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56165         [BZ #6907]
56166         * manual/string.texi (strchr): Change when strchrnul is
56167         recommended.
56169 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56171         [BZ #174]
56172         * manual/locale.texi (setlocale): Document LOCPATH.
56174 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56176         [BZ #10210]
56177         * manual/process.texi (execle): Move @dots{} before last argument.
56179 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56181         [BZ #12047]
56182         * manual/charset.texi (Generic Charset Conversion): Fix typo
56183         (LC_TYPE -> LC_CTYPE).
56185 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56187         [BZ #5805]
56188         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56189         (scalbnf): Likewise.
56190         (scalbnl): Likewise.
56191         (scalbln): Likewise.
56192         (scalblnf): Likewise.
56193         (scalblnl): Likewise.
56194         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56195         (vwarnx): Likewise.
56196         (verr): Likewise.
56197         (verrx): Likewise.
56198         * manual/filesys.texi (telldir): Use braces around return type.
56199         * manual/llio.texi (mmap): Add space after comma.
56200         (mmap64): Likewise.
56201         * manual/math.texi (jn): Use @var{} on parameter names.
56202         (jnf): Likewise.
56203         (jnl): Likewise.
56204         (yn): Likewise.
56205         (ynf): Likewise.
56206         (ynl): Likewise.
56207         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56208         line.
56209         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56210         "...".
56211         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56212         (sched_get_priority_max): Likewise.
56213         * manual/signal.texi (sigvec): Add space after comma.
56214         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56215         names.
56216         (if_indextoname): Likewise.
56217         (if_freenameindex): Likewise.
56218         (sendto): Use ',' instead of '.' in prototype.
56219         * manual/startup.texi (syscall): Use @dots{} instead of literal
56220         "...".
56221         * manual/stdio.texi (__fpending): Separate initial words of
56222         paragraph from @deftypefun line.
56223         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56224         "...".
56225         (vsyslog): Use @var{} on parameter names.
56226         * manual/terminal.texi (stty): Use @var{} on parameter names.
56227         * manual/users.texi (getutmp): Use @var{} on parameter names.
56228         (getutmpx): Likewise.
56230 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56232         [BZ #6884]
56233         * manual/stdio.texi (fopen): Fix typos in description of
56234         ",ccs=STRING".
56236 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56238         [BZ #4026]
56239         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56240         get clock_id definition.
56242 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56244         [BZ #4822]
56245         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56246         (madvise): Cast every argument to void on its own.
56248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56250         [BZ #9902]
56251         * manual/startup.texi (Exit Status): Fix typo.
56253 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56255         [BZ #10140]
56256         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56257         * manual/examples/argp-ex2.c: Likewise.
56258         * manual/examples/argp-ex3.c: Likewise.
56260 2012-02-16  Richard Henderson  <rth@redhat.com>
56262         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56263         * sysdeps/s390/s390-32/initfini.c: Remove.
56264         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56265         * sysdeps/s390/s390-64/initfini.c: Remove.
56267 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56269         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56270         compiler output for sysdeps/generic/initfini.c.
56271         * sysdeps/sh/elf/initfini.c: Remove file.
56273 2012-02-16  David S. Miller  <davem@davemloft.net>
56275         [BZ #11494]
56276         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56278         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56279         * sysdeps/sparc/crti.S: New file.
56280         * sysdeps/sparc/crtn.S: New file.
56281         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56282         * sysdeps/sparc/sparc64/Makefile: Likewise.
56284 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56286         [BZ #3335]
56287         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56289 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56291         [BZ #4822]
56292         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56294         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56295         (write, read, close): Likewise.
56296         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56298 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56300         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56301         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56302         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56303         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56304         <bits/signalfd.h>.
56305         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56306         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56307         bits/signalfd.h.
56309 2012-02-14  Marek Polacek  <polacek@redhat.com>
56311         * sysdeps/x86_64/crti.S: New file.
56312         * sysdeps/x86_64/crtn.S: New file.
56313         * sysdeps/x86_64/elf/initfini.c: Remove file.
56315 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56317         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56318         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56319         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56320         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56321         <bits/inotify.h>.
56322         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56324         bits/inotify.h.
56326 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56328         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56329         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56330         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56331         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56332         <bits/eventfd.h>.
56333         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56335         bits/eventfd.h.
56337 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56339         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56340         __feraiseexcept instead of feraiseexcept.
56342         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56343         nanosleep invocations.
56344         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56345         strings, and add error checking for a nanosleep invocations.
56347 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56349         Replace FSF snail mail address with URLs, as per GNU coding standards.
56350         Most of the snail mail addresses were wrong anyway, and omitting
56351         them makes the source code easier to maintain.  Almost all of the
56352         changes are to license notices and to locale LC_IDENTIFICATION
56353         addresses, except for this one:
56354         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56355         not its snail mail address.
56357 2012-02-09  Richard Henderson  <rth@twiddle.net>
56359         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56360         of kernel-features.h.
56362         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56364 2012-02-08  Marek Polacek  <polacek@redhat.com>
56366         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56367         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56368         * sysdeps/gnu/_G_config.h: Likewise.
56369         * sysdeps/generic/_G_config.h: Likewise.
56371 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56373         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56374         tests.
56375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56377         * sysdeps/powerpc/powerpc32/crti.S: New file.
56378         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56379         * sysdeps/powerpc/powerpc64/crti.S: New file.
56380         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56382         * Makeconfig (have-initfini): Don't set.
56383         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56384         * configure.in (nopic_initfini): Don't substitute.
56385         * config.h.in (HAVE_INITFINI): Don't #undef.
56386         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56387         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56389 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56391         Support crti.S and crtn.S provided directly by architectures.
56392         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56393         [crti.S in sysdirs] (omit-deps): Likewise.
56394         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56395         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56396         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56397         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56398         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56399         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56400         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56401         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56402         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56403         compiler output for sysdeps/generic/initfini.c.
56404         * sysdeps/i386/elf/Makefile: Remove file.
56405         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56407 2012-02-07  Marek Polacek  <polacek@redhat.com>
56409         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56410         * sysdeps/gnu/_G_config.h: Likewise.
56411         * sysdeps/mach/hurd/_G_config.h: Likewise.
56413 2012-02-07  Marek Polacek  <polacek@redhat.com>
56415         * math/Makefile (tests): Add tst-CMPLX2.
56416         * math/tst-CMPLX2.c: New file.
56418 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56420         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56422         * math/libm-test.inc (jn_test): Add missing L suffix.
56424 2012-02-06  Marek Polacek  <polacek@redhat.com>
56426         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56427         * sysdeps/i386/fpu/e_powf.S: Likewise.
56428         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56429         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56430         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56431         * sysdeps/i386/fpu/e_pow.S: Likewise.
56432         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56433         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56434         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56435         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56436         * sysdeps/i386/fpu/e_log2.S: Likewise.
56437         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56438         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56439         * sysdeps/i386/fpu/e_powl.S: Likewise.
56440         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56441         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56442         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56443         * sysdeps/i386/fpu/e_logl.S: Likewise.
56444         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56445         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56446         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56447         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56448         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56449         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56450         * sysdeps/i386/fpu/e_log.S: Likewise.
56451         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56452         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56453         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56454         * sysdeps/i386/fpu/e_logf.S: Likewise.
56455         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56456         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56457         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56458         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56459         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56460         * sysdeps/i386/fpu/e_log10.S: Likewise.
56461         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56462         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56463         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56464         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56465         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56466         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56467         * sysdeps/i386/asm-syntax.h: Likewise.
56468         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56470         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56471         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56472         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56473         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56474         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56475         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56476         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56477         * sysdeps/powerpc/sysdep.h: Likewise.
56478         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56479         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56481 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56483         [BZ #411]
56484         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56486 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56488         * sysdeps/i386/sysdep.h: Include <features.h>.
56489         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56490         version.
56492 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56494         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56495         Define.
56496         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56497         LOAD_PIC_REG_STR.
56499 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56501         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56502         (SETUP_PIC_REG): Use GET_PC_THUNK.
56503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56504         macro.
56506 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56508         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56509         for non-PIC compilation.
56510         (SETUP_PIC_REG): Add .p2align directive.
56511         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56512         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56513         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56514         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56515         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56516         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56517         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56525         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56526         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56527         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56528         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56529         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56530         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56532         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56533         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56534         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56535         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56536         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56537         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56538         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56539         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56540         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56541         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56542         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56543         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56544         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56545         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56546         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56547         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56548         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56549         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56550         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56551         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56553 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56555         * math/tst-CMPLX.c: Include <stdio.h>.
56557 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56559         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56560         float.
56561         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56562         * sysdeps/sparc/bits/mathdef.h: Likewise.
56564 2012-01-31  Marek Polacek  <polacek@redhat.com>
56566         * libio/libio.h: Don't define _PARAMS.
56567         * locale/programs/config.h: Don't define PARAMS.
56568         * stdlib/strtol_l.c: Likewise.
56569         (__strtol_l): Remove PARAMS from the prototype.
56571 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56573         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56574         names.  Just use the correct names.  Remove unnecessary wrapper
56575         functions.
56576         * malloc/arena.c: Likewise.
56577         * malloc/hooks.c: Likewise.
56579         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56580         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56581         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56583 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56585         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56586         into tail calls.
56587         (update_get_addr): New function.
56588         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56589         GET_ADDR_MODULE parameter.
56591 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56593         * crypt/cert.c: Remove __STDC__ conditionals.
56594         * crypt/crypt-entry.c: Likewise.
56595         * crypt/crypt_util.c: Likewise.
56596         * libio/filedoalloc.c: Likewise.
56597         * libio/fileops.c: Likewise.
56598         * libio/genops.c: Likewise.
56599         * libio/iofclose.c: Likewise.
56600         * libio/iofdopen.c: Likewise.
56601         * libio/iofopen.c: Likewise.
56602         * libio/iofopen64.c: Likewise.
56603         * libio/iogetdelim.c: Likewise.
56604         * libio/iopopen.c: Likewise.
56605         * libio/obprintf.c: Likewise.
56606         * libio/oldfileops.c: Likewise.
56607         * libio/oldiofclose.c: Likewise.
56608         * libio/oldiofdopen.c: Likewise.
56609         * libio/oldiofopen.c: Likewise.
56610         * libio/oldiopopen.c: Likewise.
56611         * libio/wfiledoalloc.c: Likewise.
56612         * libio/wgenops.c: Likewise.
56613         * locale/programs/xmalloc.c: Likewise.
56614         * misc/syslog.c: Likewise.
56615         * stdio-common/xbug.c: Likewise.
56616         * string/memchr.c: Likewise.
56617         * string/memcmp.c: Likewise.
56618         * string/memrchr.c: Likewise.
56619         * string/rawmemchr.c: Likewise.
56620         * sysdeps/posix/getcwd.c: Likewise.
56621         * time/strftime_l.c: Likewise.
56623 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56625         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56626         * config.make.in (config-cflags-sse2avx): Define.
56627         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56628         Fix typo.
56630 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56632         * scripts/config.guess: Update from upstream config git repository.
56633         * scripts/config.sub: Likewise.
56635 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56637         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56638         (EM_NUM): Update.
56639         (R_TILEPRO_*, R_TILEGX_*): New macros.
56641         * scripts/firstversions.awk: Fix bug in version range handling.
56643         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56645         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56647         * include/sys/epoll.h: New file.
56648         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56649         libc_hidden_def.
56651 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56653         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56654         Avoid unnecessary __WORDSIZE == 64 test.
56655         (fmaxf): Use VEX format if possible.
56656         (fmax): Likewise.
56657         (fminf): Likewise.
56658         (fmin): Likewise.
56660         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56661         * math/math_private.h: Remove libc_fegetround* and
56662         libc_fesetround*.
56663         * sysdeps/i386/configure.in: Check for -msse2avx.
56664         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56665         also if SSE2AVX is defined.
56666         Remove libc_fegetround* and libc_fesetround*.
56667         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56668         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56669         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56670         of HAS_YMM_USABLE.
56671         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56672         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56673         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56674         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56675         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56677         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56679 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56681         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56682         size is not set.
56683         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56685 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56687         [BZ #13618]
56688         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56689         relocation.
56690         * Makeconfig (libm): Define.
56691         * elf/Makefile: Add rules to build and run tst-relsort1.
56692         * elf/tst-relsort1.c: New file.
56693         * elf/tst-relsort1mod1.c: New file.
56694         * elf/tst-relsort1mod2.c: New file.
56696 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56698         * math/s_ldexp.c: Remove __STDC__ conditionals.
56699         * math/s_ldexpf.c: Likewise.
56700         * math/s_ldexpl.c: Likewise.
56701         * math/s_nextafter.c: Likewise.
56702         * math/s_nexttowardf.c: Likewise.
56703         * math/s_significand.c: Likewise.
56704         * math/s_significandf.c: Likewise.
56705         * math/s_significandl.c: Likewise.
56706         * math/w_jnl.c: Likewise.
56707         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56708         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56709         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56710         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56711         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56712         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56713         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56714         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56715         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56716         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56717         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56718         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56719         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56720         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56721         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56722         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56723         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56724         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56726         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56727         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56728         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56729         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56730         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56731         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56732         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56733         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56734         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56735         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56736         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56737         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56738         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56739         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56740         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56741         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56742         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56743         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56744         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56745         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56746         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56747         * sysdeps/ieee754/k_standard.c: Likewise.
56748         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56749         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56750         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56751         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56752         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56753         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56754         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56755         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56756         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56757         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56758         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56759         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56760         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56761         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56762         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56763         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56764         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56765         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56766         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56767         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56770         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56771         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56772         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56773         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56774         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56777         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56778         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56779         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56780         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56781         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56783         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56784         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56786         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56787         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56788         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56790         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56791         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56792         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56793         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56794         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56795         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56797         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56798         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56801         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56802         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56803         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56804         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56805         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56806         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56807         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56808         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56809         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56810         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56811         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56812         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56813         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56814         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56815         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56816         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56817         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56818         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56819         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56820         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56821         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56822         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56823         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56824         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56825         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56826         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56827         * sysdeps/ieee754/s_matherr.c: Likewise.
56828         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56829         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56830         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56833 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56835         * crypt/md5.h: Remove __STDC__ conditionals.
56836         * libio/libioP.h: Likewise.
56837         * locale/programs/config.h: Likewise.
56838         * sysdeps/generic/sysdep.h: Likewise.
56839         * sysdeps/i386/asm-syntax.h: Likewise.
56840         * sysdeps/s390/asm-syntax.h: Likewise.
56841         * sysdeps/unix/sysdep.h: Likewise.
56842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56845 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56847         * libio/libio.h: Remove __STDC__ conditionals.
56848         * malloc/obstack.h: Likewise.
56849         * math/complex.h: Likewise.
56850         * math/math.h: Likewise.
56851         * sysdeps/generic/_G_config.h: Likewise.
56852         * sysdeps/gnu/_G_config.h: Likewise.
56853         * sysdeps/mach/hurd/_G_config.h: Likewise.
56854         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56855         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56856         * sysdeps/sparc/bits/mathdef.h: Likewise.
56858 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56860         [BZ #13583]
56861         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56862         Clean up HAS_* macros.
56863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56864         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56865         possible.
56866         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56867         HAS_AVX.
56868         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56869         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56870         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56871         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56872         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56874 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56876         * elf/tst-unique3.cc (gets): Remove declaration.
56877         * elf/tst-unique3lib.cc (gets): Likewise.
56878         * elf/tst-unique3lib2.cc (gets): Likewise.
56879         * elf/tst-unique4.cc (gets): Likewise.
56881 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56883         * include/stdio.h: Add C++ protection.  Add gets declarations and
56884         definitions.
56885         * debug/tst-chk1.c: Don't declare gets here.
56886         * stdio-common/tst-gets.c: Likewise.
56888 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56890         * posix/glob: Remove directory.
56892 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56894         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56896 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56898         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56899         of the non-standard EPFNOSUPPORT.
56901 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56903         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56904         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56905         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56907 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56909         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56911 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56913         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56914         transient errors.
56915         * nscd/grpcache.c (cache_addgr): Likewise.
56916         * nscd/hstcache.c (cache_addhst): Likewise.
56917         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56918         * nscd/pwdcache.c (cache_addpw): Likewise.
56919         * nscd/servicescache.c (cache_addserv): Likewise.
56921 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56923         * malloc/malloc.c: Various cleanups.
56924         * malloc/hooks.c: Likewise.
56926         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56927         * stdlib/bug-fmtmsg1.c: New file.
56929         * stdlib/fmtmsg.c (init): Add missing unlock.
56930         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56932 2012-01-12  Marek Polacek  <polacek@redhat.com>
56934         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56935         and _GNU_SOURCE.
56937 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56939         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56940         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56941         macro to ensure uniqueness of label name.
56942         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56943         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56945 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56947         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56949         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56950         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56951         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56952         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56954 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56956         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56958         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56959         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56960         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56962         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56964         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56965         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56966         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56967         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56969         * math/bits/math-finite.h: Add ldexp support.
56971 2012-01-10  Marek Polacek  <polacek@redhat.com>
56973         * locale/programs/localedef.h (show_archive_content): Add noreturn
56974         attribute.
56976 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56978         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56980 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56982         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56984         * io/Makefile (headers): Add bits/poll2.h.
56986 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56989         typo #include statement.
56991 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56993         * include/sys/cdefs.h: Define __attribute_alloc_size.
56994         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56995         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56996         * elf/pldd.c: Likewise.
56997         * iconv/iconv_charmap.c: Likewise.
56998         * iconv/iconvconfig.c: Likewise.
56999         * iconv/strtab.c: Likewise.
57000         * locale/programs/locale.c: Likewise.
57001         * locale/programs/localedef.h: Likewise.
57002         * locale/programs/simple-hash.c: Likewise.
57003         * nscd/nscd.h: Likewise.
57004         * nss/makedb.c: Likewise.
57005         * sysdeps/generic/ldconfig.h: Likewise.
57006         * locale/programs/localedef.c: Remove xmalloc prototype.
57007         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57009 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57011         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57012         appropriate.
57014 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57016         * math/Makefile (tests): Add tst-CMPLX.
57017         * math/tst-CMPLX.c: New file.
57019         * math/complex.h (CMPLXL): Fix typo.
57021         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57022         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57023         GLIBC_2.16.
57024         * debug/tst-chk1.c: Add poll and ppoll tests.
57025         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57026         * include/sys/poll.h: Add hidden proto for ppoll.
57027         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57028         * sysdeps/mach/hurd/ppoll.c: Likewise.
57029         * io/ppoll.c: Likewise.
57030         * debug/poll_chk.c: New file.
57031         * debug/ppoll_chk.c: New file.
57032         * include/bits/poll2.h: New file.
57033         * io/bits/poll2.h: New file.
57035         [BZ #1350]
57036         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57038         * configure.in: static is always set to yes.  Remove.
57039         * config.make.in: Don't set build-static.
57040         * Makeconfig: Remove use of build-static.
57041         * dlfcn/Makefile: Likewise.
57042         * elf/Makefile: Likewise.
57043         * math/Makefile: Likewise.
57044         * misc/Makefile: Likewise.
57045         * nptl/Makefile: Likewise.
57046         * sysdeps/mach/hurd/Makefile: Likewise.
57048         * configure.in: PWD_P is not used anymore.
57049         * config.make.in: Remove PWD_P entry.
57051         * configure.in: Remove last remnants of RANLIB.
57052         No need to check for signed size_t anymore.
57053         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57054         and IA-64.
57055         Remove __builtin_expect test because we require at least gcc 3.4.
57056         * aclocal.m4: Likewise.
57058         * wcsmbs/mbrtoc16.c: Implement using towc function.
57059         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57060         * wcsmbs/wcsmbsload.c: Likewise.
57061         * iconv/gconv_simple.c: Likewise.
57062         * iconv/gconv_int.h: Likewise.
57063         * iconv/gconv_builtin.h: Likewise.
57064         * iconv/iconv_prog.c: Remove CHAR16 handling.
57066         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57068         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57070         * configure.in: Remove --with-elf and --enable-bounded options.
57071         Dont set base_machine for ia64.  More non-ELF conditions removed.
57072         Remove testing and setting of leading underscore information.
57073         * config.make.in (build-bounded): Set to no.
57074         * config.h.in: Remove NO_UNDERSCORES entry.
57075         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57076         them.
57077         * csu/start.c: Remove !NO_UNDERSCORE code.
57078         * locale/localeinfo.h: Likewise.
57079         * sysdeps/generic/machine-gmon.h: Likewise.
57080         * sysdeps/generic/sysdep.h: Likewise.
57081         * sysdeps/i386/sysdep.h: Likewise.
57082         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57083         * sysdeps/mach/sysdep.h: Likewise.
57084         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57085         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57086         * sysdeps/sh/sysdep.h: Likewise.
57087         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57088         * sysdeps/unix/i386/sysdep.S: Likewise.
57089         * sysdeps/unix/sparc/start.c: Likewise.
57090         * sysdeps/unix/sparc/sysdep.S: Likewise.
57091         * sysdeps/unix/sparc/sysdep.h: Likewise.
57092         * sysdeps/unix/start.c: Likewise.
57093         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57094         * sysdeps/x86_64/sysdep.h: Likewise.
57096 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57098         [BZ #13553]
57099         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57100         for non-gcc.
57101         * argp/argp-fmtstream.h: Use const instead __const.
57102         * argp/argp.h: Likewise.
57103         * assert/assert.h: Likewise.
57104         * bits/fenv.h: Likewise.
57105         * bits/sched.h: Likewise.
57106         * bits/sigset.h: Likewise.
57107         * bits/sigthread.h: Likewise.
57108         * catgets/nl_types.h: Likewise.
57109         * conform/data/pthread.h-data: Likewise.
57110         * crypt/crypt-private.h: Likewise.
57111         * crypt/crypt.h: Likewise.
57112         * crypt/crypt_util.c: Likewise.
57113         * ctype/ctype.h: Likewise.
57114         * debug/execinfo.h: Likewise.
57115         * debug/mbsnrtowcs_chk.c: Likewise.
57116         * debug/mbsrtowcs_chk.c: Likewise.
57117         * debug/wcsnrtombs_chk.c: Likewise.
57118         * debug/wcsrtombs_chk.c: Likewise.
57119         * debug/wcstombs_chk.c: Likewise.
57120         * dirent/dirent.h: Likewise.
57121         * dlfcn/dlfcn.h: Likewise.
57122         * elf/neededtest4.c: Likewise.
57123         * grp/grp.h: Likewise.
57124         * gshadow/gshadow.h: Likewise.
57125         * iconv/gconv.h: Likewise.
57126         * iconv/gconv_int.h: Likewise.
57127         * iconv/gconv_simple.c: Likewise.
57128         * iconv/iconv.h: Likewise.
57129         * iconv/loop.c: Likewise.
57130         * iconv/skeleton.c: Likewise.
57131         * include/aio.h: Likewise.
57132         * include/aliases.h: Likewise.
57133         * include/argz.h: Likewise.
57134         * include/arpa/inet.h: Likewise.
57135         * include/assert.h: Likewise.
57136         * include/dirent.h: Likewise.
57137         * include/dlfcn.h: Likewise.
57138         * include/execinfo.h: Likewise.
57139         * include/fcntl.h: Likewise.
57140         * include/fenv.h: Likewise.
57141         * include/glob.h: Likewise.
57142         * include/grp.h: Likewise.
57143         * include/libintl.h: Likewise.
57144         * include/mntent.h: Likewise.
57145         * include/netdb.h: Likewise.
57146         * include/pwd.h: Likewise.
57147         * include/rpc/netdb.h: Likewise.
57148         * include/sched.h: Likewise.
57149         * include/search.h: Likewise.
57150         * include/shadow.h: Likewise.
57151         * include/signal.h: Likewise.
57152         * include/stdio.h: Likewise.
57153         * include/stdlib.h: Likewise.
57154         * include/string.h: Likewise.
57155         * include/sys/socket.h: Likewise.
57156         * include/sys/stat.h: Likewise.
57157         * include/sys/statfs.h: Likewise.
57158         * include/sys/statvfs.h: Likewise.
57159         * include/sys/syslog.h: Likewise.
57160         * include/sys/time.h: Likewise.
57161         * include/sys/uio.h: Likewise.
57162         * include/time.h: Likewise.
57163         * include/unistd.h: Likewise.
57164         * include/utmp.h: Likewise.
57165         * include/wchar.h: Likewise.
57166         * include/wctype.h: Likewise.
57167         * inet/aliases.h: Likewise.
57168         * inet/arpa/inet.h: Likewise.
57169         * inet/netinet/ether.h: Likewise.
57170         * inet/netinet/in.h: Likewise.
57171         * intl/libintl.h: Likewise.
57172         * io/bits/fcntl2.h: Likewise.
57173         * io/fcntl.h: Likewise.
57174         * io/ftw.h: Likewise.
57175         * io/sys/poll.h: Likewise.
57176         * io/sys/stat.h: Likewise.
57177         * io/sys/statfs.h: Likewise.
57178         * io/sys/statvfs.h: Likewise.
57179         * io/utime.h: Likewise.
57180         * libio/bits/stdio.h: Likewise.
57181         * libio/bits/stdio2.h: Likewise.
57182         * libio/libio.h: Likewise.
57183         * libio/libioP.h: Likewise.
57184         * libio/stdio.h: Likewise.
57185         * locale/lc-ctype.c: Likewise.
57186         * locale/locale.h: Likewise.
57187         * login/utmp.h: Likewise.
57188         * malloc/arena.c: Likewise.
57189         * malloc/malloc.c: Likewise.
57190         * malloc/malloc.h: Likewise.
57191         * malloc/mcheck.c: Likewise.
57192         * malloc/mtrace.c: Likewise.
57193         * math/bits/mathcalls.h: Likewise.
57194         * math/fenv.h: Likewise.
57195         * math/math_private.h: Likewise.
57196         * misc/bits/error.h: Likewise.
57197         * misc/bits/syslog.h: Likewise.
57198         * misc/err.h: Likewise.
57199         * misc/error.h: Likewise.
57200         * misc/fstab.h: Likewise.
57201         * misc/mntent.h: Likewise.
57202         * misc/regexp.h: Likewise.
57203         * misc/search.h: Likewise.
57204         * misc/sgtty.h: Likewise.
57205         * misc/sys/mman.h: Likewise.
57206         * misc/sys/syslog.h: Likewise.
57207         * misc/sys/uio.h: Likewise.
57208         * misc/sys/xattr.h: Likewise.
57209         * misc/ttyent.h: Likewise.
57210         * nis/rpcsvc/ypclnt.h: Likewise.
57211         * nss/nss.h: Likewise.
57212         * posix/bits/unistd.h: Likewise.
57213         * posix/fnmatch.h: Likewise.
57214         * posix/glob.h: Likewise.
57215         * posix/sched.h: Likewise.
57216         * posix/spawn.h: Likewise.
57217         * posix/sys/wait.h: Likewise.
57218         * posix/unistd.h: Likewise.
57219         * posix/wordexp.h: Likewise.
57220         * pwd/pwd.h: Likewise.
57221         * resolv/netdb.h: Likewise.
57222         * resource/sys/resource.h: Likewise.
57223         * rt/aio.h: Likewise.
57224         * rt/bits/mqueue2.h: Likewise.
57225         * rt/mqueue.h: Likewise.
57226         * shadow/shadow.h: Likewise.
57227         * signal/signal.h: Likewise.
57228         * socket/send.c: Likewise.
57229         * socket/sendto.c: Likewise.
57230         * socket/sys/socket.h: Likewise.
57231         * stdio-common/printf.h: Likewise.
57232         * stdlib/bits/stdlib.h: Likewise.
57233         * stdlib/fmtmsg.h: Likewise.
57234         * stdlib/monetary.h: Likewise.
57235         * stdlib/stdlib.h: Likewise.
57236         * stdlib/ucontext.h: Likewise.
57237         * streams/stropts.h: Likewise.
57238         * string/argz.h: Likewise.
57239         * string/bits/string2.h: Likewise.
57240         * string/string.h: Likewise.
57241         * string/strings.h: Likewise.
57242         * sunrpc/rpc/auth.h: Likewise.
57243         * sunrpc/rpc/auth_des.h: Likewise.
57244         * sunrpc/rpc/clnt.h: Likewise.
57245         * sunrpc/rpc/netdb.h: Likewise.
57246         * sunrpc/rpc/pmap_clnt.h: Likewise.
57247         * sunrpc/rpc/xdr.h: Likewise.
57248         * sysdeps/generic/inttypes.h: Likewise.
57249         * sysdeps/generic/net/if.h: Likewise.
57250         * sysdeps/generic/sys/swap.h: Likewise.
57251         * sysdeps/gnu/net/if.h: Likewise.
57252         * sysdeps/gnu/utmpx.h: Likewise.
57253         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57254         * sysdeps/i386/i486/bits/string.h: Likewise.
57255         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57256         * sysdeps/s390/bits/string.h: Likewise.
57257         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57258         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57259         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57260         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57261         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57262         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57263         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57264         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57265         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57266         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57267         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57268         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57269         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57270         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57271         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57272         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57273         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57274         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57275         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57276         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57277         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57278         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57279         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57280         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57281         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57282         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57283         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57284         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57285         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57286         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57287         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57288         * sysvipc/sys/ipc.h: Likewise.
57289         * sysvipc/sys/msg.h: Likewise.
57290         * sysvipc/sys/sem.h: Likewise.
57291         * sysvipc/sys/shm.h: Likewise.
57292         * termios/termios.h: Likewise.
57293         * time/sys/time.h: Likewise.
57294         * time/time.h: Likewise.
57295         * wcsmbs/bits/wchar2.h: Likewise.
57296         * wcsmbs/uchar.h: Likewise.
57297         * wcsmbs/wchar.h: Likewise.
57298         * wctype/wctype.h: Likewise.
57300         [BZ #13551]
57301         * Makeconfig: Remove all but ELF support including AIX support.
57302         * Makerules: Likewise.
57303         * config.h.in: Likewise.
57304         * config.make.in: Likewise.
57305         * configure: Likewise.
57306         * configure.in: Likewise.
57307         * csu/Makefile: Likewise.
57308         * csu/version.c: Likewise.
57309         * debug/Makefile: Likewise.
57310         * dlfcn/Makefile: Likewise.
57311         * elf/Makefile: Likewise.
57312         * extra-lib.mk: Likewise.
57313         * iconv/Makefile: Likewise.
57314         * include/libc-symbols.h: Likewise.
57315         * include/shlib-compat.h: Likewise.
57316         * resolv/Makefile: Likewise.
57317         * resolv/res_libc.c: Likewise.
57318         * rt/Makefile: Likewise.
57319         * sysdeps/i386/asm-syntax.h: Likewise.
57320         * sysdeps/i386/sysdep.h: Likewise.
57321         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57322         * sysdeps/mach/sysdep.h: Likewise.
57323         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57324         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57325         * sysdeps/s390/asm-syntax.h: Likewise.
57326         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57327         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57328         * sysdeps/sh/sysdep.h: Likewise.
57329         * sysdeps/unix/sparc/sysdep.h: Likewise.
57330         * sysdeps/wordsize-32/divdi3.c: Likewise.
57331         * sysdeps/x86_64/sysdep.h: Likewise.
57333         * argp/Versions: Remove _argp_unlock_xxx.
57335         [BZ #13559]
57336         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57337         * abilist/libBrokenLocale.abilist: Likewise.
57338         * abilist/libanl.abilist: Likewise.
57339         * abilist/libc.abilist: Likewise.
57340         * abilist/libcrypt.abilist: Likewise.
57341         * abilist/libdl.abilist: Likewise.
57342         * abilist/libm.abilist: Likewise.
57343         * abilist/libnsl.abilist: Likewise.
57344         * abilist/libpthread.abilist: Likewise.
57345         * abilist/libresolv.abilist: Likewise.
57346         * abilist/librt.abilist: Likewise.
57347         * abilist/libthread_db.abilist: Likewise.
57348         * abilist/libutil.abilist: Likewise.
57349         * abilist/libnss_db.abilist: New file.
57351         * scripts/abilist.awk: Add support for indirect functions.
57353         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57355         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57357         * shlib-versions: Remove entries for ports architectures.
57359         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57360         files in ports.
57361         * elf/stackguard-macros.h: Remove support for IA-64.
57362         * elf/tst-auditmod1.c: Likewise.
57363         * sysdeps/generic/ldsodefs.h: Likewise.
57365         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57366         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57367         configure files.
57369         [BZ #13552]
57370         * configure.in: Remove --enable-omitfp support.
57371         * FAQ.in: Adjust.
57372         * config.make.in: Likewise.
57373         * Makeconfig: Likewise.
57374         * manual/install.texi: Likewise.
57376         In case anyone cares, the IA-64 architecture could move to ports.
57377         * sysdeps/ia64/*: Removed.
57378         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57379         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57381         [BZ #13555]
57382         * configure.in: Remove entries for unsupported architectures.
57384         [BZ #13533]
57385         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57386         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57387         routines.
57388         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57389         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57390         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57391         fall back to using wcrtomb.
57392         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57393         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57394         renaming.
57395         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57396         * wcsmbs/tst-c16c32-1.c: New file.
57398         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57399         local variable.
57401         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57403         * elf/tst-unique3.cc: Add explicit declaration of gets.
57404         * elf/tst-unique3lib.cc: Likewise.
57405         * elf/tst-unique3lib2.cc: Likewise.
57406         * elf/tst-unique4.cc: Likewise.
57408         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57410 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57412         [BZ #13566]
57413         * assert/assert.h (static_assert): Don't define for C++.
57414         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57415         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57417 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57419         * iconv/loop.c (single loop): Fix assertion in storing of
57420         remaining bytes.
57422         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57424 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57426         * posix/getconf.c: Update copyright year.
57427         * nss/getent.c: Likewise.
57428         * nss/makedb.c: Likewise.
57429         * iconv/iconvconfig.c: Likewise.
57430         * iconv/iconv_prog.c: Likewise.
57431         * elf/ldconfig.c: Likewise.
57432         * elf/pldd.c: Likewise.
57433         * elf/sotruss.ksh: Likewise.
57434         * catgets/gencat.c: Likewise.
57435         * csu/version.c: Likewise.
57436         * elf/ldd.bash.in: Likewise.
57437         * elf/sprof.c (print_version): Likewise.
57438         * locale/programs/locale.c: Likewise.
57439         * locale/programs/localedef.c: Likewise.
57440         * login/programs/pt_chown.c: Likewise.
57441         * nscd/nscd.c (print_version): Likewise.
57442         * debug/xtrace.sh: Likewise.
57443         * malloc/memusage.sh: Likewise.
57444         * malloc/mtrace.pl: Likewise.
57445         * debug/catchsegv.sh: Likewise.
57447 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57449         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57450         pure attribute.
57452 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57454         [BZ #13533]
57455         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57456         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57457         transformations.
57458         * iconv/gconv_int.h: Likewise.
57459         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57460         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57461         from libc for GLIBC_2.16.
57462         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57463         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57464         * wcsmbs/uchar.h: Really define mbstate_t.
57465         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57466         * wcsmbs/c16rtomb.c: New file.
57467         * wcsmbs/mbrtoc16.c: New file.
57468         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57469         for C/POSIX locale.
57470         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57471         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57473         * wcsmbs/wchar.h: Add missing __restrict.
57475 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57477         [BZ #13532]
57478         * time/Makefile (routines): Add timespec_get.
57479         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57480         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57481         timespec for ISO C11.
57482         * time/timespec_get.c: New file.
57483         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57484         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57486         [BZ #13531]
57487         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57488         * stdlib/stdlib.h: Declare aligned_alloc.
57489         * Versions.def: Add GLIBC_2.16 for libc.
57490         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57492         [BZ 13527]
57493         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57494         ISO C11.
57496         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57497         code.
57499         [BZ #13528]
57500         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57502         [BZ #13529]
57503         * assert/assert.h (static_assert): Define.
57505         * version.h: Update for 2.16 development version.
57507         [BZ #13526]
57508         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57509         _ISOC11_SOURCE.
57511         * version.h (RELEASE): Bump for 2.15 release.
57512         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57514         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57515         Patch by Marek Polacek <mpolacek@redhat.com>.
57517         * bits/byteswap.h: Protect long long constants with __extension__.
57518         * sysdeps/i386/bits/byteswap.h: Likewise.
57519         * sysdeps/ia64/bits/byteswap.h: Likewise.
57520         * sysdeps/s390/bits/byteswap.h: Likewise.
57521         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57523 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57525         [BZ #13540]
57526         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57527         destination buffer.
57528         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57530 2011-12-23  Marek Polacek  <polacek@redhat.com>
57532         * elf/dl-addr.c (determine_info): Add inline keyword.
57533         * elf/tst-auditmod4b.c (check_avx): Likewise.
57534         * elf/tst-auditmod6b.c (check_avx): Likewise.
57535         * elf/tst-auditmod6c.c (check_avx): Likewise.
57536         * elf/tst-auditmod7b.c (check_avx): Likewise.
57538 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57540         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57541         !__SSE_MATH__.
57543 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57545         [BZ #13540]
57546         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57547         processing for last bytes.
57549 2011-08-06  Bruno Haible  <bruno@clisp.org>
57551         [BZ #13061]
57552         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57553         U+0385, not to U+1FEE.
57555         [BZ #13062]
57556         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57557         entry for U+00A5 U+0301.
57559 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57561         [BZ #13166]
57562         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57563         buffer for the output is too small.
57565         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57566         optimization.
57568         [BZ #13185]
57569         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57570         SSE flags if possible.
57572 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57574         [BZ #13540]
57575         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57576         processing for last bytes.
57578 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57580         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57581         (syscall-list-default-options, syscall-list-default-condition)
57582         (syscall-list-includes): Define.
57583         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57584         list of ABIs and options and #if conditions for each ABI.  Do not
57585         handle common syscalls between ABIs specially.
57586         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57587         Remove.
57588         (syscall-list-variants, syscall-list-32bit-options)
57589         (syscall-list-32bit-condition, syscall-list-64bit-options)
57590         (syscall-list-64bit-condition): Define.
57591         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57592         (syscall-list-variants, syscall-list-32bit-options)
57593         (syscall-list-32bit-condition, syscall-list-64bit-options)
57594         (syscall-list-64bit-condition): Define.
57595         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57596         Remove.
57597         (syscall-list-variants, syscall-list-32bit-options)
57598         (syscall-list-32bit-condition, syscall-list-64bit-options)
57599         (syscall-list-64bit-condition): Define.
57600         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57601         Remove.
57602         (syscall-list-variants, syscall-list-32bit-options)
57603         (syscall-list-32bit-condition, syscall-list-64bit-options)
57604         (syscall-list-64bit-condition): Define.
57606 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57608         * locale/iso-639.def: Add brx entry.
57610         [BZ #13328]
57611         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57612         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57614         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57615         __feraiseexcept_renamed.
57617 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57619         [BZ #13538]
57620         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57621         EPOLLET with unsigned values.
57622         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57623         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57625         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57626         to large cancellation.
57627         * math/s_cacoshf.c: Likewise.
57628         * math/s_cacoshl.c: Likewise.
57630 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57632         [BZ #13305]
57633         [BZ #12786]
57634         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57635         * math/s_cacoshf.c: Likewise.
57636         * math/s_cacoshl.c: Likewise.
57638 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57640         [BZ #13439]
57641         * iconv/gconv.h: Define __GCONV_SWAP.
57642         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57643         * iconvdata/utf-16.c: Likewise.
57644         * iconvdata/utf-32.c: Likewise.
57646 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57648         [BZ #13524]
57649         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57650         numerator after shifting it by one limb.
57652 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57654         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57655         under [__USE_EXTERN_INLINES].
57657 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57659         [BZ #13446]
57660         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57662 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57664         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57665         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57666         optimized code.
57667         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57668         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57669         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57670         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57671         for strncasecmp/strncasecmp_l compilation.
57672         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57673         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57675 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57677         [BZ #13484]
57678         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57679         of __asm__.
57681 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57683         [BZ #13506]
57684         * time/tzfile.c (__tzfile_read): Check values from file header.
57686 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57688         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57689         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57690         * powerpc/powerpc32/dl-start.S: Likewise.
57691         * powerpc/powerpc32/elf/start.S: Likewise.
57692         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57693         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57694         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57695         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57696         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57697         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57698         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57699         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57700         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57701         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57702         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57703         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57704         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57705         * powerpc/powerpc32/memset.S: Likewise.
57706         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57707         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57708         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57709         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57710         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57711         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57712         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57713         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57714         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57715         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57716         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57717         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57718         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57720 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57722         * math/libm-test.inc: Added more nearbyint tests.
57723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57724         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57725         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57728 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57730         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57731         FD_CLOEXEC.
57733 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57735         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57736         Add wcscpy-ssse3 wcscpy-c.
57737         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57738         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57739         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57740         * sysdeps/x86_64/wcschr.S: New file.
57741         * sysdeps/x86_64/wcsrchr.S: New file.
57742         * string/test-strcmp.c: Remove checking of wcscmp function for
57743         wrong alignments.
57744         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57745         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57746         wcsrchr-sse2 wcsrchr-c.
57747         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57748         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57749         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57750         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57751         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57752         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57753         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57754         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57755         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57756         * wcsmbc/wcschr.c (WCSCHR): New macro.
57758 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57760         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57761         * wcsmbs/test-wcsrchr.c: New file.
57762         * string/test-strrchr.c: Add wcsrchr support.
57763         (WIDE): New macro.
57764         * wcsmbs/test-wcscpy.c: New file.
57765         * string/test-strcpy.c: Add wcscpy support.
57766         (WIDE): New macro.
57768 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57770         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57771         the inner loop.
57773 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57775         [BZ #13472]
57776         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57778 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57780         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57781         Minor optimizations.
57783         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57784         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57785         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57787 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57789         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57790         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57791         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57792         for gcc to avoid warnings.
57793         * inet/Makefile (tests): Add tst-checks.
57794         * inet/tst-checks.c: New file.
57796         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57797         warning.
57799         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57800         __wmemcmp_sse2.
57802         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57803         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57805         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57807 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57809         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57810         problem.
57812         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57814 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57816         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57817         conditional on GCC version.
57818         (__arch_compare_and_exchange_val_8_acq)
57819         (__arch_compare_and_exchange_val_16_acq)
57820         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57821         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57822         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57824 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57826         * sysdeps/sh/backtrace.c: New file.
57828 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57830         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57831         parenthesis.
57833 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57835         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57836         falling back to utime.
57838 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57840         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57841         expectations for float.
57843 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57845         * locale/weight.h (findidx): Add parameter len.
57846         * locale/weightwc.h (findidx): Likewise.
57847         * posix/fnmatch_loop.c (FCT): Adjust caller.
57848         * posix/regcomp.c (build_equiv_class): Likewise.
57849         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57850         * posix/regexec.c (check_node_accept_bytes): Likewise.
57851         * string/strcoll_l.c (STRCOLL): Likewise.
57852         * string/strxfrm_l.c (STRXFRM): Likewise.
57854 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57856         * Makefile.in: Remove CVSOPT handling.
57857         * configure.in: Remove use of AC_REVISION.
57858         * iconvdata/Makefile (distribute): No need to filter out CVS.
57859         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57860         handling.
57862 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57864         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57865         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57866         [USE_AS_STRNCASECMP_L]: Likewise.
57867         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57868         NO_TLS_DIRECT_SEG_REFS.
57869         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57870         Fix argument offsets for non-PIC.
57871         [USE_AS_STRNCASECMP_L]: Likewise.
57872         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57873         NO_TLS_DIRECT_SEG_REFS.
57875 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57877         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57878         O_CLOEXEC.
57879         * locale/loadlocale.c (_nl_load_locale): Likewise.
57881 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57883         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57884         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57885         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57886         (SYSCALL_GETTIME): Set errno on error.
57888         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57889         count references to noai6ai_cached.
57891 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57893         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57895         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57896         FD_CLOEXEC for /proc/self/maps.
57898         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57899         FD_CLOEXEC for /proc/meminfo.
57901         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57902         gai.conf.
57904         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57905         FD_CLOEXEC for given file.
57907         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57909         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57910         FD_CLOEXEC for /etc/hosts.
57911         (_gethtent): Likewise.
57913         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57915         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57916         cancellation and set FD_CLOEXEC for /etc/netgroup.
57918         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57919         reading /etc/publickey.
57921         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57922         allow cancellation when reading /etc/group.
57924         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57925         cancellation.
57926         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57928         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57929         when using data file.
57931         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57933         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57934         (write_nis_obj): Use "c" and "e" in fopen.
57936         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57938         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57940         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57942         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57944         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57945         locale.alias.
57947         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57949         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57951         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57953         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57954         file parsing and set FD_CLOEXEC.
57956 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57958         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57960 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57962         * malloc/arena.c (arena_get2): Don't call reused_arena when
57963         _int_new_arena failed.
57965 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57967         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57968         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57969         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57970         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57971         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57973         to compile strcasecmp and strncasecmp.
57974         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57975         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57979 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57981         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57982         locale-defines.sym to gen-as-const-headers.
57983         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57984         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57986         to compile strcasecmp and strncasecmp.
57987         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57988         strcasecmp_l and strncasecmp_l.
57989         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57990         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57991         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57992         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57993         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57994         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57995         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57996         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57997         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57998         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57999         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58001 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58003         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58004         result of SYSDEP_GETTIME_CPU to retval.
58005         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58006         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58008         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58009         variable.
58011         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58012         mantissa words.
58013         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58015         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58016         from unused variable.
58018         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58019         DWARF definitions.
58020         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58021         for assembling.
58023         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58024         over namespaces.
58026         * sunrpc/rpc_prot.c (rejected): Fix case value.
58028         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58029         unsigned long long int to avoid warnings in shift.
58031         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58032         of use of trans.
58033         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58034         variable tmp.
58036         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58037         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58038         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58040         * nis/nis_table.c (nis_list): Use variable of correct type for
58041         result of __follow_path call.
58043 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58045         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58046         of math functions ceil, trunc, floor, round, and sqrt, when
58047         avaliable on the platform.
58048         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58049         name clash.
58050         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58051         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58052         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58054 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58056         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58057         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58059 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58061         * include/unistd.h: Fix __readlink return type.
58062         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58064 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58066         * stdlib/ucontext.h: Undo last change for makecontext.
58068 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58070         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58072         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58073         * setjmp/setjmp.h: Mark functions as non-leaf.
58074         * setjmp/bits/setjmp2.h: Likewise.
58075         * stdlib/ucontext.h: Likewise.
58077 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58079         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58080         (reused_arena): Don't check arena limit.
58081         (arena_get2): Atomically check arena limit.
58083 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58085         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58086         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58088         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58089         instructions.
58091 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58093         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58094         handler when locking.
58096         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58097         Fix size of allocated buffer.
58099 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58101         [BZ #10103]
58102         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58103         declarations for long double functions.
58104         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58106         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58108 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58110         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58111         installed.
58113         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58114         is disabled.
58116 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58118         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58120 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58122         * include/alloca.h (stackinfo_alloca_round): Define.
58123         (extend_alloca): Use it.
58124         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58125         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58126         here.
58128         * scripts/check-local-headers.sh: Ignore libaudit.h.
58130         * nscd/Makefile (extra-objs): Make recursively expanded.
58132 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58134         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58135         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58137         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58138         * posix/tst-rfc3484-2.c: Likewise.
58139         * posix/tst-rfc3484-3.c: Likewise.
58141         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58142         process_vm_writev.
58143         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58144         process_vm_writev.
58145         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58146         process_vm_writev from libc using GLIBC_2.15 version.
58148         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58150 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58152         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58153         stack usage.
58155 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58157         [BZ #13367]
58158         * nss/getent.c (initgroups_keys): Show error message in case no group
58159         names are given.
58161         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58162         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58163         __bump_nl_timestamp.
58164         * nscd/connections (nscd_init): When host database is served open
58165         netlink socket and request notification about configuration changes.
58166         (main_loop_poll): Track netlink file descriptor and bump timestamp
58167         in case data becomes available.
58168         (main_loop_epoll): Likewise.
58169         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58170         (database_pers_head): Add extra_data fileds.
58171         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58172         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58173         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58174         Adjust caller.
58175         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58176         in6ai data, call __free_in6ai.
58177         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58178         Add -DHAVE_NETLINK.
58179         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58180         interface information.  Reuse previous data if netlink timestamp
58181         is not changed.
58182         (__bump_nl_timestamp): New function.
58183         (__free_in6ai): New function.
58185 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58187         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58188         close_not_cancel_no_status here.
58189         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58191 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58193         [BZ #13276]
58194         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58195         return value.
58197         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58198         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58199         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58201 2011-07-03  Andreas Jaeger  <aj@suse.de>
58203         [BZ #10709]
58204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58205         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58206         * math/libm-test.inc (sin_test): Add test case.
58208 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58210         [BZ #13337]
58211         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58212         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58214         * elf/chroot_canon.c (chroot_canon): Cleanups.
58216         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58218         [BZ #13335]
58219         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58220         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58222         * string/test-strchr.c: Make usable for strchrnul testing.
58223         * string/test-strchrnul.c: New file.
58224         * string/Makefile (strop-tests): Add strchrnul.
58226         * po/it.po: Update from translation team.
58227         * po/es.po: Likewise.
58229 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58231         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58232         the three constants needed as parameters.  Drop the others.
58233         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58234         __m128i_strloadu_tolower.
58235         Create and initialize variable zero and use it in all the places
58236         where _mm_setzero_si128 was used.
58238         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58239         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58240         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58241         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58242         anymore.
58243         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58244         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58245         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58246         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58247         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58248         __mpranred, __mptan.
58249         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58250         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58251         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58252         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58253         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58254         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58255         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58256         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58257         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58259 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58261         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58262         redefine if SHARED.
58263         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58266         wide char related routines to wcsmbs subdir.
58268 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58270         [BZ #13344]
58271         * misc/sys/cdefs.h (__THROWNL): Define.
58272         * posix/unistd.h: Use __THREADNL instead of __THREAD
58273         for memory synchronization functions.
58275 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58277         [BZ #13349]
58278         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58279         doesn't exist.
58280         * manual/stdio.texi (Obstack Streams): Node removed.
58282 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58284         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58285         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58286         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58288         * math/math_private.h (math_force_eval): Allow non-addressable
58289         arguments.
58290         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58292 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58294         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58295         file is not needed.
58297         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58300         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58302         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58303         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58304         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58305         Add AVX variants.
58306         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58307         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58308         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58309         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58310         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58311         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58312         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58313         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58314         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58315         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58316         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58317         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58318         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58319         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58320         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58321         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58322         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58323         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58324         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58326         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58327         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58329         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58330         place.  Use VEX encoding when compiling for AVX.
58332 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58334         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58335         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58337         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58339 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58341         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58342         useless if() expression.
58343         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58344         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58345         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58346         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58347         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58348         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58349         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58351         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58353         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58354         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58355         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58356         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58357         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58358         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58359         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58360         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58361         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58363         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58365 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58367         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58368         condition.
58369         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58371 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58373         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58374         .text section.  Avoid duplicate constants.
58375         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58376         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58377         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58378         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58380         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58382         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58383         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58384         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58385         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58386         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58387         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58388         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58389         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58390         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58391         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58392         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58393         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58394         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58395         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58396         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58397         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58398         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58399         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58400         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58401         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58402         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58403         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58404         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58405         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58406         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58407         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58408         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58409         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58410         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58411         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58412         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58413         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58414         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58415         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58416         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58417         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58418         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58419         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58421 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58423         * sysdeps/x86_64/dla.h: Move to ...
58424         * sysdeps/x86_64/fpu/dla.h: ...here.
58425         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58426         situations.  Use __builtin_fma only for gcc 4.6 and up.
58428         * config.make.in: Add have-mfma4 entry.
58429         * configure.in: Substitute libc_cv_cc_fma4.
58430         * math/Makefile (dbl-only-routines): Add sincostab.
58431         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58432         Use __sincostab not sincos.
58433         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58434         name is a macro.
58435         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58436         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58439         using __copysign.
58440         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58441         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58442         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58443         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58444         and __inv.
58445         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58446         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58447         __copysign.
58448         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58449         define aliases when function name is a macro.
58450         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58451         sysdeps/ieee754/dbl-64/sincos.tbl.
58452         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58453         fma4-enabled routines.
58454         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58455         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58456         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58457         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58458         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58459         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58461         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58462         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58463         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58464         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58465         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58466         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58467         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58468         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58469         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58470         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58471         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58472         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58473         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58474         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58475         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58476         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58477         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58478         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58479         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58480         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58481         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58482         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58483         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58485         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58486         rename.
58487         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58489         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58491         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58493         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58494         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58496 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58498         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58500 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58502         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58504         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58505         prediction.
58506         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58508         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58509         Remove unused variable magic_bits.
58510         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58512         * string/strnlen.c: Define and use STRNLEN macro.
58513         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58514         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58515         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58516         * wcsmbs/wcslen.c: Define and use WCSLEN.
58517         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58518         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58519         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58520         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58521         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58522         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58523         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58525 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58528         strnlen-sse2-no-bsf.
58529         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58530         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58531         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58532         Add strnlen support.
58533         (USE_AS_STRNLEN): New macro.
58534         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58535         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58536         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58537         * sysdeps/x86_64/wcslen.S: New file.
58539 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58541         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58542         XMM-moves are used for copying on small sizes.
58544 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58546         * wcsmbs/Makefile (strop-tests): Add wcschr.
58547         * wcsmbs/test-wcschr.c: New file.
58548         * string/test-strchr.c: Update.
58549         Add wcschr support.
58550         (WIDE): New macro.
58552 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58554         * wcsmbs/Makefile (strop-tests): Add wcslen.
58555         * wcsmbs/test-wcslen.c: New file.
58556         * string/test-strlen.c: Update.
58557         Add wcslen support.
58558         (WIDE): New macro.
58560 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58562         * po/it.po: Update from translation team.
58564 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58566         * sysdeps/x86_64/wcscmp.S: Update.
58567         Fix wrong comparison semantics.
58568         wcscmp shall use signed comparison not unsigned.
58569         Don't use substraction to avoid overflow bug.
58570         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58571         * wcsmbc/wcscmp.c: Likewise.
58572         * string/test-strcmp.c: Likewise.
58573         Add new tests to check cases with negative values.
58575 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58577         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58578         * sysdeps/x86_64/dla.h: ...here.  New file.
58579         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58584         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58585         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58586         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58587         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58589 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58591         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58592         __ynl_finite aliases.
58594 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58598         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58599         define DLA_FMA.
58600         [DLA_FMA] (EMULV): Use DLA_FMA.
58601         [DLA_FMA] (MUL12): Use EMULV.
58602         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58603         that are not needed.
58604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58609         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58612 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58614         * math/s_nan.c: Undef __nan.
58615         * math/s_nanf.c: Undef __nanf.
58616         * math/s_nanl.c: Undef __nanl.
58617         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58618         "math_private.h".
58620 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58622         * math/s_catan.c: Add branch predictions.
58623         * math/s_catanf.c: Likewise.
58624         * math/s_catanh.c: Likewise.
58625         * math/s_catanhf.c: Likewise.
58626         * math/s_catanhl.c: Likewise.
58627         * math/s_catanl.c: Likewise.
58628         * math/s_cexp.c: Likewise.
58629         * math/s_cexpf.c: Likewise.
58630         * math/s_cexpl.c: Likewise.
58631         * math/s_clog.c: Likewise.
58632         * math/s_clog10.c: Likewise.
58633         * math/s_clog10f.c: Likewise.
58634         * math/s_clog10l.c: Likewise.
58635         * math/s_clogf.c: Likewise.
58636         * math/s_clogl.c: Likewise.
58637         * math/s_csqrt.c: Likewise.
58638         * math/s_csqrtf.c: Likewise.
58639         * math/s_csqrtl.c: Likewise.
58640         * math/s_ctanf.c: Likewise.
58641         * math/s_ctanh.c: Likewise.
58642         * math/s_ctanhf.c: Likewise.
58643         * math/s_ctanhl.c: Likewise.
58644         * math/s_ctanl.c: Likewise.
58646         * math/math_private.h: Define __nan, __nanf, __nanl.
58647         * math/s_cacosh.c: Include <math_private.h>.
58648         * math/s_cacoshl.c: Likewise.
58649         * math/s_casinh.c: Likewise.
58650         * math/s_casinhf.c: Likewise.
58651         * math/s_casinhl.c: Likewise.
58652         * math/s_ccos.c: Rely entire on ccosh.
58653         * math/s_ccosf.c: Rely entire on ccoshf.
58654         * math/s_ccosl.c: Rely entirely on ccoshl.
58655         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58656         Remove tests for FE_INVALID.
58657         * math/s_ccoshf.c: Likewise.
58658         * math/s_ccoshl.c: Likewise.
58659         * math/s_csin.c: Likewise.
58660         * math/s_csinf.c: Likewise.
58661         * math/s_csinh.c Likewise.
58662         * math/s_csinhf.c: Likewise.
58663         * math/s_csinhl.c: Likewise.
58664         * math/s_csinl.c: Likewise.
58665         * math/s_ctan.c: Likewise.
58666         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58667         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58668         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58670 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58673         compilation problems.
58675         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58676         __builtin_expect.
58678 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58680         * sysdeps/i386/configure.in: Test for -mfma4 option.
58681         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58682         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58683         COMMON_CPUID_INDEX_80000001.
58684         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58685         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58686         use it if FMA3 is not supported.
58687         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58689         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58690         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58692 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58694         [BZ #12892]
58695         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58696         it would create a cycle with a link time dependency.
58698 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58700         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58701         instruction.
58702         * string/Makefile (strop-tests): Add rawmemchr.
58703         * string/test-rawmemchr.c: New file.
58705         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58706         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58707         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58708         when compiling str{,n}casecmp and when AVX is available.  Hook up
58709         new optimized code in initializers.
58711 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58713         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58714         __feraiseexcept instead of feraiseexcept.
58716 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58718         * math/math_private.h: Define defaults for libc_fetestexcept and
58719         libc_feupdateenv.
58720         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58721         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58722         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58723         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58724         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58725         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58726         libc_fetestexcept and libc_feupdateenv.
58728         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58729         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58730         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58731         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58732         libc_feholdexcept_setround.
58734         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58735         Add s_nearbyint-c and s_nearbyintf-c.
58736         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58737         nearbyintf inlines.
58738         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58739         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58740         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58741         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58743         * math/math_private.h: Define defaults for libc_fegetround,
58744         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58745         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58746         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58747         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58748         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58749         standard functions.
58750         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58751         Remove comments and hacks for old compiler versions.
58752         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58753         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58754         libc_feholdexceptl.
58756 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58758         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58759         (__feraiseexcept_renamed): Add __NTH.
58760         (feraiseexcept): Add __NTH.  Rename local variables to fix
58761         namespace violations.
58763 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58765         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58767         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58769         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58770         recently added interfaces.
58771         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58773         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58774         about macro parameter expansion.
58776         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58777         __NO_MATH_INLINES is defined.  Cleanups.
58779         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58780         and __floorf is target has SSE4.1.
58781         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58782         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58783         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58784         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58786         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58787         name.
58788         (floorf): Likewise.
58790         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58792 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58794         * misc/sys/cdefs.h: Fix last change.
58796         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58797         database lookup.
58799 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58801         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58803         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58804         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58805         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58806         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58807         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58808         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58809         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58810         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58811         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58812         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58813         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58814         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58815         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58816         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58817         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58818         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58819         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58820         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58821         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58822         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58823         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58824         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58826         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58827         ceil, ceilf, floor, floorf.
58829         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58830         Perform IRELATIVE relocations last.
58832         * elf/do-rel.h: Add another parameter nrelative, replacing the
58833         local variable with the same name.  Change name of the function
58834         to end in Rel or Rela (uppercase).
58835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58836         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58837         elf_dynamic_do_##reloc function.
58839 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58841         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58842         is sufficient, at least on modern CPUs.
58844         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58846         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58847         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58849         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58850         __expl_finite.
58851         * math/bits/math-finite.h: Add entries for exp.
58852         * math/e_expl.c: Add __*_finite alias.
58853         * sysdeps/i386/fpu/e_exp.S: Likewise.
58854         * sysdeps/i386/fpu/e_expf.S: Likewise.
58855         * sysdeps/i386/fpu/e_expl.c: Likewise.
58856         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58857         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58858         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58859         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58860         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58861         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58862         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58864         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58865         is sufficient, at least on modern CPUs.
58867         * ctype/ctype-info.c (__ctype_init): Define.
58868         * include/ctype.h (__ctype_init): Declare.
58869         (__ctype_b_loc): The variable is always initialized.
58870         (__ctype_toupper_loc): Likewise.
58871         (__ctype_tolower_loc): Likewise.
58872         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58873         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58875 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58877         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58879         * configure.in: Also look in $cxxmachine/include for C++ system
58880         headers.
58882 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58884         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58885         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58886         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58887         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58888         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58889         (USE_AS_WMEMCMP): New macro.
58890         Fixing indents.
58891         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58892         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58893         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58894         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58895         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58896         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58897         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58898         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58899         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58900         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58901         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58902         (USE_AS_WMEMCMP): New macro.
58903         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58904         * sysdeps/string/test-memcmp.c: Update.
58905         Fix simple_wmemcmp.
58906         Add new tests.
58907         * wcsmbs/wmemcmp.c: Update.
58908         (WMEMCMP): New macro.
58909         Fix overflow bug.
58911 2011-10-12  Andreas Jaeger  <aj@suse.de>
58913         [BZ #13268]
58914         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58916 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58918         * libio/iofwide.c (do_length): Avoid warning.
58920         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58922 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58924         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58926         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58927         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58928         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58929         * sysdeps/i386/i686/fpu/e_log.S: New file.
58930         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58931         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58933         * ctype/ctype.h: Add support for inlined isXXX functions when
58934         compiling C++ code.
58936 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58938         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58940         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58942 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58944         [BZ #13291]
58945         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58947 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58949         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58950         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58951         feraiseexcept.
58953         * sysdeps/x86_64/memrchr.S: Check for zero size.
58955         * string/stratcliff.c: Add memrchr tests.
58957 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58959         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58960         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58961         rawmemchr-sse2 rawmemchr-sse2-bsf.
58962         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58963         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58964         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58965         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58966         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58967         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58968         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58969         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58970         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58971         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58972         * string/memrchr.c (MEMRCHR): New macro.
58974 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58976         Add integration with gcc's -ffinite-math-only and optimize wrapper
58977         functions in libm.
58978         * Versions.def: Define GLIBC_2.15 version for libm.
58979         * math/Makefile (headers): Add bits/math-finite.h.
58980         * math/bits/math-finite.h: New file.
58981         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58982         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58983         * math/e_acoshl.c: Add __*_finite alias.
58984         * math/e_acosl.c: Likewise.
58985         * math/e_asinl.c: Likewise.
58986         * math/e_atan2l.c: Likewise.
58987         * math/e_atanhl.c: Likewise.
58988         * math/e_coshl.c: Likewise.
58989         * math/e_exp10.c: Likewise.
58990         * math/e_exp10f.c: Likewise.
58991         * math/e_exp10l.c: Likewise.
58992         * math/e_exp2l.c: Likewise.
58993         * math/e_fmodl.c: Likewise.
58994         * math/e_gammal_r.c: Likewise.
58995         * math/e_hypotl.c: Likewise.
58996         * math/e_j0l.c: Likewise.
58997         * math/e_j1l.c: Likewise.
58998         * math/e_jnl.c: Likewise.
58999         * math/e_lgammal_r.c: Likewise.
59000         * math/e_log10l.c: Likewise.
59001         * math/e_log2l.c: Likewise.
59002         * math/e_logl.c: Likewise.
59003         * math/e_powl.c: Likewise.
59004         * math/e_sinhl.c: Likewise.
59005         * math/e_sqrtl.c: Likewise.
59006         * math/e_scalb.c: Completely rewritten and optimized.
59007         * math/e_scalbf.c: Likewise.
59008         * math/e_scalbl.c: Likewise.
59009         * math/w_acos.c: Likewise.
59010         * math/w_acosf.c: Likewise.
59011         * math/w_acosl.c: Likewise.
59012         * math/w_acosh.c: Likewise.
59013         * math/w_acoshf.c: Likewise.
59014         * math/w_acoshl.c: Likewise.
59015         * math/w_asin.c: Likewise.
59016         * math/w_asinf.c: Likewise.
59017         * math/w_asinl.c: Likewise.
59018         * math/w_atan2.c: Likewise.
59019         * math/w_atan2f.c: Likewise.
59020         * math/w_atan2l.c: Likewise.
59021         * math/w_atanh.c: Likewise.
59022         * math/w_atanhf.c: Likewise.
59023         * math/w_atanhl.c: Likewise.
59024         * math/w_exp10.c: Likewise.
59025         * math/w_exp10f.c: Likewise.
59026         * math/w_exp10l.c: Likewise.
59027         * math/w_fmod.c: Likewise.
59028         * math/w_fmodf.c: Likewise.
59029         * math/w_fmodl.c: Likewise.
59030         * math/w_j0.c: Likewise.
59031         * math/w_j0f.c: Likewise.
59032         * math/w_j0l.c: Likewise.
59033         * math/w_j1.c: Likewise.
59034         * math/w_j1f.c: Likewise.
59035         * math/w_j1l.c: Likewise.
59036         * math/w_jn.c: Likewise.
59037         * math/w_jnf.c: Likewise.
59038         * math/w_log.c: Likewise.
59039         * math/w_logf.c: Likewise.
59040         * math/w_logl.c: Likewise.
59041         * math/w_log10.c: Likewise.
59042         * math/w_log10f.c: Likewise.
59043         * math/w_log10l.c: Likewise.
59044         * math/w_log2.c: Likewise.
59045         * math/w_log2f.c: Likewise.
59046         * math/w_log2l.c: Likewise.
59047         * math/w_pow.c: Likewise.
59048         * math/w_powf.c: Likewise.
59049         * math/w_powl.c: Likewise.
59050         * math/w_remainder.c: Likewise.
59051         * math/w_remainderf.c: Likewise.
59052         * math/w_remainderl.c: Likewise.
59053         * math/w_scalb.c: Likewise.
59054         * math/w_scalbf.c: Likewise.
59055         * math/w_scalbl.c: Likewise.
59056         * math/w_sqrt.c: Likewise.
59057         * math/w_sqrtf.c: Likewise.
59058         * math/w_sqrtl.c: Likewise.
59059         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59060         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59061         used.
59062         * math/math_private.h: Declare __kernel_standard_f.
59063         * math/w_cosh.c: Remove cruft and optimize a bit.
59064         * math/w_coshf.c: Likewise.
59065         * math/w_coshl.c: Likewise.
59066         * math/w_exp2.c: Likewise.
59067         * math/w_exp2f.c: Likewise.
59068         * math/w_exp2l.c: Likewise.
59069         * math/w_hypot.c: Likewise.
59070         * math/w_hypotf.c: Likewise.
59071         * math/w_hypotl.c: Likewise.
59072         * math/w_lgamma.c: Likewise.
59073         * math/w_lgamma_r.c: Likewise.
59074         * math/w_lgammaf.c: Likewise.
59075         * math/w_lgammaf_r.c: Likewise.
59076         * math/w_lgammal.c: Likewise.
59077         * math/w_lgammal_r.c: Likewise.
59078         * math/w_sinh.c: Likewise.
59079         * math/w_sinhf.c: Likewise.
59080         * math/w_sinhl.c: Likewise.
59081         * math/w_tgamma.c: Likewise.
59082         * math/w_tgammaf.c: Likewise.
59083         * math/w_tgammal.c: Likewise.
59084         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59085         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59086         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59087         Minor optimizations.  Pretty printing.  Remove cruft.
59088         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59089         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59090         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59091         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59092         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59093         * sysdeps/i386/fpu/e_asin.S: Likewise.
59094         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59095         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59096         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59097         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59098         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59099         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59100         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59101         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59102         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59103         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59104         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59105         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59106         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59107         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59108         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59109         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59110         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59111         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59112         * sysdeps/i386/fpu/e_log.S: Likewise.
59113         * sysdeps/i386/fpu/e_log10.S: Likewise.
59114         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59115         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59116         * sysdeps/i386/fpu/e_log2.S: Likewise.
59117         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59118         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59119         * sysdeps/i386/fpu/e_logf.S: Likewise.
59120         * sysdeps/i386/fpu/e_logl.S: Likewise.
59121         * sysdeps/i386/fpu/e_pow.S: Likewise.
59122         * sysdeps/i386/fpu/e_powf.S: Likewise.
59123         * sysdeps/i386/fpu/e_powl.S: Likewise.
59124         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59125         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59126         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59127         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59128         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59129         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59130         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59131         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59132         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59133         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59134         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59135         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59136         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59137         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59138         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59139         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59140         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59141         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59142         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59143         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59144         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59146         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59147         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59148         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59149         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59150         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59151         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59152         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59153         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59154         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59155         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59156         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59157         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59158         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59159         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59160         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59161         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59162         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59163         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59164         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59165         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59166         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59167         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59168         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59169         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59170         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59171         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59172         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59173         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59174         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59175         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59176         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59177         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59179         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59180         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59181         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59182         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59183         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59184         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59185         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59186         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59188         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59189         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59190         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59191         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59192         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59193         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59196         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59198         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59199         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59201         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59202         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59203         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59204         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59205         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59206         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59207         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59208         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59209         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59210         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59211         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59212         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59213         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59214         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59215         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59216         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59217         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59218         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59219         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59220         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59221         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59222         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59223         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59224         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59225         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59226         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59227         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59228         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59229         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59230         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59231         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59232         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59233         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59234         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59235         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59236         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59237         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59238         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59239         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59240         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59241         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59242         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59243         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59244         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59245         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59246         (__isnanf): Likewise.
59247         (__isinf_ns): Likewise.
59248         (__isinf_nsf): Likewise.
59249         (__finite): Likewise.
59250         (__finitef): Likewise.
59251         (__ieee754_sqrt): Define as macro.
59252         (__ieee754_sqrtf): Define as macro.
59253         (__ieee754_sqrtl): Define as macro.
59254         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59255         inlined copy.
59256         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59257         __FINITE_MATH_ONLY__ consistent.
59258         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59260 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59262         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59263         of rawmemchr.
59265         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59267 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59269         * po/ja.po: Update from translation team.
59271 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59273         * locale/programs/locarchive.c (prepare_address_space): New function.
59274         (create_archive, enlarge_archive, open_archive): Use it.
59276         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59277         inside [SHARED], where it is used.
59279         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59281         * nss/getent.c (netgroup_keys): Remove unused variable.
59282         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59284 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59286         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59287         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59288         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59289         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59290         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59291         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59292         * math/Makefile (libm-calls): Add s_isinf_ns.
59293         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59294         * math/multc3.c: Likewise.
59295         * math/s_casin.c: Likewise.
59296         * math/s_casinf.c: Likewise.
59297         * math/s_casinl.c: Likewise.
59298         * math/s_ccos.c: Likewise.
59299         * math/s_ccosf.c: Likewise.
59300         * math/s_ccosl.c: Likewise.
59301         * math/s_ctan.c: Likewise.
59302         * math/s_ctanf.c: Likewise.
59303         * math/s_ctanh.c: Likewise.
59304         * math/s_ctanhf.c: Likewise.
59305         * math/s_ctanhl.c: Likewise.
59306         * math/s_ctanl.c: Likewise.
59307         * math/w_fmod.c: Likewise.
59308         * math/w_fmodf.c: Likewise.
59309         * math/w_fmodl.c: Likewise.
59310         * math/w_remainder.c: Likewise.
59311         * math/w_remainderf.c: Likewise.
59312         * math/w_remainderl.c: Likewise.
59313         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59314         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59315         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59316         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59317         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59318         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59319         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59320         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59322         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59323         of the number.
59324         * stdio-common/printf_fphex.c: Likewise.
59325         * stdio-common/printf_size.c: Likewise.
59327         * math/e_exp10.c: Include math_private.h using <...> not "...".
59328         * math/e_exp10f.c: Likewise.
59329         * math/e_exp10l.c: Likewise.
59330         * math/e_exp2l.c: Likewise.
59331         * math/e_j0l.c: Likewise.
59332         * math/e_j1l.c: Likewise.
59333         * math/e_jnl.c: Likewise.
59334         * math/e_lgammal_r.c: Likewise.
59335         * math/e_rem_pio2l.c: Likewise.
59336         * math/e_scalb.c: Likewise.
59337         * math/e_scalbf.c: Likewise.
59338         * math/e_scalbl.c: Likewise.
59339         * math/k_cosl.c: Likewise.
59340         * math/k_sinl.c: Likewise.
59341         * math/k_tanl.c: Likewise.
59342         * math/s_cacoshf.c: Likewise.
59343         * math/s_catan.c: Likewise.
59344         * math/s_catanf.c: Likewise.
59345         * math/s_catanh.c: Likewise.
59346         * math/s_catanhf.c: Likewise.
59347         * math/s_catanhl.c: Likewise.
59348         * math/s_catanl.c: Likewise.
59349         * math/s_ccosh.c: Likewise.
59350         * math/s_ccoshf.c: Likewise.
59351         * math/s_ccoshl.c: Likewise.
59352         * math/s_cexp.c: Likewise.
59353         * math/s_cexpf.c: Likewise.
59354         * math/s_cexpl.c: Likewise.
59355         * math/s_clog.c: Likewise.
59356         * math/s_clog10.c: Likewise.
59357         * math/s_clog10f.c: Likewise.
59358         * math/s_clog10l.c: Likewise.
59359         * math/s_clogf.c: Likewise.
59360         * math/s_clogl.c: Likewise.
59361         * math/s_csin.c: Likewise.
59362         * math/s_csinf.c: Likewise.
59363         * math/s_csinh.c: Likewise.
59364         * math/s_csinhf.c: Likewise.
59365         * math/s_csinhl.c: Likewise.
59366         * math/s_csinl.c: Likewise.
59367         * math/s_csqrt.c: Likewise.
59368         * math/s_csqrtf.c: Likewise.
59369         * math/s_csqrtl.c: Likewise.
59370         * math/s_ctan.c: Likewise.
59371         * math/s_ctanf.c: Likewise.
59372         * math/s_ctanh.c: Likewise.
59373         * math/s_ctanhf.c: Likewise.
59374         * math/s_ctanhl.c: Likewise.
59375         * math/s_ctanl.c: Likewise.
59376         * math/s_ldexp.c: Likewise.
59377         * math/s_ldexpf.c: Likewise.
59378         * math/s_ldexpl.c: Likewise.
59379         * math/s_significand.c: Likewise.
59380         * math/s_significandf.c: Likewise.
59381         * math/s_significandl.c: Likewise.
59382         * math/w_acos.c: Likewise.
59383         * math/w_acosf.c: Likewise.
59384         * math/w_acosh.c: Likewise.
59385         * math/w_acoshf.c: Likewise.
59386         * math/w_acoshl.c: Likewise.
59387         * math/w_acosl.c: Likewise.
59388         * math/w_asin.c: Likewise.
59389         * math/w_asinf.c: Likewise.
59390         * math/w_asinl.c: Likewise.
59391         * math/w_atan2.c: Likewise.
59392         * math/w_atan2f.c: Likewise.
59393         * math/w_atan2l.c: Likewise.
59394         * math/w_atanh.c: Likewise.
59395         * math/w_atanhf.c: Likewise.
59396         * math/w_atanhl.c: Likewise.
59397         * math/w_cosh.c: Likewise.
59398         * math/w_coshf.c: Likewise.
59399         * math/w_coshl.c: Likewise.
59400         * math/w_dremf.c: Likewise.
59401         * math/w_exp10.c: Likewise.
59402         * math/w_exp10f.c: Likewise.
59403         * math/w_exp10l.c: Likewise.
59404         * math/w_exp2.c: Likewise.
59405         * math/w_exp2f.c: Likewise.
59406         * math/w_fmod.c: Likewise.
59407         * math/w_fmodf.c: Likewise.
59408         * math/w_fmodl.c: Likewise.
59409         * math/w_hypot.c: Likewise.
59410         * math/w_hypotf.c: Likewise.
59411         * math/w_hypotl.c: Likewise.
59412         * math/w_j0.c: Likewise.
59413         * math/w_j0f.c: Likewise.
59414         * math/w_j0l.c: Likewise.
59415         * math/w_j1.c: Likewise.
59416         * math/w_j1f.c: Likewise.
59417         * math/w_j1l.c: Likewise.
59418         * math/w_jn.c: Likewise.
59419         * math/w_jnf.c: Likewise.
59420         * math/w_jnl.c: Likewise.
59421         * math/w_lgamma.c: Likewise.
59422         * math/w_lgamma_r.c: Likewise.
59423         * math/w_lgammaf.c: Likewise.
59424         * math/w_lgammaf_r.c: Likewise.
59425         * math/w_lgammal.c: Likewise.
59426         * math/w_lgammal_r.c: Likewise.
59427         * math/w_log.c: Likewise.
59428         * math/w_log10.c: Likewise.
59429         * math/w_log10f.c: Likewise.
59430         * math/w_log10l.c: Likewise.
59431         * math/w_log2.c: Likewise.
59432         * math/w_log2f.c: Likewise.
59433         * math/w_log2l.c: Likewise.
59434         * math/w_logf.c: Likewise.
59435         * math/w_logl.c: Likewise.
59436         * math/w_pow.c: Likewise.
59437         * math/w_powf.c: Likewise.
59438         * math/w_powl.c: Likewise.
59439         * math/w_remainder.c: Likewise.
59440         * math/w_remainderf.c: Likewise.
59441         * math/w_remainderl.c: Likewise.
59442         * math/w_scalb.c: Likewise.
59443         * math/w_scalbf.c: Likewise.
59444         * math/w_scalbl.c: Likewise.
59445         * math/w_sinh.c: Likewise.
59446         * math/w_sinhf.c: Likewise.
59447         * math/w_sinhl.c: Likewise.
59448         * math/w_sqrt.c: Likewise.
59449         * math/w_sqrtf.c: Likewise.
59450         * math/w_sqrtl.c: Likewise.
59451         * math/w_tgamma.c: Likewise.
59452         * math/w_tgammaf.c: Likewise.
59453         * math/w_tgammal.c: Likewise.
59455         * po/ja.po: Update from translation team.
59457 2011-09-29  Andreas Jaeger  <aj@suse.de>
59459         [BZ #13179]
59460         * sunrpc/netname.c (netname2host): Fix logic.
59462         [BZ #6779]
59463         [BZ #6783]
59464         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59465         correctly.
59466         * math/w_remainder.c (__remainder): Likewise.
59467         * math/w_remainderf.c (__remainderf): Likewise.
59468         * math/libm-test.inc (remainder_test): Add test cases.
59470 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59472         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59473         sdiv_qrnnd.
59475 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59477         * string/test-memcmp.c: Avoid unncessary #defines.
59478         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59480 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59482         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59483         Use new sse2 version for core i3 - i7 as it's faster
59484         than sse42 version.
59485         (bit_Prefer_PMINUB_for_stringop): New.
59486         * sysdeps/x86_64/rawmemchr.S: Update.
59487         Replace with faster SSE2 version.
59488         * sysdeps/x86_64/memrchr.S: New file.
59489         * sysdeps/x86_64/memchr.S: Update.
59490         Replace with faster SSE2 version.
59492 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59494         * elf/dl-load.c (lose): Add cast to avoid warning.
59496 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59498         * po/ca.po: Update from translation team.
59500         * inet/getnetgrent_r.c: Hook up nscd.
59501         * nscd/Makefile (routines): Add nscd_netgroup.
59502         (nscd-modules): Add netgroupcache.
59503         (CFLAGS-netgroupcache.c): Define.
59504         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59505         (cache_search): Add const to second parameter.
59506         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59507         INNETGR.
59508         (dbs): Add netgrdb entry.
59509         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59510         (verify_persistent_db): Handle netgrdb.
59511         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59512         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59513         GETFDNETGR.
59514         (netgroup_response_header): Define.
59515         (innetgroup_response_header): Define.
59516         (datahead): Add netgroup_response_header and innetgroup_response_header
59517         elements.
59518         * nscd/nscd.conf: Add entries for netgroup cache.
59519         * nscd/nscd.h (dbtype): Add netgrdb.
59520         (_PATH_NSCD_NETGROUP_DB): Define.
59521         (netgroup_iov_disabled): Declare.
59522         (xmalloc, xcalloc, xrealloc): Move declarations here.
59523         (cache_search): Adjust prototype.
59524         Add netgroup-related prototypes.
59525         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59526         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59527         (__nscd_innetgr): Declare.
59528         * nscd/selinux.c (perms): Use access_vector_t as element type and
59529         add netgroup-related initializers.
59530         * nscd/netgroupcache.c: New file.
59531         * nscd/nscd_netgroup.c: New file.
59532         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59533         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59534         For four parameters use innetgr.
59535         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59536         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59537         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59538         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59540         * nscd/connections.c (register_traced_file): Don't register file
59541         for disabled databases.
59543 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59545         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59547         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59548         from tree and freeing node.
59550 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59552         * nss/nsswitch.c (__nss_database_lookup): Handle
59553         nss_parse_service_list out of memory case.
59555 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59557         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59558         out of memory case.
59560 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59562         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59563         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59564         pass it down.
59565         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59566         elf_machine_rela, elf_machine_lazy_rel.
59567         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59568         (ELF_DYNAMIC_DO_REL): Likewise.
59569         (ELF_DYNAMIC_DO_RELA): Likewise.
59570         (ELF_DYNAMIC_RELOCATE): Likewise.
59571         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59572         to ELF_DYNAMIC_DO_REL.
59573         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59574         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59575         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59576         elf_machine_rela.
59577         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59578         skip_ifunc, don't call ifunc function if non-zero.
59579         (elf_machine_rela): Likewise.
59580         (elf_machine_lazy_rel): Likewise.
59581         (elf_machine_lazy_rela): Likewise.
59582         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59583         (elf_machine_lazy_rel): Likewise.
59584         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59585         Likewise.
59586         (elf_machine_lazy_rel): Likewise.
59587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59588         Likewise.
59589         (elf_machine_lazy_rel): Likewise.
59590         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59591         (elf_machine_lazy_rel): Likewise.
59592         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59593         (elf_machine_lazy_rel): Likewise.
59594         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59595         (elf_machine_lazy_rel): Likewise.
59596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59597         (elf_machine_lazy_rel): Likewise.
59598         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59599         (elf_machine_lazy_rel): Likewise.
59600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59601         (elf_machine_lazy_rel): Likewise.
59603 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59605         * nss/nss_files/files-init.c (_nss_files_init): Use static
59606         initialization for all the *_traced_file variables.
59608 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59610         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59612 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59614         [BZ #13226]
59615         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59617 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59620         Reread the line before reparsing it.
59622 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59624         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59626 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59627             Maxim Kuvyrkov  <maxim@codesourcery.com>
59628             Joseph Myers  <joseph@codesourcery.com>
59630         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59631         if needed for __stack_chk_guard.
59633 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59635         * sysdeps/posix/spawni.c (script_execute): Always define it.
59636         It will be optimized away if unused.
59637         (maybe_script_execute): New function.
59638         (__spawni): Call it.
59640         * Makerules: Don't include tls.make.
59641         (config-tls): Always set to thread.
59642         * tls.make.c: File removed.
59644 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59646         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59647         * config.make.in (CPPFLAGS-config): New substituted variable.
59649 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59651         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59653         [BZ #13192]
59654         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59655         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59657 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59659         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59660         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59661         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59662         (CALL_FAIL): Likewise.
59663         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59664         (CALL_FAIL): Macro removed.
59665         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59667 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59669         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59670         for __FINITE_MATH_ONLY__ == 1.
59672 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59674         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59675         __ieee754_sqrt instead of sqrt.
59676         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59677         __ieee754_sqrtf instead of sqrtf.
59678         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59679         __floorf instead of floorf.
59680         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59681         __floorf, __truncf instead of floorf, truncf.
59683 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59685         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59687         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59688         __extern_always_inline.
59689         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59690         32-bit.
59692 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59694         * elf/rtld.c (dl_main): Also relocate in dependency order when
59695         doing symbol dependency testing.
59697 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59699         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59700         Always define `refsym'.
59702 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59704         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59705         (__FD_ELT): Renamed from __FDELT.
59706         * misc/bits/select2.h (__FD_ELT): Likewise.
59707         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59708         __FD_MASK instead of __FDELT, __FDMASK.
59709         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59710         Likewise.
59711         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59712         Likewise.
59714         * elf/Makefile (gen-ldd): Fix pattern.
59716         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59717         (init_tls): Likewise.
59719 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59721         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59723 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59725         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59726         `struct cmsghdr *' instead of `void *'.
59727         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59728         Likewise.
59730 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59732         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59733         if non-absolute.
59734         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59735         ldd_rewrite_script.
59737 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59739         * configure.in: Remove --with-tls option.
59740         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59741         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59742         out in case it is missing.
59743         * sysdeps/ia64/elf/configure.in: Likewise.
59744         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59745         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59746         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59747         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59748         * sysdeps/sh/elf/configure.in: Likewise.
59749         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59750         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59751         * sysdeps/x86_64/elf/configure.in: Likewise.
59752         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59753         * sysdeps/mach/hurd/tls.h: Likewise.
59755         [BZ #13067]
59756         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59758         [BZ #13090]
59759         * configure.in: Fix use of AC_INIT.
59761         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59763 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59765         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59766         __set_errno.
59767         * malloc/hooks.c: Likewise.
59769         [BZ #11929]
59770         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59771         variables statically.
59772         (narenas): Initialize.
59773         (list_lock): Initialize.
59774         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59775         initializtion of main_arena and list_lock.  Small cleanups.
59776         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59777         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59778         Add initializers to main_arena and mp_.
59779         (malloc_state): Remove pagesize member.  Change all users to use
59780         GLRO(dl_pagesize).
59782         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59783         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59784         is always initialized.
59786         * malloc/malloc.c: Removed unused configurations and dead code.
59787         * malloc/arena.c: Likewise.
59788         * malloc/hooks.c: Likewise.
59789         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59791         * include/tls.h: Removed.  USE___THREAD must always be defined.
59792         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59793         * elf/dl-libc.c: Likewise.
59794         * elf/dl-tsd.c: Likewise.
59795         * include/errno.h: Likewise.
59796         * include/netdb.h: Likewise.
59797         * include/resolv.h: Likewise.
59798         * inet/herrno-loc.c: Likewise.
59799         * inet/herrno.c: Likewise.
59800         * malloc/arena.c: Likewise.
59801         * malloc/hooks.c: Likewise.
59802         * malloc/malloc.c: Likewise.
59803         * resolv/res-state.c: Likewise.
59804         * resolv/res_libc.c: Likewise.
59805         * sysdeps/i386/dl-machine.h: Likewise.
59806         * sysdeps/ia64/dl-machine.h: Likewise.
59807         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59808         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59809         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59810         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59811         * sysdeps/sh/dl-machine.h: Likewise.
59812         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59813         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59814         * sysdeps/unix/i386/sysdep.S: Likewise.
59815         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59816         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59821         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59825         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59826         * sysdeps/x86_64/dl-machine.h: Likewise.
59827         * tls.make.c: Likewise.
59829         * configure.in: Remove --with-__thread option.  Make tests for
59830         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59831         tls_model attribute fail if no support is available.  Remove
59832         USE_IN_LIBIO.
59833         * Makeconfig: Adjust for dropped configure option.  All features are
59834         now mandatory.
59835         * Makerules: Likewise.
59836         * Versions.def: Likewise.
59837         * argp/argp-fmtstream.c: Likewise.
59838         * argp/argp-fmtstream.h: Likewise.
59839         * argp/argp-help.c: Likewise.
59840         * assert/assert.c: Likewise.
59841         * config.h.in: Likewise.
59842         * config.make.in: Likewise.
59843         * configure: Likewise.
59844         * configure.in: Likewise.
59845         * csu/Versions: Likewise.
59846         * csu/init.c: Likewise.
59847         * elf/tst-audit2.c: Likewise.
59848         * elf/tst-tls10.c: Likewise.
59849         * elf/tst-tls10.h: Likewise.
59850         * elf/tst-tls11.c: Likewise.
59851         * elf/tst-tls12.c: Likewise.
59852         * elf/tst-tls14.c: Likewise.
59853         * elf/tst-tlsmod11.c: Likewise.
59854         * elf/tst-tlsmod12.c: Likewise.
59855         * elf/tst-tlsmod13.c: Likewise.
59856         * elf/tst-tlsmod13a.c: Likewise.
59857         * elf/tst-tlsmod14a.c: Likewise.
59858         * elf/tst-tlsmod15b.c: Likewise.
59859         * elf/tst-tlsmod16a.c: Likewise.
59860         * elf/tst-tlsmod16b.c: Likewise.
59861         * elf/tst-tlsmod7.c: Likewise.
59862         * elf/tst-tlsmod8.c: Likewise.
59863         * elf/tst-tlsmod9.c: Likewise.
59864         * gmon/gmon.c: Likewise.
59865         * grp/fgetgrent_r.c: Likewise.
59866         * grp/putgrent.c: Likewise.
59867         * hurd/fopenport.c: Likewise.
59868         * include/libc-symbols.h: Likewise.
59869         * include/tls.h: Likewise.
59870         * intl/gettextP.h: Likewise.
59871         * intl/loadinfo.h: Likewise.
59872         * locale/global-locale.c: Likewise.
59873         * locale/localeinfo.h: Likewise.
59874         * mach/devstream.c: Likewise.
59875         * malloc/arena.c: Likewise.
59876         * malloc/set-freeres.c: Likewise.
59877         * misc/err.c: Likewise.
59878         * misc/getttyent.c: Likewise.
59879         * misc/mntent_r.c: Likewise.
59880         * posix/getopt.c: Likewise.
59881         * posix/wordexp.c: Likewise.
59882         * pwd/fgetpwent_r.c: Likewise.
59883         * resolv/Versions: Likewise.
59884         * resolv/res_hconf.c: Likewise.
59885         * shadow/fgetspent_r.c: Likewise.
59886         * shadow/putspent.c: Likewise.
59887         * stdio-common/printf_fphex.c: Likewise.
59888         * stdio-common/tmpfile.c: Likewise.
59889         * stdlib/abort.c: Likewise.
59890         * stdlib/fmtmsg.c: Likewise.
59891         * sunrpc/auth_unix.c: Likewise.
59892         * sunrpc/clnt_perr.c: Likewise.
59893         * sunrpc/clnt_tcp.c: Likewise.
59894         * sunrpc/clnt_udp.c: Likewise.
59895         * sunrpc/clnt_unix.c: Likewise.
59896         * sunrpc/openchild.c: Likewise.
59897         * sunrpc/svc_simple.c: Likewise.
59898         * sunrpc/svc_tcp.c: Likewise.
59899         * sunrpc/svc_udp.c: Likewise.
59900         * sunrpc/svc_unix.c: Likewise.
59901         * sunrpc/xdr.c: Likewise.
59902         * sunrpc/xdr_array.c: Likewise.
59903         * sunrpc/xdr_rec.c: Likewise.
59904         * sunrpc/xdr_ref.c: Likewise.
59905         * sunrpc/xdr_stdio.c: Likewise.
59907 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59909         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59911 2011-07-03  Andreas Jaeger  <aj@suse.de>
59913         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59914         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59915         regenerate with gen-libm-tests.pl.
59917 2010-05-12  Petr Baudis  <pasky@suse.cz>
59919         [BZ #11589]
59920         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59921         around j0() zero points by switching to j1().
59922         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59923         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59925         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59927 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59929         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59930         instead of 0.
59931         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59932         instead of 0.
59933         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59934         Patch in part by Pavel Roskin <proski@gnu.org>.
59936         [BZ #13138]
59937         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59938         realloc.
59939         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59940         Free memory block if necessary.
59942         [BZ #12847]
59943         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59944         be NULL.  Don't lock in this case.
59946 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59948         * elf/elf.h (ELFOSABI_GNU): New macro.
59949         (ELFOSABI_LINUX): Define to that.
59951 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59953         * string/strncat.c (strncat): Undef the symbol in case it has been
59954         defined in bits/string.h.
59956 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59958         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59960         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59961         link map.
59963 2011-08-17  Andreas Jaeger  <aj@suse.de>
59965         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59967 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59968             Ian Lance Taylor  <iant@google.com>
59970         * math/libm-test.inc (lround_test): New testcase.
59971         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59973 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59975         * Makefile: Remove support for automatic cvs check-ins.
59976         * Makerules: Likewise.
59977         * config.make.in: Likewise.
59978         * configure.in: Likewise.
59979         * intl/Makefile: Likewise.
59980         * locale/Makefile: Likewise.
59981         * po/Makefile: Likewise.
59982         * posix/Makefile: Likewise.
59983         * sysdeps/gnu/Makefile: Likewise.
59984         * sysdeps/mach/hurd/Makefile: Likewise.
59985         * sysdeps/sparc/sparc32/Makefile: Likewise.
59987         [BZ #13118]
59988         * posix/Makefile (bug-regex32-ENV): Define.
59989         Patch by John Stanley <jpsinthemix@verizon.net>.
59991         * misc/Makefile (headers): Add bits/select2.h.
59992         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59993         * misc/bits/select2.h: New file.
59994         * include/bits/select2.h: New file.
59995         * debug/Makefile (routines): Add fdelt_chk.
59996         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59997         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59998         FD_ISSET.
59999         * debug/fdelt_chk.c: New file.
60001         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60002         * wcsmbs/test-wmemcmp.c: Likewise.
60003         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60004         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60006 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60008         * string/Makefile (strop-tests): Add memcmp.
60009         * string/test-wmemcmp.c: New file.
60010         * string/test-memcmp.c: Add wmemcmp support.
60012 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60014         [BZ #13153]
60015         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60016         2011-07-19 change.
60018         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60019         garbage value in a __mach_port_mod_refs call in the cases of the
60020         task-self and thread-self ports.
60022 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60024         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60026 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60028         * elf/dl-load.c (lose): Check for non-null L.
60030 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60032         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60034         * elf/dl-libc.c (dlerror_run): Pass back error code from
60035         dl_catch_error.
60037         [BZ #13123]
60038         * elf/dl-load.c (lose): Free l_origin if it is valid.
60040         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60041         names.
60042         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60043         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60044         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60045         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60046         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60047         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60049 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60051         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60052         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60053         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60054         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60055         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60056         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60057         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60058         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60059         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60060         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60062 2011-08-15  Alan Modra  <amodra@gmail.com>
60064         [BZ #13092]
60065         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60066         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60067         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60068         ppc_mcount to static-only-routines.
60069         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60070         __mcount_internal.
60071         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60072         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60074 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60076         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60077         for finite and infinity parameters.
60079 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60081         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60082         and add nop instructions for throughput optimization.
60083         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60085 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60087         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60088         aligned copy for power7 with vector-scalar instructions.
60089         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60091 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60093         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60094         AVX check.
60096 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60098         [BZ #13144]
60099         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60100         last change.
60102 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60104         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60105         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60106         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60107         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60108         clock_gettime.
60110 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60113         Forgot to demangle the pointer.
60115         * sysdeps/i386/sysdep.h: Define atom_text_section.
60116         * sysdeps/x86_64/sysdep.h: Likewise.
60117         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60118         section with atom_text_section.
60119         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60120         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60121         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60122         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60123         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60125         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60126         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60127         already be defined.  Change to take two parameters and don't assign
60128         result to variable.  Adjust all users.
60129         Define INTERNAL_GETTIME if not already defined.
60130         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60131         call.
60132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60133         HAVE_CLOCK_GETTIME_VSYSCALL.
60134         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60137         gettimeofday vsyscall, just use time.
60139 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60141         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60142         <errno.h>.
60144 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60146         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60147         syscall on x86-64.
60148         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60149         syscall.
60150         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60151         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60152         syscall if possible.
60154 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60156         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60157         e_ident.  Don't pass to find_mapsXX.
60158         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60160 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60163         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60164         * sysdeps/x86_64/multiarch/strchr.S: Update.
60165         Check bit_slow_BSF bit.
60166         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60167         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60168         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60170 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60172         [BZ #13134]
60173         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60174         before glibc 2.15.
60175         (tryshell): Define.
60176         (__spawni): Change last parameter to be flag.  Test
60177         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60178         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60179         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60180         * posix/spawni.c: Likewise.
60181         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60182         * posix/spawnp.c: Likewise.  Change normal version to use
60183         SPAWN_XFLAGS_USE_PATH.
60184         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60185         SPAWN_XFLAGS_TRY_SHELL.
60187         [BZ #13150]
60188         * posix/glob.h: Remove gcc 1.x support.
60190         [BZ #13068]
60191         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60193 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60196         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60197         strrchr-sse2-bsf
60198         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60199         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60200         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60201         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60202         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60203         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60205 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60207         * sysdeps/x86_64/wcscmp.S: New file.
60209         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60210         wcscmp-c wcscmp-sse2
60211         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60212         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60213         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60214         * wcsmbs/wcscmp.c: Allow renaming.
60216 2011-09-05  David S. Miller  <davem@davemloft.net>
60218         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60219         stack slot, rather than the struct return pointer slot.
60220         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60221         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60223         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60225 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60227         * po/ja.po: Update from translation team.
60229         [BZ #13144]
60230         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60231         kernel in 64-bit binaries.
60233 2011-09-01  David S. Miller  <davem@davemloft.net>
60235         * elf/elf.h (HWCAP_SPARC_*): Move to..
60236         * sysdeps/sparc/sysdep.h: this new file and add new values.
60237         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60238         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60239         _DL_HWCAP_COUNT to 24.
60240         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60241         entries.
60242         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60243         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60244         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60245         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60246         instead of magic constants.
60247         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60249 2011-08-31  David S. Miller  <davem@davemloft.net>
60251         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60253         Reimplement to do errno handling inline.
60254         (SYSCALL_ERROR_HANDLER): New macro.
60255         (__SYSCALL_STRING): Do not do errno handling in asm.
60256         (__CLONE_SYSCALL_STRING): Delete.
60257         (__INTERNAL_SYSCALL_STRING): Delete.
60258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60259         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60260         (PSEUDO): Reimplement to do errno handling inline.
60261         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60262         (SYSCALL_ERROR_HANDLER): New macro.
60263         (__SYSCALL_STRING): Do not do errno handling in asm.
60264         (__CLONE_SYSCALL_STRING): Delete.
60265         (__INTERNAL_SYSCALL_STRING): Delete.
60266         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60267         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60268         i386.
60269         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60270         (inline_syscall*): Add 'err' argument.
60271         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60272         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60273         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60274         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60276         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60277         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60279 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60281         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60283 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60285         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60286         directive.
60288 2011-08-24  David S. Miller  <davem@davemloft.net>
60290         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60292 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60294         * elf/Makefile: Add rules to build and run unload8 test.
60295         * elf/unload8.c: New file.
60296         * elf/unload8mod1.c: New file.
60297         * elf/unload8mod1x.c: New file.
60298         * elf/unload8mod2.c: New file.
60299         * elf/unload8mod3.c: New file.
60301         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60302         it wasn't used.
60304 2011-08-23  David S. Miller  <davem@davemloft.net>
60306         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60307         subtract stack bias.
60308         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60309         %sp not %fp in calculations.
60310         (_JMPBUF_UNWINDS_ADJ): Likewise.
60312         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60313         (aio_suspend): Call it to force an exception region around the
60314         AIO_MISC_WAIT() invocation.
60316 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60318         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60319         backslash.
60321 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60323         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60324         protection macro.
60325         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60326         and <dl-machine.h>.
60327         (Elf64_FuncDesc): Remove.
60329 2011-08-22  David S. Miller  <davem@davemloft.net>
60331         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60332         sigaltstack check, add missing cfi directives.
60333         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60334         missing cfi directives, and sigaltstack handling.
60336 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60338         [BZ #11724]
60339         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60340         object is seen twice.
60341         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60343         * elf/Makefile (distribute): Add tst-initorder2.c.
60344         (tests): Add tst-initorder2.
60345         (modules-names): Add tst-initorder2a tst-initorder2b
60346         tst-initorder2c tst-initorder2d.  Add rules to build them.
60347         ($(objpfx)tst-initorder2.out): New rule.
60348         * elf/tst-initorder2.c: New file.
60349         * elf/tst-initorder2.exp: New file.
60351 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60353         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60355         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60356         dependencies back to end of function.
60358         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60359         $(elfobjdir)/ld.so.
60361 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60363         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60364         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60365         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60366         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60367         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60368         of __vdso_gettimeofday.
60369         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60370         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60371         attribute_hidden.
60372         (_libc_vdso_platform_setup): Remove initialization of
60373         __vdso_gettimeofday and __vdso_time.
60375 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60377         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60378         and fgetc_unlocked.
60379         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60380         getc_unlocked.
60382         * elf/dl-open.c (add_to_global): Report additions to the global scope
60383         for LD_DEBUG=scopes.
60384         (dl_open_worker): Also print scope of newly loaded dependencies.
60385         (_dl_show_scope): Indicate if there is no scope.
60387         [BZ #13114]
60388         * stdio-common/Makefile (tests): Add bug24.
60389         * stdio-common/bug24.c: New file.
60391 2011-08-19  Andreas Jaeger  <aj@suse.de>
60393         [BZ #13114]
60394         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60395         non-existant file when using close-on-exec mode.
60397 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60399         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60400         the very first instruction.
60402         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60403         the CFI state in the end.
60404         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60405         inclusion of dl-trampoline.h.
60406         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60408 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60410         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60411         expectations for long double.
60413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60414         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60416 2011-08-14  David S. Miller  <davem@davemloft.net>
60418         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60419         artificual limit depends upon the system page size.
60421 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60423         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60424         * resolv/Makefile: Define CFLAGS-libresolv.
60426 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60428         * nss/makedb.c (compute_tables): Make variables used in nested
60429         function static.
60431 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60433         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60434         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60435         if buffer was too small.
60437         * elf/pldd.c (main): Attach to all threads in the process.
60438         Rewrite /proc handling to use *at functions.
60440 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60442         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60443         specifies first scope to show.
60444         (dl_open_worker): Update callers.  Move printing scope of new
60445         object to before the relocation.
60446         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60447         * sysdeps/generic/ldsodefs.h: Update declaration.
60449         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60450         string for the scope number.
60452 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60454         * nscd/servicescache.c (cache_addserv): Make sure written is always
60455         initialized.
60457 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60459         * sysdeps/i386/i486/bits/atomic.h
60460         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60461         statement expression, so as to suppress "set but not used" warning.
60462         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60464         * string/strncat.c (STRNCAT): Use prototype definition.
60466         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60467         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60468         -Iprograms here.
60469         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60470         (localedef-modules): Add localedef.
60471         (locale-modules): Add locale.
60473         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60474         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60475         to avoid a warning.
60477 2011-08-14  David S. Miller  <davem@davemloft.net>
60479         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60480         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60482 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60484         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60485         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60486         * elf/rtld.c (dl_main): Set l_name of vDSO.
60487         Call _dl_show_scope when DL_DEBUG_SCOPES.
60488         (process_dl_debug): Recognize scopes flag and also set it for all.
60489         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60490         Declare _dl_show_scope.
60492         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60493         (do_dlopen): Pass caller_dlopen to dl_open.
60494         (__libc_dlopen_mode): Initialize caller_dlopen.
60496         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60497         of libc.  Make tolower call locale-independent.  Optimize a bit by
60498         using isdigit instead of isalnum.
60499         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60501 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60503         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60504         was a dependency or dynamically loaded.
60506 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60508         * intl/l10nflist.c: Allow architecture-specific pop function.
60509         * sysdeps/x86_64/l10nflist.c: New file.
60511         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60512         classification.
60514 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60516         * include/dirent.h: Add libc_hidden_proto for scandirat and
60517         scandirat64.  Don't declare __scandirat64.
60518         * dirent/scandirat.c: Add libc_hidden_def.
60519         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60520         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60522 2011-08-10  David S. Miller  <davem@davemloft.net>
60524         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60525         enum.
60526         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60527         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60528         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60530 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60532         * Versions.def [libc]: Add GLIBC_2.15.
60533         * dirent/Makefile (routines): Add scandirat and scandirat64.
60534         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60535         GLIBC_2.15.
60536         * dirent/dirent.h: Declare scandirat and scandirat64.
60537         * dirent/scandirat.c: New file.
60538         * dirent/scandirat64.c: New file.
60539         * sysdeps/wordsize-64/scandirat.c: New file.
60540         * sysdeps/wordsize-64/scandirat64.c: New file.
60541         * dirent/opendir.c: Define opendirat.
60542         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60543         using scandirat.
60544         * dirent/scandir64.c: Adjust for scandir.c change.
60545         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60546         __scandirat64, and __scandir_cancel_handler.
60547         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60548         additional parameter and use openat instead of open (outside of ld.so).
60549         Add new __opendir as wrapper around __opendirat.
60550         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60551         here without requiring old scandirat implementation.
60553 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60555         * dirent/scandir.c (cancel_handler): Renamed to
60556         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60557         defined.  Adjust users.
60558         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60559         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60561 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60563         * string/test-string.h (IMPL): Use __STRING to expand name and then
60564         stringify it.
60566         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60567         of cleanups.
60569 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60571         * string/Makefile: Update.
60572         (strop-tests): Append strncat.
60573         * string/test-wcscmp.c: New file.
60574         New comprehensive test for wcscmp.
60575         * string/test-strcmp.c: Update.
60576         (WIDE): New define.
60578 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60580         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60581         line.
60583 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60586         encoding to ACE if AI_IDN.
60588 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60591         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60593 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60595         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60596         Fix overflow bug in strncat.
60597         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60599         * string/test-strncat.c: Update.
60600         Add new tests for checking overflow bugs.
60602 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60604         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60605         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60606         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60607         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60608         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60609         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60610         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60611         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60612         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60614         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60615         (USE_AS_STRCAT): Define.
60616         Add strcat and strncat support.
60617         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60619 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60621         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60622         __n bigger than INT_MAX+1.
60623         (__strncmp_g): Likewise.
60625 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60627         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60628         * libio/stido.h: Likewise.
60630         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60631         (AF_NFC): Define.
60632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60633         (AF_NFC): Define.
60635         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60636         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60638         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60641         [BZ #13021]
60642         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60643         installed.
60645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60646         typo.
60647         (_dl_x86_64_save_sse): Likewise.
60649 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60652         OSXSAVE.
60653         (_dl_x86_64_save_sse): Likewise.
60655         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60657         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60659 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60662         change.
60663         (_dl_x86_64_save_sse): Use correct AVX check.
60665 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60667         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60668         bug in strncpy/strncat.
60669         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60671 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60673         * string/tester.c (test_strcat): Add tests for different alignments
60674         of source and destination.
60675         (test_strncat): Likewise.
60677 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60679         [BZ #12852]
60680         * posix/glob.c (glob): Check passed in values before using them in
60681         expressions to avoid some overflows.
60682         (glob_in_dir): Likewise.
60684         [BZ #13007]
60685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60686         check for AVX enablement so that we don't crash with old kernels and
60687         new hardware.
60688         * elf/tst-audit4.c: Add same checks here.
60689         * elf/tst-audit6.c: Likewise.
60691         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60693 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60695         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60697 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60699         * po/cs.po: Update from translation team.
60700         * po/bg.po: Likewise.
60702 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60704         * misc/sys/cdefs.h: Add support for const attribute.
60705         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60706         to gnu_dev_{major,minor,makedev} functions.
60708 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60710         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60712 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60714         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60715         strlen results.
60717 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60720         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60721         register in order to avoid conflicts with the soft frame pointer
60722         being held in r11 when necessary.
60723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60724         (INTERNAL_VSYSCALL_NCS): Likewise.
60726 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60728         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60729         * elf/dl-fini.c (_dl_fini): Adjust caller.
60730         * elf/dl-close.c (_dl_close_worker): Likewise.
60731         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60733 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60735         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60736         "aux_cache->nlibs < 0".
60738         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60739         in the reload-count case.
60741 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60744         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60745         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60746         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60747         * sysdeps/x86_64/multiarch/strcat.S: New file.
60748         * sysdeps/x86_64/multiarch/strncat.S: New file.
60749         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60750         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60751         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60752         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60753         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60754         (USE_AS_STRCAT): Define.
60755         Add strcat and strncat support.
60756         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60757         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60758         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60759         * string/strncat.c: Update.
60760         (USE_AS_STRNCAT): Define.
60761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60762         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60763         and i7.
60764         * sysdeps/x86_64/multiarch/init-arch.h
60765         (bit_Prefer_PMINUB_for_stringop): New.
60766         (index_Prefer_PMINUB_for_stringop): Likewise.
60767         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60768         bit_Prefer_PMINUB_for_stringop.
60770 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60772         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60773         buffer64.
60774         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60775         of casting of buffer.
60776         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60777         buffer32 and buffer64.
60778         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60779         writes instead of casting of buffer.
60780         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60781         buffer32.
60782         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60783         casting of buffer.
60785 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60787         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60789 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60791         * nscd/nscd.c (termination_handler): Don't do anything for a database
60792         if it has not yet been initialized.
60794 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60796         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60798 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60800         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60802 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60804         * po/nl.po: Update from translation team.
60805         * po/sv.po: Likewise.
60807 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60809         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60810         now disallowed by GCC.
60812         * configure.in (use-default-link): Default to yes if a test -shared
60813         link meets our qualifications.
60814         * configure: Regenerated.
60816         * config.make.in (output-format): New variable.
60817         * configure.in: Check for ld --print-output-format support.
60818         * configure: Regenerated.
60819         * Makerules ($(common-objpfx)format.lds)
60820         [$(output-format) != unknown]: Just use $(output-format),
60821         instead of the linker-script munging.
60823 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60825         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60826         of $(common-objpfx)shlib.lds.
60827         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60829         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60830         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60832         * configure.in (-z relro check): Adjust test code to add a large
60833         writable data section after it.
60834         * configure: Regenerated.
60836 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60838         * configure.in (-z relro check): Fix test code to make the variable
60839         truly const.
60840         * configure: Regenerated.
60842 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60844         * nscd/nscd.h (struct traced_file): Define.
60845         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60846         elements.  Add traced_files.
60847         (inotify_fd): Declare.
60848         (register_traced_file): Declare.
60849         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60850         (inotify_fd): Export.
60851         (resolv_conf_descr): Remove.
60852         (nscd_init): Move inotify descriptor creation to main.
60853         Don't register files for notification here.
60854         (register_traced_file): New function.
60855         (invalidate_cache): Don't use reset_res to determine whether to call
60856         res_init, go through the list of registered files.
60857         (main_loop_poll): The inotify descriptors are now stored in the
60858         structures for the traced files.
60859         (main_loop_epoll): Likewise
60860         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60861         to __nss_disable_nscd.
60862         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60863         for a database anymore.  Check the records for all the registered
60864         files instead.
60865         * nss/Makefile (libnss_files-routines): Add files-init.
60866         (libnss_db-routines): Add db-init.
60867         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60868         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60869         * nss/nss_db/db-init.c: New file.
60870         * nss/nss_files/files-init.c: New file.
60871         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60872         __nss_lookup_function.
60873         (__nss_lookup_function): Call nss_load_library.
60874         (nss_load_all_libraries): New function.
60875         (__nss_disable_nscd): Take parameter with callback function for files
60876         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60877         used for the cached services.
60878         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60879         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60880         options for features to all the files in nscd.
60882         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60884 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60886         * csu/elf-init.c (__libc_csu_init): Comment typo.
60888 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60890         * po/pl.po: Update from translation team.
60891         * po/ja.po: Likewise.
60892         * po/ru.po: Likewise.
60893         * po/ko.po: Likewise.
60894         * po/fr.po: Likewise.
60896 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60898         * configure.in (.ctors/.dtors header and trailer check):
60899         Use an empirical test on a built program.
60900         * configure: Regenerated.
60902         * configure.in (-z relro check): Use an empirical test on a built DSO.
60903         Detect, but do not require, on ia64.
60904         * configure: Regenerated.
60906         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60907         Update tests that use readelf to use $READELF instead.
60908         * configure: Regenerated.
60910 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60912         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60913         if the result is not used.
60915 2011-07-05  Andreas Jaeger  <aj@suse.de>
60917         [BZ#9696]
60918         * stdlib/tst-strtod.c: Add testcase.
60920 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60922         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60923         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60924         The latter has a higher limit.  Take additional parameter to pass to
60925         the new function.
60926         (__pathconf): Pass file to __statfs_link_max.
60927         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60928         __statfs_link_max.
60929         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60930         __statfs_link_max.
60932         [BZ #12868]
60933         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60934         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60935         Handle Lustre.
60936         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60937         (__statfs_filesize_max): Likewise.
60938         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60940 2011-07-05  Andreas Jaeger  <aj@suse.de>
60942         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60944 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60946         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60947         `status' variable.
60948         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60949         Likewise.
60951 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60953         * Makefile (strop-tests): Add strncat.
60954         * string/test-strncat.c: New file.
60956 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60958         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60960 2011-06-21  Andreas Jaeger  <aj@suse.de>
60962         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60963         Copy rule from iconvdata/Makefile.
60965 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60967         [BZ #12922]
60968         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60969         but no long options are defined, just return 'W'.
60971 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60973         [BZ #9696]
60974         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60976 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60978         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60979         netgroups to read.
60980         (innetgr): Likewise.
60982 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60984         * config.make.in (install_root): Default to $(DESTDIR).
60986 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60988         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60990 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60992         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60994         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60995         containing directory rather than embedding absolute directory names.
60997         * scripts/check-local-headers.sh: Rewritten using awk.
60998         Match by word, not by line.  Print error messages for matches.
60999         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61001         * Makerules [shlib-lds-flags empty]:
61002         ($(common-objpfx)libc_pic.opts): New target.
61003         ($(common-objpfx)libc_pic.os.clean): New target.
61004         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61006         * config.make.in (OBJCOPY): New variable.
61007         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61008         * configure: Regenerated.
61010         * config.make.in (use-default-link): New variable.
61011         * configure.in (use_default_link): Grok --with-default-link to set it.
61012         * configure: Regenerated.
61013         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61014         (shlib-lds, shlib-lds-flags): Define to empty.
61016         * Makerules (shlib-lds): New variable.
61017         (shlib-lds-flags): New variable.
61018         (build-shlib, build-moduile, build-module-asneeded): Use it.
61019         ($(common-objpfx)libc.so): Use $(shlib-lds).
61020         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61021         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61023         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61024         DT_FLAGS/DT_FLAGS_1 with zero flags.
61026         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61027         linker script munging.
61029 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61031         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61032         as 128-bit value.
61033         * crypt/sha512.c (sha512_process_block): Perform total addition using
61034         128-bit if possible.
61035         (__sha512_finish_ctx): Likewise.
61036         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61037         as 64-bit value.
61038         * crypt/sha256.c (SWAP64): Define.
61039         (sha256_process_block): Perform total addition using 64-bit if
61040         possible.
61041         (__sha256_finish_ctx): Likewise.
61043 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61045         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61046         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61047         * nscd/hstcache.c (cache_addhst): Likewise.
61048         * nscd/grpcache.c (cache_addgr): Likewise.
61049         * nscd/aicache.c (addhstaiX): Likewise
61050         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61052 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61054         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61055         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61056         * nscd/hstcache.c (cache_addhst): Likewise.
61057         * nscd/grpcache.c (cache_addgr): Likewise.
61058         * nscd/aicache.c (addhstaiX): Likewise
61060 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61062         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61063         domain only when needed.
61065 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61068         is always restored.
61070 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61072         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61073         are re-adding the entry.
61074         * nscd/servicescache.c (cache_addserv): Likewise.
61076 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61078         * sysdeps/generic/dl-irel.h: fix protection against multiple
61079         inclusions.
61080         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61082 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61084         [BZ #12935]
61085         * malloc/memusage.sh: Fix quoting in message.
61086         * debug/xtrace.sh: Likewise.
61088         * configure.in: Remove support for --experimental-malloc option, make
61089         it the default.
61090         * config.make.in: Likewise.
61091         * malloc/Makefile: Likewise.
61093 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61095         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61096         two-byte characters.
61098 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61100         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61101         AC_CACHE_CHECK invocation.
61102         * configure: Regenerated.
61104         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61106 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61108         [BZ #12350]
61109         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61110         bit from old_res_options.
61112         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61114         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61115         value type for setfct.
61117 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61119         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61120         __gettimeofday instead of gettimeofday.
61122 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61124         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61126 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61128         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61130         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61131         info.
61133 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61136         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61137         strcpy-sse2-unaligned strncpy-sse2-unaligned
61138         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61139         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61140         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61141         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61142         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61143         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61144         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61145         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61146         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61147         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61148         (STRCPY): Support SSE2 and SSSE3 versions.
61150 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61152         [BZ #12874]
61153         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61154         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61155         kernels which artificially limit size of requests.
61157 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61160         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61161         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61162         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61163         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61164         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61165         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61166         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61167         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61168         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61169         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61170         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61171         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61172         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61173         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61175         Enable unaligned load optimization for Intel Core i3, i5 and i7
61176         processors.
61177         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61178         Define.
61179         (index_Fast_Unaligned_Load): Define.
61180         (HAS_FAST_UNALIGNED_LOAD): Define.
61182 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61184         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61186 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61188         [BZ #12907]
61189         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61190         until it is clear that the information is realy needed.
61191         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61193 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61197 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61200         /sys/devices/system/cpu/online if it is usable.
61202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61203         reading the information from the /proc filesystem to once a second.
61205 2011-06-21  Andreas Jaeger  <aj@suse.de>
61207         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61208         NULL after inclusion of kernel headers.
61210 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61212         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61213         calls to internal_setent.
61215         [BZ #12885]
61216         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61217         addresses using gethostbyname4_r ignore IPv4 addresses.
61219         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61220         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61222         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61224 2011-06-20  David S. Miller  <davem@davemloft.net>
61226         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61227         inclusions.
61228         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61230         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61231         (elf_irel): Use it.
61232         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61233         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61234         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61235         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61236         * sysdeps/x86_64/dl-irel.h: Likewise.
61238         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61239         * elf/dl-sym.c: Likewise.
61241 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61243         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61244         need to dereference resplen2.
61246 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61248         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61250 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61252         * Makeconfig: Define vardbdir and inst_vardbdir.
61253         * nss/Makefile: Add rules to install db-Makefile.
61255         * nss/nss_db/db-XXX.c: Cleanup.
61257         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61258         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61259         GLIBC_PRIVATE.
61260         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61261         * nss/makedb.c: Implement -g option to specify that value strings
61262         are generated and should not be added to table iterated over for
61263         get*ent calls.
61264         * nss/nss_db/db-initgroups.c: New file.
61266         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61267         interface.
61269         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61270         (internal_getgrouplist): Adjust to name change.
61271         Update use_initgroups_entry if this is not the first call.
61272         * nss/databases.def: Add initgroups entry.
61274         * nss/makedb.c (compute_tables): Check result of multiple hash table
61275         sizes to minimize maximum chain length.
61277 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61279         * Versions.def: Add entry for libnss_db.
61280         * shlib-versions: Likewise.
61281         * nss/Makefile: Add rules to build libnss_db.
61282         * nss/Versions: Add libnss_db information.  Organize libnss_files
61283         entries better.
61284         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61285         makedb progra.  Some minor improvements to generate smaller files.
61286         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61287         here from...
61288         * nss/makedb.c: ...here.
61289         Improve database format to be smaller and require less memory at
61290         runtime.
61291         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61292         db anymore.
61293         * nss/nss_db/db-netgrp.c: Likewise.
61294         * nss/nss_db/db-open.c: Likewise.
61295         * nss/nss_files/flies-XXX.x: Adjust comments.
61296         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61297         * nss/nss_files/files-grp.c: Likewise.
61298         * nss/nss_files/files-hosts.c: Likewise.
61299         * nss/nss_files/files-network.c: Likewise.
61300         * nss/nss_files/files-proto.c: Likewise.
61301         * nss/nss_files/files-pwd.c: Likewise.
61302         * nss/nss_files/files-rpc.c: Likewise.
61303         * nss/nss_files/files-service.c: Likewise.
61304         * nss/nss_files/files-sgrp.c: Likewise.
61305         * nss/nss_files/files-spwd.c: Likewise.
61306         * nss/nss_db/db-alias.c: Removed.
61307         * nss/nss_db/dummy-db.h: Removed.
61309 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61311         * nss/makedb.c: Rewritten to not use database library.
61312         * nss/Makefile: Update to build new makedb program.
61314 2011-06-14  Andreas Jaeger  <aj@suse.de>
61316         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61317         memset declaration.
61319 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61322         tmpbuf.
61324 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61326         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61327         * elf/Makefile ($(objpfx)ld.so): Likewise.
61329         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61330         Don't list ld.so twice in dependencies.
61332         * posix/bug-regex31.c: Include <stdlib.h>.
61334         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61336         * nis/nss_compat/compat-spwd.c
61337         (getspent_next_nss_netgr): Remove unused variable.
61338         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61340         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61341         nonmembers" output to use the right array.
61343         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61345         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61347         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61348         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61349         * catgets/gencat.c (read_input_file): Likewise.
61350         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61352         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61353         variable definition inside #if's controlling its use.
61355         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61357         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61359         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61361         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61362         unreachable code.
61364         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61366         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61367         * configure: Regenerated.
61369         * Makerules: Revert last change.
61370         * elf/Makefile: Likewise.
61372 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61374         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61375         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61376         (reloc-link): Likewise.
61378 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61380         * elf/Makefile: Add rules to build pldd.
61381         * elf/pldd.c: New file.
61382         * elf/pldd-xx.c: New file.
61384 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61386         * version.h: Update for 2.15 development version.
61388 2011-06-07  David S. Miller  <davem@davemloft.net>
61390         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61391         ifuncs.
61392         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61393         elf_machine_lazy_rel): Likewise.
61394         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61395         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61396         elf_machine_lazy_rel): Likewise.
61397         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61398         dl_hwcap via passed in argument.
61399         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61400         Likewise.
61402 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61404         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61406 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61408         [BZ #12849]
61409         * manual/fdl-1.1.texi: New file, verbatim from:
61410         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61411         * manual/lgpl-2.1.texi: New file, verbatim from:
61412         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61413         * manual/Makefile (licenses): New variable, list those new file names.
61414         (texis): Use it.
61415         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61417         * manual/fdl.texi: File removed.
61418         * manual/lesser.texi: File removed.
61419         * manual/libc.texinfo (Copying, Documentation License):
61420         Use new @include file names, put @appendix directive before @include.
61422 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61424         [BZ #12841]
61425         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61426         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61427         (mq_open): Add __NTH.
61429 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61432         Assume Intel Core i3/i5/i7 processor if AVX is available.
61434 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61436         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61437         typo.
61439 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61441         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61442         memory.  Use alloca_account.  Fix memory leak when retrying.
61444 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61446         * version.h (RELEASE): Bump for 2.14 release.
61447         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61449         * config.make.in (RANLIB): Remove entry.
61451 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61453         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61454         (libc.pot): Work around missing support for .ksh extension in xgettext.
61456         [BZ #12684]
61457         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61458         if both request failed.
61459         (send_dg): In case of server errors clear resplen or *resplen2.
61461         [BZ #12454]
61462         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61463         when there are multiple maps.
61464         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61465         (_dl_fini): Remove test here.
61467         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61469 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61471         [BZ #12350]
61472         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61473         bit from old_res_options.
61474         (gaih_inet): Likewise.
61476         [BZ #11099]
61477         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61478         as signed.
61480         * resolv/res_init.c (res_setoptions): Make the code more compact.
61482         [BZ #11558]
61483         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61484         set RES_USEVC.
61486         [BZ #11634]
61487         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61489         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61491         [BZ #11781]
61492         * malloc/malloc.h: Declare malloc hook variables as volatile.
61494         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61495         in last patch.
61497         [BZ #11799]
61498         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61499         raise in the comment.
61500         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61501         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61502         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61504 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61506         [BZ #12811]
61507         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61508         grow the buffers more if it already has to be sufficient.
61509         (build_wcs_upper_buffer): Likewise.
61510         * posix/regexec.c (check_matching): Likewise.
61511         (clean_state_log_if_needed): Likewise.
61512         (extend_buffers): Don't enlarge buffers beyond size of the input
61513         buffer.
61514         Patches mostly by Emil Wojak <emil@wojak.eu>.
61515         * posix/bug-regex32.c: New file.
61516         * posix/Makefile (tests): Add bug-regex32.
61518         * locale/findlocale.c (_nl_find_locale): Return right away if
61519         _nl_explode_name failed.
61520         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61522         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61524         * debug/xtrace.sh: Unify messages.
61525         * malloc/memusage.sh: Likewise.
61527         [BZ #12813]
61528         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61529         time symbol from vDSO.  Substitute with vsyscall if not available.
61530         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61531         __vdso_time.
61533         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61534         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61535         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61536         Add sendmmsg and internal_sendmmsg.
61537         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61538         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61539         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61541         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61542         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61543         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61545 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61547         [BZ #12813]
61548         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61549         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61550         available.
61551         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61552         __vdso_getcpu.
61554         [BZ #12814]
61555         * iconvdata/Makefile (tests): Add bug-iconv9.
61556         * iconvdata/bug-iconv9.c: New file.
61558 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61560         [BZ #12814]
61561         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61563 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61565         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61566         (struct user_regs_struct): Change intcs field back to cs.
61568 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61570         * po/ja.po: Update from translation team.
61572 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61574         [BZ #12795]
61575         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61576         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61578 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61580         * stdlib/longlong.h: Update from GCC.
61582 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61584         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61585         parameter name.
61586         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61587         Add parameter name.
61588         (__sysconf): Pass it down.
61590 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61592         [BZ #12671]
61593         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61594         some situations.
61595         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61596         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61597         add in in __libc_use_alloca calls.  Adjust callers.
61598         (glob): Use malloc in some situations.
61600         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61601         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61602         pltexit.
61604 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61606         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61607         and CLOCK_BOOTTIME_ALARM.
61609         [BZ #12782]
61610         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61611         is returned.
61613         * string/_strerror.c (__strerror_r): Print negative errors as signed
61614         numbers.
61616         [BZ #12777]
61617         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61618         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61619         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61621         * configure.in: Fix typo in redirection and correct removal of test
61622         files in two cases.
61624         [BZ #12788]
61625         * locale/setlocale.c (new_composite_name): Fix test to check for
61626         identical name of all categories.
61628         [BZ #12792]
61629         * libio/filedoalloc.c (local_isatty): New function.
61630         (_IO_file_doallocate): Use local_isatty.
61631         * stdio-common/perror.c (perror): In case a new stream is used
61632         forward the stream error.
61633         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61634         error flag.
61636 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61638         [BZ #11869]
61639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61640         alloca.
61641         * include/alloca.h (extend_alloca_account): Define.
61643         [BZ #11857]
61644         * posix/regex.h: Fix comments with documentation of user-accessible
61645         fields after compilation and describe correct free'ing of pattern
61646         after re_compile_pattern.
61647         Patch by Reuben Thomas <rrt@sc3d.org>.
61649 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61651         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61652         and -mno-altivec to prevent the compiler from using Altivec and/or
61653         VSX instructions when the corresponding registers are not available.
61655 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61657         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61659 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61661         * libio/freopen.c (freopen): Use __dup2, not dup2.
61662         * libio/freopen64.c (freopen64): Likewise.
61664 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61666         [BZ #12775]
61667         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61668         * math/Makefile (tests): Add test-powl.
61669         (CFLAGS-test-powl.c): Define.
61670         * math/test-powl.c: New file.
61672 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61674         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61676 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61678         [BZ #11837]
61679         * iconvdata/gb18030.c: Update to GB18020-2005.
61681 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61683         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61684         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61685         Patch by Aharon Robbins <arnold@skeeve.com>.
61687         [BZ #11892]
61688         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61689         on the stack.
61691         [BZ #11895]
61692         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61693         through underflows.
61695         [BZ #12766]
61696         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61697         point to strings before performing equality test for error_one_per_line
61698         mode.
61700         [BZ #11697]
61701         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61703         [BZ #11820]
61704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61705         (struct user_fpregs_struct): Avoid __uint*_t types.
61707         [BZ #6420]
61708         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61709         symbol info.  Use it instead of calling _dl_addr locally.
61710         (lock_and_info): New function.
61711         (tr_freehook): Call lock_and_info and pass symbol info as additional
61712         parameter to tr_where.
61713         (tr_mallochook): Likewise.
61714         (tr_reallochook): Likewise.
61715         (tr_memalignhook): Likewise.
61717         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61718         used and couldn't be at all thread-safe.
61720 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61722         * libio/freopen.c (freopen): Don't close old file descriptor
61723         before the new one is opened.  Instead dup the new file descriptor
61724         to the old one after the new stream is created.
61725         * libio/freopen64.c (freopen64): Likewise.
61726         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61727         * libio/fileops.c (_IO_new_file_close_it): Handle new
61728         _IO_FLAGS2_NOCLOSE flag.
61729         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61730         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61731         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61732         _IO_FLAGS2_NOCLOSE flag.
61733         * include/unistd.h: Add hidden_proto for dup3.
61734         Define __have_dup3.
61735         * io/dup3.c: Define hidden symbol.
61736         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61738         [BZ #7101]
61739         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61740         when an incomplete long option is used.
61741         * posix/tst-getopt_long1.c: New file.
61742         * posix/Makefile (tests): Add tst-getopt_long1.
61744         [BZ #10138]
61745         * scripts/config.guess: Update from autoconf-2.68.
61746         * scripts/config.sub: Likewise.
61748         [BZ #10157]
61749         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61750         tests into ...
61751         (has_cpuclock): ...this.  New function.
61752         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61753         macro here based on has_cpuclock code.
61755         [BZ #10149]
61756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61757         First byte (not low byte) is now always NUL.
61758         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61760         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61761         Use non-cancelable interfaces.
61763         [BZ #9809]
61764         * locale/iso-639.def: Add entry for Sorani.
61766         [BZ #11901]
61767         * include/stdlib.h: Move include protection to the right place.
61768         Define abort_msg_s.  Declare __abort_msg with it.
61769         * stdlib/abort.c (__abort_msg): Adjust type.
61770         * assert/assert.c (__assert_fail_base): New function.  Majority
61771         of code from __assert_fail.  Allocate memory for __abort_msg with
61772         mmap.
61773         (__assert_fail): Now call __assert_fail_base.
61774         * assert/assert-perr.c: Remove bulk of implementation.  Use
61775         __assert_fail_base.
61776         * include/assert.hL Declare __assert_fail_base.
61777         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61778         mmap.
61779         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61781 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61783         [BZ #11952]
61784         [BZ #12453]
61785         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61786         until all modules are registered in the DTV.
61787         * elf/Makefile: Add rules to build and run tst-tls19.
61788         * elf/tst-tls19.c: New file.
61789         * elf/tst-tls19mod1.c: New file.
61790         * elf/tst-tls19mod2.c: New file.
61791         * elf/tst-tls19mod3.c: New file.
61792         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61794         [BZ #12083]
61795         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61796         correctly.
61798         [BZ #12601]
61799         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61800         two-byte sequence errors.
61801         * iconvdata/Makefile (tests): Add bug-iconv8.
61802         * iconvdata/bug-iconv8.c: New file.
61804         [BZ #12626]
61805         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61806         buf2 definition.
61808         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61810         [BZ #12432]
61811         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61812         (dummy_getcfa): New function.
61813         (init): Get _Unwind_GetCFA address, use dummy if not found.
61814         (backtrace_helper): In recursion check, also check whether CFA changes.
61815         (__backtrace): Completely initialize arg.
61817         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61818         storing incomplete byte sequence in state object.  Avoid testing for
61819         guaranteed too small input if we know there is enough data available.
61821 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61823         * Makeconfig (+link-pie): Indent.
61824         * Rules (binaries-pie): Define if $(have-fpie) and
61825         $(build-shared).
61826         (binaries-shared): Also filter out $(binaries-pie).
61827         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61828         * nscd/Makefile (others-pie): Add nscd.
61829         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61830         ($(objpfx)nscd): Remove command override.
61831         * login/Makefile (others-pie): Add pt_chown.
61832         ($(objpfx)pt_chown): Remove command override.
61833         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61834         remove command overrides.
61836 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61838         * libio/tst_putwc.c: Fix error messages.
61840         [BZ #12724]
61841         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61842         currently writing and seek to current position when not.
61843         * libio/Makefile (tests): Add bug-fclose1.
61844         * libio/bug-fclose1.c: New file.
61846 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61848         [BZ #12511]
61849         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61850         don't set DF_1_NODELETE here.
61851         (do_lookup_x): When entering new entry test for copy relocation
61852         and if necessary set DF_1_NODELETE flag.
61853         * elf/tst-unique4.cc: New file.
61854         * elf/tst-unique4.h: New file.
61855         * elf/tst-unique4lib.cc: New file.
61856         * elf/Makefile: Add rules to build and run tst-unique4.
61857         Patch by Piotr Bury <pbury@goahead.com>.
61859 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61861         [BZ #12052]
61862         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61864         [BZ #12625]
61865         * misc/mntent_r.c (addmntent): Flush the stream after the output
61867         [BZ #12393]
61868         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61869         (is_trusted_path_normalize): Skip initial colon.  Append slash
61870         to empty buffer.  Duplicate is_trusted_path code but allow
61871         constructed patch to be prefix.
61872         (is_dst): Allow $ORIGIN followed by /.
61873         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61874         Correct testing of result of is_trusted_path_normalize
61875         (decompose_rpath): Fix warning.
61877 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61879         [BZ #11257]
61880         * grp/initgroups.c (internal_getgrouplist): When we found the service
61881         list through the initgroups entry in nsswitch.conf do not always
61882         continue on a successful lookup.  Don't always use the
61883         __nss_group_database value if it is set.
61884         * nss/nsswitch.conf (initgroups): Change action for successful db
61885         lookup to continue for compatibility.
61887 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61889         [BZ #11532]
61890         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61891         and CP774 modules.
61892         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61893         and CP774 modules.
61894         * iconvdata/tst-tables.sh: Likewise.
61895         * iconvdata/cp770.c: New file.
61896         * iconvdata/cp771.c: New file.
61897         * iconvdata/cp772.c: New file.
61898         * iconvdata/cp773.c: New file.
61899         * iconvdata/cp774.c: New file.
61900         * iconvdata/testdata/CP770: New file.
61901         * iconvdata/testdata/CP770..UTF8: New file.
61902         * iconvdata/testdata/CP771: New file.
61903         * iconvdata/testdata/CP771..UTF8: New file.
61904         * iconvdata/testdata/CP772: New file.
61905         * iconvdata/testdata/CP772..UTF8: New file.
61906         * iconvdata/testdata/CP773: New file.
61907         * iconvdata/testdata/CP773..UTF8: New file.
61908         * iconvdata/testdata/CP774: New file.
61909         * iconvdata/testdata/CP774..UTF8: New file.
61911         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61912         END CHARMAP line.
61913         * iconvdata/gen-8bit-gap.sh: Likewise.
61914         * iconvdata/gen-8bit.sh: Likewise.
61916         * locale/iso-639.def: Add ary entry.
61918         [BZ #11258]
61919         * locale/C-translit.h.in: Add U20A1 transliteration.
61921         [BZ #12178]
61922         * locale/iso-639.def: Add wae entry.
61923         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61925         [BZ #12545]
61926         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61927         for n.
61929         [BZ #12711]
61930         * locale/C-translit.h.in: Add entry for U20B9.
61931         Patch by pravin.d.s@gmail.com.
61933 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61935         [BZ #12713]
61936         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61937         ENAMETOOLONG use generic getcwd.
61938         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61939         in rtld.  Use *stat64.
61940         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61941         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61942         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61943         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61944         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61945         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61946         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61947         __fstatat64 macros.
61948         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61949         * dirent/rewinddir.c: Add libc_hidden_def.
61950         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61951         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61953         * include/dirent.h (__alloc_dir): Add flags parameter.
61954         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61955         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61956         __alloc_dir.
61957         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61958         from fdopendir if O_CLOEXEC is already set.
61960 2011-03-15  Alan Modra  <amodra@gmail.com>
61962         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61963         l_tls_firstbyte_offset non-zero.  Save padding offset in
61964         l_tls_firstbyte_offset for later use.
61965         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61966         freeing static tls block.
61968 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61970         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61971         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61972         being defined by the kernel headers.
61974 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61976         [BZ #12734]
61977         * resolv/resolv.h: Define RES_NOTLDQUERY.
61978         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61979         no-tld-query and set RES_NOTLDQUERY.
61980         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61981         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61982         modern BIND to search name as TLD unless forbidden.
61984 2011-05-07  Petr Baudis  <pasky@suse.cz>
61985             Ulrich Drepper  <drepper@gmail.com>
61987         [BZ #12393]
61988         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61989         (is_trusted_path): ...to here.
61990         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61991         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61992         using is_trusted_path_normalize() in setuid scripts.
61994 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61996         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61997         __BEGIN/__END_DECLS.
61999 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62001         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62002         NSS_STATUS_NOTFOUND if no record was found.
62004 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62006         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62007         (headers-not-in-tirpc): Remove rpc/netdb.h
62008         * resolv/netdb.h: Revert last change.
62010 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62012         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62013         circular dependency between libgcc.a and libc.a.
62015 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62017         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62018         * nis/Makefile: Don't install rpcsvc/*.
62019         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62020         instead of <rpc/types.h>.
62021         (MAXHOSTNAMELEN): Define.
62023 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62025         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62027 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62029         [BZ #12714]
62030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62031         gethostbyname4_r when IPv6 results are possible.
62033 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62035         [BZ #12723]
62036         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62037         _PC_PIPE_BUF handling.
62039 2011-04-30  Bruno Haible  <bruno@clisp.org>
62041         [BZ #12717]
62042         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62043         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62044         to 'int'.
62045         * inet/getnameinfo.c (getnameinfo): Likewise.
62047 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62049         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62050         to groups setting in database lookup.
62051         * nss/nsswitch.conf: Add initgroups entry.
62053 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62055         [BZ #12685]
62056         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62057         mode string.
62058         Patch by Eric Blake <eblake@redhat.com>.
62060 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62062         * sunrpc/Makefile (need-export-routines): Add svc_run.
62063         (routines): Remove svc_run.
62064         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62065         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62066         * sunrpc/svc_run.c (svc_run): Likewise.
62067         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62069 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62071         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62072         problem in reallocation in last patch.
62074 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62076         * sunrpc/Makefile: Move inclusion of Rules.
62078 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62080         * nss/nss_files/files-initgroups.c: New file.
62081         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62082         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62083         _nss_files_initgroups_dyn.
62085 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62087         * elf/elf.h (R_ARM_IRELATIVE): Define.
62089 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62091         * po/ru.po: Update from translation team.
62093 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62095         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62096         dependencies.
62098 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62100         [BZ #12653]
62101         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62102         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62104         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62105         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62107 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62109         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62110         differing bytes.
62111         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62112         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62113         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62115 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62117         [BZ #12420]
62118         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62119         storing it.
62120         * stdlib/bug-getcontext.c: New file.
62121         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62123 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62125         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62126         instructions into .machine "z9-109".
62127         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62128         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62130 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62132         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62133         between environment variables and auxiliary vector.
62135 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62137         * Makefile: Add rules to build linkobj/libc.so.
62138         * include/libc-symbols.h: Define libc_hidden_nolink.
62139         * include/rpc/auth.h: Mark functions which are to be hidden.
62140         * include/rpc/auth_des.h: Likewise.
62141         * include/rpc/auth_unix.h: Likewise.
62142         * include/rpc/clnt.h: Likewise.
62143         * include/rpc/des_crypt.h: Likewise.
62144         * include/rpc/key_prot.h: Likewise.
62145         * include/rpc/pmap_clnt.h: Likewise.
62146         * include/rpc/pmap_prot.h: Likewise.
62147         * include/rpc/pmap_rmt.h: Likewise.
62148         * include/rpc/rpc_msg.h: Likewise.
62149         * include/rpc/svc.h: Likewise.
62150         * include/rpc/svc_auth.h: Likewise.
62151         * include/rpc/xdr.h: Likewise.
62152         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62153         * nss/Makefile: Likewise.
62154         * sunrpc/Makefile: Don't install headers.  Build library with normal
62155         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62156         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62157         for the compat linking library.  Remove use of INTDEF/INTUSE.
62158         * sunrpc/auth_none.c: Likewise.
62159         * sunrpc/auth_unix.c: Likewise.
62160         * sunrpc/authdes_prot.c: Likewise.
62161         * sunrpc/authuxprot.c: Likewise.
62162         * sunrpc/clnt_gen.c: Likewise.
62163         * sunrpc/clnt_perr.c: Likewise.
62164         * sunrpc/clnt_raw.c: Likewise.
62165         * sunrpc/clnt_simp.c: Likewise.
62166         * sunrpc/clnt_tcp.c: Likewise.
62167         * sunrpc/clnt_udp.c: Likewise.
62168         * sunrpc/clnt_unix.c: Likewise.
62169         * sunrpc/des_crypt.c: Likewise.
62170         * sunrpc/des_soft.c: Likewise.
62171         * sunrpc/get_myaddr.c: Likewise.
62172         * sunrpc/key_call.c: Likewise.
62173         * sunrpc/key_prot.c: Likewise.
62174         * sunrpc/netname.c: Likewise.
62175         * sunrpc/pm_getmaps.c: Likewise.
62176         * sunrpc/pm_getport.c: Likewise.
62177         * sunrpc/pmap_clnt.c: Likewise.
62178         * sunrpc/pmap_prot.c: Likewise.
62179         * sunrpc/pmap_prot2.c: Likewise.
62180         * sunrpc/pmap_rmt.c: Likewise.
62181         * sunrpc/publickey.c: Likewise.
62182         * sunrpc/rpc_cmsg.c: Likewise.
62183         * sunrpc/rpc_common.c: Likewise.
62184         * sunrpc/rpc_dtable.c: Likewise.
62185         * sunrpc/rpc_prot.c: Likewise.
62186         * sunrpc/rpc_thread.c: Likewise.
62187         * sunrpc/rtime.c: Likewise.
62188         * sunrpc/svc.c: Likewise.
62189         * sunrpc/svc_auth.c: Likewise.
62190         * sunrpc/svc_authux.c: Likewise.
62191         * sunrpc/svc_raw.c: Likewise.
62192         * sunrpc/svc_run.c: Likewise.
62193         * sunrpc/svc_simple.c: Likewise.
62194         * sunrpc/svc_tcp.c: Likewise.
62195         * sunrpc/svc_udp.c: Likewise.
62196         * sunrpc/svc_unix.c: Likewise.
62197         * sunrpc/svcauth_des.c: Likewise.
62198         * sunrpc/xcrypt.c: Likewise.
62199         * sunrpc/xdr.c: Likewise.
62200         * sunrpc/xdr_array.c: Likewise.
62201         * sunrpc/xdr_float.c: Likewise.
62202         * sunrpc/xdr_intXX_t.c: Likewise.
62203         * sunrpc/xdr_mem.c: Likewise.
62204         * sunrpc/xdr_rec.c: Likewise.
62205         * sunrpc/xdr_ref.c: Likewise.
62206         * sunrpc/xdr_sizeof.c: Likewise.
62207         * sunrpc/xdr_stdio.c: Likewise.
62209 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62211         [BZ #12650]
62212         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62213         * sysdeps/ia64/dl-tls.h: Likewise.
62214         * sysdeps/powerpc/dl-tls.h: Likewise.
62215         * sysdeps/s390/dl-tls.h: Likewise.
62216         * sysdeps/sh/dl-tls.h: Likewise.
62217         * sysdeps/sparc/dl-tls.h: Likewise.
62218         * sysdeps/x86_64/dl-tls.h: Likewise.
62219         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62221 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62223         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62224         rpath element also skip the following colon.
62225         (expand_dynamic_string_token): Add is_path parameter and pass
62226         down to DL_DST_REQUIRED and _dl_dst_substitute.
62227         (decompose_rpath): Call expand_dynamic_string_token with
62228         non-zero is_path.  Ignore empty rpaths.
62229         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62230         with zero is_path.
62232 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62235         Make cancelable.
62237 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62239         [BZ #12655]
62240         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62241         Patch by Filipe David Manana <fdmanana@apache.org>.
62243 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62246         Maintain aligned stack.
62247         (CHECK_RSP): Remove unused macro.
62249 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62251         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62252         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62254 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62256         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62258         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62260 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62262         [BZ #12518]
62263         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62264         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62265         * sysdeps/x86_64/memmove.c: New file.
62266         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62267         (memcpy): Renamed to ...
62268         (__new_memcpy): This.
62269         (memcpy): Provide GLIBC_2_14 memcpy.
62270         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62271         (memcpy): Provide GLIBC_2_2_5 memcpy.
62273 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62275         [BZ #12631]
62276         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62278 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62280         * misc/syncfs.c: New file.
62281         * misc/Makefile (routines): Add syncfs.
62282         * posix/unistd.h: Declare syncfs.
62283         * sysdeps/unix/syscalls.list: Add syncfs.
62285 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62287         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62288         open_by_handle_at.
62289         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62290         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62292         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62293         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62294         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62295         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62297 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62299         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62300         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62301         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62302         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62303         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62305         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62307         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62308         sync_file_range.c with -fexceptions.
62309         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62310         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62311         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62312         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62313         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62314         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62316         sync_file_range as cancellation point
62317         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62318         now a wrapper around __call_sync_file_range with cancellation handling.
62319         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62320         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62321         function name to __call_sync_file_range.
62322         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62323         Add call_sync_file_range.
62325 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62328         bits/timex.h.
62330 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62332         * iconv/iconv.h: Fix typo in comment.
62333         * io/fcntl.h: Likewise.
62334         * libio/stdio.h: Likewise.
62335         * posix/spawn.h: Likewise.
62336         * posix/unistd.h: Likewise.
62337         * stdlib/stdlib.h: Likewise.
62338         * time/time.h: Likewise.
62339         * wcsmbs/wchar.h: Likewise.
62341         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62342         open_by_handle): Add.
62343         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62344         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62345         Augment a few comments.
62346         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62347         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62348         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62349         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62350         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62351         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62352         open_by_handle.
62354         * io/fcntl.h (AT_EMPTY_PATH): Define.
62356 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62358         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62359         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62360         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62361         to...
62362         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62363         * Versions.def: Add GLIBC_2.14.
62364         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62365         Export.
62367 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62369         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62370         round counter.
62371         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62373 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62375         [BZ #12597]
62376         * string/test-strncmp.c (do_page_test): New function.
62377         (check2): Likewise.
62378         (test_main): Call check2.
62379         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62381 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62383         [BZ #12587]
62384         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62385         Handle cache information in CPU leaf 4.
62386         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62388 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62390         [BZ #12583]
62391         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62392         character representation.
62393         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62395 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62397         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62398         END(__isnan) to END(__isnanf) to match function entry point/label
62399         EALIGN(__isnanf,...).
62401 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62403         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62405 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62407         [BZ #12510]
62408         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62409         copy from the symbol referenced in the relocation to initialize the
62410         used variable.
62411         Patch by Piotr Bury <pbury@goahead.com>.
62412         * elf/Makefile: Add rules to build and tst-unique3.
62413         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62414         * elf/tst-unique3.cc: New file.
62415         * elf/tst-unique3.h: New file.
62416         * elf/tst-unique3lib.cc: New file.
62417         * elf/tst-unique3lib2.cc: New file.
62419         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62421 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62423         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62424         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62425         to _start.
62427 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62429         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62430         to-be-loaded object along a path to loader is ld.so.
62432 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62433             Ulrich Drepper  <drepper@gmail.com>
62435         * sysdeps/x86_64/memset.S: After aligning destination, code
62436         branches to different locations depending on the value of
62437         misalignment, when multiarch is enabled. Fix this.
62439 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62441         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62442         Set _x86_64_preferred_memory_instruction for AMD processsors.
62443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62444         Set bit_Prefer_SSE_for_memop for AMD processors.
62446 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62448         * libio/fmemopen.c (fmemopen): Optimize a bit.
62450 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62452         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62454 2011-03-03  Roland McGrath  <roland@redhat.com>
62456         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62458 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62460         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62461         __bzero_ultra1 instead of __memset_ultra1.
62463 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62464             Ulrich Drepper  <drepper@gmail.com>
62466         [BZ #12509]
62467         * include/link.h (struct link_map): Add l_orig_initfini.
62468         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62469         returning unsuccessfully.
62470         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62471         close of a file loaded at startup, restore the original l_initfini
62472         list.
62473         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62474         list, store the pointer.
62475         * elf/Makefile ($(objpfx)noload-mem): New rule.
62476         (noload-ENV): Define.
62477         (tests): Add $(objpfx)noload-mem.
62478         * elf/noload.c: Include <memcheck.h>.
62479         (main): Call mtrace.  Close all opened handles.
62481 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62483         [BZ #12454]
62484         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62485         dependencies are missing.
62487 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62489         Fix __if_freereq crash: Unlike the generic version which uses free,
62490         Hurd needs munmap.
62491         * sysdeps/mach/hurd/ifreq.h: New file.
62493 2011-01-27  Petr Baudis  <pasky@suse.cz>
62494             Ulrich Drepper  <drepper@gmail.com>
62496         [BZ 12445]#
62497         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62498         to extend_alloca().
62499         * stdio-common/bug23.c: New file.
62500         * stdio-common/Makefile (tests): Add bug23.
62502 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62503             Ulrich Drepper  <drepper@gmail.com>
62505         [BZ #12489]
62506         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62507         before performing relro protection.  At old place add assertion
62508         to make sure nothing changed.
62510 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62511             Glauber de Oliveira Costa  <glommer@gmail.com>
62513         * elf/elf.h: Add new ARM TLS relocs.
62515 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62518         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62519         cast from r3.
62520         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62521         'tests' variable.
62522         * sysdeps/wordsize-64/tst-writev.c: New file.
62524 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62526         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62527         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62528         insns in _dl_start to prevent a TOC reference before relocs are
62529         resolved.
62531 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62533         [BZ #12469]
62534         * Makeconfig: Remove RANLIB definition.
62535         * Makerules: Don't use RANLIB.
62536         * aclocal.m4: Remove ranlib test.
62537         * configure.in: No need to check for ranlib.
62538         * elf/rtld-Rules: Don't use RANLIB.
62540 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62542         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62543         protection macro.
62544         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62545         inclusion protection macro.
62547         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62548         SIGRTMIN and SIGRTMAX and print information in that case only when
62549         SIGRTMIN is defined.
62551 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62553         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62554         arginfo fn returning -1.
62556         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62557         and thousands string is zero terminated.
62559 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62562         sysdeps/unix/sysv/linux/bits/socket.h.
62564 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62566         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62567         (__CPU_COUNT): Remove old macros.
62568         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62569         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62570         (__CPU_ALLOC, __CPU_FREE): Add macros.
62571         (__sched_cpualloc, __sched_cpufree): Add declarations.
62573 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62575         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62576         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62577         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62578         (readdhstai): Return value of addhstaiX call.
62579         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62580         (addgrbyX): Return value returned by cache_addgr.
62581         (readdgrbyname): Return value returned by addgrbyX.
62582         (readdgrbygid): Likewise.
62583         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62584         (addpwbyX): Return value returned by cache_addpw.
62585         (readdpwbyname): Return value returned by addhstbyX.
62586         (readdpwbyuid): Likewise.
62587         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62588         (addservbyX): Return value returned by cache_addserv.
62589         (readdservbyname): Return value returned by addservbyX:
62590         (readdservbyport): Likewise.
62591         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62592         (addhstbyX): Return value returned by cache_addhst.
62593         (readdhstbyname): Return value returned by addhstbyX.
62594         (readdhstbyaddr): Likewise.
62595         (readdhstbynamev6): Likewise.
62596         (readdhstbyaddrv6): Likewise.
62597         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62598         (readdinitgroups): Return value returned by addinitgroupsX.
62599         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62600         (prune_cache): Keep track of timeout value of re-added entries.
62601         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62602         * nscd/nscd.h: Adjust prototypes of readd* functions.
62604 2011-02-04  Roland McGrath  <roland@redhat.com>
62606         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62607         (nis_stats): Likewise.
62608         * nis/nis_modify.c (nis_modify): Likewise.
62609         * nis/nis_remove.c (nis_remove): Likewise.
62610         * nis/nis_add.c (nis_add): Likewise.
62612         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62614         * posix/fnmatch_loop.c: Add some consts.
62616         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62618 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62620         [BZ #12460]
62621         * config.make.in (config-cflags-novzeroupper): Define.
62622         * configure.in: Substitute libc_cv_cc_novzeroupper.
62623         * elf/Makefile (AVX-CFLAGS): Define.
62624         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62625         (CFLAGS-tst-auditmod4a.c): Likewise.
62626         (CFLAGS-tst-auditmod4b.c): Likewise.
62627         (CFLAGS-tst-auditmod6b.c): Likewise.
62628         (CFLAGS-tst-auditmod6c.c): Likewise.
62629         (CFLAGS-tst-auditmod7b.c): Likewise.
62630         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62632 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62634         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62635         function to the callback.
62636         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62638 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62640         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62641         of errno.
62643 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62645         [BZ #11724]
62646         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62647         of constructors.
62648         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62649         of destructors.
62650         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62652         [BZ #11724]
62653         * elf/Makefile: Add rules to build and run new test.
62654         * elf/tst-initorder.c: New file.
62655         * elf/tst-initorder.exp: New file.
62656         * elf/tst-initordera1.c: New file.
62657         * elf/tst-initordera2.c: New file.
62658         * elf/tst-initordera3.c: New file.
62659         * elf/tst-initordera4.c: New file.
62660         * elf/tst-initorderb1.c: New file.
62661         * elf/tst-initorderb2.c: New file.
62662         * elf/tst-order-a1.c: New file.
62663         * elf/tst-order-a2.c: New file.
62664         * elf/tst-order-a3.c: New file.
62665         * elf/tst-order-a4.c: New file.
62666         * elf/tst-order-b1.c: New file.
62667         * elf/tst-order-b2.c: New file.
62668         * elf/tst-order-main.c: New file.
62669         New test case by George Gensure <werkt0@gmail.com>.
62671 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62674         decoding ACE if AI_CANONIDN.
62676 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62678         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62680 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62682         * version.h (RELEASE): Bump for 2.13 release.
62683         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62685         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62687         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62688         MADV_NOHUGEPAGE.
62689         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62690         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62691         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62692         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62693         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62694         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62696         * posix/getconf.c: Update copyright year.
62697         * catgets/gencat.c: Likewise.
62698         * csu/version.c: Likewise.
62699         * debug/catchsegv.sh: Likewise.
62700         * debug/xtrace.sh: Likewise.
62701         * elf/ldconfig.c: Likewise.
62702         * elf/ldd.bash.in: Likewise.
62703         * elf/sprof.c (print_version): Likewise.
62704         * iconv/iconv_prog.c: Likewise.
62705         * iconv/iconvconfig.c: Likewise.
62706         * locale/programs/locale.c: Likewise.
62707         * locale/programs/localedef.c: Likewise.
62708         * malloc/memusage.sh: Likewise.
62709         * malloc/mtrace.pl: Likewise.
62710         * nscd/nscd.c (print_version): Likewise.
62711         * nss/getent.c: Likewise.
62713         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62714         PF_CAIF, and PF_ALG.
62715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62717 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62719         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62720         (modules-names): Use them.
62721         (ifunc-test-modules, ifunc-pie-tests): Define.
62722         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62723         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62724         (test-extras): Likewise.
62725         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62726         $(compile-command.c).
62727         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62728         (all-built-dso): Define.
62729         (check-textrel.out, check-execstack.out): Depend on it.
62731         * configure.in: Don't override --enable-multi-arch.
62733 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62735         [BZ #6812]
62736         * nscd/hstcache.c (tryagain): Define.
62737         (cache_addhst): Return tryagain not notfound for temporary errors.
62738         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62739         failed.
62741 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62743         [BZ #10563]
62744         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62745         to make the syscall.
62746         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62748         [BZ #12378]
62749         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62750         and fall back to matching as normal character if the string ends before
62751         the matching ']' is found.  This is what POSIX requires.
62752         * posix/testfnm.c: Adjust test result.
62753         * posix/globtest.sh: Adjust test result.  Add new test.
62754         * posix/tst-fnmatch.input: Likewise.
62755         * posix/tst-fnmatch2.c: Add new test.
62757 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62759         * elf/Makefile (check-execstack): Revert last change.  Depend on
62760         check-execstack.h.
62761         (check-execstack.h): New target.
62762         (generated): Add check-execstack.h.
62763         * elf/check-execstack.c: Include "check-execstack.h".
62764         (main): Revert last change.
62765         (handle_file): Return zero if GNU_STACK is absent and
62766         DEFAULT_STACK_PERMS doesn't include PF_X.
62768 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62770         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62771         in child fails because the descriptor is already closed.
62772         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62773         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62774         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62776         [BZ #12397]
62777         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62778         syscall.
62780         [BZ #10484]
62781         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62782         temporary buffer used to handle multi lookups locally.
62783         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62785 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62787         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62788         loader is ld.so.
62790 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62792         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62793         alignment for SSE2.
62795 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62797         [BZ #12394]
62798         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62799         characters.  When rounding increased number of integer digits recompute
62800         number of groups.
62801         * stdio-common/tst-grouping.c: New file.
62802         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62804 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62806         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62807         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62809         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62810         void.
62811         * bits/select.h: Likewise.
62813 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62815         * po/ja.po: Update from translation team.
62817 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62819         [BZ #11155]
62820         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62821         implementation just like for lxstat, fxstatat, et al.
62823 2010-12-27  Jim Meyering  <meyering@redhat.com>
62825         [BZ #12348]
62826         * posix/regexec.c (build_trtable): Return failure indication upon
62827         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62829 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62831         [BZ #12201]
62832         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62833         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62834         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62835         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62837         [BZ #12207]
62838         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62840         [BZ #12204]
62841         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62842         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62844 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62846         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62847         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62848         script has SORT_BY_INIT_PRIORITY.
62849         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62850         NO_CTORS_DTORS_SECTIONS is defined.
62851         * elf/soinit.c: Likewise.
62852         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62853         NO_CTORS_DTORS_SECTIONS is defined.
62854         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62855         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62856         * sysdeps/sh/init-first.c: Likewise.
62857         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62859 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62861         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62862         always use the slow path.
62864 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62866         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62867         similar rule which adds the sysdep directories to the header search in
62868         order to pick up the correct platform stackinfo.h.
62869         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62870         perform test if it is, otherwise return successfully without testing.
62871         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62872         DEFAULT_STACK_PERMS define in stackinfo.h.
62873         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62874         defined in stackinfo.h.
62875         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62876         DEFAULT_STACK_PERMS defined in stackinfo.h.
62877         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62878         * sysdeps/ia64/stackinfo.h: Likewise.
62879         * sysdeps/s390/stackinfo.h: Likewise.
62880         * sysdeps/sh/stackinfo.h: Likewise.
62881         * sysdeps/sparc/stackinfo.h: Likewise.
62882         * sysdeps/x86_64/stackinfo.h: Likewise.
62883         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62884         PF_X for powerpc64.  Retain PF_X for powerpc32.
62886 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62888         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62889         accurately.
62890         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62891         GETDENTS_64BIT_ALIGNED.
62893 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62895         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62897 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62899         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62900         _GNU_SOURCE.
62902         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62903         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62904         Remove __restrict.
62905         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62906         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62908 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62910         [BZ #11655]
62911         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62912         are initialized.
62914 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62916         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62918 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62920         * po/it.po: Update from translation team.
62922 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62925         unused codes.
62927 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62929         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62931 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62933         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62934         specially.
62935         (gaih_getanswer_slice): Likewise.
62937 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62939         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62941 2010-05-31  Petr Baudis  <pasky@suse.cz>
62943         [BZ #11149]
62944         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62945         silently even in the chroot mode.
62947 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62949         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62950         last patch a bit.  Pretty printing
62952 2010-05-31  Petr Baudis <pasky@suse.cz>
62954         [BZ #10085]
62955         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62956         initialization of skip_initgroups_dyn.
62958 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62960         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62961         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62963 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62965         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62967 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62969         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62970         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62971         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62972         ($(objpfx)tst-fnmatch-mem): New rule.
62973         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62974         * posix/tst-fnmatch.c (main): Call mtrace.
62976 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62979         Support Intel processor model 6 and model 0x2c.
62981 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62983         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62984           signed comparison.
62986 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62988         [BZ #12205]
62989         * string/test-strncasecmp.c (check_result): New function.
62990         (do_one_test): Use it.
62991         (check1): New function.
62992         (test_main): Use it.
62993         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62994         Support strcasecmp and strncasecmp.
62996 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62998         [BZ #12194]
62999         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63000         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63002 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63004         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63005         IFUNC support.
63006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63007         memset-x86-64.
63008         * sysdeps/x86_64/multiarch/bzero.S: New file.
63009         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63010         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63011         * sysdeps/x86_64/multiarch/memset.S: New file.
63012         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63014         Set bit_Prefer_SSE_for_memop for Intel processors.
63015         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63016         Define.
63017         (index_Prefer_SSE_for_memop): Define.
63018         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63020 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63022         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63023         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63025 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63027         [BZ #12191]
63028         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63029         (__x86_64_raw_data_cache_size_half): Likewise.
63030         (__x86_64_raw_shared_cache_size): Likewise.
63031         (__x86_64_raw_shared_cache_size_half): Likewise.
63033         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63034         (__x86_64_raw_data_cache_size_half): Likewise.
63035         (__x86_64_raw_shared_cache_size): Likewise.
63036         (__x86_64_raw_shared_cache_size_half): Likewise.
63037         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63038         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63039         and __x86_64_raw_shared_cache_size_half.  Round
63040         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63041         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63042         to multiple of 256 bytes.
63044 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63046         [BZ #12167]
63047         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63048         of inacessible symlinks.  Verify result of symlink before returning it.
63049         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63050         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63052 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63054         * math/math.h (isinf): Fix typo in comment.
63056 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63058         * po/da.po: Update from translation team.
63060 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63062         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63063         is added to the list.
63065 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63066             Ulrich Drepper  <drepper@gmail.com>
63068         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63069         the global list here.  Move code to...
63070         (_dl_add_to_namespace_list): ...here.  New function.
63071         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63072         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63073         * elf/dl-load.c (lose): Don't remove the element from the list.
63074         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63075         (_dl_map_object): Likewise.
63077 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63079         [BZ #12159]
63080         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63081         into all bytes of SSE register.
63082         Patch by Richard Li <richardpku@gmail.com>.
63084 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63086         [BZ #12140]
63087         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63088         perturbing.
63090 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63092         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63093         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63094         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63095         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63097         submachine.
63098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63100 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63102         * include/dlfcn.h (__RTLD_SECURE): Define.
63103         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63104         mode & __RTLD_SECURE instead.
63105         (open_path): Rename preloaded parameter to secure.
63106         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63107         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63108         * elf/dl-deps.c (openaux): Likewise.
63109         * elf/rtld.c (struct map_args): Remove is_preloaded.
63110         (map_doit): Don't use it.
63111         (dl_main): Likewise.
63112         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63113         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63115 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63117         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63118         (sysd-rules-targets): Remove duplicates.
63119         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63120         rtld-%.$o dependency.
63122 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63124         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63125         _dl_map_object do it.
63127 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63129         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63130         fast fma builtins, define the macros in the C99 standard.
63131         (FP_FAST_FMAF): Likewise.
63132         (FP_FAST_FMAL): Likewise.
63133         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63135         * bits/mathdef.h: Update copyright year.
63136         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63138 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63140         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63141         builtins, define the macros in the C99 standard.
63142         (FP_FAST_FMAF): Likewise.
63143         (FP_FAST_FMAL): Likewise.
63144         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63145         multiply/add.
63146         (FP_FAST_FMAF): Likewise.
63148 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63150         [BZ #3268]
63151         * math/libm-test.inc (fma_test): Some new testcases.
63152         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63153         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63154         y and infinite z.  Do multiplication by C already in long double.
63155         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63157         y and infinite z.  Do bitwise or of inexact bit into u.d.
63158         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63159         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63160         * sysdeps/i386/fpu/s_fma.S: Removed.
63161         * sysdeps/i386/fpu/s_fmal.S: Removed.
63163 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63165         [BZ #3268]
63166         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63168         computation is not scheduled after fetestexcept.  Fix value
63169         of minimum denormal long double.
63171 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63173         [BZ #3268]
63174         * math/libm-test.inc (fma_test): Add some more tests.
63175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63176         correctly.
63178 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63180         * scripts/data/localplt-s390-linux-gnu.data: New file.
63181         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63183 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63185         [BZ #3268]
63186         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63187         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63188         instead of dbl-64.
63189         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63190         inlines.
63191         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63193         if one of x and y is very large and the other is subnormal.
63194         * sysdeps/s390/fpu/s_fmaf.c: New file.
63195         * sysdeps/s390/fpu/s_fma.c: New file.
63196         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63197         * sysdeps/powerpc/fpu/s_fma.S: New file.
63198         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63199         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63200         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63202 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63204         [BZ #3268]
63205         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63206         fma tests.
63207         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63208         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63209         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63210         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63211         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63212         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63213         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63215 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63217         [BZ #12078]
63218         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63219         * posix/bug-regex31.input: Add test case.
63221 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63223         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63224         * posix/bug-regex31.input: New file.
63226         [BZ #12078]
63227         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63228         (parse_sub_exp): Fix last change, use postorder.
63230         * posix/bug-regex31.c: New file.
63231         * posix/Makefile: Add rules to build and run bug-regex31.
63233         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63235         [BZ #12078]
63236         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63238         [BZ #12108]
63239         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63240         to have entries in sys_siglist.
63242         [BZ #12093]
63243         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63244         be NULL.
63246 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63248         [BZ #3268]
63249         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63250         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63251         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63252         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63253         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63254         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63255         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63256         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63257         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63258         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63259         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63260         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63261         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63262         * math/ftestexcept.c (fetestexcept): Likewise.
63263         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63264         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63265         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63266         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63267         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63268         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63269         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63271 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63273         [BZ #12107]
63274         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63275         newline.
63277 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63279         * string/bug-strstr1.c: New file.
63280         * string/Makefile: Add rules to build and run bug-strstr1.
63282 2010-10-05  Eric Blake  <eblake@redhat.com>
63284         [BZ #12092]
63285         * string/str-two-way.h (two_way_long_needle): Always clear memory
63286         when skipping input due to the shift table.
63288 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63290         [BZ #12005]
63291         * malloc/mcheck.c: Handle large requests.
63293         [BZ #12077]
63294         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63295         for strncmp and strncasecmp.
63296         * string/stratcliff.c: Add tests for strcmp and strncmp.
63297         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63299 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63301         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63302         __set_fpscr.
63304 2010-09-30  Andreas Jaeger  <aj@suse.de>
63306         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63307         (CGROUP_SUPER_MAGIC): Define.
63308         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63309         Handle btrfs and cgroup file systems.
63310         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63311         Likewise.
63313 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63315         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63316         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63318 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63320         [BZ #12067]
63321         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63322         trying to locate the ELF header.
63324 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63326         [BZ #11611]
63327         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63328         Mask out sign-bit copies when constructing f_fsid.
63330 2010-09-24  Petr Baudis <pasky@suse.cz>
63332         * debug/stack_chk_fail_local.c: Add missing licence exception.
63333         * debug/warning-nop.c: Likewise.
63335 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63337         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63338         implementing getdents64 using getdents syscall, set d_type if
63339         __ASSUME_GETDENTS32_D_TYPE.
63341 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63343         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63344         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63346 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63348         [BZ #12037]
63349         * posix/unistd.h: Undo change of feature selection for ftruncate from
63350         2010-01-11.
63352 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63354         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63355         detection.
63357 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63359         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63360         fanotify_mark.
63361         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63363 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63365         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63366         variables after CHECK_SP call.
63367         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63369 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63370             Ulrich Drepper  <drepper@redhat.com>
63372         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63373         re-relocationg ld.so.
63374         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63375         _dl_init_paths call.
63376         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63377         here anymore.
63379 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63381         * resolv/res_init.c (__res_vinit): Count the default server we added.
63383 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63384             Ulrich Drepper  <drepper@redhat.com>
63386         [BZ #11968]
63387         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63388         (____longjmp_chk): Use %ebx for saving value across system call.
63389         Add unwind info.
63391 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63393         * manual/Makefile: Don't mix pattern rules with normal rules.
63395 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63397         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63398         operation.
63399         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63400         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63401         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63402         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63404         Likewise.
63406 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63408         [BZ #11979]
63409         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63410         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63412 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63414         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63415         * sysdeps/x86_64/addmul_1.S: Likewise.
63416         * sysdeps/x86_64/lshift.S: Likewise.
63417         * sysdeps/x86_64/mul_1.S: Likewise.
63418         * sysdeps/x86_64/rshift.S: Likewise.
63419         * sysdeps/x86_64/sub_n.S: Likewise.
63420         * sysdeps/x86_64/submul_1.S: Likewise.
63422 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63424         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63425         Define __sched_param instead of SCHED_* and sched_param when
63426         <bits/sched.h> is included with __need_schedparam defined.
63427         * bits/sched.h [__need_schedparam]
63428         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63429         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63430         (__defined_schedparam): Define to 1.
63431         (__sched_param): New structure, identical to sched_param.
63432         (__need_schedparam): Undefine.
63434 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63436         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63437         (epoll_create1): Declare.
63439         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63441 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63443         [BZ #7066]
63444         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63445         shifting retval into place.
63447 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63449         * nis/rpcsvc/nis.h: Update copyright notice.
63450         * nis/rpcsvc/nis.x: Likewise.
63451         * nis/rpcsvc/nis_callback.h: Likewise.
63452         * nis/rpcsvc/nis_callback.x: Likewise.
63453         * nis/rpcsvc/nis_object.x: Likewise.
63454         * nis/rpcsvc/nis_tags.h: Likewise.
63455         * nis/rpcsvc/yp.h: Likewise.
63456         * nis/rpcsvc/yp.x: Likewise.
63457         * nis/rpcsvc/ypupd.h: Likewise.
63458         * nis/yp_xdr.c: Likewise.
63459         * nis/ypupdate_xdr.c: Likewise.
63461         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63462         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63463         (pmap_getport): Use __libc_rpc_getport.
63464         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63465         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63466         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63468 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63471         fanotify_mark.
63473 2010-08-27  Roland McGrath  <roland@redhat.com>
63475         * sysdeps/i386/i686/multiarch/Makefile
63476         (CFLAGS-varshift.c): New variable.
63478 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63480         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63481         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63483         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63485         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63487 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63489         * sysdeps/x86_64/strlen.S: Unroll the loop.
63490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63491         strlen-sse2 strlen-sse2-bsf.
63492         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63493         __strlen_no_bsf if bit_Slow_BSF is set.
63494         (__strlen_sse42): Removed.
63495         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63496         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63498 2010-08-25  Roland McGrath  <roland@redhat.com>
63500         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63501         * sysdeps/x86_64/multiarch/varshift.c: New file.
63502         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63503         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63504         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63505         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63507 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63510         strlen-sse2 strlen-sse2-bsf.
63511         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63512         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63513         (__strlen_sse2): Removed.
63514         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63515         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63517         bit_Slow_BSF for Atom.
63518         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63519         (index_Slow_BSF): Define.
63520         (HAS_SLOW_BSF): Define.
63522 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63524         [BZ #10851]
63525         * resolv/res_init.c (__res_vinit): When no server address at all
63526         is given default to loopback.
63528 2010-08-24  Roland McGrath  <roland@redhat.com>
63530         * configure.in: Remove config-name.h generation.
63531         * configure: Regenerated.
63532         * config-name.in: File removed.
63533         * scripts/config-uname.sh: New file.
63534         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63535         ($(objdir)config-name.h): New target.
63537         * sunrpc/rpc_parse.h: Avoid nested comment.
63539 2010-08-24  Richard Henderson  <rth@redhat.com>
63540             Ulrich Drepper  <drepper@redhat.com>
63541             H.J. Lu  <hongjiu.lu@intel.com>
63543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63545         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63546         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63547         _mm_alignr_epi8 with _mm_loadu_si128.
63548         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63549         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63550         (__m128i_shift_right): Removed.
63551         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63552         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63553         * sysdeps/x86_64/multiarch/varshift.h: New file.
63554         * sysdeps/x86_64/multiarch/varshift.S: New file.
63556 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63558         * configure.in: Move assembler checks to before sysdep dir checking.
63560 2010-08-20  Petr Baudis  <pasky@suse.cz>
63562         * LICENSES: Sync the sunrpc license.
63564 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63566         * sunrpc/auth_des.c: Update copyright notice once again.
63567         * sunrpc/auth_none.c: Likewise.
63568         * sunrpc/auth_unix.c: Likewise.
63569         * sunrpc/authdes_prot.c: Likewise.
63570         * sunrpc/authuxprot.c: Likewise.
63571         * sunrpc/bindrsvprt.c: Likewise.
63572         * sunrpc/clnt_gen.c: Likewise.
63573         * sunrpc/clnt_perr.c: Likewise.
63574         * sunrpc/clnt_raw.c: Likewise.
63575         * sunrpc/clnt_simp.c: Likewise.
63576         * sunrpc/clnt_tcp.c: Likewise.
63577         * sunrpc/clnt_udp.c: Likewise.
63578         * sunrpc/clnt_unix.c: Likewise.
63579         * sunrpc/des_crypt.c: Likewise.
63580         * sunrpc/des_soft.c: Likewise.
63581         * sunrpc/get_myaddr.c: Likewise.
63582         * sunrpc/getrpcport.c: Likewise.
63583         * sunrpc/key_call.c: Likewise.
63584         * sunrpc/key_prot.c: Likewise.
63585         * sunrpc/openchild.c: Likewise.
63586         * sunrpc/pm_getmaps.c: Likewise.
63587         * sunrpc/pm_getport.c: Likewise.
63588         * sunrpc/pmap_clnt.c: Likewise.
63589         * sunrpc/pmap_prot.c: Likewise.
63590         * sunrpc/pmap_prot2.c: Likewise.
63591         * sunrpc/pmap_rmt.c: Likewise.
63592         * sunrpc/rpc/auth.h: Likewise.
63593         * sunrpc/rpc/auth_unix.h: Likewise.
63594         * sunrpc/rpc/clnt.h: Likewise.
63595         * sunrpc/rpc/des_crypt.h: Likewise.
63596         * sunrpc/rpc/key_prot.h: Likewise.
63597         * sunrpc/rpc/netdb.h: Likewise.
63598         * sunrpc/rpc/pmap_clnt.h: Likewise.
63599         * sunrpc/rpc/pmap_prot.h: Likewise.
63600         * sunrpc/rpc/pmap_rmt.h: Likewise.
63601         * sunrpc/rpc/rpc.h: Likewise.
63602         * sunrpc/rpc/rpc_des.h: Likewise.
63603         * sunrpc/rpc/rpc_msg.h: Likewise.
63604         * sunrpc/rpc/svc.h: Likewise.
63605         * sunrpc/rpc/svc_auth.h: Likewise.
63606         * sunrpc/rpc/types.h: Likewise.
63607         * sunrpc/rpc/xdr.h: Likewise.
63608         * sunrpc/rpc_clntout.c: Likewise.
63609         * sunrpc/rpc_cmsg.c: Likewise.
63610         * sunrpc/rpc_common.c: Likewise.
63611         * sunrpc/rpc_cout.c: Likewise.
63612         * sunrpc/rpc_dtable.c: Likewise.
63613         * sunrpc/rpc_hout.c: Likewise.
63614         * sunrpc/rpc_main.c: Likewise.
63615         * sunrpc/rpc_parse.c: Likewise.
63616         * sunrpc/rpc_parse.h: Likewise.
63617         * sunrpc/rpc_prot.c: Likewise.
63618         * sunrpc/rpc_sample.c: Likewise.
63619         * sunrpc/rpc_scan.c: Likewise.
63620         * sunrpc/rpc_scan.h: Likewise.
63621         * sunrpc/rpc_svcout.c: Likewise.
63622         * sunrpc/rpc_tblout.c: Likewise.
63623         * sunrpc/rpc_util.c: Likewise.
63624         * sunrpc/rpc_util.h: Likewise.
63625         * sunrpc/rpcinfo.c: Likewise.
63626         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63627         * sunrpc/rpcsvc/key_prot.x: Likewise.
63628         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63629         * sunrpc/rpcsvc/mount.x: Likewise.
63630         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63631         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63632         * sunrpc/rpcsvc/rex.x: Likewise.
63633         * sunrpc/rpcsvc/rstat.x: Likewise.
63634         * sunrpc/rpcsvc/rusers.x: Likewise.
63635         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63636         * sunrpc/rpcsvc/spray.x: Likewise.
63637         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63638         * sunrpc/rtime.c: Likewise.
63639         * sunrpc/svc.c: Likewise.
63640         * sunrpc/svc_auth.c: Likewise.
63641         * sunrpc/svc_authux.c: Likewise.
63642         * sunrpc/svc_raw.c: Likewise.
63643         * sunrpc/svc_run.c: Likewise.
63644         * sunrpc/svc_simple.c: Likewise.
63645         * sunrpc/svc_tcp.c: Likewise.
63646         * sunrpc/svc_udp.c: Likewise.
63647         * sunrpc/svc_unix.c: Likewise.
63648         * sunrpc/svcauth_des.c: Likewise.
63649         * sunrpc/xcrypt.c: Likewise.
63650         * sunrpc/xdr.c: Likewise.
63651         * sunrpc/xdr_array.c: Likewise.
63652         * sunrpc/xdr_float.c: Likewise.
63653         * sunrpc/xdr_mem.c: Likewise.
63654         * sunrpc/xdr_rec.c: Likewise.
63655         * sunrpc/xdr_ref.c: Likewise.
63656         * sunrpc/xdr_sizeof.c: Likewise.
63657         * sunrpc/xdr_stdio.c: Likewise.
63659         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63660         handling.
63662 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63664         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63666 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63668         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63669         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63670         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63671         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63672         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63673         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63674         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63675         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63676         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63677         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63678         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63679         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63680         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63681         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63683 2010-07-26  Anton Blanchard  <anton@samba.org>
63685         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63686         * malloc/arena.c (heap_trim): Likewise.
63688 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63690         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63691         here.  Not...
63692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63693         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63695 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63697         * sysdeps/i386/elf/Makefile: New file.
63699 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63701         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63702         from fanotify_init.
63703         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63706 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63708         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63709         of strncasecmp_l.
63710         * sysdeps/multiarch/strcmp.S: Likewise.
63712 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63714         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63715         strncase_l-nonascii.
63716         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63717         Add strncase_l-ssse3.
63718         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63719         * sysdeps/x86_64/strcmp.S: Likewise.
63720         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63721         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63722         * sysdeps/x86_64/strncase.S: New file.
63723         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63724         * sysdeps/x86_64/strncase_l.S: New file.
63725         * string/Makefile (strop-tests): Add strncasecmp.
63726         * string/test-strncasecmp.c: New file.
63728         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63729         warning.
63731         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63732         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63734 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63736         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63738 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63740         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63741         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63742         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63744 2010-05-01  Alan Modra  <amodra@gmail.com>
63746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63747         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63748         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63749         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63750         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63751         tidying.  Don't tail-call __sigjmp_save for static lib.
63752         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63753         save location.
63754         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63755         (CALL_MCOUNT): Add eh info, and nop after bl.
63756         (TAIL_CALL_SYSCALL_ERROR): New macro.
63757         (PSEUDO_RET): Use it.
63758         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63759         Correct save location of integer regs and cr.
63760         (_dl_profile_resolve): Correct cr save location.  Delete nops
63761         after bl when SHARED.  Reduce cfi size a little by better
63762         placement of cfi directives.
63763         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63764         make a stack frame.  Instead use parm save area as a temp.
63765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63766         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63768         Don't make a stack frame for parent, use parm save area.
63769         Increase child stack frame to 112 bytes.  Don't save unused reg,
63770         and adjust reg usage.  Set up cfi on error recovery and
63771         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63773         (__makecontext): Add dummy nop after jump to exit.
63774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63775         Use correct parm save area and cr save, reduce stack frame.
63776         Correct cfi for possible PSEUDO_RET frame setup.
63777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63778         Branch to local label emitted by PSEUDO_RET rather than
63779         __syscall_error.
63781 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63783         [BZ #11904]
63784         * locale/programs/locale.c (print_assignment): New function.
63785         (show_locale_vars): Use it.
63787 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63789         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63790         field.
63791         (struct statfs64): Likewise.
63792         (_STATFS_F_FLAGS): Define.
63793         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63795         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63796         (ST_VALID): Define locally.
63797         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63798         __statvfs_getflags, use the provided value.
63799         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63800         __ASSUME_STATFS_F_FLAGS.
63802         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63804         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63805         Add sys/fanotify.h.
63806         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63807         fanotify_mask for GLIBC_2.13.
63808         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63809         fanotify_init and fanotify_mark.
63810         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63811         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63813         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63814         Add prlimit.
63815         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63816         prlimit64 for GLIBC_2.13.
63817         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63818         prlimit64.
63819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63820         syscall.
63821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63822         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63823         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63824         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63826         add prlimit alias.
63827         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63829         [BZ #11903]
63830         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63831         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63833         * nss/Makefile: Add rules to build and run tst-nss-test1.
63834         * shlib-versions: Add entry for libnss_test1.
63835         * nss/nss_test1.c: New file.
63836         * nss/tst-nss-test1.c: New file.
63838         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63839         (__nss_configure_lookup): Set appropriate entry in
63840         __nss_configure_lookup to true.
63841         * nss/nsswitch.h: Define enum with indeces of databases in
63842         databases and __nss_database_custom arrays.  Declare
63843         __nss_database_custom.
63844         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63845         to avoid using nscd when custom rules are installed.
63846         * nss/getXXbyYY_r.c: Likewise.
63847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63849         * nss/nss_files/files-parse.c: Whitespace fixes.
63851 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63853         [BZ #11883]
63854         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63855         * posix/fnmatch_loop.c: Likewise.
63857 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63859         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63860         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63861         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63862         * Versions.def [GLIBC_2.13]: Add.
63864 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63866         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63867         Also fail if tpwd after pwuid call is NULL.
63869 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63871         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63872         when converting to ms.
63874 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63876         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63877         EOPNOTSUPP errors with ENOTTY.
63878         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63879         EOPNOTSUPP errors with ENOTTY.
63881 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63883         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63884         Add strcasecmp_l-ssse3.
63885         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63886         strcasecmp.
63887         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63888         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63889         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63891 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63893         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63895         * string/Makefile (strop-tests): Add strcasecmp.
63896         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63897         strcasecmp_l-nonascii.
63898         (gen-as-const-headers): Add locale-defines.sym.
63899         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63900         * sysdeps/x86_64/strcasecmp.S: New file.
63901         * sysdeps/x86_64/strcasecmp_l.S: New file.
63902         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63903         * sysdeps/x86_64/locale-defines.sym: New file.
63904         * string/test-strcasecmp.c: New file.
63906         * string/test-strcasestr.c: Test both ends of the range of characters.
63907         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63909 2010-07-29  Roland McGrath  <roland@redhat.com>
63911         [BZ #11856]
63912         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63914 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63916         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63917         for ld.so.
63919 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63921         * manual/memory.texi (Malloc Tunable Parameters): Document
63922         M_PERTURB.
63924 2010-07-26  Roland McGrath  <roland@redhat.com>
63926         [BZ #11840]
63927         * configure.in (-fgnu89-inline check): Set and substitute
63928         gnu89_inline, not libc_cv_gnu89_inline.
63929         * configure: Regenerated.
63930         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63932 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63934         * string/test-strnlen.c: New file.
63935         * string/Makefile (strop-tests): Add strnlen.
63936         * string/tester.c (test_strnlen): Add a few more test cases.
63937         * string/tst-strlen.c: Better error reporting.
63939         * sysdeps/x86_64/strnlen.S: New file.
63941 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63943         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63944         lower-latency instructions.
63946 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63948         * string/test-strcasestr.c: New file.
63949         * string/test-strstr.c: New file.
63950         * string/Makefile (strop-tests): Add strstr and strcasestr.
63951         * string/str-two-way.h: Don't undefine MAX.
63952         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63954 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63956         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63957         strcasestr-nonascii.
63958         (CFLAGS-strcasestr-nonascii.c): Define.
63959         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63960         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63961         Remove unused attribute.
63963 2010-07-20  Roland McGrath  <roland@redhat.com>
63965         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63966         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63967         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63968         like LD_HWCAP_MASK can disable hwcaps.
63970 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63972         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63974 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63976         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63977         call in strcasestr.
63978         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63979         __strcasestr_sse42_nonascii.
63980         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63981         strcasestr-nonascii.c.
63982         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63984 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63986         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63987         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63988         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63989         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63991 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63993         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63994         fcntl.
63996 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63998         [BZ #11577]
63999         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64000         dl_signal_cerror.
64002 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64004         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64005         _PC_PIPE_BUF using F_GETPIPE_SZ.
64007 2010-07-05  Roland McGrath  <roland@redhat.com>
64009         * manual/arith.texi (Rounding Functions): Fix rint description
64010         implicit in round description.
64012 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64014         * elf/Makefile: Fix linking for a few tests to make recent linker
64015         happy.
64017 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64019         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64020         $(common-objpfx)libc_nonshared.a.
64022 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64024         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64025         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64026         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64027         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64028         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64029         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64030         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64031         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64046         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64047         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64048         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64049         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64050         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64051         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64052         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64053         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64054         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64055         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64056         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64057         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64073 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64075         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64076         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64077         * string/memmove.c (memmove): Renamed to ...
64078         (MEMMOVE): ...this.  Default to memmove.
64079         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64080         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64081         (END_CHK): Define.
64082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64083         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64084         mempcpy-ssse3-back memmove-ssse3-back.
64085         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64086         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64087         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64088         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64089         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64090         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64091         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64092         * sysdeps/x86_64/multiarch/memmove.c: New file.
64093         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64094         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64095         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64096         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64097         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64098         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64099         Define.
64100         (index_Fast_Copy_Backward): Define.
64101         (HAS_ARCH_FEATURE): Define.
64102         (HAS_FAST_REP_STRING): Define.
64103         (HAS_FAST_COPY_BACKWARD): Define.
64105 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64107         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64108         Restore proper fallback handling.
64110 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64112         [BZ #11701]
64113         * posix/group_member.c (__group_member): Correct checking loop.
64115         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64116         OOM in getpwuid_r correctly.  Return error number when the caller
64117         should return, otherwise -1.
64118         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64119         call returning > 0 value.
64120         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64122 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64124         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64125         libc_nonshared.a from targets in modules-names.
64127 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64129         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64130         requires it.
64132 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64134         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64135         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64136         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64137         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64139 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64141         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64143 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64145         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64146         and F_GETPIPE_SZ.
64147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64148         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64151         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64152         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64154 2010-06-14  Roland McGrath  <roland@redhat.com>
64156         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64158 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64160         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64161         __REDIRECT followed by __THROW.
64162         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64163         * posix/getopt.h (getopt): Likewise.
64165 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64167         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64168         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64169         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64170         in AT_FLAGS.
64171         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64172         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64174 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64176         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64178 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64180         [BZ #11640]
64181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64182         Properly check family and model.
64184 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64186         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64188 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64190         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64192 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64194         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64195         symbol reference.
64197 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64199         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64200         symbol reference.
64202 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64204         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64205         and internal_recvmmsg.
64206         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64207         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64208         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64209         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64211         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64212         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64213         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64215 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64217         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64219 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64221         POWER7 optimizations.
64222         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64223         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64225 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64227         * version.h: Update for 2.13 development version.
64229 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64231         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64232         exceptions.  Return 0.
64234 2010-05-07  Roland McGrath  <roland@redhat.com>
64236         * elf/ldconfig.c (main): Add a const.
64238 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64240         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64241         (args_options): Add no-idn option.
64242         (ahosts_keys_int): Add idn_flags to ai_flags.
64243         (parse_option): Handle 'i' option to clear idn_flags.
64245         * malloc/malloc.c (_int_free): Possible race in the most recently
64246         added check.  Only act on the data if no current modification
64247         happened.
64249 See ChangeLog.17 for earlier changes.