S390: Optimize strncmp and wcsncmp.
[glibc.git] / ChangeLog
bloba9cdda3f66129a4c3608bfa8a0685f8cab370977
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
5         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10         wcsncmp functions.
11         * sysdeps/s390/multiarch/ifunc-impl-list.c
12         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14         * benchtests/bench-strncmp.c: Add wcsncmp support.
15         * benchtests/bench-wcsncmp.c: New File.
16         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21         * sysdeps/s390/multiarch/strcmp.c: Likewise.
22         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
27         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28         wcscmp functions.
29         * sysdeps/s390/multiarch/ifunc-impl-list.c
30         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
31         * string/strcmp.c (STRCMP): Define and use macro.
32         * benchtests/bench-wcscmp.c: New File.
33         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
34         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
35         instead of _HAVE_STRING_ARCH_memchr.
37 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39         * sysdeps/s390/multiarch/strncat-c.c: New File.
40         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
41         * sysdeps/s390/multiarch/strncat.c: Likewise.
42         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
43         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
44         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
45         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
46         wcsncat functions.
47         * sysdeps/s390/multiarch/ifunc-impl-list.c
48         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
49         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
50         * string/test-strncat.c: Add wcsncat support.
51         * wcsmbs/test-wcsncat.c: New File.
52         * wcsmbs/Makefile (strop-tests): Add wcsncat.
53         * benchtests/bench-strncat.c: Add wcsncat support.
54         * benchtests/bench-wcsncat.c: New File.
55         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
57 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
59         * sysdeps/s390/multiarch/strcat-c.c: New File.
60         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
61         * sysdeps/s390/multiarch/strcat.c: Likewise.
62         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
63         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
64         * sysdeps/s390/multiarch/wcscat.c: Likewise.
65         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
66         wcscat functions.
67         * sysdeps/s390/multiarch/ifunc-impl-list.c
68         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
69         * string/strcat.c (STRCAT): Define and use macro.
70         * wcsmbs/wcscat.c: Use WCSCAT if defined.
71         * string/test-strcat.c: Add wcscat support.
72         * wcsmbs/test-wcscat.c: New File.
73         * wcsmbs/Makefile (strop-tests): Add wcscat.
74         * benchtests/bench-strcat.c: Add wcscat support.
75         * benchtests/bench-wcscat.c: New File.
76         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
78 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
80         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
81         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
82         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
83         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
84         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
85         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
86         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
87         wcpncpy functions.
88         * sysdeps/s390/multiarch/ifunc-impl-list.c
89         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
90         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
91         * string/test-stpncpy.c: Add wcpncpy support.
92         * wcsmbs/test-wcpncpy.c: New File.
93         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
94         * benchtests/bench-stpncpy.c: Add wcpncpy support.
95         * benchtests/bench-wcpncpy.c: New File.
96         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
98 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
100         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
101         * sysdeps/s390/multiarch/strncpy.c: Likewise.
102         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
103         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
104         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
105         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
106         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
107         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
108         wcsncpy functions.
109         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
110         * sysdeps/s390/multiarch/ifunc-impl-list.c
111         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
112         * string/test-strncpy.c: Add wcsncpy support.
113         * wcsmbs/test-wcsncpy.c: New File.
114         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
115         * benchtests/bench-strncpy.c: Add wcsncpy support.
116         * benchtests/bench-wcsncpy.c: New File.
117         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
119 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
121         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
122         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
123         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
124         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
125         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
126         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
127         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
128         wcpcpy functions.
129         * string/stpcpy.c: Use STPCPY if defined.
130         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
131         * sysdeps/s390/multiarch/ifunc-impl-list.c
132         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
133         * string/test-stpcpy.c: Add wcpcpy support.
134         * wcsmbs/test-wcpcpy.c: New File.
135         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
136         * benchtests/bench-stpcpy.c: Add wcpcpy support.
137         * benchtests/bench-wcpcpy.c: New File.
138         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
140 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
142         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
143         * sysdeps/s390/multiarch/strcpy.c: Likewise.
144         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
145         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
146         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
147         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
148         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
150         wcscpy functions.
151         * sysdeps/s390/multiarch/ifunc-impl-list.c
152         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
153         * benchtests/bench-wcscpy.c: New File.
154         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
156 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
158         * sysdeps/s390/multiarch/strnlen-c.c: New File.
159         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
160         * sysdeps/s390/multiarch/strnlen.c: Likewise.
161         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
162         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
163         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
164         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
165         wcsnlen functions.
166         * sysdeps/s390/multiarch/ifunc-impl-list.c
167         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
168         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
169         * string/test-strnlen.c: Add wcsnlen support.
170         * wcsmbs/test-wcsnlen.c: New File.
171         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
172         * benchtests/bench-strnlen.c: Add wcsnlen support.
173         * benchtests/bench-wcsnlen.c: New File.
174         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
176 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
178         * sysdeps/s390/multiarch/Makefile: New File.
179         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
180         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
181         * sysdeps/s390/multiarch/strlen.c: Likewise.
182         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
183         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
184         * sysdeps/s390/multiarch/wcslen.c: Likewise.
185         * string/strlen.c (STRLEN): Define and use macro.
186         * sysdeps/s390/multiarch/ifunc-impl-list.c
187         (IFUNC_VX_IMPL): New macro function.
188         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
189         * benchtests/Makefile (wcsmbs-bench): New variable.
190         (string-bench-all): Added wcsmbs-bench.
191         * benchtests/bench-wcslen.c: New File.
193 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
195         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
196         s390_vx_libc_ifunc2): New macro function.
198 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
200         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
201         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
202         assembler support.
203         * sysdeps/s390/configure: Regenerated.
205 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
207         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
208         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
210 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
212         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
213         * sysdeps/s390/dl-procinfo.h: Add vector capability.
214         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
216 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
218         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
219         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
220         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
221         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
222         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
223         (memcmp, bcmp): Use __memcmp_default as alias source.
224         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
225         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
226         Rename to __memcmp_default.
227         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
228         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
229         (memcpy): Use __memcpy_default as alias source.
230         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
231         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
232         Rename to __memcpy_default.
233         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
234         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
235         (memset): Use __memset_default as alias source.
236         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
237         * sysdeps/s390/s390-32/memset.S (__memset_g5):
238         Rename to __memset_default.
239         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
240         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
241         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
242         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
243         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
244         (memcmp, bcmp): Use __memcmp_default as alias source.
245         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
246         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
247         Rename to __memcmp_default.
248         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
249         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
250         (memcpy): Use __memcpy_default as alias source.
251         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
252         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
253         Rename to __memcpy_default.
254         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
255         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
256         (memset): Use __memset_default as alias source.
257         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
258         * sysdeps/s390/s390-64/memset.S (__memset_z900):
259         Rename to __memset_default.
260         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
261         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
263 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
265         [BZ #18610]
266         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
267         __ieee_instruction_pointer to __unused.
268         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
269         __ieee_instruction_pointer.
270         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
271         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
272         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
273         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
274         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
275         Mark dxc-field as reserved.
277 2015-08-25  Roland McGrath  <roland@hack.frob.com>
279         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
280         if the weak reference is not null.
282 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
284         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
286 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
288         [BZ #11214]
289         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
291 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
293         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
294         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
295         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
296         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
297         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
298         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
299         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
300         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
301         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
302         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
303         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
304         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
305         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
306         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
307         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
308         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
309         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
310         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
312 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
314         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
315         register other than r0 for tabort, it has special meaning.
316         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
317         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
318         transaction before starting syscall.
320 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
322         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
324 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
326         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
328 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
330         * sysdeps/x86_64/rtld-memcmp.c: Removed.
331         * sysdeps/x86_64/rtld-memset.S: Likewise.
332         * sysdeps/x86_64/rtld-strchr.S: Likewise.
333         * sysdeps/x86_64/rtld-strlen.S: Likewise.
334         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
335         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
337 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
339         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
341 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
343         * debug/strcpy_chk.c: Improve performance.
344         * debug/stpcpy_chk.c: Likewise.
345         * sysdeps/x86_64/strcpy_chk.S: Remove.
346         * sysdeps/x86_64/stpcpy_chk.S: Remove.
348         [BZ #18240]
349         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
351 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
353         [BZ #15128]
354         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
355         ifuncmain8.
356         (modules-names): Add ifuncmod8.
357         ($(objpfx)ifuncmain8): New rule.
358         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
359         <cpuid.h>.
360         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
361         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
362         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
363         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
364         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
365         * sysdeps/x86_64/dl-trampoline.h: Likewise.
366         * sysdeps/x86_64/ifuncmain8.c: New file.
367         * sysdeps/x86_64/ifuncmod8.c: Likewise.
368         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
369         Removed.
370         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
371         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
372         Change rtld_savespace_sse to __glibc_unused2.
373         (RTLD_CHECK_FOREIGN_CALL): Removed.
374         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
375         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
376         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
378 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
380         * sysdeps/aarch64/bzero.S (__bzero): Remove.
382 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
384         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
385         Unconditionally set __fpcr to avoid uninialized warning.
386         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
388 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
390         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
391         is corrupt.
393         * malloc/arena.c (arena_get2): Drop unused argument.
394         (arena_lock): Adjust.
395         (arena_get_retry): Likewise.
397 2015-08-24  Andreas Schwab  <schwab@suse.de>
399         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
400         Don't define.
401         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
402         (__ASSUME_IPC64): Don't undef.
403         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
404         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
405         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
406         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
407         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
408         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
409         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
410         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
411         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
412         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
413         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
414         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
415         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
416         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
417         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
418         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
419         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
420         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
421         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
422         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
423         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
425 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
427         * manual/Makefile (install): Only build manual when perl is available.
429 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
431         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
432         '#undef memcpy' by '#undef memchr'.
434 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
436         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
437         memchr not point to the internal __GI_memchr implementation.
439 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
441         * timezone/Makefile (CFLAGS-zdump.c): Remove
442         -Wno-strict-prototypes.
443         (CFLAGS-zic.c): Likewise.
444         (CFLAGS-ialloc.c): Likewise.
445         (CFLAGS-scheck.c): Likewise.
447         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
448         -Wno-error=undef.
450 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
452         * i386/i686/multiarch/strcasestr-c.c: Removed.
453         * x86_64/multiarch/strcasestr.c: Likewise.
454         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
455         Remove strcasestr.
457 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
459         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
461         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
462         variables for high and low parts before possibly modifying them.
464 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
466         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
467         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
468         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
469         of "multiarch/init-arch.h".
470         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
471         * sysdeps/x86/init-arch.h: This.
473 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
475         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
476         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
478 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
480         [BZ #17787]
481         * manual/macros.texi: Add twoexp macro.
482         * manual/filesys.texi: Fix exponents.
483         * manual/llio.texi: Likewise.
484         * manual/stdio.texi: Likewise.
486 2015-08-20  Florian Weimer  <fweimer@redhat.com>
488         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
489         incorrect use.
491 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
493         [BZ #18370]
494         * math/s_csqrt.c (__csqrt): Force underflow exception for results
495         whose real or imaginary part has small absolute value.
496         * math/s_csqrtf.c (__csqrtf): Likewise.
497         * math/s_csqrtl.c (__csqrtl): Likewise.
498         * math/auto-libm-test-in: Add more tests of csqrt.
499         * math/auto-libm-test-out: Regenerated.
500         * sysdeps/i386/fpu/libm-test-ulps: Update.
502 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
504         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
505         __ppc_set_ppr_very_low): New functions.
506         * manual/platform.texi: Add documentation about
507         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
509 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
511         * string/stpncpy.c (stpncpy): Improve performance using
512         __strnlen/memcpy/memset.
514 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
516         [BZ #18796]
517         * scripts/test-installation.pl: Don't add -lmvec to build options if
518         libmvec wasn't built.
520 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
522         [BZ #14341]
523         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
524         case when there is a gap between DT_REL and DT_JMPREL sections.
525         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
526         (LDFLAGS-tst-split-dynreloc): New.
527         (tst-split-dynreloc-ENV): Likewise.
528         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
529         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
531 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
533         [BZ #18822]
534         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
535         attribute_hidden.
536         (__xstat64_conv): Likewise.
537         (__xstat32_conv): Likewise.
539 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
541         [BZ #18822]
542         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
543         Don't load %ebx when calling __setcontext.  Call __setcontext
544         with HIDDEN_JUMPTARGET.
545         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
546         libc_hidden_def.
548 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
550         * sysdeps/i386/i686/Makefile
551         [$(subdir) == string] (sysdep_routines): Moved to ...
552         * sysdeps/i386/Makefile: Here.
553         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
554         * sysdeps/i386/cacheinfo.c: Here.
555         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
556         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
557         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
558         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
560 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
562         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
563         __i586__ is defined.
564         (HAS_I686): Defined to 1 if __i686__ is defined.
566 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
568         * elf/Makefile [$(have-z-execstack) = yes]
569         (CPPFLAGS-tst-execstack.c): New variable.
571         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
572         conditional to [defined UTMPX || _HAVE_UT_TYPE].
573         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
574         UTMPX || _HAVE_UT_TV].
575         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
576         UTMPX || _HAVE_UT_TV - 0].
578 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
580         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
581         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
582         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
584 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
586         * sysdeps/powerpc/dl-procinfo.c:
587         (_dl_powerpc_cap_flags): Added missing strings for some
588         hwcap features.
589         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
591 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
593         Port the 0x7efe...feff pattern to GCC 6.
594         See Steve Ellcey's bug report in:
595         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
596         * string/memrchr.c (MEMRCHR):
597         * string/rawmemchr.c (RAWMEMCHR):
598         * string/strchr.c (strchr):
599         * string/strchrnul.c (STRCHRNUL):
600         Rewrite code to avoid issues with signed shift overflow.
602 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
604         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
605         whether cpuid is available only if HAS_CPUID is 0.
606         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
607         (HAS_I586): Likewise.
608         (HAS_I686): Likewise.
610 2015-08-18  Zack Weinberg  <zackw@panix.com>
612         * misc/Versions (libc): Add GLIBC_2.23.
614 2015-08-18  Alan Modra  <amodra@gmail.com>
616         [BZ #18421]
617         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
618         .Lp__global.
619         (_start): Load %dp via .Lp__global.
620         [!SHARED]: Use .section .rodata.
622 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
624         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
625         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
627 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
629         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
630         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
632 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
634         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
635         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
637 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
639         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
640         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
642 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
644         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
645         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
647 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
649         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
650         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
652 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
654         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
658         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
659         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
660         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
661         (__ASSUME_LWS_CAS): Delete.
663 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
665         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
666         * sysdeps/hppa/configure: Regenerated.
667         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
668         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
669         * sysdeps/hppa/nptl/tls.h: Likewise.
671 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
673         [BZ #18823]
674         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
675         for scaling up small arguments.
676         * math/s_csqrtf.c (__csqrtf): Likewise.
677         * math/s_csqrtl.c (__csqrtl): Likewise.
678         * math/auto-libm-test-in: Add more tests of csqrt.
679         * math/auto-libm-test-out: Regenerated.
681 2015-08-17  Andreas Schwab  <schwab@suse.de>
683         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
684         version set GLIBC_2.19.
686 2015-08-16  Zack Weinberg  <zackw@panix.com>
688         [BZ #18681]
689         * misc/regexp.h: This interface is no longer supported.
690         Remove all contents, leaving only an #error directive.
691         * misc/regexp.c (loc1, loc2, locs, step, advance):
692         Demote to compatibility symbols.
694 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
696         [BZ #18084]
697         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
698         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
699         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
700         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
701         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
702         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
703         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
704         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
705         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
707 2015-08-15  Zack Weinberg  <zackw@panix.com>
709         [BZ #18795]
710         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
711         buffer length is known to be too large, not if it's known to be
712         small enough.
713         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
714         overflow at runtime, involving a length parameter, twice: once
715         with a compile-time constant length parameter, once without.
717 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
719         [BZ #18824]
720         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
721         scaling x * y up instead of down.
722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
723         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
724         * math/auto-libm-test-in: Add more tests of fma.
725         * math/auto-libm-test-out: Regenerated.
727 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
729         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
731 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
733         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
734         unnecessary movq.
735         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
736         Likewise.
738 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
740         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
741         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
742         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
743         and tgamma.
744         * math/auto-libm-test-out: Regenerated.
745         * sysdeps/i386/fpu/libm-test-ulps: Update.
746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
748         [BZ #16520]
749         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
750         (__tanh): Force underflow exception for arguments with small
751         absolute value.
752         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
753         (__tanhf): Force underflow exception for arguments with small
754         absolute value.
755         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
756         (__tanhl): Force underflow exception for arguments with small
757         absolute value.
758         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
759         (__tanhl): Force underflow exception for arguments with small
760         absolute value.
761         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
762         (__tanhl): Force underflow exception for arguments with small
763         absolute value.
764         * math/auto-libm-test-in: Add more tests of tanh.
765         * math/auto-libm-test-out: Regenerated.
766         * sysdeps/i386/fpu/libm-test-ulps: Update.
768 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
770         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
771         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
773 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
775         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
776         <cpuid.h>.
778 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
780         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
781         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
783 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
785         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
786         Remove $(objpfx)init-arch.o.
787         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
788         init-arch.
789         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
790         (INIT_ARCH_EXT): Defined as empty.
791         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
793         __init_cpu_features call.  Replace HAS_XXX with
794         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
795         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
797         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
798         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
799         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
800         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
801         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
802         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
803         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
804         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
805         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
807         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
808         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
809         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
810         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
811         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
812         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
813         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
814         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
815         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
816         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
817         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
818         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
819         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
820         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
821         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
822         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
823         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
824         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
825         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
826         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
827         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
828         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
829         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
831 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
833         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
834         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
835         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
836         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
837         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
838         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
839         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
840         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
841         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
842         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
843         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
844         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
845         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
846         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
847         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
848         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
849         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
850         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
851         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
852         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
853         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
854         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
855         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
856         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
857         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
858         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
859         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
860         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
861         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
862         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
863         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
864         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
865         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
866         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
867         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
868         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
869         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
870         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
871         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
872         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
873         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
874         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
875         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
877 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
879         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
880         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
881         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
882         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
883         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
884         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
885         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
886         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
887         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
888         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
889         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
890         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
891         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
892         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
893         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
894         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
895         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
896         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
897         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
898         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
900         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
901         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
902         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
903         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
904         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
905         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
906         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
907         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
908         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
909         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
910         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
911         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
912         * sysdeps/x86_64/multiarch/memset.S: Likewise.
913         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
914         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
915         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
916         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
917         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
918         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
919         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
920         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
921         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
923 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
925         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
926         (dl_platform_init): Call init_cpu_features.
927         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
928         * sysdeps/i386/i686/cacheinfo.c
929         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
930         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
931         * sysdeps/i386/i686/multiarch/Versions: Removed.
932         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
933         Removed.
934         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
935         * sysdeps/unix/sysv/linux/x86/Makefile
936         (libpthread-sysdep_routines): Remove init-arch.
937         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
938         <sysdeps/x86_64/dl-procinfo.c> instead of
939         sysdeps/generic/dl-procinfo.c>.
940         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
941         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
942         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
943         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
944         [$(subdir) == elf] (tests-static): Add
945         tst-get-cpu-features-static.
946         * sysdeps/x86/Versions: New file.
947         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
948         * sysdeps/x86/cpu-features.c: Likewise.
949         * sysdeps/x86/cpu-features.h: Likewise.
950         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
951         * sysdeps/x86/libc-start.c: Likewise.
952         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
953         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
954         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
955         * sysdeps/x86_64/dl-procinfo.c: Likewise.
956         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
957         Assume USE_MULTIARCH is defined and don't check it.
958         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
959         (is_amd): Likewise.
960         (max_cpuid): Likewise.
961         (intel_check_word): Likewise.
962         (__cache_sysconf): Don't call __init_cpu_features.
963         (__x86_preferred_memory_instruction): Removed.
964         (init_cacheinfo): Don't call __init_cpu_features. Replace
965         __cpu_features with GLRO(dl_x86_cpu_features).
966         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
967         (dl_platform_init): Call init_cpu_features.
968         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
969         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
970         * sysdeps/x86_64/multiarch/Versions: Removed.
971         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
972         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
973         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
974         Removed.
975         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
977 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
979         [BZ #18820]
980         * libio/Makefile (test-fmemopen-mem): New test.
981         * libio/test-fmemopen.c (do_bz18820): New test.
982         * libio/fmemopen.c (__fmemopen): Fix memory leak.
983         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
985 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
987         [BZ #16734]
988         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
989         (FREE_BUF): Delete.
990         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
991         * libio/genops.c (_IO_setb): Use malloc and free directly.
992         (_IO_default_doallocate, _IO_default_finish): Likewise.
993         ( _IO_unbuffer_all): Likewise.
994         ( libc_freeres_fn): Likewise.
995         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
996         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
997         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
998         (_IO_wdefault_doallocate): Likewise.
1000 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1002         [BZ #18086]
1003         * sysdeps/posix/nice.c (nice): Restore old errno.
1004         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1006 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1010 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1012         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1013         __bcopy and add a weak_alias to bcopy.
1014         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1015         for static build.
1017         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1018         cleanup macro usage.
1019         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1022         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1023         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1024         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1025         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1026         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1027         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1028         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1029         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1030         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1031         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1032         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1033         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1034         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1035         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1036         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1037         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1039         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1040         libc_hidden_def.
1041         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1043         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1044         (sysdep_routines): Add strstr-ppc64.
1045         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1047 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1049         [BZ #18778]
1050         * elf/Makefile (tests): Add Add tst-nodelete2.
1051         (modules-names): Add tst-nodelete2mod.
1052         (tst-nodelete2mod.so-no-z-defs): New.
1053         ($(objpfx)tst-nodelete2): Likewise.
1054         ($(objpfx)tst-nodelete2.out): Likewise.
1055         (LDFLAGS-tst-nodelete2): Likewise.
1056         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1057         out of loop through all loaded libraries.
1058         * elf/tst-nodelete2.c: New file.
1059         * elf/tst-nodelete2mod.c: Likewise.
1061 2015-08-11  Andreas Schwab  <schwab@suse.de>
1063         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1064         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1065         (__openat64_nocancel): Likewise.
1067 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1069         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1070         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1071         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1072         * math/auto-libm-test-out: Regenerated.
1073         * sysdeps/i386/fpu/libm-test-ulps: Update.
1074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1076 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1078         [BZ #18790]
1079         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1080         threshold for returning +/- 1.
1081         * math/auto-libm-test-in: Add more tests of tanh.
1082         * math/auto-libm-test-out: Regenerated.
1083         * sysdeps/i386/fpu/libm-test-ulps: Update.
1085 2015-08-10  Andreas Schwab  <schwab@suse.de>
1087         [BZ #18781]
1088         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1089         MORE_OFLAGS to oflag.
1090         * io/test-lfs.c (do_test): Test openat64.
1092 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1094         [BZ #18789]
1095         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1096         smaller threshold for returning the argument.
1097         * math/auto-libm-test-in: Add more tests of sinh.
1098         * math/auto-libm-test-out: Regenerated.
1099         * sysdeps/i386/fpu/libm-test-ulps: Update.
1101 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1103         [BZ #18674]
1104         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1105         break.
1107 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1109         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1110         (generated): Don't add $(addprefix z.,$(tzfiles)).
1112 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1114         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1115         * scripts/sysd-rules.awk: Likewise.
1117 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1119         * iconvdata/tst-tables.sh: Change echo -n to printf.
1120         * nss/db-Makefile: Likewise.
1121         * posix/tst-getconf.sh: Likewise.
1122         * stdio-common/tst-unbputc.sh: Likewise.
1124 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1126         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1127         MADV_*_PAGES defines behind this feature check.
1129 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1131         [BZ #18480]
1132         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1133         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1134         Define.
1135         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1136         LOAD_REGS_5, LOAD_REGS_6): Update.
1137         (INTERNAL_SYSCALL): Update using new LOAD defines.
1138         (INTERNAL_SYSCALL_NCS): Likewise.
1139         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1141 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1143         [BZ #16734]
1144         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1146 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1148         [BZ #17905]
1149         * catgets/Makefile (tst-catgets-mem): New test.
1150         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1151         * catgets/open_catalog.c (__open_catalog): Likewise.
1152         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1154 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1156         [BZ #18787]
1157         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1158         clobber registers.
1159         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1160         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1161         Cast return to __typeof (oldval).
1163 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1165         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1166         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1167         and delete sys/syscall.h include.
1169 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1171         [BZ #16517]
1172         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1173         (tan): Force underflow exception for arguments with small absolute
1174         value.
1175         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1176         (__kernel_tanf): Force underflow exception for arguments with
1177         small absolute value.
1178         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1179         (__kernel_tanl): Force underflow exception for arguments with
1180         small absolute value.
1181         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1182         (__kernel_tanl): Force underflow exception for arguments with
1183         small absolute value.
1184         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1185         (__kernel_tanl): Force underflow exception for arguments with
1186         small absolute value.
1187         * math/auto-libm-test-in: Add more tests of tan.
1188         * math/auto-libm-test-out: Regenerated.
1190 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1192         Fix sysdeps/i386/fpu/s_scalbn.S build
1194         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1196 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1198         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1200 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1202         Fix gcrt0.o compilation
1204         When static-start-installed-name is different from
1205         start-installed-name, we must not use the shared objects.
1207         * csu/Makefile
1208         (extra-objs): Add gmon-start.o when building shared library and
1209         $(static-start-installed-name) is different from
1210         $(start-installed-name).
1211         $(objpfx)g$(static-start-installed-name): When building shared
1212         library and $(static-start-installed-name) is different from
1213         $(static-start-installed-name), revert to non-shared rule,
1214         i.e. using $(objpfx)% and gmon-start.o.
1216 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1218         [BZ #16519]
1219         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1220         (__ieee754_sinh): Force underflow exception for arguments with
1221         small absolute value.
1222         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1223         (__ieee754_sinhf): Force underflow exception for arguments with
1224         small absolute value.
1225         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1226         (__ieee754_sinhl): Force underflow exception for arguments with
1227         small absolute value.
1228         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1229         (__ieee754_sinhl): Force underflow exception for arguments with
1230         small absolute value.
1231         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1232         (__ieee754_sinhl): Force underflow exception for arguments with
1233         small absolute value.
1234         * math/auto-libm-test-in: Add more tests of sinh.
1235         * math/auto-libm-test-out: Regenerated.
1236         * sysdeps/i386/fpu/libm-test-ulps: Update.
1238 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1240         * libio/oldfileops.c: Include unistd.h.
1242 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1244         * stdlib/isomac.c: Include ctype.h.
1246 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1248         * dirent/tst-seekdir.c (main): Converted to ...
1249         (do_test): ... this.
1250         (TEST_FUNCTION): New macro.
1251         Include test-skeleton.c.
1252         * elf/tst-dlmodcount.c (main): Converted to ...
1253         (do_test): ... this.
1254         (TEST_FUNCTION): New macro.
1255         Include test-skeleton.c.
1256         * elf/tst-order-main.c (main): Converted to ...
1257         (do_test): ... this.
1258         (TEST_FUNCTION): New macro.
1259         Include test-skeleton.c.
1260         * elf/tst-pie2.c (main): Converted to ...
1261         (do_test): ... this.
1262         (TEST_FUNCTION): New macro.
1263         Include test-skeleton.c.
1264         * inet/tst-ether_aton.c (main): Converted to ...
1265         (do_test): ... this.
1266         (TEST_FUNCTION): New macro.
1267         Include test-skeleton.c.
1268         * misc/tst-mntent.c (main): Converted to ...
1269         (do_test): ... this.
1270         (TEST_FUNCTION): New macro.
1271         Include test-skeleton.c.
1272         * misc/tst-tsearch.c (main): Converted to ...
1273         (do_test): ... this.
1274         (TEST_FUNCTION): New macro.
1275         Include test-skeleton.c.
1276         * posix/tst-regexloc.c (main): Converted to ...
1277         (do_test): ... this.
1278         (TEST_FUNCTION): New macro.
1279         Include test-skeleton.c.
1280         * resolv/tst-aton.c (main): Converted to ...
1281         (do_test): ... this.
1282         (TEST_FUNCTION): New macro.
1283         Include test-skeleton.c.
1284         * stdio-common/test-fwrite.c (main): Converted to ...
1285         (do_test): ... this.
1286         (TEST_FUNCTION): New macro.
1287         Include test-skeleton.c.
1288         * stdio-common/tst-ferror.c (main): Converted to ...
1289         (do_test): ... this.
1290         (TEST_FUNCTION): New macro.
1291         Include test-skeleton.c.
1292         * stdio-common/tst-printf.c (main): Converted to ...
1293         (do_test): ... this.
1294         (TEST_FUNCTION): New macro.
1295         Include test-skeleton.c.
1296         * stdio-common/tst-printfsz.c (main): Converted to ...
1297         (do_test): ... this.
1298         (TEST_FUNCTION): New macro.
1299         Include test-skeleton.c.
1300         * stdlib/tst-strtod.c (main): Converted to ...
1301         (do_test): ... this.
1302         (TEST_FUNCTION): New macro.
1303         Include test-skeleton.c.
1304         * string/tst-strlen.c (main): Converted to ...
1305         (do_test): ... this.
1306         (TEST_FUNCTION): New macro.
1307         Include test-skeleton.c.
1308         * string/tst-svc.c (main): Converted to ...
1309         (do_test): ... this.
1310         (TEST_FUNCTION): New macro.
1311         Include test-skeleton.c.
1312         * time/tst-strptime.c (main): Converted to ...
1313         (do_test): ... this.
1314         (TEST_FUNCTION): New macro.
1315         Include test-skeleton.c.
1316         * timezone/tst-timezone.c (main): Converted to ...
1317         (do_test): ... this.
1318         (TEST_FUNCTION): New macro.
1319         Include test-skeleton.c.
1321 2015-08-05  Zack Weinberg  <zackw@panix.com>
1323         * misc/regexp.h: Update comments.
1325 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1327         [BZ #18635]
1328         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1329         before return label.
1331 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1333         [BZ #18661]
1334         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1335         when calling __errno_location.
1336         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1337         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1339 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1341         [BZ #18661]
1342         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1343         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1344         __gettimeofday.
1346 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1348         [BZ #18661]
1349         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1350         (__start_context): Don't use pop to restore %rdi so that stack
1351         is aligned to 16 bytes when calling __setcontext.
1353 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1355         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1356         only for libc.
1357         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1359 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1361         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1362         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1363         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1365 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1367         * string/memccpy.c (memccpy):
1368         Improve performance by using memchr/memcpy/__mempcpy.
1370 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1372         * string/strncpy.c (strncpy):
1373         Improve performance by using __strnlen/memcpy.
1375 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1377         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1378         Optimize to avoid an unnecessary FPCR read.
1380 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1383         Optimize to reduce FPCR/FPSR accesses.
1385 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1387         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1388         dead->data[category] != NULL.
1390 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1392         [BZ #18647]
1393         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1394         and |x| close to 1, use absolute value of x when computing log.
1395         * math/auto-libm-test-in: Add more tests of pow.
1396         * math/auto-libm-test-out: Regenerated.
1398 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1400         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1401         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1402         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1404 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1406         [BZ #18525]
1407         * locales/km_KH: Remove timezone definition.
1408         * locales/lo_LA: Likewise.
1409         * locales/my_MM: Likewise.
1410         * locales/nan_TW@latin: Likewise.
1411         * locales/th_TH: Likewise.
1412         * locales/uk_UA: Likewise.
1414 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1416         [BZ #18265]
1417         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1418         (wcsncat): Likewise.
1419         (wcscmp): Likewise.
1420         (wcsncmp): Likewise.
1422 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1424         * test-skeleton.c (usage): New function.
1425         (main): Call usage when opt is '?'.
1427 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1429         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1430         before first use.
1432 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1434         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1435         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1436         in there too.
1438 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1440         * version.h (RELEASE): Set to "development".
1441         (VERSION): Set to "2.22.90"
1443         * version.h (RELEASE): Set to "stable".
1444         (VERSION): Set to "2.22"
1445         * include/features.h (__GLIBC_MINOR__): Set to 22.
1447 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1449         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1450         Restructure macro to avoid "value computed is not used" warning.
1451         (atomic_compare_and_exchange_val_acq): Likewise.
1453 2015-08-04  Andreas Schwab  <schwab@suse.de>
1455         [BZ #18635]
1456         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1457         ret.
1458         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1460 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1462         * po/pl.po: Updated translation.
1463         * po/uk.po: Likewise.
1464         * po/fi.po: Likewise.
1465         * po/ko.po: Likewise.
1466         * po/ru.po: Likewise.
1467         * po/vi.po: Likewise.
1469 2015-07-31  Zack Weinberg  <zackw@panix.com>
1471         [BZ #18681]
1472         * regexp.h: Add unconditional #warning stating that this header
1473         will be removed soon.  Revise banner comment to match.
1474         (compile): Consistently use ERROR instead of RETURN to report
1475         errors (partial fix for bz#18681).
1476         * regexp.c: Don't include regexp.h. Remove some unnecessary
1477         declarations.
1479 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1481         * po/libc.pot: Regenerated.
1483 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1485         [BZ #18740]
1486         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1487         float-vlen4-arch-ext-cflags): Removed.
1488         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1489         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1491 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1493         [BZ #14113]
1494         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1495         aligned to __aligned__.
1496         (pthread_cond_t, pthread_rwlock_t): Likewise.
1498 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1500         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1502 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1504         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1505         (struct sigaction): Change sa_flags from a long to an int, and add
1506         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1508 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1510         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1511         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1512         sysdeps/generic/sysdep.h include.
1513         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1514         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1515         sysdeps/hppa/sysdep.h.
1516         (ENTRY, PSEUDO): Undefine before defining.
1518 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1520         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1521         from scratch to use INTERNAL_SYSCALL.
1523 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1525         [BZ #18078]
1526         * scripts/check-localplt.awk: Support alternate relocations.
1527         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1528         sections.
1529         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1530         malloc entries with + REL R_386_GLOB_DAT.
1531         * sysdeps/x86_64/localplt.data: New file.
1533 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1535         [BZ #18731]
1536         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1537         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1538         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1540 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1542         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1544 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1546         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1547         directly in terms of __sync_fetch_and_add and delete (int) cast.
1549 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1551         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1552         the -D_ASM_IA64_CURRENT_H flag.
1554 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1556         [BZ #18641]
1557         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1559 2015-07-27  Andreas Schwab  <schwab@suse.de>
1561         * conform/conformtest.pl (checknamespace): Filter out string
1562         literals while tokenizing.
1564 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1566         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1567         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1568         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1570 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1572         * nptl/tst-join7mod.c: Add #include <string.h>.
1574 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1576         * sysdeps/nios2/libm-test-ulps: Update.
1578 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1580         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1581         Fix order of arguments to the rt_sigprocmask syscall.
1582         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1583         Likewise.
1585 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1587         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1589 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1591         [BZ #18457]
1592         * nptl/Makefile (tests): New test case tst-join7.
1593         (modules-names): New test case module tst-join7mod.
1594         * nptl/tst-join7.c: New file.
1595         * nptl/tst-join7mod.c: New file.
1596         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1597         all translation units in libc.so, libpthread.so and rtld.
1599 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1603 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1605         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1606         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1607         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1608         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1609         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1611         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1612         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1614         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1616         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1617         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1618         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1620         implementation.
1622 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1624         [BZ #17711]
1625         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1626         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1627         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1628         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1629         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1630         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1632 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1634         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1635         instead of just saying load lock in the comments.
1637 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1639         * sysdeps/unix/Subdirs: Moved ...
1640         * sysdeps/posix/Subdirs: ... here.
1641         * login/pty.h (struct termios, struct winsize): Add forward decls.
1642         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1643         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1644         * sysdeps/arm/nacl/libc.abilist: Updated.
1645         * sysdeps/nacl/libutil.abilist: New file.
1647         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1648         (SIGWINCH): New macro.
1650         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1651         * sysdeps/arm/nacl/libc.abilist: Add it.
1653 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1655         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1657 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1659         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1660         Swap __glibc_reserved0 and sa_flags order.
1662 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1664         [BZ #18657]
1665         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1666         are pending TLS destructor calls.
1667         * include/link.h (struct link_map): Add concurrency note for
1668         L_TLS_DTOR_COUNT.
1669         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1670         Don't touch the link map flag.  Atomically increment
1671         l_tls_dtor_count.
1672         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1673         Avoid taking the load lock and don't touch the link map flag.
1674         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1675         * stdlib/Makefile (tests): Use it.
1676         * stdlib/tst-tls-atexit.c (do_test): dlopen
1677         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1678         to allow tst-tls-atexit-nodelete test case to use it.
1680 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1682         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1683         to bits/types.h.
1684         (msgqnum_t): New typedef.
1685         (msglen_t): Likewise.
1686         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1687         and msg_qbytes type to msglen_t.
1689 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1691         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1692         pad0 to __glibc_reserved0.
1693         (struct stat64): Likewise.
1695 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1697         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1698         Change sa_flags from a long to an int and add __glibc_reserved0 before
1699         it for padding.
1701 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1703         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1704         anonymous by deleting "siginfo" name.
1706 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1708         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1709         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1710         rather than __nacl_irt_filename.
1711         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1713         * NEWS: New item for arm-nacl port.
1714         * sysdeps/arm/nacl/libc.abilist: New file.
1715         * sysdeps/nacl/ld.abilist: New file.
1716         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1717         * sysdeps/nacl/libanl.abilist: New file.
1718         * sysdeps/nacl/libcrypt.abilist: New file.
1719         * sysdeps/nacl/libdl.abilist: New file.
1720         * sysdeps/nacl/libm.abilist: New file.
1721         * sysdeps/nacl/libpthread.abilist: New file.
1722         * sysdeps/nacl/libresolv.abilist: New file.
1723         * sysdeps/nacl/librt.abilist: New file.
1725 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1727         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1728         __startcontext to initialize the new context.
1729         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1730         up CFI directive to forbid further backtracing.
1732 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1734         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1735         reference.
1736         * charmaps/ANSI_X3.4-1968: Likewise.
1737         * charmaps/BS_4730: Likewise.
1738         * charmaps/BS_VIEWDATA: Likewise.
1739         * charmaps/CP1250: Likewise.
1740         * charmaps/CP1251: Likewise.
1741         * charmaps/CP1252: Likewise.
1742         * charmaps/CP1253: Likewise.
1743         * charmaps/CP1254: Likewise.
1744         * charmaps/CP1255: Likewise.
1745         * charmaps/CP1256: Likewise.
1746         * charmaps/CSN_369103: Likewise.
1747         * charmaps/EBCDIC-DK-NO: Likewise.
1748         * charmaps/GB_1988-80: Likewise.
1749         * charmaps/GREEK-CCITT: Likewise.
1750         * charmaps/GREEK7: Likewise.
1751         * charmaps/INIS-8: Likewise.
1752         * charmaps/ISIRI-3342: Likewise.
1753         * charmaps/ISO_2033-1983: Likewise.
1754         * charmaps/ISO_5427-EXT: Likewise.
1755         * locales/POSIX: Likewise.
1756         * locales/ar_SA: Likewise.
1757         * locales/be_BY: Likewise.
1758         * locales/be_BY@latin: Likewise.
1759         * locales/ca_ES: Likewise.
1760         * locales/cs_CZ: Likewise.
1761         * locales/da_DK: Likewise.
1762         * locales/de_BE: Likewise.
1763         * locales/de_CH: Likewise.
1764         * locales/de_LU: Likewise.
1765         * locales/en_AU: Likewise.
1766         * locales/en_BW: Likewise.
1767         * locales/en_CA: Likewise.
1768         * locales/en_DK: Likewise.
1769         * locales/en_GB: Likewise.
1770         * locales/en_IE: Likewise.
1771         * locales/en_NZ: Likewise.
1772         * locales/en_ZA: Likewise.
1773         * locales/en_ZW: Likewise.
1774         * locales/es_AR: Likewise.
1775         * locales/es_BO: Likewise.
1776         * locales/es_CL: Likewise.
1777         * locales/es_CO: Likewise.
1778         * locales/es_DO: Likewise.
1779         * locales/es_EC: Likewise.
1780         * locales/es_ES: Likewise.
1781         * locales/es_HN: Likewise.
1782         * locales/es_MX: Likewise.
1783         * locales/es_PA: Likewise.
1784         * locales/es_PE: Likewise.
1785         * locales/es_PY: Likewise.
1786         * locales/es_SV: Likewise.
1787         * locales/es_US: Likewise.
1788         * locales/es_UY: Likewise.
1789         * locales/es_VE: Likewise.
1790         * locales/et_EE: Likewise.
1791         * locales/fa_IR: Likewise.
1792         * locales/fo_FO: Likewise.
1793         * locales/fr_CA: Likewise.
1794         * locales/fr_CH: Likewise.
1795         * locales/gv_GB: Likewise.
1796         * locales/he_IL: Likewise.
1797         * locales/hr_HR: Likewise.
1798         * locales/id_ID: Likewise.
1799         * locales/is_IS: Likewise.
1800         * locales/it_CH: Likewise.
1801         * locales/iw_IL: Likewise.
1802         * locales/kl_GL: Likewise.
1803         * locales/ko_KR: Likewise.
1804         * locales/kw_GB: Likewise.
1805         * locales/lg_UG: Likewise.
1806         * locales/lt_LT: Likewise.
1807         * locales/lv_LV: Likewise.
1808         * locales/mi_NZ: Likewise.
1809         * locales/nhn_MX: Likewise.
1810         * locales/nl_BE: Likewise.
1811         * locales/pl_PL: Likewise.
1812         * locales/sk_SK: Likewise.
1813         * locales/sl_SI: Likewise.
1814         * locales/sv_FI: Likewise.
1815         * locales/tl_PH: Likewise.
1816         * locales/tr_TR: Likewise.
1817         * locales/vi_VN: Likewise.
1819 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1821         [BZ #17475]
1822         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1823         of tu_IN and bh_IN.
1825 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1827         [BZ #18694]
1828         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1829         bits/wordsize.h.
1830         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1832 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1834         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1835         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1836         (spawn_thread): New function.
1837         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1838         (do_test): ... here.  Use IS_LOADED to test for its
1839         availability.
1841 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1843         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1845 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1847         [BZ #18696]
1848         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1849         si_addr_bnd.
1850         (si_lower): New.
1851         (si_upper): Likewise.
1853 2015-07-16  David S. Miller  <davem@davemloft.net>
1855         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1857 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1859         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1860         buffer.
1861         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1862         fail output information.
1864 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1867         and strstr-ppc64..
1868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1869         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1870         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1871         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1872         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1874 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1876         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1877         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1878         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1879         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1881 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1883         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1884         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1885         rtld_hidden_proto.
1886         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1888 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1890         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1891         the test can fail.
1893         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1895         [BZ #18676]
1896         * elf/tst-nodelete-opened.c: New test case.
1897         * elf/tst-nodelete-opened-lib.c: New test case module.
1898         * elf/Makefile (tests, modules-names): Use them.
1899         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1900         early.
1902 2015-07-15  David S. Miller  <davem@davemloft.net>
1904         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1905         futex-intenal.h
1906         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1907         * sysdeps/sparc/sparc64/Makefile: Likewise.
1908         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1909         Remove space from macro define.
1910         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1912 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1914         [BZ #17475]
1915         * locale/iso-639.def: Update Bhili and Tulu language codes as
1916         per iso639-3.
1918 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1920         * elf/tst-leaks1.c (main): Converted to ...
1921         (do_test): ... this.
1922         (TEST_FUNCTION): New macro.
1923         Include test-skeleton.c.
1924         * localedata/tst-langinfo.c (main): Converted to ...
1925         (do_test): ... this.
1926         (TEST_FUNCTION): New macro.
1927         Include test-skeleton.c.
1928         * math/test-fpucw.c (main): Converted to ...
1929         (do_test): ... this.
1930         (TEST_FUNCTION): New macro.
1931         Include test-skeleton.c.
1932         * math/test-tgmath.c (main): Converted to ...
1933         (do_test): ... this.
1934         (TEST_FUNCTION): New macro.
1935         Include test-skeleton.c.
1936         * math/test-tgmath2.c (main): Converted to ...
1937         (do_test): ... this.
1938         (TEST_FUNCTION): New macro.
1939         Include test-skeleton.c.
1940         * setjmp/tst-setjmp.c (main): Converted to ...
1941         (do_test): ... this.
1942         (TEST_FUNCTION): New macro.
1943         Include test-skeleton.c.
1944         * stdio-common/tst-sscanf.c (main): Converted to ...
1945         (do_test): ... this.
1946         (TEST_FUNCTION): New macro.
1947         Include test-skeleton.c.
1948         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1949         (do_test): ... this.
1950         (TEST_FUNCTION): New macro.
1951         Include test-skeleton.c.
1953         * elf/tst-audit9.c (main): Converted to ...
1954         (do_test): ... this.
1955         (TEST_FUNCTION): New macro.
1956         Include test-skeleton.c.
1958 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1960         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1962 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1964         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1965         New variable.
1967 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1969         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1971 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1973         * sysdeps/generic/dl-fileid.h: New file.
1974         * sysdeps/posix/dl-fileid.h: New file.
1975         * sysdeps/nacl/dl-fileid.h: New file.
1976         * include/link.h: Include <dl-fileid.h>.
1977         (struct link_map): Replace l_dev and l_ino with l_file_id.
1978         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1979         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1980         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1982 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1984         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1986 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1988         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1989         Add iff $CXX is set.
1990         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1991         Likewise.
1992         (tst-nodelete-zmodiff): Likewise.
1993         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1995 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1997         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1999 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2001         * sysdeps/aarch64/fpu/math_private.h
2002         (define math_opt_barrier): Add AArch64 version.
2003         (math_force_eval): Likewise.
2005 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2007         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2009 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2011         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2012         %ld with %jd and cast to intmax_t.
2013         (do_test_length_zero): Likewise.
2015 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2017         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2019 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2021         * sysdeps/tile/libm-test-ulps: Regenerated.
2023         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2024         Comment out the whole function, not just its body.
2026 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2028         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2029         locks.
2031         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2033 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2035         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2036         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2038 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2040         * sysdeps/nptl/futex-internal.h: New file.
2041         * sysdeps/nacl/futex-internal.h: New file.
2042         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2043         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2044         error checking.
2045         (setxid_unmark_thread): Likewise.
2046         (__nptl_setxid): Likewise.
2047         (__wait_lookup_done): Likewise.
2048         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2049         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2050         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2051         * nptl/pthread_once.c (clear_once_control): Likewise.
2052         (__pthread_once_slow): Likewise.
2053         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2054         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2055         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2056         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2057         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2058         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2059         Likewise.
2060         (__pthread_rwlock_rdlock): Likewise.
2061         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2062         Likewise.
2063         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2064         Likewise.
2065         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2066         Likewise.
2067         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2068         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2069         Likewise.
2070         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2071         __ASSUME_PRIVATE_FUTEX check.
2072         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2073         Check that shared futexes are supported.
2074         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2075         wrappers with error checking.
2076         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2077         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2078         * nptl/pthread_barrierattr_setpshared.c
2079         (pthread_barrierattr_setpshared): Check that shared futexes are
2080         supported.
2081         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2082         Likewise.
2083         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2084         Likewise.
2085         * nptl/sem_init.c (futex_private_if_supported): Remove.
2086         (__new_sem_init): Adapt and check that shared futexes are supported.
2087         * nptl/sem_open.c (sem_open): Likewise.
2088         * nptl/sem_post.c (futex_wake): Remove.
2089         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2090         (do_futex_wait): Use futex wrappers with error checking.
2091         * nptl/sem_wait.c: Include lowlevellock.h.
2092         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2093         Use futex_supports_pshared.
2094         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2095         Use futex wrappers with error checking.
2096         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2097         Likewise.
2098         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2099         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2100         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2101         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2102         (futex_wake): Likewise.
2103         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2104         (do_futex_wait): Use futex wrappers with error checking.
2105         (__new_sem_wait_slow): Update EINTR handling.
2106         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2108 2015-07-09  Martin Sebor  <msebor@redhat.com>
2110         [BZ #18435]
2111         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2112         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2113         * nptl/Makefile (test-xfail-tst-once5): Define.
2115 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2117         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2118         * elf/dl-minimal.c: For readability, reorder some definitions and
2119         introduce more page breaks.  Include <stdio.h>.
2120         (__libc_fatal): New function.
2122         * include/unistd.h: Add rtld_hidden_proto for _exit.
2123         * posix/_exit.c: Add rtld_hidden_def.
2124         * sysdeps/mach/hurd/_exit.c: Likewise.
2125         * sysdeps/nacl/_exit.c: Likewise.
2126         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2127         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2129 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2131         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2132         bndmov encoding with zero displacement.
2134 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2135             H.J. Lu  <hongjiu.lu@intel.com>
2137         [BZ #18134]
2138         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2139         * sysdeps/i386/configure: Regenerated.
2140         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2141         (_dl_runtime_profile): Save and restore Intel MPX return bound
2142         registers when calling _dl_call_pltexit.  Add
2143         PRESERVE_BND_REGS_PREFIX before return.
2144         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2145         (LRV_BND1_OFFSET): Likewise.
2146         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2147         lrv_bnd1.
2148         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2149         typo in bndmov encoding.
2150         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2151         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2152         branch instructions to preserve bounds.
2154 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2157         [GLIBC_2.22]: Add fmemopen.
2159 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2161         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2162         returns an error, also try to use host port from __mach_host_self for
2163         the __vm_wire call.
2164         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2166 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2168         [BZ #18400]
2169         [BZ #18648]
2170         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2171         Fix pr_uid and pr_gid members.
2172         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2173         definition to elf_greg_t.
2175 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2177         [BZ #18383]
2178         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2179         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2180         * sysdeps/arm/configure: Regenerated.
2181         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2182         (test-xfail-tst-tlsalign-static): Variable removed.
2184         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2185         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2186         rather than explicit 'ln -s'.
2188         * resolv/rpc/netdb.h: New file.
2189         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2191 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2193         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2194         length buffers.
2195         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2196         test-skeleton.c.
2198         [BZ #6544]
2199         [BZ #11216]
2200         [BZ #12836]
2201         [BZ #13151]
2202         [BZ #13152]
2203         [BZ #14292]
2204         * include/stdio.h (fmemopen): Remove hidden prototype.
2205         (__fmemopen): Add new hidden prototype.
2206         * libio/Makefile: Add oldfmemopen object.
2207         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2208         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2209         compliance.
2210         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2211         symbol compatibility.
2212         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2213         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2214         fmemopen.
2215         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2216         on append and read mode.
2217         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2218         fmemopen.
2219         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2220         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2221         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2222         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2223         Likewise.
2224         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2225         [GLIBC_2.22]: Likewise.
2226         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2227         Likewise.
2228         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2229         Likewise.
2230         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2231         [GLIBC_2.22]: Likewise.
2232         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2233         [GLIBC_2.22]: Likewise.
2234         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2235         [GLIBC_2.22]: Likewise.
2236         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2237         [GLIBC_2.22]: Likewise.
2238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2239         [GLIBC_2.22]: Likewise.
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2241         [GLIBC_2.22]: Likewise.
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2243         [GLIBC_2.22]: Likewise.
2244         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2245         Likewise.
2246         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2247         Likewise.
2248         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2249         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2250         [GLIBC_2.22]: Likewise.
2251         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2252         [GLIBC_2.22]: Likewise.
2253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2254         [GLIBC_2.22]: Likewise.
2255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2256         [GLIBC_2.22]: Likewise.
2257         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2258         Likewise.
2259         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2260         Likewise.
2261         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2262         Likewise.
2263         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2264         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2266 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2268         [BZ #18643]
2269         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2270         IPV6_PATHMTU, and IPV6_DONTFRAG.
2272 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2274         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2275         and _IO_UNBUFFERED.
2276         * libio/oldfileops.c: Likewise.
2277         * libio/wfileops.c: Likewise.
2279 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2281         * nscd/selinux.c: Delete selinux/flask.h include.
2283 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2285         [BZ #18641]
2286         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2287         (putpwent): Likewise.
2288         (getpwnam): Likewise.
2289         (getpwent_r): Likewise.
2290         (getpwuid_r): Likewise.
2291         (getpwnam_r): Likewise.
2292         (fgetpwent_r): Likewise.
2294 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2296         [BZ #18557]
2297         * inet/rcmd.c (__validuser2_sa): Check user first to
2298         short-circuit host check.
2300 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2301             Mikhail Ilin  <m.ilin@samsung.com>
2303         [BZ #17833]
2304         * elf/Makefile (tests): Add tst-nodelete.
2305         (modules-names): Add tst-nodelete-uniquemod.
2306         (tst-nodelete-uniquemod.so-no-z-defs): New.
2307         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2308         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2309         ($(objpfx)tst-nodelete): Likewise.
2310         ($(objpfx)tst-nodelete.out): Likewise.
2311         (LDFLAGS-tst-nodelete): Likewise.
2312         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2313         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2314         implement forced object deletion.
2315         (_dl_close): Pass false to _dl_close_worker.
2316         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2317         * elf/tst-nodelete.cc: New file.
2318         * elf/tst-nodeletelib.cc: Likewise.
2319         * elf/tst-znodeletelib.cc: Likewise.
2320         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2322 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2324         [BZ #18508]
2325         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2326         Depend on $(libdl).
2327         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2328         is not called infinitely times.
2329         (backtrace_helper): New function.
2330         (trace_arg): New struct.
2331         (st1): Enlarge stack size.
2332         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2333         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2334         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2335         Likewise.
2337 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2339         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2341 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2343         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2344         Include sys/types.h instead of bits/types.h.
2345         Remove inclusion of bits/wordsize.h.
2347 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2349         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2350         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2351         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2352         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2353         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2354         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2356 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2358         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2359         link-defines.sym.
2360         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2361         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2362         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2363         and LR_SIZE.
2364         * sysdeps/i386/link-defines.sym: New file.
2366 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2368         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2369         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2370         ($(objpfx)tst-audit3): New rule.
2371         ($(objpfx)tst-audit3.out): Likewise.
2372         * sysdeps/i386/tst-audit3.c: New file.
2373         * sysdeps/i386/tst-audit3.h: Likewise.
2374         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2375         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2377 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2379         [BZ #18633]
2380         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2381         pointer in C code.
2382         (__strcat_c): Likewise.
2383         (__strcat_g): Likewise.
2385 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2387         [BZ #18592]
2388         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2390 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2392         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2393         New function.  (__ieee754_sqrtf): New function.
2394         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2395         New function.
2396         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2397         New function.
2399 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2401         * sysdeps/ieee754/support.c: Remove unused file.
2403 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2405         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2406         registers instead of d ones so the layout is kernel abi compatible.
2407         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2408         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2409         Likewise.
2411 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2413         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2415 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2417         [BZ #18619]
2418         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2419         and return argument in case of subnormal argument.
2421 2015-07-01  Martin Sebor  <msebor@redhat.com>
2423         [BZ #18435]
2424         * nptl/Makefile: Add tst-once5.cc.
2425         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2426         Remove macro redefinitions.
2427         * nptl/tst-once5.cc: New test.
2429 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2431         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2433         * sysdeps/arm/libm-test-ulps: Regenerated.
2435         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2436         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2438 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2440         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2441         lll_lock_wait_private and lll_futex_wake probes.
2443         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2445         Likewise.
2446         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2447         atomic_spin_nop.
2448         * sysdeps/x86_64/bits/atomic.h: Likewise.
2449         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2450         to atomic_spin_nop and move ...
2451         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2452         ... here and ...
2453         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2454         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2455         atomic_spin_nop instead of BUSY_WAIT_NOP.
2456         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2457         Likewise.
2458         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2459         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2460         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2461         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2462         instead of atomic_delay.
2464 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2466         [BZ #18613]
2467         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2468         X_ADJ not X when adjusting exponent.
2469         (__ieee754_gamma_r): Do intermediate computations in
2470         round-to-nearest then adjust overflowing and underflowing results
2471         as needed.
2472         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2473         of X_ADJ not X when adjusting exponent.
2474         (__ieee754_gammaf_r): Do intermediate computations in
2475         round-to-nearest then adjust overflowing and underflowing results
2476         as needed.
2477         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2478         log of X_ADJ not X when adjusting exponent.
2479         (__ieee754_gammal_r): Do intermediate computations in
2480         round-to-nearest then adjust overflowing and underflowing results
2481         as needed.  Use 1.0L not 1.0f as numerator of division.
2482         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2483         log of X_ADJ not X when adjusting exponent.
2484         (__ieee754_gammal_r): Do intermediate computations in
2485         round-to-nearest then adjust overflowing and underflowing results
2486         as needed.  Use 1.0L not 1.0f as numerator of division.
2487         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2488         of X_ADJ not X when adjusting exponent.
2489         (__ieee754_gammal_r): Do intermediate computations in
2490         round-to-nearest then adjust overflowing and underflowing results
2491         as needed.  Use 1.0L not 1.0f as numerator of division.
2492         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2493         to auto-libm-test-in.
2494         (tgamma_test): Use ALL_RM_TEST.
2495         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2496         tests of tgamma with spurious-overflow.
2497         * math/auto-libm-test-out: Regenerated.
2498         * math/gen-libm-have-vector-test.sh: Do not check for START.
2499         * sysdeps/i386/fpu/libm-test-ulps: Update.
2500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2502         [BZ #18612]
2503         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2504         arguments, just return 0.5 times the argument, with underflow
2505         forced as needed.
2506         * math/auto-libm-test-in: Add more tests of j1.
2507         * math/auto-libm-test-out: Regenerated.
2509         [BZ #16559]
2510         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2511         (__ieee754_j1): Force underflow exception for small results.
2512         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2513         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2514         (__ieee754_j1f): Force underflow exception for small results.
2515         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2516         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2518         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2519         (__ieee754_j1l): Force underflow exception for small results.
2520         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2521         * math/auto-libm-test-in: Add more tests of j1 and jn.
2522         * math/auto-libm-test-out: Regenerated.
2524         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2525         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2526         (PF_MPLS): Likewise.
2527         (AF_IB): Likewise.
2528         (AF_MPLS): Likewise.
2529         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2530         value and macro.
2531         (MS_RMT_MASK): Include MS_LAZYTIME.
2533 2015-06-26  Mel Gorman  <mgorman@suse.de>
2535         [BZ #18502]
2536         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2537         already minimal.
2539 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2541         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2542         (DT_MIPS_NUM): Update.
2543         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2544         DT_MIPS_RLD_MAP_REL.
2546 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2548         [BZ #16559]
2549         [BZ #18602]
2550         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2551         round-to-nearest internally then recompute results that
2552         underflowed to zero in the original rounding mode.
2553         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2554         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2556         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2557         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2558         * sysdeps/i386/fpu/libm-test-ulps: Update.
2559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2563         * NEWS: Fixed description of link with vector math library.
2565 2015-06-25  Andreas Schwab  <schwab@suse.de>
2567         [BZ #18549]
2568         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2569         * libio/test-fmemopen.c (do_test): Add test for it.
2571 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2573         [BZ #17841]
2574         * Makeconfig (no-pie-ldflag): New.
2575         (+link): Set to $(+link-pie) if default to PIE.
2576         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2577         * config.make.in (build-pie-default): New.
2578         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2579         is default.  AC_SUBST.
2580         * configure: Regenerated.
2581         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2583 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2585         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2586         to 'unsigned int'.
2588         * resolv/gai_misc.h (struct waitlist): Change type of field
2589         counterp to 'volatile unsigned int *'.
2590         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2591         FUTEXADDR and OLDVAL.
2592         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2593         Give local variable TOTAL type 'volatile unsigned int'.
2594         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2595         * resolv/gai_suspend.c (gai_suspend):
2596         Give local variable CNTR type 'unsigned int'.
2598         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2599         counterp to 'volatile unsigned int *'.
2600         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2601         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2602         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2603         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2604         Give local variable TOTAL type 'volatile unsigned int'.
2605         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2607 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2609         [BZ #18383]
2610         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2611         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2612         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2613         comment for i386/x86-64.
2614         (test-xfail-tst-tlsalign-extern-static): Removed.
2616 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2618         * math/test-double.h: New file.
2619         * math/test-float.h: Likewise.
2620         * math/test-ldouble.h: Likewise.
2621         * math/test-math-inline.h: Likewise.
2622         * math/test-math-no-inline.h: Likewise.
2623         * math/test-math-scalar.h: Likewise.
2624         * math/test-math-vector.h: Likewise.
2625         * math/test-vec-loop.h: Remove file.  Contents moved into
2626         test-math-vector.h.
2627         * math/libm-test.inc (MATHCONST): Do not document macro.
2628         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2629         and test-math-scalar.h.
2630         (FUNC): Remove macro.
2631         (FUNC_TEST): Likewise.
2632         (FLOAT): Likewise.
2633         (MATHCONST): Likewise.
2634         (PRINTF_EXPR): Likewise.
2635         (PRINTF_XEXPR): Likewise.
2636         (PRINTF_NEXPR): Likewise.
2637         (TEST_DOUBLE): Likewise.
2638         (TEST_MATHVEC): Likewise.
2639         (__NO_MATH_INLINES): Likewise.
2640         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2641         and test-math-scalar.h.
2642         (FUNC): Remove macro.
2643         (FUNC_TEST): Likewise.
2644         (FLOAT): Likewise.
2645         (MATHCONST): Likewise.
2646         (PRINTF_EXPR): Likewise.
2647         (PRINTF_XEXPR): Likewise.
2648         (PRINTF_NEXPR): Likewise.
2649         (TEST_FLOAT): Likewise.
2650         (TEST_MATHVEC): Likewise.
2651         (__NO_MATH_INLINES): Likewise.
2652         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2653         and test-math-scalar.h.
2654         (FUNC): Remove macro.
2655         (FUNC_TEST): Likewise.
2656         (FLOAT): Likewise.
2657         (MATHCONST): Likewise.
2658         (PRINTF_EXPR): Likewise.
2659         (PRINTF_XEXPR): Likewise.
2660         (PRINTF_NEXPR): Likewise.
2661         (TEST_DOUBLE): Likewise.
2662         (TEST_MATHVEC): Likewise.
2663         (TEST_INLINE): Likewise.
2664         (__NO_MATH_INLINES): Likewise.
2665         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2666         test-math-scalar.h.
2667         (FUNC): Remove macro.
2668         (FUNC_TEST): Likewise.
2669         (FLOAT): Likewise.
2670         (MATHCONST): Likewise.
2671         (PRINTF_EXPR): Likewise.
2672         (PRINTF_XEXPR): Likewise.
2673         (PRINTF_NEXPR): Likewise.
2674         (TEST_FLOAT): Likewise.
2675         (TEST_MATHVEC): Likewise.
2676         (TEST_INLINE): Likewise.
2677         (__NO_MATH_INLINES): Likewise.
2678         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2679         and test-math-scalar.h.
2680         (FUNC): Remove macro.
2681         (FUNC_TEST): Likewise.
2682         (FLOAT): Likewise.
2683         (MATHCONST): Likewise.
2684         (PRINTF_EXPR): Likewise.
2685         (PRINTF_XEXPR): Likewise.
2686         (PRINTF_NEXPR): Likewise.
2687         (TEST_LDOUBLE): Likewise.
2688         (TEST_MATHVEC): Likewise.
2689         (TEST_INLINE): Likewise.
2690         (__NO_MATH_INLINES): Likewise.
2691         * math/test-ldouble.c: Include test-ldouble.h,
2692         test-math-no-inline.h and test-math-scalar.h.
2693         (FUNC): Remove macro.
2694         (FUNC_TEST): Likewise.
2695         (FLOAT): Likewise.
2696         (MATHCONST): Likewise.
2697         (PRINTF_EXPR): Likewise.
2698         (PRINTF_XEXPR): Likewise.
2699         (PRINTF_NEXPR): Likewise.
2700         (TEST_LDOUBLE): Likewise.
2701         (TEST_MATHVEC): Likewise.
2702         (__NO_MATH_INLINES): Likewise.
2703         * math/test-double-vlen2.h: Include test-double.h,
2704         test-math-no-inline.h and test-math-vector.h.
2705         (FLOAT): Remove macro.
2706         (FUNC): Likewise.
2707         (MATHCONST): Likewise.
2708         (PRINTF_EXPR): Likewise.
2709         (PRINTF_XEXPR): Likewise.
2710         (PRINTF_NEXPR): Likewise.
2711         (TEST_DOUBLE): Likewise.
2712         (TEST_MATHVEC): Likewise.
2713         (__NO_MATH_INLINES): Likewise.
2714         (CNCT): Likewise.
2715         (CONCAT): Likewise.
2716         (WRAPPER_NAME): Likewise.
2717         (WRAPPER_DECL): Likewise.
2718         (WRAPPER_DECL_ff): Likewise.
2719         (WRAPPER_DECL_fFF): Likewise.
2720         (VECTOR_WRAPPER): Likewise.
2721         (VECTOR_WRAPPER_ff): Likewise.
2722         (VECTOR_WRAPPER_fFF): Likewise.
2723         (VEC_LEN): New macro.
2724         * math/test-double-vlen4.h: Include test-double.h,
2725         test-math-no-inline.h and test-math-vector.h.
2726         (FLOAT): Remove macro.
2727         (FUNC): Likewise.
2728         (MATHCONST): Likewise.
2729         (PRINTF_EXPR): Likewise.
2730         (PRINTF_XEXPR): Likewise.
2731         (PRINTF_NEXPR): Likewise.
2732         (TEST_DOUBLE): Likewise.
2733         (TEST_MATHVEC): Likewise.
2734         (__NO_MATH_INLINES): Likewise.
2735         (CNCT): Likewise.
2736         (CONCAT): Likewise.
2737         (WRAPPER_NAME): Likewise.
2738         (WRAPPER_DECL): Likewise.
2739         (WRAPPER_DECL_ff): Likewise.
2740         (WRAPPER_DECL_fFF): Likewise.
2741         (VECTOR_WRAPPER): Likewise.
2742         (VECTOR_WRAPPER_ff): Likewise.
2743         (VECTOR_WRAPPER_fFF): Likewise.
2744         (VEC_LEN): New macro.
2745         * math/test-double-vlen8.h: Include test-double.h,
2746         test-math-no-inline.h and test-math-vector.h.
2747         (FLOAT): Remove macro.
2748         (FUNC): Likewise.
2749         (MATHCONST): Likewise.
2750         (PRINTF_EXPR): Likewise.
2751         (PRINTF_XEXPR): Likewise.
2752         (PRINTF_NEXPR): Likewise.
2753         (TEST_DOUBLE): Likewise.
2754         (TEST_MATHVEC): Likewise.
2755         (__NO_MATH_INLINES): Likewise.
2756         (CNCT): Likewise.
2757         (CONCAT): Likewise.
2758         (WRAPPER_NAME): Likewise.
2759         (WRAPPER_DECL): Likewise.
2760         (WRAPPER_DECL_ff): Likewise.
2761         (WRAPPER_DECL_fFF): Likewise.
2762         (VECTOR_WRAPPER): Likewise.
2763         (VECTOR_WRAPPER_ff): Likewise.
2764         (VECTOR_WRAPPER_fFF): Likewise.
2765         (VEC_LEN): New macro.
2766         * math/test-float-vlen4.h: Include test-float.h,
2767         test-math-no-inline.h and test-math-vector.h.
2768         (FLOAT): Remove macro.
2769         (FUNC): Likewise.
2770         (MATHCONST): Likewise.
2771         (PRINTF_EXPR): Likewise.
2772         (PRINTF_XEXPR): Likewise.
2773         (PRINTF_NEXPR): Likewise.
2774         (TEST_FLOAT): Likewise.
2775         (TEST_MATHVEC): Likewise.
2776         (__NO_MATH_INLINES): Likewise.
2777         (CNCT): Likewise.
2778         (CONCAT): Likewise.
2779         (WRAPPER_NAME): Likewise.
2780         (WRAPPER_DECL): Likewise.
2781         (WRAPPER_DECL_ff): Likewise.
2782         (WRAPPER_DECL_fFF): Likewise.
2783         (VECTOR_WRAPPER): Likewise.
2784         (VECTOR_WRAPPER_ff): Likewise.
2785         (VECTOR_WRAPPER_fFF): Likewise.
2786         (VEC_LEN): New macro.
2787         * math/test-float-vlen8.h: Include test-float.h,
2788         test-math-no-inline.h and test-math-vector.h.
2789         (FLOAT): Remove macro.
2790         (FUNC): Likewise.
2791         (MATHCONST): Likewise.
2792         (PRINTF_EXPR): Likewise.
2793         (PRINTF_XEXPR): Likewise.
2794         (PRINTF_NEXPR): Likewise.
2795         (TEST_FLOAT): Likewise.
2796         (TEST_MATHVEC): Likewise.
2797         (__NO_MATH_INLINES): Likewise.
2798         (CNCT): Likewise.
2799         (CONCAT): Likewise.
2800         (WRAPPER_NAME): Likewise.
2801         (WRAPPER_DECL): Likewise.
2802         (WRAPPER_DECL_ff): Likewise.
2803         (WRAPPER_DECL_fFF): Likewise.
2804         (VECTOR_WRAPPER): Likewise.
2805         (VECTOR_WRAPPER_ff): Likewise.
2806         (VECTOR_WRAPPER_fFF): Likewise.
2807         (VEC_LEN): New macro.
2808         * math/test-float-vlen16.h: Include test-float.h,
2809         test-math-no-inline.h and test-math-vector.h.
2810         (FLOAT): Remove macro.
2811         (FUNC): Likewise.
2812         (MATHCONST): Likewise.
2813         (PRINTF_EXPR): Likewise.
2814         (PRINTF_XEXPR): Likewise.
2815         (PRINTF_NEXPR): Likewise.
2816         (TEST_FLOAT): Likewise.
2817         (TEST_MATHVEC): Likewise.
2818         (__NO_MATH_INLINES): Likewise.
2819         (CNCT): Likewise.
2820         (CONCAT): Likewise.
2821         (WRAPPER_NAME): Likewise.
2822         (WRAPPER_DECL): Likewise.
2823         (WRAPPER_DECL_ff): Likewise.
2824         (WRAPPER_DECL_fFF): Likewise.
2825         (VECTOR_WRAPPER): Likewise.
2826         (VECTOR_WRAPPER_ff): Likewise.
2827         (VECTOR_WRAPPER_fFF): Likewise.
2828         (VEC_LEN): New macro.
2829         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2830         test-vec-loop.h.
2831         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2832         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2833         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2834         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2835         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2836         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2837         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2839 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2841         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2842         (__getlogin_r): ... this.
2844 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2846         [BZ #18594]
2847         * math/s_ccosh.c (__ccosh): Compare with least normal value
2848         instead of comparing class with FP_SUBNORMAL.
2849         * math/s_ccoshf.c (__ccoshf): Likewise.
2850         * math/s_ccoshl.c (__ccoshl): Likewise.
2851         * math/s_cexp.c (__cexp): Likewise.
2852         * math/s_cexpf.c (__cexpf): Likewise.
2853         * math/s_cexpl.c (__cexpl): Likewise.
2854         * math/s_csin.c (__csin): Likewise.
2855         * math/s_csinf.c (__csinf): Likewise.
2856         * math/s_csinh.c (__csinh): Likewise.
2857         * math/s_csinhf.c (__csinhf): Likewise.
2858         * math/s_csinhl.c (__csinhl): Likewise.
2859         * math/s_csinl.c (__csinl): Likewise.
2860         * math/s_ctan.c (__ctan): Likewise.
2861         * math/s_ctanf.c (__ctanf): Likewise.
2862         * math/s_ctanh.c (__ctanh): Likewise.
2863         * math/s_ctanhf.c (__ctanhf): Likewise.
2864         * math/s_ctanhl.c (__ctanhl): Likewise.
2865         * math/s_ctanl.c (__ctanl): Likewise.
2866         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2867         csin, csinh, ctan and ctanh.
2868         * math/auto-libm-test-out: Regenerated.
2869         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2870         * sysdeps/i386/fpu/libm-test-ulps: Update.
2871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2873 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2875         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2876         return value is wrong, print the expected value too.
2878 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2880         [BZ #18585]
2881         * elf/readlib.c (is_gdb_python_file): New.
2882         (process_file): Don't issue errors on filenames with -gdb.py
2883         suffix.
2885 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2887         * math/auto-libm-test-in: Add more tests of csin and csinh.
2888         * math/auto-libm-test-out: Regenerated.
2889         * math/libm-test.inc (csin_test_data): Remove tests moved to
2890         auto-libm-test-in.
2891         (csinh_test_data): Likewise.
2893         [BZ #18593]
2894         * math/s_csin.c (__csin): Negate before rather than after possibly
2895         overflowing multiplication.
2896         * math/s_csinf.c (__csinf): Likewise.
2897         * math/s_csinh.c (__csinh): Likewise.
2898         * math/s_csinhf.c (__csinhf): Likewise.
2899         * math/s_csinhl.c (__csinhl): Likewise.
2900         * math/s_csinl.c (__csinl): Likewise.
2901         * math/auto-libm-test-in: Add some tests of csin and csinh.
2902         * math/auto-libm-test-out: Regenerated.
2903         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2904         (csinh_test_data): Likewise.
2905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2907         [BZ #18586]
2908         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2909         underflow exception for small results.
2911 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2914         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2915         variable and included header.
2916         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2917         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2918         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2919         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2920         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2921         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2922         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2923         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2924         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2925         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2926         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2927         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2928         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2929         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2930         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2931         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2933 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2935         [BZ #16526]
2936         [BZ #16538]
2937         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2938         (__sin): Force underflow exception for arguments with small
2939         absolute value.
2940         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2941         (__kernel_sinf): Force underflow exception for arguments with
2942         small absolute value.
2943         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2944         (__kernel_sincosl): Force underflow exception for arguments with
2945         small absolute value.
2946         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2947         (__kernel_sinl): Force underflow exception for arguments with
2948         small absolute value.
2949         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2950         (__kernel_sincosl): Force underflow exception for arguments with
2951         small absolute value.
2952         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2953         (__kernel_sinl): Force underflow exception for arguments with
2954         small absolute value.
2955         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2956         (__kernel_sinl): Force underflow exception for arguments with
2957         small absolute value.
2958         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2959         (__kernel_sinf): Force underflow exception for arguments with
2960         small absolute value.
2961         * math/auto-libm-test-in: Add more tests of sin and sincos.
2962         * math/auto-libm-test-out: Regenerated.
2964         [BZ #18245]
2965         [BZ #18583]
2966         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2967         (__kernel_standard_l): Use feholdexcept and fesetenv around
2968         conversion to double instead of special-casing overflow and
2969         underflow.
2970         * math/libm-test.inc (fmod_test_data): Add more tests.
2971         (remainder_test_data): Likewise.
2972         (sqrt_test_data): Likewise.
2974 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2976         [BZ #17403]
2977         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2978         atomic_read_barrier, atomic_write_barrier): Define.
2979         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2980         atomic_read_barrier, atomic_write_barrier): Define.
2982 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2984         * math/Makefile [$(PERL) != no]
2985         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2986         dependency on libm-test.stmp below the inclusion of Rules.
2988 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2990         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2992         and included header.
2993         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2994         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2995         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2996         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2997         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2998         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2999         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3000         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3001         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3002         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3003         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3004         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3005         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3006         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3007         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3008         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3009         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3010         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3011         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3013 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3015         [BZ #18371]
3016         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3017         intermediate but not final result might underflow.
3018         * math/s_csqrtf.c (__csqrtf): Likewise.
3019         * math/s_csqrtl.c (__csqrtl): Likewise.
3020         * math/auto-libm-test-in: Add more tests of csqrt.
3021         * math/auto-libm-test-out: Regenerated.
3022         * sysdeps/i386/fpu/libm-test-ulps: Update.
3024         [BZ #18219]
3025         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3026         threshold on absolute value of exponent for which scaling is used.
3027         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3028         * math/auto-libm-test-in: Add more tests of exp2.
3029         * math/auto-libm-test-out: Regenerated.
3031 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3033         [BZ #17977]
3034         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3035         when initializing interface list, based on the bug analysis
3036         and the patch proposed by Eric Newton.
3037         * resolv/tst-res_hconf_reorder.c: New test.
3038         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3039         tst-res_hconf_reorder.
3040         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3041         and $(shared-thread-library).
3042         (tst-res_hconf_reorder-ENV): New variable.
3044         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3045         in comment.
3047 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3049         [BZ #16353]
3050         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3051         (__expm1): Force underflow exception for arguments with small
3052         absolute value.
3053         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3054         (__expm1f): Force underflow exception for arguments with small
3055         absolute value.
3056         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3057         (__expm1): Force underflow exception for arguments with small
3058         absolute value.
3059         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3060         (__expm1f): Force underflow exception for arguments with small
3061         absolute value.
3062         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3063         Check for small arguments before calling __expm1.
3064         * math/auto-libm-test-in: Do not mark underflow exceptions as
3065         possibly missing for bug 16353.
3066         * math/auto-libm-test-out: Regenerated.
3068 2015-06-22  Andreas Schwab  <schwab@suse.de>
3070         [BZ #18513]
3071         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3072         PTR queries.
3074 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3076         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3078         * string/strcoll_l.c: Remove unused struct element idxnow.
3080 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3082         [BZ #18569]
3083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3084         underflow and return argument in case of subnormal argument.
3085         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3086         Likewise.
3087         * math/auto-libm-test-in: Add more tests of expm1.
3088         * math/auto-libm-test-out: Regenerated.
3090         [BZ #16361]
3091         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3092         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3093         tiny results.
3094         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3095         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3096         tiny results.
3097         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3098         mark underflow exceptions as possibly missing for bug 16361.
3099         * math/auto-libm-test-out: Regenerated.
3101 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3103         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3104         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3105         Remove variable.
3106         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3107         (test-xfail-XOPEN2K8/utmpx.h/conform).
3109         * conform/conformtest.pl ($xerrors): New variable.
3110         (note_error): New function.
3111         (compiletest): New argument $xfail.  Use not_error.
3112         (runtest): Likewise.
3113         (top level): Handle xfail- lines.  Update calls to compiletest and
3114         runtest.  Handle xfail- and optional- in headers listed with
3115         allow-header.
3116         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3117         (O_EXEC): Likewise.
3118         (O_SEARCH): Likewise.
3119         * conform/data/stropts.h-data (ioctl): Likewise.
3120         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3121         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3122         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3123         (msghdr.msg_controllen): Likewise.
3124         (cmsghdr.cmsg_len): Likewise.
3125         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3126         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3127         variable.
3128         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3129         (test-xfail-XPG4/stropts.h/conform): Likewise.
3130         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3131         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3132         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3133         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3134         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3135         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3136         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3137         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3138         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3139         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3140         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3141         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3142         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3143         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3144         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3145         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3146         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3147         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3148         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3150 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3152         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3153         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3154         definitions for proper unfolding of __MATHDECL_VEC.
3156 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3158         * benchtests/bench-strcoll.c:
3159         Include string.h.
3160         (main): Remove unused variable res.
3162 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3164         * timezone/Makefile (%/UTC %/Universal):
3165         Generate test-result files for UTC and Universal.
3167 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3169         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3171 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3173         [BZ #16350]
3174         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3175         for arguments with small absolute value.
3176         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3177         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3178         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3179         (__asinh): Force underflow exception for arguments with small
3180         absolute value.
3181         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3182         (__asinhf): Force underflow exception for arguments with small
3183         absolute value.
3184         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3185         (__asinhl): Force underflow exception for arguments with small
3186         absolute value.
3187         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3188         (__asinhl): Force underflow exception for arguments with small
3189         absolute value.
3190         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3191         (__asinhl): Force underflow exception for arguments with small
3192         absolute value.
3193         * math/auto-libm-test-in: Do not mark underflow exceptions as
3194         possibly missing for bug 16350.
3195         * math/auto-libm-test-out: Regenerated.
3197         * include/bits/ipc.h: Remove file.
3198         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3199         variable.
3200         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3201         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3202         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3203         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3204         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3205         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3206         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3207         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3208         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3210         * math/auto-libm-test-in: Remove spurious underflow allowance for
3211         tests of cexp.
3212         * math/auto-libm-test-out: Regenerated.
3214         [BZ #18558]
3215         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3216         unconditional definition.
3217         (MCAST_BLOCK_SOURCE): Likewise.
3218         (MCAST_UNBLOCK_SOURCE): Likewise.
3219         (MCAST_LEAVE_GROUP): Likewise.
3220         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3221         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3222         (MCAST_MSFILTER): Likewise.
3223         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3224         Remove variable.
3225         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3226         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3227         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3228         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3229         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3231 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3233         * NEWS: Mention addition of x86_64 vector sincosf.
3234         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3235         * math/test-float-vlen4.h: Likewise.
3236         * math/test-float-vlen8.h: Likewise.
3237         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3238         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3239         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3240         * sysdeps/x86_64/fpu/Versions: New versions added.
3241         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3242         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3243         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3245         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3246         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3247         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3248         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3249         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3250         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3251         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3252         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3253         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3254         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3255         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3256         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3257         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3258         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3259         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3260         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3261         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3262         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3263         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3264         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3266         * NEWS: Mention addition of x86_64 vector sincos.
3267         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3268         * math/math.h (__MATHDECL_VEC): New macro.
3269         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3270         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3271         declaration under condition.
3272         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3273         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3274         TEST_VEC_LOOP change.
3275         * math/test-double-vlen4.h: Likewise.
3276         * math/test-double-vlen8.h: Likewise.
3277         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3278         * math/test-float-vlen4.h: Likewise.
3279         * math/test-float-vlen8.h: Likewise.
3280         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3281         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3282         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3283         * sysdeps/x86_64/fpu/Versions: New versions added.
3284         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3285         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3286         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3289         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3290         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3291         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3292         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3293         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3294         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3295         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3296         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3297         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3298         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3299         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3300         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3301         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3302         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3303         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3304         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3305         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3306         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3307         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3309         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3310         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3311         redirections for powf.
3312         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3313         * sysdeps/x86_64/fpu/Versions: New versions added.
3314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3315         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3316         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3317         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3319         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3320         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3321         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3322         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3323         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3324         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3325         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3326         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3327         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3328         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3329         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3330         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3331         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3332         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3333         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3334         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3335         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3336         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3337         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3338         * math/test-float-vlen16.h: Fixed 2 argument macro.
3339         * math/test-float-vlen4.h: Likewise.
3340         * math/test-float-vlen8.h: Likewise.
3341         * NEWS: Mention addition of x86_64 vector powf.
3343 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3345         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3346         and redefine.
3347         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3348         and redefine.
3349         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3350         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3351         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3353         [BZ #18553]
3354         * resource/getpriority.c (getpriority): Rename to __getpriority
3355         and define as weak alias of __getpriority.
3356         * resource/setpriority.c (setpriority): Rename to __setpriority
3357         and define as weak alias of __setpriority.
3358         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3359         __getpriority and define as weak alias of __getpriority.
3360         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3361         __setpriority and define as weak alias of __setpriority.
3362         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3363         strong name.
3364         (setpriority): Use __setpriority as strong name.
3365         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3366         __getpriority and define as weak alias of __getpriority.
3367         * include/sys/resource.h (__getpriority): Declare.  Use
3368         libc_hidden_proto.
3369         (__setpriority): Likewise.
3370         (getpriority): Don't use libc_hidden_proto.
3371         (setpriority): Likewise.
3372         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3373         getpriority.  Call __setpriority instead of setpriority.
3374         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3375         Remove variable.
3377         [BZ #18547]
3378         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3379         as weak alias of __getttynam.  Use prototype function definition.
3380         Call __setttyent, __getttyent and __endttyent instead of
3381         setttyent, getttyent and endttyent.
3382         (getttyent): Rename to __getttyent and define as weak alias of
3383         __getttyent.  Call __setttyent instead of setttyent.  Call
3384         __fgets_unlocked instead of fgets_unlocked.
3385         (setttyent): Rename to __setttyent and define as weak alias of
3386         __setttyent.
3387         (endttyent): Rename to __endttyent and define as weak alias of
3388         __endttyent.
3389         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3390         (__setttyent): Likewise.
3391         (__endttyent): Likewise.
3392         (getttyent): Don't use libc_hidden_proto.
3393         (setttyent): Likewise.
3394         (endttyent): Likewise.
3395         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3396         __endttyent instead of setttyent, getttyent and endttyent.
3397         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3398         Remove variable.
3400         [BZ #18546]
3401         * socket/recv.c (__recv): Use libc_hidden_def.
3402         * socket/socket.c (__socket): Likewise.
3403         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3404         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3405         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3406         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3407         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3408         libc_hidden_def.
3409         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3410         libc_hidden_weak.
3411         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3412         Use libc_hidden_proto.
3413         (__recv): Likewise.
3414         * socket/Versions (libc): Export __recv and __socket at version
3415         GLIBC_PRIVATE.
3416         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3417         instead of recv.
3418         (init_mq_netlink): Call __socket instead of socket.
3419         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3420         Remove variable.
3422         [BZ #18545]
3423         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3424         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3425         hidden_weak.
3426         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3427         define as alias of __mq_timedsend.  Use hidden_weak.
3428         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3429         __mq_timedsend as strong name.
3430         (mq_timedreceive): Use __mq_timedreceive as strong name.
3431         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3432         (__mq_timedreceive): Likewise.
3433         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3434         __mq_timedreceive instead of mq_timedreceive.
3435         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3436         instead of mq_timedsend.
3437         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3438         Remove variable.
3440         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3441         hidden_def and hidden_weak instead of libc_hidden_def and
3442         libc_hidden_weak.
3443         (top level): Refer to hidden_def in comment.
3444         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3445         macro.  Use it instead of libc_hidden_def.
3446         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3447         specify __GI_* name explicitly.
3448         (mq_timedreceive): Likewise.
3449         (mq_setattr): Likewise.
3451         [BZ #18544]
3452         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3453         __pthread_barrier_init and define as weak alias of
3454         __pthread_barrier_init.
3455         * sysdeps/sparc/nptl/pthread_barrier_init.c
3456         (pthread_barrier_init): Likewise.
3457         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3458         __pthread_barrier_wait and define as weak alias of
3459         __pthread_barrier_wait.
3460         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3461         (pthread_barrier_wait): Likewise.
3462         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3463         (pthread_barrier_wait): Likewise.
3464         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3465         (pthread_barrier_wait): Likewise.
3466         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3467         (pthread_barrier_wait): Likewise.
3468         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3469         __pthread_barrier_wait at version GLIBC_PRIVATE.
3470         * include/pthread.h (__pthread_barrier_init): Declare.
3471         (__pthread_barrier_wait): Likewise.
3472         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3473         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3474         (helper_thread): Likewise.
3475         (init_mq_netlink): Call __pthread_barrier_init instead of
3476         pthread_barrier_init.
3478         [BZ #18542]
3479         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3480         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3481         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3482         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3483         vswscanf.
3484         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3485         Remove variable.
3487         [BZ #18540]
3488         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3489         strong alias of _IO_fflush.  Use libc_hidden_def.
3490         * libio/iofflush_u.c (fflush_unlocked): Rename to
3491         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3492         Use libc_hidden_weak.
3493         * include/stdio.h (__fflush_unlocked): Declare.  Use
3494         libc_hidden_proto.
3495         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3496         fflush_unlocked.
3497         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3498         Remove variable.
3500         [BZ #18539]
3501         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3502         define as weak alias of __addseverity.
3503         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3504         Remove variable.
3505         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3506         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3507         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3509         [BZ #18536]
3510         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3511         (__tfind): Likewise.
3512         (__tdelete): Likewise.
3513         (__twalk): Likewise.
3514         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3515         __twalk to GLIBC_PRIVATE.
3516         * include/search.h (__tsearch): Use libc_hidden_proto.
3517         (__tfind): Likewise.
3518         (__tdelete): Likewise.
3519         (__twalk): Likewise.
3520         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3521         Call __tdelete instead of tdelete.
3522         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3523         tfind.  Call __tsearch instead of tsearch.
3524         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3525         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3526         Remove variable.
3527         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3529         [BZ #18534]
3530         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3531         (dprintf): Define as a weak alias of __dprintf, not a strong
3532         alias.
3533         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3534         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3535         dprintf.
3536         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3537         Remove variable.
3538         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3539         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3541         [BZ #18533]
3542         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3543         not a strong alias.
3544         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3545         Remove variable.
3547         [BZ #18532]
3548         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3549         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3550         (in6addr_loopback): Rename to __in6addr_loopback and define as
3551         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3552         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3553         libc_hidden_proto.
3554         (__in6addr_any): Likewise.
3555         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3556         in6addr_any.
3557         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3558         variable.
3559         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3561 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3563         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3564         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3565         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3566         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3567         redirections for pow.
3568         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3569         * sysdeps/x86_64/fpu/Versions: New versions added.
3570         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3571         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3572         build of SSE, AVX2 and AVX512 IFUNC versions.
3573         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3574         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3575         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3576         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3577         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3578         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3579         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3580         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3581         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3582         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3583         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3584         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3585         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3586         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3587         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3588         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3589         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3590         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3591         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3592         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3593         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3594         * NEWS: Mention addition of x86_64 vector pow.
3596         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3597         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3598         redirections for expf.
3599         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3600         * sysdeps/x86_64/fpu/Versions: New versions added.
3601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3602         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3603         build of SSE, AVX2 and AVX512 IFUNC versions.
3604         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3605         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3606         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3607         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3608         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3609         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3610         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3611         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3612         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3613         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3614         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3615         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3616         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3617         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3618         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3619         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3621         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3622         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3623         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3624         * NEWS: Mention addition of x86_64 vector expf.
3626         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3627         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3628         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3629         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3630         redirections for exp.
3631         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3632         * sysdeps/x86_64/fpu/Versions: New versions added.
3633         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3634         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3635         build of SSE, AVX2 and AVX512 IFUNC versions.
3636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3638         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3639         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3640         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3641         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3642         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3643         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3644         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3645         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3646         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3647         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3648         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3649         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3650         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3651         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3652         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3653         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3654         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3655         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3656         * NEWS: Mention addition of x86_64 vector exp.
3658         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3660         redirections for logf.
3661         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3662         * sysdeps/x86_64/fpu/Versions: New versions added.
3663         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3664         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3665         build of SSE, AVX2 and AVX512 IFUNC versions.
3666         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3667         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3668         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3669         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3670         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3672         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3673         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3674         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3675         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3676         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3677         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3678         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3679         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3680         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3681         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3682         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3683         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3684         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3685         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3686         * NEWS: Mention addition of x86_64 vector logf.
3688         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3689         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3690         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3691         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3692         redirections for log.
3693         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3694         * sysdeps/x86_64/fpu/Versions: New versions added.
3695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3696         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3697         build of SSE, AVX2 and AVX512 IFUNC versions.
3698         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3699         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3700         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3701         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3702         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3703         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3704         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3705         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3706         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3707         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3708         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3709         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3710         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3711         test.
3712         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3713         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3714         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3715         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3716         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3717         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3718         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3719         * NEWS: Mention addition of x86_64 vector log.
3721 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3723         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3724         cfi_adjust_cfa_offset argument.
3725         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3726         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3728         [BZ #18034]
3729         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3730         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3731         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3732         ordering using ldar.
3733         (_dl_tlsdesc_dynamic): Likewise.
3734         (_dl_tlsdesc_return_lazy): Likewise.
3735         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3736         relaxed atomics instead of volatile and synchronize with release store.
3737         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3738         volatile.
3739         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3741 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3743         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3744         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3745         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3746         * sysdeps/x86_64/fpu/Versions: New versions added.
3747         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3748         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3749         build of SSE, AVX2 and AVX512 IFUNC versions.
3750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3752         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3753         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3754         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3755         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3756         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3757         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3758         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3759         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3760         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3761         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3762         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3763         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3764         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3765         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3766         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3767         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3768         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3769         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3770         * NEWS: Mention addition of x86_64 vector sinf.
3772 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3774         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3775         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3776         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3777         Remove variable.
3778         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3779         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3781 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3783         [BZ #18530]
3784         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3785         strong alias of _IO_fputs.  Use libc_hidden_def.
3786         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3787         and define as weak alias of __fputs_unlocked.  Use
3788         libc_hidden_weak.
3789         * include/stdio.h (__fputs_unlocked): Declare.  Use
3790         libc_hidden_proto.
3791         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3792         fputs_unlocked.
3794         [BZ #18529]
3795         * resolv/netdb.h [__USE_POSIX]: Change condition to
3796         [__USE_XOPEN2K].
3797         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3798         not expect.
3799         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3800         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3801         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3802         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3803         [XPG4 || UNIX98] (AI_ALL): Likewise.
3804         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3805         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3806         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3807         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3808         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3809         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3810         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3811         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3812         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3813         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3814         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3815         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3816         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3817         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3818         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3819         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3820         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3821         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3822         [XPG4 || UNIX98] (gai_strerror): Likewise.
3823         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3824         [XPG4 || UNIX98] (getnameinfo): Likewise.
3826         [BZ #18528]
3827         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3828         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3829         __USE_XOPEN2K8].
3830         (getgrent): Likewise.
3831         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3832         expect.
3833         [XPG3 || POSIX2008] (endgrent): Likewise.
3834         [XPG3] (setgrent): Likewise.
3835         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3836         variable.
3837         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3839         [BZ #18527]
3840         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3841         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3842         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3843         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3844         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3845         * include/unistd.h (__getlogin_r): Declare.  Use
3846         libc_hidden_proto.
3847         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3848         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3849         variable.
3850         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3851         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3852         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3854 2015-06-12  Martin Sebor  <msebor@redhat.com>
3856         [BZ #18512]
3857         * Makerules (check-install-supported): New target.
3858         (install): Add check-install-supported as a dependency.
3859         * manual/install.texi (Installing the C Library): Document
3860         that overriding prefix and exec_prefix is not supported.
3861         Mention DESTDIR.
3862         * INSTALL: Regenerate from the above.
3864 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3866         [BZ #18519]
3867         * posix/Versions (libc): Export __libc_pread at version
3868         GLIBC_PRIVATE.
3869         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3870         instead of pread.
3871         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3872         variable.
3874         [BZ #18522]
3875         * misc/efgcvt_r.c
3876         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3877         (cvt_symbol): Use weak_alias instead of strong_alias.
3878         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3879         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3880         Remove variable.
3881         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3882         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3884         [BZ #18520]
3885         * inet/herrno.c (h_errno): Rename to __h_errno.
3886         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3887         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3888         to __h_errno instead of h_errno.
3889         * nptl/herrno.c (h_errno): Rename to __h_errno.
3890         (__h_errno_location): Refer to __h_errno not h_errno.
3891         * resolv/Versions (h_errno): Rename to __h_errno.
3892         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3893         Remove variable.
3894         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3896 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3898         * configure.ac: More strict check for AVX512 assembler support.
3899         * configure: Regenerated.
3901         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3902         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3904         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3905         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3906         * sysdeps/x86_64/fpu/Versions: New versions added.
3907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3908         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3909         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3912         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3913         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3914         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3915         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3916         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3917         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3918         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3919         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3920         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3921         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3922         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3923         test.
3924         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3927         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3928         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3929         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3930         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3931         * NEWS: Mention addition of x86_64 vector sin.
3933 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3935         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3936         comment.
3938 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3940         [BZ #18479]
3941         * nptl/pt-interp.c: New file.
3942         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3943         Add pt-interp.
3944         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3945         $(common-objpfx)runtime-linker.h.
3947 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3949         * Makeconfig (+interp): Remove unused variable.
3950         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3951         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3952         $(elf-objpfx)runtime-linker.h.
3953         ($(elf-objpfx)runtime-linker.h): Rename to
3954         $(common-objpfx)runtime-linker.h and move ...
3955         * Makerules [$(build-shared) = yes]: ... here.
3956         * elf/interp.c: Include <runtime-linker.h> instead of
3957         <elf/runtime-linker.h>.
3959 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3961         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3962         (__gettimeofday_syscall): Remove vsyscall fallback.
3963         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3964         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3965         Add syscall fallback function.
3966         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3967         if vDSO is not present.
3968         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3969         fallback function.
3970         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3971         present.
3972         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3973         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3975 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3977         [BZ #18497]
3978         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3979         of wcscmp.
3980         (wcscmp): Define as weak alias of WCSCMP.
3981         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3982         wcscoll.
3983         (USE_HIDDEN_DEF): Define.
3984         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3985         __wcscoll.  Don't use libc_hidden_weak.
3986         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3987         wcscmp.
3988         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3989         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3990         __GI_wcscmp.
3991         (weak_alias): Undefine and redefine.
3992         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3993         __wcscmp and define as weak alias of __wcscmp.
3994         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3995         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3996         (__wcscoll): Likewise.
3997         (wcscmp): Don't use libc_hidden_proto.
3998         (wcscoll): Likewise.
3999         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4000         wcscoll.
4001         * posix/regexec.c (check_node_accept_bytes): Likewise.
4002         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4003         variable.
4004         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4005         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4007         [BZ #18507]
4008         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4009         __fstatvfs and define as weak alias of __fstatvfs.  Use
4010         libc_hidden_weak.
4011         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4012         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4013         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4014         Define as alias of __fstatvfs, not fstatvfs.
4015         (fstatvfs64): Likewise.
4016         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4017         Define as alias of __statvfs, not statvfs.
4018         (statvfs64): Likewise.
4019         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4020         Remove variable.
4022 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4025         (HAVE_GETCPU_VSYSCALL): Define.
4026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4027         (HAVE_GETCPU_VSYSCALL): Likewise.
4028         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4029         * sysdeps/unix/sysv/linux/sched_getcpu.c
4030         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4031         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4032         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4033         prototype.
4034         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4035         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4036         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4037         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4038         Define.
4039         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4040         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4041         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4042         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4044 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4046         * sysdeps/x86_64/fpu/Makefile: New file.
4047         * sysdeps/x86_64/fpu/Versions: New file.
4048         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4049         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4050         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4051         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4052         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4053         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4054         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4055         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4057         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4058         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4059         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4060         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4062         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4063         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4064         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4065         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4066         * sysdeps/x86_64/configure: Regenerated.
4067         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4068         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4069         * manual/install.texi (Configuring and compiling): Document
4070         --disable-mathvec.
4071         * INSTALL: Regenerated.
4072         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4074         * math/Makefile: Added rules for vector tests.
4075         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4076         declaration under condition.
4077         * math/test-double-vlen2.h: New file.
4078         * math/test-double-vlen4.h: New file.
4079         * math/test-double-vlen8.h: New file.
4080         * math/test-vec-loop.h: Added initialization macro.
4081         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4082         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4083         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4084         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4085         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4086         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4087         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4088         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4089         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4090         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4091         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4094         * sysdeps/x86_64/fpu/Versions: New versions added.
4095         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4096         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4097         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4098         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4099         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4100         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4102         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4103         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4104         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4105         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4106         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4107         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4108         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4109         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4111         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4112         * NEWS: Mention addition of x86_64 vector cosf.
4114         * math/Makefile: Added CFLAGS for new tests.
4115         * math/test-float-vlen16.h: New file.
4116         * math/test-float-vlen4.h: New file.
4117         * math/test-float-vlen8.h: New file.
4118         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4119         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4120         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4121         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4122         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4123         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4124         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4125         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4126         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4127         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4128         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4130 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4132         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4133         * locale/programs/ld-ctype.c: Likewise.
4135 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4137         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4138         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4139         bit_ZMM16_31_state): New macro.
4140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4141         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4143 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4145         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4147 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4149         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4151 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4153         [BZ #18498]
4154         * libio/memstream.c (open_memstream): Rename to __open_memstream
4155         and define as weak alias of __open_memstream.
4156         * include/stdio.h (__open_memstream): Declare.  Use
4157         libc_hidden_proto.
4158         (open_memstream): Don't use libc_hidden_proto.
4159         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4160         open_memstream.
4161         * posix/getopt.c (_getopt_internal_r): Likewise.
4162         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4163         variable.
4164         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4165         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4166         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4168         [BZ #18496]
4169         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4170         instead of wcrtomb.
4172         [BZ #18483]
4173         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4174         [__USE_XOPEN2K8].  Remove redundant #endif.
4175         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4176         Remove redundant #if.
4177         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4178         Remove variable.
4179         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4180         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4182         [BZ #18495]
4183         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4184         (__iswlower): Likewise.
4185         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4186         (__iswlower): Likewise.
4187         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4188         instead of towlower.
4189         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4190         instead of iswlower.  Call __towupper instead of towupper.
4191         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4192         instead of iswalnum.
4194 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4196         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4197         errors to stderr.
4199 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4201         [BZ #15661]
4202         [BZ #17322]
4203         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4204         Check for overflow properly.  Check for O_APPEND.  Ignore large
4205         file system block sizes.  Add comments about problems.
4206         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4207         * manual/filesys.texi (Storage Allocation): New node.
4209 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4211         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4212         cancellable syscalls.
4213         (SYS_ify): Add guard to no redefine it.
4214         (INLINE_SYSCALL): Likewise.
4215         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4216         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4217         SYSCALL_CANCEL instead.
4218         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4219         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4220         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4221         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4222         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4223         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4224         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4225         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4226         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4227         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4228         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4229         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4230         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4231         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4232         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4234         Likewise.
4235         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4236         (__libc_pread64): Likewise.
4237         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4238         (__libc_preadv): Likewise.
4239         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4240         (__libc_readv64): Likewise.
4241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4242         (__libc_pwrite): Likewise.
4243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4244         (__libc_pwrite64): Likewise.
4245         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4246         (__libc_pwritev): Likewise.
4247         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4248         (__libc_pwritev64): Likewise.
4249         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4250         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4251         (sync_file_range): Likewise.
4252         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4253         Likewise.
4254         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4255         Likewise.
4256         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4257         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4258         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4259         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4260         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4261         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4262         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4263         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4265         Likewise.
4266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4267         (__libc_read64): Likewise.
4268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4269         Likewise.
4270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4271         Likewise.
4272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4273         Likewise.
4274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4275         Likewise.
4276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4277         (__libc_pread64): Likewise.
4278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4279         Likewise.
4280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4281         (__libc_pwrite64): Likewise.
4282         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4283         (sync_file_range): Likewise.
4284         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4285         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4286         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4287         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4288         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4289         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4290         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4291         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4292         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4293         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4294         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4295         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4296         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4297         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4298         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4299         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4300         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4301         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4302         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4303         Likewise.
4304         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4305         Likewise.
4306         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4307         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4308         Likewise.
4309         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4310         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4311         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4312         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4313         Likewise.
4314         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4315         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4316         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4317         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4318         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4320 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4322         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4323         Include dl-vdso.
4324         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4325         Use VDSO routines for gettimeofday, clock_gettime if
4326         available.
4327         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4328         Declare VDSO symbols.
4329         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4330         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4331         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4332         * sysdeps/unix/sysv/linux/arm/Versions: Add
4333         __vdso_clock_gettime.
4335 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4337         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4338         be an inline implementation regardless of library is built within.
4339         (open_not_cancel_2): Likewise.
4340         (__read_nocancel): Likewise.
4341         (__write_nocancel): Likewise.
4342         (openat_not_cancel): Likewise.
4343         (openat_not_cancel_3): Likewise.
4344         (openat64_not_cancel): Likewise.
4345         (openat64_not_cancel_3): Likewise.
4346         (__close_nocancel): Likewise.
4347         (pause_not_cancel): Likewise.
4348         (nanosleep_not_cancel): Likewise.
4349         (sigsuspend_not_cancel): Likewise.
4351 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4353         [BZ #14958]
4354         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4355         wake-up.
4356         (__pthread_rwlock_rdlock_slow): Likewise.
4357         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4358         Likewise.
4359         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4360         Likewise.
4361         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4362         * nptl/tst-rwlock16.c: New file.
4363         * nptl/Makefile (tests): Add new test.
4365 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4367         [BZ #18324]
4368         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4369         missing wake-up of readers.
4370         * nptl/tst-rwlock15.c: New file.
4371         * nptl/Makefile (tests): Add new test.
4373 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4375         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4376         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4377         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4378         and __nacl_supply_interface_rtld.
4379         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4380         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4381         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4382         Add __nacl_supply_interface_rtld.
4383         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4385 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4388         isfinite.
4389         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4390         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4392 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4394         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4395         __signbit* with standard C99 macros.
4396         * math/e_exp10l.c: Likewise.
4397         * math/e_exp2l.c: Likewise.
4398         * math/e_scalb.c: Likewise.
4399         * math/e_scalbf.c: Likewise.
4400         * math/e_scalbl.c: Likewise.
4401         * math/s_ldexp.c: Likewise.
4402         * math/s_ldexpf.c: Likewise.
4403         * math/s_ldexpl.c: Likewise.
4404         * math/w_atan2.c: Likewise.
4405         * math/w_atan2f.c: Likewise.
4406         * math/w_atan2l.c: Likewise.
4407         * math/w_cosh.c: Likewise.
4408         * math/w_coshf.c: Likewise.
4409         * math/w_coshl.c: Likewise.
4410         * math/w_exp10.c: Likewise.
4411         * math/w_exp10f.c: Likewise.
4412         * math/w_exp10l.c: Likewise.
4413         * math/w_exp2.c: Likewise.
4414         * math/w_exp2f.c: Likewise.
4415         * math/w_exp2l.c: Likewise.
4416         * math/w_fmod.c: Likewise.
4417         * math/w_fmodf.c: Likewise.
4418         * math/w_fmodl.c: Likewise.
4419         * math/w_hypot.c: Likewise.
4420         * math/w_hypotf.c: Likewise.
4421         * math/w_hypotl.c: Likewise.
4422         * math/w_jnl.c: Likewise.
4423         * math/w_lgamma.c: Likewise.
4424         * math/w_lgamma_r.c: Likewise.
4425         * math/w_lgammaf.c: Likewise.
4426         * math/w_lgammaf_r.c: Likewise.
4427         * math/w_lgammal.c: Likewise.
4428         * math/w_lgammal_r.c: Likewise.
4429         * math/w_pow.c: Likewise.
4430         * math/w_powf.c: Likewise.
4431         * math/w_powl.c: Likewise.
4432         * math/w_remainder.c: Likewise.
4433         * math/w_remainderf.c: Likewise.
4434         * math/w_remainderl.c: Likewise.
4435         * math/w_scalb.c: Likewise.
4436         * math/w_scalbf.c: Likewise.
4437         * math/w_scalbl.c: Likewise.
4438         * math/w_scalbln.c: Likewise.
4439         * math/w_scalblnf.c: Likewise.
4440         * math/w_scalblnl.c: Likewise.
4441         * math/w_sinh.c: Likewise.
4442         * math/w_sinhf.c: Likewise.
4443         * math/w_sinhl.c: Likewise.
4444         * math/w_tgamma.c: Likewise.
4445         * math/w_tgammaf.c: Likewise.
4446         * math/w_tgammal.c: Likewise.
4447         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4448         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4449         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4450         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4451         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4453         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4454         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4455         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4456         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4457         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4458         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4459         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4461         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4462         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4463         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4464         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4465         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4466         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4467         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4468         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4469         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4470         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4471         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4472         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4473         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4474         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4475         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4476         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4477         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4478         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4479         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4480         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4481         * stdio-common/printf_fp.c: Likewise.
4482         * stdio-common/printf_fphex.c: Likewise.
4483         * stdio-common/printf_size.c: Likewise.
4485 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4487         [BZ #18470]
4488         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4489         strnlen.
4490         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4491         Remove variable.
4492         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4493         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4494         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4495         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4496         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4497         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4498         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4499         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4500         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4501         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4503         [BZ #18468]
4504         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4505         weak alias of __wmemchr.  Use libc_hidden_weak.
4506         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4507         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4508         instead of wmemchr.
4510 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4512         [BZ #18383]
4513         * elf/tst-tlsalign-extern.c: New file.
4514         * elf/tst-tlsalign-extern-static.c: New file.
4515         * elf/tst-tlsalign-vars.c: New file.
4516         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4517         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4518         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4519         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4520         (test-xfail-tst-tlsalign-extern-static): New variable.
4522 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4524         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4525         Use variable name _sc_err instead of err.
4526         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4527         instead of ret.
4528         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4529         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4530         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4531         (INLINE_SYSCALL): Likewise.
4533         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4534         * include/string.h (__strnlen): Use libc_hidden_proto.
4535         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4536         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4537         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4538         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4539         (libc_hidden_def): Undefine and redefine.
4540         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4541         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4542         __GI_strnlen.
4543         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4544         libc_hidden_def.
4545         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4547         [BZ #18469]
4548         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4549         weak alias of __towlower.  Use libc_hidden_weak.
4550         (towupper): Rename to __towupper and define as weak alias of
4551         __towupper.  Use libc_hidden_weak.
4552         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4553         (__towupper): Likewise.
4554         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4555         __towlower instead of towlower.
4557 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4559         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4560         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4562 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4564         * sysdeps/aarch64/libm-test-ulps: Update.
4566 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4568         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4569         Define.
4570         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4572         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4573         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4574         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4575         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4576         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4578 2015-06-01  Martin Sebor  <msebor@redhat.com>
4580         [BZ #18116]
4581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4582         (__setcontext): Use extended four-operand version of mtsf whenever
4583         possible.
4584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4585         (__novec_swapcontext): Likewise.
4587 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4589         * benchtests/scripts/compare_bench.py: New file.
4590         * benchtests/scripts/import_bench.py (mean): New function.
4591         (split_list): Likewise.
4592         (do_for_all_timings): Likewise.
4593         (compress_timings): Likewise.
4595         * benchtests/scripts/import_bench.py: New file.
4596         * benchtests/scripts/validate_benchout.py: Import import_bench
4597         instead of jsonschema.
4598         (validate_bench): Remove function.
4599         (main): Use import_bench.
4601 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4603         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4604         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4606 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4610 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4612         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4613         set THREAD_SELF->tid to a magic value and futex-wake it.
4614         Pass its address to the thread_exit system call.
4615         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4616         bit is clear.
4617         * sysdeps/nacl/lowlevellock.h: New file.
4618         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4620         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4621         Add TIMEOUT to current time, don't subtract it.
4623 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4625         [BZ #2981]
4626         [BZ #18422]
4627         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4628         ($(objpfx)tst-audit2.out): Also depend on
4629         $(objpfx)tst-auditmod9b.so.
4630         * elf/tst-audit2.c: Include <dlfcn.h>.
4631         (calloc_called): New.
4632         (calloc): Allow to be called more than once.
4633         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4635 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4637         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4638         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4640 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4642         * stdlib/monetary.h: Fix comment.
4644 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4646         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4647         Avoid using variables in #defines that might cause shadowing.
4648         (INTERNAL_VSYSCALL_CALL): Likewise.
4650 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4652         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4654         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4655         * nptl/lll_timedlock_wait.c: ... to this new file.
4656         * nptl/Makefile (libpthread-routines): Add it.
4657         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4658         * nptl/lll_timedwait_tid.c: ... to this new file.
4659         * nptl/Makefile (libpthread-routines): Add it.
4660         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4661         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4662         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4663         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4664         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4665         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4666         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4667         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4668         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4669         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4671 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4673         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4674         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4675         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4676         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4677         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4679         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4680         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4681         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4682         * sysdeps/unix/sysv/linux/tile/sysdep.h
4683         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4684         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4685         using vDSO syscall macro.
4687 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4689         [BZ #17293]
4690         * uk_UA: Fix sorting order for Ukrainian locale
4692 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4694         * stdlib/monetary.h: Fix comment.
4696 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4698         [BZ #18234]
4699         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4700         st_mtim and st_ctim members.
4701         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4702         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4703         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4704         (struct stat64): Likewise.
4705         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4706         (struct stat64): Likewise.
4707         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4708         (struct stat64): Likewise.
4710 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4712         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4713         Define and include sysdep-vdso.h.
4714         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4715         Likewise.
4716         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4717         Likewise.
4718         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4719         Define with VDSO_SYMBOL and use PTR_MANGLE.
4720         (__vdso_clock_gettime): Likewise.
4721         (__vdso_clock_getres): Likewise.
4722         (_libc_vdso_platform_setup): Likewise.
4723         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4724         Likewise.
4725         (_libc_vdso_platform_setup): Likewise.
4726         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4727         Likewise.
4728         (__vdso_clock_gettime): Likewise.
4729         (__vdso_clock_getres): Likewise.
4730         (__vdso_get_tbfreq): Likewise.
4731         (__vdso_getcpu): Likewise.
4732         (__vdso_time): Likewise.
4733         (__vdso_sigtramp_rt64): Likewise.
4734         (__vdso_signtramp32): Likewise.
4735         (__vdso_sigtramp_rt32): Likewise.
4736         (_libc_vdso_platform_setup): Likewise.
4737         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4738         Likewise.
4739         (__vdso_clock_gettime): Likewise.
4740         (__vdso_clock_getres): Likewise.
4741         (_libc_vdso_platform_setup): Likewise.
4742         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4743         Likewise.
4744         (__vdso_clock_gettime): Likewise.
4745         (_libc_vdso_platform_setup): Likewise.
4746         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4747         Likewise.
4748         (__vdso_getcpu): Likewise.
4749         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4750         Use VDSO_SYMBOL macro to define.
4751         (__vdso_clock_gettime): Likewise.
4752         (__vdso_clock_getres): Likewise.
4753         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4754         Likewise.
4755         (__vdso_clock_gettime): Likewise.
4756         (__vdso_clock_getres): Likewise.
4757         (__vdso_get_tbfreq): Likewise.
4758         (__vdso_getcpu): Likewise.
4759         (__vdso_time): Likewise.
4760         (__vdso_sigtramp_rt64): Likewise.
4761         (__vdso_signtramp32): Likewise.
4762         (__vdso_sigtramp_rt32): Likewise.
4763         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4764         Likewise.
4765         (__vdso_clock_gettime): Likewise.
4766         (__vdso_clock_getres): Likewise.
4767         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4768         Likewise.
4769         (__vdso_clock_gettime): Likewise.
4770         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4771         Likewise.
4772         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4773         macro.
4774         (INTERNAL_VSYSCALL): Likewise.
4775         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4776         Remove macro.
4777         (INTERNAL_VSYSCALL): Likewise.
4778         (INTERNAL_VSYSCALL_NCS): Likewise.
4779         (INTERNAL_VSYSCALL_CALL): New macro.
4780         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4782         Likewise.
4783         (INTERNAL_VSYSCALL): Likewise.
4784         (INTERNAL_VSYSCALL_NCS): Likewise.
4785         (INTERNAL_VSYSCALL_CALL): New macro.
4786         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4788         (INLINE_VSYSCALL): Remove macro.
4789         (INTERNAL_VSYSCALL): Remove macro.
4790         (INTERNAL_VSYSCALL_NCS): Remove macro.
4791         (INTERNAL_VSYSCALL_CALL): New macro.
4792         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4793         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4794         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4795         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4796         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4798         (INLINE_VSYSCALL): Remove macro.
4799         (INTERNAL_VSYSCALL): Likewise.
4800         (INTERNAL_VSYSCALL_NCS): Likewise.
4801         (INTERNAL_VSYSCALL_CALL): New macro.
4802         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4803         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4804         PTR_DEMANGLE on vDSO pointer.
4805         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4806         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4807         macro.
4808         (INTERNAL_SYSCALL): Likewise.
4809         (INTERNAL_VSYSCALL_NCS): Remove macro.
4810         (INTERNAL_VSYSCALL_CALL): New macro.
4811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4812         Remove macro.
4813         (INTERNAL_VSYSCALL): Likewise.
4814         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4815         sysdep-vdso.h instead of libc-vdso.h.
4816         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4817         definition.
4818         (INLINE_VSYSCALL): Likewise.
4819         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4820         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4821         definition.
4822         (INLINE_VSYSCALL): Likewise.
4823         (INTERNAL_VSYSCALL): Likewise.
4824         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4825         * sysdeps/unix/sysv/linux/timespec_get.c
4826         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4827         (timespec_get): Use ANSI prototype.
4828         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4829         and definition for Linux.
4831 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4833         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4834         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4836 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4838         [BZ #2981]
4839         [BZ #18410]
4840         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4841         for missing DT_PLTRELSZ.
4843 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4845         Remove obsolete aliases that broke 'locale -a'
4846         [BZ #18412]
4847         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4848         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4849         breaking some applications that use 'locale -a' output.
4850         Change the encoding of this file from Latin-1 to ASCII to avoid
4851         other potential problems with people grepping this file.
4853 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4855         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4856         -fasynchronous-unwind-tables.
4857         (CFLAGS-sendto.c): Likewise.
4858         (CFLAGS-sendmsg.c): Likewise.
4859         (CFLAGS-connect.c): Likewise.
4860         (CFLAGS-recvmsg.c): Likewise.
4861         (CFLAGS-recvfrom.c): Likewise.
4862         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4863         (SOCKETCALL): New macro: non-cancellable socketcall.
4864         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4865         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4866         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4867         * sysdeps/unix/sysv/linux/accept.c: New file.
4868         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4869         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4870         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4871         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4872         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4873         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4874         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4875         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4876         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4877         * sysdeps/unix/sysv/linux/send.c: Likewise.
4878         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4879         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4880         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4881         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4882         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4883         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4884         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4885         prototype.
4886         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4887         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4888         instead of __internal_xxx function.
4889         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4890         prototype.
4891         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4892         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4893         instead of __internal_xxx function.
4894         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4895         prototype.
4896         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4897         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4898         instead of __internal_xxx function.
4899         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4900         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4901         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4902         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4903         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4904         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4905         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4906         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4907         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4908         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4909         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4910         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4911         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4912         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4913         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4914         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4915         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4916         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4917         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4918         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4921         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4922         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4923         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4924         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4925         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4926         * sysdeps/unix/sysv/linux/send.S: Likewise.
4927         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4928         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4929         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4930         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4931         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4932         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4933         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4934         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4935         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4936         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4937         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4938         socketcall is implemented in GLIBC.
4940 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4942         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4943         (__fma): Ignore uninitialized warnings around packing.
4944         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4945         (__fmaf): Ignore uninitialized warnings around packing.
4946         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4947         (__fmal): Ignore uninitialized warnings around packing.
4949         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4950         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4951         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4952         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4954         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4955         switch statement into default case.
4956         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4958         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4959         a conditional in forcing "inexact".
4960         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4961         Likewise.
4963 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4965         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4966         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4967         for each INTERNAL_SYSCALL use.
4969 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4971         [BZ #438]
4972         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4973         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4974         variable.
4976         [BZ #18444]
4977         * string/basename.c (basename): Rename to __basename and define as
4978         weak alias of __basename.  Use libc_hidden_weak.
4979         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4980         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4981         __basename instead of basename.
4982         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4983         Remove variable.
4984         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4986 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4988         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4989         (_IO_JUMPS_FILE_plus): New.
4990         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4991         _IO_CAST_FIELD_ACCESS.
4992         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4993         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4994         * libio/freopen.c (freopen): Likewise.
4995         * libio/freopen64.c (freopen64): Likewise.
4996         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4997         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4998         * libio/iofwide.c (_IO_fwide): Likewise.
4999         * libio/memstream.c (open_memstream): Likewise.
5000         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5001         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5002         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5004 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5006         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5007         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5008         NADJ.
5009         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5010         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5011         NADJ.
5012         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5013         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5014         NADJ.
5016         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5017         (p == 4) case.
5019         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5020         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5021         Remove variable.
5022         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5023         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5024         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5026 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5028         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5029         Adjust jump table label generation macros.
5031 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5033         * stdio-common/vfprintf.c (vfprintf): Move local variables
5034         args_malloced, specs, specs_malloced, and the code after
5035         do_positional to the printf_positional function.
5036         (printf_positional): New function.
5038 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5040         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5041         function.
5042         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5043         STEP4_TABLE, process_arg): Move macro definitions
5044         out of the vfprintf function.  (Cosmetic change only.)
5046 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5048         * benchtests/Makefile (stdio-common-bench): Define.
5049         (benchset): Add stdio-common-bench.
5050         * sprintf-inputs: New file.
5051         * sprintf-source.c: New file.
5053 2015-05-21  Andreas Schwab  <schwab@suse.de>
5055         [BZ #13028]
5056         [BZ #17053]
5057         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5058         of struct __res_state.
5059         * resolv/res_send.c (__libc_res_nsend): Likewise.
5060         (get_nsaddr): New function.
5061         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5062         statp directly.
5064 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5066         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5067         -D_POSIX_C_SOURCE=199506L.
5069         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5071         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5072         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5073         Do not mention otherwise.
5074         [POSIX] (_XOPEN_VERSION): Do not expect.
5075         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5076         [POSIX] (_POSIX2_C_BIND): Likewise.
5077         [POSIX] (_POSIX2_VERSION): Likewise.
5078         [POSIX] (_XOPEN_XPG2): Likewise.
5079         [POSIX] (_XOPEN_XPG3): Likewise.
5080         [POSIX] (_XOPEN_XPG4): Likewise.
5081         [POSIX] (_XOPEN_UNIX): Likewise.
5082         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5083         [POSIX] (_POSIX_BARRIERS): Likewise.
5084         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5085         [POSIX] (_POSIX_CPUTIME): Likewise.
5086         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5087         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5088         [POSIX] (_POSIX_SHELL): Likewise.
5089         [POSIX] (_POSIX_SPAWN): Likewise.
5090         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5091         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5092         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5093         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5094         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5095         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5096         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5097         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5098         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5099         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5100         [POSIX] (_POSIX2_PBS): Likewise.
5101         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5102         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5103         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5104         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5105         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5106         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5107         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5108         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5109         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5110         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5111         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5112         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5113         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5114         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5115         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5116         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5117         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5118         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5119         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5120         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5121         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5122         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5123         [POSIX] (_SC_2_C_BIND): Likewise.
5124         [POSIX] (_SC_2_C_VERSION): Likewise.
5125         [POSIX] (_SC_2_PBS): Likewise.
5126         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5127         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5128         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5129         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5130         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5131         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5132         [POSIX] (_SC_BARRIERS): Likewise.
5133         [POSIX] (_SC_BASE): Likewise.
5134         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5135         [POSIX] (_SC_DEVICE_IO): Likewise.
5136         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5137         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5138         [POSIX] (_SC_FD_MGMT): Likewise.
5139         [POSIX] (_SC_FIFO): Likewise.
5140         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5141         [POSIX] (_SC_FILE_LOCKING): Likewise.
5142         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5143         [POSIX] (_SC_IOV_MAX): Likewise.
5144         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5145         [POSIX] (_SC_NETWORKING): Likewise.
5146         [POSIX] (_SC_PAGE_SIZE): Likewise.
5147         [POSIX] (_SC_PASS_MAX): Likewise.
5148         [POSIX] (_SC_PIPE): Likewise.
5149         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5150         [POSIX] (_SC_REGEXP): Likewise.
5151         [POSIX] (_SC_SHELL): Likewise.
5152         [POSIX] (_SC_SIGNALS): Likewise.
5153         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5154         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5155         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5156         [POSIX] (_SC_USER_GROUPS): Likewise.
5157         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5158         [POSIX] (_SC_STREAMS): Likewise.
5159         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5160         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5161         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5162         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5163         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5164         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5165         [POSIX] (_PC_FILESIZEBITS): Likewise.
5166         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5167         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5168         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5169         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5170         [POSIX] (uid_t): Likewise.
5171         [POSIX] (gid_t): Likewise.
5172         [POSIX] (off_t): Likewise.
5173         [POSIX] (pid_t): Likewise.
5174         [POSIX] (cuserid): Allow.
5175         (_SC_2_CHAR_TERM): Require constant.
5176         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5177         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5178         variable.
5180 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5182         * sysdeps/nacl/pthread-pids.h: New file.
5183         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5184         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5186         * nptl/pthread-pids.h: New file.
5187         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5188         * nptl/nptl-init.c: Include <pthread-pids.h>.
5189         (__pthread_initialize_minimal_internal):
5190         Call __pthread_initialize_pids instead of set_tid_address syscall.
5192         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5193         * sysdeps/posix/usleep.c: ... here.
5195 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5197         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5198         call_pselect6 object.
5199         [$(subdir) = io]: Remove call_sync_file_range object.
5200         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5201         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5202         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5203         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5205 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5207         * math/s_cproj.c: Add include "math_private.h".
5208         * math/s_cprojf.c: Likewise.
5209         * math/s_cprojl.c: Likewise.
5211 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5213         [BZ #18244]
5214         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5215         high mantissa bit when testing whether P is a NaN.
5216         * math/libm-test.inc (remainder_test_data): Add more tests.
5217         (remquo_test_data): Likewise.
5219         [BZ #18049]
5220         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5221         below -32, return the argument, with underflow if subnormal.
5222         * math/auto-libm-test-in: Add more tests of atanh.
5223         * math/auto-libm-test-out: Regenerated.
5225 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5227         [BZ #18434]
5228         * nptl/tst-sem15.c: New file.
5229         * nptl/Makefile (tests): Add it.
5230         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5231         s/<</>>/ to fix typo in EOVERFLOW check.
5232         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5234 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5236         * manual/strings.texi (envz_remove): Fix typo in safety
5237         annotations.
5239 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5240             Steve Ellcey  <sellcey@imgtec.com>
5242         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5243         in order to avoid strict alias warnings.
5244         (iruserok_af): Ditto for ra.
5246 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5248         [BZ #17581]
5249         * malloc/hooks.c
5250         (magicbyte): Convert to a function and avoid returning 0x01.
5251         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5252         (mem2chunk_check): Fix unsigned comparisons to zero.
5253         Hoist defs of sz and magic.
5255 2015-05-19  Richard Henderson  <rth@redhat.com>
5257         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5259         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5261 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5263         [BZ #16159]
5264         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5265         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5266         (reused_arena): Find a non-corrupt arena.
5267         (heap_trim): Pass arena to unlink.
5268         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5269         malloc_printerr.
5270         (top_check): Likewise.
5271         (free_check): Likewise.
5272         (realloc_check): Likewise.
5273         * malloc/malloc.c (malloc_printerr): Add arena argument.
5274         (unlink): Likewise.
5275         (munmap_chunk): Adjust.
5276         (ARENA_CORRUPTION_BIT): New macro.
5277         (arena_is_corrupt): Likewise.
5278         (set_arena_corrupt): Likewise.
5279         (sysmalloc): Use mmap if there are no usable arenas.
5280         (_int_malloc): Likewise.
5281         (__libc_malloc): Don't fail if arena_get returns NULL.
5282         (_mid_memalign): Likewise.
5283         (__libc_calloc): Likewise.
5284         (__libc_realloc): Adjust for additional argument to
5285         malloc_printerr.
5286         (_int_free): Likewise.
5287         (malloc_consolidate): Likewise.
5288         (_int_realloc): Likewise.
5289         (_int_memalign): Don't touch corrupt arenas.
5290         * malloc/tst-malloc-backtrace.c: New test case.
5292         * Makefile (summarize-tests): Fix return value on success.
5294         * manual/string.texi (Envz Functions): Add envz_remove.
5296 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5298         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5299         (invalid_name): New function, broken out of ...
5300         (__opendirat): ... here.  Call it.
5301         (need_isdir_precheck): New function, broken out of ...
5302         (__opendirat): ... here.  Call it.
5303         Use __fxstatat64, not __xstatat64.
5304         (opendir_oflags): New function, broken out of ...
5305         (__opendirat): ... here.  Call it.
5306         (opendir_tail): New function, broken out of ...
5307         (__opendirat): ... here.  Call it.
5308         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5309         opendir_tail, rather than punting to __opendirat.
5310         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5312 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5314         * .gitignore: Ignore generated *.pyc.
5316 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5318         * include/stdio.h: Define __need_wint_t.
5319         * test-skeleton.c: Avoid `for' loop initial declaration.
5320         * nptl/tst-initializers1.c: Use test-skeleton.c.
5322 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5324         [BZ #18418]
5325         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5327 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5329         [BZ #16352]
5330         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5331         (__ieee754_atanh): Force underflow exception for results with
5332         small absolute value.
5333         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5334         (__ieee754_atanhf): Force underflow exception for results with
5335         small absolute value.
5336         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5337         (__ieee754_atanh): Force underflow exception for results with
5338         small absolute value.
5339         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5340         (__ieee754_atanhf): Force underflow exception for results with
5341         small absolute value.
5342         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5343         (__ieee754_atanhl): Force underflow exception for results with
5344         small absolute value.
5345         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5346         (__ieee754_atanhl): Force underflow exception for results with
5347         small absolute value.
5348         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5349         (__ieee754_atanhl): Force underflow exception for results with
5350         small absolute value.
5351         * math/auto-libm-test-in: Do not allow missing underflow
5352         exceptions from atanh.
5353         * math/auto-libm-test-out: Regenerated.
5355         [BZ #18221]
5356         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5357         2**-28 as threshold for returning x or +/- 1/x.
5358         * math/auto-libm-test-in: Add more tests of tan.
5359         * math/auto-libm-test-out: Regenerated.
5361         [BZ #18220]
5362         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5363         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5364         * math/auto-libm-test-in: Add another test of lgamma.
5365         * math/auto-libm-test-out: Regenerated.
5367 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5369         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5370         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5371         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5372         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5373         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5374         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5375         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5376         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5378         (log1): Use fabs.  (my_log2): Use fabs.
5379         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5380         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5381         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5382         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5384         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5385         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5386         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5387         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5388         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5389         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5391 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5393         [BZ #18217]
5394         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5395         as threshold for returning 1 - x.
5396         * math/auto-libm-test-in: Add more tests of erfc.
5397         * math/auto-libm-test-out: Regenerated.
5399 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5401         [BZ #18196]
5402         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5403         threshold for large arguments.
5404         * math/auto-libm-test-in: Add another test of atan.
5405         * math/auto-libm-test-out: Regenerated.
5407         [BZ #16339]
5408         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5409         (__log1p): Force underflow exception for results with small
5410         absolute value.
5411         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5412         (__log1pf): Force underflow exception for results with small
5413         absolute value.
5414         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5415         (__log1p): Force underflow exception for results with small
5416         absolute value.
5417         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5418         (__log1pf): Force underflow exception for results with small
5419         absolute value.
5420         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5421         (__log1pl): Force underflow exception for results with small
5422         absolute value.
5423         * math/auto-libm-test-in: Do not allow missing underflow
5424         exceptions from log1p.
5425         * math/auto-libm-test-out: Regenerated.
5427 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5428             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5430         [BZ #16704]
5431         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5433 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5435         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5436         (libmvec): New variable.
5437         * configure.ac: Added option for mathvec build.
5438         * configure: Regenerated.
5439         * mathvec/Depend: New file.
5440         * mathvec/Makefile: New file.
5441         * shlib-versions: Added libmvec.
5442         * math/Makefile: Added rule for libm.so installation.
5444         * bits/math-vector.h: New file.
5445         * bits/libm-simd-decl-stubs.h: New header.
5446         * math/Makefile (headers): Added new header
5447         libm-simd-decl-stubs.h.
5448         * math/math.h (__MATHCALL_VEC): New macro.
5450         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5451         for conditions in testing functions.
5452         * math/Makefile: Added call of libm-have-vector-test.sh.
5453         * math/libm-test.inc (HAVE_VECTOR): New macros.
5455         * math/libm-test.inc: START refactored.
5456         * math/test-double.c (TEST_MATHVEC): Add define.
5457         * math/test-float.c: Likewise.
5458         * math/test-idouble.c: Likewise.
5459         * math/test-ifloat.c: Likewise.
5460         * math/test-ildoubl.c: Likewise.
5461         * math/test-ldouble.c: Likewise.
5462         * sysdeps/generic/math-tests-arch.h
5463         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5464         architecture check.
5466         * math/test-double.c (FUNC_TEST): New macro.
5467         * math/test-float.c: Likewise.
5468         * math/test-idouble.c: Likewise.
5469         * math/test-ifloat.c: Likewise.
5470         * math/test-ildoubl.c: Likewise.
5471         * math/test-ldouble.c: Likewise.
5472         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5474 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5476         * sysdeps/nacl/fdopendir.c: New file.
5478         * dirent/scandir-tail.c: New file.
5479         * dirent/scandir64-tail.c: New file.
5480         * dirent/Makefile (routines): Add them.
5481         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5482         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5483         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5484         [!SCANDIR] (SCANDIR_TAIL): New macro.
5485         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5486         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5487         (SCANDIRAT): Macro removed.
5488         (SCANDIR_TAIL): New macro.
5489         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5490         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5491         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5492         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5493         (READDIR): Macro removed.
5494         (SCANDIR_TAIL): New macro.
5495         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5496         (SCANDIR_TAIL): New macro.
5498         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5499         * dirent/scandir-cancel.c: ... to this new file.
5500         * dirent/Makefile (routines): Add it.
5501         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5502         * sysdeps/unix/sysv/linux/i386/scandir64.c
5503         (SKIP_SCANDIR_CANCEL): Macro removed.
5504         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5506         * dirent/tst-scandir.c: New file.
5507         * dirent/tst-scandir64.c: New file.
5508         * dirent/Makefile (tests): Add them.
5510 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5512         [BZ #18409]
5513         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5515 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5517         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5518         list.
5520 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5522         * benchtests/bench-strcoll.c: New benchmark.
5523         * benchtests/Makefile: Generate locales and run benchmark.
5524         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5525         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5526         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5527         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5528         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5529         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5530         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5531         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5532         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5533         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5534         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5535         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5536         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5537         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5538         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5539         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5540         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5541         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5542         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5543         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5544         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5545         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5546         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5547         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5549 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5551         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5552         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5554 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5556         * posix/uname-values.h: New file.
5557         * posix/uname.c: Include that instead of <config-name.h>.
5558         * sysdeps/nacl/uname-values.h: New file.
5559         * sysdeps/arm/nacl/uname-values.h: New file.
5561 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5563         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5564         splitting into fields.
5566 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5568         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5569         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5570         * locale/localeinfo.h: Add enum collation_encoding_type.
5571         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5572         * programs/ld-collate.c (collate_output): Add encoding type info.
5573         * string/strcoll_l.c (STRDIFF): New function.
5574         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5575         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5577 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5579         [BZ #18397]
5580         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5581         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5582         <fpu_control.h> instead of <math/fpu_control.c>.
5583         * sysdeps/mips/mips32/fpu/Makefile: New file.
5585 2015-05-11  Andreas Schwab  <schwab@suse.de>
5587         [BZ #18007]
5588         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5589         nss_endgrent.
5590         (_nss_compat_endgrent): Call nss_endgrent.
5591         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5592         nss_endpwent.
5593         (_nss_compat_endpwent): Call nss_endpwent.
5594         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5595         needent, call nss_setspent only if non-zero.
5596         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5597         (internal_endspent): Don't call nss_endspent.
5598         (_nss_compat_endspent): Call nss_endspent.
5599         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5600         Remove.  All uses removed.
5601         (internal_setent): Remove parameter stayopen, add parameter
5602         stream.  Use it instead of global variable.
5603         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5604         (internal_endent, internal_getent): Add parameter stream.  Use it
5605         instead of global variable.
5606         (CONCAT(_nss_files_end,ENTNAME))
5607         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5608         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5609         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5610         uses removed.
5611         (internal_setent, internal_endent): Add parameter stream.  Use it
5612         instead of global variable.
5613         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5614         stream.
5615         (get_next_alias): Add parameter stream.
5616         (_nss_files_getaliasent_r): Pass global stream.
5617         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5618         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5619         (_nss_files_gethostbyname4_r): Pass local stream to
5620         internal_setent, internal_getent and internal_endent.  Remove
5621         locking.
5623 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5625         * tst-strfmon1.c (tests): Update expected currency symbol.
5627 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5629         * sysdeps/nacl/gethostname.c: New file.
5631 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5633         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5634         and sinh.
5635         * math/auto-libm-test-out: Regenerated.
5636         * sysdeps/i386/fpu/libm-test-ulps: Update.
5637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5639 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5641         [BZ #18125]
5642         * stdlib/tst-setcontext3.c: New file.
5643         * stdlib/tst-setcontext3.sh: New file.
5644         * stdlib/Makefile (tests): Add tst-setcontext3.
5645         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5646         to verify test program created output file.
5647         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5648         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5649         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5650         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5652 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5654         [BZ #18383]
5655         * elf/tst-tlsalign.c: New file.
5656         * elf/tst-tlsalign-static.c: New file.
5657         * elf/tst-tlsalign-lib.c: New file.
5658         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5659         (tests-static): Add tst-tlsalign-static.
5660         (modules-names): Add tst-tlsalign-lib.
5661         (test-xfail-tst-tlsalign): New variable.
5662         (test-xfail-tst-tlsalign-static): New variable.
5664         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5665         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5667 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5669         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5670         csqrt, erfc, sin and sincos.
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-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5677         * sysdeps/aarch64/libm-test-ulps: Update.
5679 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5681         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5682         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5683         * math/auto-libm-test-out: Regenerated.
5684         * sysdeps/i386/fpu/libm-test-ulps: Update.
5685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5687 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5689         [BZ #18265]
5690         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5691         (wcsncpy): Likewise.
5693 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5695         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5696         Assume __ASSUME_FALLOCATE is always true.
5697         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5698         (__posix_fallocate64_l64): Likweise.
5699         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5700         (posix_fallocate): Likewise.
5701         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5702         (__posix_fallocate64_l64): Likewise.
5703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5704         [!__ASSUME_FALLOCATE]: Add comment.
5706 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5708         * sysdeps/unix/sysv/linux/i386/Makefile
5709         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5710         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5711         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5712         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5713         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5714         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5715         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5717 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5719         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5720         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5721         tgamma.
5722         * math/auto-libm-test-out: Regenerated.
5723         * sysdeps/i386/fpu/libm-test-ulps: Update.
5724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5726 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5728         * math/auto-libm-test-in: Add more tests of tgamma.
5729         * math/auto-libm-test-out: Regenerated.
5730         * sysdeps/i386/fpu/libm-test-ulps: Update.
5731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5733         * math/auto-libm-test-in: Add more tests of tanh.
5734         * math/auto-libm-test-out: Regenerated.
5735         * sysdeps/i386/fpu/libm-test-ulps: Update.
5736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5738         * math/auto-libm-test-in: Add more tests of tan.
5739         * math/auto-libm-test-out: Regenerated.
5740         * sysdeps/i386/fpu/libm-test-ulps: Update.
5741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5743         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5744         * math/auto-libm-test-out: Regenerated.
5745         * sysdeps/i386/fpu/libm-test-ulps: Update.
5746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5748         * math/auto-libm-test-in: Add another test of pow.
5749         * math/auto-libm-test-out: Regenerated.
5750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5752         * math/auto-libm-test-in: Add more tests of lgamma.
5753         * math/auto-libm-test-out: Regenerated.
5754         * sysdeps/i386/fpu/libm-test-ulps: Update.
5755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5757         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5758         log1p.
5759         * math/auto-libm-test-out: Regenerated.
5760         * sysdeps/i386/fpu/libm-test-ulps: Update.
5761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5763 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5765         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5766         Elf64_Chdr structs and ELFCOMPRESS constants.
5768 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5770         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5771         expm1.
5772         * math/auto-libm-test-out: Regenerated.
5773         * sysdeps/i386/fpu/libm-test-ulps: Update.
5774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5776         * math/auto-libm-test-in: Add more tests of erf and erfc.
5777         * math/auto-libm-test-out: Regenerated.
5778         * sysdeps/i386/fpu/libm-test-ulps: Update.
5779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5781 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5783         * config.h.in (HAVE_AARCH64_BE): Add.
5785 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5787         * math/auto-libm-test-in: Add more tests of csqrt.
5788         * math/auto-libm-test-out: Regenerated.
5789         * sysdeps/i386/fpu/libm-test-ulps: Update.
5790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5792         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5793         * math/auto-libm-test-out: Regenerated.
5794         * sysdeps/i386/fpu/libm-test-ulps: Update.
5795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5797         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5799 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5801         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5802         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5804         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5805         (euidaccess, eaccess): Define as weak aliases.
5807         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5808         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5809         but __suseconds_t is often 'long int' so some sources assume that
5810         type is being used (e.g. they use %ld to print tv_usec).
5812 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5814         [BZ #18007]
5815         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5816         (CVE-2014-8121)
5817         * nss/tst-nss-getpwent.c: New file.
5818         * nss/Makefile (tests): Add new test.
5820 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5822         [BZ #18346]
5823         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5824         exponents less than 48 as cases where high part of mantissa needs
5825         examining to determine whether argument is integral.
5826         * math/libm-test.inc (round_test_data): Add more tests.
5828 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5830         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5832 2015-04-27  David S. Miller  <davem@davemloft.net>
5834         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5835         __tls_get_addr.
5836         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5838 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5840         [BZ#18333]
5841         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5843 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5845         [BZ#18333]
5846         * time/tzset.c (parse_tzname): Return error on memory allocation
5847         failure.
5848         * test-skeleton.c (struct temp_name_list): Change type of name
5849         member to non-const.
5850         (add_temp_file): Create a copy of the file name.
5851         (delete_temp_files): Deallocate memory.
5852         (create_temp_file): Add comment.
5854 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5856         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5857         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5859 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5861         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5862         * sysdeps/arm/configure: Regenerated.
5864 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5866         [BZ #17715]
5867         * time/tzfile.c (__tzfile_read): Check for large values of
5868         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5869         * time/tzset.c (__tzstring_len): New function, based on the old
5870         __tzstring function.
5871         (__tzstring): Call __tzstring_len.
5872         (parse_tzname): New helper function extracted from
5873         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5874         the input string.
5875         (parse_offset): New helper function extracted from
5876         __tzset_parse_tz.  Replace switch with fallthrough with
5877         initialization before sscanf.
5878         (parse_rule): Likewise.
5879         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5880         new-style function definition.
5881         * timezone/Makefile (tests): Add tst-tzset.
5882         (tst-tzset.out): Dependencies on time zone files.
5883         (tst-tzset-ENV): Set TZDIR.
5884         (testdata/XT%): Copy crafted time zone files.
5885         * timezone/README: Mention crafted time zone files.
5886         * timezone/testdata/XT1, timezone/testdata/XT2,
5887         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5888         files.
5889         * timezone/tst-tzset.c: New test.
5891 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5893         * Makeconfig (+gccwarn): Remove -Winline.
5895 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5897         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5899 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5901         * NEWS: Mention sysconf() cache information support for s390.
5902         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5904 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5906         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5907         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5908         (__nearbyint): Likewise.
5909         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5910         (copysignl): Likewise.
5912 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5914         [BZ #18287]
5915         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5916         based on padding.  (CVE-2015-1781)
5918 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5920         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5921         libc-vdso.h.
5922         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5923         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5924         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5925         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5926         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5927         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5928         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5929         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5930         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5931         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5932         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5933         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5934         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5935         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5936         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5937         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5938         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5939         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5940         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5941         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5942         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5943         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5944         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5946 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5948         * stdlib/setenv.c (__add_to_environ):
5949         Dump core quickly if setenv (..., NULL, ...) is called.
5950         This time, do it the right way, and pacify GCC with a pragma.
5952 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5954         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5955         IMAP->l_prev cannot be null, and #if out the code for the contrary
5956         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5957         believe that NS (&_dl_ns[NSID]) could point outside the array.
5959         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5960         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5961         before using NSID as an index.
5963 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5965         [BZ #17825]
5966         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5967         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5968         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5970 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5972         Add preliminary port to Google Native Client on ARM.
5973         * abi-tags (.*-.*-nacl.*): New entry.
5974         * sysdeps/arm/nacl: New directory.
5975         * sysdeps/nacl: New directory.
5977 2015-04-16  David S. Miller  <davem@davemloft.net>
5979         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5980         lowlevellock-futex.h
5982 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5984         * sysdeps/tile/configure.ac: New file.
5985         * sysdeps/tile/configure: Regenerated.
5987 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5989         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5990         conditionals for weak_alias and libc_hidden_weak.
5991         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5992         libc_hidden_weak and weak_alias.
5993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5994         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5995         and weak_alias for static one.
5997 2015-04-15  David S. Miller  <davem@davemloft.net>
5999         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6001 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6003         [BZ #18206]
6004         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6005           Use signed comparision instead of substraction to avoid
6006           overflow bug.
6007         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6008           Take the sign of ret.
6009         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6010           Do not expect precise return values. Only the sign matters.
6011         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6012         * wcsmbs/test-wcsncmp.c: New File.
6013         * string/test-strncmp.c: Add wcsncmp support.
6015 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6017         [BZ #6792]
6018         * math/w_log1p.c: New file.
6019         * math/w_log1pf.c: Likewise.
6020         * math/w_log1pl.c: Likewise.
6021         * math/Makefile (libm-calls): Add w_log1p.
6022         * math/s_log1pl.c (log1pl): Remove weak_alias.
6023         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6024         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6025         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6026         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6027         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6028         [NO_LONG_DOUBLE] (log1pl): Likewise.
6029         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6030         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6031         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6032         (log1p): Remove long_double_symbol.
6033         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6034         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6035         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6036         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6037         remove weak_alias for corresponding log1p function.
6038         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6039         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6040         * sysdeps/ia64/fpu/w_log1p.c: New file.
6041         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6042         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6043         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6045 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6047         [BZ #18247]
6048         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6049         decimal exponent by 1.
6050         * stdlib/tst-strtod-round-data: Add more tests.
6051         * stdlib/tst-strtod-round.c (tests): Regenerated.
6053 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6055         * math/auto-libm-test-in: Add more tests of clog and clog10.
6056         * math/auto-libm-test-out: Regenerated.
6057         * sysdeps/i386/fpu/libm-test-ulps: Update.
6058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6062         * Makeconfig (module-cppflags): Exclude all .v.i files.
6063         (skip-module-cppflags): Variable removed.
6065         * configure.ac (libc_config_ok): Initialize before reading
6066         preconfigure scripts, not after.
6067         * configure: Regenerated.
6069         * test-skeleton.c (TIMEOUT): Move #define to top level.
6070         (main): Grok environment variable TEST_DIRECT.  If set, print
6071         test expectation details into that file and then behave as if
6072         given --direct.
6074 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6076         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6077         warning on 32-bit.
6079 2015-04-08  David S. Miller  <davem@davemloft.net>
6081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6083 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6085         * math/auto-libm-test-in: Add more tests of atanh.
6086         * math/auto-libm-test-out: Regenerated.
6087         * sysdeps/i386/fpu/libm-test-ulps: Update.
6088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6090         * math/auto-libm-test-in: Add more tests of atan.
6091         * math/auto-libm-test-out: Regenerated.
6092         * sysdeps/i386/fpu/libm-test-ulps: Update.
6093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6097         * elf/pldd.c (main): Rewrite to use struct
6098         scratch_buffer instead of extend_alloca.
6099         * elf/pldd-xx.c (find_maps): Likewise.
6100         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6101         <alloca.h>.
6102         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6103         scratch_buffer instead of extend_alloca.
6104         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6105         grp/compat-initgroups.c.
6106         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6107         Rewrite to use struct scratch_buffer instead of extend_alloca.
6108         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6109         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6111 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6113         * math/auto-libm-test-in: Add more tests of cbrt.
6114         * math/auto-libm-test-out: Regenerated.
6115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6117         * math/auto-libm-test-in: Add more tests of cabs.
6118         * math/auto-libm-test-out: Regenerated.
6119         * sysdeps/i386/fpu/libm-test-ulps: Update.
6120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122         [BZ #18210]
6123         [BZ #18211]
6124         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6125         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6126         computations.
6127         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6128         clog10.
6129         * math/auto-libm-test-out: Regenerated.
6130         * sysdeps/i386/fpu/libm-test-ulps: Update.
6131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6133         [BZ #18197]
6134         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6135         (atan): Set FE_TONEAREST mode for internal computations.
6136         * math/auto-libm-test-in: Add more tests of atan.
6137         * math/auto-libm-test-out: Regenerated.
6139 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6141         [BZ #17930]
6142         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6144 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6146         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6148 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6150         * include/scratch_buffer.h: New file.
6151         * malloc/scratch_buffer_grow.c: Likewise.
6152         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6153         * malloc/scratch_buffer_set_array_size.c: Likewise.
6154         * malloc/tst-scratch_buffer.c: Likewise.
6155         * malloc/Makefile (routines): Add scratch_buffer_grow.
6156         (tests): Add test case.
6157         * malloc/Versions (GLIBC_PRIVATE): Export
6158         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6159         __libc_scratch_buffer_set_array_size.
6161 2015-04-06  Richard Henderson  <rth@redhat.com>
6163         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6164         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6166         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6167         unsigned int before printing.
6169 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6171         [BZ #17596]
6172         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6173         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6175 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6177         * include/libc-internal.h (libc_max_align_t): Define.
6179 2015-04-02  Andreas Schwab  <schwab@suse.de>
6181         [BZ #16850]
6182         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6184 2015-04-02  Mel Gorman  <mgorman@suse.de>
6186         [BZ #17195]
6187         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6188         as well as the main arena.
6190 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6192         [BZ #18185]
6193         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6194         sharing L2 cache to 2 for Silvermont/Knights Landing.
6196 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6198         [BZ #17711]
6199         * config.make.in (have-protected-data): New.
6200         * configure.ac: Check linker support for protected data symbol.
6201         * configure: Regenerated.
6202         * elf/Makefile (modules-names): Add tst-protected1moda and
6203         tst-protected1modb if $(have-protected-data) is yes.
6204         (tests): Add tst-protected1a and tst-protected1b if
6205         $(have-protected-data) is yes.
6206         ($(objpfx)tst-protected1a): New.
6207         ($(objpfx)tst-protected1b): Likewise.
6208         (tst-protected1modb.so-no-z-defs): Likewise.
6209         * elf/tst-protected1a.c: New file.
6210         * elf/tst-protected1b.c: Likewise.
6211         * elf/tst-protected1mod.h: Likewise.
6212         * elf/tst-protected1moda.c: Likewise.
6213         * elf/tst-protected1modb.c: Likewise.
6215 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6217         [BZ #17711]
6218         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6219         indicates it is called from do_lookup_x on relocation against
6220         protected data, skip the data definion in the executable from
6221         copy reloc.
6222         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6223         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6224         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6225         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6226         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6227         otherwise to 0.
6228         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6229         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6230         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6231         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6232         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6233         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6235 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6237         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6238         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6240 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6242         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6243         THREAD_SETMEM_NC.
6244         * sysdeps/x86_64/nptl/tls.h: Ditto.
6246 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6248         * dlfcn/tststatic.c (main): Converted to ...
6249         (do_test): ... this.
6250         (TEST_FUNCTION): New macro.
6251         Include test-skeleton.c.
6253 2015-03-26  Alan Modra  <amodra@gmail.com>
6255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6256         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6257         zero for undefined weak.
6258         (elf_machine_plt_conflict): Similarly.
6260 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6262         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6263         atanh.
6264         * math/auto-libm-test-out: Regenerated.
6265         * sysdeps/i386/fpu/libm-test-ulps: Update.
6266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6268         * math/auto-libm-test-in: Add another test of asin.
6269         * math/auto-libm-test-out: Regenerated.
6270         * sysdeps/i386/fpu/libm-test-ulps: Update.
6271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6274         Remove macro.
6275         (LLL_EBX_REG): Likewise.
6276         (LLL_ENTER_KERNEL): Likewise.
6278         * math/auto-libm-test-in: Add more tests of asin.
6279         * math/auto-libm-test-out: Regenerated.
6280         * sysdeps/i386/fpu/libm-test-ulps: Update.
6281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6283         [BZ #18138]
6284         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6285         libc_do_syscall_args): New structure.
6286         (INTERNAL_SYSCALL_MAIN_0): New macro.
6287         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6288         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6289         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6290         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6291         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6292         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6293         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6294         Replace conditional definitions by conditional definitions of ....
6295         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6296         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6297         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6298         (libpthread-sysdep_routines): Add libc-do-syscall.
6299         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6300         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6301         to __NR_futex not 240.
6303 2015-03-25  Alan Modra  <amodra@gmail.com>
6305         * NEWS: Advertise TLS optimization.
6306         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6307         (DT_PPC_NUM): Increment.
6308         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6309         (CHECK_STATIC_TLS): Use here.
6310         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6311         TLS descriptors.
6312         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6313         * sysdeps/powerpc/dl-tls.c: New file.
6314         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6315         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6316         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6317         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6322 2015-03-25  Alan Modra  <amodra@gmail.com>
6324         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6325         for overlapping .opd entries" to "support...".
6326         * sysdeps/powerpc/powerpc64/configure: Regenerate
6328 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6330         * math/auto-libm-test-in: Add more tests of acos.
6331         * math/auto-libm-test-out: Regenerated.
6332         * sysdeps/i386/fpu/libm-test-ulps: Update.
6333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6335         * math/auto-libm-test-in: Add more tests of expm1.
6336         * math/auto-libm-test-out: Regenerated.
6337         * sysdeps/i386/fpu/libm-test-ulps: Update.
6338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6340 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6342         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6343         * math/auto-libm-test-out: Regenerated.
6344         * sysdeps/i386/fpu/libm-test-ulps: Update.
6345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6347         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6350         * math/auto-libm-test-in: Add more tests of log2.
6351         * math/auto-libm-test-out: Regenerated.
6352         * sysdeps/i386/fpu/libm-test-ulps: Update.
6353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6355 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6357         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6358         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6359         _IO_IS_APPENDING bit in READ_WRITE instead.
6361 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6363         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6364         (__determine_cpumask_size): Replace extend_alloca with a
6365         variable-length array.  Do not treat res == 0 as an error.
6367 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6369         [BZ #18100]
6370         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6371         and integer overflow.
6372         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6373         (main): Add integer overflow tests.
6374         * manual/pattern.texi (Calling Wordexp): Document additional use
6375         for WRDE_SYNTAX.
6377 2015-03-23  Alan Modra  <amodra@gmail.com>
6379         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6380         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6381         and false branch of conditional.
6382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6383         Likewise.
6385 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6387         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6388         libc-modules.h
6389         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6390         unused declaration of _hurd_intr_rpc_msg_in_trap.
6391         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6392         defined instead of whether it is non-zero.
6393         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6394         input constraint instead of both input and output constraint.  Use ecx
6395         clobber instead of %ecx.
6396         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6397         mutex_unlock): Use a statement expression instead of an expression list.
6398         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6399         type to vm_size_t instead of vm_address_t.
6400         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6401         defined instead of whether it is non-zero.
6402         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6403         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6404         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6405         comparisons with mapaddr.
6406         * nscd/nscd-client.h: Include <time.h>.
6407         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6408         9th parameter to __vm_region instead of int.
6409         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6410         * scripts/check-local-headers.sh (exclude): Add device/,
6411         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6412         cthreads.h.
6414 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6416         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6417         to account for alignment padding.
6418         * sysdeps/arm/memmove.S: Likewise.
6420 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6422         * sysdeps/unix/sysv/linux/generic/README: New file.
6424 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6426         [BZ #18138]
6427         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6428         (futex_abstimed_wait)
6429         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6430         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6431         of lll_futex_timed_wait.
6433 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6435         [BZ #17542]
6436         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6438 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6440         [BZ #17090]
6441         [BZ #17620]
6442         [BZ #17621]
6443         [BZ #17628]
6444         * NEWS: Update.
6445         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6446         entries with Static TLS too.  Skip entries past the end of the
6447         allocated DTV, from Alan Modra.
6448         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6449         Static TLS DTV entry set up from...
6450         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6451         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6452         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6453         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6454         for Static TLS.
6455         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6456         that the slot we find is associated with the given map before
6457         using its generation count.
6458         * nptl_db/db_info.c: Include ldsodefs.h.
6459         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6460         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6461         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6462         (link_map::l_tls_offset): New struct field.
6463         (dtv_t::counter): Likewise.
6464         (rtld_global): New struct.
6465         (_rtld_global): New rtld variable.
6466         (dl_tls_dtv_slotinfo_list): New rtld global field.
6467         (dtv_slotinfo_list): New struct.
6468         (dtv_slotinfo): Likewise.
6469         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6470         (td_lookup): Rename to...
6471         (td_mod_lookup): ... this.  Use new mod parameter instead of
6472         LIBPTHREAD_SO.
6473         * nptl_db/td_thr_tlsbase.c: Include link.h.
6474         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6475         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6476         addresses even if the DTV is out of date or missing them.
6477         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6478         index zero-length arrays.
6479         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6480         (td_lookup): Make it a macro implemented in terms of...
6481         (td_mod_lookup): ... this declaration.
6482         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6483         (DB_MAIN_VARIABLE): Likewise.
6485 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6487         [BZ #18134]
6488         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6490 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6492         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6494 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6496         [BZ #18128]
6497         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6498         (atomic_add, atomic_increment_and_test)
6499         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6501 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6503         * stdlib/setenv.c (__add_to_environ):
6504         Dump core quickly if setenv (..., NULL, ...) is called.
6506 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6508         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6509         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6510         all the necessary asm magic in one place.
6511         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6512         using those.
6514 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6516         [BZ #14906]
6517         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6518         traced file mtime. Use consistent log message.
6519         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6520         (register_traced_file): Call install_watches. Always set mtime.
6521         (invalidate_cache): Iterate over all trace files. Call install_watches.
6522         (inotify_check_files): Don't inline. Handle watching parent
6523         directories and configuration file movement in and out.
6524         (handle_inotify_events): New function.
6525         (main_loop_poll): Call handle_inotify_events.
6526         (main_loop_epoll): Likewise.
6527         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6528         (struct traced_file): Use array of inotify fds. Add parent directory,
6529         and basename.
6530         (struct database_dyn): Remove unused file_mtime.
6531         (init_traced_file): New inline function.
6532         (define_traced_file): New macro.
6533         * nss/nss_db/db-init.c: Use define_traced_file.
6534         (_nss_db_init): Use init_traced_file.
6535         * nss/nss_files/files-init.c: Use define_traced_file.
6536         (_nss_files_init): Use init_traced_file.
6538 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6540         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6541         [_LIBC]: Do not include <stdlib.h>.
6542         [!_LIBC] (abort): Remove declaration.
6543         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6544         _FP_STATIC_ASSERT instead of conditionally calling abort.
6545         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6546         (_FP_EXTEND_CNAN): Likewise.
6547         (FP_TRUNC): Likewise.
6548         (__FP_CLZ): Likewise.
6549         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6551 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6553         * manual/string.texi (XPG basename): Fix prototype.
6555 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6557         [BZ #18080]
6558         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6559         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6560         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6561         (__setcontext): Likewise.
6562         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6563         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6564         Call rt_sigprocmask syscall one time to set new signal mask
6565         and retrieve the current signal mask instead of two calls.
6566         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6567         (__swapcontext): Likewise.
6568         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6569         * stdlib/tst-setcontext2.c: New file.
6571 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6573         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6575 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6577         [BZ #18093]
6578         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6579         the wrong size.
6581 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6583         [BZ #18043]
6584         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6586 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6588         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6589         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6590         Remove define.
6591         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6592         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6593         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6594         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6595         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6596         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6597         define.
6598         * nptl_db/td_symbol_list.c (td_lookup): Remove
6599         HAVE_ASM_GLOBAL_DOT_NAME code.
6600         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6601         HAVE_ASM_GLOBAL_DOT_NAME check.
6602         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6603         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6604         (DOT_LABEL): Remove define.
6605         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6606         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6607         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6608         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6609         (__TLS_GET_ADDR): Likewise.
6610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6611         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6613 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6615         [BZ #18111]
6616         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6617         (_FPU_SETCW): Initialize cw from fpsr before storing.
6618         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6619         (fesetexceptflag): Rewrite using fpu_control.h.
6620         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6622 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6624         [BZ #18110]
6625         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6626         asms.
6627         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6629 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6631         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6632         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6633         abort.
6634         (_FP_FMA): Likewise.
6635         (_FP_DIV): Likewise.
6637 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6639         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6640         with 0 in that case.
6641         * Makefile (summarize-tests): New canned sequence, factored out of
6642         commands for targets tests and xtests.  Display summary lines that
6643         don't start with PASS: or XFAIL: rather than ones that do start with
6644         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6645         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6646         do start with ERROR: or FAIL:.
6647         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6648         (except for [$(build-shared) = yes]).
6649         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6650         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6651         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6652         * nptl/Makefile: Revert 2015-03-04 changes.
6653         [$(CXX) empty] (tests-unsupported): New variable.
6654         * debug/Makefile: Likewise.
6656         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6657         gnulib file.  Replace __attribute with __attribute__ throughout.
6659 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6661         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6663 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6665         [BZ #18104]
6666         * math/auto-libm-test-in: Add another test of pow.
6667         * math/auto-libm-test-out: Regenerated.
6669 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6671         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6672         $(config-cflags-nofma).
6674 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6676         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6677         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6678         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6679         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6680         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6681         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6682         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6683         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6684         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6685         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6686         Add comment on closing #endif.
6688 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6690         * posix/wordexp.c (CHAR_IN_SET): New macro.
6691         (parse_param): Use it.
6693 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6695         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6697 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6699         [BZ #18043]
6700         * posix/wordexp.c (parse_param): Fix buffer overflow.
6701         * posix/wordexp-test.c (test_case): Add test case.
6703 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6705         [BZ #18042]
6706         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6707         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6709 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6711         [BZ #18043]
6712         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6713         (do_bz18043): Delete.
6714         (at_page_end): New.
6715         (testit): Refactor to have words at the edge of unreadable page.
6717 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6719         [BZ #16734]
6720         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6721         Cleanup read-only streams as well.
6722         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6724 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6726         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6727         <bits/libc-lockP.h>
6729 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6731         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6732         on [__KERNEL__].
6733         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6734         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6735         * soft-fp/op-common.h (_FP_DECL): Likewise.
6737 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6739         * elf/ifuncdep2.c (global): Replace
6740         __attribute__((visibility("protected"))) with
6741         asm (".protected global").
6742         * elf/ifuncmod1.c (global): Likewise.
6743         * elf/ifuncmod5.c (global): Likewise.
6745 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6747         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6748         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6750 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6752         * manual/install.texi (Configuring and compiling):
6753         Document test-wrapper-env-only.
6754         * INSTALL: Regenerated.
6756 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6758         [BZ #18043]
6759         * posix/wordexp.c (parse_param): Fix buffer overflow.
6760         * posix/wordexp-test.c (do_bz18043): Add test case.
6762 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6764         * time/tst-strptime2.c (do_test): Ensure failing tests are
6765         reported correctly.
6766         * time/tst-strptime3.c (do_test): Likewise.
6768 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6770         Fix aio_error thread-safety.
6771         * sysdeps/pthread/aio_error.c: New file
6772         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6773         synchronization.
6775 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6777         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6778         (group_number, vfprintf): Use it.
6779         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6780         (JUMP, REF): Use it.
6781         (WORK_BUFFER_SIZE): New enum constant.
6782         (process_arg, vfprintf): Use it.
6784 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6786         * manual/errno.texi (Error Messages): Complete example function
6787         by adding missing #define.
6788         (program_invocation_name): Add statement indicating GNU
6789         extension and reference which header file declares the variable.
6790         (program_invocation_short_name): Likewise.
6792 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6794         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6795         compatibility note.
6797 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6799         * Makeconfig (test-wrapper-env-only): New variable.
6800         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6801         then use that with $(test-wrapper-env-only) rather than using
6802         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6804 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6806         [BZ #18082]
6807         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6808         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6809         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6810         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6811         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6812         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6813         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6814         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6815         Likewise.
6816         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6817         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6818         Likewise.
6819         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6820         Likewise.
6821         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6822         Likewise.
6823         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6824         Likewise.
6825         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6826         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6827         Likewise.
6828         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6829         Likewise.
6830         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6831         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6833 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6835         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6836         (ETH_ALEN): New macro.
6837         (struct ether_addr): Use it for length of ether_addr_octet.
6839         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6840         (setdb): Don't call __nss_configure_lookup for "rpc".
6841         (do_test): Don't call test_rpc.
6842         (output_rpcent, test_rpc): Functions moved ...
6843         * sunrpc/test-rpcent.c: ... to this new file.
6844         * sunrpc/Makefile (tests): Add it.
6846         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6847         __xpg_sigpause.
6848         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6849         * nptl/tst-signal6.c: Likewise.
6850         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6851         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6853         * configure.ac (libc_cv_cxx_link_ok): New check.
6854         Reset CXX to empty if it fails to link.
6855         * configure: Regenerated.
6856         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6857         bug-atexit3-lib only if $(CXX) is nonempty.
6858         * nptl/Makefile (tests): Likewise for tst-cancel24.
6859         (tests, tests-static): Likewise for tst-cancel24-static.
6860         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6861         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6862         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6863         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6865 2015-03-04  Andreas Schwab  <schwab@suse.de>
6867         [BZ #17631]
6868         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6869         for non-GCC compilers.
6870         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6871         Likewise.
6873 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6875         [BZ #17776]
6876         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6877         integer before bitwise and assembly operations.
6878         (feclearexcept): Likewise.
6879         * math/test-fenvinline.c: New file.
6880         * math/Makefile: Add test-fenvinline test.
6882 2015-03-03  Alan Modra  <amodra@gmail.com>
6884         [BZ #16512]
6885         * scripts/localplt.awk: Strip off symbol version.
6886         * NEWS: Mention bug fix.
6888 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6890         * sysdeps/pthread/timer_routines.c
6891         (timer_free_list, thread_free_list, thread_active_list): Make static.
6893 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6895         [BZ #17779]
6896         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6897         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6898         Undefine.
6899         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6900         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6901         Likewise.
6902         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6903         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6904         Likewise.
6906 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6908         [BZ #18036]
6909         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6910         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6912 2015-03-02  Andreas Schwab  <schwab@suse.de>
6914         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6915         variable name.
6917 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6919         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6920         Return error status.
6922 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6924         [BZ #15969]
6925         * locale/findlocale.c (_nl_find_locale): Introduce const
6926         version of loc_name and drop unsafe type casts.
6928 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6930         * dlfcn/tststatic2.c (main): Converted to ...
6931         (do_test): ... this.
6932         (TEST_FUNCTION): New macro.
6933         Include test-skeleton.c.
6935 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6937         [BZ #17711]
6938         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6939         (tests-pie): Add vismain.
6940         (CFLAGS-vismain.c): New.
6941         * elf/vismain.c: Add comments for PIE requirement.
6943 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6945         [BZ #18046]
6946         [BZ #18047]
6947         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6948         0x1p-56L as threshold for just returning the argument.
6949         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6950         0x1p-32L as threshold for just returning the argument.
6951         * math/auto-libm-test-in: Add more tests of atanh.
6952         * math/auto-libm-test-out: Regenerated.
6953         * sysdeps/i386/fpu/libm-test-ulps: Update.
6954         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6956 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6958         * string/bcopy.c (bcopy): Call memmove for performance.
6960 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6962         * string/bzero.c (__bzero): Call memset for performance.
6964 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6966         [BZ #18068]
6967         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6968         to 00100000.
6970 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6972         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6974 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6976         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6977         (__kernel_standard): Use CSTR macro when setting exc.name.
6978         * sysdeps/ieee754/Makefile [$(subdir) = math]
6979         (CFLAGS-k_standard.c): Remove variable.
6981         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6982         setting p and q from "else if" to "else".
6983         (qzero): Likewise.
6984         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6985         (qone): Likewise.
6986         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6987         (qzerof): Likewise.
6988         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6989         (qonef): Likewise.
6990         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6991         (qzero): Likewise.
6992         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6993         (qone): Likewise.
6995         [BZ #18038]
6996         [BZ #18039]
6997         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6998         return pi/2 for arguments below 0x1p-113L.
6999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7000         return pi/2 for arguments below 0x1p-106L.
7001         * math/auto-libm-test-in: Add more tests of acos.
7002         * math/auto-libm-test-out: Regenerated.
7004         [BZ #16351]
7005         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7006         (MO): New macro.
7007         (__ieee754_asin): Force underflow exception for results with small
7008         absolute value.
7009         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7010         (MO): New macro.
7011         (__ieee754_asinf): Force underflow exception for results with
7012         small absolute value.
7013         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7014         (__ieee754_asin): Force underflow exception for results with small
7015         absolute value.
7016         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7017         (__ieee754_asinf): Force underflow exception for results with
7018         small absolute value.
7019         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7020         (__ieee754_asinl): Force underflow exception for results with
7021         small absolute value.
7022         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7023         (__ieee754_asinl): Force underflow exception for results with
7024         small absolute value.
7025         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7026         (__ieee754_asinl): Force underflow exception for results with
7027         small absolute value.
7028         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7029         Include <math.h>.
7030         * math/auto-libm-test-in: Do not mark underflow exceptions as
7031         possibly missing for bug 16351.
7032         * math/auto-libm-test-out: Regenerated.
7034         [BZ #18030]
7035         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7036         of power of 2 down when low part has opposite sign.
7037         * math/libm-test.inc (logb_test_data): Add more tests.
7039 2015-02-26  Andreas Schwab  <schwab@suse.de>
7041         [BZ #18032]
7042         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7043         over collating symbol inside a bracket expression.  Minor cleanup.
7044         * posix/tst-fnmatch3.c (do_test): Add test case.
7046 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7048         [BZ #18029]
7049         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7050         Adjust exponent of power of 2 down when low part has opposite
7051         sign.
7052         * math/libm-test.inc (ilogb_test_data): Add more tests.
7054 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7056         [BZ #15969]
7057         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7058         the previous change.
7060         [BZ #15969]
7061         * locale/findlocale.c (_nl_find_locale): Retry archive search
7062         after alias expansion.
7064 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7066         * iconv/tst-iconv3.c (main): Converted to ...
7067         (do_test): ... this.
7068         (TEST_FUNCTION): New macro.
7069         Include test-skeleton.c.
7071         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7072         (convert): Make function static.
7073         (test_unalign): Likewise.  Add const to argument pointee types.
7074         (main): Replace with static function do_test.
7075         Print "Succeeded." only if RET is zero.
7076         (TEST_FUNCTION): New macro.
7077         Include test-skeleton.c.
7079         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7080         returns a null pointer.
7082 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7084         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7085         to __memcpy_ppc only for static builds.
7087 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7089         [BZ #18020]
7090         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7091         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7092         * math/auto-libm-test-in: Add more tests of asinh.
7093         * math/auto-libm-test-out: Regenerated.
7094         * sysdeps/i386/fpu/libm-test-ulps: Update.
7095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7097 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7099         [BZ #15850]
7100         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7101         and ip6_mtuinfo definitions here.
7102         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7103         in this define too.  Update comment.
7105 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7107         * elf/sprof.c (load_shobj): Tweak error message to match others.
7109 2015-02-24  Kevin Easton  <kevin@guarana.org>
7111         [BZ #16145] (partial fix)
7112         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7113         to reduce lock contention.
7115 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7117         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7118         (struct timex): Update time comment.
7119         (ADJ_SETOFFSET): Define.
7121 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7123         [BZ #18019]
7124         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7125         2**56 not 2**28 as threshold for log (2x) formula.
7126         * math/auto-libm-test-in: Add more tests of acosh.
7127         * math/auto-libm-test-out: Regenerated.
7128         * sysdeps/i386/fpu/libm-test-ulps: Update.
7129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7131 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7133         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7134         parenthesis around the buf assignment.
7135         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7137 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7139         [BZ #16783]
7140         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7141         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7142         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7143         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7144         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7145         * math/libm-test.inc (scalb_test_data): Add more tests.
7147 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7149         [BZ #17916]
7150         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7151         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7153 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7155         [BZ #17523]
7156         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7157         * io/bits/fcntl2.h (open): Use it.
7158         (openat): Likewise.
7159         * io/open.c (__libc_open): Likewise.
7160         * io/open64.c (__libc_open64): Likewise.
7161         * io/open64_2.c (__open64_2): Likewise.
7162         * io/open_2.c (__open_2): Likewise.
7163         * io/openat.c (__openat): Likewise.
7164         * io/openat64.c (__openat64): Likewise.
7165         * io/openat64_2.c (__openat64_2): Likewise.
7166         * io/openat_2.c (__openat_2): Likewise.
7167         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7168         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7169         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7170         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7171         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7172         (__open_nocancel): Likewise.
7173         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7174         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7175         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7177 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7179         [BZ #14841]
7180         * resolv/gethnamaddr.c (getanswer): Skip logging if
7181         RES_USE_DNSSEC is set.
7182         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7184 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7186         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7188 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7190         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7191         201304L, for Unicode 7.
7193 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7195         [BZ #17836]
7196         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7197         shared library.  Add gmon-start.os otherwise.
7198         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7199         $(objpfx)gmon-start.os if builing shared library.
7200         ($(objpfx)g$(static-start-installed-name)): Likewise.
7202 2015-02-23  Andreas Schwab  <schwab@suse.de>
7204         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7206 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7208         [BZ #17269]
7209         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7210         (enlarge_userbuf): Likewise.
7212 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7214         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7215         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7216         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7217         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7219 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7221         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7222         expression inside statement expression.
7224 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7226         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7227         <sysdeps/nptl/lowlevellock.h> and remove macros and
7228         functions that are now defined there.
7229         (SYS_futex): Remove.
7230         (lll_compare_and_swap): Remove.
7231         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7233 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7235         [BZ #17999]
7236         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7237         instead of scandirat.
7238         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7239         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7240         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7241         __scandirat.
7242         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7243         (__scandirat): Declare.  Use libc_hidden_proto.
7244         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7245         Remove variable.
7246         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7248 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7250         [BZ #15319]
7251         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7252         (MO): New macro.
7253         (__ieee754_atan2): For results with small absolute value, force
7254         underflow exception and remove excess range and precision from
7255         return value.
7256         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7257         (MO): New macro.
7258         (__ieee754_atan2f): For results with small absolute value, force
7259         underflow exception and remove excess range and precision from
7260         return value.
7261         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7262         (MO): New macro.
7263         (__atan): For results with small absolute value, force underflow
7264         exception and remove excess range and precision from return value.
7265         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7266         (MO): New macro.
7267         (__atanf): For results with small absolute value, force underflow
7268         exception and remove excess range and precision from return value.
7269         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7270         <math.h>.
7271         (__ieee754_atan2): Force underflow exception for results with
7272         small absolute value.
7273         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7274         <math_private.h>.
7275         (atan): Force underflow exception for results with small absolute
7276         value.
7277         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7278         (__atanf): Force underflow exception for results with small
7279         absolute value.
7280         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7281         <math.h>.
7282         (__atanl): Force underflow exception for results with small
7283         absolute value.
7284         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7285         (__atanl): Force underflow exception for results with small
7286         absolute value.
7287         * sysdeps/x86/fpu/bits/mathinline.h
7288         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7289         (__ieee754_atan2): Only define inline for long double.
7290         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7291         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7292         * math/auto-libm-test-in: Do not mark underflow exceptions as
7293         possibly missing for bug 15319.  Add more tests of atan2.
7294         * math/auto-libm-test-out: Regenerated.
7295         * math/libm-test.inc (casin_test_data): Do not mark underflow
7296         exceptions as possibly missing for bug 15319.
7297         (casinh_test_data): Likewise.
7298         * sysdeps/i386/fpu/libm-test-ulps: Update.
7300 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7302         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7303         * sysdeps/mips/bits/endian.h: Fix comments.
7305 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7307         [BZ #17996]
7308         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7309         (hdestroy_r): Likewise.
7310         (hsearch_r): Likewise.
7311         (__hcreate_r): Declare and use libc_hidden_proto.
7312         (__hdestroy_r): Likewise.
7313         (__hsearch_r): Likewise.
7314         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7315         (hcreate): Call __hcreate_r instead of hcreate_r.
7316         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7317         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7318         as weak alias of __hcreate_r.
7319         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7320         __hdestroy_r.
7321         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7322         __hsearch_r.
7323         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7324         Remove variable.
7325         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7326         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7327         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7328         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7330 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7332         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7333         arena_lock into a single arena_get.
7335 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7337         * dl-reloc.c: Inlucde libc-internal.h.
7338         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7339         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7340         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7341         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7342         (grow_heap): Likewise.
7343         * malloc/malloc.c: Include libc-internal.h.
7344         (do_check_malloc): Call powerof2.
7345         (sysmalloc): Use pagesize. Call ALIGN_UP.
7346         (systrim): Use pagesize.
7347         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7348         (__libc_valloc): Use pagesize.
7349         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7351 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7353         [BZ #17991]
7354         * include/sys/resource.h (__getrlimit64): Declare.  Use
7355         libc_hidden_proto.
7356         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7357         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7358         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7359         getrlimit64.
7360         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7361         __getrlimit64.
7362         [!getrlimit64] (getrlimit64): Define as weak alias of
7363         __getrlimit64.  Use libc_hidden_weak.
7364         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7365         using __getrlimit64 not __new_getrlimit64.
7366         (__GI_getrlimit64): Likewise.
7367         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7368         Likewise.
7369         (__GI_getrlimit64): Likewise.
7370         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7372         (getrlimit): Add __getrlimit64 alias.
7373         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7374         Likewise.
7375         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7376         Remove variable.
7377         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7378         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7380 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7382         * libio/fileops.c: Add missing sys/mman.h
7383         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7385 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7387         * manual/math.texi (Errors in Math Functions): Clarify goals
7388         regarding inexact and underflow exceptions.
7390 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7392         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7393         * sysdeps/mips/memset.S: Ditto.
7395 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7397         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7399 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7401         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7402         (__v1longjmp): Remove versioned symbol.
7403         (__v1siglongjmp): Remove alias and versioned symbol.
7404         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7405         (__v2siglongjmp): Likewise.
7407 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7409         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7411 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7413         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7415 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7417         [BZ #17987]
7418         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7419         zero result does not depend on the sign resulting from
7420         subtraction.
7421         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7422         Likewise.
7423         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7424         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7425         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7426         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7427         * math/libm-test.inc (remquo_test_data): Add more tests.
7429 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7431         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7432         Problem reported by J William Piggott.
7434 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7436         [BZ #17978]
7437         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7438         products 4 * y and 2 * y where those would overflow.
7439         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7440         Likewise.
7441         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7442         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7443         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7444         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7445         * math/libm-test.inc (remquo_test_data): Add more tests.
7447         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7449         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7450         [defined _COMPILING_NEWLIB].
7451         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7452         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7454         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7455         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7457 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7459         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7460         acquired.
7462 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7464         [BZ #17792]
7465         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7466         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7467         HOST_STACK_END_ADDR): Likewise.
7469 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7471         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7472         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7473         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7475 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7477         * sysdeps/generic/c++-types.data: New file.
7478         * sysdeps/generic/ld.abilist: New file.
7479         * sysdeps/generic/libBrokenLocale.abilist: New file.
7480         * sysdeps/generic/libanl.abilist: New file.
7481         * sysdeps/generic/libc.abilist: New file.
7482         * sysdeps/generic/libcrypt.abilist: New file.
7483         * sysdeps/generic/libdl.abilist: New file.
7484         * sysdeps/generic/libm.abilist: New file.
7485         * sysdeps/generic/libpthread.abilist: New file.
7486         * sysdeps/generic/libresolv.abilist: New file.
7487         * sysdeps/generic/librt.abilist: New file.
7489 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7491         [BZ #17569]
7492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7493         Compute absolute value of x as modified by fmod, not original
7494         value of x.
7495         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7496         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7497         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7498         RUN_TEST_ffI_f1_mod8.
7499         (remquo_test_data): Add more tests.
7501 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7503         * sysdeps/init_array/pt-crti.S: New file.
7505 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #17967]
7508         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7509         __builtin_fmaf instead of relying on contraction of a * b + c.
7511 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7513         [BZ #17969]
7514         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7515         node.
7517 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7519         [BZ #17964]
7520         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7521         __builtin_fma instead of relying on contraction of a * b + c.
7523 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7525         * Makeconfig (ASFLAGS): Add -Werror=undef.
7526         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7527         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7528         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7530         * Makeconfig (after-link): New variable.
7531         (+link-pie, +link-pie-tests): Use it.
7532         (+link-static, +link-static-tests): Likewise.
7533         (+link, +link-tests): Likewise.
7534         * Makerules (build-module, build-module-asneeded): Likewise.
7535         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7536         Likewise.
7537         * elf/Makefile ($(objpfx)ld.so): Likewise.
7539 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7541         [BZ #17965]
7542         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7543         both struct timeval and struct timespec.
7545 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7547         [BZ #16560]
7548         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7549         and redefine.
7550         (__ieee754_exp2l): Do not multiply small fractional parts by
7551         M_LN2l.
7552         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7553         small argument.
7554         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7555         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7556         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7557         * math/auto-libm-test-in: Add more tests of exp2.
7558         * math/auto-libm-test-out: Regenerated.
7560 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7562         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7563         unaligned path.
7565 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7567         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7568         little endian.
7570 2015-02-12  Andreas Schwab  <schwab@suse.de>
7572         [BZ #15790]
7573         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7574         Filter out elision flags from value returned in kind.
7575         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7576         * nptl/tst-pthread-mutexattr.c: New file.
7578 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7580         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7581         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7582         into gnu-gnu, and update comment to refer to abi-tags.
7584 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7586         [BZ #15467]
7587         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7588         (__sincos): Set errno to EDOM for infinite argument.
7589         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7590         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7591         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7592         (__sincosl): Set errno to EDOM for infinite argument.
7593         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7594         (__sincosl): Set errno to EDOM for infinite argument.
7595         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7596         (__sincosl): Set errno to EDOM for infinite argument.
7597         * math/libm-test.inc (sincos_test_data): Test errno setting.
7599 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7601         * string/strxfrm_l.c: Remove #define STRCMP.
7602         * string/strcoll_l.c: Remove #define STRLEN.
7603         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7604         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7606 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7608         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7609         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7610         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7611         * sysdeps/mips/mips64/Makefile: ... here.
7612         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7613         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7614         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7615         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7616         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7617         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7618         * sysdeps/mips/mips64/n64/Implies: Likewise.
7620 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7622         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7623         <sys/time.h>, <string.h>, and <errno.h>.
7624         (dest_offset, dest_address, value, zero): Remove unused variables.
7625         (ldouble): Remove typedef.
7626         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7627         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7628         1).  Fix code style.
7629         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7630         (check): Function removed.
7631         (CHECK): New macro.
7632         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7633         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7634         Don't call set_sigaction_FP and remove_sigaction_FP here.
7635         (ldouble_test): Just use 'long double' as macro argument, no need for
7636         the 'ldouble' typedef.
7637         (do_test): Set up SIGFPE handler at start, using plain signal rather
7638         than sigaction.  Fix code style.
7640 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7642         [BZ #17949]
7643         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7644         jump label.
7646 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7648         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7649         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7651         * sysdeps/powerpc/configure.ac: Remove file.
7652         * sysdeps/powerpc/configure: Likewise.
7654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7655         [sysdep_routines]: Remove wordcopy-power6 object.
7656         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7657         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7658         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7659         (__memmove_ppc32): Likewise.
7660         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7661         file.
7662         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7664         Remove preprocessor.
7666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7667         [sysdep_routines]: Remove wide chars objects.
7668         [wcsmbs]: New rule for wide char objects.
7670         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7671         Remove wordcopy-power6 obejct.
7672         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7673         Use local call for wordcopy and memcpy symbols.
7674         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7675         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7676         implementation for loader.
7677         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7679         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7680         Remove wordcopy-power7 object.
7681         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7682         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7683         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7684         (_wordcopy_fwd_dest_aligned): Likewise.
7685         (_wordcopy_bwd_aligned): Likewise.
7686         (_wordcopy_bwd_dest_aligned): Likewise.
7688         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7689         Rewrite to call __memmove_ppc instead of include default
7690         implementation.
7692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7693         Remove wide chars objects.
7694         [wcsmbs]: New rule for wide char objects.
7696 2015-02-09  Andreas Schwab  <schwab@suse.de>
7698         [BZ #17912]
7699         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7700         in terms of __O_DIRECTORY.
7702 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7704         * time/getdate.c: Include <stdbool.h>.
7705         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7706         call PTR_MANGLE.
7707         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7708         PTR_DEMANGLE.
7710 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7712         Add ersatz _Static_assert on older C hosts
7713         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7714         pre-C11 C platform that is not known to support _Static_assert.
7716 2015-02-07  Richard Braun  <rbraun@sceen.net>
7718         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7719         sigstate.
7720         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7722 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7724         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7725         priority against unexistent AIO_PRIO_DELTA_MAX.
7726         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7727         instead of int.
7728         * misc/fchflags.c (fchflags): Likewise.
7729         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7730         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7731         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7732         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7733         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7734         Declare macros.
7735         [__USE_MISC] (chflags, fchflags): Declare functions.
7736         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7737         EINVAL when nfds is greater than FD_SETSIZE.
7738         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7739         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7740         45.
7741         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7742         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7743         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7744         MACH_RCV_TIMED_OUT.
7745         * hurd/hurd/signal.h (_hurd_self_sigstate,
7746         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7747         Explicit casts from void *.
7748         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7749         * abi-tags: Rename gnu-gnu os into gnu.
7751         [BZ #4719]
7752         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7753         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7754         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7755         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7756         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7757         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7759         [BZ #17944]
7760         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7761         duplicates ADDR->sun_path with sockaddr LEN limitation.
7762         * sysdeps/mach/hurd/connect.c: Include <string.h>
7763         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7764         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7765         * sysdeps/mach/hurd/sendto.c: Likewise.
7766         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7767         implementing it by hand.
7769 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7771         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7772         Use sfi_breg on ldr.
7773         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7774         Likewise.
7776         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7777         it's defined.
7778         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7779         Test SIGSETXID only if it's defined.
7781         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7783         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7784         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7786         * nptl/tst-align2.c: Moved ...
7787         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7788         * nptl/Makefile (tests): Remove tst-align2.
7789         * sysdeps/unix/sysv/linux/Makefile
7790         [$(subdir) = nptl] (tests): Add tst-align-clone.
7791         * nptl/tst-getpid1.c: Moved ...
7792         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7793         * nptl/tst-getpid2.c: Moved ...
7794         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7795         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7796         * sysdeps/unix/sysv/linux/Makefile
7797         [$(subdir) = nptl] (tests): ... here.
7798         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7799         * sysdeps/unix/sysv/linux/Makefile
7800         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7802         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7803         Drop trailing \n from perror argument.  Use return rather than exit.
7805         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7806         on [SA_SIGINFO].
7807         * nptl/tst-cancel21.c (do_test): Likewise.
7808         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7809         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7810         [!SA_SIGINFO]: Make it a stub test.
7812         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7813         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7815         * posix/tst-getlogin.c: Move to ...
7816         * login/tst-getlogin.c: ... here.
7817         * posix/Makefile (tests): Move tst-getlogin to ...
7818         * login/Makefile (tests): ... here.
7820         * libio/tst-atime.c (do_test): Move local variables SV and E
7821         inside [ST_NOATIME] conditional.
7823         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7825         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7827         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7828         (wait_code): New function replaces macro.
7829         Call nanosleep rather than syscall.
7831         * nptl/pt-system.c: Rewritten.  Put everything under
7832         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7833         Use IFUNC to redirect when possible.
7835         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7836         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7837         Use IFUNC to redirect when possible.
7839         * nptl/pt-fork.c: Rewritten.  Put everything under
7840         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7841         Use IFUNC to redirect when possible.
7842         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7844         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7845         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7846         unconditionally nowadays.  This included the only reference to
7847         __vdso_clock_gettime that appears outside libc proper.
7848         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7849         Remove version set (containing only __vdso_clock_gettime).
7850         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7851         Add attribute_hidden.
7852         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7853         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7854         libc_hidden_data_def.
7855         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7856         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7858         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7859         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7860         setrpcent, and getrpcport to ...
7861         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7862         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7863         getrpcbynumber_r, and getrpcent_r to ...
7864         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7865         * inet/getrpcbyname.c: Moved ...
7866         * sunrpc/getrpcbyname.c: ... here.
7867         * inet/getrpcbyname_r.c: Moved ...
7868         * sunrpc/getrpcbyname_r.c: ... here.
7869         * inet/getrpcbynumber.c: Moved ...
7870         * sunrpc/getrpcbynumber.c: ... here.
7871         * inet/getrpcbynumber_r.c: Moved ...
7872         * sunrpc/getrpcbynumber_r.c: ... here.
7873         * inet/getrpcent.c: Moved ...
7874         * sunrpc/getrpcent.c: ... here.
7875         * inet/getrpcent_r.c: Moved ...
7876         * sunrpc/getrpcent_r.c: ... here.
7877         * inet/Makefile (routines): Move those to ...
7878         * sunrpc/Makefile (routines): ... here.
7879         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7880         the $(subdirs) list.
7881         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7882         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7883         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7884         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7886         * elf/Makefile (routines): Include $(all-dl-routines), not just
7887         $(dl-routines).
7888         (rtld-routines): Likewise.  Use = rather than :=.
7889         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7890         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7891         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7892         * sysdeps/arm/Makefile: Likewise.
7893         * sysdeps/i386/Makefile: Likewise.
7894         * sysdeps/x86_64/Makefile: Likewise.
7895         * sysdeps/hppa/Makefile [$(subdir) = elf]
7896         (sysdep_routines, sysdep-rtld-routines): Don't add
7897         $(sysdep-dl-routines) to these.
7898         * sysdeps/ia64/Makefile: Likewise.
7899         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7900         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7901         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7902         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7903         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7904         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7905         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7906         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7907         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7908         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7909         these; sysdep-dl-routines alone is enough.
7911 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7913         [BZ #17932]
7914         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7915         where multiplication results in zero and third argument is finite
7916         and nonzero.
7917         * math/auto-libm-test-in: Add more tests of fma.
7918         * math/auto-libm-test-out: Regenerated.
7920         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7921         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7922         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7923         (_FP_CMP_EQ): Likewise.
7924         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7926         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7927         extra argument CHECK_NAN.  Redefine as wrapper around
7928         _FP_EXTEND_CNAN.
7930 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7932         * version.h (RELEASE): Set to "stable".
7933         (VERSION): Set to "2.21"
7934         * include/features.h (__GLIBC_MINOR__): Set to 21.
7936         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7938 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7939             Paul Eggert  <eggert@cs.ucla.edu>
7941         [BZ #16618]
7942         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7943         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7944         size in bytes. Store needed elements in wpmax. Use needed size
7945         in bytes for extend_alloca.
7947 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7949         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7950         binutls 2.25, and texinfo 5.2.
7951         * INSTALL: Regenerate.
7952         * sysdeps/nios2/configure: Regenerate.
7953         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7954         * manual/contrib.texi: Update.
7955         * po/be.po: Update.
7956         * po/bg.po: Update.
7957         * po/ca.po: Update.
7958         * po/cs.po: Update.
7959         * po/da.po: Update.
7960         * po/de.po: Update.
7961         * po/el.po: Update.
7962         * po/eo.po: Update.
7963         * po/es.po: Update.
7964         * po/fi.po: Update.
7965         * po/fr.po: Update.
7966         * po/gl.po: Update.
7967         * po/hr.po: Update.
7968         * po/hu.po: Update.
7969         * po/ia.po: Update.
7970         * po/id.po: Update.
7971         * po/it.po: Update.
7972         * po/ja.po: Update.
7973         * po/ko.po: Update.
7974         * po/lt.po: Update.
7975         * po/nb.po: Update.
7976         * po/nl.po: Update.
7977         * po/pl.po: Update.
7978         * po/pt_BR.po: Update.
7979         * po/ru.po: Update.
7980         * po/rw.po: Update.
7981         * po/sk.po: Update.
7982         * po/sl.po: Update.
7983         * po/sv.po: Update.
7984         * po/tr.po: Update.
7985         * po/uk.po: Update.
7986         * po/vi.po: Update.
7987         * po/zh_CN.po: Update.
7988         * po/zh_TW.po: Update.
7990         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7991         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7992         * sysdeps/hppa/dl-irel.h: Remove #warning.
7993         * sysdeps/hppa/entry.h: Provide prototype for
7994         __canonicalize_funcptr_for_compare and cast argument.
7995         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7996         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7997         * sysdeps/hppa/sotruss-lib.c: New file.
7998         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7999         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8000         (atomic_compare_and_exchange_bool_acq): Likewise.
8001         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8002         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8004         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8005         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8006         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8008 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8010         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8011         called function in non-PIC case.
8013 2015-01-31  David S. Miller  <davem@davemloft.net>
8015         * sysdeps/sparc/sparc32/bits/atomic.h
8016         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8017         unlock not after it.
8018         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8019         volatile register usage warnings from the compiler.
8021         * sysdeps/sparc/nptl/sem_init.c: Delete.
8022         * sysdeps/sparc/nptl/sem_post.c: Delete.
8023         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8024         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8025         * sysdeps/sparc/sparc32/sem_init.c: New file.
8026         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8027         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8028         padding explicitly initialized.
8029         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8030         padding for in-semaphore spinlock.
8031         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8032         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8033         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8034         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8035         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8036         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8037         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8038         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8039         version.
8040         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8041         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8043 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8045         [BZ #17801]
8046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8047         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8048         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8049         New.
8050         (index_AVX_Fast_Unaligned_Load): Likewise.
8051         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8052         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8053         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8054         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8055         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8056         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8057         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8058         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8059         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8061 2015-01-29  Andreas Schwab  <schwab@suse.de>
8063         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8065 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8067         [BZ #17892]
8068         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8070 2015-01-28  Martin Sebor  <msebor@redhat.com>
8072         * math/README.libm-test: Clarify. Add "How to read the test output."
8074 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8076         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8077         Define to 0.
8079 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8081         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8082         (__HAVE_64B_ATOMICS): Define to 0.
8084 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8086         [BZ #17885]
8087         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8088         value to set as new flag.
8090         [BZ #16576]
8091         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8092         and use _ARCH_PPCSQ instead.
8093         (__ieee754_sqrt): Likewise.
8094         (__ieee754_sqrtf): Likewise.
8095         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8096         _ARCH_PPCSQ is defined.
8097         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8098         fsqrt instruction.
8099         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8100         _ARCH_PPCSQ is defined.
8101         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8102         fsqrts instruction.
8103         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8105 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8107         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8108         bug (GCC BZ #64739).
8110 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8112         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8113         Mark _retval as used.
8114         (lll_futex_wake_unlock): Likewise.
8115         (lll_futex_timed_wait_requeue_pi): Likewise.
8117         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8118         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8119         register variables.
8121         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8122         libm_hidden_def.
8124         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8125         (__bswap_64): Mark as __always_inline.
8127 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8129         [BZ #15378]
8130         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8131         when none of the search directories exist.
8133 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8135         [BZ #17869]
8136         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8137         power8 in .machine directive.
8139         [BZ #17868]
8140         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8141         set dependency from opd value.
8143 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8146         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8147         architecture.
8149 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8151         [BZ #17870]
8152         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8153         with uint64_t.
8154         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8155         (uint64_t) 1.
8156         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8157         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8158         Replace 1UL with (uint64_t) 1.
8159         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8160         int with uint64_t.
8162 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8164         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8165         (if_freenameindex): Likewise.
8167         * resource/getrlimit64.c: Add missing libc_hidden_def.
8169 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8171         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8172         __label__.
8173         (_FP_FMA): Likewise.
8174         (_FP_TO_INT_ROUND): Likewise.
8175         (_FP_FROM_INT): Likewise.
8177 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8179         [BZ #16418]
8180         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8181         Make code racy and cancel safe.
8183 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8185         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8186         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8187         attribution.
8189         * pwd/tst-getpw.c: Rewrite.
8191         [BZ #17702]
8192         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8193         (modules-names): Add moddummy1 and moddummy2.
8194         ($(objpfx)tst-rec-dlopen): Define.
8195         * dlfcn/moddummy1.c: New file.
8196         * dlfcn/moddummy2.c: New file.
8197         * dlfcn/tst-rec-dlopen.c: New file.
8198         * elf/dl-cache.c (_dl_load_cache_lookup):
8199         Return char*. Copy result with alloca/strcpy/strdup.
8200         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8201         returns char*. Free cached. If not saving realname
8202         free cached.
8203         * elf/dl-open.c (dl_open_worker): Do not assert that
8204         _r_debug->r_state is RT_CONSISTENT.
8205         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8206         returns char*.
8208 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8209             Carlos O'Donell  <carlos@redhat.com>
8211         [BZ #12674]
8212         * nptl/sem_waitcommon.c: New file.
8213         * nptl/sem_wait.c: Include sem_waitcommon.c.
8214         (__sem_wait_cleanup, do_futex_wait): Remove.
8215         (__new_sem_wait): Adapt.
8216         (__new_sem_trywait): New function.
8217         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8218         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8219         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8220         (sem_timedwait): Adapt.
8221         * nptl/sem_post.c (__new_sem_post): Adapt.
8222         (futex_wake): New function.
8223         (__old_sem_post): Add release MO fence.
8224         * nptl/sem_open.c (sem_open): Adapt.
8225         * nptl/sem_init.c (__new_sem_init): Adapt.
8226         (futex_private_if_supported): New function.
8227         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8228         (__old_sem_getvalue): Add using previous code.
8229         * sysdeps/nptl/internaltypes.h: Adapt.
8230         * nptl/tst-sem13.c (do_test): Adapt.
8231         * nptl/tst-sem11.c (main): Adapt.
8232         * nptl/sem_trywait.c: Remove.
8233         * nptl/DESIGN-sem.txt: Remove.
8234         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8235         (gen-as-const-headers): Remove structsem.sym.
8236         * nptl/structsem.sym: Remove.
8237         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8238         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8239         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8240         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8241         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8242         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8243         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8244         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8245         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8246         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8247         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8248         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8249         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8250         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8251         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8252         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8253         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8254         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8255         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8256         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8257         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8258         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8260 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8262         * INSTALL: Regenerated.
8264         * po/libc.pot: Regenerated.
8266 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8267             Sandra Loosemore  <sandra@codesourcery.com>
8268             Andrew Jenner  <andrew@codesourcery.com>
8269             Joseph Myers  <joseph@codesourcery.com>
8270             Nathan Sidwell  <nathan@codesourcery.com>
8272         * NEWS: Mention new Nios II port.
8273         * sysdeps/nios2/Implies: New file.
8274         * sysdeps/nios2/Makefile: New file.
8275         * sysdeps/nios2/Subdirs: New file.
8276         * sysdeps/nios2/Versions: New file.
8277         * sysdeps/nios2/__longjmp.S: New file.
8278         * sysdeps/nios2/abort-instr.h: New file.
8279         * sysdeps/nios2/backtrace.c: New file.
8280         * sysdeps/nios2/bits/endian.h: New file.
8281         * sysdeps/nios2/bits/fenv.h: New file.
8282         * sysdeps/nios2/bits/link.h: New file.
8283         * sysdeps/nios2/bits/setjmp.h: New file.
8284         * sysdeps/nios2/bsd-_setjmp.S: New file.
8285         * sysdeps/nios2/bsd-setjmp.S: New file.
8286         * sysdeps/nios2/configure: New generated file.
8287         * sysdeps/nios2/configure.ac: New file.
8288         * sysdeps/nios2/crti.S: New file.
8289         * sysdeps/nios2/crtn.S: New file.
8290         * sysdeps/nios2/dl-init.c: New file.
8291         * sysdeps/nios2/dl-machine.h: New file.
8292         * sysdeps/nios2/dl-sysdep.h: New file.
8293         * sysdeps/nios2/dl-tls.h: New file.
8294         * sysdeps/nios2/dl-trampoline.S: New file.
8295         * sysdeps/nios2/gccframe.h: New file.
8296         * sysdeps/nios2/gmp-mparam.h: New file.
8297         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8298         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8299         * sysdeps/nios2/ldsodefs.h: New file.
8300         * sysdeps/nios2/libc-tls.c: New file.
8301         * sysdeps/nios2/libm-test-ulps: New file.
8302         * sysdeps/nios2/machine-gmon.h: New file.
8303         * sysdeps/nios2/math-tests.h: New file.
8304         * sysdeps/nios2/math_private.h: New file.
8305         * sysdeps/nios2/memusage.h: New file.
8306         * sysdeps/nios2/nptl/Makefile: New file.
8307         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8308         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8309         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8310         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8311         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8312         * sysdeps/nios2/nptl/tls.h: New file.
8313         * sysdeps/nios2/preconfigure: New file.
8314         * sysdeps/nios2/s_fma.c: New file.
8315         * sysdeps/nios2/s_fmaf.c: New file.
8316         * sysdeps/nios2/setjmp.S: New file.
8317         * sysdeps/nios2/sfp-machine.h: New file.
8318         * sysdeps/nios2/sotruss-lib.c: New file.
8319         * sysdeps/nios2/stackguard-macros.h: New file.
8320         * sysdeps/nios2/stackinfo.h: New file.
8321         * sysdeps/nios2/start.S: New file.
8322         * sysdeps/nios2/sysdep.h: New file.
8323         * sysdeps/nios2/tls-macros.h: New file.
8324         * sysdeps/nios2/tst-audit.h: New file.
8325         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8326         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8327         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8328         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8329         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8330         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8331         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8332         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8333         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8334         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8335         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8336         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8337         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8338         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8339         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8340         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8341         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8342         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8343         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8344         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8345         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8346         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8347         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8348         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8349         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8350         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8351         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8352         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8353         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8354         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8355         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8356         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8357         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8358         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8359         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8360         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8361         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8362         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8363         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8364         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8365         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8366         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8367         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8368         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8370 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8372         [BZ #17844]
8373         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8374         (getutent): Use weak_alias in non SHARED case
8375         and default_symbol_version in SHARED case.
8376         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8377         (getutent_r, pututline): Likewise.
8378         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8379         (getutid): Likewise.
8380         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8381         (getutid_r): Likewise.
8382         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8383         (getutline): Likewise.
8384         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8385         (getutline_r): Likewise.
8386         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8387         (updwtmp): Likewise.
8389 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8391         [BZ #17848]
8392         * sysdeps/s390/s390-32/memcmp.S
8393         (memcmp_g5): Rename to __memcmp_g5.
8394         * sysdeps/s390/s390-32/memcpy.S
8395         (memcpy_g5): Rename to __memcpy_g5.
8396         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8397         (memcpy_mvcle) Rename to __memcpy_mvcle.
8398         * sysdeps/s390/s390-32/memset.S
8399         (memset_g5): Rename to __memset_g5.
8400         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8401         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8402         and use prefixed functions.
8403         * sysdeps/s390/s390-32/multiarch/memcmp.S
8404         (memcmp_z196): Rename to __memcmp_z196.
8405         (memcmp_z10): Rename to __memcmp_z10.
8406         (memcmp): Set alias to __memcmp_g5.
8407         (bcmp): Set alias to __memcmp_g5.
8408         * sysdeps/s390/s390-32/multiarch/memcpy.S
8409         (memcpy_z196): Rename to __memcpy_z196.
8410         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8411         (memcpy_z10): Rename to __memcpy_z10.
8412         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8413         (memcpy): Set alias to __memcpy_g5.
8414         * sysdeps/s390/s390-32/multiarch/memset.S
8415         (memset_z196): Rename to __memset_z196.
8416         Jump to __memset_mvcle instead of memset_mvcle.
8417         (memset_z10): Rename to __memset_z10.
8418         Jump to __memset_mvcle instead of memset_mvcle.
8419         (memset_mvcle) Rename to __memset_mvcle.
8420         (memset): Set alias to __memset_g5.
8421         * sysdeps/s390/s390-64/memcmp.S
8422         (memcmp_z900): Rename to __memcmp_z900.
8423         * sysdeps/s390/s390-64/memcpy.S
8424         (memcpy_z900): Rename to __memcpy_z900.
8425         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8426         (memcpy_mvcle) Rename to __memcpy_mvcle.
8427         * sysdeps/s390/s390-64/memset.S
8428         (memset_z900): Rename to __memset_z900.
8429         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8430         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8431         and use prefixed functions.
8432         * sysdeps/s390/s390-64/multiarch/memcmp.S
8433         (memcmp_z196): Rename to __memcmp_z196.
8434         (memcmp_z10): Rename to __memcmp_z10.
8435         (memcmp): Set alias to __memcmp_z900.
8436         (bcmp): Set alias to __memcmp_z900.
8437         * sysdeps/s390/s390-64/multiarch/memcpy.S
8438         (memcpy_z196): Rename to __memcpy_z196.
8439         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8440         (memcpy_z10): Rename to __memcpy_z10.
8441         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8442         (memcpy): Set alias to __memcpy_z900.
8443         * sysdeps/s390/s390-64/multiarch/memset.S
8444         (memset_z196): Rename to __memset_z196.
8445         Jump to __memset_mvcle instead of memset_mvcle.
8446         (memset_z10): Rename to __memset_z10.
8447         Jump to __memset_mvcle instead of memset_mvcle.
8448         (memset_mvcle) Rename to __memset_mvcle.
8449         (memset): Set alias to __memset_z900.
8451 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8453         [BZ #17748]
8454         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8455         __fesetenv instead of fesetenv.
8457 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8459         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8460         macro.
8462 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8464         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8465         regression on LE.
8467         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8468         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8469         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8470         strncmp-power8 object.
8471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8472         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8473         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8474         * NEWS: Update.
8476 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8477             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8479         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8480         trailing byte check.
8482 2015-01-13  David S. Miller  <davem@davemloft.net>
8484         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8486 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8488         * login/logout.c (logout): Use memset rather than bzero.
8489         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8490         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8491         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8492         (_gethtbyaddr): Likewise.
8493         * locale/programs/simple-hash.c (bcopy): Macro removed.
8495 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8497         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8498         Add strcmp-power8 object.
8499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8500         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8501         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8502         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8503         __strcmp_power8 implementation.
8504         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8505         * NEWS: Update.
8507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8508         Add strncpy-power8 and stpncpy-power8 objects.
8509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8510         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8511         implementations.
8512         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8513         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8514         __stpncpy_power8 implementation.
8515         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8516         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8517         __strncpy_power8 implementation.
8518         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8519         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8520         * NEWS: Update.
8522         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8523         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8524         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8526         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8527         strncat-power8 object.
8528         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8529         __strcat_power8 implementation.
8530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8531         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8532         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8533         optimized strcat for power8.
8535         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8536         strcpy-power8 and stpcpy-power8 objects.
8537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8538         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8539         implementations.
8540         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8541         multiarch stpcpy implementation for POWER8.
8542         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8543         multiarch strcpy implementation for POWER8.
8544         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8545         __strcpy_power8 function.
8546         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8547         stpcpy for POWER8.
8548         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8549         strcpy for POWER8.
8550         * NEWS: Update.
8552 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8554         [BZ #16009]
8555         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8556         weights and rules. Use do_xfrm_cached if data fits in cache,
8557         do_xfrm otherwise.  Moved former main loop to...
8558         * (do_xfrm_cached): New function.
8559         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8560         find_idx, find_position and stack_push.
8561         * (find_idx): New function.
8562         * (find_position): Likewise.
8563         * localedata/sort-test.sh: Added test run for do_xfrm.
8564         * localedata/xfrm-test.c (main): Added command line option
8565         -nocache to run the test with strings that are too large for
8566         the STRXFRM cache.
8568 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8570         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8571         variable to lll_futex_wake call, not the value itself.
8573 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8575         [BZ #17803]
8576         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8577         twom64.  Adjust value to 0x1p-64L.
8578         (__scalblnl): Only return standard underflowing result for K <=
8579         -64 not K <= -63; adjust exponent for underflowing result by 64
8580         not 63.
8581         * math/libm-test.inc (scalbn_test_data): Add more tests.
8582         (scalbln_test_data): Likewise.
8584         [BZ #17834]
8585         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8586         0x1p63L.
8587         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8588         not HX.
8589         * math/libm-test.inc (scalbn_test_data): Add more tests.
8590         (scalbln_test_data): Likewise.
8592 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8593             Stefani Seibold  <stefani@seibold.net>
8595         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8596         (sysdep_routines): Add dl-vdso here, ...
8597         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8598         (sysdep_routines): ... not here.
8599         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8600         fallback when vDSO is not presented.
8601         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8602         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8603         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8604         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8605         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8606         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8607         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8608         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8609         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8610         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8611         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8612         fallback configurable symbol when vDSO is not available.
8613         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8614         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8615         be able to redefine fallback symbol when vDSO is not available.
8616         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8617         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8619 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8621         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8622         (TLS_INIT_TP): Add tm_capable initialization.
8623         (TLS_DEFINE_INIT_TP): Likewise.
8624         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8625         TCB.
8626         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8627         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8628         calculation.
8629         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8630         transactoion is lock elision is built and TCB tm_capable is set.
8631         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8633         (INTERNAL_SYSCALL_NCS): Likewise.
8634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8635         (INTERNAL_SYSCALL_NCS): Likewise.
8636         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8638         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8639         for powerpc.
8640         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8641         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8642         and remove it for 32 bits case.
8643         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8645         initialization.
8646         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8647         Disable lock elision with rdlocks if elision is not available.
8649         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8650         (sysdep_routines): Add lock elision objects.
8651         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8652         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8653         [pthread_mutex_t] (__elision): Add field.
8654         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8655         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8656         elision definitions for powerpc.
8657         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8658         implementation of lock elision for powerpc.
8659         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8660         implementation of timed lock elision for powerpc.
8661         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8662         implementation of trylock with lock elision for powerpc.
8663         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8664         implementaion of unlock for lock elision for powerpc.
8665         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8666         automatic enable lock elision for mutexes.
8667         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8668         transaction execution definitions for powerpc.
8669         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8670         definitions.
8671         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8672         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8673         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8674         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8675         * NEWS: Update.
8677 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8679         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8680         for #include of <shm-directory.h>.
8682 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8684         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8685         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8687 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8689         [BZ #17791]
8690         * NEWS: Mention bug fix.
8691         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8692         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8693         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8695 2015-01-09  Torvald Riegel <triegel@redhat.com>
8697         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8699 2015-01-09  Torvald Riegel <triegel@redhat.com>
8701         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8703 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8705         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8706         pointer and cast to uintptr_t.
8708 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8710         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8711         removed.
8712         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8714 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8716         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8717         of 0.
8719 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8721         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8722         <nptl/pthreadP.h> instead.
8723         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8725         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8726         already defined.
8727         [__SIGRTMIN] (init): Function removed.
8728         [__SIGRTMIN] (initialized): Variable removed.
8729         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8730         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8731         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8732         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8733         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8734         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8735         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8736         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8737         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8738         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8739         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8740         * sysdeps/nptl/allocrtsig.c: New file.
8741         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8742         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8743         * sysdeps/generic/testrtsig.h: File removed.
8745         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8746         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8748         * nptl/nptl-init.c (pthread_functions): Conditionalize
8749         .ptr__nptl_setxid initialization on [SIGSETXID].
8751         * sysdeps/nptl/sys/procfs.h: New file.
8752         * nptl_db/Makefile (headers): Add it.
8753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8755         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8756         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8757         * nptl/pthread_attr_setaffinity.c: Include it.
8758         * nptl/pthread_setattr_default_np.c: Likewise.
8759         * nptl/check-cpuset.h: New file.
8761 2015-01-08  Richard Henderson  <rth@redhat.com>
8763         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8764         (CFLAGS-tst-execstack-prog.c): Likewise.
8765         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8767 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8768             Sandra Loosemore  <sandra@codesourcery.com>
8769             Andrew Jenner  <andrew@codesourcery.com>
8770             Joseph Myers  <joseph@codesourcery.com>
8771             Nathan Sidwell  <nathan@codesourcery.com>
8773         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8774         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8775         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8776         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8777         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8778         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8779         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8780         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8781         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8782         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8783         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8784         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8785         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8786         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8787         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8788         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8789         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8791 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8793         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8794         timespec struct member in syscall macro.
8795         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8796         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8797         first timeval struct member in syscall macro.
8798         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8800 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8802         [BZ #17748]
8803         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8804         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8805         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8806         __feupdateenv and define as weak alias of __feupdateenv.  Use
8807         libm_hidden_weak.
8808         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8809         libm_hidden_def.
8810         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8811         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8812         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8813         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8814         libm_hidden_def.
8815         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8816         __feupdateenv and define as weak alias of __feupdateenv.  Use
8817         libm_hidden_weak.
8818         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8819         libm_hidden_def.
8820         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8821         __feupdateenv and define as weak alias of __feupdateenv.  Use
8822         libm_hidden_weak.
8823         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8824         libm_hidden_def.
8825         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8826         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8827         (__feupdateenv): Likewise.
8828         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8829         __feupdateenv and define as weak alias of __feupdateenv.  Use
8830         libm_hidden_weak.
8831         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8832         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8833         libm_hidden_def.
8834         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8835         function.
8836         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8837         libm_hidden_def.
8838         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8839         __feupdateenv instead of feupdateenv.
8840         (default_libc_feupdateenv_test): Likewise.
8841         (libc_feresetround_ctx): Likewise.
8843 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8845         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8846         prototype.
8848 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8850         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8851         COLL_SYM in a couple of places to avoid uninitialized variable
8852         wanings on tilegx gcc 4.8.2.
8854 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8856         * sysdeps/aarch64/strcpy.S: New file.
8857         * sysdeps/aarch64/stpcpy.S: New file.
8858         * NEWS: Updated.
8860 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8862         * sysdeps/aarch64/strrchr.S: New file.
8863         * NEWS: Updated.
8865 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8867         [BZ #17658]
8868         * stdlib/setenv.c: Fix memory leak when setting large,
8869         duplicate string.
8871 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8873         [BZ #17273]
8874         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8875         and tabs from buffer before parsing fstab entry.
8876         * misc/tst-mntent.c (main): Add test for mount entry with
8877         trailing spaces and tabs.
8879 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8881         [BZ #17748]
8882         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8883         * math/fesetround.c (fesetround): Rename to __fesetround and
8884         define as weak alias of __fesetround.  Use libm_hidden_weak.
8885         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8886         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8887         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8888         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8889         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8890         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8891         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8892         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8893         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8894         __fesetround_inline.
8895         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8896         __fesetround_inline instead of __fesetround.
8897         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8898         __fesetround and define as weak alias of __fesetround.  Use
8899         libm_hidden_weak.  Call __fesetround_inline instead of
8900         __fesetround.
8901         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8902         __fesetround and define as weak alias of __fesetround.  Use
8903         libm_hidden_weak.
8904         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8905         Likewise.
8906         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8907         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8908         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8909         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8910         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8911         __fesetround and define as weak alias of __fesetround.  Use
8912         libm_hidden_weak.
8913         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8914         __fesetround instead of fesetround.
8915         (default_libc_feholdexcept_setround): Likewise.
8916         (libc_feholdsetround_ctx): Likewise.
8917         (libc_feholdsetround_noex_ctx): Likewise.
8919         [BZ #17748]
8920         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8921         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8922         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8923         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8924         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8925         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8926         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8927         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8928         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8929         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8930         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8931         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8932         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8933         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8934         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8935         libm_hidden_def.
8936         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8937         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8938         Likewise.
8939         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8940         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8941         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8942         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8943         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8944         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8945         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8946         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8947         __fesetenv instead of fesetenv.
8948         (libc_feresetround_noex_ctx): Likewise.
8949         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8950         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8951         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8952         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8953         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8954         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8955         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8956         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8957         (__feupdateenv): Likewise.
8958         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8959         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8960         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8961         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8963 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8965         [BZ #17806]
8966         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8967         addresses have been freed.
8969 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8971         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8972         and nservall.
8974 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8976         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8977         Clean up check_pf allocation pattern. addresses
8979 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8981         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8982         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8983         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8984         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8985         * nptl/pthread_join.c (pthread_join): Likewise.
8986         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8987         * sysdeps/posix/waitid.c (__waitid): Likewise.
8988         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8989         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8990         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8991         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8993         Likewise.
8994         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8995         (__libc_pread64): Likewise.
8996         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8997         (__libc_pwrite): Likewise.
8998         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8999         (__libc_pwrite64): Likewsie.
9000         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9001         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9002         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9003         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9004         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9005         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9006         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9008         Likewise.
9009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9010         (__libc_pread64): Likewise.
9011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9012         Likewise.
9013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9014         (__libc_pwrite64): Likewise.
9015         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9016         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9017         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9018         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9019         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9020         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9021         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9022         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9023         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9024         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9025         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9026         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9027         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9028         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9029         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9030         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9031         Likewise.
9033 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9035         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9036         (CFLAGS-test-double.c): Likewise.
9037         (CFLAGS-test-ldouble.c): Likewise.
9038         (CPPFLAGS-test-ifloat.c): Likewise.
9039         (CPPFLAGS-test-idouble.c): Likewise.
9040         (CPPFLAGS-test-ildoubl.c): Likewise.
9041         (CFLAGS-test-test-fenv.c): Remove variable.
9042         (CFLAGS-test-misc.c): Likewise.
9044 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9046         [BZ #17797]
9047         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9048         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9049         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9050         CLOCKS_PER_SEC == 1000000.
9051         * time/clocktest.c (main): Replace %ld with %jd and cast to
9052         intmax_t.
9054 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9056         * sysdeps/generic/unwind-resume.h: New file.
9057         * sysdeps/gnu/unwind-resume.c: Include it.
9058         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9059         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9060         argument list.
9061         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9062         global rather than static.
9063         (_Unwind_Resume): Update user.
9064         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9065         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9066         rather than static.  Add __attribute__ ((cold)).
9067         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9068         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9069         * sysdeps/arm/arm-unwind-resume.S: New file.
9070         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9071         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9072         * sysdeps/arm/Makefile [$(subdir) = csu]
9073         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9074         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9075         Add rt-arm-unwind-resume.
9076         [$(subdir) = nptl]
9077         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9078         Add pt-arm-unwind-resume.
9079         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9080         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9082 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9084         [BZ #17748]
9085         * include/fenv.h (__feholdexcept): Declare.  Use
9086         libm_hidden_proto.
9087         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9088         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9089         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9090         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9091         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9092         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9093         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9094         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9095         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9096         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9097         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9098         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9099         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9100         (feholdexcept): Likewise.
9101         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9102         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9103         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9104         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9105         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9106         __feholdexcept instead of feholdexcept.
9107         (default_libc_feholdexcept_setround): Likewise.
9109 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9111         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9112         to avoid using stl/str to align destination.
9114 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9116         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9118 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9120         [BZ #17796]
9121         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9122         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9123         Define as weak alias not strong alias.
9125 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9127         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9128         bltzal with addiupc.
9129         (RTLD_START): Ditto.
9131 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9133         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9134         for __vdso_* functions in declarations.
9135         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9136         definitions.
9137         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9138         INTERNAL_VSYSCALL): Use struct return types to check for error.
9140         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9141         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9142         function with cast from llround().
9143         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9144         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9145         Define.
9147 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9149         [BZ #17793]
9150         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9151         Define as weak alias not strong alias.
9153         [BZ #17635]
9154         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9155         ...
9156         * ctype/ctype-extn.c: ... here.
9157         (__isblank_l): Move to ...
9158         * ctype/ctype-c99_l.c: ... here.  New file.
9159         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9160         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9161         Remove variable.
9162         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9163         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9164         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9165         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9166         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9168         [BZ #17777]
9169         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9170         (posix_fadvise64): Define as weak alias not strong alias.
9171         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9172         (posix_fallocate64): Likewise.
9173         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9174         Remove variable.
9175         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9176         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9177         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9178         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9179         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9181 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9183         [BZ #16191]
9184         * NEWS: Mention bug fix.
9185         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9186         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9187         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9188         (HOST_STACK_END_ADDR): Likewise.
9190 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9192         [BZ #17748]
9193         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9194         * math/fegetround.c (fegetround): Rename to __fegetround and
9195         define as weak alias of __fegetround.  Use libm_hidden_weak.
9196         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9197         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9198         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9199         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9200         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9201         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9202         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9203         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9204         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9205         Undefine after rather than before function definition; use
9206         parentheses around function name in definition.
9207         (__fegetround): Also undefine macro after function definition.
9208         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9209         __fegetround and define as weak alias of __fegetround.  Use
9210         libm_hidden_weak.  Do not undefine as macro.
9211         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9212         Likewise.
9213         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9214         __fegetround and define as weak alias of __fegetround.  Use
9215         libm_hidden_weak.
9216         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9217         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9218         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9219         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9220         __fegetround and define as weak alias of __fegetround.  Use
9221         libm_hidden_weak.
9222         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9223         __fegetround instead of fegetround.
9225         [BZ #17782]
9226         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9227         Condition macro definition on [__USE_MISC].
9229         [BZ #17781]
9230         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9231         (struct sigaction): Change type of sa_flags field to int.
9233         [BZ #17780]
9234         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9235         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9236         __glibc_reserved0.
9238         * nptl/version.c (banner): Use single year in copyright notice.
9240         * NEWS: Update copyright dates.
9241         * catgets/gencat.c (print_version): Likewise.
9242         * csu/version.c (banner): Likewise.
9243         * debug/catchsegv.sh: Likewise.
9244         * debug/pcprofiledump.c (print_version): Likewise.
9245         * debug/xtrace.sh (do_version): Likewise.
9246         * elf/ldconfig.c (print_version): Likewise.
9247         * elf/ldd.bash.in: Likewise.
9248         * elf/pldd.c (print_version): Likewise.
9249         * elf/sotruss.sh: Likewise.
9250         * elf/sprof.c (print_version): Likewise.
9251         * iconv/iconv_prog.c (print_version): Likewise.
9252         * iconv/iconvconfig.c (print_version): Likewise.
9253         * locale/programs/locale.c (print_version): Likewise.
9254         * locale/programs/localedef.c (print_version): Likewise.
9255         * login/programs/pt_chown.c (print_version): Likewise.
9256         * malloc/memusage.sh (do_version): Likewise.
9257         * malloc/memusagestat.c (print_version): Likewise.
9258         * malloc/mtrace.pl: Likewise.
9259         * manual/libc.texinfo: Likewise.
9260         * nptl/version.c (banner): Likewise.
9261         * nscd/nscd.c (print_version): Likewise.
9262         * nss/getent.c (print_version): Likewise.
9263         * nss/makedb.c (print_version): Likewise.
9264         * posix/getconf.c (main): Likewise.
9265         * scripts/test-installation.pl: Likewise.
9266         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9268 2015-01-02  Will Newton  <will.newton@linaro.org>
9270         * sysdeps/arm/armv7/configure: Removed.
9271         * sysdeps/arm/armv7/configure.ac: Likewise.
9273 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9275         * All files with FSF copyright notices: Update copyright dates
9276         using scripts/update-copyrights.
9277         * intl/plural.c: Regenerated.
9278         * locale/programs/charmap-kw.h: Likewise.
9279         * locale/programs/locfile-kw.h: Likewise.
9281 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9283         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9285 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9287         [BZ #17748]
9288         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9289         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9290         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9291         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9292         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9293         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9294         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9295         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9296         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9297         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9298         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9299         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9300         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9301         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9302         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9303         libm_hidden_def.
9304         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9305         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9306         Likewise.
9307         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9308         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9309         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9310         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9311         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9312         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9313         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9314         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9315         __fegetenv instead of fegetenv.
9316         (libc_feholdsetround_noex_ctx): Likewise.
9318 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9320         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9321         (Elf_MIPS_ABIFlags_v0): New structure.
9322         (EF_MIPS_FP64): Define.
9323         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9324         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9325         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9326         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9327         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9328         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9329         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9330         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9331         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9332         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9333         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9334         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9335         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9336         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9337         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9338         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9339         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9340         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9341         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9342         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9343         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9344         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9345         field.
9346         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9347         EF_MIPS_FP64.
9348         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9349         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9350         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9351         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9352         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9353         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9354         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9355         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9356         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9357         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9358         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9359         record the current FP ABI extension.
9360         (mips-mode-switch): Define to show if kernel headers support mode
9361         switching.
9362         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9363         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9364         supported SYSV ABI version to 3.
9365         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9366         feature.
9368 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9369             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9371         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9372         path.
9373         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9375 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9377         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9378         __fegetround and redefine to call __fegetround.  Remove condition
9379         on [!__NO_MATH_INLINES].
9380         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9381         function.
9382         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9383         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9384         Remove macro.
9385         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9386         instead of <fenv_libc.h>.
9387         (__llrintl): Call fegetround instead of __fegetround.
9388         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9389         instead of <fenv_libc.h>.
9390         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9391         (__lrintl): Call fegetround instead of __fegetround.
9392         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9393         instead of <fenv_libc.h>.
9394         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9395         (__rintl): Call fegetround instead of __fegetround.
9397 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9399         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9400         arrays.
9402 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9404         [BZ #17775]
9405         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9406         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9407         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9409 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9411         * sysdeps/i386/tls-macros.h: Include <features.h>.
9412         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9413         (TLS_IE): Likewise.
9414         (TLS_LD): Likewise.
9415         (TLS_GD): Likewise.
9416         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9417         define for GCC >= 5.0.
9419 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9421         * math/test-fenv.c (test_single_exception, set_single_exc,
9422         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9423         feexcp_mask_test, feenable_test, fe_single_test): Add
9424         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9425         case where they are not used.
9426         * math/libm-test.inc: Likewise.
9427         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9428         unused in the absence of FP rounding/exception support.
9429         * stdio-common/tst-printf-round.c: Likewise.
9430         * stdlib/tst-strtod-round.c: Likewise.
9431         * stdlib/tst-strtod-underflow.c: Likewise.
9433 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9435         [BZ #17723]
9436         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9437         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9438         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9439         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9440         libm_hidden_weak.
9441         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9442         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9443         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9444         libm_hidden_def.
9445         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9446         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9447         libm_hidden_weak.
9448         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9449         Likewise.
9450         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9451         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9452         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9453         libm_hidden_weak.
9454         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9455         libm_hidden_def.
9456         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9457         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9458         (__feraiseexcept): Likewise.
9459         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9460         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9461         libm_hidden_weak.
9462         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9463         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9464         libm_hidden_def.
9465         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9466         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9467         Use libm_hidden_def.
9468         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9469         libm_hidden_def.
9470         (feraiseexcept): Define as weak not strong alias.  Use
9471         libm_hidden_weak.
9472         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9473         New inline function.  Factored out of ...
9474         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9475         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9476         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9477         feraiseexcept.
9478         * math/w_acos.c (__acos): Likewise.
9479         * math/w_asin.c (__asin): Likewise.
9480         * math/w_ilogb.c (__ilogb): Likewise.
9481         * math/w_j0.c (y0): Likewise.
9482         * math/w_j1.c (y1): Likewise.
9483         * math/w_jn.c (yn): Likewise.
9484         * math/w_log.c (__log): Likewise.
9485         * math/w_log10.c (__log10): Likewise.
9486         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9487         * sysdeps/aarch64/fpu/math_private.h
9488         (libc_feupdateenv_test_aarch64): Likewise.
9489         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9490         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9491         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9492         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9493         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9494         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9495         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9496         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9497         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9498         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9500 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9502         [BZ #17732]
9503         * io/test-utime.c (main): Replace %ld with %jd and cast to
9504         intmax_t.
9505         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9506         * nptl/tst-mutex5.c: Include <stdint.h>.
9507         (do_test): Replace %ld with %jd and cast to intmax_t.
9508         * posix/tst-regex.c (run_test): Likewise.
9509         (run_test_backwards): Likewise.
9510         * rt/tst-clock.c: Include <stdint.h>.
9511         (clock_test): Replace %ld with %jd and cast to intmax_t.
9512         * rt/tst-cpuclock1.c: Include <stdint.h>.
9513         (do_test): Replace %lu with %ju and cast to uintmax_t.
9514         * rt/tst-cpuclock2.c: Include <stdint.h>.
9515         (do_test): Replace %lu with %ju and cast to uintmax_t.
9516         * rt/tst-mqueue1.c: Include <stdint.h>.
9517         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9518         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9519         intmax_t.
9520         * rt/tst-mqueue4.c (do_test): Likewise.
9521         * rt/tst-timer4.c: Include <stdint.h>.
9522         (check_ts): Replace %ld with %jd and cast to intmax_t.
9523         (do_test): Likewise.
9524         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9525         and cast to intmax_t.
9526         * sysdeps/pthread/tst-timer.c (main): Likewise.
9527         * time/clocktest.c (main): Likewise.
9528         * time/tst-posixtz.c (do_test): Likewise.
9529         * timezone/tst-timezone.c (main): Likewise.
9531 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9532             H.J. Lu  <hongjiu.lu@intel.com>
9534         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9535         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9536         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9537         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9538         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9539         version if bit_Fast_Unaligned_Load is set.
9540         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9541         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9542         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9543         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9544         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9545         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9546         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9547         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9548         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9549         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9550         to 4.
9551         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9552         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9553         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9554         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9556 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9558         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9559         instead of #if to avoid a Wundef warning.
9560         * stdlib/tst-limits.c (do_test): Likewise.
9562         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9563         parallel other exception macros.
9564         (fegetenv): Convert from macro to extern inline so that it applies
9565         retroactively to inline functions already seen by the compiler.
9566         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9568         * posix/Makefile (before-compile): Use $(objpfx) for
9569         posix-conf-vars-def.h.
9571 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9573         * posix/getconf.c (main): Use size_t for type of I.
9574         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9575         NSPEC.
9577         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9578         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9579         * posix/posix-envs.def: Likewise.
9580         * sysdeps/posix/sysconf.c: Likewise.
9581         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9582         (specs): Remove array.
9583         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9584         array.
9586         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9587         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9588         (__sysconf): Use CONF_IS_* macros.
9590         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9591         ($(objpfx)posix-conf-vars-def.h): New target.
9592         * posix/posix-conf-vars.list: New file.
9593         * posix/posix-conf-vars.h: New file.
9594         * posix/confstr.c: Include posix-conf-vars.h.
9595         (confstr): Use CONF_IS_* macros.
9596         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9597         CONF_IS_* macros.
9598         * scripts/gen-posix-conf-vars.awk: New file.
9600 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9602         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9603         fegetround): Add no-op macros to avoid linknamespace issues.
9605         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9606         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9608         * sysdeps/unix/sysv/linux/tile/sysdep.h
9609         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9610         assembly-specific section to avoid a redefinition warning.
9612         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9613         long before casting to pointer to avoid a cast warning.
9615 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9617         * sysdeps/tile/tilegx/Implies: New file.
9619 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9621         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9623 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9625         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9627 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9630         not define.
9631         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9632         <kernel-features.h>.
9633         (__utimes) [__NR_utimes]: Make code unconditional.
9634         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9635         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9636         (__ASSUME_UTIMES): Do not undefine.
9637         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9638         (__ASSUME_UTIMES): Likewise.
9639         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9640         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9641         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9642         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9644 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9646         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9648 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9650         [BZ #17747]
9651         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9652         alias to weak alias for j0l, y0l.
9653         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9654         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9656         [BZ #17746]
9657         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9658         conversion.
9660 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9662         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9663         to zero if not already defined.
9665 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9667         [BZ #17724]
9668         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9669         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9670         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9671         (char *) casts added.
9672         * sysdeps/ieee754/k_standardf.c: New file.
9673         * sysdeps/ieee754/k_standardl.c: Likewise.
9674         * math/Makefile (libm-support): Remove k_standard.
9675         (libm-calls): Add k_standard.
9677 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9679         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9680         Optimize to avoid an unnecessary FPCR read.
9682 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9684         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9685         Optimize to reduce FPCR/FPSR accesses.
9687 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9689         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9690         Call libc_fetestexcept_aarch64.
9692 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9694         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9695         Call libc_fesetround_aarch64.
9697 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9699         [BZ #17733]
9700         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9701         (__bind): Do not define as weak alias.
9702         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9703         define.
9704         (__getsockname): Do not define as weak alias.
9706 2014-12-22  Will Newton  <will.newton@linaro.org>
9708         * manual/install.texi: Document that we require bison 2.7
9709         or above.
9710         * INSTALL: Regenerate.
9711         * configure.ac: Use AC_CHECK_PROG_VER instead of
9712         AC_PATH_PROG when checking for bison and check for
9713         version 2.7 or above.
9714         * configure: Regenerate.
9716 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9718         [BZ #17745]
9719         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9720         * sysdeps/tile/ffsll.c (ffsll): To here.
9722         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9724 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9726         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9727         if not defined.
9728         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9729         definition.
9730         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9731         hidden ___tls_get_addr.
9732         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9733         hidden __tls_get_addr.
9734         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9735         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9736         Likewise.
9738 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9740         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9741         _dl_init call.
9743 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9745         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9746         from "call _dl_init@PLT".
9747         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9749 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9751         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9752         guarantees.
9754 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9756         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9758 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9760         [BZ #17744]
9761         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9762         strnlen.
9764 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9766         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9767         of multu on MIPSr6.
9768         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9769         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9770         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9771         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9772         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9774 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9776         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9777         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9778         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9779         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9780         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9781         mips32r6/mips64r6.
9782         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9784 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9786         * string/strncat.c (STRNCAT): Simplify implementation.
9788 2014-12-19  David S. Miller  <davem@davemloft.net>
9790         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9791         access the quad as both a long double and as a series of 4 words.
9793         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9794         link_map->l_info array access.
9796 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9798         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9800         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9801         * math/atest-exp2.c (TIMEOUT): Likewise.
9802         * math/atest-sincos.c (TIMEOUT): Likewise.
9804 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9806         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9807         -Wno-error with -fno-builtin-lround.
9809 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9811         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9812         Contains futex constants and functions moved over from ...
9813         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9814         <lowlevellock-futex.h>.
9815         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9816         (lll_timedwait_tid): Add comments and parentheses around macro
9817         arguments.
9819 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9821         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9822         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9823         (__lll_private_flag): Remove.
9824         (lll_futex_wait): Likewise.
9825         (lll_futex_timed_wait): Likewise.
9826         (lll_futex_wake): Likewise.
9827         (lll_futex_requeue): Likewise.
9828         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9829         (__lll_timedwait_tid): Spell out argument names.
9830         (lll_timedwait_tid): Add comments and parentheses around macro
9831         arguments.
9832         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9833         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9835 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9837         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9838         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9839         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9840         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9841         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9842         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9843         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9844         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9845         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9846         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9847         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9848         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9849         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9850         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9851         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9852         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9853         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9854         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9855         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9857 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9859         * sysdeps/x86_64/x32/Makefile: New file.
9861 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9863         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9864         1L with (mp_limb_t) 1.
9866 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9868         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9869         * nptl/libc_pthread_init.c: ... here.
9870         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9871         * nptl/register-atfork.c: ... here.
9873         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9874         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9875         Use assert_perror to check its return value.
9876         (__gai_create_helper_thread): Likewise.
9878         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9880         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9882 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9884         [BZ #17725]
9885         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9886         __profil_counter.
9887         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9892         Likewise.
9893         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9894         (profil_counter): Likewise.
9895         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9896         (profil_counter): Likewise.
9897         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9900         Likewise.
9901         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9902         (profil_counter): Likewise.
9903         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9904         Likewise.
9905         [!__profil_counter] (profil_counter): Define as weak alias of
9906         __profil_counter.
9907         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9908         (profil_counter): Rename to __profil_counter.
9909         [!__profil_counter] (profil_counter): Define as weak alias of
9910         __profil_counter.
9911         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9912         (profil_counter): Rename to __profil_counter.
9913         [!__profil_counter] (profil_counter): Define as weak alias of
9914         __profil_counter.
9915         * sysdeps/posix/profil.c: Update comment referring to
9916         profil_counter.
9917         (__profil): Use __profil_counter instead of profil_counter.
9918         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9919         __profil_counter.  Use __profil_counter_ushort and
9920         __profil_counter_uint in definitions.
9921         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9922         instead of profil_counter_uint and profil_counter_ushort.
9924         [BZ #17722]
9925         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9926         define as weak alias of __inet_makeaddr.
9927         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9928         as weak alias of __inet_addr.
9929         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9930         as weak alias of __inet_pton.  Use libc_hidden_weak.
9931         * include/arpa/inet.h (__inet_pton): Declare.  Use
9932         libc_hidden_proto.
9933         (inet_makeaddr): Don't use libc_hidden_proto.
9934         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9935         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9936         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9937         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9938         Remove variable.
9939         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9940         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9942 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9944         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9946 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9948         * stdio-common/bug-vfprintf-nargs.c (do_test):
9949         Cast value to intptr_t to avoid format warning
9950         for usage with PRIdPTR printing macro.
9952 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9954         * libio/tst-widetext.c (do_test):
9955         Use format type %td instead of %Zd for ptrdiff_t
9956         in order to avoid format warning.
9958 2014-12-17  Andreas Schwab  <schwab@suse.de>
9960         * nscd/mem.c (gc): Add size_t cast to match printf format.
9962 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9964         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9965         (init): Apply PTR_MANGLE to pointers before storing them.
9966         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9967         before using them.
9969 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9971         [BZ #17719]
9972         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9973         define as weak alias of __memrchr.
9974         (__memrchr): Do not define as strong alias of memrchr.
9975         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9976         Remove variable.
9977         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9978         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9979         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9981         [BZ #17717]
9982         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9983         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9984         (if_indextoname): Rename to __if_indextoname and define as weak
9985         alias of __if_indextoname.  Use libc_hidden_weak.
9986         (if_freenameindex): Rename to __if_freenameindex and define as
9987         weak alias of __if_freenameindex.
9988         (if_nameindex): Rename to __if_nameindex and define as weak alias
9989         of __if_nameindex.
9990         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9991         __if_nametoindex and define as weak alias of __if_nametoindex.
9992         Use libc_hidden_weak.
9993         (if_freenameindex): Rename to __if_freenameindex and define as
9994         weak alias of __if_freenameindex.
9995         (if_nameindex): Rename to __if_nameindex and define as weak alias
9996         of __if_nameindex.
9997         (if_indextoname): Rename to __if_indextoname and define as weak
9998         alias of __if_indextoname.  Use libc_hidden_weak.
9999         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10000         __if_nametoindex and define as weak alias of __if_nametoindex.
10001         Use libc_hidden_weak.
10002         (if_freenameindex): Rename to __if_freenameindex and define as
10003         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10004         (if_nameindex_netlink): Use __if_freenameindex instead of
10005         if_freenameindex.
10006         (if_nameindex): Rename to __if_nameindex and define as weak alias
10007         of __if_nameindex.  Use libc_hidden_weak.
10008         (if_indextoname): Rename to __if_indextoname and define as weak
10009         alias of __if_indextoname.  Use libc_hidden_weak.
10010         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10011         libc_hidden_proto.
10012         [!_ISOMAC] (__if_freenameindex): Likewise.
10013         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10014         if_nametoindex.
10015         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10016         variable.
10017         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10018         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10019         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10020         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10021         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10022         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10023         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10025         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10026         Remove variable.
10027         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10028         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10030 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10032         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10033         subscript above bounds'
10035         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10036         bounds.
10038 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10040         * libio/tst-fopenloc.c: Use test-skeleton.c.
10042         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10043         (entry): Rename to ITEM.
10044         (do_test, comp): Adjust.
10046         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10048 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10050         * string/tester.c: Include <libc-internal.h>.
10051         (test_memset): Ignore -Wmemset-transposed-args.
10053 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10055         * misc/tst-mntent2.c (do_test): Fix warning.
10057 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10059         * elf/tst-unique4lib.cc(a): Mark as used.
10061 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10063         [BZ #17630]
10064         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10065         names.
10067 2014-12-16  Allan McRae  <allan@archlinux.org>
10069         * stdio-common/Makefile (tests): Re-add bug26.
10071 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10073         [BZ #17657]
10074         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10075         static array.
10077 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10079         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10080         (__lll_lock_wait): Likewise.
10081         (__lll_timedlock_wait): Likewise.
10082         (__lll_timedwait_tid): Likewise.
10083         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10084         (__lll_robust_timedlock_wait): Likewise.
10085         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10086         (lll_cond_trylock): Likewise.
10087         (__lll_lock): Likewise.
10088         (__lll_robust_lock): Likewise.
10089         (__lll_cond_lock): Likewise.
10090         (lll_robust_cond_lock): Likewise.
10091         (__lll_timedlock): Likewise.
10092         (__lll_robust_timedlock): Likewise.
10093         (__lll_unlock): Likewise.
10094         (__lll_robust_unlock): Likewise.
10095         (lll_wait_tid): Likewise.
10096         (lll_timedwait_tid): Likewise.
10098 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10100         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10102 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10104         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10106 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10108         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10109         * stdio-common/tst-sprintf.c: Likewise.
10111 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10113         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10115 2014-12-15  Jeff Law  <law@redhat.com>
10117         [BZ #16617]
10118         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10119         on the heap.  (CVE-2012-3406)
10120         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10121         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10122         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10124 2014-12-15  Will Newton  <will.newton@linaro.org>
10126         * manual/install.texi: Bump required version of texinfo
10127         to 4.7 from 4.5.
10128         * INSTALL: Regenerated.
10129         * configure.ac: Check for makeinfo version 4.7 and above.
10130         * configure: Regenerated.
10132 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10134         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10135         PREFIX, string constant to insert between directory and name.
10136         * sysdeps/posix/shm_open.c: Update caller.
10137         * sysdeps/posix/shm_unlink.c: Likewise.
10138         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10139         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10140         (SEM_SHM_PREFIX): New macro.
10141         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10142         [$(have-thread-library) = no].
10143         * nptl/Makefile (libpthread-routines): Add shm-directory.
10144         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10145         * sysdeps/nptl/shm-directory.h: New file.
10146         * sysdeps/posix/shm-directory.c
10147         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10148         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10149         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10150         INTERNAL_SYSCALL.
10151         (__where_is_shmfs): Function removed.
10152         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10153         Variables removed.
10154         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10155         Use SHM_GET_NAME.
10156         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10158         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10159         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10160         unconditional for use inside libpthread.
10161         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10163 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10165         * nptl/pthread_getaffinity.c: New file.
10166         * nptl/pthread_setaffinity.c: New file.
10167         * nptl/pthread_getname.c: New file.
10168         * nptl/pthread_setname.c: New file.
10170         * nptl/pthread_create.c (START_THREAD_DEFN)
10171         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10173 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10174             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10176         * resolv/res_send.c (send_vc): Disable warning resplen may
10177         be used uninitialized.
10179 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10181         * nptl/tst-mutex6.c
10182         (ATTR_NULL): New define checks ATTR against NULL.
10183         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10184         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10186 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10188         [BZ #17581]
10189         * malloc/hooks.c
10190         (mem2mem_check): Revert my previous change.
10191         (malloc_check_get_size): Revert my previous change.
10192         (mem2chunk_check): Revert my previous change.
10194 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10196         * sysdeps/posix/shm-directory.c: New file.
10197         * sysdeps/posix/shm-directory.h: New file.
10198         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10199         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10200         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10201         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10202         Transmute EPERM to EACCES.
10203         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10204         from ...
10205         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10206         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10208 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10210         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10211         pointer and cast to uintptr_t.
10212         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10213         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10214         Add cast to avoid warning.
10215         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10217 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10219         * nptl/semaphore.h: Move to ...
10220         * sysdeps/pthread/semaphore.h: ... here.
10221         * Makefile (installed-headers): Change nptl/semaphore.h to
10222         sysdeps/pthread/semaphore.h.
10224 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10226         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10227         generated error format strings.
10229         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10230         -Wformat-extra-args warnings for scanf formats.
10231         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10232         test of zero-length format (duh).
10233         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10234         corner-case scanf format test.
10235         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10236         generated fprintf format string.
10237         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10238         corner-case sprintf format tests.
10239         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10240         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10241         -Wformat-extra-args warnings throughout.
10242         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10243         (CFLAGS-scanf4.c): Likewise.
10244         (CFLAGS-scanf7.c): Likewise.
10245         (CFLAGS-tst-sprintf.c): Likewise.
10246         (CFLAGS-tst-printf.c): Likewise.
10247         (CFLAGS-tst-printfsz.c): Likewise.
10249 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10251         * include/cpio.h: New file.
10252         * include/fmtmsg.h: Likewise.
10254         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10255         corresponding format argument to size_t.
10256         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10257         arguments.
10258         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10259         corresponding format argument to size_t.
10260         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10261         arguments.
10262         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10263         corresponding format argument to size_t.
10264         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10265         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10266         (CFLAGS-tst-mbswcs2.c): Likewise.
10267         (CFLAGS-tst-mbswcs3.c): Likewise.
10268         (CFLAGS-tst-mbswcs4.c): Likewise.
10269         (CFLAGS-tst-mbswcs5.c): Likewise.
10270         (CFLAGS-tst-trans.c): Likewise
10272 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10274         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10275         rather than assuming they won't contain any '%'s.
10277 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10279         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10280         inhibit_loop_to_libcall to avoid recursive calls.
10281         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10282         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10284 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10286         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10287         prototype.
10289 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10291         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10292         integer value instead of boolean.
10294 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10296         * malloc/malloc.c: Fix powerof2 check.
10298 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10300         * locale/programs/locfile.h (maybe_swap_uint32):
10301         Remove inline and add unused attribute.
10303 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10305         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10306         Truncating assembler expression to a .long expression.
10308 2014-12-11  Andreas Schwab  <schwab@suse.de>
10310         * elf/rtld.c (struct map_args): Constify str member.
10311         (do_preload): Constify fname argument.
10313 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10316         constants definition.
10318 2014-12-11  Andreas Schwab  <schwab@suse.de>
10320         [BZ #16657]
10321         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10322         FORCE_ELISION instead of DO_ELISION.
10323         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10324         Remove.
10325         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10326         Likewise.
10328         * iconvdata/gconv-modules: Remove duplicate entry.
10330 2014-12-11  Will Newton  <will.newton@linaro.org>
10332         Merge gettext 0.19.3 into intl/.
10334         This involves a number of cosmetic changes to comments
10335         and ANSI function definitions and prototypes throughout
10336         all the files. The gettext copyright header is used but
10337         with the date ranges taken from the glibc copy.
10339         * NEWS: Add gettext merge to 2.21.
10340         * intl/bindtextdom.c: Switch to gettext copyright.
10341         Use ANSI definitions and prototypes.
10342         Use gl_* locking primitives rather than __libc_* ones.
10343         Use __builtin_expect rather than __glibc_likely/unlikely.
10344         * intl/dcgettext.c: Switch to gettext copyright.
10345         Use ANSI definitions and prototypes.
10346         * intl/dcigettext.c: Switch to gettext copyright.
10347         Use ANSI definitions and prototypes.
10348         (INTDIV0_RAISES_SIGFPE): New define.
10349         Use gl_* locking primitives rather than __libc_* ones.
10350         Include eval-plural.h instead of plural-eval.c.
10351         Use __builtin_expect rather than __glibc_likely/unlikely.
10352         * intl/dcngettext.c: Switch to gettext copyright.
10353         Use ANSI definitions and prototypes.
10354         * intl/dgettext.c: Likewise.
10355         * intl/dngettext.c: Likewise.
10356         * intl/plural-eval.c: Renamed to...
10357         * intl/eval-plural.h: ...this.
10358         * intl/explodename.c: Switch to gettext copyright.
10359         Use ANSI definitions and prototypes.
10360         (_nl_explode_name): Use strchr instead of __rawmemchr.
10361         * intl/finddomain.c: Switch to gettext copyright.
10362         Use ANSI definitions and prototypes.
10363         Use gl_* locking primitives rather than __libc_* ones.
10364         (_nl_find_domain): Use malloc rather than alloca for
10365         allocation of temporary locale name.
10366         * intl/gettext.c: Switch to gettext copyright.
10367         Use ANSI definitions and prototypes.
10368         * intl/gettextP.h: Switch to gettext copyright.
10369         Use ANSI definitions and prototypes.
10370         Use gl_* locking primitives rather than __libc_* ones.
10371         * intl/gmo.h: Switch to gettext copyright.
10372         (struct sysdep_string): Move struct segment_pair outside of
10373         struct definition.
10374         * intl/hash-string.c: Use ANSI definitions and prototypes.
10375         * intl/hash-string.h: Switch to gettext copyright.
10376         Use ANSI definitions and prototypes.
10377         * intl/l10nflist.c: Switch to gettext copyright.
10378         Use ANSI definitions and prototypes.
10379         (_nl_normalize_codeset): Avoid integer overflow.
10380         * intl/loadinfo.h: Switch to gettext copyright.
10381         Use ANSI definitions and prototypes.
10382         (LIBINTL_DLL_EXPORTED): New define.
10383         (PATH_SEPARATOR): New define.
10384         * intl/loadmsgcat.c: Switch to gettext copyright.
10385         * intl/localealias.c: Switch to gettext copyright.
10386         Use ANSI definitions and prototypes.
10387         (_nl_expand_alias): Use PATH_SEPARATOR.
10388         * intl/ngettext.c: Switch to gettext copyright.
10389         Use ANSI definitions and prototypes.
10390         * intl/plural-exp.c: Likewise.
10391         * intl/plural-exp.h: Switch to gettext copyright.
10392         Use ANSI definitions and prototypes.
10393         (struct expression): Move definition of enum operator outside
10394         of struct definition.
10395         * intl/plural.c: Regenerate.
10396         * intl/plural.y: Switch to gettext copyright.
10397         Use ANSI definitions and prototypes.
10398         Port to bison 3.0.
10399         * intl/textdomain.c: Switch to gettext copyright.
10400         Use ANSI definitions and prototypes.
10401         Use gl_* locking primitives rather than __libc_* ones.
10403 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10405         * debug/warning-nop.c: Add used atrribute.
10407 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10409         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10411         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10412         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10413         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10415 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10416             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10418         [BZ #17634]
10419         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10420         Undefine after defining function.  Define as weak alias of
10421         __wcschr.  Use libc_hidden_weak.
10422         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10423         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10424         (libc_hidden_def): Also define __GI___wcschr alias.
10425         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10426         __wcschr and define as weak alias of __wcschr.
10427         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10428         __wcschr.
10429         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10430         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10431         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10432         libc_hidden_weak.  Do not use libc_hidden_def.
10433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10434         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10435         __GI___wcschr alias.
10436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10437         [IS_IN (libc)] (wcschr): Define as macro expanding to
10438         __redirect_wcschr.
10439         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10440         [IS_IN (libc)] (__wcschr_power6): Likewise.
10441         [IS_IN (libc)] (__wcschr_power7): Likewise.
10442         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10443         instead of wcschr.
10444         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10445         __libc_wcschr.
10446         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10447         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10448         __wcschr and define as weak alias of __wcschr.  Use
10449         libc_hidden_builtin_def.
10450         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10451         as weak alias of __wcschr.  Use libc_hidden_weak.
10452         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10453         wcschr.
10454         * time/era.c (_nl_init_era_entries): Likewise.
10455         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10456         variable.
10457         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10458         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10460 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10462         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10463         format for long int variable.
10465 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10467         [BZ #10672]
10468         * manual/search.texi: (Array Sort Function): Remove claim how to make
10469         qsort stable.
10471 2014-12-10  Andreas Schwab  <schwab@suse.de>
10473         [BZ #12847]
10474         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10475         user-controlled locks.
10477 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10479         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10480         register.
10482 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10484         * configure.ac (--disable-werror): New configure option.
10485         (enable_werror): New AC_SUBST.
10486         * configure: Regenerated.
10487         * config.make.in (enable-werror): New variable.
10488         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10489         -Wno-error=undef.
10490         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10491         * manual/install.texi (Configuring and compiling): Document
10492         --disable-werror.
10493         * INSTALL: Regenerated.
10494         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10495         (CFLAGS-tst-chk2.c): Likewise.
10496         (CFLAGS-tst-chk3.c): Likewise.
10497         (CFLAGS-tst-chk4.cc): Likewise.
10498         (CFLAGS-tst-chk5.cc): Likewise.
10499         (CFLAGS-tst-chk6.cc): Likewise.
10500         (CFLAGS-tst-lfschk1.c): Likewise.
10501         (CFLAGS-tst-lfschk2.c): Likewise.
10502         (CFLAGS-tst-lfschk3.c): Likewise.
10503         (CFLAGS-tst-lfschk4.cc): Likewise.
10504         (CFLAGS-tst-lfschk5.cc): Likewise.
10505         (CFLAGS-tst-lfschk6.cc): Likewise.
10507         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10508         (main): Disable -Wdeprecated-declarations around calls to
10509         register_printf_function.
10511         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10512         (do_test): Disable -Wdiv-by-zero around some calls to
10513         fwrite_unlocked and fread_unlocked.
10515         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10516         (DIAG_POP_NEEDS_COMMENT): Likewise.
10517         (_DIAG_STR1): Likewise.
10518         (_DIAG_STR): Likewise.
10519         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10520         * stdio-common/bug21.c: Include <libc-internal.h>.
10521         (do_test): Disable -Wformat around call to sscanf.
10522         * stdio-common/scanf14.c: Include <libc-internal.h>.
10523         (main): Disable -Wformat around some calls to scanf functions.
10525 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10527         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10529 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10531         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10532         stack variable alignment.
10534 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10536         [BZ #17682]
10537         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10538         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10539         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10540         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10541         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10542         __getrlimit instead of getrlimit.
10543         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10544         __gettimeofday instead of gettimeofday.
10545         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10546         Likewise.
10547         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10548         Likewise.
10549         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10550         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10551         Remove variable.
10552         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10553         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10555 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10557         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10558         for wide-character tests.
10560 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10562         * io/openat64.c: #include <libc-internal.h>
10563         (__openat64): Prototypify.  Use ignore_value on MODE.
10564         * io/openat.c: Likewise.
10565         * misc/reboot.c: #include <libc-internal.h>
10566         (reboot): Prototypify.  Use ignore_value on HOWTO.
10567         * misc/ptrace.c: #include <libc-internal.h>
10568         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10570 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10572         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10573         XPG4, UNIX98 and XOPEN2K.
10574         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10575         Remove variable.
10576         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10578 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10580         * libio/fileops.c: Use ISO C style for function definitions.
10581         * libio/iofopen.c: Likewise.
10582         * libio/wfileops.c: Likewise.
10584         [BZ #17653]
10585         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10586         offset on EOF.
10587         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10588         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10589         (fgets_func): Function pointer to fgets and fgetws.
10590         (do_ftell_test): Add test to verify ftell value after read
10591         EOF.
10592         (do_test): Set fgets_func.
10594         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10595         O_TRUNC flag for w and w+ modes.
10596         (do_rewind_test): Likewise.
10597         (do_ftell_test): Likewise.
10598         (do_write_test): Likewise.
10600         [BZ #17647]
10601         * libio/fileops.c (do_ftell): Seek only when there are
10602         unflushed writes.
10603         * libio/wfileops.c (do_ftell_wide): Likewise.
10604         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10605         test case.
10606         (do_one_test): Call it.
10608 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10610         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10611         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10612         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10613         Remove variable.
10614         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10615         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10616         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10618 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10620         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10621         Remove variable.
10622         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10624         [BZ #17668]
10625         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10626         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10627         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10628         __freeifaddrs.  Use libc_hidden_weak.
10629         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10630         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10631         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10632         __freeifaddrs.  Use libc_hidden_weak.
10633         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10634         __getifaddrs and define as weak alias of __getifaddrs.  Use
10635         libc_hidden_weak.
10636         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10637         __freeifaddrs.  Use libc_hidden_weak.
10638         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10639         Remove variable.
10640         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10641         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10643 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10645         [BZ #17601]
10646         * sysdeps/mips/start.S (__start): Use indirect jump to call
10647         __libc_start_main.
10649 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10651         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10653         * nptl/tst-mutex1.c: Include <stdbool.h>.
10654         [!ATTR] (ATTR_NULL): New macro.
10655         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10656         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10657         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10659         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10660         to char *.
10662         [BZ #17665]
10663         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10664         Change conditional to [__USE_MISC].
10666         [BZ #17664]
10667         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10668         fgets_unlocked.
10669         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10670         __fgets_unlocked.
10671         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10672         fgets_unlocked.
10673         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10674         Remove variable.
10675         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10676         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10677         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10678         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10679         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10680         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10681         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10682         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10683         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10685         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10687 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10689         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10690         Remove strpbrk objects.
10691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10692         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10693         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10694         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10695         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10696         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10698         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10699         Remove strcspn objects.
10700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10701         (__libc_ifunc_impl_list): Remove strcspn implementation.
10702         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10703         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10704         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10705         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10707         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10708         Remove strspn objetcs.
10709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10710         (__libc_ifunc_impl_list): Remove strspn implementation.
10711         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10712         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10713         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10714         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10716 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10718         [BZ #17581]
10719         * malloc/hooks.c
10720         (mem2mem_check): Add a terminator to the chain of checking blocks.
10721         (malloc_check_get_size): Use it here.
10722         (mem2chunk_check): Ditto.
10724 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10726         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10727         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10729 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10731         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10733         * nptl/nptl-init.c: Include libc-internal.h.
10734         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10736         * elf/ldconfig.c (search_dir): Expand comment.
10738 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10740         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10741         variable.
10742         (linknamespace-symlist-stdlibs-tests): Likewise.
10743         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10744         instead of $(objpfx)symlist-stdlibs.
10745         (linknamespace-libs-isoc): New variable.
10746         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10747         (linknamespace-libs-ISO): New variable.
10748         (linknamespace-libs-ISO99): Likewise.
10749         (linknamespace-libs-ISO11): Likewise.
10750         (linknamespace-libs-XPG3): Likewise.
10751         (linknamespace-libs-XPG4): Likewise.
10752         (linknamespace-libs-POSIX): Likewise.
10753         (linknamespace-libs-UNIX98): Likewise.
10754         (linknamespace-libs-XOPEN2K): Likewise.
10755         (linknamespace-libs-POSIX2008): Likewise.
10756         (linknamespace-libs-XOPEN2K8): Likewise.
10757         ($(objpfx)symlist-stdlibs): Replace by
10758         $(linknamespace-symlist-stdlibs-tests).  Use
10759         $(linknamespace-libs-$*) as set of libraries.
10760         ($(linknamespace-header-tests)): Update dependencies.  Use
10761         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10762         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10763         * conform/linknamespace.pl: Remove comment about considering
10764         definitions of symbols from irrelevant libraries.
10766 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10768         [BZ #13862]
10769         * elf/dl-tls.c: Include <atomic.h>.
10770         (oom): Remove #ifdef SHARED/#endif.
10771         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10772         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10773         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10774         big enough.
10775         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10776         * nptl/Makefile (tests): Add tst-stack4.
10777         (modules-names): Add tst-stack4mod.
10778         ($(objpfx)tst-stack4): New.
10779         (tst-stack4mod.sos): Likewise.
10780         ($(objpfx)tst-stack4.out): Likewise.
10781         ($(tst-stack4mod.sos)): Likewise.
10782         (clean): Likewise.
10783         * nptl/tst-stack4.c: New file.
10784         * nptl/tst-stack4mod.c: Likewise.
10786 2014-11-27  J. Brown  <jb999@gmx.de>
10788         * sysdeps/x86/bits/string.h: Add recent CPUs.
10790 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10792         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10793         sigblock.
10795         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10796         feof.
10798         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10799         variable.
10801 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10803         * nscd/connections.c: Include libc-internal.h because of macro
10804         usage ignore_value.
10806 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10808         * string/bits/string3.h (__warn_memset_zero_len): Don't
10809         declare for gcc newer than 5.0.
10810         (memset): Don't test for zero-length __LEN for gcc newer than
10811         5.0.
10813 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10815         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10816         size_t for %zu format.
10818         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10819         difference, not %ju.
10821 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10823         * include/libc-internal.h (ignore_value): New macro.
10824         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10825         with ignore_value.
10827         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10828         definition.
10830         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10831         pthread_cleanup_push to void *.
10833         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10834         Undefine.
10836         [BZ #16619]
10837         [BZ #16740]
10838         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10839         instead of 1L << 52.
10841         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10842         * libio/bug-rewind2.c (do_test): Likewise.
10844         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10845         * debug/test-strcpy_chk-ifunc.c: Likewise.
10846         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10847         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10848         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10849         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10850         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10851         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10852         * Rules [$(multi-arch) = no] (tests): Do not filter out
10853         $(tests-ifunc).
10854         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10855         * debug/Makefile (tests-ifunc): Remove variable.
10856         (tests): Do not add $(tests-ifunc).
10857         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10858         (tests): Do not add $(tests-ifunc).
10859         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10860         [TEST_IFUNC]: Remove conditionals.
10861         * string/test-string.h (TEST_IFUNC): Remove macro.
10862         [TEST_IFUNC]: Remove conditionals.
10864         * string/test-strchr.c [!WIDE] (L): New macro.
10865         [WIDE] (L): Likewise.
10866         (check1): Use CHAR instead of char.  Use L on string and character
10867         constants.
10869 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10871         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10872         tests.
10873         * sysdeps/powerpc/bits/atomic.h
10874         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10875         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10876         (atomic_exchange_and_add_acq): Likewise.
10877         (atomic_exchange_and_add_rel): Likewise.
10878         * sysdeps/powerpc/powerpc32/bits/atomic.h
10879         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10880         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10881         * sysdeps/powerpc/powerpc64/bits/atomic.h
10882         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10883         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10885 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10887         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10888         Change synchronization of __sched_fifo_min_prio and
10889         __sched_fifo_max_prio.
10890         * nptl/pthread_mutexattr_getprioceiling.c
10891         (pthread_mutexattr_getprioceiling): Likewise.
10892         * nptl/pthread_mutexattr_setprioceiling.c
10893         (pthread_mutexattr_setprioceiling): Likewise.
10894         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10895         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10896         Likewise.
10898 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10900         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10901         void.
10903 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10905         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10906         third argument const.
10908 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10910         fnmatch: work around GCC compiler warning bug with uninit var
10911         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10912         This works around a bug with x86-64 GCC 4.9.2 and earlier
10913         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10914         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10915         used uninitialized in this function [-Wmaybe-uninitialized]".
10917 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10919         * posix/bug-regex31.c (main): Return RES not 0.
10921 2014-11-25  Anton Blanchard <anton@samba.org>
10923         * sysdeps/powerpc/bits/atomic.h
10924         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10926 2014-11-24  Sterling Augustine  <saugustine@google.com>
10928         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10930 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10932         [BZ #17608]
10933         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10935 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10937         [BZ #17633]
10938         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10939         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10940         variable.
10941         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10942         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10944 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10946         * string/strncpy.c (strncpy): Improve performance by using memset.
10948 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10950         * string/strcpy.c (strcpy):
10951         Improve performance by using strlen and memcpy.
10953 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10955         * string/strcoll_l.c (get_next_seq): __always_inline.
10956         * string/strcoll_l.c (do_compare): __always_inline.
10958 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10960         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10961         defined.
10962         * include/mqueue.h: Likewise.
10963         * include/stdlib.h: Likewise.
10965         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10966         (get_null_defines): Adjust.
10967         * sunrpc/Makefile: Adjust comment.
10968         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10969         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10970         (CFLAGS-interp.c): Likewise.
10971         (CFLAGS-ldconfig.c): Likewise.
10972         (CPPFLAGS-.os): Likewise.
10973         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10974         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10975         * extra-modules.mk (extra-modules.mk): Likewise.
10976         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10977         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10978         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10979         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10980         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10981         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10982         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10983         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10984         * iconvdata/Makefile (CPPFLAGS): Likewise.
10985         (cpp-srcs-left): Add libof for all iconvdata routines.
10986         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10987         * include/assert.h: Likewise.
10988         * include/ctype.h: Likewise.
10989         * include/errno.h: Likewise.
10990         * include/libc-symbols.h: Likewise.
10991         * include/math.h: Likewise.
10992         * include/netdb.h: Likewise.
10993         * include/resolv.h: Likewise.
10994         * include/stdio.h: Likewise.
10995         * include/stdlib.h: Likewise.
10996         * include/string.h: Likewise.
10997         * include/sys/stat.h: Likewise.
10998         * include/wctype.h: Likewise.
10999         * intl/l10nflist.c: Likewise.
11000         * libidn/idn-stub.c: Likewise.
11001         * libio/libioP.h: Likewise.
11002         * nptl/libc_multiple_threads.c: Likewise.
11003         * nptl/pthreadP.h: Likewise.
11004         * posix/regex_internal.h: Likewise.
11005         * resolv/res_hconf.c: Likewise.
11006         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11007         * sysdeps/arm/memmove.S: Likewise.
11008         * sysdeps/arm/sysdep.h: Likewise.
11009         * sysdeps/generic/_itoa.h: Likewise.
11010         * sysdeps/generic/symbol-hacks.h: Likewise.
11011         * sysdeps/gnu/errlist.awk: Likewise.
11012         * sysdeps/gnu/errlist.c: Likewise.
11013         * sysdeps/i386/i586/memcpy.S: Likewise.
11014         * sysdeps/i386/i586/memset.S: Likewise.
11015         * sysdeps/i386/i686/memcpy.S: Likewise.
11016         * sysdeps/i386/i686/memmove.S: Likewise.
11017         * sysdeps/i386/i686/mempcpy.S: Likewise.
11018         * sysdeps/i386/i686/memset.S: Likewise.
11019         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11020         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11021         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11022         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11023         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11024         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11025         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11026         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11027         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11028         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11029         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11030         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11031         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11032         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11033         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11034         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11035         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11036         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11037         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11038         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11039         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11040         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11041         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11042         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11043         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11044         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11045         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11046         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11047         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11048         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11049         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11050         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11051         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11052         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11053         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11055         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11056         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11057         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11058         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11059         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11060         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11061         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11062         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11063         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11064         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11065         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11066         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11067         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11068         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11069         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11070         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11071         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11072         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11073         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11074         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11075         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11076         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11077         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11078         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11079         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11080         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11081         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11082         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11083         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11084         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11085         * sysdeps/posix/closedir.c: Likewise.
11086         * sysdeps/posix/opendir.c: Likewise.
11087         * sysdeps/posix/readdir.c: Likewise.
11088         * sysdeps/posix/rewinddir.c: Likewise.
11089         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11090         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11091         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11092         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11093         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11094         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11096         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11097         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11098         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11100         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11101         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11102         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11103         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11104         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11105         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11106         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11107         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11109         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11111         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11112         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11113         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11115         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11117         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11124         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11125         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11126         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11127         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11128         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11129         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11130         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11131         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11132         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11133         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11134         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11135         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11136         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11137         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11138         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11139         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11140         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11141         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11142         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11145         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11146         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11147         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11148         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11149         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11150         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11151         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11152         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11153         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11154         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11155         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11156         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11157         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11158         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11159         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11160         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11161         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11162         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11163         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11164         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11165         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11166         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11167         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11168         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11169         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11170         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11171         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11172         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11173         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11174         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11175         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11176         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11177         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11178         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11179         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11180         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11181         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11182         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11183         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11184         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11185         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11187         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11188         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11189         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11190         * sysdeps/unix/alpha/sysdep.S: Likewise.
11191         * sysdeps/unix/alpha/sysdep.h: Likewise.
11192         * sysdeps/unix/make-syscalls.sh: Likewise.
11193         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11195         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11196         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11197         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11198         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11199         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11200         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11201         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11202         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11203         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11204         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11205         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11206         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11207         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11208         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11209         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11210         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11211         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11212         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11213         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11214         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11215         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11216         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11217         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11218         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11219         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11222         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11223         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11224         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11226         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11227         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11228         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11230         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11231         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11232         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11233         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11234         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11235         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11236         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11237         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11240         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11242         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11243         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11244         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11245         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11246         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11247         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11248         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11249         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11250         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11251         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11252         * sysdeps/x86_64/memcpy.S: Likewise.
11253         * sysdeps/x86_64/memmove.c: Likewise.
11254         * sysdeps/x86_64/memset.S: Likewise.
11255         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11256         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11257         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11258         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11259         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11260         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11261         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11262         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11263         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11264         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11265         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11266         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11267         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11268         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11269         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11270         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11271         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11272         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11273         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11274         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11275         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11276         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11277         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11278         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11279         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11280         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11281         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11282         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11283         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11284         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11285         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11286         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11287         * sysdeps/x86_64/strcmp.S: Likewise.
11289         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11291         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11292         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11293         * elf/rtld-Rules: Likewise.
11294         * elf/setup-vdso.h: Likewise.
11295         * include/assert.h: Likewise.
11296         * include/bits/stdlib-float.h: Likewise.
11297         * include/errno.h: Likewise.
11298         * include/sys/stat.h: Likewise.
11299         * include/unistd.h: Likewise.
11300         * sysdeps/aarch64/setjmp.S: Likewise.
11301         * sysdeps/alpha/setjmp.S: Likewise.
11302         * sysdeps/arm/__longjmp.S: Likewise.
11303         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11304         * sysdeps/arm/setjmp.S: Likewise.
11305         * sysdeps/arm/sysdep.h: Likewise.
11306         * sysdeps/generic/_itoa.h: Likewise.
11307         * sysdeps/generic/dl-sysdep.h: Likewise.
11308         * sysdeps/generic/ldsodefs.h: Likewise.
11309         * sysdeps/i386/dl-tls.h: Likewise.
11310         * sysdeps/i386/setjmp.S: Likewise.
11311         * sysdeps/m68k/setjmp.c: Likewise.
11312         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11313         * sysdeps/mach/hurd/opendir.c: Likewise.
11314         * sysdeps/posix/getcwd.c: Likewise.
11315         * sysdeps/posix/opendir.c: Likewise.
11316         * sysdeps/posix/profil.c: Likewise.
11317         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11318         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11319         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11320         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11321         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11322         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11323         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11324         * sysdeps/s390/dl-tls.h: Likewise.
11325         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11326         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11327         * sysdeps/sh/sh3/setjmp.S: Likewise.
11328         * sysdeps/sh/sh4/setjmp.S: Likewise.
11329         * sysdeps/unix/alpha/sysdep.h: Likewise.
11330         * sysdeps/unix/arm/sysdep.S: Likewise.
11331         * sysdeps/unix/i386/sysdep.S: Likewise.
11332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11333         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11334         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11335         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11336         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11337         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11338         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11339         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11340         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11341         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11342         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11343         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11344         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11349         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11350         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11351         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11352         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11355         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11356         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11357         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11359         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11360         * sysdeps/x86_64/setjmp.S: Likewise.
11362         * include/math.h: Use IS_IN instead of IS_IN_libm.
11363         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11364         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11365         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11366         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11367         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11368         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11369         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11370         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11371         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11372         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11373         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11374         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11375         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11376         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11377         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11378         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11379         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11380         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11381         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11382         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11383         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11384         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11385         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11386         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11387         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11388         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11389         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11390         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11391         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11392         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11393         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11394         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11395         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11397         Likewise.
11398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11399         Likewise.
11400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11401         Likewise.
11402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11403         Likewise.
11404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11405         Likewise.
11406         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11407         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11408         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11409         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11410         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11411         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11417         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11418         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11419         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11420         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11421         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11422         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11423         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11424         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11425         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11426         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11427         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11428         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11429         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11430         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11432         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11434         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11435         * nptl/pthreadP.h: Likewise.
11436         * nptl_db/structs.def: Likewise.
11437         * sysdeps/arm/sysdep.h: Likewise.
11438         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11439         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11440         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11441         * sysdeps/unix/alpha/sysdep.h: Likewise.
11442         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11443         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11444         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11445         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11446         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11447         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11449         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11450         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11451         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11452         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11453         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11454         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11455         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11460         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11462         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11463         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11464         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11465         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11466         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11467         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11469         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11470         * nptl/pthreadP.h: Likewise.
11471         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11472         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11473         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11474         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11475         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11476         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11477         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11478         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11479         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11480         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11481         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11482         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11484         Likewise.
11485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11486         Likewise.
11487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11489         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11491         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11492         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11493         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11494         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11496         * dlfcn/dladdr.c: Use IS_IN.
11497         * dlfcn/dladdr1.c: Likewise.
11498         * dlfcn/dlclose.c: Likewise.
11499         * dlfcn/dlerror.c: Likewise.
11500         * dlfcn/dlinfo.c: Likewise.
11501         * dlfcn/dlmopen.c: Likewise.
11502         * dlfcn/dlopen.c: Likewise.
11503         * dlfcn/dlsym.c: Likewise.
11504         * dlfcn/dlvsym.c: Likewise.
11506         * include/ifaddrs.h: Use IS_IN.
11507         * inet/check_pf.c: Likewise.
11508         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11509         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11511         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11512         IS_IN_ldconfig.
11513         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11514         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11516         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11517         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11518         IS_IN (libc).
11520         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11522         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11523         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11524         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11525         * include/libc-symbols.h (IS_IN_LIB): New macro.
11526         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11527         * include/netdb.h: Likewise.
11528         * include/stap-probe.h: Remove all uses of IN_LIB.
11530         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11531         instead of IN_MODULE.
11532         * include/libc-symbols.h (IN_MODULE): Define using
11533         MODULE_NAME.
11534         (PASTE_NAME, PASTE_NAME1): New macros.
11535         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11536         of IN_LIB.
11537         (STAP_PROBE_ASM): Likewise.
11539 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11541         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11542         __mach_init in dlopened libc.
11544 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11546         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11547         * sysdeps/arm/preconfigure: Regenerate.
11549 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11551         * nptl/pthread_create.c (__pthread_create_2_1): Set
11552         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11553         when copying values from IATTR into PD.
11555 2014-11-21  Will Newton  <will.newton@linaro.org>
11556             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11558         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11559         Refactor inline-asm.  Also add comment.
11561         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11562         ElfW macro instead of hardcoded Elf64 types.
11563         (la_aarch64_gnu_pltenter): Likewise.
11564         * sysdeps/aarch64/dl-machine.h
11565         (elf_machine_runtime_setup): Use ElfW(Addr).
11567         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11568         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11569         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11570         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11571         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11572         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11573         (R_AARCH64_TLS_DTPMOD): This.
11574         (R_AARCH64_TLS_DTPREL64): Rename to ...
11575         (R_AARCH64_TLS_DTPREL): This.
11576         (R_AARCH64_TLS_TPREL64): Rename to ...
11577         (R_AARCH64_TLS_TPREL): This.
11578         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11579         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11580         R_AARCH64_TLS_TPREL64.
11581         (elf_machine_rela): Likewise.
11583 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11585         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11586         by setting it to 0.  64b atomics are not supported currently.
11588 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11590         [BZ #16469]
11591         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11592         search domain names.
11594 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11596         [BZ #16469]
11597         * NEWS: Update.
11598         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11599         trailing dot.
11600         * posix/tst-getaddrinfo5.c: New.
11601         * posix/Makefile (tests): Add it.
11603 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11605         [BZ #14498]
11606         * NEWS: Fixed.
11607         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11608         after parsing line but before break_if_match.
11609         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11610         if there is a protocol mismatch.
11612 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11614         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11615         because the potential race is on the user-supplied stream.
11617 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11619         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11620         string literal if not passed a buffer.
11621         * manual/job.texi (ctermid): Update reasoning, note deviation
11622         from posix, suggest mtasurace when not passed a buffer, for
11623         future non-preliminary safety notes.
11625 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11627         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11628         of not passing it a buffer.
11629         Reported by Peng Haitao.
11631 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11633         * manual/Makefile ($(objpfx)stamp-summary): Require
11634         check-safety.sh to pass.
11635         * manual/check-safety.sh: Wish for verification that every
11636         @deftypefn and @deftypefun is followed by a @safety remark.
11638 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11640         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11642         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11643         PTHREAD_CANCEL_ASYNCHRONOUS.
11644         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11645         send SIGCANCEL.
11647         * nptl/default-sched.h: New file.
11648         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11649         * nptl/pthread_create.c: Include it.
11650         (__pthread_create_2_1): Use collect_default_sched instead of making
11651         Linux syscalls here directly.
11653 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11655         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11656         __pthread_once): Use C11 atomics.
11658 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11660         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11662 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11664         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11665         atomic_thread_fence_acquire, atomic_thread_fence_release,
11666         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11667         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11668         atomic_compare_exchange_weak_relaxed,
11669         atomic_compare_exchange_weak_acquire,
11670         atomic_compare_exchange_weak_release,
11671         atomic_exchange_acquire, atomic_exchange_release,
11672         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11673         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11674         atomic_fetch_and_acquire,
11675         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11677 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11679         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11680         USE_ATOMIC_COMPILER_BUILTINS): Define.
11681         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11682         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11683         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11684         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11685         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11686         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11687         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11688         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11689         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11690         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11691         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11692         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11693         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11694         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11695         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11696         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11697         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11699         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11701         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11703         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11705         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11707         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11709         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11711         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11713         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11715         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11716         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11717         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11719         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11722 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11724         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11725         the sched_priority value here.  It was already checked when the user
11726         called pthread_attr_setschedparam.
11728         * nptl/tst-bad-schedattr.c: New file.
11729         * nptl/Makefile (tests): Add it.
11731 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11732             Florian Weimer  <fweimer@redhat.com>
11733             Joseph Myers  <joseph@codesourcery.com>
11734             Adam Conrad  <adconrad@0c3.net>
11735             Andreas Schwab  <schwab@suse.de>
11736             Brooks  <bmoses@google.com>
11738         [BZ #17625]
11739         * wordexp-test.c (__dso_handle): Add prototype.
11740         (__register_atfork): Likewise.
11741         (__app_register_atfork): New function.
11742         (registered_forks): New global.
11743         (register_fork): New function.
11744         (test_case): Add 3 new tests for WRDE_CMDSUB.
11745         (main): Call __app_register_atfork.
11746         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11747         fork count is non-zero fail the test.
11748         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11749         is set.
11750         (parse_dollars): Remove check for WRDE_NOCMD.
11751         (parse_dquote): Likewise.
11753 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11755         * Makeconfig (built-modules): List non-library modules to be
11756         built.
11757         (module-cppflags): Include libc-modules.h for
11758         everything except shlib-versions.v.i.
11759         (CPPFLAGS): Use it.
11760         (before-compile): Add libc-modules.h.
11761         ($(common-objpfx)libc-modules.h,
11762         $(common-objpfx)libc-modules.stmp): New targets.
11763         (common-generated): Add libc-modules.h and libc-modules.stmp.
11764         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11765         * include/libc-symbols.h: Don't include libc-modules.h.
11766         * include/libc-modules.h: Remove file.
11767         * scripts/gen-libc-modules.awk: New script to generate
11768         libc-modules.h.
11769         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11770         Depend on libc-modules.stmp.
11772         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11774         * Makeconfig (in-module): Get value of libof set for the
11775         translation unit.
11776         (CPPFLAGS): Use $(in-module).
11777         * Makerules: Don't suffix routine names for nonlib.
11778         * include/libc-modules.h: New file.
11779         * include/libc-symbols.h: Include libc-modules.h
11780         (IS_IN): New macro to replace IS_IN_* macros.
11781         * elf/Makefile: Set libof-* for each routine.
11782         * elf/rtld-Rules: Likewise.
11783         * extra-modules.mk: Likewise.
11784         * iconv/Makefile: Likewise.
11785         * iconvdata/Makefile: Likewise.
11786         * locale/Makefile: Likewise.
11787         * malloc/Makefile: Likewise.
11788         * nss/Makefile: Likewise.
11789         * sysdeps/gnu/Makefile: Likewise.
11790         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11791         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11792         * sysdeps/s390/s390-64/Makefile: Likewise.
11793         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11794         CPPFLAGS for nscd instead of nonlib.
11796 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11798         * nptl/createthread.c: New file.
11800         * nptl/createthread.c: Moved ...
11801         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11803         * nptl/createthread.c: Add proper top-line comment.
11804         (do_clone): Folded into ...
11805         (create_thread): ... here.  Take new arguments STOPPED_START and
11806         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11807         increment __nptl_threads, do event-reporting logic, do
11808         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11809         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11810         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11811         just send SIGCANCEL.
11812         * nptl/pthread_create.c: Forward-declare create_thread before
11813         including createthread.c.
11814         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11815         declaration, and new macro START_THREAD_SELF to replace argument.
11816         Remove return statement.
11817         (report_thread_creation): New function.
11818         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11819         synchronization logic, and __nptl_nthreads increment here, around
11820         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11821         PD->parent_cancelhandling here, before create_thread.  When
11822         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11823         __deallocate_stack, and ENOMEM translation here.
11825 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11827         [BZ #17616]
11828         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11829         (mptwo): Rename to __mptwo.
11830         (__inv): Use __mptwo instead of mptwo.
11831         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11832         (mptwo): Rename to __mptwo.
11833         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11834         of mpone and __mptwo instead of mptwo.
11835         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11836         instead of mpone.
11837         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11838         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11839         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11840         of mpone and __mptwo instead of mptwo.
11841         (__mpranred): Use __mpone instead of mpone.
11842         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11843         variable.
11844         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11845         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11846         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11847         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11848         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11849         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11850         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11851         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11852         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11853         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11854         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11855         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11856         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11857         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11858         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11859         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11860         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11861         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11862         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11864 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11866         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11867         replace BSD Handler xref with BSD Signal Handling.
11869 2014-11-17  Richard Henderson  <rth@redhat.com>
11871         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11872         (_FP_PACK_RAW_2): Remove.
11873         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11874         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11875         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11876         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11877         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11878         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11879         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11880         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11881         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11882         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11883         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11884         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11885         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11886         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11887         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11888         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11890 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11892         * signal/signal.h [__USE_MISC]
11893         (struct sigvec): Remove type.
11894         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11895         (sigvec): Remove declaration.
11896         * sysdeps/posix/sigvec.c: Moved ...
11897         * signal/sigvec.c: ... here, replacing old file.
11898         (struct sigvec): New type, copied from old signal.h definition.
11899         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11900         (__sigvec): Convert definition to prototype.
11901         (sigvec): Replace weak_alias with compat_symbol.
11902         * signal/Versions (libc: GLIBC_2.21): New version set.
11903         * include/signal.h: Remove __sigvec declaration.
11904         * sysdeps/unix/bsd/sigvec.c: Remove file.
11905         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11906         * manual/signal.texi (BSD Handler): Remove subsection.
11907         Move siginterrupt up to ...
11908         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11909         (Blocking in BSD): Fold subsection into its parent.
11910         * NEWS: Mention sigvec removal.
11912 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11914         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11915         (DLA_FMS): Make definition conditional only on [__FMA4__].
11916         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11917         definition.
11919         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11920         Make definition conditional only on [PROF].
11921         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11922         definition.
11923         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11924         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11926         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11927         !__GNUC__].
11928         * include/signal.h (__sigpause): Move declaration above call to
11929         libc_hidden_proto.
11930         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11931         variable.
11932         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11933         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11935 2014-11-14  David S. Miller  <davem@davemloft.net>
11937         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11938         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11940 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11942         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11943         * configure: Regenerated.
11944         * manual/install.texi (Tools for Compilation): Document a
11945         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11946         compiler verified to work.
11947         * INSTALL: Regenerated.
11949         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11950         redeclare with asm name.
11951         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11952         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11953         including <string.h>.
11954         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11955         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11956         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11957         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11958         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11959         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11960         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11962 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11964         * stdlib/strtol.c (__strtol): Use prototype definition.
11966         [BZ #17594]
11967         * stdlib/strtol.c (SYM__): New macro.
11968         (SYM__1): Likewise.
11969         (__strtol): Likewise.
11970         (strtol): Rename to __strtol and define as weak alias of
11971         __strtol.  Use libc_hidden_weak.
11973 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11975         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11976         Use numbered labels in inline assembly.
11978 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11980         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11981         Add setjmp LIBC_PROBE.
11982         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11983         Likewise.
11984         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11985         Add longjmp, longjmp_target LIBC_PROBE.
11986         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11987         Likewise.
11989 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11991         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11992         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11993         to get rid of unused variable warning.
11995 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11997         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11998         Check for unwind_backtrace ==  NULL only in SHARED case.
11999         (__backchain_backtrace): Compile only in SHARED case.
12000         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12001         Likewise.
12002         (__backchain_backtrace): Declare as static.
12004 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12006         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12007         (__libc_multiple_threads_ptr): Variable moved ...
12008         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12010 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12012         * conform/GlibcConform.pm: New file.
12013         * conform/conformtest.pl: Use GlibcConform module.
12014         * conform/linknamespace.pl: New file.
12015         * conform/list-header-symbols.pl: Likewise.
12016         * conform/Makefile (linknamespace-symlists-base): New variable.
12017         (linknamespace-symlists-tests): Likewise.
12018         (linknamespace-header-base): Likewise.
12019         (linknamespace-header-tests): Likewise.
12020         (tests-special): Add new tests.
12021         ($(linknamespace-symlists-tests)): New rule.
12022         (linknamespace-libs): New variable.
12023         ($(objpfx)symlist-stdlibs): New rule.
12024         ($(linknamespace-header-tests)): Likewise.
12025         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12026         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12027         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12028         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12029         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12030         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12031         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12032         (test-xfail-ISO/math.h/linknamespace): Likewise.
12033         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12034         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12035         (test-xfail-ISO/time.h/linknamespace): Likewise.
12036         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12037         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12038         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12039         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12040         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12041         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12042         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12043         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12044         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12045         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12046         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12047         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12048         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12049         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12050         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12051         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12052         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12053         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12054         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12055         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12056         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12057         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12058         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12059         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12060         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12061         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12062         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12063         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12064         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12065         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12066         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12067         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12068         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12069         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12070         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12071         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12072         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12073         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12074         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12075         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12076         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12077         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12078         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12079         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12080         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12081         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12082         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12083         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12084         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12085         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12086         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12087         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12088         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12089         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12090         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12091         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12092         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12093         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12094         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12095         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12096         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12097         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12098         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12099         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12100         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12101         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12102         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12103         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12104         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12105         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12106         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12107         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12108         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12109         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12110         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12111         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12112         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12113         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12114         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12115         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12116         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12117         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12118         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12119         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12120         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12121         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12122         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12123         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12124         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12125         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12126         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12127         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12128         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12129         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12130         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12131         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12132         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12133         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12134         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12135         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12136         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12137         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12138         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12139         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12140         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12141         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12142         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12143         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12144         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12145         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12146         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12147         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12148         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12149         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12150         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12151         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12152         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12153         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12154         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12155         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12156         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12157         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12158         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12159         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12160         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12161         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12162         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12163         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12164         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12165         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12166         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12167         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12168         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12169         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12170         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12171         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12172         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12173         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12174         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12175         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12176         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12177         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12178         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12179         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12180         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12181         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12182         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12183         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12184         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12185         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12187         [BZ #17589]
12188         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12189         of fgets_unlocked.
12191         [BZ #17585]
12192         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12193         (memmem): Rename to __memmem and define as weak alias of
12194         __memmem.  Use libc_hidden_weak.
12195         (__memmem): Use libc_hidden_def.
12196         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12197         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12198         memmem.
12200         [BZ #17582]
12201         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12202         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12203         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12204         and define as weak alias of __fgets_unlocked.  Use
12205         libc_hidden_weak.
12206         (__fgets_unlocked): Use libc_hidden_def.
12207         * include/stdio.h (__fgets_unlocked): Declare.  Use
12208         libc_hidden_proto.
12209         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12210         __fgets_unlocked instead of fgets_unlocked.
12211         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12212         (GET_NPROCS_CONF_PARSER): Likewise.
12213         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12214         (GET_NPROCS_CONF_PARSER): Likewise.
12216         [BZ #17574]
12217         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12218         weak alias of __wmemset.  Use libc_hidden_weak.
12219         (__wmemset): Use libc_hidden_def.
12220         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12221         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12222         of wmemset.
12224         [BZ #17573]
12225         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12226         with asm name __mempcpy.
12227         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12229         [BZ #17572]
12230         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12231         and define as weak alias of __rawmemchr.
12232         (__rawmemchr): Do not define as strong alias of rawmemchr.
12234         [BZ #17571]
12235         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12236         alias of __qsort_r.
12237         (qsort): Call __qsort_r instead of qsort_r.
12238         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12239         (__qsort_r): Declare.  Call libc_hidden_proto.
12240         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12241         instead of qsort_r.
12242         * nscd/gai.c (__qsort_r): Define to qsort_r.
12243         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12244         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12245         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12247         [BZ #17570]
12248         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12249         define as weak alias of __malloc_info.
12251         [BZ #17584]
12252         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12253         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12254         (__rewinddir): Use libc_hidden_def.
12255         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12256         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12257         (__rewinddir): Use libc_hidden_def.
12258         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12259         weak alias of __rewinddir.  Don't use libc_hidden_def.
12260         (__rewinddir): Use libc_hidden_def.
12261         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12262         (__rewinddir): Use libc_hidden_proto.
12263         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12264         rewinddir.
12265         (__getcwd): Use __rewinddir instead of rewinddir.
12267         [BZ #17583]
12268         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12269         alias of __fileno.  Use libc_hidden_weak.
12270         (__fileno): Use libc_hidden_def.
12271         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12272         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12273         alias of __ftello.
12274         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12275         __ftello.
12276         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12277         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12278         libc_hidden_def.
12279         (fread_unlocked): Don't use libc_hidden_ver.
12280         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12281         and define as weak alias of __fread_unlocked.  Don't use
12282         libc_hidden_def.
12283         (__fread_unlocked): Use libc_hidden_def.
12284         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12285         (ftello): Don't use libc_hidden_proto.
12286         (__ftello): Declare.  Use libc_hidden_proto.
12287         (fread_unlocked): Don't use libc_hidden_proto.
12288         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12289         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12290         and __ftello instead of fileno, fread_unlocked and ftello.
12292 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12294         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12295         GOT12.
12296         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12297         Likewise.
12298         (_dl_start_user): Likewise.
12299         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12301 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12302             Siddhesh Poyarekar  <siddhesh@redhat.com>
12304         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12305         Move argv and envp down instead of moving argc up.
12306         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12308 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12310         [BZ #17506]
12311         * test-skeleton.c (main): Return successful if one of
12312         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12313         * string/tst-strcoll-overflow.c: Define expected status.
12315 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12317         [BZ #17475]
12318         * locale/iso-639.def: Define Bhili and Tulu language codes.
12320 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12322         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12324 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12326         [BZ #17555]
12327         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12329 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12331         * configure.ac: Updated check of minimal required version to
12332         2.22.
12333         * manual/install.texi (Tools for Compilation): Updated version
12334         number.
12335         * configure: Regenerated.
12336         * INSTALL: Likewise.
12338 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12340         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12341         __tls_get_addr.
12343 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12345         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12346         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12347         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12348         libc_hidden_weak.
12349         (waitpid): Define as alias of __waitpid.
12350         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12351         __waitpid.
12352         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12353         libc_hidden_weak.
12354         (waitpid): Define as alias of __waitpid.
12355         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12356         __libc_waitpid alias.
12357         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12358         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12359         Likewise.
12360         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12361         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12362         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12363         alias.
12364         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12365         __waitpid.
12366         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12367         libc_hidden_weak.
12368         (waitpid): Define as alias of __waitpid.
12370 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12372         * manual/llio.texi: Add comment that write safety has been
12373         fixed in Linux.
12375         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12376         (localplt-build-dso): Add elf/ld.so.
12377         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12378         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12379         and free for ld.so.
12380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12381         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12383         Likewise.
12384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12385         Likewise.
12386         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12387         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12388         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12389         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12390         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12391         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12392         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12393         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12394         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12395         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12396         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12398 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12400         [BZ #14132]
12401         * include/libc-symbols.h (INTUSE): Remove macro.
12402         (INTDEF): Likewise.
12403         (INTVARDEF): Likewise.
12404         (_INTVARDEF): Likewise.
12405         (INTDEF2): Likewise.
12406         (INTVARDEF2): Likewise.
12407         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12408         rtld_hidden_def instead of INTVARDEF.
12409         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12410         (_dl_starting_up_internal): Remove declaration.
12411         (_dl_starting_up): Use rtld_hidden_proto.
12412         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12413         declaration.
12414         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12415         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12416         _dl_starting_up.
12417         * elf/dl-writev.h (_dl_writev): Likewise.
12418         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12419         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12420         _dl_starting_up_internal.
12422 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12424         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12425         test-skeleton.c.
12427 2014-11-05  Will Newton  <will.newton@linaro.org>
12429         * benchtests/Makefile: (bench-malloc): Add malloc thread
12430         scalability benchmark.
12431         * benchtests/bench-malloc-threads.c: New file.
12433 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12435         * sysdeps/aarch64/strchrnul.S: New file.
12437 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12439         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12440         definition.
12441         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12442         Likwise.
12443         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12444         Likewise.
12445         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12446         Likewise.
12447         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12448         Likewise.
12449         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12450         Likewise.
12452 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12454         * catgets/test-gencat.c: Use test-skeleton.c.
12455         * catgets/tst-catgets.c: Likewise.
12456         * csu/tst-empty.c: Likewise.
12457         * elf/tst-audit2.c: Likewise.
12458         * elf/tst-global1.c: Likewise.
12459         * elf/tst-pathopt.c: Likewise.
12460         * elf/tst-piemod1.c: Likewise.
12461         * elf/tst-tls10.c: Likewise.
12462         * elf/tst-tls11.c: Likewise.
12463         * elf/tst-tls12.c: Likewise.
12464         * gnulib/tst-gcc.c: Likewise.
12465         * iconvdata/tst-e2big.c: Likewise.
12466         * iconvdata/tst-loading.c: Likewise.
12467         * iconv/tst-iconv1.c: Likewise.
12468         * iconv/tst-iconv2.c: Likewise.
12469         * inet/test-inet6_opt.c: Likewise.
12470         * inet/tst-gethnm.c: Likewise.
12471         * inet/tst-network.c: Likewise.
12472         * inet/tst-ntoa.c: Likewise.
12473         * intl/tst-codeset.c: Likewise.
12474         * intl/tst-gettext2.c: Likewise.
12475         * intl/tst-gettext3.c: Likewise.
12476         * intl/tst-ngettext.c: Likewise.
12477         * intl/tst-translit.c: Likewise.
12478         * io/test-stat.c: Likewise.
12479         * libio/test-fmemopen.c: Likewise.
12480         * libio/tst-freopen.c: Likewise.
12481         * libio/tst-sscanf.c: Likewise.
12482         * libio/tst-ungetwc1.c: Likewise.
12483         * libio/tst-ungetwc2.c: Likewise.
12484         * libio/tst-widetext.c: Likewise.
12485         * localedata/tst-ctype.c: Likewise.
12486         * localedata/tst-digits.c: Likewise.
12487         * localedata/tst-leaks.c: Likewise.
12488         * localedata/tst-mbswcs1.c: Likewise.
12489         * localedata/tst-mbswcs2.c: Likewise.
12490         * localedata/tst-mbswcs3.c: Likewise.
12491         * localedata/tst-mbswcs4.c: Likewise.
12492         * localedata/tst-mbswcs5.c: Likewise.
12493         * localedata/tst-setlocale.c: Likewise.
12494         * localedata/tst-trans.c: Likewise.
12495         * localedata/tst-wctype.c: Likewise.
12496         * localedata/tst-xlocale1.c: Likewise.
12497         * login/tst-grantpt.c: Likewise.
12498         * malloc/tst-calloc.c: Likewise.
12499         * malloc/tst-malloc.c: Likewise.
12500         * malloc/tst-mallocstate.c: Likewise.
12501         * malloc/tst-mcheck.c: Likewise.
12502         * malloc/tst-mtrace.c: Likewise.
12503         * malloc/tst-obstack.c: Likewise.
12504         * math/atest-exp2.c: Likewise.
12505         * math/atest-exp.c: Likewise.
12506         * math/atest-sincos.c: Likewise.
12507         * math/test-matherr.c: Likewise.
12508         * math/test-misc.c: Likewise.
12509         * math/test-powl.c: Likewise.
12510         * math/tst-definitions.c: Likewise.
12511         * misc/tst-dirname.c: Likewise.
12512         * misc/tst-efgcvt.c: Likewise.
12513         * misc/tst-fdset.c: Likewise.
12514         * misc/tst-hsearch.c: Likewise.
12515         * misc/tst-mntent2.c: Likewise.
12516         * nptl/tst-sem7.c: Likewise.
12517         * nptl/tst-sem8.c: Likewise.
12518         * nptl/tst-sem9.c: Likewise.
12519         * nss/test-netdb.c: Likewise.
12520         * posix/tst-fnmatch.c: Likewise.
12521         * posix/tst-getlogin.c: Likewise.
12522         * posix/tst-gnuglob.c: Likewise.
12523         * posix/tst-mmap.c: Likewise.
12524         * pwd/tst-getpw.c: Likewise.
12525         * resolv/tst-inet_ntop.c: Likewise.
12526         * rt/tst-timer.c: Likewise.
12527         * stdio-common/test-fseek.c: Likewise.
12528         * stdio-common/test-popen.c: Likewise.
12529         * stdio-common/test-vfprintf.c: Likewise.
12530         * stdio-common/tst-cookie.c: Likewise.
12531         * stdio-common/tst-fileno.c: Likewise.
12532         * stdio-common/tst-gets.c: Likewise.
12533         * stdio-common/tst-obprintf.c: Likewise.
12534         * stdio-common/tst-perror.c: Likewise.
12535         * stdio-common/tst-sprintf2.c: Likewise.
12536         * stdio-common/tst-sprintf3.c: Likewise.
12537         * stdio-common/tst-sprintf.c: Likewise.
12538         * stdio-common/tst-swprintf.c: Likewise.
12539         * stdio-common/tst-tmpnam.c: Likewise.
12540         * stdio-common/tst-unbputc.c: Likewise.
12541         * stdio-common/tst-wc-printf.c: Likewise.
12542         * stdlib/tst-environ.c: Likewise.
12543         * stdlib/tst-fmtmsg.c: Likewise.
12544         * stdlib/tst-limits.c: Likewise.
12545         * stdlib/tst-rand48-2.c: Likewise.
12546         * stdlib/tst-rand48.c: Likewise.
12547         * stdlib/tst-random2.c: Likewise.
12548         * stdlib/tst-random.c: Likewise.
12549         * stdlib/tst-strtol.c: Likewise.
12550         * stdlib/tst-strtoll.c: Likewise.
12551         * stdlib/tst-tls-atexit.c: Likewise.
12552         * stdlib/tst-xpg-basename.c: Likewise.
12553         * string/test-ffs.c: Likewise.
12554         * string/tst-bswap.c: Likewise.
12555         * string/tst-inlcall.c: Likewise.
12556         * string/tst-strtok.c: Likewise.
12557         * string/tst-strxfrm.c: Likewise.
12558         * sysdeps/x86_64/tst-audit10.c: Likewise.
12559         * sysdeps/x86_64/tst-audit3.c: Likewise.
12560         * sysdeps/x86_64/tst-audit4.c: Likewise.
12561         * sysdeps/x86_64/tst-audit5.c: Likewise.
12562         * time/tst-ftime_l.c: Likewise.
12563         * time/tst-getdate.c: Likewise.
12564         * time/tst-mktime3.c: Likewise.
12565         * time/tst-mktime.c: Likewise.
12566         * time/tst-posixtz.c: Likewise.
12567         * time/tst-strptime2.c: Likewise.
12568         * time/tst-strptime3.c: Likewise.
12569         * wcsmbs/tst-btowc.c: Likewise.
12570         * wcsmbs/tst-mbrtowc.c: Likewise.
12571         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12572         * wcsmbs/tst-wchar-h.c: Likewise.
12573         * wcsmbs/tst-wcpncpy.c: Likewise.
12574         * wcsmbs/tst-wcrtomb.c: Likewise.
12575         * wcsmbs/tst-wcsnlen.c: Likewise.
12576         * wcsmbs/tst-wcstof.c: Likewise.
12578 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12580         [BZ #14132]
12581         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12582         INTDEF.
12583         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12584         declaration.
12585         (_dl_mcount): Use rtld_hidden_proto.
12586         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12587         _dl_mcount.
12588         * elf/rtld.c (_rtld_global_ro): Likewise.
12590         [BZ #14132]
12591         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12592         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12593         of _dl_init_internal.
12594         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12595         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12596         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12597         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12598         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12599         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12600         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12601         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12602         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12603         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12604         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12605         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12606         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12607         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12608         * sysdeps/tile/dl-start.S (_start): Likewise.
12609         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12610         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12612         [BZ #14132]
12613         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12614         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12615         (rtld_progname): Make macro definition unconditional.
12616         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12617         INTDEF.
12618         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12619         (dl_main): Likewise.
12620         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12621         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12622         instead of _dl_argv_internal.
12623         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12624         __GI__dl_argv instead of INTUSE(_dl_argv).
12625         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12626         __GI__dl_argv instead of _dl_argv_internal.
12628         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12629         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12630         macro.
12631         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12632         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12633         New macro.
12634         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12635         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12636         macro.
12637         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12638         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12640 2014-11-04  Andreas Schwab  <schwab@suse.de>
12642         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12644 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12646         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12647         mtvsrd instruction in binary form.
12649 2014-11-03  Andreas Schwab  <schwab@suse.de>
12651         [BZ #17522]
12652         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12653         for less than MB_LEN_MAX use a local buffer of that size.
12654         * libio/tst-fputws.c: New file.
12655         * libio/Makefile (tests): Add tst-fputws.
12657 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12659         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12660         the size of the fpu_fr.fpu_dregs[] array.
12662 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12664         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12665         (__nanosleep): Do not define as alias.
12666         (nanosleep): Define as alias of __nanosleep.
12667         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12668         __libc_nanosleep name.
12670 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12672         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12673         install.texi in comment.
12675 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12677         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12678         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12679         ... add here and use lwsync or sync ...
12680         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12681         ... and add here using lwsync.
12683 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12685         * elf/dl-machine-reject-phdr.h: New file.
12686         * elf/dl-load.c: #include that.
12687         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12688         if that returned true.
12690 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12692         [BZ #17496]
12693         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12694         gen-as-const-headers chunk.  Add a big scare comment after the last
12695         safe place to touch before-compile.
12697 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12699         * manual/install.texi (Tools for Compilation): Update autoconf
12700         version requirements.
12701         * INSTALL: Regenerated.
12703         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12704         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12705         (__libc_pselect): Likewise.
12707         [BZ #14138]
12708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12713 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12715         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12716         correct barrier instruction.
12717         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12718         Likewise.
12719         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12720         Likewise.
12722 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12724         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12725         after defining inlines.  Instead, just use parens to defeat macro
12726         expansion of __isctype in its declaration.
12728 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12730         * include/sys/uio.h (__libc_readv): Remove declaration.
12731         (__libc_writev): Likewise.
12732         * misc/readv.c (__libc_readv): Rename to __readv.
12733         (__readv): Do not define as alias.
12734         (readv): Define as alias of __readv.
12735         * misc/writev.c (__libc_writev): Rename to __writev.
12736         (__writev): Do not define as alias.
12737         (writev): Define as alias of __writev.
12738         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12739         (__readv): Do not define as alias.
12740         (readv): Define unconditionally as alias of __readv.
12741         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12742         (__writev): Do not define as alias.
12743         (writev): Define unconditionally as alias of __writev.
12744         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12745         name.
12746         (writev): Do not define __libc_writev name.
12748 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12750         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12751         (convert_charseq): New function, broken out of ...
12752         (use_from_charmap): ... here.  Call it.
12753         (use_to_charmap): Use convert_charseq and free instead of duplicating
12754         its code with a variable-length stack struct.
12756 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12758         * include/fcntl.h (__libc_creat): Remove declaration.
12759         * io/creat.c (__libc_creat): Rename to creat.
12760         (creat): Do not define as alias.
12761         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12762         of creat instead of __libc_creat.
12763         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12764         to creat.
12765         (creat): Do not define as alias.
12766         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12767         __libc_creat.
12768         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12769         __libc_creat name.
12770         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12771         Likewise.
12773 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12775         * manual/llio.texi: Add comments discussing why write() may be
12776         considered MT-unsafe on Linux.
12778 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12780         * dl-load.c (local_strdup): Remove.
12781         (expand_dynamic_string_token): Use __strdup.
12782         (decompose_rpath): Likewise.
12783         (_dl_map_object): Likewise.
12785 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12787         [BZ #14132]
12788         * sysdeps/generic/unwind-dw2-fde.c
12789         (__register_frame_info_bases_internal): Do not declare.
12790         (__register_frame_info_table_bases_internal): Likewise.
12791         (__deregister_frame_info_bases_internal): Likewise.
12792         (__register_frame_info_bases): Declare and use hidden_proto before
12793         definition.  Use hidden_def instead of INTDEF.
12794         (__register_frame_info_table_bases): Likewise.
12795         (__deregister_frame_info_bases): Likewise.
12796         (__register_frame_info): Do not use INTUSE.
12797         (__register_frame): Likewise.
12798         (__register_frame_info_table): Likewise.
12799         (__register_frame_table): Likewise.
12800         (__deregister_frame_info): Likewise.
12801         (__deregister_frame): Likewise.
12803 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12805         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12806         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12807         not undefine.
12808         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12809         Likewise.
12810         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12811         Likewise.
12813 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12815         [BZ #14138]
12816         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12817         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12818         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12819         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12820         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12821         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12822         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12823         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12824         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12825         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12826         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12827         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12828         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12829         syscall.
12830         (setfsuid): Likewise.
12831         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12832         (setfsuid): Likewise.
12833         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12834         (setfsuid): Likewise.
12835         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12836         Likewise.
12837         (setfsuid): Likewise.
12838         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12839         (setfsuid): Likewise.
12840         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12841         Likewise.
12842         (setfsuid): Likewise.
12844 2014-10-27  Andreas Schwab  <schwab@suse.de>
12846         [BZ #17501]
12847         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12848         check for Slow_SSE4_2 feature bit.
12849         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12850         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12851         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12852         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12854 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12856         * configure.ac: Validate compiler version with a empirical test of
12857         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12858         $CC -v output.
12859         * configure: Regenerated.
12861         * inet/htons.c (htons): Prototypify.
12862         * inet/htonl.c (htonl): Likewise.
12864 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12866         * string/strncat.c (strncat): Improve performance by using strlen.
12868 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12870         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12872 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12874         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12875         Call libc_fetestexcept_aarch64.
12877 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12879         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12880         Call libc_feholdexcept_aarch64.
12882 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12884         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12885         Call get_rounding_mode.
12887 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12889         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12890         Simplify logic.
12892 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12894         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12895         Simplify logic.
12897 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12899         [BZ #14138]
12900         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12901         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12902         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12903         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12904         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12905         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12906         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12907         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12908         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12909         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12910         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12911         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12912         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12913         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12914         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12915         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12916         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12917         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12918         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12919         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12920         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12921         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12922         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12923         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12924         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12925         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12926         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12927         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12928         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12929         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12930         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12931         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12932         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12933         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12934         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12935         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12936         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12937         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12938         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12939         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12940         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12941         syscall.
12942         (geteuid): Likewise.
12943         (getgid): Likewise.
12944         (getuid): Likewise.
12945         (getresgid): Likewise.
12946         (getresuid): Likewise.
12947         (getgroups): Likewise.
12948         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12949         (geteuid): Likewise.
12950         (getgid): Likewise.
12951         (getuid): Likewise.
12952         (getresgid): Likewise.
12953         (getresuid): Likewise.
12954         (getgroups): Likewise.
12955         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12956         (geteuid): Likewise.
12957         (getgid): Likewise.
12958         (getuid): Likewise.
12959         (getresgid): Likewise.
12960         (getresuid): Likewise.
12961         (getgroups): Likewise.
12962         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12963         Likewise.
12964         (geteuid): Likewise.
12965         (getgid): Likewise.
12966         (getuid): Likewise.
12967         (getresgid): Likewise.
12968         (getresuid): Likewise.
12969         (getgroups): Likewise.
12970         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12971         (geteuid): Likewise.
12972         (getgid): Likewise.
12973         (getuid): Likewise.
12974         (getresgid): Likewise.
12975         (getresuid): Likewise.
12976         (getgroups): Likewise.
12977         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12978         Likewise.
12979         (geteuid): Likewise.
12980         (getgid): Likewise.
12981         (getuid): Likewise.
12982         (getgroups): Likewise.
12984         [BZ #14138]
12985         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12986         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12987         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12988         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12989         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12990         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12991         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12992         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12993         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12994         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12995         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12996         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12997         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12998         __chown.
12999         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13000         (lchown): Likewise.
13001         (fchown): Likewise.
13002         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13003         Likewise.
13004         (lchown): Likewise.
13005         (fchown): Likewise.
13006         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13007         (lchown): Likewise.
13008         (fchown): Likewise.
13009         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13010         Likewise.
13011         (lchown): Likewise.
13012         (fchown): Likewise.
13014 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13016         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13017         Simplify logic.
13019 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13021         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13022         Cleanup logic.
13024 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13026         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13027         Remove unused include.
13029 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13031         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13032         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13033         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13034         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13036 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13037             Helge Deller <deller@gmx.de>
13039         [BZ #17508]
13040         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13041         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13042         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13044 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #14132]
13047         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13048         Remove macro definition.
13049         (__ashrdi3_v_glibc20): Likewise.
13050         (__lshrdi3_v_glibc20): Likewise.
13051         (__cmpdi2_v_glibc20): Likewise.
13052         (__ucmpdi2_v_glibc20): Likewise.
13053         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13054         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13055         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13056         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13057         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13058         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13060 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13062         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13063         old GNU extension [0] syntax.
13064         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13065         alloca rather than an array member with variable length.
13066         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13067         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13068         (parse_opt): ... here.  Likewise use alloca there.
13069         Validate the -i argument before checking for rootness.
13070         (send_shutdown): New function, broken out of ...
13071         (parse_opt): ... here.
13073 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13075         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13076         macro to get at the _rt_local_ro field.
13077         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13078         ([PIC] case) or _dl_hwcap ([!PIC] case).
13079         * sysdeps/arm/setjmp.S: Likewise.
13081         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13082         * sysdeps/arm/configure.ac: New check to define it.
13083         * sysdeps/arm/configure: Regenerated.
13084         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13085         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13086         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13087         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13088         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13089         Use move/movt pair instead of a load.
13090         (LDST_GLOBAL): Macro removed.
13091         (LDR_GLOBAL): New macro replaces it.
13092         (LDR_HIDDEN): New macro.
13093         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13094         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13096         * setjmp/tst-setjmp-static.c: New file.
13097         * setjmp/Makefile (tests): Add it.
13098         (tests-static): New variable.
13100 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13102         [BZ #17485]
13103         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13105 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13107         [BZ #14132]
13108         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13110 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13112         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13114 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13116         * io/fts.c (dirent_not_directory): New function.
13117         (fts_build): Call it.
13119 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13121         * nptl/version.c (__nptl_main): Use normal __write rather than
13122         INTERNAL_SYSCALL.
13123         (banner): Update copyright years.
13125         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13126         gettimeofday.
13127         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13128         * nptl/pthread_cond_timedwait.c: Likewise.
13129         * nptl/pthread_mutex_timedlock.c: Likewise.
13130         * nptl/sem_timedwait.c: Likewise.
13132         * sysdeps/nptl/bits/libc-lock.h
13133         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13134         (__libc_lock_init_recursive): Return void, not 0.
13135         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13136         (__libc_rwlock_init): Likewise.
13137         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13139 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13141         [BZ #15215]
13142         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13143         (__pthread_once_slow): ... here.
13144         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13145         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13147 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13149         [BZ #15215]
13150         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13151         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13152         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13153         * nptl/pthread_once.c (__pthread_once): Likewise.
13154         Update comments.
13156 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13158         [BZ #14138]
13159         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13160         name.
13161         (writev): Use __libc_writev as strong name.
13162         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13163         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13165 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13167         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13169         * sysdeps/i386/nptl/tls.h
13170         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13171         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13172         New macros.
13173         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13174         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13175         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13176         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13177         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13178         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13180         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13181         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13182         on [__NR_futex].
13183         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13184         broken out of ...
13185         (__pthread_mutex_init): ... here.  Call it.
13186         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13187         Conditionalize PI cases on [__NR_futex].
13188         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13189         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13190         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13192         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13193         conditional on [SIGSETXID].
13194         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13195         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13196         is defined.  Likewise for SIGSETXID.
13197         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13198         Conditionalize definitions on [SIGSETXID].
13199         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13200         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13201         unblocking on [SIGCANCEL].
13203         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13204         [__NR_set_robust_list].
13206 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13208         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13209         (do_compare): Likewise.
13211 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13213         [BZ #15884]
13214         * string/strcoll_l.c: Don't include stdio.h.
13215         (coll_seq): Remove members idxarr and rulearr.
13216         (get_next_seq_cached): Remove function.
13217         (get_next_seq): Likewise.
13218         (get_next_seq_nocache): Rename to get_next_seq.
13219         (do_compare): Remove function.
13220         (do_compare_nocache): Rename to do_compare.
13221         (STRCOLL): Remove weight and rules cache.
13223 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13225         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13226         * sysdeps/arm/sfp-machine.h: ... to here.
13227         * sysdeps/arm/Implies: Remove arm/soft-fp.
13229 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13231         * conform/data/sys/utsname.h-data (*_t): Allow.
13232         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13233         [POSIX] (WEXITED): Do not expect constant.
13234         [POSIX] (WSTOPPED): Likewise.
13235         [POSIX] (WNOHANG): Likewise.
13236         [POSIX] (WNOWAIT): Likewise.
13237         [POSIX] (siginfo_t): Do not expect type or elements.
13238         [POSIX] (pid_t): Do not expect type.
13239         [POSIX] (signal.h): Do not allow header.
13240         [POSIX] (sys/resource.h): Likewise.
13241         [POSIX] (si_*): Do not allow pattern.
13242         [POSIX] (W*): Likewise.
13243         [POSIX] (P_*): Likewise.
13244         [POSIX] (BUS_*): Likewise.
13245         [POSIX] (CLD_*): Likewise.
13246         [POSIX] (FPE_*): Likewise.
13247         [POSIX] (ILL_*): Likewise.
13248         [POSIX] (POLL_*): Likewise.
13249         [POSIX] (SEGV_*): Likewise.
13250         [POSIX] (SI_*): Likewise.
13251         [POSIX] (TRAP_*): Likewise.
13252         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13253         variable.
13255 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13257         [BZ #12926]
13258         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13259         infinite loop when __recvmsg returns 0.
13261 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13263         * CANCEL-FCT-WAIVE: Remove file.
13264         * CANCEL-FILE-WAIVE: Likewise.
13266         [BZ #14132]
13267         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13268         instead of INTVARDEF.
13269         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13270         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13271         rtld_hidden_data_def instead of INTVARDEF.
13272         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13273         * elf/dl-deps.c (expand_dst): Likewise.
13274         * elf/dl-load.c (_dl_dst_count): Likewise.
13275         (_dl_dst_substitute): Likewise.
13276         (decompose_rpath): Likewise.
13277         (_dl_init_paths): Likewise.
13278         (open_path): Likewise.
13279         (_dl_map_object): Likewise.
13280         * elf/rtld.c (dl_main): Likewise.
13281         (process_dl_audit): Likewise.
13282         (process_envvars): Likewise.
13283         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13284         Remove declaration.
13285         (__libc_enable_secure): Use rtld_hidden_proto.
13287 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13289         * elf/dl-load.c
13290         (add_path): New function broken out of _dl_rtld_di_serinfo.
13291         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13293 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13295         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13296         parentheses around macro arguments.
13297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13300         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13301         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13304         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13308         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13309         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13310         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13311         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13312         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13313         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13326         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13327         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13328         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13329         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13330         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13331         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13332         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13333         Likewise.
13334         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13338         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13341         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13342         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13343         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13344         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13345         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13346         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13355         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13356         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13357         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13358         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13359         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13360         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13361         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13362         (_FP_FRAC_SRS_1): Likewise.
13363         (_FP_FRAC_CLZ_1): Likewise.
13364         (_FP_MUL_MEAT_1_imm): Likewise.
13365         (_FP_MUL_MEAT_1_wide): Likewise.
13366         (_FP_MUL_MEAT_1_hard): Likewise.
13367         (_FP_SQRT_MEAT_1): Likewise.
13368         (_FP_FRAC_ASSEMBLE_1): Likewise.
13369         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13370         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13371         (__FP_CLZ_2): Likewise.
13372         (_FP_MUL_MEAT_2_wide): Likewise.
13373         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13374         (_FP_MUL_MEAT_2_gmp): Likewise.
13375         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13376         (_FP_SQRT_MEAT_2): Likewise.
13377         (_FP_FRAC_ASSEMBLE_2): Likewise.
13378         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13379         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13380         (_FP_FRAC_CLZ_4): Likewise.
13381         (_FP_MUL_MEAT_4_wide): Likewise.
13382         (_FP_MUL_MEAT_4_gmp): Likewise.
13383         (_FP_SQRT_MEAT_4): Likewise.
13384         (_FP_FRAC_ASSEMBLE_4): Likewise.
13385         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13386         * soft-fp/op-common.h (_FP_CMP): Likewise.
13387         (_FP_CMP_EQ): Likewise.
13388         (_FP_CMP_UNORD): Likewise.
13389         (_FP_TO_INT): Likewise.
13390         (_FP_FROM_INT): Likewise.
13391         [!__FP_CLZ] (__FP_CLZ): Likewise.
13392         (_FP_DIV_HELP_imm): Likewise.
13393         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13394         Likewise.
13395         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13396         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13397         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13398         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13399         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13400         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13401         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13402         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13405         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13406         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13407         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13408         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13409         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13410         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13411         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13412         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13414         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13415         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13416         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13417         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13418         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13420         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13421         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13424         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13425         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13426         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13427         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13428         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13429         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13430         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13431         (FP_UNPACK_RAW_SP): Likewise.
13432         (FP_PACK_RAW_S): Likewise.
13433         (FP_PACK_RAW_SP): Likewise.
13434         (FP_UNPACK_S): Likewise.
13435         (FP_UNPACK_SP): Likewise.
13436         (FP_UNPACK_SEMIRAW_S): Likewise.
13437         (FP_UNPACK_SEMIRAW_SP): Likewise.
13438         (FP_PACK_S): Likewise.
13439         (FP_PACK_SP): Likewise.
13440         (FP_PACK_SEMIRAW_S): Likewise.
13441         (FP_PACK_SEMIRAW_SP): Likewise.
13442         (_FP_SQRT_MEAT_S): Likewise.
13443         (FP_CMP_S): Likewise.
13444         (FP_CMP_EQ_S): Likewise.
13445         (FP_CMP_UNORD_S): Likewise.
13446         (FP_TO_INT_S): Likewise.
13447         (FP_FROM_INT_S): Likewise.
13449         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13451         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13452         (FP_EX_INVALID_IMZ): Likewise.
13453         (FP_EX_INVALID_IMZ_FMA): Likewise.
13454         (FP_EX_INVALID_ISI): Likewise.
13455         (FP_EX_INVALID_ZDZ): Likewise.
13456         (FP_EX_INVALID_IDI): Likewise.
13457         (FP_EX_INVALID_SQRT): Likewise.
13458         (FP_EX_INVALID_CVI): Likewise.
13459         (FP_EX_INVALID_VC): Likewise.
13460         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13461         "invalid" exceptions.
13462         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13463         (_FP_ADD_INTERNAL): Likewise.
13464         (_FP_MUL): Likewise.
13465         (_FP_FMA): Likewise.
13466         (_FP_DIV): Likewise.
13467         (_FP_CMP_CHECK_NAN): Likewise.
13468         (_FP_SQRT): Likewise.
13469         (_FP_TO_INT): Likewise.
13470         (FP_EXTEND): Likewise.
13472 2014-10-09  Allan McRae  <allan@archlinux.org>
13474         * po/fr.po: Update French translation from translation project.
13476 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13478         [BZ #14132]
13479         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13480         of INTDEF.
13481         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13482         (__cxa_atexit): Use libc_hidden_proto.
13483         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13485         [BZ #14132]
13486         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13487         declaration.
13488         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13489         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13490         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13491         [!_ISOMAC] (__iswctype_internal): Likewise.
13492         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13493         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13494         alias.
13495         (fcntl): Remove __fcntl_internal alias.
13496         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13497         __connect_internal alias.
13498         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13499         Likewise.
13501         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13502         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13503         FP_DENORM_ZERO.
13504         (_FP_CHECK_FLUSH_ZERO): New macro.
13505         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13506         (_FP_CMP): Likewise.
13507         (_FP_CMP_EQ): Likewise.
13508         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13509         FP_DENORM_ZERO.
13510         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13511         (FP_TRUNC): Likewise.
13513         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13514         treated as invalid conversion, not as normal exponent.
13516         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13517         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13518         (_FP_CMP_EQ): Likewise.
13519         (_FP_CMP_UNORD): Likewise.
13520         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13521         (FP_CMP_EQ_D): Likewise.
13522         (FP_CMP_UNORD_D): Likewise.
13523         * soft-fp/extended.h (FP_CMP_E): Likewise.
13524         (FP_CMP_EQ_E): Likewise.
13525         (FP_CMP_UNORD_E): Likewise.
13526         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13527         (FP_CMP_EQ_Q): Likewise.
13528         (FP_CMP_UNORD_Q): Likewise.
13529         * soft-fp/single.h (FP_CMP_S): Likewise.
13530         (FP_CMP_EQ_S): Likewise.
13531         (FP_CMP_UNORD_S): Likewise.
13532         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13533         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13534         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13535         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13536         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13537         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13538         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13539         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13540         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13541         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13542         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13543         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13544         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13545         to FP_CMP_Q.
13546         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13547         FP_CMP_Q.
13548         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13549         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13550         FP_CMP_EQ_Q.
13551         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13552         FP_CMP_Q.
13553         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13554         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13555         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13556         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13557         FP_CMP_EQ_Q.
13558         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13559         FP_CMP_Q.
13560         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13561         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13562         FP_CMP_EQ_Q.
13563         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13564         FP_CMP_Q.
13565         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13566         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13567         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13568         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13569         FP_CMP_EQ_Q.
13571         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13572         a subnormal result, set the underflow exception if trapping on
13573         underflow is enabled.
13574         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13575         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13576         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13577         redefine to 0.
13578         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13579         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13580         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13581         * soft-fp/extendxftf2.c (__extendxftf2): Use
13582         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13584         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13585         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13586         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13587         FP_HANDLE_EXCEPTIONS.
13588         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13589         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13590         FP_HANDLE_EXCEPTIONS.
13591         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13592         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13593         FP_HANDLE_EXCEPTIONS.
13594         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13595         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13596         FP_HANDLE_EXCEPTIONS.
13598 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13600         [BZ #14132]
13601         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13602         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13603         use INTUSE.
13604         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13605         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13606         Remove alias.
13607         (__adjtimex): Define using libc_hidden_ver.
13608         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13609         Remove declaration.
13610         (ntp_gettime): Call __adjtimex directly.
13611         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13612         Remove declaration.
13613         (ntp_gettimex): Call __adjtimex directly.
13614         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13615         __adjtimex_internal alias.
13617 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13619         [BZ #17460]
13620         * nscd/nscd.c (more_help): Rewrite list of tables collection
13621         using xstrdup and asprintf.
13623         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13625 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13626             Roland McGrath  <roland@hack.frob.com>
13628         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13629         (do_lookup_unique): ... local function 'enter' here; update callers.
13631 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13633         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13634         compat_symbol calls on [SHARED].
13635         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13636         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13637         Remove.
13638         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13639         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13640         (oldsetrlimit): Remove.
13641         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13643         (lchown): New syscall entry.
13644         (oldsetrlimit): Remove.
13645         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13646         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13647         (oldsetrlimit): Remove.
13648         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13650         [BZ #14138]
13651         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13652         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13653         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13654         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13655         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13656         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13657         (fchown): Likewise.
13658         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13659         (fchown): Likewise.
13660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13661         Likewise.
13663 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13665         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13666         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13667         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13668         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13669         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13670         Likewise.
13671         (__old_sem_post): Likewise.
13673 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13675         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13676         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13677         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13678         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13679         Use INLINE_VSYSCALL macro.
13680         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13681         __vdso_clock_gettime.
13682         * sysdeps/unix/sysv/linux/tile/init-first.c
13683         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13684         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13685         __vdso_clock_gettime.
13687         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13688         to set up frame more cleanly.
13690         * sysdeps/tile/memcmp.c: New file.
13692         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13694         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13695         * sysdeps/tile/tilegx/strcasestr.c: New file.
13696         * sysdeps/tile/tilegx/strnlen.c: New file.
13697         * sysdeps/tile/tilegx/strstr.c: New file.
13699         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13701 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13703         * nptl/tst-setuid3.c: Write errors to stdout.
13705 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13707         * elf/dl-deps.c
13708         (preload): New functions broken out of _dl_map_object_deps.
13709         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13711 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #14138]
13714         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13715         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13717 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13719         * sysdeps/mips/strcmp.S: New.
13721 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13723         [BZ #14138]
13724         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13725         (linkat): Likewise.
13726         (mkdirat): Likewise.
13727         (readlinkat): Likewise.
13728         (renameat): Likewise.
13729         (symlinkat): Likewise.
13730         (unlinkat): Likewise.
13731         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13732         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13733         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13734         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13735         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13736         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13737         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13739 2014-09-30  Will Newton  <will.newton@linaro.org>
13741         * math/math.h: Define long double math functions if
13742         _LIBC_TEST is defined.
13743         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13745         * localedata/Makefile: Move assignment to tests-special
13746         into an ifdef testing run-built-tests.
13747         * timezone/Makefile: Likewise.
13749 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13751         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13752         with $(BASH) not $(SHELL).
13754 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13755             Matthew LeGendre  <legendre1@llnl.gov>
13757         [BZ #17411]
13758         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13759         l_reloc_result.
13761 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13763         * stdio-common/printf_fp.c
13764         (hack_digit): New function, broken out of ...
13765         (__printf_fp): ... local function here.  Update call sites.
13766         hack_digit now takes an additional parameter that is a pointer
13767         to a struct of the referenced locals.  Those locals moved inside
13768         the struct and references updated.
13770 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13772         * aclocal.m4: Require autoconf 2.69.
13773         * configure: Regenerated.
13774         * sysdeps/aarch64/configure: Likewise.
13775         * sysdeps/alpha/configure: Likewise.
13776         * sysdeps/arm/armv7/configure: Likewise.
13777         * sysdeps/arm/configure: Likewise.
13778         * sysdeps/ia64/configure: Likewise.
13779         * sysdeps/mach/configure: Likewise.
13780         * sysdeps/mips/configure: Likewise.
13781         * sysdeps/s390/configure: Likewise.
13782         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13785         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13786         file.
13787         * sysdeps/ia64/configure.ac: Likewise.
13789 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13792         specify symbol version for ld.so.  Do not include entry for
13793         libpthread.
13794         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13795         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13796         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13798         [BZ #14171]
13799         * Makeconfig [$(build-shared) = yes]
13800         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13801         makefiles.
13802         [$(build-shared) = yes && $(soversions.mk-done) = t]
13803         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13804         [$(build-shared) = yes && $(soversions.mk-done) = t]
13805         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13806         to Makerules.
13807         [$(build-shared) = yes && $(soversions.mk-done) = t]
13808         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13809         here.
13810         [$(build-shared) = yes && $(soversions.mk-done) = t]
13811         (common-generated): Don't append gnu/lib-names.h and
13812         gnu/lib-names.stmp here.
13813         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13814         (lib-names-h-abi): New variable.
13815         [$(build-shared) = yes && $(soversions.mk-done) = t]
13816         (lib-names-stmp-abi): Likewise.
13817         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13818         abi-variants] (before-compile): Append
13819         $(common-objpfx)$(lib-names-h-abi).
13820         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13821         abi-variants] (common-generated): Append gnu/lib-names.h.
13822         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13823         abi-variants] (install-others-nosubdir): Depend on
13824         $(inst_includedir)/$(lib-names-h-abi).
13825         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13826         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13827         [$(build-shared) = yes && $(soversions.mk-done) = t]
13828         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13829         [$(build-shared) = yes && $(soversions.mk-done) = t]
13830         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13831         [$(build-shared) = yes && $(soversions.mk-done) = t]
13832         (common-generated): Append $(lib-names-h-abi) and
13833         $(lib-names-stmp-abi).
13834         * scripts/lib-names.awk: Do not handle multi being set.
13835         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13836         Remove variable.
13837         (abi-lp64_be-ld-soname): Likewise.
13838         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13839         Likewise.
13840         (abi-hard-ld-soname): Likewise.
13841         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13842         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13843         Remove variable.
13844         (abi-o32_hard-ld-soname): Likewise.
13845         (abi-o32_soft_2008-ld-soname): Likewise.
13846         (abi-o32_hard_2008-ld-soname): Likewise.
13847         (abi-n32_soft-ld-soname): Likewise.
13848         (abi-n32_hard-ld-soname): Likewise.
13849         (abi-n32_soft_2008-ld-soname): Likewise.
13850         (abi-n32_hard_2008-ld-soname): Likewise.
13851         (abi-n64_soft-ld-soname): Likewise.
13852         (abi-n64_hard-ld-soname): Likewise.
13853         (abi-n64_soft_2008-ld-soname): Likewise.
13854         (abi-n64_hard_2008-ld-soname): Likewise.
13855         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13856         Likewise.
13857         (abi-64-v2-ld-soname): Likewise.
13858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13859         ld.so entries.
13860         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13861         variable.
13862         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13863         entry.
13864         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13865         variable.
13866         (abi-64-ld-soname): Likewise.
13867         (abi-x32-ld-soname): Likewise.
13868         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13869         entry.
13870         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13872 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13874         [BZ #14138]
13875         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13876         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13877         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13878         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13879         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13880         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13881         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13882         syscall entry for GLIBC_2.2 symbol version.
13883         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13884         Likewise.
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13886         (setrlimit): Likewise.
13887         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13888         Likewise.
13890 2014-09-23  Will Newton  <will.newton@linaro.org>
13892         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13893         _LINUX_ARM_SYSDEP_H include guard too.
13894         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13895         define.
13897 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13899         * sysdeps/unix/sysv/linux/eventfd.c:
13900         Make first argument unsigned.
13901         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13902         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13904 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13906         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13907         * socket/sys/socket.h: Likewise
13908         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13910 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13912         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13914 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13916         * time/tst-ftime.c: New test.
13917         * time/Makefile (tests): Add tst-ftime.
13919 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13921         * soft-fp/extended.h: Fix comment formatting.
13922         * soft-fp/op-1.h: Likewise.
13923         * soft-fp/op-2.h: Likewise.
13924         * soft-fp/op-4.h: Likewise.
13925         * soft-fp/op-8.h: Likewise.
13926         * soft-fp/op-common.h: Likewise.
13927         * soft-fp/soft-fp.h: Likewise.
13929         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13931 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13933         [BZ #6652]
13934         * Makeconfig (soversions-default-setname): Remove variable.
13935         ($(common-objpfx)soversions.i): Don't pass default_setname to
13936         soversions.awk.
13937         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13938         oldest_abi to abi-versions.awk.
13939         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13940         * config.make.in (oldest-abi): Remove variable.
13941         * configure.ac (--enable-oldest-abi): Remove configure option.
13942         * configure: Regenerated.
13943         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13944         text.
13945         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13946         * scripts/soversions.awk: Do not handle default_setname variable.
13947         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13948         variable.
13949         * sysdeps/mach/hurd/configure: Regenerated.
13950         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13951         variable.
13952         * sysdeps/unix/sysv/linux/configure: Regenerated.
13954 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13956         * elf/Makefile (CFLAGS-interp.c): Remove.
13957         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13958         path string.
13959         * elf/interp.c: Include generated runtime-linker.h
13961         * Makerules (lib%.so): Don't include $(+interp) in
13962         prerequisites.
13963         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13964         * dlfcn/eval.c: Remove file.
13966         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13967         macros.
13969         [BZ #17266]
13970         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13971         4.2 and newer.
13973         [BZ #17370]
13974         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13976 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13977             Jakub Jelinek  <jakub@redhat.com>
13979         [BZ #17266]
13980         * libio/stdio.h: Check definition of __fortify_function
13981         instead of __extern_always_inline to include bits/stdio2.h.
13982         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13983         check if __extern_always_inline is defined.
13984         [__USE_MISC || __USE_XOPEN]: Likewise.
13985         [__USE_ISOC99] Likewise.
13986         * misc/sys/cdefs.h (__fortify_function): Define only if
13987         __extern_always_inline is defined.
13988         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13989         __extern_always_inline and __extern_inline only for g++-4.3
13990         and newer or a compatible gcc.
13992 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13994         [BZ #17371]
13995         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13996         last change to handle zero prefix length.
13998 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14000         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14001         _SC_REGEX_VERSION.
14003         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14004         _POSIX_RAW_SOCKETS.
14006 2014-09-13  Allan McRae  <allan@archlinux.org>
14008         * po/ru.po: Update Russian translation from translation project.
14010 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14012         * locale/programs/locale.c (show_locale_vars): Inline local function
14013         into its sole call site.  Clean up some style nits.
14014         (print_item): New function, broken out of ...
14015         (show_info): ... local function here.  Clean up style nits.
14017         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14018         out of ...
14019         (set_class_defaults): ... local function set_default here.
14020         Define set_default as a macro locally to pass constant parameters.
14021         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14022         rather than a shared local.
14024         * stdlib/rpmatch.c (try): New function, broken out of ...
14025         (rpmatch): ... local function here.  Also, prototypify definition.
14027 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14029         * scripts/soversions.awk: Do not handle configuration names.
14030         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14031         vendor and os variables to soversions.awk.
14032         * configure.ac: Do not modify gnu-* host_os.
14033         * configure: Regenerated
14034         * shlib-versions: Remove first column with configuration names.
14035         * nptl/shlib-versions: Likewise.
14036         * nptl_db/shlib-versions: Likewise.
14037         * sysdeps/hppa/shlib-versions: Likewise.
14038         * sysdeps/m68k/shlib-versions: Likewise.
14039         * sysdeps/mach/hurd/shlib-versions: Likewise.
14040         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14041         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14042         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14043         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14044         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14045         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14046         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14047         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14049         Likewise.
14050         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14051         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14052         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14053         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14054         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14055         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14056         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14057         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14060         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14062         Regenerated.
14063         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14065         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14067         * shlib-versions: Remove OS-specific entries.  Moved to files in
14068         sysdeps.
14069         * sysdeps/mach/hurd/shlib-versions: New file.
14070         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14072         * nptl/shlib-versions: Remove architecture-specific entries.
14073         Moved to files in sysdeps.
14074         * shlib-versions: Likewise.
14075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14076         file.
14077         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14078         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14079         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14080         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14082         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14083         (UDP_NO_CHECK6_RX): Likewise.
14085 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14087         * sysdeps/posix/sysconf.c (__sysconf): Spell
14088         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14090 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14092         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14093         loading.
14094         * iconv/Versions (__gconv_transliterate): Export for use from
14095         gconv modules.
14096         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14097         (struct __gconv_trans_data, __gconv_trans_fct,
14098         __gconv_trans_context_fct, __gconv_trans_query_fct,
14099         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14100         definitions.
14101         (struct __gconv_step_data): Remove __trans member.
14102         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14103         longer hidden.  Remove unused trans_data argument.
14104         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14105         (__gconv_translit_find): Remove declaration.
14106         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14107         prototype.
14108         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14109         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14110         trans_data argument.  Add hidden definition.
14111         (__gconv_translit_find): Remove.
14112         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14113         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14114         * iconv/skeleton.c: Remove transliteration initialization.
14115         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14116         __gconv_step_data initialization.
14117         * libio/iofwide.c (__libio_translit_): Remove.
14118         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14119         * wcsmbs/btowc.c (__btowc): Likewise.
14120         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14121         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14122         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14123         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14124         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14125         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14126         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14127         * wcsmbs/wctob.c (wctob): Likewise.
14129 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14131         [BZ #16194]
14132         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14133         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14134         register usage.
14135         * sysdeps/x86/Makefile: Adjust.
14137 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14138             Roland McGrath  <roland@hack.frob.com>
14140         * locale/weight.h: Add include guard.
14141         (findidx): Make static rather than auto; take new parameters
14142         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14143         * locale/weightwc.h: Likewise.
14144         * posix/fnmatch_loop.c
14145         (FCT): Change type of EXTRA from int32_t to wint_t.
14146         Don't include either header inside the function.
14147         Call FINDIDX rather than findidx, and pass new arguments.
14148         #undef FINDIDX at the end of the file.
14149         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14150         FINDIDX before including fnmatch_loop.c for the non-wide version.
14151         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14152         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14153         for the wide version.
14154         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14155         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14156         Pass new arguments to findidx.
14157         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14158         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14159         Don't #include it inside the function.  Pass new arguments to findidx.
14160         * posix/regex_internal.h
14161         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14162         (re_string_elem_size_at): Don't #include it inside the function.
14163         Pass new arguments to findidx.
14164         * string/strcoll_l.c: #include WEIGHT_H at top level.
14165         (get_next_seq): Don't #include it inside the function.
14166         Pass new arguments to findidx.
14167         (get_next_seq_nocache): Likewise.
14168         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14169         (STRXFRM): Don't #include it inside the function.
14170         Pass new arguments to findidx.
14172 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14174         [BZ #17344]
14175         * malloc/malloc.c (unlink): Turn asserts into a call to
14176         malloc_printerr.
14178 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14180         [BZ #17370]
14181         * libio/wfileops (do_ftell_wide): Free OUT.
14183 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14185         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14187 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14189         [BZ #17363]
14190         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14191         group if the current group is empty.
14193 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14195         * benchtests/bench-memset.c (test_main): Add more test from size
14196         from 32 to 512 bytes.
14197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14198         Add POWER8 memset object.
14199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14200         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14201         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14202         implementation.
14203         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14204         Likewise.
14205         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14206         multiarch POWER8 memset optimization.
14207         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14208         POWER8 memset optimization.
14210         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14211         Remove bzero multiarch objects.
14212         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14213         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14214         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14215         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14216         Remove define.
14217         [__bzero]: Redefine to specific name.
14218         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14219         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14220         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14221         define.
14222         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14223         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14225 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14227         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14228         warnings into errors.
14230         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14231         __cxa_thread_atexit_impl prototype.
14233 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14235         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14236         Fix capitalization of error message.
14238 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14240         * sysdeps/mips/preconfigure: Modify ABI tests.
14242 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14244         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14246 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14247             Carlos O'Donell  <carlos@systemhalted.org>
14249         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14250         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14251         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14252         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14253         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14254         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14255         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14256         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14257         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14258         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14259         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14260         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14261         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14262         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14263         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14264         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14266         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14268         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14269         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14270         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14271         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14272         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14273         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14274         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14275         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14276         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14277         Deconditionalize the code that was previously under [RESET_PID].
14278         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14279         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14280         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14281         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14282         include sysdep.h.
14284 2014-09-08  Allan McRae  <allan@archlinux.org>
14286         * version.h (RELEASE): Set to "development".
14287         (VERSION): Set to "2.20.90"
14289 2014-09-07  Allan McRae  <allan@archlinux.org
14291         * version.h (RELEASE): Set to "stable".
14292         (VERSION): Set to "2.20"
14293         * include/features.h (__GLIBC_MINOR__): Set to 20.
14295         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14296         Liebler.
14298         * po/ko.po: Update Korean translation from translation project.
14300 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14302         [BZ #17354]
14303         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14304         macro for handling signed relocations.
14306 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14308         [BZ #17325]
14309         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14310         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14311         assert.
14312         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14313         * iconvdata/ibm935.c (BODY): Likewise.
14314         * iconvdata/ibm937.c (BODY): Likewise.
14315         * iconvdata/ibm939.c (BODY): Likewise.
14316         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14317         assert.
14318         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14319         script.
14320         * iconvdata/run-iconv-test.sh: New test loop for checking for
14321         decoder crashers.
14323 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14325         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14326         libm_hidden_ver.
14328 2014-09-01  Allan McRae  <allan@archlinux.org>
14330         * po/eo.po: Update Esperanto translation from translation project.
14332         * po/ca.po: Update Catalan translation from translation project.
14334 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14336         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14337         __proc_dostop call.
14339 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14341         [BZ #17319]
14342         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14343         to call set_thread_area instead of hand written asm.
14344         (__NR_set_thread_area): Removed define.
14345         (TLS_FLAG_WRITABLE): Likewise.
14346         (__ASSUME_SET_THREAD_AREA): Remove check.
14347         (TLS_EBX_ARG): Remove define.
14348         (TLS_LOAD_EBX): Likewise.
14350 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14352         Simplify atomicity of socket creation in bind.
14354         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14355         looking up the name after linking the file.
14357 2014-08-27  Allan McRae  <allan@archlinux.org>
14359         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14361 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14363         [BZ #17187]
14364         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14365         trans_compare, open_translit, __gconv_translit_find):
14366         Remove module loading code.
14368 2014-08-26  Allan McRae  <allan@archlinux.org>
14370         * po/vi.po: Update Vietnamese translation from translation project.
14372         * po/uk.po: Update Ukrainian translation from translation project.
14374         * po/fr.po: Update French translation from translation project.
14376         * po/ru.po: Update Russian translation from translation project.
14378         * po/pl.po: Update Polish translation from translation project.
14380         * po/cs.po: Update Czech translation from translation project.
14382         * po/de.po: Update German translation from translation project.
14384         * po/bg.po: Update Bulgarian translation from translation project.
14386         * po/sv.po: Update Sweedish translation from translation project.
14388         * po/nl.po: Update Dutch translation from translation project.
14390         * po/es.po: Update Spanish translation from translation project.
14392 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14394         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14396         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14397         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14398         (CPPFLAGS-iconvconfig): Likewise.
14399         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14401         * include/libc-symbols.h: Remove unnecessary check for
14402         NOT_IN_libc.
14403         * nptl/pthreadP.h: Likewise.
14404         * sysdeps/aarch64/setjmp.S: Likewise.
14405         * sysdeps/alpha/setjmp.S: Likewise.
14406         * sysdeps/arm/sysdep.h: Likewise.
14407         * sysdeps/i386/setjmp.S: Likewise.
14408         * sysdeps/m68k/setjmp.c: Likewise.
14409         * sysdeps/posix/getcwd.c: Likewise.
14410         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14411         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14412         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14413         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14414         * sysdeps/sh/sh3/setjmp.S: Likewise.
14415         * sysdeps/sh/sh4/setjmp.S: Likewise.
14416         * sysdeps/unix/alpha/sysdep.h: Likewise.
14417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14418         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14419         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14420         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14425         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14426         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14427         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14428         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14429         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14430         * sysdeps/x86_64/setjmp.S: Likewise.
14432 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14434         [BZ #17263]
14435         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14436         <stdint.h>.
14437         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14438         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14440 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14442         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14444         [BZ #17262]
14445         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14446         and __x86_64__ when disabling x87 inline functions.
14448 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14450         [BZ #17259]
14451         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14452         asm statement with __cpuid_count.
14454 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14456         * configure.ac: Change __ehdr_start code to dereference the struct.
14457         Run readelf on the output to look for relocations.
14458         * configure: Regenerated.
14460 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14462         [BZ #17261]
14463         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14464         value to 0.
14465         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14467 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14469         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14471 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14473         [BZ #16892]
14474         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14475         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14477 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14479         * malloc/malloc.c: Fix typo in comment.
14481 2014-08-09  Allan McRae  <allan@archlinux.org>
14483         * Regenerate libc.po.
14485 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14487         * intl/tst-gettext2.sh: Check every lang file for creation.
14489 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14491         * sysdeps/aarch64/fpu/math_private.h
14492         (libc_feholdsetround_noex_aarch64_ctx): New function.
14494 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14496         * sysdeps/arm/armv6/strcpy.S (strcpy):
14497         Fix performance issue in misaligned cases.
14499 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14501         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14502         Move definition from termios.h.
14503         (struct termio): Likewise.
14504         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14505         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14506         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14507         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14508         Likewise.
14509         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14510         Move definition to ioctl-types.h
14511         (struct termio): Likewise.
14512         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14513         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14514         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14515         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14516         Likewise.
14518 2014-08-05  Richard Henderson  <rth@redhat.com>
14520         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14521         exceptions.
14522         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14523         Add fraiseexcpt.
14524         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14525         Use __feraiseexcept.
14526         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14527         Protect libm symbols with IS_IN_libm.
14529         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14531 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14533         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14535 2014-08-04  Will Newton  <will.newton@linaro.org>
14537         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14538         file.
14540 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14542         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14543         variants for each function.
14545 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14547         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14548         appended ...
14549         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14550         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14551         appended ...
14552         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14553         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14554         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14555         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14556         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14557         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14558         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14559         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14560         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14561         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14562         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14563         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14564         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14565         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14566         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14567         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14568         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14569         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14570         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14571         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14572         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14573         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14574         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14575         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14576         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14577         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14578         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14579         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14580         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14581         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14582         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14583         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14584         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14585         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14586         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14587         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14588         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14589         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14590         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14591         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14592         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14593         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14594         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14595         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14596         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14597         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14598         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14599         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14600         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14601         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14602         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14603         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14604         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14605         Update #include.
14606         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14607         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14609 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14611         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14612         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14613         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14614         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14615         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14616         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14618 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14620         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14621         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14622         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14623         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14625 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14627         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14628         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14629         (__libc_vfork): Define function under this name.
14630         (__vfork): Define as an alias.
14631         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14632         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14634 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14636         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14637         that was previously under [RESET_PID].
14638         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14640 2014-08-04  Andreas Schwab  <schwab@suse.de>
14642         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14644 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14646         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14647         (main): Likewise.
14649 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14651         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14653 2014-08-01  Richard Henderon  <rth@redhat.com>
14655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14656         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14657         typo in exact zero test.
14658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14662 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14664         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14665         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14666         * sysdeps/arm/sysdep.h: ... here.
14667         [!__ASSEMBLER__]: Include <stdint.h>.
14669 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14671         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14672         (HAVE_WCTYPE_H): Likewise.
14673         (HAVE_ISWCTYPE): Likewise.
14674         (ENABLE_NLS): Likewise.
14675         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14676         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14678         * posix/regex_internal.c: Check if DEBUG is defined and is
14679         set.
14681         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14682         (HAVE_MBSRTOWCS): Likewise.
14683         * posix/fnmatch.c: Include string.h unconditionally.
14685 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14687         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14688         reversal.
14690 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14692         * sysdeps/generic/safe-fatal.h: New file.
14693         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14694         * nptl/forward.c: Include it.
14695         (__pthread_unwind): Use __safe_fatal as default action, rather
14696         than a bogus use of INTERNAL_SYSCALL that could never work.
14698         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14699         * configure.ac (libc_cv_builtin_trap): New test.
14700         * configure: Regenerated.
14701         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14702         (ABORT_INSTRUCTION): Define using __builtin_trap.
14704         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14705         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14706         * sysdeps/nptl/nptl-signals.h: New file.
14707         * nptl/pthreadP.h: Include <nptl-signals.h>.
14709 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14711         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14712         (ONE_DIRECTION): Define.
14713         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14714         (ONE_DIRECTION): Define.
14715         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14716         (ONE_DIRECTION): Define.
14718 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14720         * sysdeps/s390/Makefile: Delete file.
14721         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14722         * sysdeps/s390/__longjmp.c: Delete file.
14723         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14724         Remove fields __flags and __reserved.
14725         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14726         and add versioning.
14727         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14728         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14729         * sysdeps/s390/rtld-setjmp.S: Likewise.
14730         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14731         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14732         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14733         * sysdeps/s390/s390-32/setjmp.S: ... here.
14734         Add versioning.
14735         (__sigsetjmp): Remove setting __flags field.
14736         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14737         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14738         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14739         * sysdeps/s390/s390-64/setjmp.S: ... here.
14740         Add versioning.
14741         (__sigsetjmp): Remove setting __flags field.
14742         * sysdeps/s390/setjmp.S: Delete file.
14743         * sysdeps/s390/sigjmp.c: Likewise.
14744         * sysdeps/s390/v1-longjmp.c: Likewise.
14745         * sysdeps/s390/v1-setjmp.h: Likewise.
14746         * sysdeps/s390/v1-sigjmp.c: Likewise.
14747         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14748         Remove v1-longjmp_chk.
14749         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14750         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14751         Include debug/longjmp_chk.c and add versioning.
14752         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14753         Include nptl/pt-longjmp.c and add versioning.
14754         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14755         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14756         Include __longjmp.c.
14757         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14758         Move to ...
14759         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14760         (__getcontext): Remove setting __flags field.
14761         Add versioning.
14762         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14763         Don't restore upper high grps.
14764         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14765         Likewise.
14766         (__swapcontext): Remove setting uc_flags field.
14767         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14768         Delete file.
14769         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14770         Include __longjmp.c.
14771         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14772         Move to ...
14773         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14774         (__getcontext): Remove setting __flags field.
14775         Add versioning.
14776         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14777         (__swapcontext): Remove setting uc_flags field.
14778         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14779         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14780         Remove fields uc_high_gprs and __reserved.
14781         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14782         New file with reverted content.
14783         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14784         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14785         Regenerated.
14786         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14787         Regenerated.
14789 2014-07-31  Andreas Schwab  <schwab@suse.de>
14791         * config.h.in (HAVE_IFUNC): Define to 0.
14792         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14793         definedness.
14795 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14798         memmove-avx-unaligned, memcpy-avx-unaligned and
14799         mempcpy-avx-unaligned.
14800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14801         Add tests for AVX memcpy functions.
14802         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14803         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14804         memcpy_chk.
14805         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14806         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14807         memmove_chk.
14808         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14809         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14810         mempcpy_chk.
14811         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14812         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14813         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14815 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14817         [BZ #17213]
14818         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14819         powerpc64le.
14821 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14823         [BZ #16839]
14824         * manual/llio.texi: Add section about open file description locks.
14825         * manual/examples/ofdlocks.c: Example of open file description
14826         lock usage.
14827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14828         F_OFD_SETLK, and F_OFD_SETLKW.
14830 2014-07-23  Allan McRae  <allan@archlinux.org>
14832         * po/es.po: Update Spanish translation from translation project.
14834 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14836         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14838 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14840         [BZ #17078]
14841         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14842         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14843         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14845 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14847         [BZ #17088]
14848         * math/fesetenv.c (__fesetenv)
14849         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14850         * math/feupdateenv.c (__feupdateenv)
14851         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14853         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14854         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14855         (__ASSUME_SOCKETCALL): Do not define.
14857         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14858         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14859         (__ASSUME_SOCKETCALL): Do not define.
14860         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14861         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14862         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14863         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14864         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14865         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14867         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14869         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14870         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14871         (__ASSUME_SOCKETCALL): Do not define.
14872         (__ASSUME_IPC64): Define unconditionally.
14873         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14874         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14875         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14876         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14877         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14878         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14879         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14880         Likewise.
14882         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14883         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14884         (__ASSUME_SOCKETCALL): Do not define.
14885         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14886         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14887         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14888         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14889         (__ASSUME_REQUEUE_PI): Define unconditionally.
14890         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14891         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14892         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14893         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14894         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14895         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14897         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14898         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14899         (__ASSUME_SOCKETCALL): Do not define.
14900         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14901         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14902         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14903         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14904         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14905         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14907         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14908         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14909         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14910         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14911         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14912         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14913         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14914         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14915         (__ASSUME_GETCPU_SYSCALL): Likewise.
14917         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14918         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14919         cases for individual architectures.
14920         * sysdeps/gnu/configure: Regenerated.
14921         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14922         LIBC_SLIBDIR_RTLDDIR.
14923         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14924         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14925         LIBC_SLIBDIR_RTLDDIR.
14926         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14928         LIBC_SLIBDIR_RTLDDIR.
14929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14930         Regenerated.
14931         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14932         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14933         file.
14934         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14935         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14936         file.
14937         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14938         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14939         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14940         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14942         * sysdeps/aarch64/shlib-versions: Move to ...
14943         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14944         * sysdeps/alpha/shlib-versions: Move to ...
14945         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14946         * sysdeps/arm/shlib-versions: Move to ...
14947         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14948         * sysdeps/hppa/shlib-versions: Move all contents except for
14949         libgcc_s entry to ...
14950         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14951         entry from ...
14952         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14953         * sysdeps/ia64/shlib-versions: Move to ...
14954         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14955         entry from ...
14956         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14957         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14958         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14959         * sysdeps/microblaze/shlib-versions: Move to ...
14960         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14961         * sysdeps/mips/shlib-versions: Move to ...
14962         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14963         entry from ...
14964         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14965         * sysdeps/tile/shlib-versions: Move to ...
14966         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14967         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14968         from ...
14969         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14970         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14971         entry from ...
14972         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14974 2014-07-17  Will Newton  <will.newton@linaro.org>
14976         * sysdeps/arm/bits/atomic.h
14977         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14978         (__arch_compare_and_exchange_bool_16_int): Likewise.
14979         (__arch_compare_and_exchange_bool_64_int): Likewise.
14981         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14982         into an #else block.
14984 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14986         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14987         just Linux configurations.  Test empirically that the compiler sets
14988         __ARM_EABI__, rather than using the tuple to decide.
14989         * sysdeps/arm/preconfigure: Regenerated.
14990         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14991         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14992         contents appended ...
14993         * sysdeps/arm/configure.ac: ... here.
14994         * sysdeps/arm/configure: Regenerated.
14996 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14998         * nptl/pthread_kill.c: New file.
14999         * nptl/pthread_sigmask.c: New file.
15000         * nptl/pthread_sigqueue.c: New file.
15002         * sysdeps/nptl/lowlevellock.h: New file.
15003         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15004         * sysdeps/nptl/lowlevellock-futex.h: New file.
15006         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15007         Remove dead declarations.
15009 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15011         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15012         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15013         config-cflags-avx2.
15014         * sysdeps/x86_64/configure.ac: Likewise.
15015         * sysdeps/i386/configure: Regenerated.
15016         * sysdeps/x86_64/configure: Likewise.
15017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15018         memset-avx2 only if config-cflags-avx2 is yes.
15019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15020         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15021         defined.
15022         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15023         only if HAVE_AVX2_SUPPORT is defined.
15024         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15026 2014-07-14  Alan Modra  <amodra@gmail.com>
15028         [BZ #17153]
15029         * elf/elf.h (DT_PPC64_NUM): Correct value.
15030         * NEWS: Add to fixed bug list.
15032 2014-07-13  Jim Meyering  <meyering@fb.com>
15034         [BZ 17150]
15035         regex: don't deref NULL upon heap allocation failure
15036         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15037         failure in one more place.
15038         To trigger the segfault, configure grep -with-included-regex,
15039         build it, and run these commands:
15040         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15042 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15044         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15046 2014-07-11  Richard Henderson  <rth@redhat.com>
15048         * sysdeps/aarch64/libm-test-ulps: Update.
15050 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15052         [BZ #17135]
15053         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15054         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15055         (__nptl_setxid): Initialize error member.  Call
15056         __nptl_setxid_error.
15057         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15058         * nptl/descr.h (struct xid_command): Add error member.
15059         * nptl/tst-setuid3.c: New file.
15060         * nptl/Makefile (tests): Add it.
15062 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15064         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15065         New define.
15066         (__lll_trylock): Use __lll_base_trylock.
15067         (__lll_cond_trylock): Likewise.
15069 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15071         * nptl/pthread_create.c (start_thread): Use atomic_or and
15072         lll_futex_wake directly rather than lll_robust_dead.
15073         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15074         (lll_robust_dead): Macro removed.
15075         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15076         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15077         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15078         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15079         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15080         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15081         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15082         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15083         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15084         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15085         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15086         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15087         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15088         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15089         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15091         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15092         Use atomic_compare_and_exchange_val_acq directly rather than
15093         lll_robust_trylock.
15094         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15095         (__lll_robust_trylock, lll_robust_trylock): Removed.
15096         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15097         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15098         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15099         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15100         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15101         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15102         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15103         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15104         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15105         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15106         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15107         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15108         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15109         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15111 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15113         * manual/locale.texi (Locale Names): New section documenting
15114         locale name syntax.  Adjust menu and node chaining accordingly.
15115         (Choosing Locale): Reference Locale Names, Locale Categories.
15116         Mention setting LC_ALL=C.  Reflect that name syntax is now
15117         documented.
15118         (Locale Categories): New section title.  Reference Locale Names.
15119         LC_ALL is an environment variable, but not a category.
15120         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15121         description, now in Locale Name.  Reference that section.  Locale
15122         name syntax is now documented.
15124 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15126         [BZ #17137]
15127         * locale/findlocale.c (name_present, valid_locale_name): New
15128         functions.
15129         (_nl_find_locale): Use the loc_name variable to store name
15130         candidates.  Call name_present and valid_locale_name to check and
15131         validate locale names.  Return an error if the locale is invalid.
15133 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15135         * locale/setlocale.c (setlocale): Use strdup for allocating
15136         composite name copy.
15138 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15140         Sync up with gnulib.
15141         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15142         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15143         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15144         and _GL_ARG_NONNULL.
15145         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15146         [!_LIBC]: Include code for Windows and Cygwin.
15147         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15148         Include prototype for int strerror_r.
15149         [!_LIBC] (is_open): New function.
15150         (flush_stdout): New function.
15151         (print_errno_message): Use it.
15152         (error): Likewise.
15153         (error_at_line): Likewise.
15154         (error_tail) Add function attribute macros.  Use
15155         __builtin_expect.
15157         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15159         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15161         * io/ftw.c: Include sys/param.h unconditionally.
15163         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15165         [BZ #17125]
15166         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15167         libc_freeres_ptr.
15168         (freecache): New function to free CACHE on exit.
15170         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15171         initialization.
15173 2014-07-09  David S. Miller  <davem@davemloft.net>
15175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15177         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15178         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15179         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15180         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15181         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15182         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15183         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15184         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15185         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15186         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15187         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15188         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15189         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15191 2014-07-09  Andreas Schwab  <schwab@suse.de>
15193         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15194         output.
15195         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15196         (do_test): Likewise.
15198         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15200 2014-07-09  Will Newton  <will.newton@linaro.org>
15202         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15203         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15204         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15205         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15206         * sysdeps/hppa/start.S (_start): Likewise.
15208 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15210         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15212         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15213         defined.
15215 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15217         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15218         after checking that it is non-NULL.
15220         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15222 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15224         * sysdeps/powerpc/memmove.c: Remove file.
15225         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15226         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15227         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15228         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15229         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15230         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15231         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15232         string memmove instead of removed powerpc one.
15234         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15235         [weak_alias]: Fix compiler warning due trailing data.
15236         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15237         [weak_alias]: Likewise.
15238         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15239         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15242         (__libc_ifunc_impl_list): Add memmove functions.
15244 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15246         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15247         Remove code.
15248         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15249         Likewise
15250         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15251         Likewise
15252         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15253         Likewise
15254         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15255         Likewise
15256         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15257         Likewise
15258         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15259         Likewise
15260         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15261         Likewise
15262         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15263         Likewise
15264         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15265         Likewise
15266         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15267         Likewise
15268         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15269         Likewise
15270         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15271         Likewise
15272         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15273         Likewise
15274         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15275         Likewise
15276         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15277         Likewise
15278         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15279         Likewise
15281 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15283         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15284         to avoid alignment traps in non-cacheable memory.
15285         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15288         multiarch objects.
15289         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15290         file: multiarch power7 memmove.
15291         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15292         multiarch default memmove.
15293         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15294         multiarch memove for powerpc32/power4.
15296         * string/bcopy.c: Use full path to include memmove.c.
15297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15298         multiarch objects.
15299         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15300         bcopy for powerpc64.
15301         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15302         bcopy for powerpc64.
15303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15304         and memmove implementations.
15305         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15306         optimized multiarch memmove for POWER7/powerpc64.
15307         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15308         default multiarch memmove for powerpc64.
15309         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15310         multiarch for powerpc64.
15311         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15312         for POWER7/powerpc64.
15313         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15314         memmove for POWER7/powerpc64.
15316         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15317         glibc default one.
15319         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15320         __ELF_NATIVE_CLASS equal to 64.
15322 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15324         * sysdeps/nptl/lowlevellock.h: File removed.
15326         * NEWS: NPTL is no longer an add-on!
15327         * nptl/internaltypes.h: Moved ...
15328         * sysdeps/nptl/internaltypes.h: ... here.
15329         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15330         * sysdeps/nptl/fork.c: Likewise.
15331         * sysdeps/nptl/gai_misc.h: Likewise.
15332         * sysdeps/nptl/librt-cancellation.c: Likewise.
15333         * sysdeps/nptl/jmp-unwind.c: Likewise.
15334         * sysdeps/nptl/setxid.h: Likewise.
15335         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15336         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15337         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15338         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15339         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15340         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15341         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15342         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15343         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15344         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15345         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15346         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15347         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15348         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15349         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15350         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15351         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15352         * nptl/Makeconfig: Moved ...
15353         * sysdeps/nptl/Makeconfig: ... here.
15354         * nptl/configure: File removed.
15355         * nptl/ANNOUNCE: File removed.
15356         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15357         * sysdeps/unix/sysv/linux/configure: Regenerated.
15359         * nptl/Makefile (routines): Add libc_pthread_init,
15360         libc_multiple_threads, register-atfork and unregister-atfork.
15361         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15362         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15363         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15364         pthread-pi-defines.sym, structsem.sym.
15365         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15366         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15367         [$(subdir) = nptl] (tests): Add tst-setgetname.
15368         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15369         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15370         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15371         [!LIBC_SIGACTION]: Remove aliases.
15372         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15373         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15374         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15375         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15376         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15377         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15378         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15379         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15380         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15381         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15382         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15383         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15384         __libc_allocate_rtsig_private.
15385         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15386         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15387         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15388         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15389         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15390         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15391         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15392         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15393         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15394         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15395         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15396         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15397         * nptl/internaltypes.h: ... here.
15398         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15399         * sysdeps/nptl/jmp-unwind.c: ... here.
15400         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15401         * nptl/libc-lowlevellock.c: ... here.
15402         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15403         * nptl/libc_multiple_threads.c: ... here.
15404         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15405         * nptl/libc_pthread_init.c: ... here.
15406         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15407         * nptl/lowlevelbarrier.sym: ... here.
15408         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15409         * nptl/lowlevelcond.sym: ... here.
15410         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15411         * nptl/lowlevellock.c: ... here.
15412         * nptl/lowlevellock.h: Moved ...
15413         * sysdeps/nptl/lowlevellock.h: ... here.
15414         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15415         * nptl/lowlevelrobustlock.c: ... here.
15416         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15417         * nptl/lowlevelrobustlock.sym: ... here.
15418         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15419         * nptl/lowlevelrwlock.sym: ... here.
15420         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15421         * nptl/pt-fork.c: ... here.
15422         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15423         * nptl/pthread-pi-defines.sym: ... here.
15424         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15425         * nptl/pthread_attr_getaffinity.c: ... here.
15426         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15427         * nptl/pthread_attr_setaffinity.c: ... here.
15428         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15429         * nptl/pthread_mutex_cond_lock.c: ... here.
15430         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15431         Update #include.
15432         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15433         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15434         * nptl/pthread_once.c: ... here, replacing old file.
15435         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15436         * nptl/pthread_yield.c: ... here.
15437         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15438         * nptl/register-atfork.c: ... here.
15439         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15440         * nptl/sem_post.c: ... here.
15441         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15442         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15443         * nptl/sem_timedwait.c: ... here.
15444         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15445         * nptl/sem_trywait.c: ... here.
15446         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15447         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15448         * nptl/sem_wait.c: ... here.
15449         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15450         * nptl/structsem.sym: ... here.
15451         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15452         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15453         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15454         * nptl/unregister-atfork.c: ... here.
15455         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15456         * nptl/unwindbuf.sym: ... here.
15457         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15458         * sysdeps/nptl/fork.c: ... here.
15459         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15460         * sysdeps/nptl/fork.h: ... here.
15461         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15462         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15463         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15464         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15465         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15466         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15467         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15468         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15469         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15470         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15471         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15472         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15473         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15474         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15475         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15476         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15477         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15478         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15479         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15480         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15481         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15482         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15483         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15484         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15485         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15486         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15487         * sysdeps/unix/sysv/linux/raise.c: ... here.
15488         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15489         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15490         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15491         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15492         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15493         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15494         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15495         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15496         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15497         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15498         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15499         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15500         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15501         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15502         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15504 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506         * sysdeps/generic/memcopy.h: Add comment for
15507         MEMCPY_OK_FOR_FWD_MEMMOVE.
15509 2014-07-04  Will Newton  <will.newton@linaro.org>
15511         * string/memchr.c: Merge from gnulib.
15512         [_LIBC]: Remove conditionals.
15513         (__ptr_t): Remove define.
15514         (LONG_MAX_32_BITS): Likewise.
15515         (LONG_MAX): Likewise.
15516         (MEMCHR): Use ANSI prototype and optimize algorithm.
15518         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15520 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15522         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15523         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15525         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15526         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15527         in a bare environment with no <stdlib.h> installed.
15528         * sysdeps/nptl/configure: Regenerated.
15530         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15532         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15533         AC_EGREP_CPP for kernel header checks, so they only succeed if
15534         including <linux/version.h> actually works right.
15535         * sysdeps/unix/sysv/linux/configure: Regenerated.
15537         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15538         value so it's not diagnosed as unused.
15540         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15541         thing) with "ifeq ($(subdir),rt)".
15543 2014-07-03  Richard Henderson  <rth@redhat.com>
15545         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15546         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15547         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15549         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15550         (math_force_eval): New.
15552         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15553         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15555         * sysdeps/alpha/fpu/s_round.c: Remove file.
15556         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15558         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15559         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15560         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15561         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15562         (_dl_start, print_statistics): Likewise.
15563         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15564         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15566         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15567         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15568         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15569         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15570         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15571         (HP_SMALL_TIMING_AVAIL): Define.
15572         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15573         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15574         (HP_SMALL_TIMING_AVAIL): Define.
15575         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15576         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15578         * sysdeps/aarch64/hp-timing.h: New file.
15580         * sysdeps/generic/hp-timing.h: Remove dead comment.
15581         * sysdeps/generic/hp-timing-common.h: New file.
15582         * sysdeps/alpha/hp-timing.h: Include it.
15583         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15584         * sysdeps/i386/i686/hp-timing.h: Likewise.
15585         * sysdeps/ia64/hp-timing.h: Likewise.
15586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15587         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15588         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15589         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15590         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15591         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15592         (hp_timing_t): New.
15594         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15595         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15596         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15597         * elf/rtld.c (_dl_start_final): Likewise.
15598         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15599         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15600         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15601         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15602         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15603         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15604         (HP_TIMING_DIFF_INIT): Remove.
15605         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15606         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15607         (HP_TIMING_DIFF_INIT): Remove.
15608         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15609         * sysdeps/i386/i686/hp-timing.c: Remove file.
15610         * sysdeps/x86_64/hp-timing.c: Remove file.
15611         * sysdeps/ia64/hp-timing.c: Remove file.
15612         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15613         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15614         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15615         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15617         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15618         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15619         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15620         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15621         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15622         (HP_TIMING_ACCUM): Remove.
15623         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15624         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15625         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15627         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15628         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15629         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15630         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15631         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15632         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15633         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15634         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15636         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15638 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15640         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15642 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15644         Sync up with gettext.
15645         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15646         [_MSC_VER]: Include malloc.h
15647         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15648         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15649         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15650         TEMP_FAILURE_RETRY.  Cast return of alloca.
15651         [!_LIBC] Call gl_rwlock_init.
15652         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15654 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15656         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15657         before checking its value.
15659 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15661         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15663         * debug/memcpy_chk.c: Don't include pagecopy.h.
15664         * debug/mempcpy_chk.c: Likewise.
15665         * string/memcpy.c: Likewise.
15666         * string/memmove.c: Likewise.
15667         * sysdeps/powerpc/memmove.c: Likewise.
15668         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15669         definition of PAGE_COPY_FWD_MAYBE here...
15670         * sysdeps/generic/pagecopy.h: ... from here.
15671         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15673 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15674             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15676         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15678         optimizations.
15679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15680         (__libc_ifunc_impl_list): Likewise.
15681         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15682         multiarch strcat for PPC64.
15683         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15684         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15686 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15688         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15690 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15692         * intl/loadmsgcat.c: Remove declaration of
15693         get_sysdep_segment_value.
15694         (get_sysdep_segment_value): Use ISO C style.
15695         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15696         semicolon.  Fix typo and formatting in comment.
15697         (_nl_unload_domain): Use ISO C style.
15699         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15701 2014-07-02  Will Newton  <will.newton@linaro.org>
15703         * malloc/obstack.c: Merge from gnulib master.
15704         [HAVE_CONFIG_H]: Remove conditional code.
15705         [!_LIBC]: Include config.h.
15706         [!ELIDE_CODE]: Don't include inttypes.h, include
15707         stdint.h unconditionally.
15708         (print_and_abort): Mark as _Noreturn.
15709         (_obstack_allocated_p): Mark as __attribute_pure__.
15710         (obstack_free): Rename to __obstack_free.
15711         [!__attribute__]: Remove conditional code.
15712         * malloc/obstack.h: Merge from gnulib master.
15713         [__cplusplus]: Move conditional down.
15714         [!__attribute_pure__]: Define __attribute_pure__ here
15715         if it is not already defined.
15716         (_obstack_memory_used): Mark as __attribute_pure__.
15717         [!__obstack_free]: Define as obstack_free.
15718         [__GNUC__]: Remove check for ancient NeXT gcc.
15720 2014-07-02  Will Newton  <will.newton@linaro.org>
15721             Paul Eggert  <eggert@cs.ucla.edu>
15723         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15725 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15727         * resolv/gethnamaddr.c: Add comment warning that the file is
15728         not maintained.
15730 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15732         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15733         entries.
15735         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15736         entry for aio_cancel and aio_cancel64.
15737         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15738         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15739         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15740         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15741         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15742         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15743         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15744         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15745         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15746         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15747         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15748         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15749         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15751 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15753         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15754         * nptl/pthread_mutex_lock.c: Likewise.
15755         * nptl/pthread_mutex_timedlock.c: Likewise.
15756         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15758 2014-07-01  Richard henderson  <rth@redhat.com>
15760         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15761         (__isnan, __isnanl): Remove.
15762         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15764         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15766 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15768         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15770 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15772         * resolv/nss_dns/dns-host.c (getanswer_r)
15773         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15775 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15778         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15779         undefine.
15780         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15781         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15783 2014-07-01  Roland McGrath <roland@hack.frob.com>
15785         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15786         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15788         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15789         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15791         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15792         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15793         ... here.
15794         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15795         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15797         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15798         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15799         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15800         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15802         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15803         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15804         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15805         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15806         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15807         Moved ...
15808         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15809         ... here.
15810         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15811         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15812         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15813         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15814         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15815         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15816         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15817         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15818         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15819         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15820         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15821         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15823         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15824         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15825         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15827         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15828         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15830         ... here.
15831         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15832         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15833         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15834         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15835         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15836         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15837         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15838         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15840 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15842         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15843         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15844         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15845         Add sysdep.
15847 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15851 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15853         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15854         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15856         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15858         * sysdeps/arm/libm-test-ulps: Regenerated.
15860 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15861             Roland McGrath <roland@hack.frob.com>
15863         * test-skeleton.c (signal_handler): Kill the whole process group
15864         before killing the child individually.
15865         (main): Report any failure on `setpgid'.
15867 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15869         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15870         from _TLS_H to _ARM_NPTL_TLS_H.
15871         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15872         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15874 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15876         [BZ #16539]
15877         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15878         (__expm1l): Return argument unchanged when small but not
15879         subnormal.
15881         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15882         include macro name.
15883         (_FP_UNPACK_RAW_1_P): Likewise.
15884         (_FP_PACK_RAW_1): Likewise.
15885         (_FP_PACK_RAW_1_P): Likewise.
15886         (_FP_MUL_MEAT_1_wide): Likewise.
15887         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15888         (_FP_MUL_MEAT_1_hard): Likewise.
15889         (_FP_DIV_MEAT_1_imm): Likewise.
15890         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15891         (_FP_DIV_MEAT_1_udiv): Likewise.
15892         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15893         (_FP_UNPACK_RAW_2): Likewise.
15894         (_FP_UNPACK_RAW_2_P): Likewise.
15895         (_FP_PACK_RAW_2): Likewise.
15896         (_FP_PACK_RAW_2_P): Likewise.
15897         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15898         (_FP_MUL_MEAT_2_wide): Likewise.
15899         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15900         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15901         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15902         (_FP_MUL_MEAT_2_gmp): Likewise.
15903         (_FP_DIV_MEAT_2_udiv): Likewise.
15904         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15905         (_FP_FRAC_SRL_4): Likewise.
15906         (_FP_FRAC_SRST_4): Likewise.
15907         (_FP_FRAC_SRS_4): Likewise.
15908         (_FP_UNPACK_RAW_4): Likewise.
15909         (_FP_UNPACK_RAW_4_P): Likewise.
15910         (_FP_PACK_RAW_4): Likewise.
15911         (_FP_PACK_RAW_4_P): Likewise.
15912         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15913         (_FP_MUL_MEAT_4_wide): Likewise.
15914         (_FP_MUL_MEAT_4_gmp): Likewise.
15915         (umul_ppppmnnn): Likewise.
15916         (_FP_DIV_MEAT_4_udiv): Likewise.
15917         (__FP_FRAC_ADD_4): Likewise.
15918         (__FP_FRAC_SUB_3): Likewise.
15919         (__FP_FRAC_SUB_4): Likewise.
15920         (__FP_FRAC_DEC_3): Likewise.
15921         (__FP_FRAC_DEC_4): Likewise.
15922         (__FP_FRAC_ADDI_4): Likewise.
15923         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15924         (_FP_FRAC_SRL_8): Likewise.
15925         (_FP_FRAC_SRS_8): Likewise.
15927         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15928         include macro name.
15929         (FP_UNPACK_RAW_EP): Likewise.
15930         (FP_PACK_RAW_E): Likewise.
15931         (FP_PACK_RAW_EP): Likewise.
15932         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15933         (_FP_ISSIGNAN): Likewise.
15934         (_FP_ADD_INTERNAL): Likewise.
15935         (_FP_FMA): Likewise.
15936         (_FP_CMP): Likewise.
15937         (_FP_SQRT): Likewise.
15938         (_FP_TO_INT): Likewise.
15939         (_FP_FROM_INT): Likewise.
15940         (FP_EXTEND): Likewise.
15941         (_FP_DIV_MEAT_N_loop): Likewise.
15943 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15945         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15946         throughout.
15948 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15950         [BZ #17097]
15951         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15952         result with correct sign in case of exponents that produce
15953         overflow except for X very close to 1.
15955 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15957         mktime: merge #if/#ifdef usage from glibc
15958         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15959         as that works with both Glibc's and Gnulib's style.
15960         See thread starting at Siddhesh Poyarekar's bug report at:
15961         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15963 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15965         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15966         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15967         * sysdeps/tile/tilegx/memmove.c: Remove file.
15969 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15971         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15972         abi-name definition.
15973         * scripts/soversions.awk: Do not handle or generate ABI lines.
15974         * shlib-versions: Remove ABI entries.
15975         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15976         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15978 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15981         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15982         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15983         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15985         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15987         Moved ...
15988         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15989         ... here.
15990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15991         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15993         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15995         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15997         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15999         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16003         Moved ...
16004         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16006         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16008         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16010         Moved ...
16011         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16013         Moved ...
16014         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16016         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16018         Moved ...
16019         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16023         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16025         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16027         Moved ...
16028         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16030         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16031         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16032         Moved ...
16033         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16035         Moved ...
16036         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16038         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16040         Moved ...
16041         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16042         ... here.
16043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16044         Identical file removed.
16045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16046         Moved ...
16047         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16049         Identical file removed.
16050         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16053         Moved ...
16054         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16055         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16056         Identical file removed.
16057         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16058         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16060         Identical file removed.
16061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16062         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16064         Identical file removed.
16065         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16066         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16068         Identical file removed.
16069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16070         Moved ...
16071         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16073         Identical file removed.
16074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16078         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16080         Identical file removed.
16081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16082         Moved ...
16083         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16084         ... here.
16085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16086         Identical file removed.
16087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16088         Moved ...
16089         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16090         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16091         Identical file removed.
16092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16093         Moved ...
16094         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16096         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16098         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16100         Moved ...
16101         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16102         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16103         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16105         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16106         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16107         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16108         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16109         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16111 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16113         [BZ #17092]
16114         * nscd/nscd.c (monitor_child): Return exit status of child
16115         instead of return value from wait syscall.
16117 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16119         * configure.ac (libc_commonpagesize): Remove variable.
16120         (libc_relro_required): Likewise.
16121         (libc_cv_z_relro): Remove configure test.
16122         * configure: Regenerated.
16123         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16124         variable.
16125         (libc_relro_required): Likewise.
16126         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16127         (libc_relro_required): Likewise.
16128         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16129         (libc_relro_required): Likewise.
16130         * sysdeps/arm/preconfigure: Regenerated.
16131         * sysdeps/ia64/preconfigure: Remove file.
16132         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16133         variable.
16134         (libc_relro_required): Likewise.
16136         [BZ #16561]
16137         [BZ #16562]
16138         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16139         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16140         recompute overflowing results in original rounding mode.
16141         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16142         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16143         recompute overflowing results in original rounding mode.
16144         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16145         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16146         recompute overflowing results in original rounding mode.
16147         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16148         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16149         recompute overflowing results in original rounding mode.
16150         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16151         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16152         recompute overflowing results in original rounding mode.
16153         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16154         (libc_feholdsetround_ctx): New macro.
16155         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16156         * sysdeps/i386/fpu/libm-test-ulps: Update.
16157         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16159 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16161         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16162         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16163         corresponding .cpsetup call.
16165 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16167         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16168         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16169         * sysdeps/arm/Makefile [$(subdir) = csu]
16170         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16171         (static-only-routines): Add aeabi_read_tp here.
16172         (shared-only-routines): Add libc-aeabi_read_tp here.
16173         (CFLAGS-libc-start.c): Add -fexceptions here.
16174         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16175         (sysdep_routines, static-only-routines, shared-only-routines):
16176         Don't add to these here.
16177         (CFLAGS-libc-start.c): Likewise.
16179         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16180         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16181         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16182         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16183         * sysdeps/arm/Makefile [$(subdir) = rt]
16184         (librt-sysdep_routines, librt-shared-only-routines):
16185         Append rt-aeabi_unwind_cpp_pr1 here.
16186         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16187         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16188         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16189         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16190         Append nptl-aeabi_unwind_cpp_pr1 here.
16191         (tests): Filter out tst-cleanupx4 here.
16192         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16193         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16194         Don't do those here.
16196 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16198         * scripts/list-sources.sh: Do not handle ports specially.
16200 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16202         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16203         * sysdeps/arm/feupdateenv.c: Likewise.
16205         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16207 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16209         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16210         trailing whitespace removed.
16211         * scripts/config.guess: Update to version 2014-03-23.
16212         * scripts/config.sub: Update to version 2014-05-01
16213         * scripts/install-sh: Update to version 2013-12-25.23.
16214         * scripts/move-if-change: Update from gnulib.
16216 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16218         * debug/memmove_chk.c: Remove pagecopy.h include.
16220 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16222         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16223         identical to gnulib mktime.
16225 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16227         * configure.ac: Do not test for machine being rs6000.  Do not test
16228         for powerpc*-*soft.
16229         * configure: Regenerated.
16231         [BZ #11505]
16232         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16233         test.
16234         * configure: Regenerated.
16235         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16236         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16237         Remove configure test.
16238         * sysdeps/arm/configure: Regenerated.
16239         * sysdeps/nptl/configure.ac: Do not check
16240         libc_cv_asm_cfi_directives.
16241         * sysdeps/nptl/configure: Regenerated.
16242         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16243         * sysdeps/x86_64/nptl/configure: Remove generated file.
16244         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16245         unconditional.
16246         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16248 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16250         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16251         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16252         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16253         it is defined.
16255         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16256         instead of whether it is defined.
16257         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16258         * sysdeps/hppa/dl-machine.h: Likewise.
16259         * sysdeps/ia64/dl-machine.h: Likewise.
16260         * sysdeps/m68k/dl-machine.h: Likewise.
16261         * sysdeps/microblaze/dl-machine.h: Likewise.
16262         * sysdeps/mips/dl-machine.: Likewise.
16263         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16264         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16265         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16266         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16267         * sysdeps/sh/dl-machine.h: Likewise.
16268         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16269         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16270         * sysdeps/tile/dl-machine.h: Likewise.
16271         * sysdeps/x86_64/dl-machine.h: Likewise.
16273         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16274         code.
16275         (verify_persistent_db): Likewise.
16277 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16280         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16282         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16284         Moved ...
16285         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16286         ... here.
16287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16288         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16290         Identical file removed.
16291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16292         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16294         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16296         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16298         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16300         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16302         Moved ...
16303         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16305         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16307         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16309         Moved ...
16310         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16312         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16314         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16316         Identical file removed.
16317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16318         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16320         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16322         Moved ...
16323         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16324         ... here.
16325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16326         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16328         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16330         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16332         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16334         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16336         Moved ...
16337         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16339         Moved ...
16340         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16342         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16344         Moved ...
16345         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16347         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16349         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16350         folded into ...
16351         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16352         * sysdeps/unix/sysv/linux/s390/Versions
16353         (libpthread: GLIBC_2.19): New version set.
16354         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16355         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16356         (librt: GLIBC_2.3.3): New version set.
16357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16358         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16359         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16360         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16361         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16362         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16363         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16364         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16365         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16366         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16367         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16368         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16369         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16370         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16371         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16372         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16373         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16374         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16375         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16376         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16377         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16378         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16379         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16380         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16381         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16382         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16383         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16384         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16385         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16386         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16387         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16388         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16393         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16395         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16397         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16399         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16401         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16403         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16404         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16405         (__libc_vfork): Define the function under this name.
16406         [!NOT_IN_libc] (__vfork): Make this an alias.
16407         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16409         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16410         (__libc_vfork): Define the function under this name.
16411         [!NOT_IN_libc] (__vfork): Make this an alias.
16412         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16413         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16414         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16415         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16417         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16419         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16420         code that was previously under [RESET_PID].
16421         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16422         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16425         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16426         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16427         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16428         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16429         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16430         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16431         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16432         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16433         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16434         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16435         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16436         Moved ...
16437         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16438         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16439         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16440         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16441         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16442         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16443         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16444         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16445         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16446         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16447         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16448         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16449         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16450         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16451         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16452         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16453         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16454         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16455         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16456         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16457         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16458         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16459         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16460         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16461         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16462         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16463         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16464         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16465         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16467 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16469         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16470         that was previously under [RESET_PID].
16471         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16473 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16475         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16476         not undefine and redefine.
16477         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16478         [O_CLOEXEC]: Make code unconditional.
16479         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16480         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16481         <kernel-features.h>.
16482         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16483         conditional variable definition.
16484         (shm_open) [O_CLOEXEC]: Make code unconditional.
16485         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16486         code.
16488         * configure.ac (USE_REGPARMS): Don't define here.
16489         * configure: Regenerated.
16490         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16491         * sysdeps/i386/configure: Regenerated.
16493         * nptl/createthread.c: Don't include kernel-features.h.
16494         * nptl/pthread_cancel.c: Likewise.
16495         * nptl/pthread_condattr_setclock.c: Likewise.
16496         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16497         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16498         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16499         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16500         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16501         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16502         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16503         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16505         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16506         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16507         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16508         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16509         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16510         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16511         * nscd/gai.c: Likewise.
16512         * nss/nss_db/db-open.c: Likewise.
16513         * sysdeps/generic/ldsodefs.h: Likewise.
16514         * sysdeps/sh/nptl/tls.h: Likewise.
16515         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16516         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16517         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16518         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16519         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16520         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16521         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16522         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16523         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16524         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16525         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16526         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16527         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16528         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16529         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16530         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16531         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16532         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16533         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16534         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16537         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16538         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16543         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16544         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16545         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16546         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16547         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16548         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16549         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16550         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16551         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16552         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16553         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16554         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16555         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16556         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16557         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16558         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16559         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16560         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16561         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16562         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16563         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16564         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16565         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16566         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16567         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16568         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16569         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16570         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16571         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16572         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16595         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16596         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16597         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16598         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16599         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16600         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16601         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16602         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16603         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16604         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16605         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16606         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16607         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16608         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16609         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16610         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16611         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16612         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16613         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16614         * sysdeps/unix/sysv/linux/system.c: Likewise.
16615         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16616         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16617         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16618         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16619         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16620         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16621         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16623         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16624         * configure: Regenerated.
16625         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16627         * configure.ac (base_machine): Do not set specially for particular
16628         machines here.
16629         * configure: Regenerated.
16630         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16631         settings from configure.ac.
16632         * sysdeps/i386/preconfigure: New file.
16633         * sysdeps/s390/preconfigure: Likewise.
16634         * sysdeps/sh/preconfigure: Likewise.
16635         * sysdeps/sparc/preconfigure: Likewise.
16637 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16639         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16640         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16641         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16642         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16643         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16644         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16645         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16646         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16647         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16648         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16649         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16650         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16651         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16652         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16653         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16654         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16656         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16657         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16659         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16660         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16661         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16662         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16663         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16664         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16665         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16666         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16667         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16668         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16669         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16670         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16671         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16672         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16673         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16674         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16675         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16676         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16677         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16678         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16680         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16681         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16683         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16686         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16687         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16688         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16689         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16690         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16691         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16692         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16693         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16694         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16695         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16696         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16699         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16701         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16705         ... here.
16706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16707         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16709         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16714         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16716         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16718         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16720         Moved ...
16721         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16723         Moved ...
16724         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16726         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16728         Moved ...
16729         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16731         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16733         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16735         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16737         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16739         Moved ...
16740         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16741         ... here.
16742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16743         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16745         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16747         Moved ...
16748         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16750         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16752         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16754         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16756         Moved ...
16757         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16759         Moved ...
16760         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16762         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16764         Moved ...
16765         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16767         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16769         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16771 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16773         * timezone/checktab.awk: Update from tzcode 2014e.
16774         * timezone/private.h: Likewise.
16775         * timezone/tzfile.h: Likewise.
16776         * timezone/zdump.c: Likewise.
16777         * timezone/zic.c: Likewise.
16779         * sysdeps/unix/sysv/linux/kernel-features.h
16780         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16781         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16782         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16783         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16784         Remove conditional code.
16786 2014-06-25  Will Newton  <will.newton@linaro.org>
16788         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16789         (_dl_arm_cap_flags): Add HWCAP2 values.
16790         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16791         (_DL_HWCAP_COUNT): Increase to 37.
16792         (_DL_HWCAP_LAST): New define.
16793         (_DL_HWCAP2_LAST): New define.
16794         (_dl_procinfo): Add support for printing
16795         AT_HWCAP2 entries.
16796         (_dl_string_hwcap): Use _dl_hwcap_string.
16798 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16802 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16804         * README: Do not mention ports directory.
16806         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16807         Remove macro.
16808         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16809         <kernel-features.h>.
16810         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16811         conditional variable definition.
16812         (__futimes): Update comment.
16813         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16814         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16816         [BZ #16560]
16817         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16818         arguments close to 0.
16819         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16820         Likewise.
16821         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16822         Likewise.
16823         * math/auto-libm-test-in: Add more tests of exp10.
16824         * math/auto-libm-test-out: Regenerated.
16825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16827         * sysdeps/unix/sysv/linux/kernel-features.h
16828         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16829         * sysdeps/unix/sysv/linux/readv.c: Do not include
16830         <kernel-features.h>.
16831         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16832         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16833         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16834         unconditional.
16835         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16836         conditional code.
16837         * sysdeps/unix/sysv/linux/writev.c: Do not include
16838         <kernel-features.h>.
16839         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16840         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16841         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16842         unconditional.
16843         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16844         conditional code.
16846 2014-06-25  Will Newton  <will.newton@linaro.org>
16848         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16849         comment changes throughout the file.  Remove checks
16850         for HAVE_*_H definitions that are not required.
16851         (__gen_tempname): Call abort if an unknown kind value is
16852         passed.
16854 2014-06-25  Andreas Schwab  <schwab@suse.de>
16856         [BZ #17086]
16857         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16858         scalbln, scalblnf, scalblnl in libc.
16860 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16862         [BZ #17086]
16863         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16864         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16865         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16867 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16869         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16870         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16871         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16872         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16873         Update #include.
16874         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16875         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16876         Update #include.
16877         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16878         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16879         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16880         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16881         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16882         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16883         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16884         * sysdeps/x86/bits/semaphore.h: ... here.
16885         * sysdeps/x86/nptl/elide.h: Moved ...
16886         * sysdeps/x86/elide.h: ... here.
16887         * sysdeps/x86_64/nptl/Implies: File removed.
16888         * sysdeps/i386/nptl/Implies: File removed.
16890 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16892         [BZ #16539]
16893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16894         return the argument for normal arguments with exponent below -64.
16895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16896         Likewise.
16897         * math/auto-libm-test-in: Add another test of expm1.
16898         * math/auto-libm-test-out: Regenerated.
16900         [BZ #16287]
16901         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16902         calling __erfcl for arguments at least 16.
16903         * math/auto-libm-test-in: Add more tests of erf.
16904         * math/auto-libm-test-out: Regenerated.
16906         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16907         individual architectures.
16908         * sysdeps/unix/sysv/linux/configure: Regenerated.
16909         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16910         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16911         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16912         (ldd_rewrite_script): Define variable.
16913         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16915         file.
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16917         generated file.
16918         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16919         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16920         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16921         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16922         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16923         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16924         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16925         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16927 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16929         [BZ #17084]
16930         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16931         Rename member __data.d to __data.__elision_data.
16933 2014-06-24  Wilco  <wdijkstr@arm.com>
16935         * NEWS: Add 16918 to fixed bug list.
16937 2014-06-24  Wilco  <wdijkstr@arm.com>
16939         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16941 2014-06-24  Wilco  <wdijkstr@arm.com>
16943         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16944         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16945         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16946         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16947         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16948         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16949         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16950         Use _FPU_MASK_RM.
16952 2014-06-24  Wilco  <wdijkstr@arm.com>
16954         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16956 2014-06-24  Wilco  <wdijkstr@arm.com>
16958         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16959         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16960         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16961         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16963 2014-06-24  Wilco  <wdijkstr@arm.com>
16965         [BZ #16918]
16966         * sysdeps/arm/feupdateenv.c (feupdateenv):
16967         Rewrite to reduce FPSCR accesses and fix return value.
16969 2014-06-24  Wilco  <wdijkstr@arm.com>
16971         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16972         Optimize to avoid unnecessary FPSCR writes.
16973         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16974         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16975         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16976         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16978 2014-06-24  Wilco  <wdijkstr@arm.com>
16980         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16981         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16982         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16983         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16984         Call libc_fetestexcept_vfp.
16985         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16986         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16987         __SOFTFP__ ifdef so that they can be built for softfp.
16989 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16991         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16992         argument type signed char.
16994         * Makerules (check-abi): Dump diff of symlist if the test
16995         fails.
16997 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16999         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17000         using abort.
17002         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17003         Remove unused variable ST.
17005 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17007         [BZ #16354]
17008         [BZ #17061]
17009         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17010         small arguments before calling __expm1.
17011         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17012         small arguments before calling __expm1f.
17013         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17014         small arguments before calling __expm1l.
17015         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17016         Likewise.
17017         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17018         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17019         spurious underflow for some cosh tests.
17020         * math/auto-libm-test-out: Regenerated.
17021         * sysdeps/i386/fpu/libm-test-ulps: Update.
17023         [BZ #17050]
17024         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17025         (__ieee754_y1): Set errno if return value overflows.
17026         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17027         (__ieee754_y1f): Set errno if return value overflows.
17028         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17029         (__ieee754_y1l): Set errno if return value overflows.
17030         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17031         (__ieee754_y1l): Set errno if return value overflows.
17032         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17033         * math/auto-libm-test-out: Regenerated.
17035         * math/gen-auto-libm-tests.c: Document use of
17036         ignore-zero-inf-sign.
17037         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17038         (input_flags): Add ignore-zero-inf-sign.
17039         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17040         * math/gen-libm-test.pl (generate_testfile): Handle
17041         ignore-zero-inf-sign.
17042         * math/auto-libm-test-in: Mark some cpow tests with
17043         ignore-zero-inf-sign and some with xfail-rounding.
17044         * math/auto-libm-test-out: Regenerated.
17045         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17046         * sysdeps/i386/fpu/libm-test-ulps: Update.
17047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17049         [BZ #16315]
17050         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17051         overflowing or underflowing operations take place with sign of
17052         result.
17053         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17054         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17055         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17056         (__ieee754_pow): Recompute overflowing and underflowing results in
17057         original rounding mode.
17058         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17059         (__powl_helper): Allow negative argument X and scale negated value
17060         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17061         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17062         overflowing or underflowing operations take place with sign of
17063         result.
17064         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17065         Include <math.h>.
17066         * math/auto-libm-test-in: Add more tests of pow.
17067         * math/auto-libm-test-out: Regenerated.
17068         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17069         (pow_tonearest_test_data): Remove.
17070         (pow_test_tonearest): Likewise.
17071         (pow_towardzero_test_data): Likewise.
17072         (pow_test_towardzero): Likewise.
17073         (pow_downward_test_data): Likewise.
17074         (pow_test_downward): Likewise.
17075         (pow_upward_test_data): Likewise.
17076         (pow_test_upward): Likewise.
17077         (main): Don't call removed functions.
17078         * sysdeps/i386/fpu/libm-test-ulps: Update.
17079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17081 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17084         Moved ...
17085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17087         Moved ...
17088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17090         Moved ...
17091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17093         Moved ...
17094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17096         File removed.
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17098         File removed.
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17100         File removed.
17101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17102         File removed.
17103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17104         File removed.
17105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17106         File removed.
17107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17108         File removed.
17109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17110         File removed.
17111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17112         File removed.
17113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17114         File removed.
17115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17116         File removed.
17117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17118         File removed.
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17120         Moved ...
17121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17123         Moved ...
17124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17125         ... here.
17126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17127         Moved ...
17128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17130         Moved ...
17131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17133         Moved ...
17134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17136         Moved ...
17137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17139         Moved ...
17140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17142         Moved ...
17143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17145         Moved ...
17146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17149         ... here.
17150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17151         Moved ...
17152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17154         Moved ...
17155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17156         ... here.
17157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17158         Moved ...
17159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17160         ... here.
17161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17162         Moved ...
17163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17164         ... here.
17165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17166         Moved ...
17167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17169         Moved ...
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17174         Moved ...
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17176         ... here.
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17178         Moved ...
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17180         ... here.
17181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17182         Moved ...
17183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17185         Moved ...
17186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17188         Moved ...
17189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17191         Moved ...
17192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17194         Moved ...
17195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17196         ... here.
17197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17198         Moved ...
17199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17201         Moved ...
17202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17204         Moved ...
17205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17207         Moved ...
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17212         Moved ...
17213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17215         Moved ...
17216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17218         Moved ...
17219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17220         ... here.
17221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17222         Moved ...
17223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17224         ... here.
17225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17226         Moved ...
17227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17228         ... here.
17229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17230         Moved ...
17231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17233         Moved ...
17234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17236         Moved ...
17237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17239         Moved ...
17240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17241         ... here.
17242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17243         Moved ...
17244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17245         ... here.
17246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17247         Moved ...
17248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17249         ... here.
17250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17251         Moved ...
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17254         Moved ...
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17257 2014-06-23  Will Newton  <will.newton@linaro.org>
17258             Wilco  <wdijkstr@arm.com>
17260         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17261         implementation.  Include get-rounding-mode.h.
17262         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17263         [!libc_feholdsetround_noex_ctx]: Define
17264         libc_feholdsetround_noex_ctx.
17265         [!libc_feholdsetround_noexf_ctx]: Define
17266         libc_feholdsetround_noexf_ctx.
17267         [!libc_feholdsetround_noexl_ctx]: Define
17268         libc_feholdsetround_noexl_ctx.
17269         (libc_feholdsetround_ctx): New function.
17270         (libc_feresetround_ctx): New function.
17271         (libc_feholdsetround_noex_ctx): New function.
17272         (libc_feresetround_noex_ctx): New function.
17274 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17276         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17277         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17278         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17279         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17280         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17281         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17283         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17284         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17285         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17286         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17287         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17288         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17290         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17292         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17293         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17294         Moved ...
17295         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17296         ... here.
17297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17298         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17300         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17302         Moved ...
17303         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17305         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17307         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17309         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17311         Moved ...
17312         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17314         Moved ...
17315         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17316         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17317         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17319         Moved ...
17320         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17322         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17323         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17324         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17325         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17326         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17328         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17330         Moved ...
17331         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17332         ... here.
17333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17334         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17336         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17338         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17340         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17342         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17344         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17346         Moved ...
17347         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17349         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17351         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17353         Moved ...
17354         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17356         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17357         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17358         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17360         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17361         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17362         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17363         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17364         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17365         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17366         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17367         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17369         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17370         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17371         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17372         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17373         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17374         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17375         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17376         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17377         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17378         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17379         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17380         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17381         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17383         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17385         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17387         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17389 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17391         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17392         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17393         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17394         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17395         (IPV6_PMTUDISC_INTERFACE): Likewise.
17396         (IPV6_PMTUDISC_OMIT): Likewise.
17398 2014-06-23  Andreas Schwab  <schwab@suse.de>
17400         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17401         Remove unused errout label.
17403 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17405         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17406         macro: hardware supports Vector Crypto instructions.
17408 2014-06-23  Will Newton  <will.newton@linaro.org>
17410         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17411         rather than __builtin_expect.
17413         * elf/dl-lookup.c (undefined_msg): Remove variable.
17414         (_dl_lookup_symbol_x): Replace undefined_msg with string
17415         literal.
17417         * elf/dl-lookup.c (do_lookup_unique): New function.
17418         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17419         to a separate function.
17421 2014-06-23  Andreas Schwab  <schwab@suse.de>
17423         [BZ #17079]
17424         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17425         before reading the next line.
17427 2014-06-23  Will Newton  <will.newton@linaro.org>
17429         * test-skeleton.c (signal_handler): Use printf and %m
17430         rather than perror.  Use printf rather than fprintf to
17431         stderr.  Use puts rather than fputs to stderr.
17432         (main): Likewise.
17434 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17436         * nscd/nscd.c (thread_info_t): Remove typedef.
17437         (thread_info): Remove variable.
17439 2014-06-21  Allan McRae  <allan@archlinux.org>
17441         * NEWS: Mention CVE-2014-4043.
17443 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17445         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17446         * nptl/smp.h: ... here.
17448         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17450         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17451         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17452         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17453         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17455         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17456         * nptl/stack-aliasing.h: New file.
17457         * sysdeps/i386/i686/stack-aliasing.h: New file.
17458         * sysdeps/i386/i686/nptl/Makefile: File removed.
17459         * sysdeps/x86_64/stack-aliasing.h: New file.
17460         * sysdeps/x86_64/nptl/Makefile
17461         (CFLAGS-pthread_create.c): Variable removed.
17463         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17464         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17465         old file.
17466         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17467         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17468         old file.
17470 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17473         (__ASSUME_SIGFRAME_V2): Remove macro.
17474         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17475         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17476         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17477         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17478         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17479         Declare as function.  Remove conditional macro definitions.
17480         (__default_rt_sa_restorer): Likewise.
17481         (__default_sa_restorer_v1): Remove declaration.
17482         (__default_sa_restorer_v2): Likewise.
17483         (__default_rt_sa_restorer_v1): Likewise.
17484         (__default_rt_sa_restorer_v2): Likewise.
17485         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17486         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17487         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17489 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17491         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17492         (libpthread-routines): Add sysdep.
17493         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17494         * sysdeps/unix/sysv/linux/sparc/Versions
17495         (libpthread: GLIBC_2.3.3): New version set.
17496         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17497         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17498         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17499         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17500         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17501         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17502         Moved ...
17503         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17504         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17505         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17506         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17507         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17508         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17509         * sysdeps/sparc/nptl/sem_init.c: ... here.
17510         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17511         * sysdeps/sparc/nptl/sem_post.c: ... here.
17512         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17513         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17514         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17515         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17516         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17517         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17518         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17519         (libpthread-routines): Add cpu_relax.
17520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17521         File removed.
17522         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17523         (librt: GLIBC_2.3.3): New version set.
17524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17525         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17526         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17527         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17530         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17532         Moved ...
17533         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17535         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17537         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17539         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17541         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17543         Moved ...
17544         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17545         Update #include.
17546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17547         Moved ...
17548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17549         Update #include.
17550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17551         Moved ...
17552         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17553         Update #include.
17554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17555         Moved ...
17556         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17557         Update #include.
17558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17559         Moved ...
17560         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17561         Update #include.
17562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17563         Moved ...
17564         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17565         Update #include.
17566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17567         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17569         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17573         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17575         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17577         Moved ...
17578         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17580         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17582         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17584 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17586         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17587         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17588         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17589         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17590         * nscd/nscd.c: Likewise.
17591         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17592         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17593         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17594         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17596         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17597         <kernel-features.h>.
17598         (init_mq_netlink): Remove conditional have_sock_cloexec
17599         definitions.  Remove code conditional on have_sock_cloexec < 0.
17600         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17601         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17602         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17603         <kernel-features.h>.
17604         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17605         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17607 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17610         Add tests for memset_chk and memset.
17612         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17613         with AVX2_Usable.
17615 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17617         [BZ #16046]
17618         * elf/tst-dl-iter-static.c: New file.
17619         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17621         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17622         error.
17624 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17626         * sysdeps/unix/sysv/linux/kernel-features.h
17627         (__ASSUME_F_GETOWN_EX): Remove macro.
17628         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17629         <kernel-features.h>.
17630         (miss_F_GETOWN_EX): Remove variable or macro.
17631         (do_fcntl): Do not check miss_F_GETOWN_EX.
17632         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17635         Remove macro.
17636         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17637         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17638         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17640         * sysdeps/unix/sysv/linux/kernel-features.h
17641         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17642         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17643         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17644         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17646 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17648         [BZ #17075]
17649         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17650         Fix calculation of the symbol's value.
17651         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17652         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17653         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17654         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17655         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17656         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17657         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17658         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17659         (modules-names): Add `tst-armtlsdescmod',
17660         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17661         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17662         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17663         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17664         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17665         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17666         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17667         ($(objpfx)tst-armtlsdescloc): New dependency.
17668         ($(objpfx)tst-armtlsdescextnow): Likewise.
17669         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17670         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17671         TLS scheme support.
17672         * sysdeps/arm/configure: Regenerate.
17674 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17676         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17677         (__atfct_seterrno_2): Likewise.
17678         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17679         <kernel-features.h>.
17680         (__ASSUME_ATFCTS): Do not undefine and redefine.
17681         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17682         (__have_atfcts): Remove conditional definition.
17683         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17684         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17685         unreachable if [__ASSUME_ATFCTS].
17686         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17687         not undefine and redefine.
17688         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17689         <kernel-features.h>.
17690         (faccessat) [__NR_faccessat]: Make code unconditional.
17691         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17692         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17693         <kernel-features.h>.
17694         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17695         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17696         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17697         <kernel-features.h>.
17698         (fchownat) [__NR_fchownat]: Make code unconditional.
17699         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17700         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17701         <kernel-features.h>.
17702         (futimesat) [__NR_futimesat]: Make code unconditional.
17703         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17704         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17705         <kernel-features.h>.
17706         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17707         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17708         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17709         <kernel-features.h>.
17710         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17711         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17712         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17713         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17714         <kernel-features.h>.
17715         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17716         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17717         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17718         <kernel-features.h>.
17719         (linkat) [__NR_linkat]: Make code unconditional.
17720         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17721         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17722         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17723         <kernel-features.h>.
17724         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17725         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17726         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17727         <kernel-features.h>.
17728         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17729         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17730         * sysdeps/unix/sysv/linux/openat.c: Do not include
17731         <kernel-features.h>.
17732         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17733         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17734         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17735         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17736         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17737         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17738         <kernel-features.h>.
17739         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17740         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17741         result of INLINE_SYSCALL directly, not via int variable.
17742         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17743         <kernel-features.h>.
17744         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17745         (renameat) [__NR_renameat]: Make code unconditional.
17746         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17747         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17748         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17749         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17750         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17751         (__ASSUME_ATFCTS): Do not undefine and redefine.
17752         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17753         <kernel-features.h>.
17754         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17755         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17756         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17757         <kernel-features.h>.
17758         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17759         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17760         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17761         (__ASSUME_ATFCTS): Do not undefine and redefine.
17762         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17763         <kernel-features.h>.
17764         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17765         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17766         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17767         <kernel-features.h>.
17768         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17769         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17771 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17773         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17775 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17777         [BZ #17069]
17778         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17779         constructed tree before returning error.
17780         * posix/bug-regexp36.c: Expand test case.
17782 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17784         [BZ #6803]
17785         * math/libm-test.inc (scalbln_test_date):
17786         Add errno expectations.
17787         * math/w_scalblnf.c: New File.
17788         Add wrapper which checks for setting errno to ERANGE.
17789         Add weak_alias for corresponding scalbln function.
17790         * math/w_scalbln.c: Likewise.
17791         * math/w_scalblnl.c: Likewise.
17792         * math/Makefile (libm-calls): Add w_scalbln.
17793         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17794         Remove weak_alias for corresponding scalbln function.
17795         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17796         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17797         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17798         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17799         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17800         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17801         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17802         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17803         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17804         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17805         Remove long_double_symbol for scalblnl function in libm, libc.
17806         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17807         Add wrapper which checks for setting errno to ERANGE.
17808         Add long_double_symbol for scalblnl function in libm, libc.
17809         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17810         Remove long_double_symbol for scalblnl in libm.
17811         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17812         Add wrapper which checks for setting errno to ERANGE.
17813         Add long_double_symbol for scalblnl function in libm.
17814         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17815         Do not use wrapper because of own implementation.
17817 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17819         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17820         3 bytes for __pad1 for x32.
17821         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17823 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17824             H.J. Lu  <hongjiu.lu@intel.com>
17826         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17827         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17828         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17829         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17830         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17832 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17834         [BZ #17069]
17835         * posix/regcomp.c (parse_expression): Deallocate partially
17836         constructed tree before returning error.
17837         * posix/Makefile.c (tests): Add bug-regex36.
17838         (generated): Add bug-regex36.mtrace.
17839         (tests-special): Add $(objpfx)bug-regex36-mem.out
17840         (bug-regex36-ENV): New variable.
17841         ($(objpfx)bug-regex36-mem.out): New rule.
17842         * posix/bug-regex36.c: New file.
17844 2014-06-19  Will Newton  <will.newton@linaro.org>
17846         * malloc/malloc.c (systrim): If extra is zero then return
17847         early.
17849 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17851         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17853 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17855         * sysdeps/aarch64/strchr.S: New file.
17857 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17859         [BZ #17022]
17860         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17861         from arguments -2 or below.
17862         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17863         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17865 2014-06-18  Andreas Schwab  <schwab@suse.de>
17867         [BZ #17062]
17868         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17869         of a bracket expr not to run off the end of the string.
17870         * posix/Makefile (tests): Add tst-fnmatch3.
17871         * posix/tst-fnmatch3.c: New file.
17873 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17875         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17876         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17877         [$(cross-compiling) = no]: Likewise.
17878         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17879         [$(cross-compiling) = no]: Likewise.
17881 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17883         [BZ #17031]
17884         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17885         double, adjusted for any remainder from the high double.
17886         * math/libm-test.inc (nearbyint): Add tests.
17887         (rint): Likewise.
17889 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17891         * nptl/sysdeps/powerpc/Makefile: Moved ...
17892         * sysdeps/powerpc/nptl/Makefile: ... here.
17893         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17894         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17895         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17896         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17897         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17898         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17899         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17900         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17901         * nptl/sysdeps/powerpc/tls.h: Moved ...
17902         * sysdeps/powerpc/nptl/tls.h: ... here.
17904 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17906         [BZ #16681]
17907         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17908         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17909         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17910         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17911         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17912         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17913         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17914         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17915         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17917 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17919         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17921 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17923         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17924         defined operator.
17926         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17927         $TIMEOUTFACTOR.
17929 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17931         [BZ #17058]
17932         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17933         non-executed part of the test.
17935 2014-06-16  Andreas Schwab  <schwab@suse.de>
17937         * string/bits/string2.h (strdup, strndup): Update feature guard.
17939 2014-06-14  David S. Miller  <davem@davemloft.net>
17941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17943 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17945         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17946         that was previously under [RESET_PID].
17947         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17949         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17950         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17951         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17952         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17953         (__libc_vfork): New strong alias.
17954         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17956 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17958         * sysdeps/generic/elide.h: New file.
17960 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17962         * Makefile (installed-headers): Adjust path of pthread.h header.
17964 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17966         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17967         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17968         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17969         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17971         * nptl/sysdeps/s390/Makefile: Moved ...
17972         * sysdeps/s390/nptl/Makefile: ... here.
17973         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17974         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17975         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17976         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17977         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17978         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17979         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17980         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17981         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17982         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17983         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17984         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17985         * nptl/sysdeps/s390/tls.h: Moved ...
17986         * sysdeps/s390/nptl/tls.h: ... here.
17988         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17989         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17991 2014-06-13  David S. Miller  <davem@davemloft.net>
17993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17996         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18000         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18001         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18002         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18003         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18004         Remove RESET_PID cpp guards.
18005         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18006         Remove RESET_PID cpp guards.
18007         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18009 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18011         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18012         __sp to uintptr_t.
18014 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18016         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18017         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18019         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18020         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18021         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18022         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18023         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18024         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18025         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18026         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18027         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18028         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18030         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18031         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18032         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18033         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18034         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18035         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18037         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18038         (pthread_rwlock_rdlock): Add elision.
18039         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18040         (pthread_rwlock_wrlock): Add elision.
18041         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18042         (pthread_rwlock_trywrlock): Add elision.
18043         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18044         (pthread_rwlock_tryrdlock): Add elision.
18045         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18046         (pthread_rwlock_tryrdlock): Add elision unlock.
18047         * nptl/sysdeps/pthread/pthread.h:
18048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18049         (PTHREAD_RWLOCK_INITIALIZER,
18050         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18051         Handle new elision field.
18052         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18053         * sysdeps/arm/nptl/bits/pthreadtypes.h
18054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18055         * sysdeps/sh/nptl/bits/pthreadtypes.h
18056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18057         * sysdeps/tile/nptl/bits/pthreadtypes.h
18058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18059         * sysdeps/a/nptl/bits/pthreadtypes.h
18060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18061         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18063         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18065         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18067         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18069         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18071         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18073         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18075         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18077         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18078         (elision_init): Set try_xbegin to zero when no RTM.
18079         * sysdeps/x86/nptl/bits/pthreadtypes.h
18080         (pthread_rwlock_t): Change __pad1 to __rwelision.
18081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18083 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18085         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18086         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18087         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18088         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18090 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18092         [BZ #16996]
18093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18094         that the cached result has been set before returning it.
18096 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18098         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18099         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18100         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18101         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18102         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18103         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18105         * nptl/sysdeps/sparc/Makefile: Moved ...
18106         * sysdeps/sparc/nptl/Makefile: ... here.
18107         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18108         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18109         * nptl/sysdeps/sparc/tls.h: Moved ...
18110         * sysdeps/sparc/nptl/tls.h: ... here.
18111         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18112         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18113         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18114         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18115         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18116         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18117         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18118         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18119         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18120         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18121         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18122         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18123         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18124         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18125         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18126         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18127         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18128         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18129         Update #include.
18130         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18131         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18132         Update #include.
18133         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18134         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18135         Update #include.
18136         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18137         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18138         Update #include.
18140         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18142         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18143         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18145         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18146         (struct list_links): Type removed.
18147         (struct thread_node, struct timer_node): Replace struct list_links
18148         with struct list_head.
18149         (list_unlink_ip): Likewise.
18150         * sysdeps/pthread/timer_routines.c
18151         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18152         (list_append, list_insbefore): Likewise.
18153         (list_init): Function removed.
18154         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18155         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18156         * sysdeps/pthread/Makefile: ... here, new file.
18158         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18159         * sysdeps/nptl/Implies: ... here.
18160         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18161         * nptl/sysdeps/pthread/list.h: Moved ...
18162         * include/list.h: ... here.
18163         * nptl/sysdeps/pthread/createthread.c: Moved ...
18164         * nptl/createthread.c: ... here.
18165         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18166         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18167         * nptl/pt-longjmp.c: ... here.
18168         * nptl/sysdeps/pthread/Makefile: Moved ...
18169         * sysdeps/nptl/Makefile: ... here.
18170         * nptl/sysdeps/pthread/Subdirs: Moved ...
18171         * sysdeps/nptl/Subdirs: ... here.
18172         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18173         * sysdeps/nptl/aio_misc.h: ... here.
18174         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18175         * sysdeps/nptl/bits/libc-lock.h: ... here.
18176         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18177         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18178         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18179         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18180         * nptl/sysdeps/pthread/configure: Moved ...
18181         * sysdeps/nptl/configure: ... here.
18182         * nptl/sysdeps/pthread/configure.ac: Moved ...
18183         * sysdeps/nptl/configure.ac: ... here.
18184         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18185         * sysdeps/nptl/gai_misc.h: ... here.
18186         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18187         * sysdeps/nptl/librt-cancellation.c: ... here.
18188         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18189         * sysdeps/nptl/malloc-machine.h: ... here.
18190         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18191         * sysdeps/nptl/pthread-functions.h: ... here.
18192         * nptl/sysdeps/pthread/pthread.h: Moved ...
18193         * sysdeps/nptl/pthread.h: ... here.
18194         * nptl/sysdeps/pthread/setxid.h: Moved ...
18195         * sysdeps/nptl/setxid.h: ... here.
18196         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18197         * sysdeps/nptl/sigfillset.c: ... here.
18198         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18199         * sysdeps/nptl/tcb-offsets.h: ... here.
18200         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18201         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18202         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18203         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18204         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18205         * sysdeps/pthread/allocalim.h: ... here.
18206         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18207         * sysdeps/pthread/bits/sigthread.h: ... here.
18208         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18209         * sysdeps/pthread/flockfile.c: ... here.
18210         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18211         * sysdeps/pthread/ftrylockfile.c: ... here.
18212         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18213         * sysdeps/pthread/funlockfile.c: ... here.
18214         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18215         * sysdeps/pthread/posix-timer.h: ... here.
18216         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18217         * sysdeps/pthread/timer_create.c: ... here.
18218         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18219         * sysdeps/pthread/timer_delete.c: ... here.
18220         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18221         * sysdeps/pthread/timer_getoverr.c: ... here.
18222         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18223         * sysdeps/pthread/timer_gettime.c: ... here.
18224         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18225         * sysdeps/pthread/timer_routines.c: ... here.
18226         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18227         * sysdeps/pthread/timer_settime.c: ... here.
18228         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18229         * sysdeps/pthread/tst-timer.c: ... here.
18230         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18231         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18233         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18234         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18236         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18237         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18238         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18239         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18240         Update #include target.
18241         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18242         * sysdeps/i386/i686/nptl/Makefile: ... here.
18243         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18244         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18245         Update #include target.
18246         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18247         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18248         * nptl/sysdeps/i386/Makefile: Moved ...
18249         * sysdeps/i386/nptl/Makefile: ... here.
18250         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18251         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18252         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18253         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18254         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18255         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18256         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18257         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18258         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18259         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18260         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18261         * nptl/sysdeps/i386/tls.h: Moved ...
18262         * sysdeps/i386/nptl/tls.h: ... here.
18264         * sysdeps/sh/Makefile [$(subdir) = csu]
18265         (gen-as-const-headers): Add tcb-offsets.sym.
18266         * nptl/sysdeps/sh/Makefile: File removed.
18267         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18268         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18269         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18270         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18271         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18272         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18273         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18274         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18275         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18276         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18277         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18278         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18279         * nptl/sysdeps/sh/tls.h: Moved ...
18280         * sysdeps/sh/nptl/tls.h: ... here.
18281         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18282         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18283         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18284         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18285         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18286         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18287         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18288         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18289         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18290         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18292         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18294         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18296         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18297         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18298         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18300         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18302         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18305         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18306         Moved ...
18307         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18308         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18309         Moved ...
18310         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18311         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18312         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18314         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18315         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18316         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18317         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18318         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18319         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18320         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18321         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18322         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18323         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18324         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18325         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18326         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18327         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18328         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18330 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18332         * posix/spawn_faction_addopen.c: Include string.h.
18334 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18336         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18337         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18338         * nptl/sysdeps/x86_64/Makefile: Moved ...
18339         * sysdeps/x86_64/nptl/Makefile: ... here.
18340         * nptl/sysdeps/x86_64/configure: Moved ...
18341         * sysdeps/x86_64/nptl/configure: ... here.
18342         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18343         * sysdeps/x86_64/nptl/configure.ac: ... here.
18344         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18345         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18346         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18347         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18348         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18349         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18350         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18351         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18352         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18353         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18354         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18355         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18356         * nptl/sysdeps/x86_64/tls.h: Moved ...
18357         * sysdeps/x86_64/nptl/tls.h: ... here.
18358         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18359         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18360         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18361         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18363         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18365 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18369 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18371         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18372         type.
18373         [POSIX] (off_t): Likewise.
18374         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18375         [POSIX] (S_ISBLK): Require macro.
18376         [POSIX] (S_ISCHR): Likewise.
18377         [POSIX] (S_ISDIR): Likewise.
18378         [POSIX] (S_ISFIFO): Likewise.
18379         [POSIX] (S_ISREG): Likewise.
18380         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18381         optional-macro.
18382         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18383         type.
18384         [POSIX] (time_t): Likewise.
18385         [POSIX] (timer_t): Likewise.
18387 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18389         [BZ #17048]
18390         * posix/spawn_int.h (struct __spawn_action): Make the path string
18391         non-const to support deallocation.
18392         * posix/spawn_faction_addopen.c
18393         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18394         * posix/spawn_faction_destroy.c
18395         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18396         path in all spawn_do_open actions.
18397         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18398         posix_spawn_file_actions_addopen.
18400 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18402         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18403         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18404         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18405         conditional code always true.
18406         (__libc_vfork): New alias.
18408 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18410         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18411         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18413         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18415         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18416         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18418         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18419         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18421         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18422         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18424 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18426         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18427         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18428         multiarch strcmp for PPC64.
18429         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18430         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18432         multiarch optimizations.
18433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18434         (__libc_ifunc_impl_list): Likewise.
18436 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18438         * benchtests/scripts/validate_benchout.py: New script.
18439         * benchtests/Makefile (bench-func): Call it.
18440         * benchtests/scripts/benchout.schema.json: New file.
18442 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18444         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18445         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18446         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18447         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18448         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18449         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18450         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18451         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18452         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18453         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18454         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18455         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18456         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18457         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18458         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18459         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18461         Moved ...
18462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18463         ... here.
18464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18465         Moved ...
18466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18468         Moved ...
18469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18470         ... here.
18471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18472         Moved ...
18473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18474         ... here.
18475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18476         Moved ...
18477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18479         Moved ...
18480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18481         ... here.
18482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18483         Moved ...
18484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18485         ... here.
18486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18487         Moved ...
18488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18490         Moved ...
18491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18492         ... here.
18493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18494         Moved ...
18495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18496         ... here.
18497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18498         Moved ...
18499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18500         ... here.
18501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18502         Moved ...
18503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18505         Moved ...
18506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18507         ... here.
18508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18509         Moved ...
18510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18511         ... here.
18512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18513         Moved ...
18514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18515         ... here.
18516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18517         Moved ...
18518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18520         Moved ...
18521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18522         ... here.
18523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18524         Moved ...
18525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18526         ... here.
18527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18528         Moved ...
18529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18531         Moved ...
18532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18533         ... here.
18534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18535         Moved ...
18536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18538         Moved ...
18539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18541         Moved ...
18542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18543         ... here.
18544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18545         Moved ...
18546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18547         ... here.
18548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18549         Moved ...
18550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18551         ... here.
18552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18553         Moved ...
18554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18556         Moved ...
18557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18558         ... here.
18559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18560         Moved ...
18561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18562         ... here.
18563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18564         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18566         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18568         Moved ...
18569         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18570         ... here.
18571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18572         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18574         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18576         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18578         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18580         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18582         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18584         Moved ...
18585         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18587         Moved ...
18588         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18590         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18592         Moved ...
18593         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18595         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18596         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18597         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18598         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18599         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18601 2014-06-10  Wilco  <wdijkstr@arm.com>
18603         * math/test-fenv-return.c: New file.
18604         * math/Makefile: Add new test test-fenv-return.
18606 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18608         [BZ #17042]
18609         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18610         when x - 1 is zero.
18611         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18612         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18613         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18614         0.0L for an argument of 1.0L.
18615         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18616         Likewise.
18617         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18618         value when x - 1 is zero.
18619         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18620         * sysdeps/i386/fpu/libm-test-ulps: Update.
18621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18623 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18625         [BZ #15119]
18626         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18628 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18630         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18631         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18633 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18635         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18636         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18638         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18639         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18641         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18642         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18644         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18645         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18647         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18648         if not already defined.
18649         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18650         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18651         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18652         (TLS_INIT_TP): Use it.
18653         (TLS_DEFINE_INIT_TP): New macro.
18654         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18656 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18658         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18659         constant.
18660         [POSIX] (IXANY): Likewise.
18661         [POSIX] (OLCUC): Likewise.
18662         [POSIX || POSIX2008] (CBAUD): Do not allow.
18663         [POSIX || POSIX2008] (DEFECHO): Likewise.
18664         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18665         [POSIX || POSIX2008] (ECHOKE): Likewise.
18666         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18667         [POSIX || POSIX2008] (EXTA): Likewise.
18668         [POSIX || POSIX2008] (EXTB): Likewise.
18669         [POSIX || POSIX2008] (FLUSHO): Likewise.
18670         [POSIX || POSIX2008] (LOBLK): Likewise.
18671         [POSIX || POSIX2008] (PENDIN): Likewise.
18672         [POSIX || POSIX2008] (SWTCH): Likewise.
18673         [POSIX || POSIX2008] (VDISCARD): Likewise.
18674         [POSIX || POSIX2008] (VDSUSP): Likewise.
18675         [POSIX || POSIX2008] (VLNEXT): Likewise.
18676         [POSIX || POSIX2008] (VREPRINT): Likewise.
18677         [POSIX || POSIX2008] (VSTATUS): Likewise.
18678         [POSIX || POSIX2008] (VWERASE): Likewise.
18679         (B*): Change to B[0123456789]*.
18680         * conform/data/time.h-data [POSIX || UNIX98]
18681         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18682         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18683         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18684         [POSIX] (tm_*): Do not allow.
18686 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18688         * Makefile (install): Don't set LANGUAGE.
18689         * Makefile.in (install): Likewise.
18690         * assert/Makefile (test-assert-ENV): Remove variable.
18691         (test-assert-perr-ENV): Likewise.
18692         * elf/Makefile (neededtest4-ENV): Likewise.
18693         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18694         [$(cross-compiling) = no]: Don't set LANGUAGE.
18695         * io/ftwtest-sh (LANG): Remove variable.
18696         * libio/Makefile (tst-widetext-ENV): Likewise.
18697         * manual/install.texi (Running make install): Don't refer to
18698         environment settings for make install.
18699         * INSTALL: Regenerated.
18700         * nptl/tst-tls6.sh: Don't set LANG.
18701         * posix/globtest.sh (LANG): Remove variable.
18702         * string/Makefile (tester-ENV): Likewise.
18703         (inl-tester-ENV): Likewise.
18704         (noinl-tester-ENV): Likewise.
18705         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18706         [$(cross-compiling) = no]: Don't set LANGUAGE.
18707         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18708         without explicit environment settings.
18710 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18712         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18713         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18714         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18715         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18717 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18719         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18720         other files in the crypt directory.
18721         * crypt/crypt.c: Remove duplicate includes.
18722         * crypt/crypt-entry.c: Likewise.
18723         * crypt/crypt_util.c: Likewise.
18725 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18727         * Makeconfig (run-program-env): New variable.
18728         (run-program-prefix-before-env): Likewise.
18729         (run-program-prefix-after-env): Likewise.
18730         (run-program-prefix): Define in terms of new variables.
18731         (built-program-cmd-before-env): New variable.
18732         (built-program-cmd-after-env): Likewise.
18733         (built-program-cmd): Define in terms of new variables.
18734         (test-program-prefix-before-env): New variable.
18735         (test-program-prefix-after-env): Likewise.
18736         (test-program-prefix): Define in terms of new variables.
18737         (test-program-cmd-before-env): New variable.
18738         (test-program-cmd-after-env): Likewise.
18739         (test-program-cmd): Define in terms of new variables.
18740         * Rules (make-test-out): Use $(run-program-env).
18741         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18742         (help): Do not mention environment variables.  Mention
18743         --timeoutfactor option.
18744         (timeoutfactor): New variable.
18745         (blacklist_exports): Remove function.
18746         (exports): Remove variable.
18747         (command): Do not include ${exports}.
18748         * manual/install.texi (Configuring and compiling): Do not mention
18749         test wrappers preserving environment variables.  Mention that last
18750         assignment to a variable must take precedence.
18751         * INSTALL: Regenerated.
18752         * benchtests/Makefile (run-bench): Use $(run-program-env).
18753         * catgets/Makefile ($(objpfx)test1.cat): Use
18754         $(built-program-cmd-before-env), $(run-program-env) and
18755         $(built-program-cmd-after-env).
18756         ($(objpfx)test2.cat): Do not specify environment variables
18757         explicitly.
18758         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18759         $(run-program-env) and $(built-program-cmd-after-env).
18760         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18761         $(run-program-env) and $(test-program-cmd-after-env).
18762         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18763         explicitly.
18764         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18765         run_program_env and test_program_cmd_after_env arguments.
18766         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18767         * elf/tst-pathopt.sh: Use run_program_env argument.
18768         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18769         $(test-wrapper-env) and $(run-program-env).
18770         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18771         run_program_env arguments.
18772         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18773         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18774         $(test-program-prefix-before-env), $(run-program-env) and
18775         $(test-program-prefix-after-env).
18776         ($(objpfx)tst-gettext2.out): Likewise.
18777         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18778         run_program_env and test_program_prefix_after_env arguments.
18779         * intl/tst-gettext2.sh: Likewise.
18780         * intl/tst-gettext4.sh: Do not set environment variables
18781         explicitly.
18782         * intl/tst-gettext6.sh: Likewise.
18783         * intl/tst-translit.sh: Likewise.
18784         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18785         $(test-program-prefix-before-env), $(run-program-env) and
18786         $(test-program-prefix-after-env).
18787         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18788         run_program_env and test_program_prefix_after_env arguments.
18789         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18790         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18791         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18792         explicitly with each use of ${test_wrapper_env}.
18793         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18794         $(test-program-prefix-before-env), $(run-program-env) and
18795         $(test-program-prefix-after-env).
18796         * posix/tst-getconf.sh: Do not set environment variables
18797         explicitly.
18798         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18799         run_program_env and test_program_prefix_after_env arguments.
18800         * stdio-common/tst-printf.sh: Do not set environment variables
18801         explicitly.
18802         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18803         $(test-program-prefix-before-env), $(run-program-env) and
18804         $(test-program-prefix-after-env).
18805         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18806         run_program_env and test_program_prefix_after_env arguments.
18807         Split $test calls into $test_pre and $test.
18808         * timezone/Makefile (build-testdata): Use
18809         $(built-program-cmd-before-env), $(run-program-env) and
18810         $(built-program-cmd-after-env).
18812 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18814         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18815         strlen for non SHARED builds.
18817 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18819         * nptl/allocatestack.c (check_list): Inlined function...
18820         (__reclaim_stacks): ... here.
18822 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18824         [BZ #15698]
18825         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18826         memory overrun.
18828 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18830         * Rules (make-test-out): Include
18831         LOCPATH=$(common-objpfx)localedata in default environment.
18832         * debug/Makefile (tst-chk1-ENV): Remove variable.
18833         (tst-chk2-ENV): Likewise.
18834         (tst-chk3-ENV): Likewise.
18835         (tst-chk4-ENV): Likewise.
18836         (tst-chk5-ENV): Likewise.
18837         (tst-chk6-ENV): Likewise.
18838         (tst-lfschk1-ENV): Likewise.
18839         (tst-lfschk2-ENV): Likewise.
18840         (tst-lfschk3-ENV): Likewise.
18841         (tst-lfschk4-ENV): Likewise.
18842         (tst-lfschk5-ENV): Likewise.
18843         (tst-lfschk6-ENV): Likewise.
18844         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18845         (tst-iconv7-ENV): Likewise.
18846         * intl/Makefile (LOCPATH-ENV): Likewise.
18847         (tst-codeset-ENV): Likewise.
18848         (tst-gettext3-ENV): Likewise.
18849         (tst-gettext5-ENV): Likewise.
18850         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18851         (tst-fopenloc-ENV): Likewise.
18852         (tst-fgetws-ENV): Remove variable.
18853         (tst-ungetwc1-ENV): Likewise.
18854         (tst-ungetwc2-ENV): Likewise.
18855         (bug-ungetwc2-ENV): Likewise.
18856         (tst-swscanf-ENV): Likewise.
18857         (bug-ftell-ENV): Likewise.
18858         (tst-fgetwc-ENV): Likewise.
18859         (tst-fseek-ENV): Likewise.
18860         (tst-ftell-partial-wide-ENV): Likewise.
18861         (tst-ftell-active-handler-ENV): Likewise.
18862         (tst-ftell-append-ENV): Likewise.
18863         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18864         (tst-regexloc-ENV): Likewise.
18865         (bug-regex1-ENV): Likewise.
18866         (tst-regex-ENV): Likewise.
18867         (tst-regex2-ENV): Likewise.
18868         (bug-regex5-ENV): Likewise.
18869         (bug-regex6-ENV): Likewise.
18870         (bug-regex17-ENV): Likewise.
18871         (bug-regex18-ENV): Likewise.
18872         (bug-regex19-ENV): Likewise.
18873         (bug-regex20-ENV): Likewise.
18874         (bug-regex22-ENV): Likewise.
18875         (bug-regex23-ENV): Likewise.
18876         (bug-regex25-ENV): Likewise.
18877         (bug-regex26-ENV): Likewise.
18878         (bug-regex30-ENV): Likewise.
18879         (bug-regex32-ENV): Likewise.
18880         (bug-regex33-ENV): Likewise.
18881         (bug-regex34-ENV): Likewise.
18882         (bug-regex35-ENV): Likewise.
18883         (tst-rxspencer-ENV): Likewise.
18884         (tst-rxspencer-no-utf8-ENV): Likewise.
18885         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18886         (tst-sscanf-ENV): Likewise.
18887         (tst-swprintf-ENV): Likewise.
18888         (tst-swscanf-ENV): Likewise.
18889         (test-vfprintf-ENV): Likewise.
18890         (scanf13-ENV): Likewise.
18891         (bug14-ENV): Likewise.
18892         (tst-grouping-ENV): Likewise.
18893         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18894         (tst-strtod3-ENV): Likewise.
18895         (tst-strtod4-ENV): Likewise.
18896         (tst-strtod5-ENV): Likewise.
18897         (testmb2-ENV): Likewise./
18898         * string/Makefile (tst-strxfrm-ENV): Likewise.
18899         (tst-strxfrm2-ENV): Likewise.
18900         (bug-strcoll1-ENV): Likewise.
18901         (test-strcasecmp-ENV): Likewise.
18902         (test-strncasecmp-ENV): Likewise.
18903         * time/Makefile (tst-strptime-ENV): Likewise.
18904         (tst-ftime_l-ENV): Likewise.
18905         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18906         (tst-mbrtowc-ENV): Likewise.
18907         (tst-wcrtomb-ENV): Likewise.
18908         (tst-mbrtowc2-ENV): Likewise.
18909         (tst-c16c32-1-ENV): Likewise.
18910         (tst-mbsnrtowcs-ENV): Likewise.
18912 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18914         * manual/resource.texi (How to get information about the memory
18915         subsystem?): Fix typo.
18916         Reported by Peon de la Parra Ivan <peon@keba.com>
18918 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18920         [BZ #16882]
18921         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18922         (pthread_spin_lock): Branch out of spin loop to proper location.
18923         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18924         (pthread_spin_lock): Likewise.
18926         * nptl/tst-spin4.c: New test.
18927         * nptl/Makefile (tests): Add tst-spin4.
18929 2014-06-03  Andreas Schwab  <schwab@suse.de>
18931         [BZ #15946]
18932         * resolv/res_send.c (send_dg): Reload file descriptor after
18933         calling reopen.
18935 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18937         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18939 2014-06-03  Richard Henderson  <rth@redhat.com>
18941         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18942         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18943         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18944         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18945         in the SAVE_PID block.
18946         (__libc_vfork): New alias.
18947         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18949         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18950         child in registers, not on the stack.  Remove RESET_PID conditionals.
18951         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18953 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18955         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18957 2014-06-03  Wilco  <wdijkstr@arm.com>
18959         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18960         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18961         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18962         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18963         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18964         Likewise.
18966 2014-06-03  Wilco  <wdijkstr@arm.com>
18968         * sysdeps/aarch64/fpu/math_private.h
18969         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18970         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18971         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18972         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18973         Fix declarations.
18975 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18977         * crypt/crypt-private.h: Include ufc-crypt.h.
18978         (__b64_from_24bit): Declare extern.
18979         * crypt/crypt_util.c(__b64_from_24bit): New function.
18980         (b64t): New static const variable.
18981         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18982         (b64t): Remove variable.
18983         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18984         * crypt/sha256-crypt.c: Include crypt-private.h.
18985         (b64t): Remove variable.
18986         (__sha256_crypt_r): Remove b64_from_24bit and replace
18987         with __b64_from_24bit.
18988         * crypt/sha512-crypt.c: Likewise.
18990 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18992         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18993         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18994         Label the code __libc_vfork rather than __vfork.
18995         [!NOT_IN_libc] (vfork): Define as weak alias.
18996         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18997         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18998         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19000 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19002         * malloc/malloc.c (malloc_info): Fix format specifier for
19003         n_mmaps.
19005 2014-06-02  Wilco  <wdijkstr@arm.com>
19007         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19008         FPCR write.
19010 2014-06-02  Wilco  <wdijkstr@arm.com>
19012         [BZ #17009]
19013         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19014         Rewrite to reduce FPCR/FPSR accesses.
19016 2014-06-01  David S. Miller  <davem@davemloft.net>
19018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19020 2014-05-31  David S. Miller  <davem@davemloft.net>
19022         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19023         to occur in round to nearest mode when |x| >= 2.0
19025 2014-05-30  Richard Henderson  <rth@twiddle.net>
19027         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19028         (PSEUDO_RET_NOERRNO): Remove.
19029         (ret): Don't redefine.
19030         (ret_NOERRNO): Define in terms of ret.
19031         (ret_ERRVAL): Likewise.
19033         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19034         use of PSEUDO_RET; perform the error check directly.
19036 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19038         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19039         with __int128_t.
19041 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19043         * malloc/malloc (malloc_info): Fix formatting.
19045 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19046             Roland McGrath  <roland@hack.frob.com>
19048         * malloc/malloc (malloc_info): Also print mmapped statistics.
19050 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19052         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19053         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19055 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19057         * malloc/malloc.c (malloc_info): Inline mi_arena.
19059 2014-05-29  Richard Henderson  <rth@twiddle.net>
19061         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19062         Remove comma before expanding ASM_ARGS_##nr.
19063         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19064         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19065         of ASM_ARGS_##nr.
19066         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19067         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19068         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19069         (ASM_ARGS_1): Add leading comma.
19071         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19072         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19073         to __errno_location.
19074         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19075         Remove the expected plt for __errno_location.
19077         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19078         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19079         call to __read_tp.
19081         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19082         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19083         it and break it down.
19084         (DOCARGS_0, DOCARGS_1): Do nothing.
19085         (DOCARGS_2): Update to store into the new stack frame.
19086         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19087         (UNDOCARGS_1): Update to restore from the new stack frame.
19088         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19089         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19092         (SINGLE_THREAD_P): New parameter for result regno.
19093         (PSEUDO): Update to match; use cbz instead of beq.
19095         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19096         Use ENTRY to define the _nocancel entry point.  Share the syscall
19097         and syscall error check paths with the cancel path.
19098         (PSEUDO_END): New.
19100         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19101         whitespace; tabs before and after asm mnemonics.
19103 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19105         [BZ #15132]
19106         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19107         Call fstat64 or stat64 internally, depending on arguments passed.
19108         Replace stat buffer argument with file descriptor argument.
19109         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19110         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19111         Pass fd to __internal_statvfs instead of calling fstat64.
19112         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19113         Pass fd to __internal_statvfs64 instead of calling fstat64.
19114         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19115         Pass -1 to __internal_statvfs instead of calling stat64.
19116         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19117         Pass -1 to __internal_statvfs64 instead of calling stat64.
19119 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19121         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19122         that was previously under [RESET_PID].
19123         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19125         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19126         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19128 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19130         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19132         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19133         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19135 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19137         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19139 2014-05-27  Andreas Schwab  <schwab@suse.de>
19141         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19142         TLS_INIT_TP macro.
19143         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19144         * elf/rtld.c (init_tls, dl_main): Likewise.
19145         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19146         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19147         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19148         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19149         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19150         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19151         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19152         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19153         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19154         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19155         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19156         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19157         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19158         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19159         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19160         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19161         * sysdeps/generic/tls.h: Update description.
19163 2014-05-27  Will Newton  <will.newton@linaro.org>
19165         [BZ #16990]
19166         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19167         and restore r2 rather than just restoring.
19169 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19171         [BZ #16724]
19172         * libio/tst-ftell-append.c: New test case.
19173         * libio/Makefile (tests): Add test case.
19174         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19175         append mode.
19176         * libio/wfileops.c (do_ftell_wide): Likewise.
19178 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19182         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19183         ...
19184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19186         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19187         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19188         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19189         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19190         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19191         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19193         Moved ...
19194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19196         Moved ...
19197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19198         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19199         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19200         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19201         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19202         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19203         ...
19204         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19205         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19206         Moved ...
19207         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19208         here.
19209         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19210         ...
19211         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19212         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19213         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19215         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19216         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19217         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19218         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19221         merge into ...
19222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19224         ...
19225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19227         ...
19228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19230         Moved ...
19231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19232         here.
19233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19234         Moved ...
19235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19237         Moved ...
19238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19241         conditional [RESET_PID].
19242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19244         removed.
19245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19246         removed.
19248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19249         <tcb-offsets.h>.
19250         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19251         (__libc_vfork): New strong alias.
19252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19253         removed.
19254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19255         Removed.
19257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19258         <tcb-offsets.h>.
19259         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19260         (__libc_vfork): New strong alias.
19261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19262         removed.
19263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19264         removed.
19266 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19268         * malloc/malloc.c (mi_arena): New function.
19269         (malloc_info): Remove nested function mi_arena. Call non-nosted
19270         function mi_arena.
19272 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19274         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19275         by insrwi.
19276         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19277         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19278         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19279         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19280         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19281         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19282         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19284 2014-05-26  Andreas Schwab  <schwab@suse.de>
19286         [BZ #16984]
19287         * locale/programs/repertoire.c (repertoire_read): Add slash
19288         between I18NPATH element and file name.
19289         * locale/programs/locfile.c (locfile_read): Likewise.
19291 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19293         * nptl/pthread_mutexattr_settype.c
19294         (__pthread_mutexattr_settype):
19295         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19297 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19299         * nptl/tst-mutex5 (do_test):
19300         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19302 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19304         * benchtests/README: Document 'init' directive.
19305         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19306         BENCH_INIT.
19307         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19308         (parse_file): Recognize 'init' directive.
19310 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19312         [BZ #16796]
19313         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19314         alignment of struct pthread.
19316 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19318         [BZ #16878]
19319         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19320         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19321         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19322         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19324 2014-05-25  Richard Henderson  <rth@twiddle.net>
19326         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19327         (SINGLE_THREAD_P_PIC): Remove.
19328         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19329         (SINGLE_THREAD_P_PIC): Remove.
19331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19332         branch to syscall error ...
19333         (PSEUDO): ... here.
19334         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19335         from __local_syscall_error to .Lsyscall_error.
19336         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19337         (SYSCALL_ERROR): Update label name.
19339         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19340         Do not use DOARGS/UNDOARGS.
19341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19342         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19343         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19344         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19345         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19348         block comment.
19350         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19351         define if !NOT_IN_libc.
19352         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19353         define with non-default symbol versions.
19355 2014-05-23  Richard Henderson  <rth@twiddle.net>
19357         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19358         (vfork, __vfork): Define via compat_symbol.
19360         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19361         [!HAVE_IFUNC] (vfork_compat): Remove.
19362         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19364 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19366         [BZ #16978]
19367         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19368         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19369         variable.
19371 2014-05-23  Richard Henderson  <rth@twiddle.net>
19373         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19374         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19375         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19376         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19378         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19379         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19380         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19381         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19382         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19383         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19384         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19385         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19386         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19387         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19388         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19389         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19390         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19391         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19392         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19393         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19394         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19395         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19396         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19397         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19398         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19399         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19400         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19401         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19402         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19403         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19404         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19405         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19406         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19407         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19408         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19409         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19410         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19411         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19412         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19413         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19414         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19415         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19416         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19417         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19418         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19419         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19420         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19421         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19422         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19423         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19424         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19425         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19426         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19427         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19428         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19429         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19430         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19431         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19433         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19435         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19436         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19437         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19438         before exiting on error.
19439         (__libc_vfork): New strong alias.
19440         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19441         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19443         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19444         that was previously under [RESET_PID].
19445         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19447         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19449 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19451         [BZ #16977]
19452         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19453         value when x - 1 is zero.
19454         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19455         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19456         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19457         0.0L for an argument of 1.0L.
19458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19459         Likewise.
19460         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19461         value when x - 1 is zero.
19462         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19463         * sysdeps/i386/fpu/libm-test-ulps: Update.
19464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19466 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19468         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19469         alphasort and versionsort.
19471 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19473         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19474         macro.
19475         [copysignf]: Likewise.
19477 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19479         * crypt/md5-crypt.c: Fix formatting.
19481 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19483         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19484         (b64_from_24bit): New function.
19486 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19488         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19489         libc_hidden_builtin_def to ifunc.
19490         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19491         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19493 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19495         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19496         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19498 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19500         * nscd/Depend (linuxthreads): Remove.
19501         (nptl): Add.
19502         * resolv/Depend (linuxthreads): Remove.
19503         * rt/Depend (linuxthreads): Remove.
19505         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19506         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19507         $(common-objpfx)elf/.
19508         (link-libc-before-gnulib): Likewise.
19509         (elfobjdir): Remove variable.
19510         * Makefile (install): Use $(elf-objpfx) instead of
19511         $(common-objpfx)elf/.
19512         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19513         $(elfobjdir)/.
19514         (link-libc-deps): Likewise.
19515         ($(common-objpfx)libc.so): Likewise.
19516         ($(common-objpfx)linkobj/libc.so): Likewise.
19517         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19518         instead of $(common-objpfx)elf/.
19519         (symbolic-link-list): Likewise.
19520         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19521         [$(cross-compiling) = no]: Likewise.
19522         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19523         $(elfobjdir)/.
19524         (static-gnulib-arch): Likewise.
19525         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19526         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19527         $(common-objpfx)elf/.
19529 2014-05-21  Richard Henderson  <rth@redhat.com>
19531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19532         (SINGLE_THREAD_P): Use the correct width load.  Fold
19533         into the ldr offset.
19535         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19536         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19538 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19540         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19541         (libgcc_s_resume): Use __attribute_used__.
19542         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19543         Likewise.
19545 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19547         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19548         optimization when used with float constants.
19550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19552 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19554         [BZ #16915]
19555         * locale/nl_langinfo_l.c: Make direct reference to every
19556         _nl_current_CATEGORY symbol.
19557         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19558         (tests-static): Add tst-langinfo-static.
19559         (tests-special): Add tst-langinfo-static.out.
19560         ($(objpfx)tst-langinfo.out): Redirect output.
19561         ($(objpfx)tst-langinfo-static.out): New.
19562         * localedata/tst-langinfo.sh: Send output to stdout.
19563         * localedata/tst-langinfo-static.c: New file.
19565         [BZ #16965]
19566         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19567         when the shift amount is modulo the limb size.
19569 2014-05-20  Richard Henderson  <rth@redhat.com>
19571         [BZ #16967]
19572         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19573         Change type of sa_flags from unsigned int to int.
19575         [BZ #16966]
19576         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19578         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19580 2014-05-20  Will Newton  <will.newton@linaro.org>
19582         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19583         Test the return value of the system call in the nocancel case.
19585 2014-05-20  Will Newton  <will.newton@linaro.org>
19586             Yvan Roux  <yvan.roux@linaro.org>
19588         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19589         #include of asm/ptrace.h.
19590         (PTRACE_GET_THREAD_AREA): Remove #undef.
19591         (PTRACE_GETHBPREGS): Likewise.
19592         (PTRACE_SETHBPREGS): Likewise.
19593         (struct user_regs_struct): New structure.
19594         (struct user_fpsimd_struct): New structure.
19595         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19596         #include of asm/ptrace.h and second #include of sys/user.h.
19597         (PTRACE_GET_THREAD_AREA): Remove #undef.
19598         (PTRACE_GETHBPREGS): Likewise.
19599         (PTRACE_SETHBPREGS): Likewise.
19600         (ELF_NGREG): Use new struct user_regs_struct.
19601         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19603 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19605         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19606         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19608 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19610         [BZ #16958]
19611         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19612         membar to avoid block loads/stores to overlap previous stores.
19614 2014-05-17  Richard Henderson  <rth@redhat.com>
19616         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19617         Create the __##syscall_name##_nocancel entry point.
19618         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19619         Remove; let the sysdep-cancel.h code create it.
19621 2014-05-17  David S. Miller  <davem@davemloft.net>
19623         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19624         Protect with __USE_GNU.
19625         (TIOCSET_TEMPT): Likewise.
19626         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19627         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19628         these are already provided in bits/ioctl-types.h
19630 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19632         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19633         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19635         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19636         Use wait4 regardless of [__NR_waitpid].
19638 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19640         PR libgcc/60166
19641         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19642         (_FP_NANSIGN_Q): Set the quiet bit.
19644 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19646         * benchtests/Makefile
19647         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19648         not $(common-objpfx)math/libm.so.
19649         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19650         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19651         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19652         $(common-objpfx)dlfcn/libdl.so.
19653         ($(objpfx)tst-audit8): Depend on $(libm), not
19654         $(common-objpfx)math/libm.so.
19655         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19656         not $(common-objpfx)dlfcn/libdl.so.
19657         * math/Makefile
19658         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19659         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19660         [$(build-shared) = yes].
19661         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19662         $(common-objpfx)nptl/libpthread.so.
19663         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19664         $(common-objpfx)math/libm.so$(libm.so-version) or
19665         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19666         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19667         $(common-objpfx)dlfcn/libdl.so.
19668         * setjmp/Makefile (link-libm): Remove variable.
19669         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19670         * stdio-common/Makefile (link-libm): Remove variable.
19671         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19672         * stdlib/Makefile (link-libm): Remove variable.
19673         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19674         ($(objpfx)tst-strtod-round): Likewise.
19675         ($(objpfx)tst-tininess): Likewise.
19676         ($(objpfx)tst-strtod-underflow): Likewise.
19677         ($(objpfx)tst-strtod6): Likewise.
19678         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19679         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19680         $(common-objpfx)dlfcn/libdl.so.
19682 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19684         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19685         BSD terminal modes definitions.
19687 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19689         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19690         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19692         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19693         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19694         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19695         Don't do #include_next.
19696         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19697         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19698         Don't do #include_next.
19699         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19700         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19701         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19702         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19704 2014-05-16  Allan McRae  <allan@archlinux.org>
19706         * po/sv.po: Update Swedish translation from translation project.
19708         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19709         in sed expression.
19711 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19713         [BZ #16917]
19714         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19715         errno if the TIOCGPTN ioctl fails with an error different than
19716         EINVAL.
19717         * login/tst-ptsname.c: New file.
19718         * login/Makefile (tests): Add tst-ptsname.
19720         [BZ #16943]
19721         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19722         and prlimit64.
19724 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19726         [BZ #16849]
19727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19728         herrno to return EAI_AGAIN.
19730 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19732         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19733         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19734         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19735         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19736         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19737         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19738         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19739         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19741         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19742         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19743         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19744         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19745         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19746         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19747         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19748         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19749         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19750         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19751         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19752         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19753         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19754         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19755         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19756         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19757         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19758         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19759         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19761         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19763         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19765         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19767         Moved ...
19768         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19770         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19772         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19774         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19776         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19778         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19780         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19782         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19784         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19786         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19788         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19790         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19792         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19794         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19796         Moved ...
19797         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19799         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19801         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19803         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19805         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19807         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19809         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19811         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19813         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19815         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19817         Moved ...
19818         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19820         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19822         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19823         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19824         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19825         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19826         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19827         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19828         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19829         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19830         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19831         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19832         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19833         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19834         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19835         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19836         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19837         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19838         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19839         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19840         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19841         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19842         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19843         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19844         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19845         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19846         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19847         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19848         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19849         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19850         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19851         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19852         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19854         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19855         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19857         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19858         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19859         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19860         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19861         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19863         Moved ...
19864         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19865         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19866         Moved ...
19867         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19868         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19869         Moved ...
19870         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19871         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19872         Moved ...
19873         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19874         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19875         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19877         Moved ...
19878         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19879         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19880         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19882         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19883         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19884         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19885         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19886         Moved ...
19887         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19888         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19889         Moved ...
19890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19891         ... here.
19892         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19893         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19894         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19895         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19897         Moved ...
19898         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19899         ... here.
19900         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19901         Moved ...
19902         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19903         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19904         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19905         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19906         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19908         Moved ...
19909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19910         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19911         Moved ...
19912         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19913         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19914         Moved ...
19915         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19916         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19917         Moved ...
19918         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19919         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19920         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19922         Moved ...
19923         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19924         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19925         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19927         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19928         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19929         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19930         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19931         Moved ...
19932         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19933         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19934         Moved ...
19935         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19936         ... here.
19937         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19938         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19939         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19940         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19942         Moved ...
19943         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19944         ... here.
19945         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19946         Moved ...
19947         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19948         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19949         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19950         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19951         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19952         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19953         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19954         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19955         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19956         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19957         Moved ...
19958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19959         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19960         Moved ...
19961         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19963         Moved ...
19964         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19965         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19966         Moved ...
19967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19968         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19969         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19970         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19971         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19973         Moved ...
19974         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19975         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19976         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19978         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19979         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19980         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19982         Moved ...
19983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19984         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19985         Moved ...
19986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19987         ... here.
19988         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19989         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19991         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19993         Moved ...
19994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19995         ... here.
19996         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19997         Moved ...
19998         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19999         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20000         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20001         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20002         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20003         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20004         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20005         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20006         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20007         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20008         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20010         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20011         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20013         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20014         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20016         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20017         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20018         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20019         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20020         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20021         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20022         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20023         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20024         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20025         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20026         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20027         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20028         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20029         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20030         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20032         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20034         Moved ...
20035         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20037         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20039         Moved ...
20040         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20044         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20048         Moved ...
20049         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20050         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20051         Moved ...
20052         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20058         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20059         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20060         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20062         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20063         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20064         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20065         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20066         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20067         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20068         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20070         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20071         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20072         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20073         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20074         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20076         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20077         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20078         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20079         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20080         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20081         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20082         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20083         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20084         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20085         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20090         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20091         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20093         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20094         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20095         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20096         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20097         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20098         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20099         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20100         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20101         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20102         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20103         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20105         Update #include.
20106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20107         Likewise.
20108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20109         Likewise.
20110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20111         Likewise.
20112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20113         Likewise.
20114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20115         Likewise.
20116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20117         Likewise.
20118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20119         Likewise.
20120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20121         Likewise.
20122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20123         Likewise.
20124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20125         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20127         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20128         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20129         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20130         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20131         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20132         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20133         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20134         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20135         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20136         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20137         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20138         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20140         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20141         that was previously under [RESET_PID].
20142         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20143         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20144         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20146         * sysdeps/i386/nptl/Implies: New file.
20147         * sysdeps/x86_64/nptl/Implies: New file.
20148         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20149         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20150         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20151         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20153         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20154         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20155         (__libc_vfork): New strong alias.
20156         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20157         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20159         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20160         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20161         (__libc_vfork): New strong alias.
20162         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20163         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20165         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20166         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20167         (__libc_vfork): New strong alias.
20168         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20169         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20170         * nptl/pt-vfork.c: New file.
20171         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20172         (libpthread: GLIBC_2.20): New version set (empty).
20174 2014-05-14  Will Newton  <will.newton@linaro.org>
20176         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20177         rather than #if.
20179 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20181         [BZ #16564]
20182         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20183         arguments with exponent 65 or above.
20184         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20185         arguments 0x1p113L or above.
20186         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20187         to arguments 0x1p107L or above.
20188         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20189         positive arguments with exponent 65 or above.
20190         * math/auto-libm-test-in: Add more tests of log1p.
20191         * math/auto-libm-test-out: Regenerated.
20193         [BZ #16928]
20194         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20195         non-finite arguments is +0.
20196         * math/s_cacosf.c (__cacosf): Likewise.
20197         * math/s_cacosl.c (__cacosl): Likewise.
20198         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20199         * sysdeps/i386/fpu/libm-test-ulps: Update.
20200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20202         [BZ #16927]
20203         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20204         value.
20205         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20206         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20207         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20208         for explicit high bit of mantissa when testing for argument equal
20209         to 1.
20210         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20211         * sysdeps/i386/fpu/libm-test-ulps: Update.
20212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20214         [BZ #16516]
20215         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20216         (__erf): Scale by 16 instead of 8 in potentially underflowing
20217         case.  Ensure exception if result actually underflows.
20218         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20219         (__erff): Scale by 16 instead of 8 in potentially underflowing
20220         case.  Ensure exception if result actually underflows.
20221         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20222         (efx8): Remove variable.
20223         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20224         case.  Ensure exception if result actually underflows.
20225         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20226         (efx8): Remove variable.
20227         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20228         case.  Ensure exception if result actually underflows.
20229         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20230         (efx8): Remove variable.
20231         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20232         case.  Ensure exception if result actually underflows.
20233         * math/auto-libm-test-in: Add more tests of erf.
20234         * math/auto-libm-test-out: Regenerated.
20236 2014-05-14  Andreas Schwab  <schwab@suse.de>
20238         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20239         Remove code conditionalized on USE___THREAD.
20241         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20242         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20243         not definedness.
20245 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20247         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20248         Define unconditionally.
20249         (__ASSUME_O_CLOEXEC): Likewise.
20250         (__ASSUME_SOCK_CLOEXEC): Likewise.
20251         (__ASSUME_IN_NONBLOCK): Likewise.
20252         (__ASSUME_PIPE2): Likewise.
20253         (__ASSUME_EVENTFD2): Likewise.
20254         (__ASSUME_SIGNALFD4): Likewise.
20255         (__ASSUME_DUP3): Likewise.
20256         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20257         (__ASSUME_DUP3): Do not define.
20258         (__ASSUME_EVENTFD2): Likewise.
20259         (__ASSUME_IN_NONBLOCK): Likewise.
20260         (__ASSUME_O_CLOEXEC): Likewise.
20261         (__ASSUME_PIPE2): Likewise.
20262         (__ASSUME_SIGNALFD4): Likewise.
20263         (__ASSUME_SOCK_CLOEXEC): Likewise.
20264         (__ASSUME_UTIMES): Undefine.
20265         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20266         (__ASSUME_UTIMES): Do not define.
20267         (__ASSUME_O_CLOEXEC): Likewise.
20268         (__ASSUME_SOCK_CLOEXEC): Likewise.
20269         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20270         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20271         0x020621].
20272         (__ASSUME_PIPE2): Likewise.
20273         (__ASSUME_EVENTFD2): Likewise.
20274         (__ASSUME_SIGNALFD4): Likewise.
20275         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20276         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20277         Do not define.
20278         (__ASSUME_EVENTFD2): Likewise.
20279         (__ASSUME_SIGNALFD4): Likewise.
20280         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20281         (__ASSUME_32BITUIDS): Likewise.
20282         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20283         (__ASSUME_IPC64): Likewise.
20284         (__ASSUME_ST_INO_64_BIT): Likewise.
20285         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20286         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20287         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20288         (__ASSUME_UTIMES): Do not define.
20289         (__ASSUME_PSELECT): Likewise.
20290         (__ASSUME_PPOLL): Likewise.
20291         (__ASSUME_O_CLOEXEC): Likewise.
20292         (__ASSUME_SOCK_CLOEXEC): Likewise.
20293         (__ASSUME_IN_NONBLOCK): Likewise.
20294         (__ASSUME_PIPE2): Likewise.
20295         (__ASSUME_EVENTFD2): Likewise.
20296         (__ASSUME_SIGNALFD4): Likewise.
20297         (__ASSUME_DUP3): Likewise.
20298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20299         (__ASSUME_UTIMES): Likewise.
20300         (__ASSUME_O_CLOEXEC): Likewise.
20301         (__ASSUME_SOCK_CLOEXEC): Likewise.
20302         (__ASSUME_IN_NONBLOCK): Likewise.
20303         (__ASSUME_PIPE2): Likewise.
20304         (__ASSUME_EVENTFD2): Likewise.
20305         (__ASSUME_SIGNALFD4): Likewise.
20306         (__ASSUME_DUP3): Likewise.
20307         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20308         (__ASSUME_UTIMES): Likewise.
20309         (__ASSUME_O_CLOEXEC): Likewise.
20310         (__ASSUME_SOCK_CLOEXEC): Likewise.
20311         (__ASSUME_IN_NONBLOCK): Likewise.
20312         (__ASSUME_PIPE2): Likewise.
20313         (__ASSUME_EVENTFD2): Likewise.
20314         (__ASSUME_SIGNALFD4): Likewise.
20315         (__ASSUME_DUP3): Likewise.
20316         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20317         Likewise.
20318         (__ASSUME_UTIMES): Likewise.
20319         (__ASSUME_EVENTFD2): Likewise.
20320         (__ASSUME_SIGNALFD4): Likewise.
20321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20322         (__ASSUME_O_CLOEXEC): Likewise.
20323         (__ASSUME_SOCK_CLOEXEC): Likewise.
20324         (__ASSUME_IN_NONBLOCK): Likewise.
20325         (__ASSUME_PIPE2): Likewise.
20326         (__ASSUME_EVENTFD2): Likewise.
20327         (__ASSUME_SIGNALFD4): Likewise.
20328         (__ASSUME_DUP3): Likewise.
20329         (__ASSUME_UTIMES): Undefine.
20331         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20332         feclearexcept.  Remove symbol versioning code.
20333         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20334         symbol versioning code.
20335         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20336         symbol versioning code.
20337         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20338         feupdateenv.  Remove symbol versioning code.
20339         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20340         fegetexceptflag.  Remove symbol versioning code.
20341         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20342         fesetexceptflag.  Remove symbol versioning code.
20343         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20344         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20345         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20346         (__posix_fadvise64_l32): Remove prototype.
20347         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20348         code.
20350 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20352         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20353         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20354         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20355         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20357 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20359         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20360         current working directory
20362 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20364         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20365         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20366         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20367         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20368         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20369         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20370         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20371         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20372         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20373         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20374         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20375         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20376         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20377         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20378         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20379         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20380         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20381         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20382         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20383         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20384         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20385         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20386         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20387         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20388         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20389         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20390         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20391         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20392         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20393         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20394         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20395         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20396         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20397         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20398         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20399         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20400         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20401         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20402         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20403         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20404         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20405         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20407         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20408         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20410         * sysdeps/unix/sysv/linux/arm/Makefile
20411         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20412         Add rt-aeabi_unwind_cpp_pr1.
20413         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20414         Add nptl-aeabi_unwind_cpp_pr1.
20415         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20416         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20417         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20418         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20419         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20420         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20422         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20423         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20424         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20425         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20427         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20428         Deconditionalize the code that was previously under [RESET_PID].
20429         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20431         * sysdeps/generic/exit-thread.h: New file.
20432         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20433         * include/unistd.h (__exit_thread): Remove declaration.
20434         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20435         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20436         * csu/libc-start.c: Include <exit-thread.h>.
20437         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20438         * nptl/pthread_create.c: Include <exit-thread.h>.
20439         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20440         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20441         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20442         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20443         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20444         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20445         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20446         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20447         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20448         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20449         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20450         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20451         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20452         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20453         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20454         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20455         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20457 2014-05-13  Andreas Schwab  <schwab@suse.de>
20459         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20461 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20463         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20464         (__ASSUME_UTIMES): Do not condition on kernel version.
20465         (__ASSUME_PSELECT): Define unconditionally.
20466         (__ASSUME_PPOLL): Likewise.
20467         (__ASSUME_ATFCTS): Likewise.
20468         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20469         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20470         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20471         (__ASSUME_UTIMENSAT): Define unconditionally.
20472         (__ASSUME_PRIVATE_FUTEX): Likewise.
20473         (__ASSUME_FALLOCATE): Likewise.
20474         (__ASSUME_O_CLOEXEC): Likewise.
20475         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20476         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20477         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20478         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20479         (__ASSUME_IN_NONBLOCK): Likewise.
20480         (__ASSUME_PIPE2): Likewise.
20481         (__ASSUME_EVENTFD2): Likewise.
20482         (__ASSUME_SIGNALFD4): Likewise.
20483         (__ASSUME_DUP3): Likewise.
20484         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20485         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20486         (__ASSUME_AT_RANDOM): Likewise.
20487         (__ASSUME_PREADV): Likewise.
20488         (__ASSUME_PWRITEV): Likewise.
20489         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20490         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20491         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20492         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20493         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20494         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20495         (__ASSUME_O_CLOEXEC): Define unconditionally.
20496         (__ASSUME_PSELECT): Do not undefine conditionally.
20497         (__ASSUME_PPOLL): Likewise.
20498         (__ASSUME_ATFCTS): Likewise.
20499         (__ASSUME_SET_ROBUST_LIST): Likewise.
20500         (__ASSUME_UTIMENSAT): Likewise.
20501         (__ASSUME_FDATASYNC): Define unconditionally.
20502         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20503         (__ASSUME_SIGFRAME_V2): Likewise.
20504         )__ASSUME_EVENTFD2): Likewise.
20505         (__ASSUME_SIGNALFD4): Likewise.
20506         (__ASSUME_PSELECT): Do not undefine conditionally.
20507         (__ASSUME_PPOLL): Likewise.
20508         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20509         (__ASSUME_PSELECT): Define unconditionally.
20510         (__ASSUME_PPOLL): Likewise.
20511         (__ASSUME_O_CLOEXEC): Likewise.
20512         (__ASSUME_SOCK_CLOEXEC): Likewise.
20513         (__ASSUME_IN_NONBLOCK): Likewise.
20514         (__ASSUME_PIPE2): Likewise.
20515         (__ASSUME_EVENTFD2): Likewise.
20516         (__ASSUME_SIGNALFD4): Likewise.
20517         (__ASSUME_DUP3): Likewise.
20518         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20519         (__ASSUME_O_CLOEXEC): Likewise.
20520         (__ASSUME_SOCK_CLOEXEC): Likewise.
20521         (__ASSUME_IN_NONBLOCK): Likewise.
20522         (__ASSUME_PIPE2): Likewise.
20523         (__ASSUME_EVENTFD2): Likewise.
20524         (__ASSUME_SIGNALFD4): Likewise.
20525         (__ASSUME_DUP3): Likewise.
20526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20527         (__ASSUME_EVENTFD2): Likewise.
20528         (__ASSUME_SIGNALFD4): Likewise.
20529         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20531 2014-05-12  Andreas Schwab  <schwab@suse.de>
20533         [BZ #16932]
20534         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20535         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20536         than maximum RPC packet size.
20537         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20538         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20539         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20540         (_nss_nis_getservbyport_r): Likewise.
20542 2014-05-12  Will Newton  <will.newton@linaro.org>
20544         * malloc/Makefile (tests): Add tst-mallopt.
20545         * malloc/tst-mallopt.c: New file.
20547 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20549         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20550         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20552 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20554         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20555         (tst-tlsmod6.so): Likewise.
20557 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20559         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20561 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20563         [BZ #16064]
20564         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20565         and <dl-procinfo.h>.
20566         (__fegetenv): Save SSE state in envp->__eip if supported.
20567         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20568         envp->__eip if supported.
20569         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20570         and <dl-procinfo.h>.
20571         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20572         __data_offset and __data_selector in environment to 0.  Set SSE
20573         state if supported.
20574         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20575         test-fenv-sse.
20576         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20577         -mfpmath=sse.
20578         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20580 2014-05-09  Will Newton  <will.newton@linaro.org>
20582         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20583         and libc_relro_required for ARM.
20584         * sysdeps/arm/preconfigure: Regenerate.
20586 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20587             Stefan Liebler  <stli@linux.vnet.ibm.com>
20589         * config.make.in (enable-lock-elision): New Makefile variable.
20590         * configure.ac: Likewise.
20591         * configure: Regenerate.
20592         * sysdeps/s390/configure.ac:
20593         Add check for gcc transactions support.
20594         * sysdeps/s390/configure: Regenerate.
20595         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20596         Build elision files if enabled.
20597         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20598         Add lock elision support for s390.
20599         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20600         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20601         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20602         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20603         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20604         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20605         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20606         Likewise.
20607         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20608         Likewise.
20609         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20610         Likewise.
20611         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20612         Likewise.
20613         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20614         (__lll_timedlock_elision, __lll_lock_elision)
20615         (__lll_unlock_elision, __lll_trylock_elision)
20616         (lll_timedlock_elision, lll_lock_elision)
20617         (lll_unlock_elision, lll_trylock_elision): Add.
20618         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20619         (pthread_mutex_t): Add lock elision support for s390.
20621 2014-05-14  Wilco  <wdijkstr@arm.com>
20623         * sysdeps/arm/fclrexcpt.c: Cleanup.
20624         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20625         * sysdeps/arm/feenablxcpt.c: Cleanup.
20626         * sysdeps/arm/fegetenv.c: Cleanup.
20627         * sysdeps/arm/fegetexcept.c: Cleanup.
20628         * sysdeps/arm/fegetround.c: Cleanup.
20629         * sysdeps/arm/feholdexcpt.c: Cleanup.
20630         * sysdeps/arm/fesetenv.c: Cleanup.
20631         * sysdeps/arm/fesetround.c: Cleanup.
20632         * sysdeps/arm/feupdateenv.c: Cleanup.
20633         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20634         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20635         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20636         * sysdeps/arm/ftestexcept.c: Cleanup.
20637         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20638         * sysdeps/arm/setfpucw.c: Cleanup.
20640 2014-05-09  Will Newton  <will.newton@linaro.org>
20642         * sysdeps/arm/armv7/strcmp.S: New file.
20643         * NEWS: Mention addition of ARMv7 optimized strcmp.
20645 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20647         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20648         look for %.ac rather than %.in.
20650         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20651         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20652         * sysdeps/mach/hurd/configure: Regenerated.
20653         * sysdeps/unix/sysv/linux/configure: Regenerated.
20655         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20657 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20659         [BZ# 16922]
20660         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20661         (LONG_SUB): Ditto.
20662         (PTR_SUB): Ditto.
20664 2014-05-07  Andreas Schwab  <schwab@suse.de>
20666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20667         when skipping over non-matching result from nscd.
20669 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20671         [BZ #16876]
20672         * nptl/sockperf.c (client): Check socket return value.
20674         [BZ #16877]
20675         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20676         nscd security class.
20678 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20680         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20681         * sysdeps/arm/unwind.h: ... here.
20683 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20685         [BZ# 16916]
20686         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20687         Define.
20689 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20691         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20692         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20693         multiarch strncpy for PPC64.
20694         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20695         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20697         multiarch optimizations.
20698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20699         (__libc_ifunc_impl_list): Likewise.
20700         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20701         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20702         multiarch stpncpy for PPC64.
20703         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20704         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20706 2014-05-06  Andreas Schwab  <schwab@suse.de>
20708         [BZ #16912]
20709         * gmon/mcount.c (_MCOUNT_DECL): Use
20710         atomic_compare_and_exchange_bool_acq instead of
20711         catomic_compare_and_exchange_bool_acq.
20713 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20715         * elf/Makefile (others, install-bin): Remove pldd.
20716         (pldd-modules): Variable removed.
20717         ($(objpfx)pldd): Target removed.
20718         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20719         (others, install-bin): Append pldd here.
20720         ($(objpfx)pldd): New target.
20722         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20723         to 0, so the first #if test emitted later doesn't see it undefined.
20724         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20725         * sysdeps/gnu/errlist.c: Regenerated.
20727 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20729         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20730         [libc_hidden_builtin_def]: Define to empty value.
20731         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20732         [libc_hidden_builtin_def]: Likewise.
20733         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20734         [libc_hidden_builtin_def]: Likewise.
20735         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20736         [libc_hidden_builtin_def]: Likewise.
20737         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20738         __redirect_memcpy and define ifunc as default hidden symbol.
20739         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20740         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20742 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20744         * locale/iso-4217.def: Reintroduce XDR currency.
20746 2014-05-04  Allan McRae  <allan@archlinux.org>
20748         * po/eo.po: Update Esperanto translation from translation project.
20750 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20752         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20753         and FEATURE_INDEX_MAX to 1.
20754         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20756 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20758         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20759         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20760         * iconvdata/big5.c (ONE_DIRECTION): Define.
20761         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20762         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20763         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20764         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20765         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20766         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20767         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20768         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20769         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20770         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20771         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20772         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20773         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20774         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20775         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20776         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20777         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20778         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20779         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20780         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20781         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20782         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20783         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20784         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20785         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20786         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20787         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20788         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20789         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20790         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20791         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20792         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20793         * iconvdata/johab.c (ONE_DIRECTION): Define.
20794         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20795         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20796         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20797         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20798         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20799         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20800         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20801         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20802         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20803         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20805 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20807         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20808         (_IO_JUMPS_OFFSET): Define to 0.
20810         * nptl/sysdeps/pthread/bits/libc-lock.h
20811         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20812         (__libc_lock_define_initialized_recursive): Always define using
20813         initializer.  Modern compilers treat uninitialized (implicit zero) and
20814         explicit zero initializers the same (i.e. put the datum in bss).
20816 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20818         * nscd/nscd-client.h: Include <string.h>.
20820 2014-05-01  David S. Miller  <davem@davemloft.net>
20822         [BZ #16885]
20823         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20824         multiple zero bytes exist at the end of a string.
20825         Reported by Aurelien Jarno <aurelien@aurel32.net>
20827         * string/test-strcmp.c (check): Add explicit test for situations where
20828         there are multiple zero bytes after the first.
20830 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20832         [BZ #16890]
20833         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20834         when compiling wprintf.
20835         * stdio-common/tstdiomisc.c (t3): New function.
20836         (main): Call it.
20838 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20840         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20841         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20842         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20843         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20845 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20847         * stdlib/longlong.h: Updated from GCC.
20849 2014-05-01  Will Newton  <will.newton@linaro.org>
20850             Bernard Ogden  <bernie.ogden@linaro.org>
20852         * NEWS: Update fixed bug list.
20854         [BZ #15119]
20855         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20857 2014-04-30  David S. Miller  <davem@davemloft.net>
20859         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20860         (libc_feholdexcept_setround_sparc_ctx): New function.
20861         (libc_fesetenv_sparc_ctx): Likewise.
20862         (libc_feupdateenv_sparc_ctx): Likewise.
20863         (libc_feholdsetround_sparc_ctx): Likewise.
20864         (libc_feholdexcept_setround_ctx): Define.
20865         (libc_feholdexcept_setroundf_ctx): Likewise.
20866         (libc_feholdexcept_setroundl_ctx): Likewise.
20867         (libc_fesetenv_ctx): Likewise.
20868         (libc_fesetenvf_ctx): Likewise.
20869         (libc_fesetenvl_ctx): Likewise.
20870         (libc_feupdateenv_ctx): Likewise.
20871         (libc_feupdateenvf_ctx): Likewise.
20872         (libc_feupdateenvl_ctx): Likewise.
20873         (libc_feresetround_ctx): Likewise.
20874         (libc_feresetroundf_ctx): Likewise.
20875         (libc_feresetroundl_ctx): Likewise.
20876         (libc_feholdsetround_ctx): Likewise.
20877         (libc_feholdsetroundf_ctx): Likewise.
20878         (libc_feholdsetroundl_ctx): Likewise.
20880         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20881         with __USE_GNU instead of XOPEN cpp guards.
20883         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20884         0.
20886         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20887         with XOPEN cpp guards.
20889 2014-04-30  Julian Brown  <julian@codesourcery.com>
20891         [BZ #16888]
20892         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20893         handling.
20895 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20897         [BZ #9894]
20898         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20899         Change to 2.6.32.
20900         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20901         * sysdeps/unix/sysv/linux/configure: Regenerated.
20902         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20903         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20904         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20905         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20906         * README: Update reference to required Linux kernel version.
20907         * manual/install.texi (Linux): Update reference to required Linux
20908         kernel headers version.
20909         * INSTALL: Regenerated.
20911         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20912         header inclusion.
20913         [POSIX] (limits.h): Likewise.
20914         [POSIX] (math.h): Likewise.
20915         [POSIX] (sys/wait.h): Likewise.
20916         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20917         function.
20918         [POSIX] (stddef.h): Do not allow header inclusion.
20920 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20922         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20924 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20926         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20927         Return immediately after lll_futex_wake.
20929 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20931         [BZ #16791]
20932         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20933         structure.
20934         (datahead_init_pos): Call datahead_init_common early.
20935         (datahead_init_neg): Likewise.
20937         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20938         datahead_init_neg): New functions.
20939         * nscd/aicache.c (addhstaiX): Use them.
20940         * nscd/grpcache.c (cache_addgr): Likewise.
20941         * nscd/hstcache.c (cache_addhst): Likewise.
20942         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20943         * nscd/netgroupcache.c (do_notfound): Likewise.
20944         (addgetnetgrentX): Likewise.
20945         (addinnetgrX): Likewise.
20946         * nscd/pwdcache.c (cache_addpw): Likewise.
20947         * nscd/servicescache.c (cache_addserv): Likewise.
20949 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20950             Atsushi Onoe  <atsushi@onoe.org>
20952         [BZ #14308]
20953         [BZ #12994]
20954         [BZ #13651]
20955         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20956         one response is valid.
20957         * resolv/res_send.c (send_dg): Check for validity of other
20958         response if the current response is a referral.
20960 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20962         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20964 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20966         [BZ #16823]
20967         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20968         Always divide by positive zero when computing -Inf result.
20969         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20970         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20972 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20974         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20975         FPSCR if value do not change.
20976         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20977         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20978         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20979         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20980         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20981         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20982         function.
20984 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20986         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20987         * sysdeps/unix/sysv/linux/hppa: Move directory from
20988         ports/systeps/unix/sysv/linux/hppa.
20989         * README: Update listing for hppa-*-linux-gnu.
20991 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20993         [BZ #16754]
20994         * manual/stdio.texi (Hook functions): Fix types of stream hook
20995         functions.
20996         [BZ #16854]
20997         * socket/sys/socket.h: Fix typo in comment.
20999 2014-04-28  Wilco  <wdijkstr@arm.com>
21001         * sysdeps/arm/fenv_private.h: New file.
21002         * sysdeps/arm/math_private.h: New file.
21003         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21005 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21007         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21008         with __int128_t.
21009         (La_x86_64_retval): Likewise.
21011 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21013         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21014         fpsr if value didn't change.
21015         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21016         to fpcr if value didn't change.
21017         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21018         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21019         fpsr or fpcr if value didn't change.
21020         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21021         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21022         fpcr if value didn't change.
21023         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21024         to fpsr if value didn't change.
21026 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21028         * nptl/tst-sem3.c: Use test-skeleton.c
21029         (main): Rename to do_test.  Use return instead of
21030         exit.
21031         * nptl/tst-sem4.c: Use test-skeleton.c
21032         (main): Rename to do_test.
21034 2014-04-22  David S. Miller  <davem@davemloft.net>
21036         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21037         (struct sigaction): New struct member __glibc_reserved0, change
21038         type of sa_flags to int.
21040 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21042         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21043         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21045 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21047         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21048         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21050 2014-04-22  Will Newton  <will.newton@linaro.org>
21051             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21053         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21054         (__longjmp): Add longjmp and longjmp_target SystemTap
21055         probes.
21056         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21057         (__sigsetjmp): Add setjmp SystemTap probe.
21059 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21061         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21062         match manual order.
21064 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21066         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21068         * sysdeps/powerpc/fpu/fenv_private.h
21069         (libc_feholdexcept_setroundl_ctx): Define to
21070         libc_feholdexcept_setround_ppc_ctx.
21071         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21072         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21073         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21074         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21076 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21078         * sysdeps/aarch64/math-tests.h: New file.
21080 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21082         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21083         New.
21084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21085         Check and set bit_AVX2_Usable.
21086         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21087         macro.
21088         (bit_AVX2): Likewise.
21089         (index_AVX2_Usable): Likewise.
21090         (CPUID_AVX2): Likewise.
21091         (HAS_AVX2): Likewise.
21093 2014-04-17  Will Newton  <will.newton@linaro.org>
21095         * manual/setjmp.texi (System V contexts): Add note that
21096         calling setcontext on a context created by a call to a
21097         signal handler is undefined.  Update text to note that
21098         setcontext from a signal handler is possible but not
21099         recommended.
21101         [BZ #16629]
21102         * stdlib/tst-setcontext.c: Include signal.h.
21103         (main): Check that the signal stack before and
21104         after swapcontext is the same.
21106         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21107         Re-implement to restore registers in user code and avoid
21108         rt_sigreturn system call.
21110 2014-04-17  Wilco  <wdijkstr@arm.com>
21112         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21113         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21114         * math/test-fenv.c: Skip exception trap tests on targets which only
21115         support non-stop mode.
21117 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21118             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21120         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21121         (libc_feholdsetround_aarch64_ctx)
21122         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21123         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21124         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21125         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21126         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21127         (libc_feresetround_noexl_ctx): Define.
21129 2014-04-16  Richard Henderson  <rth@redhat.com>
21131         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21133         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21134         unwind tables.
21136         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21137         const from the non-libc, non-ldso copy.
21139         * sysdeps/alpha/libm-test-ulps: Regenerate.
21141 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21142             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21144         * sysdeps/aarch64/fpu/math_private.h: New file.
21146 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21148         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21150 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21152         [BZ #16275]
21153         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21154         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21155         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21156         Intel MPX bound registers before _dl_profile_fixup.
21157         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21158         registers after _dl_profile_fixup.  Save and restore bound
21159         registers bnd0/bnd1 when calling _dl_call_pltexit.
21160         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21161         (LR_BND_OFFSET): Likewise.
21162         (LRV_BND0_OFFSET): Likewise.
21163         (LRV_BND1_OFFSET): Likewise.
21165 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21167         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21168         to...
21169         * sysdeps/mach/hurd/i386/tls.h: ... here.
21170         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21171         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21172         fields.
21174 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21176         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21178 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21180         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21182 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21184         [BZ #14770]
21185         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21186         * sysdeps/s390/configure: Regenerate.
21188         [BZ #16824]
21189         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21190         Set round-to-nearest internally to reduce error accumulation.
21192 2014-04-16  Alan Modra  <amodra@gmail.com>
21194         [BZ #16740]
21195         [BZ #16619]
21196         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21197         * math/libm-test.inc (frexp_test_data): Add tests.
21198         * NEWS: Update fixed bug list.
21200 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21202         * benchtests/Makefile: Depend on libraries in build directory.
21203         (bench-math): Separate out math tests.
21204         (bench-pthread): Separate out pthread tests.
21205         (bench): Include math and pthread tests.
21207 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21209         [BZ #16831]
21210         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21211         _dl_debug_initialize.
21213         * configure.ac: Remove SELinux header check.
21214         * configure: Regenerate.
21215         * nscd/selinux.c (perms): Array of const char* to permission names.
21216         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21217         default policy. Call string_to_security_class and string_to_av_perm to
21218         translate strings. Enforce default policy and call avs_has_perm with
21219         results of translated strings.
21221 2014-04-13  David S. Miller  <davem@davemloft.net>
21223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21225 2014-04-12  Allan McRae  <allan@archlinux.org>
21227         [BZ #16838]
21228         * manual/string.texi (Collation Functions): Fix qsort argument
21229         order in example.
21230         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21232 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21234         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21235         Make the test a no-op if there are no exceptions defined.
21237 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21239         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21240         enable-hardcoded-path-in-tests
21242 2014-04-11  Will Newton  <will.newton@linaro.org>
21244         * benchtests/Makefile (extra-objs): Add json-lib.o.
21245         (bench-func): Tidy up JSON output.
21246         * benchtests/bench-skeleton.c: Include json-lib.h.
21247         (main): Use JSON library functions to do output of
21248         benchmark results.
21249         * benchtests/bench-timing-type.c (main): Output the
21250         timing type simply, leaving formatting to the user.
21251         * benchtests/json-lib.c: New file.
21252         * benchtests/json-lib.h: Likewise.
21254 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21256         [BZ #15215]
21257         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21258         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21259         memory barriers.  Add comments.
21260         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21261         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21262         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21263         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21264         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21265         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21267 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21269         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21270         * sysdeps/s390/s390-64/configure.ac: ... this ...
21271         * sysdeps/s390/configure.ac: ... to here.
21272         * sysdeps/s390/s390-32/configure: Delete file.
21273         * sysdeps/s390/s390-64/configure: Delete file.
21274         * sysdeps/s390/configure: Regenerate.
21276 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21278         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21280 2014-04-11  Will Newton  <will.newton@linaro.org>
21282         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21283         to zero if it is not defined elsewhere.  (mtrim): Test
21284         the value of MALLOC_DEBUG with #if rather than #ifdef.
21286 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21288         * benchtests/pthread_once-inputs: New file.
21289         * benchtests/pthread_once-source.c: New file.
21290         * benchtests/README: Update documentation.
21292 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21293             H.J. Lu  <hongjiu.lu@intel.com>
21295         [BZ #16275]
21296         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21297         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21298         * sysdeps/x86_64/configure: Regenerated.
21299         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21300         macro.
21301         (REGISTER_SAVE_RAX): Likewise.
21302         (REGISTER_SAVE_RCX): Likewise.
21303         (REGISTER_SAVE_RDX): Likewise.
21304         (REGISTER_SAVE_RSI): Likewise.
21305         (REGISTER_SAVE_RDI): Likewise.
21306         (REGISTER_SAVE_R8): Likewise.
21307         (REGISTER_SAVE_R9): Likewise.
21308         (REGISTER_SAVE_BND0): Likewise.
21309         (REGISTER_SAVE_BND1): Likewise.
21310         (REGISTER_SAVE_BND2): Likewise.
21311         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21312         bound registers when calling _dl_fixup.
21314 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21316         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21317         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21318         of its definition.
21319         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21320         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21321         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21322         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21323         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21324         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21325         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21327 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21329         [BZ #15514]
21330         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21331         pathconf(_PC_NAME_MAX).
21333 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21335         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21336         Remove macro usage.
21337         (__PTHREAD_SPINS): Move definition to ...
21338         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21339         (__PTHREAD_SPINS): ... here.
21340         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21341         (__PTHREAD_SPIN): Likewise.
21342         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21343         (__PTHREAD_SPIN): Likewise.
21344         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21345         (__PTHREAD_SPIN): Likewise.
21346         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21347         (__PTHREAD_SPIN): Likewise.
21348         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21349         (__PTHREAD_SPIN): Likewise.
21350         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21351         (__PTHREAD_SPIN): Likewise.
21352         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21353         (__PTHREAD_SPIN): Likewise.
21354         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21355         (__PTHREAD_SPIN): Likewise.
21356         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21357         (__PTHREAD_SPIN): Likewise.
21358         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21359         (__PTHREAD_SPIN): Likewise.
21360         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21361         (__PTHREAD_SPIN): Likewise.
21362         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21363         (__PTHREAD_SPIN): Likewise.
21365         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21366         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21367         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21368         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21369         imply folder.
21370         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21371         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21372         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21373         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21374         correct imply path.
21375         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21376         strlen symbol for non multi-arch builds.
21377         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21378         missing hidden_def and weak_alias.
21380 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21382         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21384 2014-04-07  Will Newton  <will.newton@linaro.org>
21386         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21387         and contents.  [!_LIBC] Remove #ifndef and contents.
21388         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21389         * string/memccpy.c (__memccpy): Use ANSI prototype.
21390         * string/memfrob.c (memfrob): Likewise.
21391         * string/strcoll.c (STRCOLL): Likewise.
21392         * string/strlen.c (strlen): Likewise.
21393         * string/strtok.c (STRTOK): Likewise.
21394         * string/strcat.c: Remove unused #include of memcopy.h.
21395         (strcat): Use ANSI prototype.
21396         * string/strchr.c: Remove unused #include of memcopy.h.
21397         (strchr): Use ANSI prototype.
21398         * string/strcmp.c: Remove unused #include of memcopy.h.
21399         (strcmp): Use ANSI prototype.
21400         * string/strcpy.c: Remove unused #include of memcopy.h.
21401         (strcpy): Use ANSI prototype.
21403 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21405         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21406         * config.make.in (config-extra-cppflags): Set it from
21407         libc_extra_cppflags.
21408         * configure.ac (libc_extra_cflags): Make it accumulate over
21409         configure fragments.
21410         (libc_extra_cppflags): New flag.
21411         * configure. Regenerate.
21412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21413         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21414         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21417         [BZ #16815]
21418         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21419         result for FE_DOWNWARD rounding mode.
21420         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21421         Likewise.
21422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21424 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21426         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21427         in function argument name.
21429 2014-04-03  David Svoboda  <svoboda@cert.org>
21431         [BZ #5666]
21432         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21433         explicitly.
21435 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21437         * elf/dl-unmap-segments.h: New file.
21438         * sysdeps/generic/ldsodefs.h
21439         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21440         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21441         * elf/dl-fptr.c: Likewise.
21442         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21443         * sysdeps/aarch64/tlsdesc.c: Likewise.
21444         * sysdeps/arm/tlsdesc.c: Likewise.
21445         * sysdeps/i386/tlsdesc.c: Likewise.
21446         * sysdeps/tile/dl-runtime.c: Likewise.
21447         * sysdeps/x86_64/tlsdesc.c: Likewise.
21448         * elf/dl-load.h: New file.
21449         * elf/dl-load.c: Include it.
21450         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21451         Macros moved to dl-load.h.
21452         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21453         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21454         Use _dl_unmap_segments in place of __munmap.
21455         Break out segment-mapping loop into ...
21456         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21458 2014-04-03  Will Newton  <will.newton@linaro.org>
21460         * elf/dl-lookup.c (do_lookup_x): Remove comment
21461         referring to nested function and move variable
21462         declarations down to before first use.
21464 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21466         [BZ #16799]
21467         [BZ #16800]
21468         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21469         with 0 numerator.
21470         * math/s_catanf.c (__catanf): Likewise.
21471         * math/s_catanh.c (__catanh): Likewise.
21472         * math/s_catanhf.c (__catanhf): Likewise.
21473         * math/s_catanhl.c (__catanhl): Likewise.
21474         * math/s_catanl.c (__catanl): Likewise.
21475         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21476         by positive zero when computing -Inf result.
21477         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21478         (catanh_test): Likewise.
21479         * sysdeps/i386/fpu/libm-test-ulps: Update.
21480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21482         [BZ #16789]
21483         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21484         instead of using underflowing value in computing result.
21485         * math/s_clog10.c (__clog10): Likewise.
21486         * math/s_clog10f.c (__clog10f): Likewise.
21487         * math/s_clog10l.c (__clog10l): Likewise.
21488         * math/s_clogf.c (__clogf): Likewise.
21489         * math/s_clogl.c (__clogl): Likewise.
21490         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21491         (clog10_test): Likewise.
21492         * sysdeps/i386/fpu/libm-test-ulps: Update.
21493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21495 2014-04-02  Alan Modra  <amodra@gmail.com>
21497         [BZ #16739]
21498         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21499         output when value is near a power of two.  Use int64_t for lx and
21500         remove casts.  Use decimal rather than hex exponent constants.
21501         Don't use long double multiplication when double will suffice.
21502         * math/libm-test.inc (nextafter_test_data): Add tests.
21503         * NEWS: Add 16739 and 16786 to bug list.
21505         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21507         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21509 2014-04-01  Will Newton  <will.newton@linaro.org>
21511         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21512         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21514 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21516         [BZ #13347]
21517         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21518         * nptl/tst-setuid2.c: New file.
21519         * nptl/Makefile (xtests): Add tst-setuid2.
21521 2014-04-01  Alan Modra  <amodra@gmail.com>
21523         [BZ #16786]
21524         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21526 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21528         [BZ #6803]
21529         [BZ #6804]
21530         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21531         set errno as appropriate.
21532         * math/w_scalbf.c (__scalbf): Likewise.
21533         * math/w_scalbl.c (__scalbl): Likewise.
21534         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21535         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21536         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21537         Add more NaN tests.
21539         [BZ #16349]
21540         * math/w_atan2.c: Include <errno.h>.
21541         (__atan2): Set errno for result underflowing to zero.
21542         * math/w_atan2f.c: Include <errno.h>.
21543         (__atan2f): Set errno for result underflowing to zero.
21544         * math/w_atan2l.c: Include <errno.h>.
21545         (__atan2l): Set errno for result underflowing to zero.
21546         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21547         tests.
21548         * math/auto-libm-test-out: Regenerated.
21550 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21552         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21553         Encode instruction correctly in little endian.
21554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21555         Likewise.
21556         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21557         Likewise.
21558         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21559         Likewise.
21560         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21561         Likewise.
21563 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21565         [BZ #9894]
21566         * sysdeps/unix/sysv/linux/kernel-features.h
21567         [__sparc__ && !__arch64__ && !__sparc_v9__]
21568         (__ASSUME_SET_ROBUST_LIST): Do not define.
21569         [__sparc__ && !__arch64__ && !__sparc_v9__]
21570         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21571         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21572         Likewise.
21573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21574         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21575         (__ASSUME_REQUEUE_PI): Likewise.
21576         (__ASSUME_SET_ROBUST_LIST): Likewise.
21577         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21578         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21579         Undefine.
21580         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21581         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21582         Likewise.
21583         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21584         Likewise.
21585         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21586         Likewise.
21587         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21588         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21589         Undefine.
21590         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21591         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21592         Likewise.
21594         [BZ #16648]
21595         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21596         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21597         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21599 2014-03-31  Will Newton  <will.newton@linaro.org>
21601         * benchtests/Makefile (bench): Add ffs and ffsll to list
21602         of tests.
21603         * benchtests/ffs-inputs: New file.
21604         * benchtests/ffsll-inputs: Likewise.
21606 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21608         [BZ #16770]
21609         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21610         too large before casting to int.
21611         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21612         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21613         * math/libm-test.inc (scalb_test_data): Add more tests.
21615 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21617         * benchtests/Makefile (DETAILED_OPT): New make option.
21618         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21619         set.
21620         * benchtests/bench-skeleton.c: Include stdbool.h.
21621         (main): Store and print timings per input.
21622         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21623         member to each argument value.
21624         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21625         (_print_arg_data): Initialize per-input timing to 0.
21627         * benchtests/Makefile (timing-type): New binary.
21628         (bench-clean): Also remove bench-timing-type.
21629         (bench): New target for timing-type.
21630         (bench-func): Print output in JSON format.
21631         * benchtests/bench-skeleton.c (main): Print output in JSON
21632         format.
21633         * benchtests/bench-timing-type.c: New file.
21634         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21635         (TIMING_PRINT_STATS): Remove.
21636         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21637         name separately.
21639         * benchtests/bench-modf.c: Remove.
21640         * benchtests/modf-inputs: New inputs file.
21642 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21644         [BZ #16362]
21645         * math/s_clog10.c (M_PI_LOG10E): New macro.
21646         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21647         imaginary parts are 0.
21648         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21649         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21650         imaginary parts are 0.
21651         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21652         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21653         imaginary parts are 0.
21654         * math/libm-test.inc (clog10_test_data): Update expected results
21655         for when real and imaginary parts are 0.
21657 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21659         * elf/dl-load.c: Finish conversion of __builtin_expect into
21660         __glibc_{un}likely.
21662 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21664         [BZ #16348]
21665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21666         1+x for argument with exponent below -67.
21667         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21668         Likewise.
21669         * math/auto-libm-test-in: Add more tests of exp.
21670         * math/auto-libm-test-out: Regenerated.
21672 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21674         [BZ #16759]
21675         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21676         (nscd_getnetgrent): Use it.
21678         [BZ #16760]
21679         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21680         of stpcpy.
21682 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21684         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21685         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21686         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21687         (lll_robust_unlock): Remove out of line section. Use cfi
21688         intrinsics.
21689         (LLL_STUB_UNWIND_INFO*): Remove.
21690         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21691         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21692         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21693         (lll_robust_unlock): Remove out of line section. Use cfi
21694         intrinsics.
21695         (LLL_STUB_UNWIND_INFO*): Remove.
21697 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21699         [BZ #16758]
21700         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21701         blank values.
21703 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21705         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21707 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21709         [BZ #16198]
21710         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21711         fnstenv.
21712         * math/test-fenv-preserve.c: New file.
21713         * math/Makefile (tests): Add test-fenv-preserve.
21715 2014-03-26  Will Newton <will.newton@linaro.org>
21717         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21719 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21721         * scripts/versionlist.awk: Partition the version sets and emit all
21722         GLIBC_* (sorted) before all others (sorted).
21724 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21726         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21727         GLIBC_2.2.5 version.
21729 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21731         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21732         calls.
21734         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21735         previous change.
21737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21739 2014-03-25  Andreas Schwab  <schwab@suse.de>
21741         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21742         label to be used after in6ailist is initialized.
21744 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21746         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21747         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21749 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21751         [BZ #16357]
21752         [BZ #16599]
21753         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21754         min_plus_half.
21755         (fp_formats): Update initializers.
21756         (init_fp_formats): Initialize new field.
21757         (output_for_one_input_case): Allow underflow for results up to
21758         min_plus_half.
21759         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21760         * math/auto-libm-test-in: Don't mark some underflows from asin and
21761         atanh as spurious.
21762         * math/auto-libm-test-out: Regenerated.
21763         * sysdeps/i386/fpu/libm-test-ulps: Update.
21764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21766 2014-03-25  Andreas Schwab  <schwab@suse.de>
21768         * libio/Makefile (tst-ftell-partial-wide-ENV)
21769         (tst-ftell-active-handler-ENV): Define.
21771 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21773         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21775 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21777         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21779 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21781         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21782         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21783         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21785 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21787         [BZ #16634]
21788         * elf/dl-load.c (open_verify): Add mode parameter.
21789         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21790         (open_path): Change from boolean 'secure' to complete flag 'mode'
21791         (_dl_map_object): Adjust.
21792         * elf/Makefile (tests): Add tst-dlopen-aout.
21793         * elf/tst-dlopen-aout.c: New test.
21795 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21797         [BZ #16714]
21798         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21799         (struct stat): Rename member pad0 to __glibc_reserved0.
21801         [BZ #16712]
21802         * sysdeps/s390/s390-32/bits/wordsize.h
21803         (__WORDSIZE32_SIZE_ULONG): New define.
21804         * sysdeps/s390/s390-64/bits/wordsize.h
21805         (__WORDSIZE32_SIZE_ULONG): Likewise.
21806         * sysdeps/generic/stdint.h (SIZE_MAX):
21807         Define as UL if __WORDSIZE32_SIZE_ULONG.
21809         [BZ #16713]
21810         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21811         (__glibc_reserved0): New variable.
21812         (sa_flags): Change type to int.
21814         * posix/Makefile (before-compile): Use += before-compile instead
21815         of a :=.
21817         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21818         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21820 2014-03-20  Andreas Schwab  <schwab@suse.de>
21822         [BZ #16743]
21823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21824         non-matching result from nscd.
21826 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21828         * scripts/bench.py: Moved to ...
21829         * benchtests/scripts/bench.py: ... here.
21830         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21832 2014-03-24  Andreas Schwab  <schwab@suse.de>
21834         [BZ #16002]
21835         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21836         alloca_account and account alloca use for struct in6ailist.
21838 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21840         [BZ #16284]
21841         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21842         rounding mode to recompute results that overflow to infinity or
21843         underflow to zero.
21844         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21845         bug 16284.
21846         * math/auto-libm-test-out: Regenerated.
21847         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21848         (ccosh_test): Likewise.
21849         (csin_test_data): Use plus_oflow.
21850         (csin_test): Use ALL_RM_TEST.
21851         (csinh_test_data): Use plus_oflow.
21852         (csinh_test): Use ALL_RM_TEST.
21853         * sysdeps/i386/fpu/libm-test-ulps: Update.
21854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21856 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21858         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21859         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21860         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21862         [BZ #16731]
21863         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21864         when x - 1 is zero.
21865         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21866         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21867         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21868         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21869         argument is 1.
21870         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21871         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21872         zero.
21873         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21874         * sysdeps/i386/fpu/libm-test-ulps: Update.
21875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21877 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21879         * scripts/bench.pl: Remove file.
21880         * scripts/bench.py: New benchmark script.
21881         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21882         * benchtests/README: Mention python dependency.
21883         * scripts/pylintrc: New file.
21884         * scripts/pylint: New file.
21886         * bits/mathdef.h: Use #ifdef instead of #if.
21887         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21888         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21889         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21890         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21891         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21892         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21894 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21895             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21897         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21899         and strpbrk-ppc64 objects.
21900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21901         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21902         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21903         multiarch strpbrk for POWER7.
21904         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21905         multiarch strpbrk for PPC64.
21906         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21907         ifunc selector.
21908         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21909         strpbrk for POWER7.
21911 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21913         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21914         (atan_test): Likewise.
21915         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21916         (atanh_test): Use ALL_RM_TEST.
21917         (atan2_test_data): Likewise.
21918         (cabs_test): Likewise.
21919         (cacosh_test): Likewise.
21920         (carg_test): Likewise.
21921         (casin_test): Likewise.
21922         (casinh_test): Likewise.
21923         (cbrt_test): Likewise.
21924         (csqrt_test): Likewise.
21925         (erf_test): Likewise.
21926         (erfc_test): Likewise.
21927         (pow10_test): Likewise.
21928         (exp2_test): Likewise.
21929         (hypot_test): Likewise.
21930         (j0_test): Likewise.
21931         (j1_test): Likewise.
21932         (lgamma_test): Likewise.
21933         (gamma_test): Likewise.
21934         (sincos_test): Likewise.
21935         (tanh_test): Likewise.
21936         (y0_test): Likewise.
21937         (y1_test): Likewise.
21938         * sysdeps/i386/fpu/libm-test-ulps: Update.
21939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21941 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21943         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21945         and strcspn-ppc64 objects.
21946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21947         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21948         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21949         multiarch strcspn for POWER7.
21950         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21951         multiarch strcspn for PPC64.
21952         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21953         ifunc selector.
21954         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21955         strcspn for POWER7.
21957 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21959         * math/gen-libm-test.pl (generate_testfile): Expect only function
21960         name as argument to AUTO_TESTS_* and pass results for all rounding
21961         modes to parse_args.
21962         (parse_auto_input): Separate inputs of automatic tests from
21963         outputs before storing in %auto_tests.
21964         * math/libm-test.inc (acos_test_data): Update call to
21965         AUTO_TESTS_f_f.
21966         (acos_test): Use ALL_RM_TEST.
21967         (acos_tonearest_test_data): Remove.
21968         (acos_test_tonearest): Likewise.
21969         (acos_towardzero_test_data): Likewise.
21970         (acos_test_towardzero): Likewise.
21971         (acos_downward_test_data): Likewise.
21972         (acos_test_downward): Likewise.
21973         (acos_upward_test_data): Likewise.
21974         (acos_test_upward): Likewise.
21975         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21976         (asin_test_data): Likewise.
21977         (asin_test): Use ALL_RM_TEST.
21978         (asin_tonearest_test_data): Remove.
21979         (asin_test_tonearest): Likewise.
21980         (asin_towardzero_test_data): Likewise.
21981         (asin_test_towardzero): Likewise.
21982         (asin_downward_test_data): Likewise.
21983         (asin_test_downward): Likewise.
21984         (asin_upward_test_data): Likewise.
21985         (asin_test_upward): Likewise.
21986         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21987         (atan_test_data): Likewise.
21988         (atanh_test_data): Likewise.
21989         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21990         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21991         (carg_test_data): Likewise.
21992         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21993         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21994         (ccosh_test_data): Likewise.
21995         (cexp_test_data): Likewise.
21996         (clog_test_data): Likewise.
21997         (clog10_test_data): Likewise.
21998         (cos_test_data): Update call to AUTO_TESTS_f_f.
21999         (cos_test): Use ALL_RM_TEST.
22000         (cos_tonearest_test_data): Remove.
22001         (cos_test_tonearest): Likewise.
22002         (cos_towardzero_test_data): Likewise.
22003         (cos_test_towardzero): Likewise.
22004         (cos_downward_test_data): Likewise.
22005         (cos_test_downward): Likewise.
22006         (cos_upward_test_data): Likewise.
22007         (cos_test_upward): Likewise.
22008         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22009         (cosh_test): Use ALL_RM_TEST.
22010         (cosh_tonearest_test_data): Remove.
22011         (cosh_test_tonearest): Likewise.
22012         (cosh_towardzero_test_data): Likewise.
22013         (cosh_test_towardzero): Likewise.
22014         (cosh_downward_test_data): Likewise.
22015         (cosh_test_downward): Likewise.
22016         (cosh_upward_test_data): Likewise.
22017         (cosh_test_upward): Likewise.
22018         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22019         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22020         (ctan_test_data): Likewise.
22021         (ctan_test): Use ALL_RM_TEST.
22022         (ctan_tonearest_test_data): Remove.
22023         (ctan_test_tonearest): Likewise.
22024         (ctan_towardzero_test_data): Likewise.
22025         (ctan_test_towardzero): Likewise.
22026         (ctan_downward_test_data): Likewise.
22027         (ctan_test_downward): Likewise.
22028         (ctan_upward_test_data): Likewise.
22029         (ctan_test_upward): Likewise.
22030         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22031         (ctanh_test): Use ALL_RM_TEST.
22032         (ctanh_tonearest_test_data): Remove.
22033         (ctanh_test_tonearest): Likewise.
22034         (ctanh_towardzero_test_data): Likewise.
22035         (ctanh_test_towardzero): Likewise.
22036         (ctanh_downward_test_data): Likewise.
22037         (ctanh_test_downward): Likewise.
22038         (ctanh_upward_test_data): Likewise.
22039         (ctanh_test_upward): Likewise.
22040         (erf_test_data): Update call to AUTO_TESTS_f_f.
22041         (erfc_test_data): Likewise.
22042         (exp_test_data): Likewise.
22043         (exp_test): Use ALL_RM_TEST.
22044         (exp_tonearest_test_data): Remove.
22045         (exp_test_tonearest): Likewise.
22046         (exp_towardzero_test_data): Likewise.
22047         (exp_test_towardzero): Likewise.
22048         (exp_downward_test_data): Likewise.
22049         (exp_test_downward): Likewise.
22050         (exp_upward_test_data): Likewise.
22051         (exp_test_upward): Likewise.
22052         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22053         (exp10_test): Use ALL_RM_TEST.
22054         (exp10_tonearest_test_data): Remove.
22055         (exp10_test_tonearest): Likewise.
22056         (exp10_towardzero_test_data): Likewise.
22057         (exp10_test_towardzero): Likewise.
22058         (exp10_downward_test_data): Likewise.
22059         (exp10_test_downward): Likewise.
22060         (exp10_upward_test_data): Likewise.
22061         (exp10_test_upward): Likewise.
22062         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22063         (expm1_test_data): Likewise.
22064         (expm1_test): Use ALL_RM_TEST.
22065         (expm1_tonearest_test_data): Remove.
22066         (expm1_test_tonearest): Likewise.
22067         (expm1_towardzero_test_data): Likewise.
22068         (expm1_test_towardzero): Likewise.
22069         (expm1_downward_test_data): Likewise.
22070         (expm1_test_downward): Likewise.
22071         (expm1_upward_test_data): Likewise.
22072         (expm1_test_upward): Likewise.
22073         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22074         (fma_test): Use ALL_RM_TEST.
22075         (fma_towardzero_test_data): Remove.
22076         (fma_test_towardzero): Likewise.
22077         (fma_downward_test_data): Likewise.
22078         (fma_test_downward): Likewise.
22079         (fma_upward_test_data): Likewise.
22080         (fma_test_upward): Likewise.
22081         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22082         (j0_test_data): Update call to AUTO_TESTS_f_f.
22083         (j1_test_data): Likewise.
22084         (jn_test_data): Update call to AUTO_TESTS_if_f.
22085         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22086         (log_test_data): Update call to AUTO_TESTS_f_f.
22087         (log10_test_data): Likewise.
22088         (log1p_test_data): Likewise.
22089         (log2_test_data): Likewise.
22090         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22091         (pow_tonearest_test_data): Likewise.
22092         (sin_test_data): Update call to AUTO_TESTS_f_f.
22093         (sin_test): Use ALL_RM_TEST.
22094         (sin_tonearest_test_data): Remove.
22095         (sin_test_tonearest): Likewise.
22096         (sin_towardzero_test_data): Likewise.
22097         (sin_test_towardzero): Likewise.
22098         (sin_downward_test_data): Likewise.
22099         (sin_test_downward): Likewise.
22100         (sin_upward_test_data): Likewise.
22101         (sin_test_upward): Likewise.
22102         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22103         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22104         (sinh_test): Use ALL_RM_TEST.
22105         (sinh_tonearest_test_data): Remove.
22106         (sinh_test_tonearest): Likewise.
22107         (sinh_towardzero_test_data): Likewise.
22108         (sinh_test_towardzero): Likewise.
22109         (sinh_downward_test_data): Likewise.
22110         (sinh_test_downward): Likewise.
22111         (sinh_upward_test_data): Likewise.
22112         (sinh_test_upward): Likewise.
22113         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22114         (sqrt_test): Use ALL_RM_TEST.
22115         (sqrt_tonearest_test_data): Remove.
22116         (sqrt_test_tonearest): Likewise.
22117         (sqrt_towardzero_test_data): Likewise.
22118         (sqrt_test_towardzero): Likewise.
22119         (sqrt_downward_test_data): Likewise.
22120         (sqrt_test_downward): Likewise.
22121         (sqrt_upward_test_data): Likewise.
22122         (sqrt_test_upward): Likewise.
22123         (tan_test_data): Update call to AUTO_TESTS_f_f.
22124         (tan_test): Use ALL_RM_TEST.
22125         (tan_tonearest_test_data): Remove.
22126         (tan_test_tonearest): Likewise.
22127         (tan_towardzero_test_data): Likewise.
22128         (tan_test_towardzero): Likewise.
22129         (tan_downward_test_data): Likewise.
22130         (tan_test_downward): Likewise.
22131         (tan_upward_test_data): Likewise.
22132         (tan_test_upward): Likewise.
22133         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22134         (tgamma_test_data): Likewise.
22135         (y0_test_data): Likewise.
22136         (y1_test_data): Likewise.
22137         (yn_test_data): Update call to AUTO_TESTS_if_f.
22138         (main): Do not call removed functions.
22140 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22142         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22143         (ldexp_test_data): Remove.
22144         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22145         scalbn_test_data.
22146         (scalb_test): Use ALL_RM_TEST.
22148 2014-03-19  Andreas Schwab  <schwab@suse.de>
22150         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22152 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22154         [BZ #16649]
22155         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22156         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22157         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22158         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22159         (__ASSUME_PREADV): Undefine.
22160         (__ASSUME_PWRITEV): Likewise.
22162 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22164         * bits/mman-linux.h: Add comment about non-Linux use.
22165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22166         bits/mman-linux.h resting place.
22168         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22169         * bits/mman-linux.h: ... here.
22171 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22173         * conform/conformtest.pl: Add standard definition when calling C
22174         preprocessor on data files.
22175         (checknamespace): Remove unused variable.
22177 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22179         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22180         minus_oflow, plus_uflow and minus_uflow in expected results.
22181         * math/libm-test.inc (scalbn_test_data): Add more tests of
22182         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22183         minus_uflow.
22184         (scalbn_test): Use ALL_RM_TEST.
22185         (scalbln_test_data): Add more tests of negative arguments.  Use
22186         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22187         (scalbln_test): Use ALL_RM_TEST.
22189 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22191         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22193 2014-03-18  Will Newton  <will.newton@linaro.org>
22195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22196         inaccurate comment.
22198 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22200         * Makerules [!subdir] (check-abi): Exit with error status if a
22201         test failed.
22203 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22205         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22206         for rint.  Include results for all rounding modes.
22207         (nearbyint_test): Use ALL_RM_TEST.
22208         (rint_test_data): Include all tests used for nearbyint.
22210 2014-03-17  Will Newton  <will.newton@linaro.org>
22212         * nptl/sysdeps/pthread/pthread.h: Revert previous
22213         change.
22215         * sysdeps/generic/ldsodefs.h: Revert previous
22216         change.
22218         * libio/genops.c: Revert previous change.
22219         * libio/libioP.h: Likewise.
22220         * stdio-common/vfprintf.c: Likewise.
22222         * sysdeps/generic/math_private.h: Revert previous
22223         change.
22225         * sysdeps/generic/math_private.h: Check whether
22226         HAVE_RM_CTX is defined with #ifdef rather
22227         than #if.
22229         * argp/argp-fmtstream.h: Check whether
22230         __STRICT_ANSI__ is defined with #ifdef rather
22231         than #if.
22232         * argp/argp.h: Likewise.
22234         * libio/genops.c: Check whether
22235         _IO_JUMPS_OFFSET is defined with #ifdef rather
22236         than #if.
22237         * libio/libioP.h: Likewise.
22238         * stdio-common/vfprintf.c: Likewise.
22240         * sysdeps/generic/ldsodefs.h: Check whether
22241         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22242         than #if.
22244         * nptl/sysdeps/pthread/pthread.h: Check
22245         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22246         its value.
22248 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22250         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22251         setting O_APPEND.
22252         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22253         test case.
22255         [BZ #16680]
22256         * libio/fileops.c (_IO_file_open): Seek to end of file but
22257         don't cache the offset.
22258         (get_file_offset): Remove function.
22259         (do_ftell): Use cached offset when available.
22260         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22261         don't cache the offset.
22262         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22263         case.
22264         (do_one_test): Call it.
22265         (do_ftell_test): Fix up expected old offset for a+ mode.
22266         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22267         available.
22269         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22270         up test status with function return status.
22271         (do_write_test): Likewise.
22272         (do_append_test): Likewise.
22274         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22275         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22276         Remove.
22278 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22280         * math/gen-libm-test.pl (parse_args): Handle results specified for
22281         each rounding mode separately.
22282         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22283         tests and results from lrint_tonearest_test_data,
22284         lrint_towardzero_test_data, lrint_downward_test_data and
22285         lrint_upward_test_data.
22286         (lrint_test): Use ALL_RM_TEST.
22287         (lrint_tonearest_test_data): Remove.
22288         (lrint_test_tonearest): Likewise.
22289         (lrint_towardzero_test_data): Likewise.
22290         (lrint_test_towardzero): Likewise.
22291         (lrint_downward_test_data): Likewise.
22292         (lrint_test_downward): Likewise.
22293         (lrint_upward_test_data): Likewise.
22294         (lrint_test_upward): Likewise.
22295         (llrint_test_data): Merge in per-rounding-mode tests and results
22296         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22297         llrint_downward_test_data and llrint_upward_test_data.
22298         (llrint_test): Use ALL_RM_TEST.
22299         (llrint_tonearest_test_data): Remove.
22300         (llrint_test_tonearest): Likewise.
22301         (llrint_towardzero_test_data): Likewise.
22302         (llrint_test_towardzero): Likewise.
22303         (llrint_downward_test_data): Likewise.
22304         (llrint_test_downward): Likewise.
22305         (llrint_upward_test_data): Likewise.
22306         (llrint_test_upward): Likewise.
22307         (rint_test_data): Merge in per-rounding-mode tests and results
22308         from rint_tonearest_test_data, rint_towardzero_test_data,
22309         rint_downward_test_data and rint_upward_test_data.  Add
22310         per-rounding-mode results for tests not in those arrays.
22311         (rint_test): Use ALL_RM_TEST.
22312         (rint_tonearest_test_data): Remove.
22313         (rint_test_tonearest): Likewise.
22314         (rint_towardzero_test_data): Likewise.
22315         (rint_test_towardzero): Likewise.
22316         (rint_downward_test_data): Likewise.
22317         (rint_test_downward): Likewise.
22318         (rint_upward_test_data): Likewise.
22319         (rint_test_upward): Likewise.
22320         (main): Don't call removed functions.
22322 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22324         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22325         "Compiled on ..." crapola.  It is anti-useful.
22327 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22329         * scripts/evaluate-test.sh: Handle fourth argument to determine
22330         whether test run should stop on failure.
22331         * Makeconfig (stop-on-test-failure): New variable.
22332         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22333         $(stop-on-test-failure).
22334         * Makefile (tests): Give a summary of results from testing and
22335         exit with failure status if they include an ERROR or FAIL.
22336         (xtests): Likewise.
22337         * manual/install.texi (Configuring and compiling): Mention
22338         stop-on-test-failure=y.
22339         * INSTALL: Regenerated.
22341 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22343         * scripts/versionlist.awk: New file.
22344         * Makerules [$(build-shared) = yes]
22345         (postclean-generated): Add Versions.def, not Versions.def.v and
22346         Versions.def.v.i.
22347         ($(common-objpfx)Versions.def.v.i): Target removed.
22348         ($(common-objpfx)Versions.def): New target.
22349         ($(common-objpfx)Versions.all): Depend on that rather that
22350         $(common-objpfx)Versions.def.v.
22351         * Versions.def: File removed.
22353         * Makeconfig (+gccwarn): Add -Wundef.
22354         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22355         a dl-sysdep.h breaking its contract.
22356         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22357         * include/stackinfo.h: New file.
22358         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22359         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22360         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22361         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22362         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22363         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22364         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22365         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22366         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22367         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22368         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22369         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22370         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22371         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22372         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22374 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22376         [BZ #16707]
22377         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22378         implementation.
22379         * math/libm-test.inc (round_test_data): Add more tests.
22381         [BZ #16706]
22382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22383         implementation.
22384         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22386         [BZ #16701]
22387         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22388         implementation.
22389         * math/libm-test.inc (ceil_test_data): Add more tests.
22391         * math/libm-test.inc (trunc_test_data): Add more tests related to
22392         BZ#16414.
22394 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22396         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22397         with #if rather than #ifdef.
22398         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22400 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22402         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22403         first.  Disable AVX-512 GCC support if assembler doesn't support
22404         it.
22405         * sysdeps/x86_64/configure: Regenerated.
22407 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22409         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22410         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22411         (__old_pthread_attr_setstack): Likewise.
22412         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22413         [!_STACK_GROWS_DOWN]: Likewise.
22415 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22417         * config.make.in (have-bash2): Delete.
22418         * configure.ac (libc_cv_have_bash2): Delete.
22419         * configure: Regenerate.
22420         * elf/Makefile (common-ldd-rewrite): Rename to ...
22421         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22422         (sh-ldd-rewrite): Delete.
22423         (bash-ldd-rewrite): Delete.
22424         (have-bash2): Delete checks.
22425         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22426         ldd-rewrite.
22428         * config.make.in (have-ksh): Delete.
22429         (KSH): Delete.
22430         * configure.ac (libc_cv_have_ksh): Delete.
22431         * configure: Regenerate.
22433         * elf/Makefile: Delete $(have-ksh) check.
22434         ($(objpfx)sotruss): Change KSH to BASH.
22435         * elf/sotruss.ksh: Rename to ...
22436         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22437         function style to match POSIX.  Drop ksh vim mode setting.
22439         * manual/time.texi (Specifying the Time Zone with TZ): Change
22440         Tuesday to Thursday.
22442         * debug/tst-longjmp_chk2.c: Update header comment.
22443         (stackoverflow_handler): Add comment.  Call assert on pass value.
22445 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22447         [BZ #16194]
22448         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22449         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22450         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22451         (La_x86_64_vector): Add zmm.
22452         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22453         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22454         ($(objpfx)tst-audit10): New target.
22455         ($(objpfx)tst-audit10.out): Likewise.
22456         (tst-audit10-ENV): New.
22457         (AVX512-CFLAGS): Likewise.
22458         (CFLAGS-tst-audit10.c): Likewise.
22459         (CFLAGS-tst-auditmod10a.c): Likewise.
22460         (CFLAGS-tst-auditmod10b.c): Likewise.
22461         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22462         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22463         * sysdeps/x86_64/configure: Regenerated.
22464         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22465         AVX-512 zmm register support.
22466         (_dl_x86_64_save_sse): Likewise.
22467         (_dl_x86_64_restore_sse): Likewise.
22468         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22469         size vector registers.
22470         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22471         (ZMM_SIZE): Likewise.
22472         * sysdeps/x86_64/tst-audit10.c: New file.
22473         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22474         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22476 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22478         * configure.ac (HAVE_EHDR_START): New check.
22479         * configure: Regenerated.
22480         * config.h.in (HAVE_EHDR_START): New #undef.
22481         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22482         assuming the lowest-addressed segment maps the start of the file.
22484 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22486         * INSTALL: Regenerated.
22488 2014-03-13  Will Newton  <will.newton@linaro.org>
22490         * manual/setjmp.texi (System V contexts): Improve
22491         clarity and grammar of documentation.
22493 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22495         [BZ #16381]
22496         * elf/Makefile (tests): Add tst-pie2.
22497         (tests-pie): Add tst-pie2.
22498         * elf/tst-pie2.c: New file.
22499         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22500         for ET_EXEC.
22501         * elf/rtld.c (map_doit): Load executable as lt_executable.
22502         (dl_main): Likewise.
22504 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22506         [BZ #16642]
22507         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22508         (__ASSUME_PSELECT): Undefine.
22510 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22512         [BZ #16689]
22513         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22514         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22515         static build.
22516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22517         selector for static builds.
22519 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22521         [BZ #16695]
22522         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22523         key in the buffer.
22525 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22527         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22528         IFUNC selector for static builds.
22530 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22532         * sysdeps/mips/math_private.h [__mips_hard_float]
22533         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22534         libc_feresetround_mips_ctx.
22535         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22536         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22537         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22539         [BZ #16677]
22540         * math/s_nextafter.c (__nextafter): Do not return value from
22541         overflowing computation.
22542         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22543         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22544         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22545         Likewise.
22546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22547         Likewise.
22548         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22549         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22551 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22553         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22554         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22555         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22556         the new mov targetting sp.
22558 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22560         [BZ #16683]
22561         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22562         Define it for static builds as well.
22563         (NO_BZERO_IMPL): Likewise.
22565 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22567         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22568         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22569         multiarch strspn for PPC64.
22570         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22571         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22573         (__libc_ifunc_impl_list): Likewise.
22574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22575         multiarch optimizations
22576         * string/strspn.c (strspn): Using macro to redefine symbol name.
22578 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22579             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22581         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22582         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22583         multiarch strncat for PPC64.
22584         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22585         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22587         (__libc_ifunc_impl_list): Likewise.
22588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22589         multiarch optimizations
22591 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22593         [BZ #16639]
22594         * nscd/nscd.service: Make service type forking.
22596 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22598         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22599         sign in non default rounding modes.
22600         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22602 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22604         * math/libm-test.inc (ALL_RM_TEST): New macro.
22605         (ceil_test): Use ALL_RM_TEST.
22606         (cimag_test): Likewise.
22607         (conj_test): Likewise.
22608         (copysign_test): Likewise.
22609         (cproj_test): Likewise.
22610         (creal_test): Likewise.
22611         (fabs_test): Likewise.
22612         (floor_test): Likewise.
22613         (fmax_test): Likewise.
22614         (fmin_test): Likewise.
22615         (fmod_test): Likewise.
22616         (fpclassify_test): Likewise.
22617         (frexp_test): Likewise.
22618         (ilogb_test): Likewise.
22619         (isfinite_test): Likewise.
22620         (finite_test): Likewise.
22621         (isgreater_test): Likewise.
22622         (isgreaterequal_test): Likewise.
22623         (isinf_test): Likewise.
22624         (isless_test): Likewise.
22625         (islessequal_test): Likewise.
22626         (islessgreater_test): Likewise.
22627         (isnan_test): Likewise.
22628         (isnormal_test): Likewise.
22629         (issignaling_test): Likewise.
22630         (isunordered_test): Likewise.
22631         (logb_test): Likewise.
22632         (logb_downward_test_data): Remove.
22633         (logb_test_downward): Likewise.
22634         (lround_test): Use ALL_RM_TEST.
22635         (llround_test): Likewise.
22636         (modf_test): Likewise.
22637         (nexttoward_test): Likewise.
22638         (remainder_test): Likewise.
22639         (drem_test): Likewise.
22640         (remainder_tonearest_test_data): Likewise.
22641         (remainder_test_tonearest): Likewise.
22642         (drem_test_tonearest): Likewise.
22643         (remainder_towardzero_test_data): Likewise.
22644         (remainder_test_towardzero): Likewise.
22645         (drem_test_towardzero): Likewise.
22646         (remainder_downward_test_data): Likewise.
22647         (remainder_test_downward): Likewise.
22648         (drem_test_downward): Likewise.
22649         (remainder_upward_test_data): Likewise.
22650         (remainder_test_upward): Likewise.
22651         (drem_test_upward): Likewise.
22652         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22653         (round_test): Use ALL_RM_TEST.
22654         (signbit_test): Likewise.
22655         (trunc_test): Likewise.
22656         (significand_test): Likewise.
22657         (main): Don't call removed functions.
22659 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22661         [BZ #16674]
22662         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22663         || __USE_XOPEN2K8].
22664         (ILL_ILLOPN): Likewise.
22665         (ILL_ILLADR): Likewise.
22666         (ILL_ILLTRP): Likewise.
22667         (ILL_PRVOPC): Likewise.
22668         (ILL_PRVREG): Likewise.
22669         (ILL_COPROC): Likewise.
22670         (ILL_BADSTK): Likewise.
22671         (FPE_INTDIV): Likewise.
22672         (FPE_INTOVF): Likewise.
22673         (FPE_FLTDIV): Likewise.
22674         (FPE_FLTOVF): Likewise.
22675         (FPE_FLTUND): Likewise.
22676         (FPE_FLTRES): Likewise.
22677         (FPE_FLTINV): Likewise.
22678         (FPE_FLTSUB): Likewise.
22679         (SEGV_MAPERR): Likewise.
22680         (SEGV_ACCERR): Likewise.
22681         (BUS_ADRALN): Likewise.
22682         (BUS_ADRERR): Likewise.
22683         (BUS_OBJERR): Likewise.
22684         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22685         (TRAP_TRACE): Likewise.
22686         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22687         __USE_XOPEN2K8].
22688         (CLD_KILLED): Likewise.
22689         (CLD_DUMPED): Likewise.
22690         (CLD_TRAPPED): Likewise.
22691         (CLD_STOPPED): Likewise.
22692         (CLD_CONTINUED): Likewise.
22693         (POLL_IN): Likewise.
22694         (POLL_OUT): Likewise.
22695         (POLL_MSG): Likewise.
22696         (POLL_ERR): Likewise.
22697         (POLL_PRI): Likewise.
22698         (POLL_HUP): Likewise.
22699         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22700         Likewise.
22701         (ILL_ILLOPN): Likewise.
22702         (ILL_ILLADR): Likewise.
22703         (ILL_ILLTRP): Likewise.
22704         (ILL_PRVOPC): Likewise.
22705         (ILL_PRVREG): Likewise.
22706         (ILL_COPROC): Likewise.
22707         (ILL_BADSTK): Likewise.
22708         (FPE_INTDIV): Likewise.
22709         (FPE_INTOVF): Likewise.
22710         (FPE_FLTDIV): Likewise.
22711         (FPE_FLTOVF): Likewise.
22712         (FPE_FLTUND): Likewise.
22713         (FPE_FLTRES): Likewise.
22714         (FPE_FLTINV): Likewise.
22715         (FPE_FLTSUB): Likewise.
22716         (SEGV_MAPERR): Likewise.
22717         (SEGV_ACCERR): Likewise.
22718         (BUS_ADRALN): Likewise.
22719         (BUS_ADRERR): Likewise.
22720         (BUS_OBJERR): Likewise.
22721         (BUS_MCEERR_AR): Likewise.
22722         (BUS_MCEERR_AO): Likewise.
22723         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22724         (TRAP_TRACE): Likewise.
22725         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22726         __USE_XOPEN2K8].
22727         (CLD_KILLED): Likewise.
22728         (CLD_DUMPED): Likewise.
22729         (CLD_TRAPPED): Likewise.
22730         (CLD_STOPPED): Likewise.
22731         (CLD_CONTINUED): Likewise.
22732         (POLL_IN): Likewise.
22733         (POLL_OUT): Likewise.
22734         (POLL_MSG): Likewise.
22735         (POLL_ERR): Likewise.
22736         (POLL_PRI): Likewise.
22737         (POLL_HUP): Likewise.
22738         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22739         (ILL_ILLOPN): Likewise.
22740         (ILL_ILLADR): Likewise.
22741         (ILL_ILLTRP): Likewise.
22742         (ILL_PRVOPC): Likewise.
22743         (ILL_PRVREG): Likewise.
22744         (ILL_COPROC): Likewise.
22745         (ILL_BADSTK): Likewise.
22746         (FPE_INTDIV): Likewise.
22747         (FPE_INTOVF): Likewise.
22748         (FPE_FLTDIV): Likewise.
22749         (FPE_FLTOVF): Likewise.
22750         (FPE_FLTUND): Likewise.
22751         (FPE_FLTRES): Likewise.
22752         (FPE_FLTINV): Likewise.
22753         (FPE_FLTSUB): Likewise.
22754         (SEGV_MAPERR): Likewise.
22755         (SEGV_ACCERR): Likewise.
22756         (BUS_ADRALN): Likewise.
22757         (BUS_ADRERR): Likewise.
22758         (BUS_OBJERR): Likewise.
22759         (BUS_MCEERR_AR): Likewise.
22760         (BUS_MCEERR_AO): Likewise.
22761         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22762         (TRAP_TRACE): Likewise.
22763         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22764         __USE_XOPEN2K8].
22765         (CLD_KILLED): Likewise.
22766         (CLD_DUMPED): Likewise.
22767         (CLD_TRAPPED): Likewise.
22768         (CLD_STOPPED): Likewise.
22769         (CLD_CONTINUED): Likewise.
22770         (POLL_IN): Likewise.
22771         (POLL_OUT): Likewise.
22772         (POLL_MSG): Likewise.
22773         (POLL_ERR): Likewise.
22774         (POLL_PRI): Likewise.
22775         (POLL_HUP): Likewise.
22776         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22777         Likewise.
22778         (ILL_ILLOPN): Likewise.
22779         (ILL_ILLADR): Likewise.
22780         (ILL_ILLTRP): Likewise.
22781         (ILL_PRVOPC): Likewise.
22782         (ILL_PRVREG): Likewise.
22783         (ILL_COPROC): Likewise.
22784         (ILL_BADSTK): Likewise.
22785         (ILL_BADIADDR): Likewise.
22786         (ILL_BREAK): Likewise.
22787         (FPE_INTDIV): Likewise.
22788         (FPE_INTOVF): Likewise.
22789         (FPE_FLTDIV): Likewise.
22790         (FPE_FLTOVF): Likewise.
22791         (FPE_FLTUND): Likewise.
22792         (FPE_FLTRES): Likewise.
22793         (FPE_FLTINV): Likewise.
22794         (FPE_FLTSUB): Likewise.
22795         (FPE_DECOVF): Likewise.
22796         (FPE_DECDIV): Likewise.
22797         (FPE_DECERR): Likewise.
22798         (FPE_INVASC): Likewise.
22799         (FPE_INVDEC): Likewise.
22800         (SEGV_MAPERR): Likewise.
22801         (SEGV_ACCERR): Likewise.
22802         (SEGV_PSTKOVF): Likewise.
22803         (BUS_ADRALN): Likewise.
22804         (BUS_ADRERR): Likewise.
22805         (BUS_OBJERR): Likewise.
22806         (BUS_MCEERR_AR): Likewise.
22807         (BUS_MCEERR_AO): Likewise.
22808         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22809         (TRAP_TRACE): Likewise.
22810         (TRAP_BRANCH): Likewise.
22811         (TRAP_HWBKPT): Likewise.
22812         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22813         __USE_XOPEN2K8].
22814         (CLD_KILLED): Likewise.
22815         (CLD_DUMPED): Likewise.
22816         (CLD_TRAPPED): Likewise.
22817         (CLD_STOPPED): Likewise.
22818         (CLD_CONTINUED): Likewise.
22819         (POLL_IN): Likewise.
22820         (POLL_OUT): Likewise.
22821         (POLL_MSG): Likewise.
22822         (POLL_ERR): Likewise.
22823         (POLL_PRI): Likewise.
22824         (POLL_HUP): Likewise.
22825         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22826         (ILL_ILLOPN): Likewise.
22827         (ILL_ILLADR): Likewise.
22828         (ILL_ILLTRP): Likewise.
22829         (ILL_PRVOPC): Likewise.
22830         (ILL_PRVREG): Likewise.
22831         (ILL_COPROC): Likewise.
22832         (ILL_BADSTK): Likewise.
22833         (FPE_INTDIV): Likewise.
22834         (FPE_INTOVF): Likewise.
22835         (FPE_FLTDIV): Likewise.
22836         (FPE_FLTOVF): Likewise.
22837         (FPE_FLTUND): Likewise.
22838         (FPE_FLTRES): Likewise.
22839         (FPE_FLTINV): Likewise.
22840         (FPE_FLTSUB): Likewise.
22841         (SEGV_MAPERR): Likewise.
22842         (SEGV_ACCERR): Likewise.
22843         (BUS_ADRALN): Likewise.
22844         (BUS_ADRERR): Likewise.
22845         (BUS_OBJERR): Likewise.
22846         (BUS_MCEERR_AR): Likewise.
22847         (BUS_MCEERR_AO): Likewise.
22848         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22849         (TRAP_TRACE): Likewise.
22850         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22851         __USE_XOPEN2K8].
22852         (CLD_KILLED): Likewise.
22853         (CLD_DUMPED): Likewise.
22854         (CLD_TRAPPED): Likewise.
22855         (CLD_STOPPED): Likewise.
22856         (CLD_CONTINUED): Likewise.
22857         (POLL_IN): Likewise.
22858         (POLL_OUT): Likewise.
22859         (POLL_MSG): Likewise.
22860         (POLL_ERR): Likewise.
22861         (POLL_PRI): Likewise.
22862         (POLL_HUP): Likewise.
22863         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22864         (ILL_ILLOPN): Likewise.
22865         (ILL_ILLADR): Likewise.
22866         (ILL_ILLTRP): Likewise.
22867         (ILL_PRVOPC): Likewise.
22868         (ILL_PRVREG): Likewise.
22869         (ILL_COPROC): Likewise.
22870         (ILL_BADSTK): Likewise.
22871         (FPE_INTDIV): Likewise.
22872         (FPE_INTOVF): Likewise.
22873         (FPE_FLTDIV): Likewise.
22874         (FPE_FLTOVF): Likewise.
22875         (FPE_FLTUND): Likewise.
22876         (FPE_FLTRES): Likewise.
22877         (FPE_FLTINV): Likewise.
22878         (FPE_FLTSUB): Likewise.
22879         (SEGV_MAPERR): Likewise.
22880         (SEGV_ACCERR): Likewise.
22881         (BUS_ADRALN): Likewise.
22882         (BUS_ADRERR): Likewise.
22883         (BUS_OBJERR): Likewise.
22884         (BUS_MCEERR_AR): Likewise.
22885         (BUS_MCEERR_AO): Likewise.
22886         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22887         (TRAP_TRACE): Likewise.
22888         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22889         __USE_XOPEN2K8].
22890         (CLD_KILLED): Likewise.
22891         (CLD_DUMPED): Likewise.
22892         (CLD_TRAPPED): Likewise.
22893         (CLD_STOPPED): Likewise.
22894         (CLD_CONTINUED): Likewise.
22895         (POLL_IN): Likewise.
22896         (POLL_OUT): Likewise.
22897         (POLL_MSG): Likewise.
22898         (POLL_ERR): Likewise.
22899         (POLL_PRI): Likewise.
22900         (POLL_HUP): Likewise.
22901         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22902         (ILL_ILLOPN): Likewise.
22903         (ILL_ILLADR): Likewise.
22904         (ILL_ILLTRP): Likewise.
22905         (ILL_PRVOPC): Likewise.
22906         (ILL_PRVREG): Likewise.
22907         (ILL_COPROC): Likewise.
22908         (ILL_BADSTK): Likewise.
22909         (FPE_INTDIV): Likewise.
22910         (FPE_INTOVF): Likewise.
22911         (FPE_FLTDIV): Likewise.
22912         (FPE_FLTOVF): Likewise.
22913         (FPE_FLTUND): Likewise.
22914         (FPE_FLTRES): Likewise.
22915         (FPE_FLTINV): Likewise.
22916         (FPE_FLTSUB): Likewise.
22917         (SEGV_MAPERR): Likewise.
22918         (SEGV_ACCERR): Likewise.
22919         (BUS_ADRALN): Likewise.
22920         (BUS_ADRERR): Likewise.
22921         (BUS_OBJERR): Likewise.
22922         (BUS_MCEERR_AR): Likewise.
22923         (BUS_MCEERR_AO): Likewise.
22924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22925         (TRAP_TRACE): Likewise.
22926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22927         __USE_XOPEN2K8].
22928         (CLD_KILLED): Likewise.
22929         (CLD_DUMPED): Likewise.
22930         (CLD_TRAPPED): Likewise.
22931         (CLD_STOPPED): Likewise.
22932         (CLD_CONTINUED): Likewise.
22933         (POLL_IN): Likewise.
22934         (POLL_OUT): Likewise.
22935         (POLL_MSG): Likewise.
22936         (POLL_ERR): Likewise.
22937         (POLL_PRI): Likewise.
22938         (POLL_HUP): Likewise.
22939         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22940         (ILL_ILLOPN): Likewise.
22941         (ILL_ILLADR): Likewise.
22942         (ILL_ILLTRP): Likewise.
22943         (ILL_PRVOPC): Likewise.
22944         (ILL_PRVREG): Likewise.
22945         (ILL_COPROC): Likewise.
22946         (ILL_BADSTK): Likewise.
22947         (ILL_DBLFLT): Likewise.
22948         (ILL_HARDWALL): Likewise.
22949         (FPE_INTDIV): Likewise.
22950         (FPE_INTOVF): Likewise.
22951         (FPE_FLTDIV): Likewise.
22952         (FPE_FLTOVF): Likewise.
22953         (FPE_FLTUND): Likewise.
22954         (FPE_FLTRES): Likewise.
22955         (FPE_FLTINV): Likewise.
22956         (FPE_FLTSUB): Likewise.
22957         (SEGV_MAPERR): Likewise.
22958         (SEGV_ACCERR): Likewise.
22959         (BUS_ADRALN): Likewise.
22960         (BUS_ADRERR): Likewise.
22961         (BUS_OBJERR): Likewise.
22962         (BUS_MCEERR_AR): Likewise.
22963         (BUS_MCEERR_AO): Likewise.
22964         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22965         (TRAP_TRACE): Likewise.
22966         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22967         __USE_XOPEN2K8].
22968         (CLD_KILLED): Likewise.
22969         (CLD_DUMPED): Likewise.
22970         (CLD_TRAPPED): Likewise.
22971         (CLD_STOPPED): Likewise.
22972         (CLD_CONTINUED): Likewise.
22973         (POLL_IN): Likewise.
22974         (POLL_OUT): Likewise.
22975         (POLL_MSG): Likewise.
22976         (POLL_ERR): Likewise.
22977         (POLL_PRI): Likewise.
22978         (POLL_HUP): Likewise.
22979         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22980         (ILL_ILLOPN): Likewise.
22981         (ILL_ILLADR): Likewise.
22982         (ILL_ILLTRP): Likewise.
22983         (ILL_PRVOPC): Likewise.
22984         (ILL_PRVREG): Likewise.
22985         (ILL_COPROC): Likewise.
22986         (ILL_BADSTK): Likewise.
22987         (FPE_INTDIV): Likewise.
22988         (FPE_INTOVF): Likewise.
22989         (FPE_FLTDIV): Likewise.
22990         (FPE_FLTOVF): Likewise.
22991         (FPE_FLTUND): Likewise.
22992         (FPE_FLTRES): Likewise.
22993         (FPE_FLTINV): Likewise.
22994         (FPE_FLTSUB): Likewise.
22995         (SEGV_MAPERR): Likewise.
22996         (SEGV_ACCERR): Likewise.
22997         (BUS_ADRALN): Likewise.
22998         (BUS_ADRERR): Likewise.
22999         (BUS_OBJERR): Likewise.
23000         (BUS_MCEERR_AR): Likewise.
23001         (BUS_MCEERR_AO): Likewise.
23002         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23003         (TRAP_TRACE): Likewise.
23004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23005         __USE_XOPEN2K8].
23006         (CLD_KILLED): Likewise.
23007         (CLD_DUMPED): Likewise.
23008         (CLD_TRAPPED): Likewise.
23009         (CLD_STOPPED): Likewise.
23010         (CLD_CONTINUED): Likewise.
23011         (POLL_IN): Likewise.
23012         (POLL_OUT): Likewise.
23013         (POLL_MSG): Likewise.
23014         (POLL_ERR): Likewise.
23015         (POLL_PRI): Likewise.
23016         (POLL_HUP): Likewise.
23017         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23018         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23020         [BZ #16670]
23021         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23022         before #include of <time.h>.
23023         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23024         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23025         (test-xfail-UNIX98/sched.h/conform): Likewise.
23027 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23029         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23030         error absence of trapping exception support.
23031         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23033 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23035         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23036         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23037         * timezone/Makefile (testdata): Move definition above include of
23038         Rules.
23039         (test-zones): New variable.
23040         (tests-special): Add zone files.
23041         (build-testdata): Use $(evaluate-test).
23043         * elf/Makefile (tests-special): Rename tests to end with .out.
23044         ($(objpfx)noload-mem): Likewise.
23045         ($(objpfx)tst-leaks1-mem): Likewise.
23046         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23047         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23048         $(objpfx)test-iconvconfig.out.
23049         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23050         set -e inside subshell and redirect output to file.
23051         * iconvdata/Makefile (generated): Rename tests to end with .out.
23052         Correct type.
23053         (tests-special): Rename tests to end with .out.
23054         ($(objpfx)mtrace-tst-loading): Likewise.
23055         * intl/Makefile (generated): Likewise.
23056         (tests-special): Likewise.
23057         ($(objpfx)mtrace-tst-gettext): Likewise.
23058         * misc/Makefile (generated): Likewise.
23059         (tests-special): Likewise.
23060         ($(objpfx)tst-error1-mem): Likewise.
23061         * nptl/Makefile (tests-special): Likewise.
23062         ($(objpfx)tst-stack3-mem): Likewise.
23063         (generated): Likewise.
23064         * posix/Makefile (generated): Likewise.
23065         (tests-special): Likewise.
23066         (xtests-special): Likewise.
23067         ($(objpfx)tst-fnmatch-mem): Likewise.
23068         ($(objpfx)bug-regex2-mem): Likewise.
23069         ($(objpfx)bug-regex14-mem): Likewise.
23070         ($(objpfx)bug-regex21-mem): Likewise.
23071         ($(objpfx)bug-regex31-mem): Likewise.
23072         ($(objpfx)tst-vfork3-mem): Likewise.
23073         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23074         ($(objpfx)tst-pcre-mem): Likewise.
23075         ($(objpfx)tst-boost-mem): Likewise.
23076         ($(objpfx)bug-ga2-mem): Likewise.
23077         ($(objpfx)bug-glob2-mem): Likewise.
23078         * resolv/Makefile (generate): Likewise.
23079         (tests-special): Likewise.
23080         (xtests-special): Likewise.
23081         (generated): Likewise.
23082         ($(objpfx)mtrace-tst-leaks): Likewise.
23083         ($(objpfx)mtrace-tst-leaks2): Likewise.
23085         * scripts/merge-test-results.sh: New file.
23086         * Makefile (tests-special-notdir): New variable.
23087         (tests): Run merge-test-results.sh.
23088         (xtests): Likewise.
23089         * Rules (tests-special-notdir): New variable.
23090         (xtests-special-notdir): Likewise.
23091         (tests): Run merge-test-results.sh
23092         (xtests): Likewise.
23094         * Makeconfig (test-xfail-name): New variable.
23095         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23096         compute variable name for expected failures.
23097         * conform/Makefile (conformtest-headers-data): New variable.
23098         (conformtest-standards): Likewise.
23099         (conformtest-headers-ISO): Likewise.
23100         (conformtest-headers-ISO99): Likewise.
23101         (conformtest-headers-ISO11): Likewise.
23102         (conformtest-headers-POSIX): Likewise.
23103         (conformtest-headers-XPG3): Likewise.
23104         (conformtest-headers-XPG4): Likewise.
23105         (conformtest-headers-UNIX98): Likewise.
23106         (conformtest-headers-XOPEN2K): Likewise.
23107         (conformtest-headers-POSIX2008): Likewise.
23108         (conformtest-headers-XOPEN2K8): Likewise.
23109         (conformtest-header-list-base): Likewise.
23110         (conformtest-header-list-tests): Likewise.
23111         (conformtest-header-base): Likewise.
23112         (conformtest-header-tests): Likewise.
23113         (tests-special): Add $(conformtest-header-list-tests).  If
23114         [$(fast-check) && !$(cross-compiling)], add
23115         $(conformtest-header-tests) instead of
23116         $(objpfx)run-conformtest.out.
23117         (generated): Add $(conformtest-header-list-base).  If
23118         [$(fast-check) && !$(cross-compiling)], add
23119         $(conformtest-header-base).  Remove previous setting.
23120         ($(conformtest-header-list-tests)): New target.
23121         (test-xfail-run-conformtest): Remove variable.
23122         ($(objpfx)run-conformtest.out): Remove target.
23123         (test-xfail-ISO11/complex.h/conform): New variable.
23124         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23125         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23126         (test-xfail-XPG3/varargs.h/conform): Likewise.
23127         (test-xfail-XPG4/varargs.h/conform): Likewise.
23128         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23129         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23130         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23131         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23132         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23133         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23134         (test-xfail-XPG3/ftw.h/conform): Likewise.
23135         (test-xfail-XPG3/grp.h/conform): Likewise.
23136         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23137         (test-xfail-XPG3/limits.h/conform): Likewise.
23138         (test-xfail-XPG3/pwd.h/conform): Likewise.
23139         (test-xfail-XPG3/search.h/conform): Likewise.
23140         (test-xfail-XPG3/signal.h/conform): Likewise.
23141         (test-xfail-XPG3/stdio.h/conform): Likewise.
23142         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23143         (test-xfail-XPG3/string.h/conform): Likewise.
23144         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23145         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23146         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23147         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23148         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23149         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23150         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23151         (test-xfail-XPG3/termios.h/conform): Likewise.
23152         (test-xfail-XPG3/time.h/conform): Likewise.
23153         (test-xfail-XPG3/unistd.h/conform): Likewise.
23154         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23155         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23156         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23157         (test-xfail-XPG4/netdb.h/conform): Likewise.
23158         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23159         (test-xfail-XPG4/signal.h/conform): Likewise.
23160         (test-xfail-XPG4/stdio.h/conform): Likewise.
23161         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23162         (test-xfail-XPG4/stropts.h/conform): Likewise.
23163         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23164         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23165         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23166         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23167         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23168         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23169         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23170         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23171         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23172         (test-xfail-XPG4/termios.h/conform): Likewise.
23173         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23174         (test-xfail-XPG4/unistd.h/conform): Likewise.
23175         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23176         (test-xfail-POSIX/sched.h/conform): Likewise.
23177         (test-xfail-POSIX/signal.h/conform): Likewise.
23178         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23179         (test-xfail-POSIX/tar.h/conform): Likewise.
23180         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23181         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23182         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23183         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23184         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23185         (test-xfail-UNIX98/sched.h/conform): Likewise.
23186         (test-xfail-UNIX98/signal.h/conform): Likewise.
23187         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23188         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23189         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23190         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23191         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23192         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23193         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23194         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23195         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23196         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23197         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23198         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23199         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23200         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23201         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23202         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23203         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23204         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23205         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23206         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23207         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23208         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23209         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23210         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23211         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23212         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23213         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23214         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23215         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23216         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23217         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23218         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23219         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23220         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23221         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23222         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23223         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23224         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23225         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23226         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23227         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23228         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23229         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23230         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23231         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23232         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23233         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23234         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23235         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23236         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23237         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23238         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23239         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23240         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23241         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23242         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23243         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23244         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23245         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23246         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23247         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23248         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23249         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23250         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23251         (conformtest-cc-flags): Likewise.
23252         ($(conformtest-header-tests): New target.
23253         * conform/check-header-lists.sh: New file.
23254         * conform/run-conformtest.sh: Remove.
23256         * conform/conformtest.pl: Allow ' and \ in values given for
23257         constants.
23258         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23259         inclusion.
23260         [POSIX] (sys/types.h): Likewise.
23261         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23262         inclusion.
23263         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23264         inclusion.
23265         * conform/data/signal.h-data (SIGIO): Remove expectation.
23266         [XPG3] (SIGBUS): Do not expect.
23267         [POSIX || XPG3] (SIGPOLL): Likewise.
23268         [POSIX || XPG3] (SIGPROF): Likewise.
23269         [POSIX || XPG3] (SIGSYS): Likewise.
23270         [XPG3] (SIGTRAP): Likewise.
23271         [POSIX || XPG3] (SIGURG): Likewise.
23272         [POSIX || XPG3] (SIGVTALRM): Likewise.
23273         [POSIX || XPG3] (SIGXCPU): Likewise.
23274         [POSIX || XPG3] (SIGXFSZ): Likewise.
23275         [POSIX] (SA_SIGINFO): Expect.
23276         [XPG3] (siginfo_t): Do not expect type or contents.
23277         [POSIX] (si_pid): Do not expect element.
23278         [POSIX] (si_uid): Likewise.
23279         [POSIX] (si_addr): Likewise.
23280         [POSIX] (si_status): Likewise.
23281         [POSIX] (si_band): Likewise.
23282         [XPG4] (si_value): Likewise.
23283         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23284         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23285         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23286         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23287         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23288         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23289         [POSIX || XPG3] (ILL_COPROC): Likewise.
23290         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23291         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23292         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23293         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23294         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23295         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23296         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23297         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23298         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23299         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23300         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23301         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23302         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23303         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23304         [POSIX || XPG3] (CLD_EXITED): Likewise.
23305         [POSIX || XPG3] (CLD_KILLED): Likewise.
23306         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23307         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23308         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23309         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23310         [POSIX || XPG3] (POLL_IN): Likewise.
23311         [POSIX || XPG3] (POLL_OUT): Likewise.
23312         [POSIX || XPG3] (POLL_MSG): Likewise.
23313         [POSIX || XPG3] (POLL_ERR): Likewise.
23314         [POSIX || XPG3] (POLL_PRI): Likewise.
23315         [POSIX || XPG3] (POLL_HUP): Likewise.
23316         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23317         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23318         (SIG*): Do not allow.
23319         [XPG3] (si_*): Likewise.
23320         [XPG3] (SI_*): Likewise.
23321         [XPG3 || XPG4] (sigev_*): Likewise.
23322         [XPG3 || XPG4] (SIGEV_*): Likewise.
23323         [XPG3 || XPG4] (sival_*): Likewise.
23324         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23325         [POSIX || XPG3] (BUS_*): Likewise.
23326         [POSIX || XPG3] (CLD_*): Likewise.
23327         [POSIX || XPG3] (FPE_*): Likewise.
23328         [POSIX || XPG3] (ILL_*): Likewise.
23329         [POSIX || XPG3] (POLL_*): Likewise.
23330         [POSIX || XPG3] (SEGV_*): Likewise.
23331         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23332         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23333         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23334         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23335         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23336         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23337         Specify type and value.
23338         (TVERSLEN): Likewise.
23339         (REGTYPE): Likewise.
23340         (AREGTYPE): Likewise.
23341         (LNKTYPE): Likewise.
23342         (SYMTYPE): Likewise.
23343         (CHRTYPE): Likewise.
23344         (BLKTYPE): Likewise.
23345         (DIRTYPE): Likewise.
23346         (FIFOTYPE): Likewise.
23347         (CONTTYPE): Likewise.
23348         (TSUID): Likewise.
23349         (TSGID): Likewise.
23350         (TSVTX): Likewise.
23351         (TUREAD): Likewise.
23352         (TUWRITE): Likewise.
23353         (TUEXEC): Likewise.
23354         (TGREAD): Likewise.
23355         (TGWRITE): Likewise.
23356         (TGEXEC): Likewise.
23357         (TOREAD): Likewise.
23358         (TOWRITE): Likewise.
23359         (TOEXEC): Likewise.
23360         [POSIX] (TSVTX): Expect constant.
23362 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23364         * Makefile (tests): Change dependencies to ....
23365         (tests-special): ... additions to this variable.
23366         (tests): Depend on $(tests-special).
23367         * Makerules (check-abi-list): New variable.
23368         (check-abi): Depend on $(check-abi-list).
23369         [$(subdir) = elf] (tests-special): Add
23370         $(objpfx)check-abi-libc.out.
23371         [$(build-shared) = yes && subdir] (tests-special): Add
23372         $(check-abi-list).
23373         [$(build-shared) = yes && subdir] (tests): Do not depend on
23374         check-abi.
23375         * Rules (tests): Depend on $(tests-special).
23376         (xtests): Depend on $(xtests-special).
23377         * catgets/Makefile (tests): Change dependencies to ....
23378         (tests-special): ... additions to this variable.
23379         * conform/Makefile (tests): Change dependencies to ....
23380         (tests-special): ... additions to this variable.
23381         * elf/Makefile (tests): Change dependencies to ....
23382         (tests-special): ... additions to this variable.
23383         * grp/Makefile (tests): Change dependencies to ....
23384         (tests-special): ... additions to this variable.
23385         * iconv/Makefile (xtests): Change dependencies to ....
23386         (xtests-special): ... additions to this variable.
23387         * iconvdata/Makefile (tests): Change dependencies to ....
23388         (tests-special): ... additions to this variable.
23389         * intl/Makefile (tests): Change dependencies to ....
23390         (tests-special): ... additions to this variable.  Also add
23391         $(objpfx)tst-gettext.out.
23392         * io/Makefile (tests): Change dependencies to ....
23393         (tests-special): ... additions to this variable.
23394         * libio/Makefile (tests): Change dependencies to ....
23395         (tests-special): ... additions to this variable.
23396         * malloc/Makefile (tests): Change dependencies to ....
23397         (tests-special): ... additions to this variable.
23398         * misc/Makefile (tests): Change dependencies to ....
23399         (tests-special): ... additions to this variable.
23400         * nptl/Makefile (tests): Change dependencies to ....
23401         (tests-special): ... additions to this variable.
23402         * nptl_db/Makefile (tests): Change dependencies to ....
23403         (tests-special): ... additions to this variable.
23404         * posix/Makefile (tests): Change dependencies to ....
23405         (tests-special): ... additions to this variable.
23406         (xtests): Change dependencies to ....
23407         (xtests-special): ... additions to this variable.
23408         * resolv/Makefile (tests): Change dependencies to ....
23409         (tests-special): ... additions to this variable.
23410         (xtests): Change dependencies to ....
23411         (xtests-special): ... additions to this variable.
23412         * stdio-common/Makefile (tests): Change dependencies to ....
23413         (tests-special): ... additions to this variable.
23414         (do-tst-unbputc): Remove target.
23415         (do-tst-printf): Likewise.
23416         * stdlib/Makefile (tests): Change dependencies to ....
23417         (tests-special): ... additions to this variable.
23418         * string/Makefile (tests): Change dependencies to ....
23419         (tests-special): ... additions to this variable.
23420         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23421         (tests-special): ... additions to this variable.
23423         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23424         whole file.
23425         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23426         whole file.
23427         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23428         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23430         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23431         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23432         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23433         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23434         * conform/data/libgen.h-data [XPG3]: Likewise.
23435         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23436         * conform/data/ndbm.h-data [XPG3]: Likewise.
23437         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23438         * conform/data/netdb.h-data [XPG3]: Likewise.
23439         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23440         * conform/data/poll.h-data [XPG3]: Likewise.
23441         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23442         * conform/data/strings.h-data [XPG3]: Likewise.
23443         * conform/data/stropts.h-data [XPG3]: Likewise.
23444         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23445         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23446         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23447         Likewise.
23448         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23449         * conform/data/sys/time.h-data [XPG3]: Likewise.
23450         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23451         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23452         * conform/data/sys/un.h-data [XPG3]: Likewise.
23453         * conform/data/syslog.h-data [XPG3]: Likewise.
23454         * conform/data/ucontext.h-data [XPG3]: Likewise.
23455         * conform/data/utmpx.h-data [XPG3]: Likewise.
23456         * conform/data/varargs.h-data [UNIX98]: Enable file.
23458         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23460         * math/libm-test.inc (struct test_f_f_data): Move expected results
23461         into structure for each rounding mode.
23462         (struct test_ff_f_data): Likewise.
23463         (struct test_ff_f_data_nexttoward): Likewise.
23464         (struct test_fi_f_data): Likewise.
23465         (struct test_fl_f_data): Likewise.
23466         (struct test_if_f_data): Likewise.
23467         (struct test_fff_f_data): Likewise.
23468         (struct test_c_f_data): Likewise.
23469         (struct test_f_f1_data): Likewise.
23470         (struct test_fF_f1_data): Likewise.
23471         (struct test_ffI_f1_data): Likewise.
23472         (struct test_c_c_data): Likewise.
23473         (struct test_cc_c_data): Likewise.
23474         (struct test_f_i_data): Likewise.
23475         (struct test_ff_i_data): Likewise.
23476         (struct test_f_l_data): Likewise.
23477         (struct test_f_L_data): Likewise.
23478         (struct test_fFF_11_data): Likewise.
23479         (RM_): New macro.
23480         (RM_FE_DOWNWARD): Likewise.
23481         (RM_FE_TONEAREST): Likewise.
23482         (RM_FE_TOWARDZERO): Likewise.
23483         (RM_FE_UPWARD): Likewise.
23484         (RUN_TEST_LOOP_f_f): Update references to expected results.
23485         (RUN_TEST_LOOP_2_f): Likewise.
23486         (RUN_TEST_LOOP_fff_f): Likewise.
23487         (RUN_TEST_LOOP_c_f): Likewise.
23488         (RUN_TEST_LOOP_f_f1): Likewise.
23489         (RUN_TEST_LOOP_fF_f1): Likewise.
23490         (RUN_TEST_LOOP_fI_f1): Likewise.
23491         (RUN_TEST_LOOP_ffI_f1): Likewise.
23492         (RUN_TEST_LOOP_c_c): Likewise.
23493         (RUN_TEST_LOOP_cc_c): Likewise.
23494         (RUN_TEST_LOOP_f_i): Likewise.
23495         (RUN_TEST_LOOP_f_i_tg): Likewise.
23496         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23497         (RUN_TEST_LOOP_f_b): Likewise.
23498         (RUN_TEST_LOOP_f_b_tg): Likewise.
23499         (RUN_TEST_LOOP_f_l): Likewise.
23500         (RUN_TEST_LOOP_f_L): Likewise.
23501         (RUN_TEST_LOOP_fFF_11): Likewise.
23502         * math/gen-libm-test.pl (parse_args): Output four copies of
23503         expected results for each test.
23505         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23506         (__ASSUME_UTIMES): Remove.
23507         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23508         (__ASSUME_UTIMES): Likewise.
23510         * math/gen-auto-libm-tests.c: Update comment on output format.
23511         (output_for_one_input_case): Generate before-rounding and
23512         after-rounding information as conditions on output flags not
23513         floating-point format.
23514         * math/auto-libm-test-out: Regenerated.
23515         * math/gen-libm-test.pl (cond_value): New function.
23516         (or_cond_value): Use cond_value.
23517         (generate_testfile): Handle conditional exceptions.
23519 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23521         * math/libm-test.inc (max_valid_error): New variable.
23522         (init_max_error): Take new argument specifying whether function
23523         results are exactly determined.  Set max_valid_error and bound
23524         other variables for errors based on this argument.
23525         (set_max_error): Do not record results above max_valid_error.
23526         (check_float_internal): Only accept errors of up to 0.5ulps if
23527         also at most max_valid_error.
23528         (START): Take new argument EXACT and pass it to init_max_error.
23529         (acos_test): Update call to START.
23530         (acos_test_tonearest): Likewise.
23531         (acos_test_towardzero): Likewise.
23532         (acos_test_downward): Likewise.
23533         (acos_test_upward): Likewise.
23534         (acosh_test): Likewise.
23535         (asin_test): Likewise.
23536         (asin_test_tonearest): Likewise.
23537         (asin_test_towardzero): Likewise.
23538         (asin_test_downward): Likewise.
23539         (asin_test_upward): Likewise.
23540         (asinh_test): Likewise.
23541         (atan_test): Likewise.
23542         (atanh_test): Likewise.
23543         (atan2_test): Likewise.
23544         (cabs_test): Likewise.
23545         (cacos_test): Likewise.
23546         (cacosh_test): Likewise.
23547         (carg_test): Likewise.
23548         (casin_test): Likewise.
23549         (casinh_test): Likewise.
23550         (catan_test): Likewise.
23551         (catanh_test): Likewise.
23552         (cbrt_test): Likewise.
23553         (ccos_test): Likewise.
23554         (ccosh_test): Likewise.
23555         (ceil_test): Likewise.
23556         (cexp_test): Likewise.
23557         (cimag_test): Likewise.
23558         (clog_test): Likewise.
23559         (clog10_test): Likewise.
23560         (conj_test): Likewise.
23561         (copysign_test): Likewise.
23562         (cos_test): Likewise.
23563         (cos_test_tonearest): Likewise.
23564         (cos_test_towardzero): Likewise.
23565         (cos_test_downward): Likewise.
23566         (cos_test_upward): Likewise.
23567         (cosh_test): Likewise.
23568         (cosh_test_tonearest): Likewise.
23569         (cosh_test_towardzero): Likewise.
23570         (cosh_test_downward): Likewise.
23571         (cosh_test_upward): Likewise.
23572         (cpow_test): Likewise.
23573         (cproj_test): Likewise.
23574         (creal_test): Likewise.
23575         (csin_test): Likewise.
23576         (csinh_test): Likewise.
23577         (csqrt_test): Likewise.
23578         (ctan_test): Likewise.
23579         (ctan_test_tonearest): Likewise.
23580         (ctan_test_towardzero): Likewise.
23581         (ctan_test_downward): Likewise.
23582         (ctan_test_upward): Likewise.
23583         (ctanh_test): Likewise.
23584         (ctanh_test_tonearest): Likewise.
23585         (ctanh_test_towardzero): Likewise.
23586         (ctanh_test_downward): Likewise.
23587         (ctanh_test_upward): Likewise.
23588         (erf_test): Likewise.
23589         (erfc_test): Likewise.
23590         (exp_test): Likewise.
23591         (exp_test_tonearest): Likewise.
23592         (exp_test_towardzero): Likewise.
23593         (exp_test_downward): Likewise.
23594         (exp_test_upward): Likewise.
23595         (exp10_test): Likewise.
23596         (exp10_test_tonearest): Likewise.
23597         (exp10_test_towardzero): Likewise.
23598         (exp10_test_downward): Likewise.
23599         (exp10_test_upward): Likewise.
23600         (pow10_test): Likewise.
23601         (exp2_test): Likewise.
23602         (expm1_test): Likewise.
23603         (expm1_test_tonearest): Likewise.
23604         (expm1_test_towardzero): Likewise.
23605         (expm1_test_downward): Likewise.
23606         (expm1_test_upward): Likewise.
23607         (fabs_test): Likewise.
23608         (fdim_test): Likewise.
23609         (floor_test): Likewise.
23610         (fma_test): Likewise.
23611         (fma_test_towardzero): Likewise.
23612         (fma_test_downward): Likewise.
23613         (fma_test_upward): Likewise.
23614         (fmax_test): Likewise.
23615         (fmin_test): Likewise.
23616         (fmod_test): Likewise.
23617         (fpclassify_test): Likewise.
23618         (frexp_test): Likewise.
23619         (hypot_test): Likewise.
23620         (ilogb_test): Likewise.
23621         (isfinite_test): Likewise.
23622         (finite_test): Likewise.
23623         (isgreater_test): Likewise.
23624         (isgreaterequal_test): Likewise.
23625         (isinf_test): Likewise.
23626         (isless_test): Likewise.
23627         (islessequal_test): Likewise.
23628         (islessgreater_test): Likewise.
23629         (isnan_test): Likewise.
23630         (isnormal_test): Likewise.
23631         (issignaling_test): Likewise.
23632         (isunordered_test): Likewise.
23633         (j0_test): Likewise.
23634         (j1_test): Likewise.
23635         (jn_test): Likewise.
23636         (ldexp_test): Likewise.
23637         (lgamma_test): Likewise.
23638         (gamma_test): Likewise.
23639         (lrint_test): Likewise.
23640         (lrint_test_tonearest): Likewise.
23641         (lrint_test_towardzero): Likewise.
23642         (lrint_test_downward): Likewise.
23643         (lrint_test_upward): Likewise.
23644         (llrint_test): Likewise.
23645         (llrint_test_tonearest): Likewise.
23646         (llrint_test_towardzero): Likewise.
23647         (llrint_test_downward): Likewise.
23648         (llrint_test_upward): Likewise.
23649         (log_test): Likewise.
23650         (log10_test): Likewise.
23651         (log1p_test): Likewise.
23652         (log2_test): Likewise.
23653         (logb_test): Likewise.
23654         (logb_test_downward): Likewise.
23655         (lround_test): Likewise.
23656         (llround_test): Likewise.
23657         (modf_test): Likewise.
23658         (nearbyint_test): Likewise.
23659         (nextafter_test): Likewise.
23660         (nexttoward_test): Likewise.
23661         (pow_test): Likewise.
23662         (pow_test_tonearest): Likewise.
23663         (pow_test_towardzero): Likewise.
23664         (pow_test_downward): Likewise.
23665         (pow_test_upward): Likewise.
23666         (remainder_test): Likewise.
23667         (drem_test): Likewise.
23668         (remainder_test_tonearest): Likewise.
23669         (drem_test_tonearest): Likewise.
23670         (remainder_test_towardzero): Likewise.
23671         (drem_test_towardzero): Likewise.
23672         (remainder_test_downward): Likewise.
23673         (drem_test_downward): Likewise.
23674         (remainder_test_upward): Likewise.
23675         (drem_test_upward): Likewise.
23676         (remquo_test): Likewise.
23677         (rint_test): Likewise.
23678         (rint_test_tonearest): Likewise.
23679         (rint_test_towardzero): Likewise.
23680         (rint_test_downward): Likewise.
23681         (rint_test_upward): Likewise.
23682         (round_test): Likewise.
23683         (scalb_test): Likewise.
23684         (scalbn_test): Likewise.
23685         (scalbln_test): Likewise.
23686         (signbit_test): Likewise.
23687         (sin_test): Likewise.
23688         (sin_test_tonearest): Likewise.
23689         (sin_test_towardzero): Likewise.
23690         (sin_test_downward): Likewise.
23691         (sin_test_upward): Likewise.
23692         (sincos_test): Likewise.
23693         (sinh_test): Likewise.
23694         (sinh_test_tonearest): Likewise.
23695         (sinh_test_towardzero): Likewise.
23696         (sinh_test_downward): Likewise.
23697         (sinh_test_upward): Likewise.
23698         (sqrt_test): Likewise.
23699         (sqrt_test_tonearest): Likewise.
23700         (sqrt_test_towardzero): Likewise.
23701         (sqrt_test_downward): Likewise.
23702         (sqrt_test_upward): Likewise.
23703         (tan_test): Likewise.
23704         (tan_test_tonearest): Likewise.
23705         (tan_test_towardzero): Likewise.
23706         (tan_test_downward): Likewise.
23707         (tan_test_upward): Likewise.
23708         (tanh_test): Likewise.
23709         (tgamma_test): Likewise.
23710         (trunc_test): Likewise.
23711         (y0_test): Likewise.
23712         (y1_test): Likewise.
23713         (yn_test): Likewise.
23714         (significand_test): Likewise.
23716         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23717         individual tests in comment.
23718         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23719         (prev_max_error): New variable.
23720         (prev_real_max_error): Likewise.
23721         (prev_imag_max_error): Likewise.
23722         (compare_ulp_data): Don't refer to test names in comment.
23723         (find_test_ulps): Remove function.
23724         (find_function_ulps): Likewise.
23725         (find_complex_function_ulps): Likewise.
23726         (init_max_error): Take function name as argument.  Look up ulps
23727         for that function.
23728         (print_ulps): Remove function.
23729         (print_max_error): Use prev_max_error instead of calling
23730         find_function_ulps.
23731         (print_complex_max_error): Use prev_real_max_error and
23732         prev_imag_max_error instead of calling find_complex_function_ulps.
23733         (check_float_internal): Take max_ulp parameter instead of calling
23734         find_test_ulps.  Don't call print_ulps.
23735         (check_float): Update call to check_float_internal.
23736         (check_complex): Update calls to check_float_internal.
23737         (START): Pass argument to init_max_error.
23738         * math/gen-libm-test.pl (%results): Don't include "kind"
23739         information.
23740         (parse_ulps): Don't handle ulps of individual tests.
23741         (print_ulps_file): Likewise.
23742         (output_ulps): Likewise.
23743         * math/README.libm-test: Update.
23744         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23745         individual tests.
23746         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23747         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23748         * sysdeps/arm/libm-test-ulps: Likewise.
23749         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23750         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23751         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23752         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23753         * sysdeps/microblaze/libm-test-ulps: Likewise.
23754         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23755         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23756         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23757         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23758         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23759         * sysdeps/sh/libm-test-ulps: Likewise.
23760         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23761         * sysdeps/tile/libm-test-ulps: Likewise.
23762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23764 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23766         * math/libm-test.inc (print_complex_max_error): Check separately
23767         whether real and imaginary errors are within allowed range and
23768         pass 0 to print_complex_function_ulps instead of value within
23769         allowed range.
23771 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23773         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23774         formatting.
23775         (get_handles_fopen): Likewise.
23776         (do_write_test): Likewise.
23778         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23780         * libio/fileops.c (do_ftell): Use cached offset when
23781         available.
23782         * libio/iofwide.c (do_ftell_wide): Likewise.
23783         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23784         _IO_file_attach.
23785         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23787         [BZ #16532]
23788         * libio/libioP.h (get_file_offset): New function.
23789         * libio/fileops.c (get_file_offset): Likewise.
23790         (do_ftell): Likewise.
23791         (_IO_new_file_seekoff): Split out ftell logic.
23792         * libio/wfileops.c (do_ftell_wide): Likewise.
23793         (_IO_wfile_seekoff): Split out ftell logic.
23794         * libio/tst-ftell-active-handler.c: New test case.
23795         * libio/Makefile (tests): Add it.
23797 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23799         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23800         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23802 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23804         [BZ #16639]
23805         * nscd/connections.c (nscd_init): Call do_exit.
23806         (start_threads): Call do_exit and notify_parent.
23807         (begin_drop_privileges): Call do_exit.
23808         (finish_drop_privileges): Likewise.
23809         * nscd/selinux.c (preserve_capabilities): Likewise.
23810         (install_real_capabilities): Likewise.
23811         (nscd_selinux_enabled): Likewise.
23812         (avc_create_thread): Likewise.
23813         (avc_alloc_lock): Likewise.
23814         (nscd_avc_init): Likewise.
23815         * nscd/nscd.c (parent_fd): New static variable.
23816         (main): Create a pipe between parent and child processes.
23817         Skip closing parent_fd.
23818         (monitor_child): New function.
23819         (do_exit): Likewise.
23820         (notify_parent): Likewise.
23821         * nscd/nscd.h (notify_parent): Likewise.
23822         (do_exit): Likewise.
23824 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23826         * malloc/malloc.c (__libc_calloc): Revert last change.
23828 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23832 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23834         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23836         implementation.
23837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23838         (__libc_ifunc_impl_list): Likewise.
23839         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23840         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23841         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23842         * string/strrchr.c: Define STRRCHR.
23844 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23846         * benchtest/bench-strtok.c (simple_strtok): Delete.
23847         (strtok_string): Use as benchmark.
23848         * string/strtok (STRTOK): New macro.
23850 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23852         * manual/threads.texi: Add header and standard comments to all
23853         functions.
23855         * elf/dl-lookup.c (check_match): New function.
23856         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23857         (do_lookup_x): Remove nested function check_match. Use non-nested
23858         function check_match.
23860 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23862         * csu/Makefile (generated, before-compile): Use += rather than =.
23863         * catgets/Makefile (generated, generated-dirs): Likewise.
23864         * debug/Makefile (generated): Likewise.
23865         * dlfcn/Makefile (generated): Likewise.
23866         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23867         * iconvdata/Makefile (before-compile, generated): Likewise.
23868         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23869         * libio/Makefile (generated): Likewise.
23870         * malloc/Makefile (generated): Likewise.
23871         * manual/Makefile (generated, generated-dirs): Likewise.
23872         * misc/Makefile (generated): Likewise.
23873         * posix/Makefile (generated): Likewise.
23874         * resolv/Makefile (generated): Likewise.
23875         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23876         * timezone/Makefile (generated, generated-dirs): Likewise.
23878         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23880 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23883         power8 implementation.
23884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23885         file: POWER8 llround ifunc implementation.
23886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23887         (__lllround): Add POWER8 implementation.
23888         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23889         POWER8 llround implementation.
23891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23892         power8 implementation.
23893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23894         file: POWER8 llrint ifunc implementation.
23895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23896         Add POWER8 implementation.
23897         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23898         POWER8 llrint implementation.
23900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23901         power8 implementation.
23902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23903         file: POWER8 finite ifunc implementation.
23904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23905         Add POWER8 implementation.
23906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23907         Likewise.
23908         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23909         POWER8 finite implementation.
23910         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23913         power8 implementation.
23914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23915         file: POWER8 isinf ifunc implementation.
23916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23917         POWER8 implementation.
23918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23919         Likewise.
23920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23921         isinf implementation.
23922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23924         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23925         (INIT_ARCH): Add hwcap2 initialization.
23926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23927         power8 implementation.
23928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23929         file: POWER8 isnan ifunc implementation.
23930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23931         POWER8 implementation.
23932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23933         Likewise.
23934         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23935         isnan implementation.
23936         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23938 2014-02-27  Joey Ye  <joey.ye@arm.com>
23940         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23941         (_FP_NANFRAC_Q): Set to zero.
23943 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23945         [BZ #16623]
23946         * math/auto-libm-test-in: New test inputs.
23947         * math/auto-libm-test-out: Regenerate.
23948         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23949         and DA.
23950         (__cos): Likewise.
23951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23953 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23955         * scripts/evaluate-test.sh: Take new argument indicating whether
23956         failure is expected.
23957         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23958         indicating whether failure is expected.
23959         * conform/Makefile (test-xfail-run-conformtest): New variable.
23960         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23961         level.
23962         * posix/Makefile (test-xfail-annexc): New variable.
23963         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23965 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23967         * argp/Makefile: Include Makeconfig immediately after defining
23968         subdir.
23969         * assert/Makefile: Likewise.
23970         * benchtests/Makefile: Likewise.
23971         * catgets/Makefile: Likewise.
23972         * conform/Makefile: Likewise.
23973         * crypt/Makefile: Likewise.
23974         * csu/Makefile: Likewise.
23975         (all): Remove target.
23976         * ctype/Makefile: Include Makeconfig immediately after defining
23977         subdir.
23978         * debug/Makefile: Likewise.
23979         * dirent/Makefile: Likewise.
23980         * dlfcn/Makefile: Likewise.
23981         * gmon/Makefile: Likewise.
23982         * gnulib/Makefile: Likewise.
23983         * grp/Makefile: Likewise.
23984         * gshadow/Makefile: Likewise.
23985         * hesiod/Makefile: Likewise.
23986         * hurd/Makefile: Likewise.
23987         (all): Remove target.
23988         * iconvdata/Makefile: Include Makeconfig immediately after
23989         defining subdir.
23990         * inet/Makefile: Likewise.
23991         * intl/Makefile: Likewise.
23992         * io/Makefile: Likewise.
23993         * libio/Makefile: Likewise.
23994         (all): Remove target.
23995         * locale/Makefile: Include Makeconfig immediately after defining
23996         subdir.
23997         * login/Makefile: Likewise.
23998         * mach/Makefile: Likewise.
23999         (all): Remove target.
24000         * malloc/Makefile: Include Makeconfig immediately after defining
24001         subdir.
24002         (all): Remove target.
24003         * manual/Makefile: Include Makeconfig immediately after defining
24004         subdir.
24005         * math/Makefile: Likewise.
24006         * misc/Makefile: Likewise.
24007         * nis/Makefile: Likewise.
24008         * nss/Makefile: Likewise.
24009         * po/Makefile: Likewise.
24010         (all): Remove target.
24011         * posix/Makefile: Include Makeconfig immediately after defining
24012         subdir.
24013         * pwd/Makefile: Likewise.
24014         * resolv/Makefile: Likewise.
24015         * resource/Makefile: Likewise.
24016         * rt/Makefile: Likewise.
24017         * setjmp/Makefile: Likewise.
24018         * shadow/Makefile: Likewise.
24019         * signal/Makefile: Likewise.
24020         * socket/Makefile: Likewise.
24021         * soft-fp/Makefile: Likewise.
24022         * stdio-common/Makefile: Likewise.
24023         * stdlib/Makefile: Likewise.
24024         * streams/Makefile: Likewise.
24025         * string/Makefile: Likewise.
24026         * sunrpc/Makefile: Likewise.
24027         (all): Remove target.
24028         * sysvipc/Makefile: Include Makeconfig immediately after defining
24029         subdir.
24030         * termios/Makefile: Likewise.
24031         * time/Makefile: Likewise.
24032         * timezone/Makefile: Likewise.
24033         (all): Remove target.
24034         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24035         subdir.
24036         * wctype/Makefile: Likewise.
24038 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24040         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24041         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24042         (libc_feholdexcept_setround_mips): Ditto.
24043         (libc_feholdsetround): New.
24044         (libc_feholdsetroundf): New.
24045         (libc_feholdsetroundl): New.
24046         (libc_feupdateenv_test_mips): New.
24047         (libc_feupdateenv_test): New.
24048         (libc_feupdateenv_testf): New.
24049         (libc_feupdateenv_testl): New.
24050         (libc_feresetround): New.
24051         (libc_feresetroundf): New.
24052         (libc_feresetroundl): New.
24053         (libc_fetestexcept_mips): New.
24054         (libc_fetestexcept): New.
24055         (libc_fetestexceptf): New.
24056         (libc_fetestexceptl): New.
24057         (HAVE_RM_CTX): New.
24058         (libc_feholdexcept_setround_mips_ctx): New.
24059         (libc_feholdexcept_setround_ctx): New.
24060         (libc_feholdexcept_setroundf_ctx): New.
24061         (libc_feholdexcept_setroundl_ctx): New.
24062         (libc_fesetenv_mips_ctx): New.
24063         (libc_fesetenv_ctx): New.
24064         (libc_fesetenv_ctxf): New.
24065         (libc_fesetenv_ctxl): New.
24066         (libc_feupdateenv_mips_ctx): New.
24067         (libc_feupdateenv_ctx): New.
24068         (libc_feupdateenvf_ctx): New.
24069         (libc_feupdateenvl_ctx): New.
24070         (libc_feholdsetround_mips_ctx): New.
24071         (libc_feholdsetround_ctx): New.
24072         (libc_feholdsetroundf_ctx): New.
24073         (libc_feholdsetroundl_ctx): New.
24074         (libc_feresetround_mips_ctx): New.
24075         (libc_feresetround_ctx): New.
24076         (libc_feresetroundf_ctx): New.
24077         (libc_feresetroundl_ctx): New.
24079 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24081         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24083         * manual/ipc.texi: New file.
24084         * manual/Makefile (chapters): Add ipc.
24085         * manual/job.texi: Add "Inter-Process Communication" to next.
24086         * manual/process.texi: Add "Inter-Process Communication" to prev.
24088 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24092 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24094         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24096         * manual/arith.texi: Fix spaces after sentences.
24097         * manual/charset.texi: Likewise.
24098         * manual/errno.texi: Likewise.
24099         * manual/install.texi: Likewise.
24100         * manual/llio.texi: Likewise.
24101         * manual/locale.texi: Likewise.
24102         * manual/maint.texi: Likewise.
24103         * manual/math.texi: Likewise.
24104         * manual/memory.texi: Likewise.
24105         * manual/message.texi: Likewise.
24106         * manual/probes.texi: Likewise.
24107         * manual/resource.texi: Likewise.
24108         * manual/signal.texi: Likewise.
24109         * manual/socket.texi: Likewise.
24110         * manual/stdio.texi: Likewise.
24111         * manual/string.texi: Likewise.
24112         * manual/time.texi: Likewise.
24113         * manual/users.texi: Likewise.
24115 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24117         [BZ #16632]
24118         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24119         _DEFAULT_SOURCE is defined.
24121 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24122             Carlos O'Donell  <carlos@redhat.com>
24124         [BZ #16613]
24125         * elf/dl-tls.c (_dl_count_modids): New function.
24126         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24127         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24128         audit library and increment generation counter.
24129         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24130         * elf/tst-audit9.c: New file.
24131         * elf/tst-auditmod9a.c: New file.
24132         * elf/tst-auditmod9b.c: New file.
24133         * elf/Makefile: Add rules to build and run tst-audit9.
24135 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24137         [BZ #15347]
24138         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24140 2014-02-25  Will Newton  <will.newton@linaro.org>
24142         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24143         (__longjmp): Restore sp and lr before restoring callee
24144         saved registers.  Add longjmp and longjmp_target
24145         SystemTap probe point.
24146         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24147         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24148         Define to zero to match jmpbuf layout.
24149         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24150         (__sigsetjmp): Save sp and lr before saving callee
24151         saved registers.  Add setjmp SystemTap probe point.
24153 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24155         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24157 2014-02-24  Andreas Schwab  <schwab@suse.de>
24159         [BZ #15804]
24160         * elf/pldd.c (wait_for_ptrace_stop): New function.
24161         (main): Call it after attaching.
24163 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24165         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24166         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24167         Versions files is now verboten.
24168         * hurd/Versions (libc: GLIBC_2.0):
24169         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24170         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24171         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24172         * mach/Versions: Likewise.
24174         * csu/Versions: Remove unused %include.
24175         * resolv/Versions: Likewise.
24177 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24179         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24180         ($(objpfx)check-local-headers.out): Likewise.
24181         ($(objpfx)begin-end-check.out): Likewise.
24182         * Makerules (check-abi-%.out): Likewise.
24183         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24184         ($(objpfx)test2.cat): Likewise.
24185         ($(objpfx)de/libc.cat): Likewise.
24186         ($(objpfx)test-gencat.out): Likewise.
24187         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24188         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24189         ($(objpfx)noload-mem): Likewise.
24190         ($(objpfx)tst-pathopt.out): Likewise.
24191         ($(objpfx)tst-rtld-load-self.out): Likewise.
24192         ($(objpfx)tst-array1-cmp.out): Likewise.
24193         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24194         ($(objpfx)tst-array2-cmp.out): Likewise.
24195         ($(objpfx)tst-array3-cmp.out): Likewise.
24196         ($(objpfx)tst-array4-cmp.out): Likewise.
24197         ($(objpfx)tst-array5-cmp.out): Likewise.
24198         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24199         ($(objpfx)check-textrel.out): Likewise.
24200         ($(objpfx)check-execstack.out): Likewise.
24201         ($(objpfx)check-localplt.out): Likewise.
24202         ($(objpfx)order2-cmp.out): Likewise.
24203         ($(objpfx)tst-leaks1-mem): Likewise.
24204         ($(objpfx)tst-leaks1-static-mem): Likewise.
24205         ($(objpfx)tst-initorder-cmp.out): Likewise.
24206         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24207         ($(objpfx)tst-unused-dep.out): Likewise.
24208         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24209         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24210         * iconv/Makefile (test-iconvconfig): Likewise.
24211         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24212         ($(objpfx)iconv-test.out): Likewise.
24213         ($(objpfx)tst-tables.out): Likewise.
24214         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24215         ($(objpfx)tst-gettext.out): Likewise.
24216         ($(objpfx)tst-translit.out): Likewise.
24217         ($(objpfx)tst-gettext2.out): Likewise.
24218         ($(objpfx)tst-gettext4.out): Likewise.
24219         ($(objpfx)tst-gettext6.out): Likewise.
24220         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24221         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24222         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24223         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24224         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24225         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24226         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24227         ($(objpfx)wordexp-tst.out): Likewise.
24228         ($(objpfx)annexc.out): Likewise.
24229         ($(objpfx)tst-fnmatch-mem): Likewise.
24230         ($(objpfx)bug-regex2-mem): Likewise.
24231         ($(objpfx)bug-regex14-mem): Likewise.
24232         ($(objpfx)bug-regex21-mem): Likewise.
24233         ($(objpfx)bug-regex31-mem): Likewise.
24234         ($(objpfx)tst-vfork3-mem): Likewise.
24235         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24236         ($(objpfx)tst-pcre-mem): Likewise.
24237         ($(objpfx)tst-boost-mem): Likewise.
24238         ($(objpfx)tst-getconf.out): Likewise.
24239         ($(objpfx)bug-ga2-mem): Likewise.
24240         ($(objpfx)bug-glob2-mem): Likewise.
24241         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24242         ($(objpfx)mtrace-tst-leaks2): Likewise.
24243         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24244         ($(objpfx)tst-printf.out): Likewise.
24245         ($(objpfx)tst-setvbuf1.out): Likewise.
24246         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24247         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24248         ($(objpfx)tst-fmtmsg.out): Likewise.
24249         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24250         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24252         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24253         * bits/sigaction.h [__USE_MISC]: Likewise.
24254         * bits/waitstatus.h: Update #endif comments.
24255         * ctype/ctype.h: Likewise.
24256         * dirent/dirent.h: Likewise.
24257         [__USE_MISC]: Remove redundant conditionals.
24258         * grp/grp.h: Update #endif comments.
24259         [__USE_GNU]: Remove redundant conditionals.
24260         [__USE_MISC]: Likewise.
24261         * inet/netinet/in.h [__USE_GNU]: Likewise.
24262         * io/sys/stat.h [__USE_MISC]: Likewise.
24263         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24264         * libio/bits/stdio.h: Update #endif comments.
24265         [__USE_MISC]: Remove redundant conditionals.
24266         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24267         * libio/stdio.h: Update #endif comments.
24268         [__USE_MISC]: Remove redundant conditionals.
24269         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24270         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24271         * math/math.h: Update #else and #endif comments.
24272         [__USE_MISC]: Remove redundant conditionals.
24273         * misc/sys/uio.h: Update #endif comments.
24274         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24275         * posix/glob.h [__USE_MISC]: Likewise.
24276         * posix/sys/types.h: Update #endif comments.
24277         [__USE_MISC]: Remove redundant conditionals.
24278         * posix/sys/wait.h: Update #endif comments.
24279         [__USE_MISC]: Remove redundant conditionals.
24280         * posix/unistd.h: Update #endif comments.
24281         [__USE_MISC]: Remove redundant conditionals.
24282         * pwd/pwd.h [__USE_GNU]: Likewise.
24283         [__USE_MISC]: Likewise.
24284         * resolv/netdb.h [__USE_GNU]: Likewise.
24285         * signal/signal.h: Update #endif comments.
24286         [__USE_MISC]: Remove redundant conditionals.
24287         * stdlib/stdlib.h: Update #else and #endif comments.
24288         [__USE_MISC]: Remove redundant conditionals.
24289         [__USE_GNU]: Likewise.
24290         * string/bits/string2.h [__USE_MISC]: Likewise.
24291         * string/string.h: Update #endif comments.
24292         [__USE_MISC]: Remove redundant conditionals.
24293         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24294         Likewise.
24295         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24296         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24297         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24298         Likewise.
24299         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24300         Likewise.
24301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24302         comments.
24303         [__USE_MISC]: Remove redundant conditionals.
24304         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24305         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24306         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24307         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24308         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24309         Likewise.
24310         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24311         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24312         Likewise.
24313         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24314         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24315         Likewise.
24316         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24317         Likewise.
24318         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24319         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24320         Likewise.
24321         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24322         Likewise.
24323         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24324         * sysdeps/x86/bits/string.h: Update #endif comments.
24325         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24326         conditionals.
24327         * time/sys/time.h: Update #endif comments.
24328         * time/time.h: Likewise.
24329         [__USE_MISC]: Remove redundant conditionals.
24331 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24333         [BZ #16600]
24334         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24336 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24338         * Versions.def (librt): Add GLIBC_2.17.
24340 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24342         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24343         synonym for _SYS_AUXV_H to allow direct inclusion.
24344         * sysdeps/sparc/bits/hwcap.h: Likewise.
24345         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24346         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24347         * sysdeps/sparc/sysdep.h: Likewise.
24349 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24351         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24353 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24355         * benchtests/bench-strrchr.c: Print length instead of position.
24357 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24359         [BZ #16611]
24360         * sysdeps/unix/sysv/linux/kernel-features.h
24361         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24362         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24363         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24364         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24365         Likewise.
24366         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24367         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24368         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24369         (__ASSUME_SENDMMSG): Define instead of using previous
24370         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24371         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24372         (__ASSUME_SENDMMSG_SYSCALL): Define.
24373         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24374         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24375         Likewise.
24376         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24377         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24378         Likewise.
24379         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24380         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24381         Likewise.
24382         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24383         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24384         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24385         [__ASSUME_SENDMMSG]: Change conditionals to
24386         [__ASSUME_SENDMMSG_SOCKETCALL].
24387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24388         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24389         Define.
24390         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24391         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24392         Likewise.
24393         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24394         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24395         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24396         [!__ASSUME_SENDMMSG]: Change conditional to
24397         [!__ASSUME_SENDMMSG_SOCKETCALL].
24398         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24399         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24400         Define.
24402         [BZ #16610]
24403         * sysdeps/unix/sysv/linux/kernel-features.h
24404         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24405         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24406         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24407         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24408         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24409         [__i386__ || __sparc__]
24410         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24411         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24412         (__ASSUME_RECVMMSG): Define instead of using previous
24413         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24414         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24415         (__ASSUME_RECVMMSG_SYSCALL): Define.
24416         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24417         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24418         Likewise.
24419         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24420         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24421         Likewise.
24422         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24423         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24424         Likewise.
24425         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24426         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24427         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24428         [__ASSUME_RECVMMSG]: Change condition to
24429         [__ASSUME_RECVMMSG_SOCKETCALL].
24430         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24431         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24432         Define.
24433         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24434         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24435         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24436         Likewise.
24437         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24438         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24439         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24440         [!__ASSUME_RECVMMSG]: Change condition to
24441         [!__ASSUME_RECVMMSG_SOCKETCALL].
24442         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24443         (__ASSUME_RECVMMSG_SYSCALL): Define.
24445         [BZ #16609]
24446         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24447         __powerpc__ || __s390__ || __sh__ || __sparc__]
24448         (__ASSUME_SOCKETCALL): Define.
24449         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24450         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24451         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24452         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24453         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24454         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24455         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24456         (__ASSUME_ACCEPT4): Define instead of using previous
24457         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24458         __powerpc__ || __sparc__ || __s390__)] condition.
24459         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24460         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24461         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24462         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24463         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24464         [!__ASSUME_ACCEPT4]: Change condition to
24465         [!__ASSUME_ACCEPT4_SOCKETCALL].
24466         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24467         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24468         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24470         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24471         __ASSUME_ACCEPT4_SYSCALL.
24472         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24473         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24474         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24475         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24476         __ASSUME_ACCEPT4_SYSCALL.
24477         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24478         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24479         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24480         [__ASSUME_ACCEPT4]: Change condition to
24481         [__ASSUME_ACCEPT4_SOCKETCALL].
24482         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24483         (__ASSUME_SOCKETCALL): Define.
24484         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24486         (__ASSUME_SOCKETCALL): Define.
24487         (__ASSUME_ACCEPT4): Remove.
24488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24489         Define.
24490         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24491         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24492         Likewise.
24493         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24494         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24496         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24497         macro.
24498         (HWCAP_ARM_LPAE): Likewise.
24499         (HWCAP_ARM_EVTSTRM): Likewise.
24500         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24501         Add vpfd32, lpae and evtstrm.
24502         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24503         Increase to 22.
24505 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24507         * math/auto-libm-test-in: Add tests of clog10.
24508         * math/auto-libm-test-out: Regenerated.
24509         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24510         * sysdeps/i386/fpu/libm-test-ulps: Update.
24511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24513 2014-02-18  Andreas Schwab  <schwab@suse.de>
24515         [BZ #16574]
24516         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24517         Store non-zero if the second buffer was newly allocated.
24518         (send_dg): Likewise.
24519         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24520         to send_vc and send_dg.
24521         (res_nsend): Pass NULL for ansp2_malloced.
24522         * resolv/res_query.c (__libc_res_nquery): Add parameter
24523         answerp2_malloced and pass it down to __libc_res_nsend.
24524         (res_nquery): Pass additional NULL to __libc_res_nquery.
24525         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24526         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24527         second answer buffer if answerp2_malloced was set.
24528         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24529         (__libc_res_nquerydomain): Add parameter
24530         answerp2_malloced and pass it down to __libc_res_nquery.
24531         (res_nquerydomain): Pass additional NULL to
24532         __libc_res_nquerydomain.
24533         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24534         additional NULL to __libc_res_nsend and __libc_res_nquery.
24535         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24536         additional NULL to __libc_res_nsearch.
24537         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24538         parameter of __libc_res_nsearch to check for separately allocated
24539         second buffer.
24540         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24541         __libc_res_nquery.
24542         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24543         additional NULL to __libc_res_nquery.
24544         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24545         __libc_res_nsearch.
24546         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24547         * include/resolv.h: Update prototypes of __libc_res_nquery,
24548         __libc_res_nsearch, __libc_res_nsend.
24550 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24552         * math/auto-libm-test-in: Add tests of fma.
24553         * math/auto-libm-test-out: Regenerated.
24554         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24555         (fma_towardzero_test_data): Likewise.
24556         (fma_downward_test_data): Likewise.
24557         (fma_upward_test_data): Likewise.
24558         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24559         mpc_mode.
24560         (rounding_modes): Add values for new field.
24561         (func_calc_method): Add value mpfr_fff_f.
24562         (func_calc_desc): Add mpfr_fff_f union field.
24563         (test_function): Add field exact_args.
24564         (FUNC): Add macro argument EXACT_ARGS.
24565         (FUNC_mpfr_f_f): Update call to FUNC.
24566         (FUNC_mpfr_f_f): Likewise.
24567         (FUNC_mpfr_ff_f): Likewise.
24568         (FUNC_mpfr_if_f): Likewise.
24569         (FUNC_mpc_c_f): Likewise.
24570         (FUNC_mpc_c_c): Likewise.
24571         (test_functions): Add fma.  Update calls to FUNC.
24572         (handle_input_arg): Add argument exact_args.
24573         (add_test): Update call to handle_input_arg.
24574         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24575         (output_for_one_input_case): Update call to calc_generic_results.
24576         Recalculate exact zero results in each rounding mode.
24578         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24579         non-negative before setting low bit.
24580         * math/auto-libm-test-in: Mark one asin test possibly having
24581         spurious underflow.
24582         * math/auto-libm-test-out: Regenerated.
24583         * sysdeps/i386/fpu/libm-test-ulps: Update.
24584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24586 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24588         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24589         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24590         ports/sysdeps/unix/sysv/linux/microblaze.
24591         * README: Add missing listing for microblaze*-*-linux-gnu.
24593 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24595         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24596         duplicate code
24598 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24600         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24601         * sysdeps/unix/sysv/linux/ia64: Move directory from
24602         ports/sysdeps/unix/sysv/linux/ia64.
24603         * README: Update listing for ia64-*-linux-gnu.
24605 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24606             Joseph Myers  <joseph@codesourcery.com>
24608         * Makeconfig (test-name): New variable.
24609         (evaluate-test): Likewise.
24610         * Makerules (do-test-clean): Remove .test-result files.
24611         (common-mostlyclean): Likewise.
24612         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24613         * scripts/evaluate-test.sh: New file.
24615 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24617         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24618         separate $(objpfx)tst-fopenloc-cmp.out and
24619         $(objpfx)tst-fopenloc-mem.out targets.
24620         (tests): Update dependencies.
24621         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24622         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24623         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24624         (tst-rxspencer-no-utf8-ARGS): New variable.
24625         (tst-rxspencer-no-utf8-ENV): Likewise.
24626         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24627         instead of $(objpfx)tst-rxspencer-mem.
24628         ($(objpfx)tst-rxspencer-mem): Change target to
24629         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24630         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24631         * posix/tst-rxspencer-no-utf8.c: New file.
24633         * elf/Makefile ($(objpfx)order.out): Remove rule.
24634         [$(run-built-tests) = yes] (tests): Depend on
24635         $(objpfx)order-cmp.out.
24636         ($(objpfx)order-cmp.out): New rule.
24637         [$(run-built-tests) = yes] (tests): Depend on
24638         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24639         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24640         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24641         $(objpfx)tst-array5-static-cmp.out.
24642         ($(objpfx)tst-array1.out): Remove rule.
24643         ($(objpfx)tst-array1-cmp.out): New rule.
24644         ($(objpfx)tst-array1-static.out): Remove rule.
24645         ($(objpfx)tst-array1-static-cmp.out): New rule.
24646         ($(objpfx)tst-array2.out): Remove rule.
24647         ($(objpfx)tst-array2-cmp.out): New rule.
24648         ($(objpfx)tst-array3.out): Remove rule.
24649         ($(objpfx)tst-array3-cmp.out): New rule.
24650         ($(objpfx)tst-array4.out): Remove rule.
24651         ($(objpfx)tst-array4-cmp.out): New rule.
24652         ($(objpfx)tst-array5.out): Remove rule.
24653         ($(objpfx)tst-array5-cmp.out): New rule.
24654         ($(objpfx)tst-array5-static.out): Remove rule.
24655         ($(objpfx)tst-array5-static-cmp.out): New rule.
24656         [$(run-built-tests) = yes] (tests): Depend on
24657         $(objpfx)order2-cmp.out.
24658         ($(objpfx)order2.out): Remove rule.
24659         ($(objpfx)order2-cmp.out): New rule.
24660         ($(objpfx)tst-initorder.out): Remove rule.
24661         [$(run-built-tests) = yes] (tests): Depend on
24662         $(objpfx)tst-initorder-cmp.out.
24663         ($(objpfx)tst-initorder-cmp.out): New rule.
24664         ($(objpfx)tst-initorder2.out): Remove rule.
24665         [$(run-built-tests) = yes] (tests): Depend on
24666         $(objpfx)tst-initorder2-cmp.out.
24667         ($(objpfx)tst-initorder2-cmp.out): New rule.
24668         [$(run-built-tests) = yes] (tests): Depend on
24669         $(objpfx)tst-unused-dep-cmp.out.
24670         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24671         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24672         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24673         on $(objpfx)tst-setvbuf1-cmp.out.
24674         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24675         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24676         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24677         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24678         ($(objpfx)tst-svc.out): Remove rule.
24679         ($(objpfx)tst-svc-cmp.out): New rule.
24681 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24683         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24684         * ctype/ctype.h [__USE_MISC]: Likewise.
24685         * dirent/dirent.h [__USE_MISC]: Likewise.
24686         * grp/grp.h [__USE_MISC]: Likewise.
24687         * io/fcntl.h [__USE_MISC]: Likewise.
24688         * io/sys/stat.h [__USE_MISC]: Likewise.
24689         * libio/stdio.h [__USE_MISC]: Likewise.
24690         * posix/unistd.h [__USE_MISC]: Likewise.
24691         * pwd/pwd.h [__USE_MISC]: Likewise.
24692         * stdlib.h [__USE_MISC]: Likewise.
24693         * string/bits/string2.h [__USE_MISC]: Likewise.
24694         * string/string.h [__USE_MISC]: Likewise.
24695         * time/time.h [__USE_MISC]: Likewise.
24697 2014-02-13  Andreas Schwab  <schwab@suse.de>
24699         [BZ #16574]
24700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24701         second answer buffer if it was separately allocated.
24703 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24705         * sysdeps/mips/math-tests.h: Include <features.h>.
24706         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24707         (ROUNDING_TESTS_long_double): Do not define.
24708         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24709         (EXCEPTION_TESTS_long_double): Likewise.
24710         * sysdeps/mips/mips64/libm-test-ulps: Update.
24712         * include/features.h (__USE_BSD): Remove macro definitions.
24713         (__USE_SVID): Likewise.
24714         (_BSD_SOURCE): Likewise.
24715         (_SVID_SOURCE): Likewise.
24716         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24717         from definition of _DEFAULT_SOURCE.
24718         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24719         [_DEFAULT_SOURCE].
24720         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24721         * bits/mman.h [__USE_BSD]: Likewise.
24722         * bits/termios.h [__USE_BSD]: Likewise.
24723         * bits/waitstatus.h [__USE_BSD]: Likewise.
24724         * ctype/ctype.h [__USE_SVID]: Likewise.
24725         * dirent/dirent.h [__USE_BSD]: Likewise.
24726         * grp/grp.h [__USE_SVID]: Likewise.
24727         [__USE_BSD]: Likewise.
24728         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24729         * io/fcntl.h [__USE_BSD]: Likewise.
24730         * io/ftw.h [__USE_BSD]: Likewise.
24731         * io/sys/stat.h [__USE_BSD]: Likewise.
24732         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24733         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24734         * libio/stdio.h [__USE_SVID]: Likewise.
24735         [__USE_BSD]: Likewise.
24736         * math/math.h [__USE_SVID]: Likewise.
24737         [__USE_BSD]: Likewise.
24738         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24739         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24740         * misc/search.h [__USE_SVID]: Likewise.
24741         * misc/sys/mman.h [__USE_BSD]: Likewise.
24742         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24743         * misc/sys/uio.h [__USE_BSD]: Likewise.
24744         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24745         * posix/glob.h [__USE_BSD]: Likewise.
24746         * posix/regex.h [__USE_BSD]: Likewise.
24747         * posix/sys/types.h [__USE_BSD]: Likewise.
24748         [__USE_SVID]: Likewise.
24749         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24750         * posix/sys/wait.h [__USE_BSD]: Likewise.
24751         [__USE_SVID]: Likewise.
24752         * posix/unistd.h [__USE_BSD]: Likewise.
24753         [__USE_SVID]: Likewise.
24754         * pwd/pwd.h [__USE_SVID]: Likewise.
24755         * resolv/netdb.h [__USE_BSD]: Likewise.
24756         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24757         * signal/signal.h [__USE_BSD]: Likewise.
24758         [__USE_SVID]: Likewise.
24759         * socket/sys/socket.h [__USE_BSD]: Likewise.
24760         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24761         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24762         [__USE_SVID]: Likewise.
24763         * string/bits/string2.h [__USE_BSD]: Likewise.
24764         [__USE_SVID]: Likewise.
24765         * string/bits/string3.h [__USE_BSD]: Likewise.
24766         * string/endian.h [__USE_BSD]: Likewise.
24767         * string/string.h [__USE_SVID]: Likewise.
24768         [__USE_BSD]: Likewise.
24769         * string/strings.h [__USE_BSD]: Likewise.
24770         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24771         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24772         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24773         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24774         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24775         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24776         Likewise.
24777         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24778         Likewise.
24779         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24780         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24781         Likewise.
24782         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24783         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24784         Likewise.
24785         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24786         Likewise.
24787         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24788         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24789         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24790         Likewise.
24791         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24792         Likewise.
24793         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24794         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24795         * termios/termios.h [__USE_BSD]: Likewise.
24796         * time/sys/time.h [__USE_BSD]: Likewise.
24797         * time/time.h [__USE_BSD]: Likewise.
24798         [__USE_SVID]: Likewise.
24800         * Makefile (subdir_targets): Remove subdir_lint.out.
24802         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24803         (do-tst-printf): Likewise.
24804         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24805         $(objpfx)tst-printf.out.
24807         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24809         * Makerules (check-abi-%): Change target to
24810         $(objpfx)check-abi-%.out.
24811         (check-abi target): Update dependencies.
24812         (check-abi-pattern variable): Redirect output of diff to $@.
24813         (check-abi variable): Likewise.
24814         * elf/Makefile (check-abi): Update dependencies.
24816         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24817         unused.
24818         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24819         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24820         subnormal range.
24821         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24822         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24823         value has largest subnormal exponent.
24824         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24825         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24826         * sysdeps/aarch64/soft-fp/sfp-machine.h
24827         (_FP_TININESS_AFTER_ROUNDING): New macro.
24828         * sysdeps/alpha/soft-fp/sfp-machine.h
24829         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24830         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24831         Likewise.
24832         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24833         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24834         * sysdeps/mips/soft-fp/sfp-machine.h
24835         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24836         * sysdeps/powerpc/soft-fp/sfp-machine.h
24837         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24838         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24839         Likewise.
24840         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24841         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24842         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24843         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24844         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24845         Likewise.
24847 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24849         [BZ #16545]
24850         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24851         model 1.
24853 2014-02-12  Richard Henderson  <rth@redhat.com>
24855         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24856         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24857         * sysdeps/unix/sysv/linux/alpha: Move directory from
24858         ports/sysdeps/unix/sysv/linux/alpha.
24859         * README: Update listing for alpha-*-linux-gnu.
24861 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24863         * include/features.h: Update comment documenting feature test
24864         macros.
24865         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24866         _DEFAULT_SOURCE.
24867         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24868         (_SVID_SOURCE): Likewise.
24869         (_DEFAULT_SOURCE): Update description of default features.
24870         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24871         with _GNU_SOURCE.
24872         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24873         (S_ISVTX): Likewise.
24874         * manual/math.texi (Mathematical Constants): Likewise.
24875         * manual/signal.texi (Interrupted Primitives): Likewise.
24876         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24877         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24878         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24879         Don't refer to _SVID_SOURCE in warning text.
24881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24883         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24884         already defined.
24885         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24886         * sysdeps/mips/dl-lookup.c: Remove.
24887         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24889 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24891         [BZ #16447]
24892         * math/auto-libm-test-in: Add testcase for expl.
24893         * math/auto-libm-test-out: Regenerate.
24894         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24895         calculation of unsafe.
24896         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24898 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24900         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24901         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24902         ports/sysdeps/unix/sysv/linux/aarch64.
24903         * README: Update listing for aarch64*-*-linux-gnu.
24905 2014-02-11  Will Newton  <will.newton@linaro.org>
24907         * manual/probes.texi (Mathematical Function Probes): Use
24908         "triggered" instead of "hit".
24910         * manual/probes.texi (Internal Probes): Add documentation
24911         of setjmp, longjmp and longjmp_target probes.
24913         * include/stap-probe.h: Add comment about probe argument
24914         format.
24916         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24917         definition.  (tr_where, tr_freehook, tr_mallochook,
24918         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24920 2014-02-11  David S. Miller  <davem@davemloft.net>
24922         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24923         processing int_tests.
24925 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24927         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24928         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24929         * sysdeps/unix/sysv/linux/mips: Move directory from
24930         ports/sysdeps/unix/sysv/linux/mips.
24931         * README: Update listing for mips-*-linux-gnu and
24932         mips64-*-linux-gnu.
24934 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24936         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24937         * sysdeps/unix/sysv/linux/m68k: Move directory from
24938         ports/sysdeps/unix/sysv/linux/m68k.
24939         * README: Update listing for m68k-*-linux-gnu.
24941 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24943         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24944         * sysdeps/unix/sysv/linux/generic: Move directory from
24945         ports/sysdeps/unix/sysv/linux/generic.
24946         * sysdeps/unix/sysv/linux/tile: Move directory from
24947         ports/sysdeps/unix/sysv/linux/tile.
24948         * README: Update listing for tile*-*-linux-gnu.
24950 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24952         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24953         __builtin_expect.
24954         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24955         * catgets/open_catalog.c (__open_catalog): Likewise.
24956         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24957         * debug/confstr_chk.c: Likewise.
24958         * debug/fread_chk.c (__fread_chk): Likewise.
24959         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24960         * debug/getgroups_chk.c: Likewise.
24961         * debug/mbsnrtowcs_chk.c: Likewise.
24962         * debug/mbsrtowcs_chk.c: Likewise.
24963         * debug/mbstowcs_chk.c: Likewise.
24964         * debug/memcpy_chk.c: Likewise.
24965         * debug/memmove_chk.c: Likewise.
24966         * debug/mempcpy_chk.c: Likewise.
24967         * debug/memset_chk.c: Likewise.
24968         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24969         * debug/strcat_chk.c (__strcat_chk): Likewise.
24970         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24971         * debug/strncat_chk.c (__strncat_chk): Likewise.
24972         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24973         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24974         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24975         * debug/wcpncpy_chk.c: Likewise.
24976         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24977         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24978         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24979         * debug/wcsncpy_chk.c: Likewise.
24980         * debug/wcsnrtombs_chk.c: Likewise.
24981         * debug/wcsrtombs_chk.c: Likewise.
24982         * debug/wcstombs_chk.c: Likewise.
24983         * debug/wmemcpy_chk.c: Likewise.
24984         * debug/wmemmove_chk.c: Likewise.
24985         * debug/wmempcpy_chk.c: Likewise.
24986         * debug/wmemset_chk.c: Likewise.
24987         * dirent/scandirat.c (SCANDIRAT): Likewise.
24988         * dlfcn/dladdr1.c (dladdr1): Likewise.
24989         * dlfcn/dladdr.c (dladdr): Likewise.
24990         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24991         * dlfcn/dlerror.c (__dlerror): Likewise.
24992         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24993         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24994         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24995         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24996         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24997         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24998         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24999         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25000         Likewise.
25001         * elf/dl-conflict.c: Likewise.
25002         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25003         * elf/dl-dst.h: Likewise.
25004         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25005         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25006         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25007         * elf/dl-init.c (call_init, _dl_init): Likewise.
25008         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25009         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25010         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25011         Likewise.
25012         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25013         Likewise.
25014         * elf/dl-minimal.c (__libc_memalign): Likewise.
25015         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25016         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25017         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25018         * elf/dl-sym.c (do_sym): Likewise.
25019         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25020         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25021         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25022         * elf/dl-writev.h (_dl_writev): Likewise.
25023         * elf/ldconfig.c (search_dir): Likewise.
25024         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25025         (dl_main): Likewise.
25026         * elf/setup-vdso.h (setup_vdso): Likewise.
25027         * grp/compat-initgroups.c (compat_call): Likewise.
25028         * grp/fgetgrent.c (fgetgrent): Likewise.
25029         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25030         * grp/putgrent.c (putgrent): Likewise.
25031         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25032         Likewise.
25033         * hurd/hurdinit.c: Likewise.
25034         * iconvdata/8bit-gap.c (struct): Likewise.
25035         * iconvdata/ansi_x3.110.c : Likewise.
25036         * iconvdata/big5.c : Likewise.
25037         * iconvdata/big5hkscs.c : Likewise.
25038         * iconvdata/cp1255.c: Likewise.
25039         * iconvdata/cp1258.c : Likewise.
25040         * iconvdata/cp932.c : Likewise.
25041         * iconvdata/euc-cn.c: Likewise.
25042         * iconvdata/euc-jisx0213.c : Likewise.
25043         * iconvdata/euc-jp.c: Likewise.
25044         * iconvdata/euc-jp-ms.c : Likewise.
25045         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25046         * iconvdata/gb18030.c : Likewise.
25047         * iconvdata/gbbig5.c (const): Likewise.
25048         * iconvdata/gbgbk.c: Likewise.
25049         * iconvdata/gbk.c : Likewise.
25050         * iconvdata/ibm1364.c : Likewise.
25051         * iconvdata/ibm930.c : Likewise.
25052         * iconvdata/ibm932.c: Likewise.
25053         * iconvdata/ibm933.c : Likewise.
25054         * iconvdata/ibm935.c : Likewise.
25055         * iconvdata/ibm937.c : Likewise.
25056         * iconvdata/ibm939.c : Likewise.
25057         * iconvdata/ibm943.c: Likewise.
25058         * iconvdata/iso_11548-1.c: Likewise.
25059         * iconvdata/iso-2022-cn.c : Likewise.
25060         * iconvdata/iso-2022-cn-ext.c : Likewise.
25061         * iconvdata/iso-2022-jp-3.c: Likewise.
25062         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25063         * iconvdata/iso-2022-kr.c : Likewise.
25064         * iconvdata/iso646.c (gconv_end): Likewise.
25065         * iconvdata/iso_6937-2.c : Likewise.
25066         * iconvdata/iso_6937.c : Likewise.
25067         * iconvdata/iso8859-1.c: Likewise.
25068         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25069         * iconvdata/shift_jisx0213.c : Likewise.
25070         * iconvdata/sjis.c : Likewise.
25071         * iconvdata/t.61.c : Likewise.
25072         * iconvdata/tcvn5712-1.c : Likewise.
25073         * iconvdata/tscii.c: Likewise.
25074         * iconvdata/uhc.c : Likewise.
25075         * iconvdata/unicode.c (gconv_end): Likewise.
25076         * iconvdata/utf-16.c (gconv_end): Likewise.
25077         * iconvdata/utf-32.c (gconv_end): Likewise.
25078         * iconvdata/utf-7.c (base64): Likewise.
25079         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25080         * iconv/gconv_close.c (__gconv_close): Likewise.
25081         * iconv/gconv_open.c (__gconv_open): Likewise.
25082         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25083         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25084         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25085         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25086         (ucs4le_internal_loop_single): Likewise.
25087         * iconv/iconv.c (iconv): Likewise.
25088         * iconv/iconv_close.c: Likewise.
25089         * iconv/loop.c (SINGLE): Likewise.
25090         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25091         * include/atomic.h: Likewise.
25092         * inet/inet6_option.c (option_alloc): Likewise.
25093         * intl/bindtextdom.c (set_binding_values): Likewise.
25094         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25095         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25096         * intl/localealias.c (read_alias_file): Likewise.
25097         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25098         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25099         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25100         * libio/fmemopen.c (fmemopen): Likewise.
25101         * libio/iofgets.c (_IO_fgets): Likewise.
25102         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25103         * libio/iofgetws.c (fgetws): Likewise.
25104         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25105         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25106         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25107         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25108         * locale/findlocale.c (_nl_find_locale): Likewise.
25109         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25110         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25111         Likewise.
25112         * locale/setlocale.c (setlocale): Likewise.
25113         * login/programs/pt_chown.c (main): Likewise.
25114         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25115         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25116         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25117         (mmap, mmap64, mremap, munmap): Likewise.
25118         * math/e_exp2l.c: Likewise.
25119         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25120         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25121         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25122         * math/s_catan.c (__catan): Likewise.
25123         * math/s_catanf.c (__catanf): Likewise.
25124         * math/s_catanh.c (__catanh): Likewise.
25125         * math/s_catanhf.c (__catanhf): Likewise.
25126         * math/s_catanhl.c (__catanhl): Likewise.
25127         * math/s_catanl.c (__catanl): Likewise.
25128         * math/s_ccosh.c (__ccosh): Likewise.
25129         * math/s_ccoshf.c (__ccoshf): Likewise.
25130         * math/s_ccoshl.c (__ccoshl): Likewise.
25131         * math/s_cexp.c (__cexp): Likewise.
25132         * math/s_cexpf.c (__cexpf): Likewise.
25133         * math/s_cexpl.c (__cexpl): Likewise.
25134         * math/s_clog10.c (__clog10): Likewise.
25135         * math/s_clog10f.c (__clog10f): Likewise.
25136         * math/s_clog10l.c (__clog10l): Likewise.
25137         * math/s_clog.c (__clog): Likewise.
25138         * math/s_clogf.c (__clogf): Likewise.
25139         * math/s_clogl.c (__clogl): Likewise.
25140         * math/s_csin.c (__csin): Likewise.
25141         * math/s_csinf.c (__csinf): Likewise.
25142         * math/s_csinh.c (__csinh): Likewise.
25143         * math/s_csinhf.c (__csinhf): Likewise.
25144         * math/s_csinhl.c (__csinhl): Likewise.
25145         * math/s_csinl.c (__csinl): Likewise.
25146         * math/s_csqrt.c (__csqrt): Likewise.
25147         * math/s_csqrtf.c (__csqrtf): Likewise.
25148         * math/s_csqrtl.c (__csqrtl): Likewise.
25149         * math/s_ctan.c (__ctan): Likewise.
25150         * math/s_ctanf.c (__ctanf): Likewise.
25151         * math/s_ctanh.c (__ctanh): Likewise.
25152         * math/s_ctanhf.c (__ctanhf): Likewise.
25153         * math/s_ctanhl.c (__ctanhl): Likewise.
25154         * math/s_ctanl.c (__ctanl): Likewise.
25155         * math/w_pow.c: Likewise.
25156         * math/w_powf.c: Likewise.
25157         * math/w_powl.c: Likewise.
25158         * math/w_scalb.c (sysv_scalb): Likewise.
25159         * math/w_scalbf.c (sysv_scalbf): Likewise.
25160         * math/w_scalbl.c (sysv_scalbl): Likewise.
25161         * misc/error.c (error_tail): Likewise.
25162         * misc/pselect.c (__pselect): Likewise.
25163         * nis/nis_callback.c (__nis_create_callback): Likewise.
25164         * nis/nis_call.c (__nisfind_server): Likewise.
25165         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25166         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25167         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25168         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25169         * nis/nis_lookup.c (nis_lookup): Likewise.
25170         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25171         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25172         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25173         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25174         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25175         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25176         * nis/nss_compat/compat-initgroups.c (add_group)
25177         (internal_getgrent_r): Likewise.
25178         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25179         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25180         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25181         (internal_getspnam_r): Likewise.
25182         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25183         (_nss_nis_getaliasbyname_r): Likewise.
25184         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25185         (_nss_nis_getntohost_r): Likewise.
25186         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25187         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25188         (_nss_nis_getgrgid_r): Likewise.
25189         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25190         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25191         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25192         (_nss_nis_gethostbyname4_r): Likewise.
25193         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25194         (initgroups_netid): Likewise.
25195         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25196         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25197         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25198         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25199         (_nss_nis_getprotobynumber_r): Likewise.
25200         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25201         (_nss_nis_getsecretkey): Likewise.
25202         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25203         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25204         (_nss_nis_getpwuid_r): Likewise.
25205         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25206         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25207         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25208         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25209         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25210         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25211         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25212         Likewise.
25213         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25214         (_nss_nisplus_getntohost_r): Likewise.
25215         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25216         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25217         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25218         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25219         Likewise.
25220         * nis/nss_nisplus/nisplus-initgroups.c
25221         (_nss_nisplus_initgroups_dyn): Likewise.
25222         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25223         (_nss_nisplus_getnetbyaddr_r): Likewise.
25224         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25225         (_nss_nisplus_getprotobynumber_r): Likewise.
25226         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25227         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25228         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25229         Likewise.
25230         * nis/nss_nisplus/nisplus-service.c
25231         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25232         (_nss_nisplus_getservbyport_r): Likewise.
25233         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25234         (_nss_nisplus_getspnam_r): Likewise.
25235         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25236         Likewise.
25237         * nscd/aicache.c (addhstaiX): Likewise.
25238         * nscd/cache.c (cache_search, prune_cache): Likewise.
25239         * nscd/connections.c (register_traced_file, send_ro_fd)
25240         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25241         (main_loop_epoll): Likewise.
25242         * nscd/grpcache.c (addgrbyX): Likewise.
25243         * nscd/hstcache.c (addhstbyX): Likewise.
25244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25245         * nscd/mem.c (gc, mempool_alloc): Likewise.
25246         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25247         (addinnetgrX): Likewise.
25248         * nscd/nscd-client.h (__nscd_acquire_maplock)
25249         (__nscd_drop_map_ref): Likewise.
25250         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25251         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25252         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25253         Likewise.
25254         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25255         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25256         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25257         (__nscd_get_map_ref): Likewise.
25258         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25259         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25260         Likewise.
25261         * nscd/pwdcache.c (addpwbyX): Likewise.
25262         * nscd/selinux.c (preserve_capabilities): Likewise.
25263         * nscd/servicescache.c (addservbyX): Likewise.
25264         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25265         * posix/fnmatch.c (fnmatch): Likewise.
25266         * posix/getopt.c (_getopt_internal_r): Likewise.
25267         * posix/glob.c (glob, glob_in_dir): Likewise.
25268         * posix/wordexp.c (exec_comm_child): Likewise.
25269         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25270         (getanswer_r, gaih_getanswer_slice): Likewise.
25271         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25272         * resolv/res_init.c: Likewise.
25273         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25274         * resolv/res_query.c (__libc_res_nquery): Likewise.
25275         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25276         Likewise.
25277         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25278         * stdio-common/perror.c (perror): Likewise.
25279         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25280         * stdio-common/tmpnam.c (tmpnam): Likewise.
25281         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25282         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25283         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25284         Likewise.
25285         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25286         * stdlib/putenv.c (putenv): Likewise.
25287         * stdlib/setenv.c (__add_to_environ): Likewise.
25288         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25289         * stdlib/strtol_l.c (INTERNAL): Likewise.
25290         * string/memmem.c (memmem): Likewise.
25291         * string/strerror.c (strerror): Likewise.
25292         * string/strnlen.c (__strnlen): Likewise.
25293         * string/test-memmem.c (simple_memmem): Likewise.
25294         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25295         * sunrpc/pm_getport.c (__get_socket): Likewise.
25296         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25297         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25298         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25299         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25300         Likewise.
25301         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25302         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25303         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25304         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25305         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25306         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25307         Likewise.
25308         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25309         Likewise.
25310         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25311         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25312         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25313         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25314         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25316         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25317         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25318         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25319         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25320         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25321         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25322         Likewise.
25323         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25324         Likewise.
25325         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25326         Likewise.
25327         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25328         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25329         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25330         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25331         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25332         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25333         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25334         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25335         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25336         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25337         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25339         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25340         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25342         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25343         Likewise.
25344         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25345         Likewise.
25346         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25347         Likewise.
25348         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25349         Likewise.
25350         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25352         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25353         Likewise.
25354         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25355         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25356         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25357         * sysdeps/posix/sleep.c: Likewise.
25358         * sysdeps/posix/tempname.c: Likewise.
25359         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25360         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25361         Likewise.
25362         * sysdeps/powerpc/powerpc32/dl-machine.h
25363         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25364         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25365         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25366         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25367         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25368         Likewise.
25369         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25370         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25371         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25372         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25373         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25374         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25375         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25376         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25377         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25378         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25380         (elf_machine_lazy_rel): Likewise.
25381         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25382         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25383         (elf_machine_lazy_rel): Likewise.
25384         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25385         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25386         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25387         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25388         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25389         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25390         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25392         Likewise.
25393         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25394         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25395         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25396         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25397         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25398         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25399         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25400         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25401         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25402         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25403         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25404         Likewise.
25405         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25406         (__posix_fallocate64_l64): Likewise.
25407         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25408         (posix_fallocate): Likewise.
25409         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25410         Likewise.
25411         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25412         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25413         (getifaddrs_internal): Likewise.
25414         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25415         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25416         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25417         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25418         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25419         (__posix_fallocate64_l64): Likewise.
25420         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25421         Likewise.
25422         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25423         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25424         (__get_clockfreq): Likewise.
25425         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25426         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25427         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25428         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25429         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25430         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25431         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25432         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25433         Likewise.
25434         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25435         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25436         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25437         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25438         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25439         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25440         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25441         Likewise.
25442         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25443         (posix_fallocate): Likewise.
25444         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25445         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25446         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25447         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25448         (elf_machine_rela, elf_machine_rela_relative)
25449         (elf_machine_lazy_rel): Likewise.
25450         * time/asctime.c (asctime_internal): Likewise.
25451         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25452         * time/tzset.c (__tzset_parse_tz): Likewise.
25453         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25454         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25455         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25456         * wcsmbs/wcsmbsload.h: Likewise.
25458         [BZ #15894]
25459         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25461         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25462         (arena_get2): Remove THREAD_STATS conditionals.
25463         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25464         (__malloc_stats, int): Likewise.
25466 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25468         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25469         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25471         * manual/setjmp.texi: Fix typos/grammar errors.
25473         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25474         Only return early when n is <= 0.  Delete unused return statement.
25476         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25477         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25478         * debug/tst-longjmp_chk3.c: New file.
25480         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25481         (test_main): Replace code with set_fortify_handler call.
25482         * debug/test-strcpy_chk.c: Likewise.
25483         * debug/tst-chk1.c: Likewise.
25484         * debug/tst-longjmp_chk.c: Likewise.
25485         * test-skeleton.c: Include fcntl.h & paths.h
25486         (set_fortify_handler): Define.
25488         * debug/tst-longjmp_chk.c: Add header comment and include
25489         ../test-skeleton.c.
25490         (do_test): Mark static.
25491         (TEST_FUNCTION): Define.
25493         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25494         (IP_PMTUDISC_INTERFACE): Likewise.
25495         (IP_MULTICAST_IF): Likewise.
25496         (IP_MULTICAST_TTL): Likewise.
25497         (IP_MULTICAST_LOOP): Likewise.
25498         (IP_ADD_MEMBERSHIP): Likewise.
25499         (IP_DROP_MEMBERSHIP): Likewise.
25500         (IP_UNBLOCK_SOURCE): Likewise.
25501         (IP_BLOCK_SOURCE): Likewise.
25502         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25503         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25504         (IP_MSFILTER): Likewise.
25505         (MCAST_JOIN_GROUP): Likewise.
25506         (MCAST_BLOCK_SOURCE): Likewise.
25507         (MCAST_UNBLOCK_SOURCE): Likewise.
25508         (MCAST_LEAVE_GROUP): Likewise.
25509         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25510         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25511         (MCAST_MSFILTER): Likewise.
25512         (IP_MULTICAST_ALL): Likewise.
25513         (IP_UNICAST_IF): Likewise.
25515         * timezone/Makefile: Delete $(have-ksh) check.
25516         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25517         * timezone/tzselect.ksh: Add +x mode bits.
25519         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25520         (ANON_INODE_FS_MAGIC): Likewise.
25521         (BDEVFS_MAGIC): Likewise.
25522         (BINFMTFS_MAGIC): Likewise.
25523         (BTRFS_TEST_MAGIC): Likewise.
25524         (CRAMFS_MAGIC_WEND): Likewise.
25525         (DEBUGFS_MAGIC): Likewise.
25526         (ECRYPTFS_SUPER_MAGIC): Likewise.
25527         (EXT3_SUPER_MAGIC): Likewise.
25528         (EXT4_SUPER_MAGIC): Likewise.
25529         (FUTEXFS_SUPER_MAGIC): Likewise.
25530         (HOSTFS_SUPER_MAGIC): Likewise.
25531         (HUGETLBFS_MAGIC): Likewise.
25532         (MINIX3_SUPER_MAGIC): Likewise.
25533         (MTD_INODE_FS_MAGIC): Likewise.
25534         (NILFS_SUPER_MAGIC): Likewise.
25535         (OPENPROM_SUPER_MAGIC): Likewise.
25536         (PIPEFS_MAGIC): Likewise.
25537         (PSTOREFS_MAGIC): Likewise.
25538         (QNX6_SUPER_MAGIC): Likewise.
25539         (RAMFS_MAGIC): Likewise.
25540         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25541         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25542         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25543         (SECURITYFS_MAGIC): Likewise.
25544         (SELINUX_MAGIC): Likewise.
25545         (SMACK_MAGIC): Likewise.
25546         (SOCKFS_MAGIC): Likewise.
25547         (SQUASHFS_MAGIC): Likewise.
25548         (STACK_END_MAGIC): Likewise.
25549         (TMPFS_MAGIC): Likewise.
25550         (USBDEVICE_SUPER_MAGIC): Likewise.
25551         (V9FS_MAGIC): Likewise.
25552         (XENFS_SUPER_MAGIC): Likewise.
25553         (CRAMFS_MAGIC): Fix typo in comment.
25554         (EXT2_SUPER_MAGIC): Update comment.
25555         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25557 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25559         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25560         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25561         * sysdeps/unix/sysv/linux/arm: Move directory from
25562         ports/sysdeps/unix/sysv/linux/arm.
25563         * README: Update listing for arm-*-linux-gnueabi.
25565         * README: Remove mention of am33.
25567 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25569         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25570         than the comma operator, to avoid "rhs of comma has no effect"
25571         compiler warnings.
25572         (__sigfillset, __sigandset, __sigorset): Likewise.
25573         * include/signal.h (__sigemptyset): Likewise.
25574         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25576 2014-02-07  Allan McRae  <allan@archlinux.org>
25578         * version.h (RELEASE): Set to "development".
25579         (VERSION): Set to "2.19.90"
25580         * NEWS: Add 2.20 section.
25582 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25584         [BZ #16529]
25585         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25587 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25589         * manual/contrib.texi: Update entry for Carlos O'Donell,
25590         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25592 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25594         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25596         * sysdeps/unix/sysv/linux/kernel-features.h
25597         [__LINUX_KERNEL_VERSION >= 0x020621]
25598         (__ASSUME_PROC_PID_TASK_COMM): Define.
25600 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25602         [BZ #16398]
25603         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25604         conversion when destination buffer does not have enough space.
25605         * libio/tst-ftell-partial-wide.c: New test case.
25606         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25608         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25609         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25610         Leonard and Allan McRae.
25612 2014-02-04  David S. Miller  <davem@davemloft.net>
25614         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25615         32-bit.
25617 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25620         New file
25621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25622         New file
25623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25624         New file.
25625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25626         New file.
25627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25628         New file.
25629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25630         New file.
25631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25632         New file.
25633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25634         New file.
25635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25636         New file.
25637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25638         New file.
25639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25640         New file.
25641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25642         New file.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25644         New file.
25646 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25648         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25649         * shlib-versions: Likewise.
25651 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25652             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25654         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25655         (abilist-pattern): New variable, set to %-le.abilist.
25657         * Makerules (abilist-pattern): New variable.
25658         (vpath): Use $(abilist-pattern) in place of %.abilist.
25659         (check-abi-% pattern rule): Likewise.
25660         (check-abi, update-abi): Likewise.
25662 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25666 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25668         * manual/startup.texi: Add next, previous, and top entries for
25669         the `Program Arguments' and `Environment Variables' nodes.
25671 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25673         * manual/macros.texi: Add comments before MTASC-safety macros.
25675         * manual/users.texi: Document MTASC-safety properties.
25677         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25678         (pthread_getspecific, pthread_setspecific): Format with
25679         @deftypefun, and add @safety note.
25680         * manual/signal.texi: Move comments that analyze the above
25681         functions to their home place.
25683 2014-02-03  Allan McRae  <allan@archlinux.org>
25685         * po/sl.po: Update Slovenian translation from translation project.
25687 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25689         * manual/time.texi (timegm): Add missing blank after @c.
25690         Reported by Joseph Myers <joseph@codesourcery.com>.
25692 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25694         * manual/check-safety.sh: New.
25695         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25697         * manual/terminal.texi: Document MTASC-safety properties.
25699         * manual/filesys.texi: Document MTASC-safety properties.
25701         * manual/errno.texi: Document MTASC-safety properties.
25703         * manual/intro.texi: Document safety identifiers and
25704         conditionals.
25706         * manual/string.texi (wcstok): Fix prototype.
25707         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25709         * manual/time.texi: Document MTASC-safety properties.
25711         * manual/string.texi: Document MTASC-safety properties.
25713         * manual/threads.texi: Document MTASC-safety properties.
25715         * manual/stdio.texi: Document MTASC-safety properties.
25717         * manual/syslog.texi: Document MTASC-safety properties.
25719         * manual/sysinfo.texi: Document MTASC-safety properties.
25721         * manual/startup.texi: Document MTASC-safety properties.
25723         * manual/socket.texi: Document MTASC-safety properties.
25725         * manual/signal.texi: Document MTASC-safety properties.
25727 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25729         * manual/setjmp.texi: Document MTASC-safety properties.
25731         * manual/search.texi: Document MTASC-safety properties.
25733         * manual/resource.texi: Document MTASC-safety properties.
25735         * manual/process.texi: Document MTASC-safety properties.
25737         * manual/platform.texi: Document MTASC-safety properties.
25739         * manual/pipe.texi: Document MTASC-safety properties.
25741         * manual/pattern.texi: Document MTASC-safety properties.
25743         * manual/message.texi: Document MTASC-safety properties.
25745         [BZ #12751]
25746         * manual/memory.texi: Document MTASC-safety properties.
25748         * manual/math.texi: Document MTASC-safety properties.
25750         * manual/locale.texi: Document MTASC-safety properties.
25752         * manual/llio.texi: Document MTASC-safety properties.
25754         * manual/libdl.texi: New.
25756         * manual/lang.texi: Document MTASC-safety properties.
25758         * manual/job.texi: Document MTASC-safety properties.
25760         * manual/getopt.texi: Document MTASC-safety properties.
25762         * manual/ctype.texi: Document MTASC-safety properties.
25764 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25766         [BZ #16046]
25767         * csu/libc-tls.c (static_map): Remove variable.
25768         (__libc_setup_tls): Use main executable's link map for TLS data.
25769         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25770         casing for LM_ID_BASE and GL(dl_nns).
25771         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25772         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25773         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25774         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25775         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25776         member.
25777         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25778         l_phnum members.
25780 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25782         * manual/debug.texi: Document MTASC-safety properties.
25784 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25786         [BZ #16510]
25787         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25788         of __x86_64__ when disabling x87 inline functions.
25790 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25792         * manual/charset.texi: Document MTASC-safety properties.
25794         * manual/crypt.texi: Document MTASC-safety properties.
25796         * manual/conf.texi: Document MTASC-safety properties.
25798         * manual/arith.texi: Document MTASC-safety properties.
25800         * manual/argp.texi: Document MTASC-safety properties.
25802         * manual/macros.texi: Introduce macros to document multi
25803         thread, asynchronous signal and asynchronous cancellation
25804         safety properties.
25805         * manual/intro.texi: Introduce the properties themselves.
25807 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25809         * sysdeps/sh/sh4/Makefile: New file.
25811 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25813         * math/gen-libm-test.pl ($srcdir): New variable.
25814         ($auto_input): Use it.
25816 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25818         [BZ #16506]
25819         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25820         access beyond array bounds when parsing netgroups file.
25822         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25823         the old buffer before realloc.
25825 2014-01-27  Allan McRae  <allan@archlinux.org>
25827         * po/fr.po: Update French translation from translation project.
25829 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25831         * sysdeps/sh/libm-test-ulps: Regenerate.
25833 2014-01-24  David S. Miller  <davem@davemloft.net>
25835         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25837 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25839         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25840         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25842 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25844         [BZ #16474]
25845         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25846         string pointers after reallocation.
25848 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25850         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25851         __SH4A__ instead of __SH_FPU_ANY__.
25853 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25855         * sysdeps/sh/fpu_control.h: New file.
25856         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25857         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25858         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25859         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25860         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25861         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25862         * sysdeps/sh/sys/ucontext.h: Remove.
25863         * sysdeps/sh/sys: Remove directory.
25865 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25867         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25868         s390/sys/ucontext.h.
25869         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25870         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25872 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25874         [BZ #15605]
25875         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25877 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25879         [BZ#16431]
25880         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25881         Adjust the vDSO correctly for internal calls.
25882         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25884 2014-01-20  Allan McRae  <allan@archlinux.org>
25886         * po/ca.po: Update Catalan translation from translation project.
25888 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25890         * sysdeps/s390/sotruss-lib.c: New file.
25892 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25894         [BZ#16430]
25895         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25896         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25897         local calls issues by not having a PLT stub required for IFUNC calls.
25898         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25900 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25902         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25903         * math/test-fpucw-static.c: Likewise.
25905 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25907         [BZ #16453]
25908         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25910 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25912         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25913         implementation for powerpc.
25915 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25917         [BZ #14782]
25918         * sysdeps/posix/system.c (__libc_system): Do not enable
25919         asynchronous cancellation.
25921 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25923         [BZ #16427]
25924         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25925         handling only for numbers special also in the IEEE case.
25927 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25929         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25931 2014-01-11  Allan McRae  <allan@archlinux.org>
25933         * po/bg.po: Update Bulgarian translation from translation project.
25935         * po/de.po: Update German translation from translation project.
25937 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25939         * sysdeps/generic/gcc-compat.h: New file.
25941 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25943         * benchtests/asin-inputs: Correct slow inputs.
25944         * benchtests/acos-inputs: Likewise.
25946 2014-01-10  Allan McRae  <allan@archlinux.org>
25948         * po:sv.po: Update Swedish translation from translation project.
25950         * po/vi.po: Update Vietnamese translation from translation project.
25952         * po/eo.po: Update Esperanto translation from translation project.
25954         * po/cs.po: Update Czech translation from translation project.
25956         * po/nl.po: Update Dutch translation from translation project.
25958         * po/pl.po: Update Polish translation from translation project.
25960         * po/ru.po: Update Russian translation from translation project.
25962         * po/uk.po: Update Ukrainian translation from translation project.
25964 2014-01-08  Brooks Moses  <bmoses@google.com>
25966         * elf/dl-load.c: Fix comment typo.
25968 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25970         * po/header.pot: Rename to...
25971         * po/pot.header: ... this.
25972         * po/Makefile: Use pot.header.
25974 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25975             Maxim Kuvyrkov  <maxim@kugelworks.com>
25977         [BZ #16394]
25978         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25979         SRC and DEST against LEN.
25981 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25983         [BZ #16414]
25984         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25985         implementation.
25986         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25988 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25992 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25994         [BZ #16408]
25995         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25996         for large positive arguments.
25998 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26000         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26002         * math/auto-libm-test-in: Mark various tests with
26003         xfail-rounding:ldbl-128ibm.
26004         * math/auto-libm-test-out: Regenerated.
26006         [BZ #16407]
26007         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26008         Increase overflow threshold.
26010 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26012         [BZ #14286]
26013         * stdio-common/vfprintf.c: Check for integer overflow.
26015 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26017         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26018         the first argument and return value of __tls_get_addr_internal.
26020 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26022         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26023         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26025 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26027         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26028         * sysdeps/s390/rtld-global-offsets.sym: New file.
26029         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26030         GLIBC_2.19 symbol.
26031         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26032         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26033         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26034         ... this.
26035         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26036         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26037         ... this.
26038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26039         Regenerate.
26040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26041         Regenerate.
26042         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26043         halfs of GPRs for high_gprs contexts.
26044         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26045         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26046         field.
26047         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26048         uc_flags field.
26049         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26050         64 bit versions:
26051         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26052         for high GPRs (uc_high_gprs) and for future extensions
26053         (__reserved).
26054         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26055         for future extensions (__reserved).
26056         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26057         64 bit versions:
26058         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26059         SC_HIGHGPRS offset definition.
26060         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26061         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26063         * Versions.def: Add GLIBC_2.19 for libpthread.
26064         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26065         siglongjmp for libpthread with GLIBC_2.19 symver.
26066         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26067         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26068         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26069         * sysdeps/s390/__longjmp.c: New file.
26070         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26071         * sysdeps/s390/longjmp.c: New file.
26072         * sysdeps/s390/setjmp.S: New file.
26073         * sysdeps/s390/sigjmp.S: New file.
26074         * sysdeps/s390/v1-longjmp.c: New file.
26075         * sysdeps/s390/v1-setjmp.h: New file.
26076         * sysdeps/s390/v1-sigjmp.c: New file.
26077         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26078         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26079         GLIBC_2.19 version.
26080         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26081         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26082         versioned symbols for ____longjmp_chk.
26083         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26084         Likewise.
26085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26086         Regenerate.
26087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26088         Regenerate.
26089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26090         Regenerate.
26091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26092         Regenerate.
26093         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26094         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26095         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26096         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26097         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26098         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26099         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26100         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26101         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26102         * sysdeps/s390/rtld-__longjmp.c: New file.
26103         * sysdeps/s390/rtld-setjmp.S: New file.
26105 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26107         [BZ #16400]
26108         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26109         Return -__logl (x) for small positive arguments without evaluating
26110         a polynomial.
26112 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26114         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26115         Rename to ...
26116         (__ptrace_peeksiginfo_args): ... this.
26117         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26118         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26119         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26121 2014-01-06  Allan McRae  <allan@archlinux.org>
26123         * inet/netinet/in.h: Fix typo in comment.
26125 2014-01-05  Andreas Jaeger  <aj@suse.de>
26127         * sysdeps/i386/fpu/libm-test-ulps: Update.
26129 2014-01-05  Allan McRae  <allan@archlinux.org>
26131         * po/libc.pot: Regenerated.
26133         * malloc/memusagestat.c: Fix gettext call formatting.
26135 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26137         * nscd/nscd.c: Improve usage() output.
26139 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26141         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26142         * sysdeps/unix/sysv/linux/configure: Regenerated.
26143         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26144         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26146 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26148         [BZ #16390]
26149         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26150         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26152 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26154         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26155         extra tokens at end of #undef directive.
26156         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26157         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26158         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26160 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26162         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26164         * math/auto-libm-test-in: Mark various tests with
26165         xfail-rounding:ldbl-128ibm.
26166         * math/auto-libm-test-out: Regenerated.
26168 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26170         [BZ #16386]
26171         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26172         numbers with subnormal high part when calculating exponent.
26174         [BZ #16385]
26175         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26176         fabs.
26178         [BZ #16384]
26179         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26180         M_LN2l.
26181         (__ieee754_acoshl): Use __log1pl not __log1p.
26183 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26185         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26186         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26187         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26188         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26189         (reused_arena, arena_get2): Convert to GNU style.
26190         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26191         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26192         (memalign_check, __malloc_set_state): Likewise.
26193         * malloc/mallocbug.c (main): Likewise.
26194         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26195         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26196         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26197         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26198         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26199         (__posix_memalign, malloc_info): Likewise.
26200         * malloc/malloc.h: Likewise.
26201         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26202         (mallochook, memalignhook, reallochook, mabort): Likewise.
26203         * malloc/mcheck.h: Likewise.
26204         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26205         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26206         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26207         * malloc/morecore.c (__default_morecore): Likewise.
26208         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26209         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26210         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26211         (print_and_abort): Likewise.
26212         * malloc/obstack.h: Likewise.
26213         * malloc/set-freeres.c (__libc_freeres): Likewise.
26214         * malloc/tst-mallocstate.c (main): Likewise.
26215         * malloc/tst-mtrace.c (main): Likewise.
26216         * malloc/tst-realloc.c (do_test): Likewise.
26218 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26220         [BZ #16366]
26221         * nscd/netgroupcache.c (do_notfound): New function.
26222         (addgetnetgrentX): Use it.
26224         [BZ # 16365]
26225         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26226         NSS_STATUS_NOTFOUND.
26228 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26230         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26233 2014-01-01  Allan McRae  <allan@archlinux.org>
26235         * scripts/update-copyrights: Update configure input file suffix.
26237         * NEWS: Update copyright year.
26238         * catgets/gencat.c: Likewise.
26239         * csu/version.c: Likewise.
26240         * debug/catchsegv.sh: Likewise.
26241         * debug/pcprofiledump.c: Likewise.
26242         * debug/xtrace.sh: Likewise.
26243         * elf/ldconfig.c: Likewise.
26244         * elf/ldd.bash.in: Likewise.
26245         * elf/pldd.c: Likewise.
26246         * elf/sotruss.ksh: Likewise.
26247         * elf/sprof.c: Likewise.
26248         * iconv/iconv_prog.c: Likewise.
26249         * iconv/iconvconfig.c: Likewise.
26250         * locale/programs/locale.c: Likewise.
26251         * locale/programs/localedef.c: Likewise.
26252         * login/programs/pt_chown.c: Likewise.
26253         * malloc/memusage.sh: Likewise.
26254         * malloc/memusagestat.c: Likewise.
26255         * malloc/mtrace.pl: Likewise.
26256         * manual/libc.texinfo: Likewise.
26257         * nscd/nscd.c: Likewise.
26258         * nss/getent.c: Likewise.
26259         * nss/makedb.c: Likewise.
26260         * posix/getconf.c: Likewise.
26261         * scripts/test-installation.pl: Likewise.
26263         * All files with FSF copyright notices: Update copyright dates
26264         using scripts/update-copyrights.
26265         * intl/plural.c: Regenerated.
26266         * locale/programs/charmap-kw.h: Likewise.
26267         * locale/programs/locfile-kw.h: Likewise.
26269 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26271         * sysdeps/unix/sysv/linux/configure: Regenerated.
26272         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26273         the linux/fanotify.h header.
26274         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26275         HAVE_LINUX_FANOTIFY_H is defined.
26277 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26279         * benchtests/cos-inputs: New inputs.
26280         * benchtests/sin-inputs: Likewise.
26282         * benchtests/atan-inputs: New inputs. Fix name of multiple
26283         precision fallback inputs.
26285         * benchtests/atanh-inputs: New inputs.
26286         * benchtests/tanh-inputs: Likewise.
26288         * benchtests/acosh-inputs: New inputs.
26289         * benchtests/asinh-inputs: Likewise.
26291         * benchtests/cosh-inputs: New inputs.
26292         * benchtests/sinh-inputs: Likewise.
26294         * benchtests/acos-inputs: Add more inputs.
26295         * benchtests/asin-inputs: Likewise.
26297 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26299         [BZ #16375]
26300         * manual/arith.texi: Fix spelling.
26301         * manual/charset.texi: Likewise.
26302         * manual/errno.texi: Likewise.
26303         * manual/filesys.texi: Likewise.
26304         * manual/lang.texi: Likewise.
26305         * manual/llio.texi: Likewise.
26306         * manual/locale.texi: Likewise.
26307         * manual/message.texi: Likewise.
26308         * manual/resource.texi: Likewise.
26309         * manual/search.texi: Likewise.
26310         * manual/setjmp.texi: Likewise.
26311         * manual/stdio.texi: Likewise.
26312         * manual/string.texi: Likewise.
26313         * manual/sysinfo.texi: Likewise.
26314         * manual/time.texi: Likewise.
26316 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26318         * po/sl.po: New file.
26320 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26322         * .gitignore: Add core/.gdbinit/.gdb_history.
26324 2013-12-27  Allan McRae  <allan@archlinux.org>
26326         [BZ #16369]
26327         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26328         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26330 2013-12-24  Brooks Moses  <bmoses@google.com>
26332         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26333         all compilers that claim C++98 compliance, not just GCC.
26334         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26335         Likewise.
26337 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26339         * NEWS: Restore accidentally deleted bug-fix entries.
26341 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26342             Ondřej Bílka  <neleai@seznam.cz>
26344         [BZ #15073]
26345         * malloc/malloc.c (_int_free): Perform sanity check only if we
26346         have_lock.
26348 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26350         [BZ #12986]
26351         * manual/stdio.texi (String Input Conversions): Clarify that character
26352         classes are not supported.
26354 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26358 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26360         [BZ #16337]
26361         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26362         Calculate results for small negative arguments directly rather
26363         than using reflection formula with special underflow handling.
26365         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26366         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26367         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26368         (fchflags): Likewise.
26369         (revoke): Likewise.
26370         (setlogin): Likewise.
26371         (sigaltstack): Likewise.
26372         (wait4): Likewise.
26373         (sigblock): Remove.
26374         (sigsetmask): Likewise.
26375         (wait3): Likewise.
26376         (waitpid): Likewise.
26377         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26378         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26379         file.
26380         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26381         * sysdeps/unix/bsd/Makefile: ... here.
26382         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26383         * sysdeps/unix/bsd/Versions: ... here.
26384         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26385         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26386         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26387         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26388         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26389         * sysdeps/unix/bsd/sigblock.c: ... here.
26390         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26391         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26392         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26393         * sysdeps/unix/bsd/sigvec.c: ... here.
26394         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26395         * sysdeps/unix/bsd/tcdrain.c: ... here.
26396         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26397         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26398         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26399         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26400         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26401         * sysdeps/unix/bsd/wait.c: ... here.
26402         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26403         * sysdeps/unix/bsd/wait3.c: ... here.
26404         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26405         * sysdeps/unix/bsd/waitpid.c: ... here.
26407 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26409         [BZ #16356]
26410         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26411         round-to-nearest for [!USE_AS_EXPM1L].
26412         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26413         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26414         more tests of exp and exp10.  Expect some exp10 tests to miss
26415         exceptions or fail in directed rounding modes.
26416         * math/auto-libm-test-out: Regenerated.
26417         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26418         (exp10_test_tonearest): New function.
26419         (exp10_towardzero_test_data): New array.
26420         (exp10_test_towardzero): New function.
26421         (exp10_downward_test_data): New array.
26422         (exp10_test_downward): New function.
26423         (exp10_upward_test_data): New array.
26424         (exp10_test_upward): New function.
26425         (main): Call the new functions.
26426         * sysdeps/i386/fpu/libm-test-ulps: Update.
26427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26429 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26431         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26432         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26433         * math/auto-libm-test-out: Regenerated.
26434         * math/libm-test.inc (acosh_test_data): Add more tests.
26435         (atanh_test_data): Likewise.
26436         (ceil_test_data): Likewise.
26437         (copysign_test_data): Likewise.
26438         * sysdeps/i386/fpu/libm-test-ulps: Update.
26439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26441         * timezone/checktab.awk: Update from tzcode 2013i.
26442         * timezone/private.h: Likewise.
26443         * timezone/scheck.c: Likewise.
26444         * timezone/tzfile.h: Likewise.
26445         * timezone/tzselect.ksh: Likewise.
26446         * timezone/zdump.c: Likewise.
26447         * timezone/zic.c: Likewise.
26449         * math/auto-libm-test-in: Add tests of cpow.
26450         * math/auto-libm-test-out: Regenerated.
26451         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26452         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26453         mpc_cc_c.
26454         (func_calc_desc): Add mpc_cc_c union field.
26455         (test_functions): Add cpow.
26456         (special_fill_2pi): New function.
26457         (special_real_inputs): Add 2pi.
26458         (calc_generic_results): Handle mpc_cc_c.
26459         * sysdeps/i386/fpu/libm-test-ulps: Update.
26460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26462         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26463         csqrt, ctan and ctanh.
26464         * math/auto-libm-test-out: Regenerated.
26465         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26466         (TEST_COND_x86): Likewise.
26467         (ccos_test_data): Use AUTO_TESTS_c_c.
26468         (ccosh_test_data): Likewise.
26469         (cexp_test_data): Likewise.
26470         (clog_test_data): Likewise.
26471         (csqrt_test_data): Likewise.
26472         (ctan_test_data): Likewise.
26473         (ctan_tonearest_test_data): Likewise.
26474         (ctan_towardzero_test_data): Likewise.
26475         (ctan_downward_test_data): Likewise.
26476         (ctan_upward_test_data): Likewise.
26477         (ctanh_test_data): Likewise.
26478         (ctanh_tonearest_test_data): Likewise.
26479         (ctanh_towardzero_test_data): Likewise.
26480         (ctanh_downward_test_data): Likewise.
26481         (ctanh_upward_test_data): Likewise.
26482         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26483         mpc_c_c.
26484         (func_calc_desc): Add mpc_c_c union field.
26485         (FUNC_mpc_c_c): New macro.
26486         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26487         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26488         ctanh.
26489         (special_fill_min_subnorm_p120): New function.
26490         (special_real_inputs): Add min_subnorm_p120.
26491         (calc_generic_results): Handle mpc_c_c.
26492         * sysdeps/i386/fpu/libm-test-ulps: Update.
26493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26495 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26497         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26498         (do_sin_slow): New functions.
26499         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26500         (cslow2, csloww1, csloww2): Use the new functions.
26502         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26503         Use M to change sign of result instead of X.  Assume X is
26504         positive.
26505         (csloww1): Likewise.
26506         (__sin): Adjust.
26507         (__cos): Adjust.
26509         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26510         arguments A and DA.
26511         (__sin): Adjust.
26512         (__cos): Likewise.
26514         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26515         (__cos): Likewise.
26516         (sloww1): Don't adjust sign of DX.
26517         (csloww1): Likewise.
26518         (sloww2): Use X directly and don't adjust sign of DX.
26519         (csloww2): Likewise.
26521 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26523         * math/auto-libm-test-in: Add tests of cabs and carg.
26524         * math/auto-libm-test-out: Regenerated.
26525         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26526         (carg_test_data): Likewise.
26527         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26528         mpc_c_f.
26529         (func_calc_desc): Add mpc_c_f union field.
26530         (test_functions): Add cabs and carg.
26531         (calc_generic_results): Handle mpc_c_f.
26533         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26534         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26535         as a macro and a compat symbol.
26536         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26537         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26538         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26539         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26540         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26541         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26542         not use .hidden.
26543         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26544         Likewise.
26545         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26546         Likewise.
26547         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26548         Likewise.
26549         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26550         Likewise.
26551         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26552         Likewise.
26553         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26554         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26555         from GLIBC_2.3.2.
26557 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26561 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26563         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26564         trailing whitespace removed.
26565         * scripts/config.guess: Update to version 2013-11-29.
26566         * scripts/config.sub: Update to version 2013-10-01.
26568         * math/auto-libm-test-in: Add tests of sincos.
26569         * math/auto-libm-test-out: Regenerated.
26570         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26571         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26572         mpfr_f_11.
26573         (func_calc_desc): Add mpfr_f_11 union field.
26574         (test_functions): Add sincos.
26575         (calc_generic_results): Handle mpfr_f_11.
26576         * sysdeps/i386/fpu/libm-test-ulps: Update.
26577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26579 2013-12-19  Andreas Schwab  <schwab@suse.de>
26581         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26582         CALL_MCOUNT.
26583         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26584         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26585         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26587 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26589         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26590         * sysdeps/i386/fpu/libm-test-ulps: Update.
26591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26593         [BZ #16293]
26594         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26595         round-to-nearest mode when using frndint.
26596         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26597         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26598         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26599         Likewise.
26600         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26601         sinh test to fail.
26602         * math/auto-libm-test-out: Regenerated.
26603         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26604         (TEST_COND_x86): Likewise.
26605         (expm1_tonearest_test_data): New array.
26606         (expm1_test_tonearest): New function.
26607         (expm1_towardzero_test_data): New array.
26608         (expm1_test_towardzero): New function.
26609         (expm1_downward_test_data): New array.
26610         (expm1_test_downward): New function.
26611         (expm1_upward_test_data): New array.
26612         (expm1_test_upward): New function.
26613         (main): Run the new test functions.
26614         * sysdeps/i386/fpu/libm-test-ulps: Update.
26615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26617         * include/features.h: Update comment documenting feature test
26618         macros.  Mention _DEFAULT_SOURCE in comment.
26619         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26620         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26621         _BSD_SOURCE and _SVID_SOURCE.
26622         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26623         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26624         !_SVID_SOURCE]: Likewise.
26625         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26626         (__USE_POSIX_IMPLICITLY): Define.
26627         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26628         (_POSIX_SOURCE): Undefine and redefine.
26629         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26630         (_POSIX_C_SOURCE): Likewise.
26631         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26632         (Feature Test Macros): Update documentation of default features.
26634 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26636         * benchtests/Makefile: Add bench-strtok.
26637         * benchtests/bench-strtok.c: New file: strtok benchtest.
26639 2013-12-19  Allan McRae  <allan@archlinux.org>
26641         * manual/install.texi: Suppress menu for plain text output.
26642         * INSTALL: Regenerated.
26644 2013-12-18  Brooks Moses  <bmoses@google.com>
26646         [BZ #15846]
26647         * misc/getauxval.c: Include errno.h.
26648         (__getauxval): Set errno to ENOENT if the requested type is not
26649         found.
26650         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26651         don't declare with __attribute_const__.
26652         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26653         * manual/startup.texi: Document that getauxval sets errno.
26655 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26657         * math/auto-libm-test-in: Add tests of jn and yn.
26658         * math/auto-libm-test-out: Regenerated.
26659         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26660         (yn_test_data): Likewise.
26661         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26662         mpfr_if_f.
26663         (func_calc_desc): Add mpfr_if_f union field.
26664         (FUNC_mpfr_if_f): New macro.
26665         (test_functions): Add jn and yn.
26666         (calc_generic_results): Assert type of second input for
26667         mpfr_ff_f.  Handle mpfr_if_f.
26668         (output_for_one_input_case): Disable all checking for arguments
26669         fitting floating-point types in case of an integer argument.
26670         * sysdeps/i386/fpu/libm-test-ulps: Update.
26671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26674         Don't expect fegetround reference in libm.so.
26676 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26678         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26679         $(config-cflags-nofma).
26681 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26683         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26684         * math/auto-libm-test-out: Regenerated.
26686         [BZ #16338]
26687         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26688         to determine exponent and adjust argument to have exponent of -1.
26689         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26690         log2.
26691         * math/auto-libm-test-out: Regenerated.
26692         * sysdeps/i386/fpu/libm-test-ulps: Update.
26693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26695 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26697         * manual/probes.texi: Remove cases when per-thread arenas are
26698         disabled.
26700 2013-12-18  Andreas Schwab  <schwab@suse.de>
26702         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26703         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26704         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26705         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26706         * sysdeps/i386/i686/multiarch/Makefile: Update.
26707         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26709 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26711         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26712         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26714 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26716         [BZ #15968]
26717         Support TZ transition times < 00:00:00.
26718         This is needed for version-3 tz-format files; it supports time
26719         stamps past 2037 for America/Godthab (the only entry in the tz
26720         database for which this change is relevant).
26721         * manual/time.texi (TZ Variable): Document transition times
26722         from -167:59:59 through -00:00:01.
26723         * time/tzset.c (tz_rule): Time of day is now signed.
26724         (__tzset_parse_tz): Parse negative time of day.
26726         Document TZ transition times >= 25:00:00.
26727         * manual/time.texi (TZ Variable): Document transition times from
26728         25:00:00 through 167:59:59.  These are already supported, and this
26729         support will help with version-3 tz-format files.
26731         * manual/time.texi (TZ Variable): Modernize North America example
26732         to reflect current (i.e., 2007-and-later) daylight saving rules.
26734         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26736 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26738         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26739         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26742         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26743         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26744         * sysdeps/unix/bsd/clock.c: Likewise.
26745         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26746         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26747         * sysdeps/unix/bsd/init-posix.c: Likewise.
26748         * sysdeps/unix/bsd/poll.c: Likewise.
26749         * sysdeps/unix/bsd/ptsname.c: Likewise.
26750         * sysdeps/unix/bsd/seekdir.c: Likewise.
26751         * sysdeps/unix/bsd/setegid.c: Likewise.
26752         * sysdeps/unix/bsd/seteuid.c: Likewise.
26753         * sysdeps/unix/bsd/setgid.c: Likewise.
26754         * sysdeps/unix/bsd/setrgid.c: Likewise.
26755         * sysdeps/unix/bsd/setruid.c: Likewise.
26756         * sysdeps/unix/bsd/setsid.c: Likewise.
26757         * sysdeps/unix/bsd/setuid.c: Likewise.
26758         * sysdeps/unix/bsd/sigaction.c: Likewise.
26759         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26760         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26761         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26762         * sysdeps/unix/bsd/telldir.c: Likewise.
26763         * sysdeps/unix/bsd/times.c: Likewise.
26764         * sysdeps/unix/bsd/usleep.c: Likewise.
26766         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26767         ($(objpfx)libbsd-compat.a): Remove rule.
26769         * include/features.h (__FAVOR_BSD): Do not define.
26770         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26771         features conflicting with POSIX.
26772         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26773         (_BSD_SOURCE): Remove description of not being a subset of other
26774         feature test macros.
26775         * manual/job.texi (getpgrp): Do not document BSD version.
26776         (getpgid): Do not document by reference to BSD getpgrp.
26777         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26778         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26779         * signal/signal.h [__FAVOR_BSD]: Likewise.
26780         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26781         instead of making contents conditional on [__FAVOR_BSD].
26782         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26784 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26788 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26790         [BZ #16314]
26791         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26792         values below 2**-450, not 2**-500.
26793         * math/auto-libm-test-in: Don't allow spurious underflow from
26794         hypot.
26795         * math/auto-libm-test-out: Regenerated.
26797         [BZ #16316]
26798         [BZ #16330]
26799         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26800         values of ha and hb and sort them after adjusting subnormal
26801         arguments.
26802         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26803         Likewise.
26804         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26805         values of ea and eb and sort them after adjusting subnormal
26806         arguments.
26807         * math/auto-libm-test-in: Do not expect some hypot tests of
26808         subnormals to fail.  Add more hypot tests.
26809         * math/auto-libm-test-out: Regenerated.
26811 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26813         [BZ #13304]
26814         * sysdeps/sh/s_fma.c: New file.
26815         * sysdeps/sh/s_fmaf.c: New file.
26816         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26817         version.
26818         * sysdeps/sh/Implies: Add sh/soft-fp.
26820 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26822         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26823         level of indirection to members `objname', `errstring', `malloced'.
26824         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26825         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26826         it as the __longjmp argument (just pass 1 instead).
26827         (_dl_catch_error): Initialize C with argument pointers and address of
26828         volatile local ERRCODE rather than copying values out of C at return.
26830 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26832         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26833         * math/auto-libm-test-out: Regenerated.
26834         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26835         (hypot_test_data): Likewise.
26836         (pow_test_data): Likewise.
26837         (pow_tonearest_test_data): Likewise.
26838         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26839         mpfr_ff_f.
26840         (func_calc_desc): Add mpfr_ff_f union field.
26841         (FUNC_mpfr_ff_f): New macro.
26842         (test_functions): Add atan2, hypot and pow.
26843         (special_fill_min): New function.
26844         (special_fill_minus_min): Likewise.
26845         (special_fill_min_subnorm): Likewise.
26846         (special_fill_minus_min_subnorm): Likewise.
26847         (special_real_inputs): Add min, -min, min_subnorm and
26848         -min_subnorm.
26849         (calc_generic_results): Handle mpfr_ff_f.
26850         * sysdeps/i386/fpu/libm-test-ulps: Update.
26851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26853 2013-12-16  Will Newton  <will.newton@linaro.org>
26855         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26856         (Aligned Memory Blocks): Add documentation for aligned_alloc
26857         and suggest it as an alternative to posix_memalign.
26858         (Hooks for Malloc): Document __memalign_hook is also called
26859         for aligned_alloc.  (Summary of Malloc): Add summary for
26860         aligned alloc.  Document __memalign_hook is also called
26861         for aligned_alloc.
26863 2013-12-16  Will Newton  <will.newton@linaro.org>
26865         * manual/memory.texi (Malloc Examples): Clarify default
26866         alignment documentation.  Suggest posix_memalign rather
26867         than memalign or valloc.
26868         (Aligned Memory Blocks): Remove suggestion to use memalign
26869         or valloc.  Remove obsolete comment about BSD.
26870         Document memalign errno values and mark the function obsolete.
26871         Document posix_memalign returned error codes.  Mark valloc
26872         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26873         called for posix_memalign and valloc.
26874         (Summary of Malloc): Add posix_memalign to function summary.
26875         __memalign_hook is also called for posix_memalign and valloc.
26877 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26879         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26880         TAYLOR_SIN.
26881         (__sin): Adjust.
26882         (__cos): Likewise.
26883         (sloww): Use mynumber union.  Expand ternary operator into
26884         if-else statements.
26885         (cslow): use mynumber union.
26887 2013-12-16  Allan McRae  <allan@archlinux.org>
26889         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26890         * configure: Regenerated.
26892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26894         [BZ #14120]
26895         * configure.ac: Added --enable-maintainer-mode. Check for
26896         autoconf when enabled.
26897         * configure: Regenerated.
26899         * nscd/nscd.service: New file.
26900         * nscd/nscd.tmpfiles: New file.
26902 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26904         [BZ #12100]
26905         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26906         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26907         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26908         (strstr): Add __strstr_sse2_unaligned ifunc.
26909         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26910         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26911         (strcasestr): Remove __strcasestr_sse42 ifunc.
26912         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26916 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26918         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26919         * sysdeps/sh/bits/fenv.h: ... here.
26920         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26922 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26924         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26927         hypotf multiarch implementations.
26928         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26929         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26930         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26931         multiarch hypot for PPC64.
26932         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26933         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26934         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26935         multiarch hypotf for PPC64.
26937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26938         modff multiarch implementations.
26939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26942         multiarch modf for PPC64.
26943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26946         multiarch modff for PPC64.
26948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26949         and logl multiarch implementations.
26950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26953         multiarch logb for PPC64.
26954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26957         multiarch logb for PPC64.
26958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26961         multiarch logb for PPC64.
26963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26964         isinff multiarch implementation.
26965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26966         file.
26967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26969         multiarch isinf for PPC64.
26970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26971         file.
26972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26973         multiarch isinff for PPC64.
26975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26976         finitef multiarch implementation.
26977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26978         file.
26979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26981         multiarch finite for PPC64.
26982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26983         file.
26984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26985         multiarch finitef for PPC64.
26987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26988         lrint multiarch implementation.
26989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26990         file.
26991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26993         multiarch llrint for PPC64.
26994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26995         multiarch lrint for PPC64.
26997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26998         copysignf multiarch implementation.
26999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27000         file.
27001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27002         file.
27003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27004         multiarch copysign for PPC64.
27005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27006         multiarch copysignf for PPC64.
27008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27009         multiarch implementation.
27010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27011         file.
27012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27013         file.
27014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27015         file.
27016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27017         file.
27018         multiarch llround for PPC64.
27019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27020         multiarch trunc for PPC64.
27021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27022         multiarch truncf for PPC64.
27024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27025         multiarch implementation.
27026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27027         file.
27028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27029         file.
27030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27031         file.
27032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27033         file.
27034         multiarch llround for PPC64.
27035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27036         multiarch round for PPC64.
27037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27038         multiarch roundf for PPC64.
27040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27041         multiarch implementation.
27042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27043         file.
27044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27045         file.
27046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27047         file.
27048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27049         file.
27050         multiarch llround for PPC64.
27051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27052         multiarch floor for PPC64.
27053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27054         multiarch floorf for PPC64.
27056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27057         multiarch implementation.
27058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27059         file.
27060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27061         file.
27062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27063         file.
27064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27065         file.
27066         multiarch llround for PPC64.
27067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27068         multiarch ceil for PPC64.
27069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27070         multiarch ceilf for PPC64.
27072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27073         multiarch implementation.
27074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27075         file.
27076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27077         file.
27078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27079         file.
27080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27081         multiarch llround for PPC64.
27082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27083         multiarch lround for PPC64.
27085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27086         multiarch implementation.
27087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27090         file.
27091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27094         multiarch isnan for PPC64.
27095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27096         multiarch isnanf for PPC64.
27098         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27099         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27100         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27101         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27102         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27105         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27106         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27107         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27108         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27111         multiarch implementations.
27112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27113         (__libc_ifunc_impl_list): Likewise.
27114         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27115         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27116         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27117         multiarch stpcpy for PPC64.
27119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27120         multiarch implementations.
27121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27122         (__libc_ifunc_impl_list): Likewise.
27123         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27124         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27125         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27126         multiarch strcpy for PPC64.
27128         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27129         redefine function name.
27130         (_wordcopy_fwd_dest_aligned): Likewise.
27131         (_wordcopy_bwd_aligned): Likewise.
27132         (_wordcopy_bwd_dest_aligned): Likewise.
27133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27134         multiarch implementations.
27135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27136         (__libc_ifunc_impl_list): Likewise.
27137         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27138         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27139         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27141         multiarch wcscpy for PPC64.
27143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27144         multiarch implementations.
27145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27146         (__libc_ifunc_impl_list): Likewise.
27147         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27148         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27149         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27150         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27151         multiarch wcscpy for PPC64.
27153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27154         multiarch implementations.
27155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27156         (__libc_ifunc_impl_list): Likewise.
27157         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27158         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27159         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27160         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27161         multiarch wcsrchr for PPC64.
27163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27164         multiarch implementations.
27165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27166         (__libc_ifunc_impl_list): Likewise.
27167         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27168         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27169         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27170         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27171         multiarch wcschr for PPC64.
27173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27174         multiarch implementations.
27175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27176         (__libc_ifunc_impl_list): Likewise.
27177         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27178         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27179         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27180         multiarch strchrnul for PPC64.
27182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27183         implementations.
27184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27185         (__libc_ifunc_impl_list): Likewise.
27186         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27187         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27188         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27189         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27190         strchr for PPC64.
27192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27193         implementations.
27194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27195         (__libc_ifunc_impl_list): Likewise.
27196         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27197         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27198         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27199         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27200         strncmp for PPC64.
27202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27203         multiarch implementations.
27204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27205         (__libc_ifunc_impl_list): Likewise.
27206         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27207         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27208         strncasecmp for PPC64.
27209         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27210         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27211         multiarch strncasecmp_l for PPC64.
27213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27214         multiarch implementations.
27215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27216         (__libc_ifunc_impl_list): Likewise.
27217         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27218         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27219         multiarch strcasecmp for PPC64.
27220         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27221         file.
27222         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27223         multiarch strcasecmp_l for PPC64.
27225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27226         implementations.
27227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27228         (__libc_ifunc_impl_list): Likewise.
27229         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27230         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27231         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27232         strnlen for PPC64.
27234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27235         implementations.
27236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27237         (__libc_ifunc_impl_list): Likewise.
27238         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27239         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27240         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27241         strlen for PPC64.
27243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27244         implementations.
27245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27246         (__libc_ifunc_impl_list): Likewise.
27247         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27248         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27249         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27250         rawmemrchr for PPC64.
27252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27253         implementation.
27254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27255         (__libc_ifunc_impl_list): Likewise.
27256         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27257         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27258         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27259         memrchr for PPC64.
27261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27262         implementation.
27263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27264         (__libc_ifunc_impl_list): Likewise.
27265         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27266         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27267         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27268         memchr for PPC64.
27270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27271         implementation.
27272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27273         (__libc_ifunc_impl_list): Likewise.
27274         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27275         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27276         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27277         mempcpy for PPC64.
27279         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27280         avoid cretion of __bzero symbol.
27281         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27282         Likewise.
27283         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27284         Likewise.
27285         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27286         Likewise.
27287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27288         multiarch implementations.
27289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27290         (__libc_ifunc_impl_list): Likewise.
27291         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27292         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27293         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27294         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27295         bzero for PPC32.
27296         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27297         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27298         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27299         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27300         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27301         memset for PPC64.
27302         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27304         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27306         implementations.
27307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27308         (__libc_ifunc_impl_list): Likewise.
27309         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27310         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27311         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27312         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27313         memcmp for PPC64.
27315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27316         multiarch for POWER/PPC64.
27317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27318         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27319         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27320         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27321         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27322         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27323         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27324         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27325         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27326         memcpy for PPC64.
27328         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27329         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27330         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27331         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27332         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27333         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27334         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27335         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27336         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27337         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27338         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27339         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27340         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27341         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27342         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27351 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27353         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27355 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27357         * benchtests/Makefile (bench): Add exp2 and log2.
27358         (LDLIBS-bench-exp2): Add -lm.
27359         (LDLIBS-bench-log2): Likewise.
27360         * benchtests/exp2-inputs: New inputs file.
27361         * benchtests/log2-inputs: New inputs file.
27362         * benchtests/log-inputs: Add new inputs.
27363         * benchtests/tan-inputs: Likewise.
27365 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27367         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27368         definition...
27369         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27370         (csloww2): ... from here.
27372         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27373         instead of structures.
27374         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27375         (POLYNOMIAL): Likewise.
27376         (TAYLOR_SLOW): Likewise.
27377         (__sin): Likewise.
27378         (__cos): Likewise.
27379         (slow1): Likewise.
27380         (slow2): Likewise.
27381         (sloww): Likewise.
27382         (sloww1); Likewise.
27383         (sloww2): Likewise.
27384         (bsloww1): Likewise.
27385         (bsloww2): Likewise.
27386         (cslow2): Likewise.
27387         (csloww): Likewise.
27388         (csloww1): Likewise.
27389         (csloww2): Likewise.
27391 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27393         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27394         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27395         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27396         * malloc/hooks.c (realloc_check): Likewise.
27398         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27399         * malloc/arena.c: Remove PER_THREAD conditional.
27400         [!PER_THREAD]: Remove code.
27401         (ptmalloc_unlock_all2): Likewise.
27402         (ptmalloc_init): Likewise.
27403         (_int_new_arena): Likewise.
27404         (arena_get2): Likewise.
27405         * malloc/hooks.c (__malloc_get_state): Likewise.
27406         (__malloc_set_state): Likewise.
27407         * malloc/malloc.c: Likewise.
27408         (struct malloc_state): Likewise.
27409         (struct malloc_par): Likewise.
27410         (__libc_realloc): Likewise.
27411         (__libc_mallopt): Likewise.
27413 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27415         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27417 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27419         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27420         macro to a function.  Check for zero perturb_byte.
27421         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27423         * malloc/malloc.c: (force_reg): Remove.
27424         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27425         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27426         force_reg by atomic_forced_read.
27427         * malloc/arena.c (ptmalloc_init): Likewise.
27428         * malloc/hooks.c (top_check): Likewise.
27430 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27434 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27438 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27440         * math/auto-libm-test-in: Add tests of lgamma.
27441         * math/auto-libm-test-out: Regenerated.
27442         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27443         (M_LOG_2_SQRT_PIl): Likewise.
27444         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27445         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27446         mpfr_f_f1.
27447         (func_calc_desc): Add mpfr_f_f1 union field.
27448         (ARGS1): New macro.
27449         (ARGS2): Likewise.
27450         (ARGS3): Likewise.
27451         (ARGS4): Likewise.
27452         (RET1): Likewise.
27453         (RET2): Likewise.
27454         (CALC): Likewise.
27455         (FUNC): Likewise.
27456         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27457         (test_functions): Add lgamma.
27458         (calc_generic_results): Handle mpfr_f_f1.
27459         * sysdeps/i386/fpu/libm-test-ulps: Update.
27460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27462 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27464         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27465         __mpn_add_n for PowerPC64/POWER7.
27466         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27467         __mpn_sub_n for PowerPC64/POWER7.
27469         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27470         __mpn_addmul_1 for PowerPC64.
27471         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27472         __mpn_submul_1 for PowerPC64.
27473         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27474         for PowerPC64.
27475         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27476         for PowerPC64.
27478 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27480         [BZ #15089]
27481         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27483 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27485         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27487         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27488         add multiarch folders.
27489         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27490         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27491         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27492         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27493         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27494         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27495         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27496         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27497         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27498         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27499         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27508         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27510         New file.
27511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27512         New file.
27513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27514         multiarch __ieee754_hypot for PowerPC32.
27515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27516         New file.
27517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27518         New file.
27519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27520         multiarch __ieee754_hypotf for PowerPC32.
27522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27523         long_double_symbol only if __logbl is defined.
27524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27525         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27527         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27528         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27529         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27531         path for implementation.
27532         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27533         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27535         logb, and logbl multiarch implementations for PowerPC32.
27536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27537         file.
27538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27539         file.
27540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27541         multiarch logb for PowerPC32.
27542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27543         file.
27544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27545         file.
27546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27547         multiarch logbf for PowerPC32.
27548         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27550         file.
27551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27552         multiarch logbl implementation for PowerPC32.
27554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27555         and modff multiarch implementations.
27556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27557         New file.
27558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27559         New file.
27560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27561         multiarch modf for PowerPC32.
27562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27563         New file.
27564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27565         New file.
27566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27567         multiarch modff for PowerPC32.
27569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27570         and lrintf multiarch implementations.
27571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27572         New file.
27573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27574         New file.
27575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27576         multiarch lrint for PowerPC32.
27577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27578         file: multiarch lrintf for PowerPC32.
27580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27581         and lroundf multiarch implementations.
27582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27583         New file.
27584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27585         New file.
27586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27587         New file.
27588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27589         multiarch lround for PowerPC32.
27590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27591         file: multiarch lroundf for PowerPC32.
27593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27594         copysign and copysignf multiarch implementations.
27595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27596         New file.
27597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27598         New file.
27599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27600         file: multiarch copysign for PowerPC32.
27601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27602         file: multiarch copysignf for PowerPC32.
27604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27605         and truncf multiarch implementations.
27606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27607         New file.
27608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27609         file.
27610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27611         multiarch trunc for PowerPC32.
27612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27613         New file.
27614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27615         New file.
27616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27617         multiarch truncf for PowerPC32.
27619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27620         and roundf multiarch implementations.
27621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27622         New file.
27623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27624         file.
27625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27626         multiarch round for PowerPC32.
27627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27628         New file.
27629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27630         New file.
27631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27632         multiarch roundf for PowerPC32.
27634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27635         and floorf multiarch implementations.
27636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27637         New file.
27638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27639         file.
27640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27641         multiarch floor for PowerPC32.
27642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27643         New file.
27644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27645         New file.
27646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27647         multiarch floorf for PowerPC32.
27649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27650         and ceilf multiarch implementations.
27651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27652         New file.
27653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27654         file.
27655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27656         multiarch ceil for PowerPC32.
27657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27658         New file.
27659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27660         file.
27661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27662         multiarch ceilf for PowerPC32.
27664         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27665         is defined.
27666         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27667         FINITEF is defined.
27668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27669         and finitef multiarch implementations.
27670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27671         New file.
27672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27673         file.
27674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27675         multiarch finite for PowerPC32.
27676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27677         New file.
27678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27679         file: multiarch finitef for PowerPC32.
27681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27682         and isinff multiarch implementations.
27683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27684         file.
27685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27686         file.
27687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27688         multiarch isinf for PowerPC32.
27689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27690         New file.
27691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27692         multiarch isinff for PowerPC32.
27694         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27695         alias when __isnan is defined.
27696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27697         and isnanf multiarch implementations.
27698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27699         file.
27700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27701         file.
27702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27703         file.
27704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27705         file.
27706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27707         multiarch isnan for PowerPC32.
27708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27709         New file.
27710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27711         New file.
27712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27713         multiarch isnanf for PowerPC32.
27715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27716         and sqrtf multiarch implementations.
27717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27718         file.
27719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27720         file.
27721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27722         multiarch sqrt for PowerPC32.
27723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27724         file.
27725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27726         file.
27727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27728         multiarch sqrtf for PowerPC32.
27730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27731         and llroundf multiarch implementations.
27732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27733         New file.
27734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27735         New file.
27736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27737         New file.
27738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27739         file: multiarch llround for PowerPC32.
27740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27741         file: multiarch llroundf for PowerPC32.
27743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27744         multiarch PowerPC32 fpu implementations.
27745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27746         New file.
27747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27748         New file.
27749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27750         multiarch llrint for PowerPC32.
27751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27752         New file.
27753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27754         New file.
27755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27756         file.
27758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27760         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27761         file.
27762         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27763         file.
27764         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27765         file.
27766         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27767         multiarch wordcopy for PPC32.
27768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27769         wordcopy objects.
27770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27771         (__libc_ifunc_impl_list): Likewise.
27772         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27773         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27774         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27775         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27776         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27777         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27779         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27781         file.
27782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27783         file.
27784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27785         file.
27786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27787         multiarch wcscpy for PPC32.
27788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27789         multiarch objects.
27790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27791         (__libc_ifunc_impl_list): Likewise.
27792         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27793         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27794         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27795         sysdeps/powerpc/power6/wcscpy.c.
27797         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27799         file.
27800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27801         file.
27802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27803         file.
27804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27805         multiarch wcsrchr for PPC32.
27806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27807         multiarch objects.
27808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27809         (__libc_ifunc_impl_list): Likewise.
27810         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27811         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27812         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27813         sysdeps/powerpc/power6/wcsrchr.c.
27815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27816         file.
27817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27818         file.
27819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27821         multiarch wcschr for PPc32.
27822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27823         multiarch objects.
27824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27825         (__libc_ifunc_impl_list): Likewise.
27826         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27827         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27828         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27829         sysdeps/powerpc/power6/wcschr.c.
27831         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27832         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27833         file.
27834         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27835         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27836         file: multiarch strchr for PPC32.
27837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27838         multiarch objects.
27839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27840         (__libc_ifunc_impl_list): Likewise.
27842         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27843         name.
27844         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27845         file.
27846         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27847         file.
27848         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27849         multiarch strchrnul for PPC32.
27850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27851         multiarch objects.
27852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27853         (__libc_ifunc_impl_list): Likewise.
27855         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27856         file.
27857         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27858         multiarch strncasecmp for PPC32.
27859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27860         file.
27861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27862         multiarch strncasecmp_l for PPC32.
27863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27864         strncasecmp multiarch objects.
27865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27866         (__libc_ifunc_impl_list): Likewise.
27868         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27869         file.
27870         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27871         multiarch strncasecmp for PPC32.
27872         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27873         New file.
27874         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27875         multiarch strcasecmp_l for PPC32.
27876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27877         multiarch objects.
27878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27879         (__libc_ifunc_impl_list): Likewise.
27881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27882         file.
27883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27884         file.
27885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27886         multiarch strncmp for PPC32.
27887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27888         multiarch objects.
27889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27890         (__libc_ifunc_impl_list): Likewise.
27892         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27893         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27894         file.
27895         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27896         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27898         multiarch objects.
27899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27900         (__libc_ifunc_impl_list): Likewise.
27902         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27903         file.
27904         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27905         file.
27906         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27908         multiarch objects.
27909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27910         (__libc_ifunc_impl_list): Likewise.
27912         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27913         file.
27914         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27915         file.
27916         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27917         multiarch rawmemchr for PPC32.
27918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27919         multiarch objects.
27920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27921         (__libc_ifunc_impl_list): Likewise.
27923         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27924         file.
27925         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27926         file.
27927         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27928         file: memrchr multiarch for PPC32.
27929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27930         multiarch objects.
27931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27932         (__libc_ifunc_impl_list): Likewise.
27934         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27935         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27936         file.
27937         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27938         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27939         multiarch memchr for PPC32.
27940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27941         multiarch objects.
27942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27943         (__libc_ifunc_impl_list): Likewise.
27945         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27946         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27947         file.
27948         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27949         file.
27950         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27951         file: multiarch mempcpy for PPC32.
27952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27953         multiarch objects.
27954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27955         (__libc_ifunc_impl_list): Likewise.
27957         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27958         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27959         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27960         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27961         multiarch bzero for PPC32.
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27963         file.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27965         file.
27966         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27967         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27968         file: multiarch memset for PPC32.
27969         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27971         memset multiarch objects.
27972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27973         (__libc_ifunc_impl_list): Likewise.
27975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27976         file.
27977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27979         memcmp for PPC32.
27980         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27982         multiarch objects.
27983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27984         (__libc_ifunc_impl_list): Likewise.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27987         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27989         file.
27990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27991         file.
27992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27993         file.
27994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27995         multiarch memcpy for PPC32.
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27997         multiarch objects.
27998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27999         (__libc_ifunc_impl_list): Likewise.
28001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28002         support multiarch for POWER/PPC32.
28003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28004         Likewise.
28005         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28007         Implies file to make multiarch folder appers before the fpu and
28008         default folder for power4 configuration.
28010 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28012         * scripts/bench.pl: Append volatile keyword to type.
28014 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28016         * sysdeps/sh/sotruss-lib.c: New file.
28017         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28019 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28023 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28025         [BZ #6810]
28026         * math/w_tgamma.c: Include <errno.h>.
28027         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28028         * math/w_tgammaf.c: Include <errno.h>.
28029         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28030         * math/w_tgammal.c: Include <errno.h>.
28031         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28032         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28033         underflow.  Add more tgamma tests.
28034         * math/auto-libm-test-out: Regenerated.
28035         * sysdeps/i386/fpu/libm-test-ulps: Update.
28036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28038         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28039         sin, sinh, tan, tanh, tgamma, y0 and y1.
28040         * math/auto-libm-test-out: Regenerated.
28041         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28042         (TEST_COND_x86): Likewise.
28043         (M_E2l): Remove macro.
28044         (M_E3l): Likewise.
28045         (M_2_SQRT_PIl): Likewise.
28046         (M_SQRT_PIl): Likewise.
28047         (M_1_DIV_El): Likewise.
28048         (log_test_data): Use AUTO_TESTS_f_f.
28049         (log10_test_data): Likewise.
28050         (log1p_test_data): Likewise.
28051         (log2_test_data): Likewise.
28052         (sin_test_data): Likewise.
28053         (sin_tonearest_test_data): Likewise.
28054         (sin_towardzero_test_data): Likewise.
28055         (sin_downward_test_data): Likewise.
28056         (sin_upward_test_data): Likewise.
28057         (sinh_test_data): Likewise.
28058         (sinh_tonearest_test_data): Likewise.
28059         (sinh_towardzero_test_data): Likewise.
28060         (sinh_downward_test_data): Likewise.
28061         (sinh_upward_test_data): Likewise.
28062         (tan_test_data): Likewise.
28063         (tan_tonearest_test_data): Likewise.
28064         (tan_towardzero_test_data): Likewise.
28065         (tan_downward_test_data): Likewise.
28066         (tan_upward_test_data): Likewise.
28067         (tanh_test_data): Likewise.
28068         (tgamma_test_data): Likewise.
28069         (y0_test_data): Likewise.
28070         (y1_test_data): Likewise.
28071         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28072         (special_real_inputs): Add pi/4.
28073         * sysdeps/i386/fpu/libm-test-ulps: Update.
28074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28076 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28078         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28079         "longjmp_target" static probes.
28080         (__longjmp): Rename to __longjmp_symbol.
28081         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28082         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28083         on which longjmp to generate.
28084         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28086         probe.
28087         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28088         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28089         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28090         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28091         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28092         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28094         __longjmp_symbol based on which __longjmp to generate.
28095         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28096         probe.
28097         (setjmp): Rename to setjmp_symbol.
28098         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28099         (_setjmp): Rename to _setjmp_symbol.
28100         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28101         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28102         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28103         which setjmp to generate.
28104         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28105         "longjmp_target" static probes.
28107 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28109         * benchtests/README: Add note about output arguments.
28110         * benchtests/bench-sincos.c: Remove file.
28111         * benchtests/sincos-inputs: New file.
28112         * scripts/bench.pl: Identify output arguments and define
28113         static variables for them.
28115         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28117         [BZ #15941]
28118         * Makefile (INSTALL): Add install-plain.texi as the primary
28119         dependency.
28120         * manual/install-plain.texi: New file.
28121         * manual/install.texi: Include node directive only for
28122         non-plaintext output.
28124 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28126         * stdlib/longlong.h: Update from GCC.
28128         [BZ #6807]
28129         [BZ #15901]
28130         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28131         * math/w_j0f.c (y0f): Likewise.
28132         * math/w_j0l.c (__y0l): Likewise.
28133         * math/w_j1.c (y1): Likewise.
28134         * math/w_j1f.c (y1f): Likewise.
28135         * math/w_j1l.c (__y1l): Likewise
28136         * math/w_jn.c (yn): Likewise.
28137         * math/w_jnf.c (ynf): Likewise.
28138         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28139         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28140         value for Bessel function domain errors outside _SVID_ mode.
28141         Adjust sign of return value for yn (negative integer, 0).
28142         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28143         by zero in return for negative x and set sign appropriately for
28144         negative n.
28145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28146         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28147         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28148         expectations in error cases.
28149         (y1_test_data): Likewise.
28150         (yn_test_data): Likewise.
28151         * sysdeps/i386/fpu/libm-test-ulps: Update.
28152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28154 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28156         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28157         "64" to "64-v1".  Add "64-v2".
28158         (abi-64-options): Rename to ...
28159         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28160         (abi-64-condition): Rename to ...
28161         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28162         (abi-64-ld-soname): Rename to ...
28163         (abi-64-v1-ld-soname): ... this.
28164         (abi-64-v2-options): Define.
28165         (abi-64-v2-condition): Likewise.
28166         (abi-64-v2-ld-soname): Likewise.
28167         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28168         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28173 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28174             Alan Modra  <amodra@gmail.com>
28176         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28177         New versions for use with the ELFv2 ABI.
28178         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28179         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28180         declaration.
28181         (struct La_ppc64v2_retval): Likewise.
28182         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28183         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28184         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28185         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28186         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28187         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28188         Do not save or restore CR.
28189         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28190         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28191         return values for ELFv2 ABI.  Fix location of FPR return registers.
28192         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28193         updated values for _CALL_ELF == 2.
28194         (La_regs, La_retval, int_retval): Likewise.
28196 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28198         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28199         (FRAME_MIN_SIZE_PARM): Likewise.
28200         (FRAME_BACKCHAIN): Likewise.
28201         (FRAME_CR_SAVE): Likewise.
28202         (FRAME_LR_SAVE): Likewise.
28203         (FRAME_TOC_SAVE): Likewise.
28204         (FRAME_PARM_SAVE): Likewise.
28205         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28206         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28207         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28208         (call_mcount_parm_offset): New macro.
28209         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28210         (PROF): Use symbolic stack frame offsets.
28211         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28212         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28213         Redefine in terms of FRAME_MIN_SIZE.
28214         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28215         (_dl_profile_resolve): Likewise.  Update comment.
28216         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28217         symbols stack frame offsets.
28218         (__sigsetjmp): Likewise.
28219         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28220         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28221         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28222         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28225         (FRAME_BACKCHAIN): Remove.
28226         (FRAME_CR_SAVE): Likewise.
28227         (FRAME_LR_SAVE): Likewise.
28228         (FRAME_COMPILER_DW): Likewise.
28229         (FRAME_LINKER_DW): Likewise.
28230         (FRAME_TOC_SAVE): Likewise.
28231         (FRAME_PARM_SAVE): Likewise.
28232         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28233         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28234         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28236         (CHECK_SP): Use symbolic stack frame offsets.
28237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28238         zone" instead of caller's parameter save area for temp storage.
28239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28240         Likewise.  Also, use symbolic stack frame offsets.
28241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28242         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28243         our own stack frame instead of the caller's.
28244         (__socket): Use symbolic stack frame offsets.
28246 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28247             Alan Modra  <amodra@gmail.com>
28249         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28250         Define.
28251         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28252         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28253         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28254         New function.
28255         (elf_machine_fixup_plt): Call it.
28256         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28257         reloc arguments.
28258         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28259         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28260         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28261         r2 before calling target.
28263 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28264             Alan Modra  <amodra@gmail.com>
28266         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28267         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28268         versions of macros to support ELFv2 ABI.
28269         (LOCALENTRY): New macro.
28270         (ENTRY, EALIGN): Use it.
28271         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28272         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28273         fall through into ENTRY entry point.
28274         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28275         Only define if _CALL_ELF != 2.
28277         (elf_machine_matches_host): Verify ABI version matches.
28278         (RTLD_START): Use LOCALENTRY.
28279         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28280         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28281         (PLT_ENTRY_WORDS): New macro.
28282         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28283         (elf_machine_runtime_setup): Support ELFv2 ABI.
28284         (elf_machine_fixup_plt): Likewise.
28285         (elf_machine_plt_conflict): Likewise.
28286         (resolve_ifunc): Likewise.
28287         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28288         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28289         Likewise.
28290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28291         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28293         (makecontext): Support ELFv2 ABI.
28294         * elf/elf.h (EF_PPC64_ABI): Define.
28296 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28298         * sysdeps/powerpc/powerpc64/sysdep.h
28299         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28300         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28301         (ENTRY) [ASSEMBLER]: ... but instead here ...
28302         (EALIGN) [ASSEMBLER]: ... and here.
28303         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28304         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28305         (ENTRY_2) [!ASSEMBLER]: Use it.
28306         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28307         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28308         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28309         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28310         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28312         Use PPC64_LOAD_FUNCPTR.
28314         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28316 2013-12-04  Alan Modra  <amodra@gmail.com>
28318         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28319         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28320         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28321         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28323         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28324         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28325         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28326         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28327         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28328         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28330 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28333         (__makecontext): Fix incorrect CFI when backtracing out of
28334         context created via makecontext.
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28336         (__setcontext): Fix incorrect CFI during switch to new context.
28337         (__novec_setcontext): Likewise.
28339 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28341         [BZ #4772]
28342         * time/strptime_l.c (__strptime_internal): Allow modifiers
28343         in strptime.
28344         * time/tst-strptime.c (day_tests): Add testcase.
28346 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28348         * scripts/bench.pl: Skip over blank lines.
28350 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28352         [BZ #926]
28353         * manual/time.texi (Calendar Time): Clarify what timezone functions
28354         use.
28356 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28360 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28362         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28363         implementation.
28364         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28365         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28366         * debug/memset_chk.c (__memset_chk): Likewise.
28367         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28368         * debug/strncpy_chk.c: Likewise.
28370 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28372         [BZ #15268]
28373         [BZ #15425]
28374         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28375         (__ieee754_exp): For possibly underflowing results, check size of
28376         result and force underflow exception if required.
28377         * math/auto-libm-test-in: Add more tests of exp.
28378         * math/auto-libm-test-out: Regenerated.
28379         * sysdeps/i386/fpu/libm-test-ulps: Update.
28380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28382         [BZ #16283]
28383         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28384         * math/w_exp2f.c (__exp2f): Likewise.
28385         * math/w_exp2l.c (__exp2l): Likewise.
28386         * math/auto-libm-test-in: Do not allow missing errno on exp2
28387         underflow.
28388         * math/auto-libm-test-out: Regenerated.
28390 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28392         [BZ #16274]
28393         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28394         handle filename validation.
28395         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28396         (do_open): Delete.
28398 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28400         [BZ #6786]
28401         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28402         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28403         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28404         <float.h>.
28405         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28406         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28407         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28408         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28409         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28410         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28411         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28412         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28413         Add more erfc tests.
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         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28419         exp2, expm1, j0 and j1.
28420         * math/auto-libm-test-out: Regenerated.
28421         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28422         (erfc_test_data): Likewise.
28423         (exp_test_data): Likewise.
28424         (exp_tonearest_test_data): Likewise.
28425         (exp_towardzero_test_data): Likewise.
28426         (exp_downward_test_data): Likewise.
28427         (exp_upward_test_data): Likewise.
28428         (exp10_test_data): Likewise.
28429         (exp2_test_data): Likewise.
28430         (expm1_test_data): Likewise.
28431         (j0_test_data): Likewise.
28432         (j1_test_data): Likewise.
28433         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28434         (input_flag_type): Add flag_xfail_rounding.
28435         (input_flags): Add xfail-rounding.
28436         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28437         (output_for_one_input_case): Handle flag_xfail_rounding.
28438         * sysdeps/i386/fpu/libm-test-ulps: Update.
28439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28441 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28443         [BZ #16289]
28444         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28445         division by 0.
28447 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28449         [BZ #16195]
28450         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28451         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28452         (STAP_PROBE0): New macro.
28453         (STAP_PROBE1): Likewise.
28454         (STAP_PROBE2): Likewise.
28455         (STAP_PROBE3): Likewise.
28456         (STAP_PROBE4): Likewise.
28458 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28460         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28462 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28464         * benchtests/Makefile (bench): Add sqrt.
28465         (LDLIBS-bench-sqrt): New.
28466         * benchtests/sqrt-input: New.
28468 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28470         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28471         (GAIH_EAI): Likewise.
28472         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28473         (gaih_inet): Likewise.
28474         (getaddrinfo): Don't use GAIH_EAI.
28476         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28477         (struct gaih): Remove definition.
28479 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28481         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28482         Use HERRNOP directly.
28484 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28488 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28490         * math/gen-auto-libm-tests.c (test_functions): Add more
28491         single-argument functions.
28492         (special_fill_pi_2): New function.
28493         (special_fill_minus_pi_2): Likewise.
28494         (special_fill_pi_6): Likewise.
28495         (special_fill_minus_pi_6): Likewise.
28496         (special_fill_pi_3): Likewise.
28497         (special_fill_2pi_3): Likewise.
28498         (special_fill_e): Likewise.
28499         (special_fill_1_e): Likewise.
28500         (special_fill_e_minus_1): Likewise.
28501         (special_real_inputs): Add more special inputs.
28502         (output_for_one_input_case): Do not require ERANGE on underflow to
28503         zero if round-to-nearest result does not underflow to zero, unless
28504         exact results required.
28505         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28506         atan, atanh, cbrt, cos and cosh.
28507         * math/auto-libm-test-out: Regenerated.
28508         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28509         (acos_tonearest_test_data): Likewise.
28510         (acos_towardzero_test_data): Likewise.
28511         (acos_downward_test_data): Likewise.
28512         (acos_upward_test_data): Likewise.
28513         (acosh_test_data): Likewise.
28514         (asin_test_data): Likewise.
28515         (asin_tonearest_test_data): Likewise.
28516         (asin_towardzero_test_data): Likewise.
28517         (asin_upward_test_data): Likewise.
28518         (asinh_test_data): Likewise.
28519         (atan_test_data): Likewise.
28520         (atanh_test_data): Likewise.
28521         (cbrt_test_data): Likewise.
28522         (cos_test_data): Likewise.
28523         (cos_tonearest_test_data): Likewise.
28524         (cos_towardzero_test_data): Likewise.
28525         (cos_downward_test_data): Likewise.
28526         (cos_upward_test_data): Likewise.
28527         (cosh_test_data): Likewise.
28528         (cosh_tonearest_test_data): Likewise.
28529         (cosh_towardzero_test_data): Likewise.
28530         (cosh_downward_test_data): Likewise.
28531         (cosh_upward_test_data): Likewise.
28532         * sysdeps/i386/fpu/libm-test-ulps: Update.
28533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28535 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28537         [BZ #6787]
28538         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28539         * math/w_exp10f.c (__exp10f): Likewise.
28540         * math/w_exp10l.c (__exp10l): Likewise.
28541         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28542         errno settings in existing tests.
28544         [BZ #14032]
28545         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28546         precision control set to double precision.
28547         * sysdeps/i386/fpu/w_sqrt.c: New file.
28548         * math/auto-libm-test-in: Add more tests.
28549         * math/auto-libm-test-out: Update.
28551         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28552         (sqrt_test_tonearest): New function.
28553         (sqrt_towardzero_test_data): New variable.
28554         (sqrt_test_towardzero): New function.
28555         (sqrt_downward_test_data): New variable.
28556         (sqrt_test_downward): New function.
28557         (sqrt_upward_test_data): New variable.
28558         (sqrt_test_upward): New function.
28559         (main): Call the new functions.
28561         * math/gen-auto-libm-tests.c: New file.
28562         * math/auto-libm-test-in: Likewise.
28563         * math/auto-libm-test-out: New generated file.
28564         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28565         variables.
28566         (%beautify): Add generated representations of zero.
28567         (top level): Set $auto_input and call parse_auto_input.
28568         (beautify): Remove trailing "f" from hex float constants.
28569         (parse_args): Handle XFAIL_TEST.
28570         (convert_condition): New function.
28571         (or_value): Likewise.
28572         (or_cond_value): Likewise.
28573         (generate_testfile): Handle AUTO_TESTS_* lines.
28574         (parse_auto_input): New function.
28575         * math/libm-test.inc (XFAIL_TEST): New macro.
28576         (ERRNO_UNCHANGED): Update value.
28577         (ERRNO_EDOM): Likewise.
28578         (ERRNO_ERANGE): Likewise.
28579         (IGNORE_RESULT): Likewise.
28580         (TEST_COND_flt_32): New macro.
28581         (TEST_COND_dbl_64): Likewise.
28582         (TEST_COND_ldbl_96_intel): Likewise.
28583         (TEST_COND_ldbl_96_m68k): Likewise.
28584         (TEST_COND_ldbl_128): Likewise.
28585         (TEST_COND_ldbl_128ibm): Likewise.
28586         (TEST_COND_long32): Likewise.
28587         (TEST_COND_long64): Likewise.
28588         (TEST_COND_before_rounding): Likewise.
28589         (TEST_COND_after_rounding): Likewise.
28590         (enable_test): Handle XFAIL_TEST flag.
28591         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28592         with finite results.
28593         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28594         auto-libm-test-out.
28596 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28597             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28599         [BZ #16214]
28600         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28601         __tls_get_addr_internal instead of __tls_get_offset in order to
28602         avoid GOT pointer dependency.  Make rtld export
28603         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28604         __tls_get_addr since we are a __tls_get_offset platform.
28605         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28606         GOT pointer being set up before.
28607         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28609 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28611         * manual/math.texi (Errors in Math Functions): Document accuracy
28612         goals.
28614         [BZ #15004]
28615         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28616         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28619         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28621         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28632         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28633         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28634         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28635         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28636         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28637         Likewise.
28638         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28639         Likewise.
28640         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28641         Likewise.
28642         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28643         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28644         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28645         atomic-feupdateenv and flt-rounds.
28646         * sysdeps/powerpc/nofpu/Versions (libc): Add
28647         __atomic_feholdexcept, __atomic_feclearexcept,
28648         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28649         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28650         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28651         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28652         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28653         here.
28654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28655         Update.
28657         * manual/arith.texi (FP Exceptions): Document that exceptions may
28658         not be raised when matherr is used.
28659         (Math Error Reporting): Document overflow in directed rounding
28660         modes.  Document that errno may not be set when finite values are
28661         returned on overflow.  Document intent to set errno on underflow
28662         only for underflow to zero.
28664         [BZ #16271]
28665         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28666         round-to-nearest then adjust result for other rounding modes.
28667         * include/fenv.h (fegetround): Use libm_hidden_proto.
28668         * math/fegetround.c (fegetround): Use libm_hidden_def.
28669         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28670         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28671         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28672         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28673         Likewise.
28674         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28675         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28676         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28677         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28679 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28681         [BZ #16077]
28682         * nss/Versions (libnss_files): Add
28683         _nss_files_gethostbyname3_r.
28684         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28685         New function.
28686         (HOST_DB_LOOKUP): Remove macro.
28687         (_nss_files_gethostbyname_r): Implement function without the
28688         HOST_DB_LOOKUP macro.
28689         (_nss_files_gethostbyname2_r): Likewise.
28691 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28693         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28695 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28697         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28698         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28699         warning.
28701 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28703         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28704         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28705         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28706         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28707         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28708         __fe_nomask_env_priv and attribute_hidden.
28709         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28710         (libc_feupdateenv_test_ppc): Likewise.
28711         (libc_feresetround_ppc): Likewise.
28712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28713         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28714         compat_symbol macro.
28715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28716         (__fe_nomask_env): Likewise.
28717         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28719 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28721         * string/Makefile: Remove ifunc tests.
28722         * string/test-string.h: Define TEST_IFUNC.
28723         * string/test-bcopy-ifunc.c: Remove.
28724         * string/test-bzero-ifunc.c: Likewise.
28725         * string/test-memccpy-ifunc.c: Likewise.
28726         * string/test-memchr-ifunc.c: Likewise.
28727         * string/test-memcmp-ifunc.c: Likewise.
28728         * string/test-memcpy-ifunc.c: Likewise.
28729         * string/test-memmem-ifunc.c: Likewise.
28730         * string/test-memmove-ifunc.c: Likewise.
28731         * string/test-mempcpy-ifunc.c: Likewise.
28732         * string/test-memrchr-ifunc.c: Likewise.
28733         * string/test-memset-ifunc.c: Likewise.
28734         * string/test-rawmemchr-ifunc.c: Likewise.
28735         * string/test-stpcpy-ifunc.c: Likewise.
28736         * string/test-stpncpy-ifunc.c: Likewise.
28737         * string/test-strcasecmp-ifunc.c: Likewise.
28738         * string/test-strcasestr-ifunc.c: Likewise.
28739         * string/test-strcat-ifunc.c: Likewise.
28740         * string/test-strchr-ifunc.c: Likewise.
28741         * string/test-strchrnul-ifunc.c: Likewise.
28742         * string/test-strcmp-ifunc.c: Likewise.
28743         * string/test-strcpy-ifunc.c: Likewise.
28744         * string/test-strcspn-ifunc.c: Likewise.
28745         * string/test-strlen-ifunc.c: Likewise.
28746         * string/test-strncasecmp-ifunc.c: Likewise.
28747         * string/test-strncat-ifunc.c: Likewise.
28748         * string/test-strncmp-ifunc.c: Likewise.
28749         * string/test-strncpy-ifunc.c: Likewise.
28750         * string/test-strnlen-ifunc.c: Likewise.
28751         * string/test-strpbrk-ifunc.c: Likewise.
28752         * string/test-strrchr-ifunc.c: Likewise.
28753         * string/test-strspn-ifunc.c: Likewise.
28754         * string/test-strstr-ifunc.c: Likewise.
28756 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28758         * benchtests/Makefile: Remove ifunc tests.
28759         * benchtests/bench-string.h: Define TEST_IFUNC.
28760         * benchtests/bench-bcopy-ifunc.c: Remove.
28761         * benchtests/bench-bzero-ifunc.c: Likewise.
28762         * benchtests/bench-memccpy-ifunc.c: Likewise.
28763         * benchtests/bench-memchr-ifunc.c: Likewise.
28764         * benchtests/bench-memcmp-ifunc.c: Likewise.
28765         * benchtests/bench-memcpy-ifunc.c: Likewise.
28766         * benchtests/bench-memmem-ifunc.c: Likewise.
28767         * benchtests/bench-memmove-ifunc.c: Likewise.
28768         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28769         * benchtests/bench-memrchr-ifunc.c: Likewise.
28770         * benchtests/bench-memset-ifunc.c: Likewise.
28771         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28772         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28773         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28774         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28775         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28776         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28777         * benchtests/bench-strcat-ifunc.c: Likewise.
28778         * benchtests/bench-strchr-ifunc.c: Likewise.
28779         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28780         * benchtests/bench-strcmp-ifunc.c: Likewise.
28781         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28782         * benchtests/bench-strcpy-ifunc.c: Likewise.
28783         * benchtests/bench-strcspn-ifunc.c: Likewise.
28784         * benchtests/bench-strlen-ifunc.c: Likewise.
28785         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28786         * benchtests/bench-strncat-ifunc.c: Likewise.
28787         * benchtests/bench-strncmp-ifunc.c: Likewise.
28788         * benchtests/bench-strncpy-ifunc.c: Likewise.
28789         * benchtests/bench-strnlen-ifunc.c: Likewise.
28790         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28791         * benchtests/bench-strrchr-ifunc.c: Likewise.
28792         * benchtests/bench-strsep-ifunc.c: Likewise.
28793         * benchtests/bench-strspn-ifunc.c: Likewise.
28794         * benchtests/bench-strstr-ifunc.c: Likewise.
28796 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28798         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28800 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28802         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28803         * rt/aio.h: Likewise.
28804         * sysdeps/gnu/bits/utmp.h: Likewise.
28805         * sysdeps/gnu/bits/utmpx.h: Likewise.
28806         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28807         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28808         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28809         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28810         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28811         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28812         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28813         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28814         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28815         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28816         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28817         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28818         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28820         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28821         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28822         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28823         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28824         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28825         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28826         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28827         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28828         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28829         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28830         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28832         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28833         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28834         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28835         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28836         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28837         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28838         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28839         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28840         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28841         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28842         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28843         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28844         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28845         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28846         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28847         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28849 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28851         [BZ #16245]
28852         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28853         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28855 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28857         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28858         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28859         Likewise.
28861 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28864         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28865         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28866         (__fesetround): Remove define.
28867         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28868         rounding and exceptions handling.
28869         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28870         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28871         (__fe_nomask_env): Likewise.
28872         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28873         __fegetround instead of fegetround.
28874         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28875         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28877 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28879         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28880         it's there.
28882         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28884 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28886         [BZ #11157]
28887         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28888         (encrypt_r): Likewise.
28889         * malloc/obstack.h (obstack_free): Likewise.
28890         * posix/unistd.h (encrypt): Likewise.
28892 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28894         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28895         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28896         DL_CALL_DT_FINI() that call the functions directly.
28897         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28898         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28899         * elf/dl-fini.c: Likewise.
28901 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28903         * malloc/hooks.c (memalign_check): Add alignment rounding.
28904         * malloc/malloc.c (_mid_memalign): New function.
28905         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28906         Implement by calling _mid_memalign.
28907         * manual/probes.texi (Memory Allocation Probes): Remove
28908         memory_valloc_retry and memory_pvalloc_retry.
28910 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28912         * locale/programs/locarchive.c (open_archive): Add const
28913         qualifier to ARCHIVEFNAME and copy default fname to
28914         DEFAULT_FNAME.
28916         [BZ #15601]
28917         * libio/tst-widetext.input: Rename Oriya to Odia.
28918         * locale/iso-639.def: Likewise.
28920         * manual/probes.texi (Mathematical Function Probes): Add
28921         documentation for sin, cos, asin and acos probes.
28922         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28923         (__sin32): Add slowasin probe.
28924         (__cos32): Add slowacos probe.
28925         (__mpsin): Add slowsin probe.
28926         (__mpcos): Add slowcos probe.
28928 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28930         [BZ #15483]
28931         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28932         thread-local __sim_exceptions_thread and global
28933         __sim_exceptions_global.
28934         (__sim_disabled_exceptions): Change to thread-local
28935         __sim_disabled_exceptions_thread and global
28936         __sim_disabled_exceptions_global.
28937         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28938         and global __sim_round_mode_global.
28939         (__simulate_exceptions): Use thread-local floating-point state and
28940         set global state from it as needed.
28941         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28942         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28943         __sim_round_mode_thread.
28944         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28945         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28946         and global __sim_exceptions_global.
28947         (__sim_disabled_exceptions): Change to thread-local
28948         __sim_disabled_exceptions_thread and global
28949         __sim_disabled_exceptions_global.
28950         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28951         and global __sim_round_mode_global.
28952         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28953         (SIM_SET_GLOBAL): Likewise.
28954         * sysdeps/powerpc/soft-fp/sfp-machine.h
28955         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28956         __sim_round_mode_thread.
28957         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28958         __sim_disabled_exceptions_thread.
28959         (__sim_exceptions): Change to __sim_exceptions_thread.
28960         (__sim_disabled_exceptions): Change to
28961         __sim_disabled_exceptions_thread.
28962         (__sim_round_mode): Change to __sim_round_mode_thread.
28963         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28964         thread-local floating-point state and set global state from it as
28965         needed.
28966         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28967         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28968         (__sim_disabled_exceptions): Remove extern declaration.
28969         (feenableexcept): Use thread-local floating-point state and set
28970         global state from it as needed.
28971         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28972         extern declaration.
28973         (__sim_disabled_exceptions): Likewise.
28974         (__sim_round_mode): Likewise.
28975         (__fegetenv): Use thread-local floating-point state.
28976         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28977         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28978         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28979         floating-point state and set global state from it as needed.
28980         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28981         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28982         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28983         Likewise.
28984         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28985         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28986         Likewise.
28987         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28988         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28989         Use __sim_round_mode_thread.
28990         * math/test-fenv-tls.c: New file.
28991         * math/Makefile (tests): Add test-fenv-tls.
28992         ($(objpfx)test-fenv-tls): Depend on
28993         $(common-objpfx)nptl/libpthread.so.
28995 2013-11-19  Andreas Schwab  <schwab@suse.de>
28997         * locale/programs/locale.c (show_info): Decode wordarray elements.
28998         * locale/categories.def (LC_MONETARY): Add element for
28999         _NL_MONETARY_CRNCYSTR.
29000         * locale/C-monetary.c (conversion_rate): New variable.
29001         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29002         element.
29004 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29006         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29007         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29009 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29011         * elf/Makefile (tst-auxv): New test.
29012         * elf/tst-auxv.c: New
29013         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29015 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29017         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29018         (hidden_proto): Caller changed.
29019         (hidden_tls_proto): New macro.
29020         (libc_hidden_tls_proto): Likewise.
29021         (rtld_hidden_tls_proto): Likewise.
29022         (libm_hidden_tls_proto): Likewise.
29023         (libresolv_hidden_tls_proto): Likewise.
29024         (librt_hidden_tls_proto): Likewise.
29025         (libdl_hidden_tls_proto): Likewise.
29026         (libnss_files_hidden_tls_proto): Likewise.
29027         (libnsl_hidden_tls_proto): Likewise.
29028         (libnss_nisplus_hidden_tls_proto): Likewise.
29029         (libutil_hidden_tls_proto): Likewise.
29031 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29033         [BZ #10253]
29034         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29035         (decompose_rpath): Defer expansion to fillin_rpath.
29036         (_dl_init_paths): Pass linkmap to fillin_rpath.
29038 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29040         * benchtests/Makefile: Add strsep.
29041         * benchtests/bench-strsep.c: New file: strsep benchtest.
29042         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29044 2013-11-18  Andreas Schwab  <schwab@suse.de>
29046         * locale/programs/locale.c (show_info) [case byte]: Check for
29047         '\377' instead of '\177'.
29048         * locale/C-monetary.c (not_available): Always use "\377".
29049         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29050         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29051         detect unavailable sign_posn locale elements.
29052         * locale/localeconv.c (__localeconv): For grouping and
29053         mon_grouping handle "\177" and "\377" like no grouping.
29054         (INT_ELEM): New macro.  Use it to set all numeric members.
29055         * locale/programs/ld-monetary.c (monetary_read)
29056         <tok_mon_grouping>: Normalize single -1 to the empty string.
29057         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29058         Likewise.
29060 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29062         [BZ #16055]
29063         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29064         when we match (nil).
29065         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29067 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29069         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29070         (NO_TEST_INLINE): Update value.
29071         (ERRNO_UNCHANGED): Likewise.
29072         (ERRNO_EDOM): Likewise.
29073         (ERRNO_ERANGE): Likewise.
29074         (IGNORE_RESULT): Likewise.
29075         (check_float_internal): Check signs of NaN results if
29076         TEST_NAN_SIGN used.
29077         (check_complex): Pass TEST_NAN_SIGN flag through to second
29078         check_float_internal call.
29079         (copysign_test_data): Add tests with quiet NaNs as second
29080         argument.  Use TEST_NAN_SIGN.
29081         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29082         TEST_NAN_SIGN.
29083         (signbit_test_data): Add tests of quiet NaN argument.
29084         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29086         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29087         $ignore_result.
29088         (parse_args): Handle function results specified as IGNORE.
29089         * math/libm-test.inc (IGNORE_RESULT): New macro.
29090         (check_float_internal): Do not check numerical result if flag
29091         IGNORE_RESULT set.
29092         (check_complex): Pass through IGNORE_RESULT to second
29093         check_float_internal call.
29094         (check_int): Do not check numerical result if flag IGNORE_RESULT
29095         set.
29096         (check_long): Likewise.
29097         (check_bool): Likewise.
29098         (check_longlong): Likewise.
29099         (lrint_test_data): Add tests of infinite and NaN arguments.
29100         (lrint_tonearest_test_data): Likewise.
29101         (lrint_towardzero_test_data): Likewise.
29102         (lrint_downward_test_data): Likewise.
29103         (lrint_upward_test_data): Likewise.
29104         (llrint_test_data): Likewise.
29105         (llrint_tonearest_test_data): Likewise.
29106         (llrint_towardzero_test_data): Likewise.
29107         (llrint_downward_test_data): Likewise.
29108         (llrint_upward_test_data): Likewise.
29109         (lround_test_data): Likewise.
29110         (llround_test_data): Likewise.
29112         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29113         (ERRNO_UNCHANGED): Update value.
29114         (ERRNO_EDOM): Likewise.
29115         (ERRNO_ERANGE): Likewise.
29116         (NO_TEST_INLINE_FLOAT): New macro.
29117         (NO_TEST_INLINE_DOUBLE): Likewise.
29118         (enable_test): New function.
29119         (RUN_TEST_f_f): Check enable_test before running test.
29120         (RUN_TEST_2_f): Likewise.
29121         (RUN_TEST_fff_f): Likewise.
29122         (RUN_TEST_c_f): Likewise.
29123         (RUN_TEST_f_f1): Likewise.
29124         (RUN_TEST_fF_f1): Likewise.
29125         (RUN_TEST_fI_f1): Likewise.
29126         (RUN_TEST_ffI_f1): Likewise.
29127         (RUN_TEST_c_c): Likewise.
29128         (RUN_TEST_cc_c): Likewise.
29129         (RUN_TEST_f_i): Likewise.
29130         (RUN_TEST_f_i_tg): Likewise.
29131         (RUN_TEST_ff_i_tg): Likewise.
29132         (RUN_TEST_f_b): Likewise.
29133         (RUN_TEST_f_b_tg): Likewise.
29134         (RUN_TEST_f_l): Likewise.
29135         (RUN_TEST_f_L): Likewise.
29136         (RUN_TEST_fFF_11): Likewise.
29137         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29138         conditionals.
29139         (cosh_test_data): Likewise.
29140         (exp_test_data): Likewise.
29141         (expm1_test_data): Likewise.
29142         (hypot_test_data): Likewise.
29143         (pow_test_data): Likewise.
29144         (sinh_test_data): Likewise.
29145         (tanh_test_data): Likewise.
29146         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29147         flags argument.
29149         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29150         tests with quiet NaN input and output.
29151         (acosh_test_data): Likewise.
29152         (asin_test_data): Likewise.
29153         (asinh_test_data): Likewise.
29154         (atan_test_data): Likewise.
29155         (atanh_test_data): Likewise.
29156         (atan2_test_data): Likewise.
29157         (cbrt_test_data): Likewise.
29158         (cos_test_data): Likewise.
29159         (cosh_test_data): Likewise.
29160         (erf_test_data): Likewise.
29161         (erfc_test_data): Likewise.
29162         (exp_test_data): Likewise.
29163         (exp10_test_data): Likewise.
29164         (exp2_test_data): Likewise.
29165         (expm1_test_data): Likewise.
29166         (hypot_test_data): Likewise.
29167         (j0_test_data): Likewise.
29168         (j1_test_data): Likewise.
29169         (jn_test_data): Likewise.
29170         (lgamma_test_data): Likewise.
29171         (log_test_data): Likewise.
29172         (log10_test_data): Likewise.
29173         (log1p_test_data): Likewise.
29174         (log2_test_data): Likewise.
29175         (pow_test_data): Likewise.
29176         (scalb_test_data): Likewise.
29177         (sin_test_data): Likewise.
29178         (sincos_test_data): Likewise.
29179         (sinh_test_data): Likewise.
29180         (tan_test_data): Likewise.
29181         (tanh_test_data): Likewise.
29182         (tgamma_test_data): Likewise.
29183         (y0_test_data): Likewise.
29184         (y1_test_data): Likewise.
29185         (yn_test_data): Likewise.
29187         [BZ #16167]
29188         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29189         argument being NaN and avoid computations with second argument in
29190         that case.
29191         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29192         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29193         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29195 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29197         * locale/iso-639.def: Add Chitwani Tharu (the).
29199 2013-11-14  Andreas Schwab  <schwab@suse.de>
29201         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29202         word instead of empty string.
29204 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29207         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29209         (__fe_nomask_env): Likewise.
29211 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29213         * benchtests/bench-timing.h: Include time.h.
29215 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29217         [BZ #15997]
29218         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29219         to 3.4.0 for x32.
29220         * sysdeps/unix/sysv/linux/configure: Regenerated.
29222 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29224         [BZ #16151]
29225         * stdlib/strtod_l.c (round_and_return): Do not consider
29226         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29227         exponent one less than half the least subnormal exponent.
29228         * stdlib/test-strtod-round-data: Add more tests.
29229         * stdlib/tst-strtod-round.c (tests): Regenerated.
29231 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29233         [BZ #14143]
29234         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29235         (__fe_mask_env): Likewise.
29236         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29237         libm_hidden_proto and add function prototype.
29238         (__fe_mask_env): Add function prototype.
29239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29240         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29242         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29244         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29246 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29248         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29249         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29251 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29253         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29254         of htab_find_slot().
29256 2013-11-11  David S. Miller  <davem@davemloft.net>
29258         [BZ #16150]
29259         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29260         symbol in the non-vis3 case in static builds.
29261         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29262         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29263         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29264         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29266 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29268         [BZ #387]
29269         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29270         it is empty.
29272 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29274         * benchtests/Makefile: Add bench-strtod.
29275         * benchtests/bench-strtod.c: New file: strtod benchtest
29277 2013-11-11  Andreas Schwab  <schwab@suse.de>
29279         [BZ #16153]
29280         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29281         terminating NUL in key length.
29283 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29285         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29286         Add artificial ODP entry for vDSO symbol for PPC64.
29287         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29288         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29290 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29292         [BZ #15374]
29293         * nss/getent.c (services_keys): Recognize services starting with digit.
29295 2013-11-06  David S. Miller  <davem@davemloft.net>
29297         [BZ #15985]
29298         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29299         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29301 2013-11-06  Will Newton  <will.newton@linaro.org>
29303         * manual/memory.texi (Malloc Examples): Remove register
29304         keyword from examples.
29306 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29308         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29310 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29312         [BZ #6981]
29313         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29314         depending on [__GCC_IEC_559 > 0].
29315         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29316         depending on [__GCC_IEC_559_COMPLEX > 0].
29318 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29320         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29321         to iso-639.def.
29323 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29325         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29327 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29329         [BZ #16112]
29330         * malloc/malloc (malloc_info): Do not handle first bin as
29331         special case.
29333 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29335         * locale/iso-639.def: Add Central Nahuatl (nhn).
29337 2013-11-01  Bruno Haible  <bruno@clisp.org>
29339         [BZ #7003]
29340         * manual/math.texi (BSD Random): Specify range upper bound as
29341         in POSIX.
29343 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29345         * locale/iso-639.def: Add Meadow Mari (mhr).
29347 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29349         [BZ #14752], [BZ #15763]
29350         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29351         Validate name.
29352         * rt/tst_shm.c: Add test for escaping directory.
29354 2013-10-31  Andreas Schwab  <schwab@suse.de>
29356         [BZ #15917]
29357         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29358         followed by 'x' as part of digit sequence.
29359         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29361 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29363         [BZ #16037]
29364         * configure.ac: allow GNU Make 4.0 and greater.
29365         * configure: Regenerated.
29367 2013-10-30  Will Newton  <will.newton@linaro.org>
29369         [BZ #16038]
29370         * malloc/hooks.c (memalign_check): Limit alignment to the
29371         maximum representable power of two.
29372         * malloc/malloc.c (__libc_memalign): Likewise.
29373         * malloc/tst-memalign.c (do_test): Add test for very
29374         large alignment values.
29375         * malloc/tst-posix_memalign.c (do_test): Likewise.
29377 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29379         [BZ #11087]
29380         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29381         (munmap_chunk): Likewise.
29382         (mremap_chunk): Likewise.
29384 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29386         [BZ #15799]
29387         * stdlib/div.c (div): Remove obsolete code.
29388         * stdlib/ldiv.c (ldiv): Likewise.
29389         * stdlib/lldiv.c (lldiv): Likewise.
29391 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29393         [BZ #16071]
29394         * nss/nss_files/files-XXX.c (get_contents_ret): New
29395         enumerator.
29396         (get_contents): New function.
29397         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29399 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29401         * configure.in: Moved to ...
29402         * configure.ac: ... here. Change reference to configure.in
29403         to configure.ac.
29404         * sysdeps/arm/preconfigure.ac: ... here.
29405         configure.in to configure.ac.
29406         * sysdeps/gnu/configure.in: Moved to ...
29407         * sysdeps/gnu/configure.ac: ... here.
29408         * sysdeps/i386/configure.in: Moved to ...
29409         * sysdeps/i386/configure.ac: ... here.
29410         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29411         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29412         * sysdeps/mach/configure.in: Moved to ...
29413         * sysdeps/mach/configure.ac: ... here.
29414         * sysdeps/mach/hurd/configure.in: Moved to ...
29415         * sysdeps/mach/hurd/configure.ac: ... here.
29416         * sysdeps/powerpc/configure.in: Moved to ...
29417         * sysdeps/powerpc/configure.ac: ... here.
29418         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29419         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29420         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29421         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29422         * sysdeps/s390/s390-32/configure.in: Moved to ...
29423         * sysdeps/s390/s390-32/configure.ac: ... here.
29424         * sysdeps/s390/s390-64/configure.in: Moved to ...
29425         * sysdeps/s390/s390-64/configure.ac: ... here.
29426         * sysdeps/sh/configure.in: Moved to ...
29427         * sysdeps/sh/configure.ac: ... here.
29428         * sysdeps/sparc/configure.in: Moved to ...
29429         * sysdeps/sparc/configure.ac: ... here.
29430         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29431         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29432         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29433         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29434         * sysdeps/x86_64/configure.in: Moved to ...
29435         * sysdeps/x86_64/configure.ac: ... here.
29436         * sysdeps/x86_64/preconfigure.in: Moved to ...
29437         * sysdeps/x86_64/preconfigure.ac: ... here.
29438         * aclocal.m4: Change reference to configure.in to configure.ac.
29439         * config.h.in: Likewise.
29440         * manual/install.texi: Likewise.
29441         * manual/maint.texi: Likewise.
29442         * Makefile: Likewise.
29443         * malloc/Makefile: Likewise.
29444         * nscd/Makefile: Likewise.
29445         * Makeconfig: Change reference to configure.in and
29446         preconfigure.in to configure.ac and preconfigure.ac
29447         respectively.
29448         * INSTALL: Regenerated.
29449         * configure: Likewise.
29450         * sysdeps/gnu/configure: Likewise.
29451         * sysdeps/i386/configure: Likewise.
29452         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29453         * sysdeps/mach/configure: Likewise.
29454         * sysdeps/mach/hurd/configure: Likewise.
29455         * sysdeps/powerpc/configure: Likewise.
29456         * sysdeps/powerpc/powerpc32/configure: Likewise.
29457         * sysdeps/powerpc/powerpc64/configure: Likewise.
29458         * sysdeps/s390/s390-32/configure: Likewise.
29459         * sysdeps/s390/s390-64/configure: Likewise.
29460         * sysdeps/sh/configure: Likewise.
29461         * sysdeps/sparc/configure: Likewise.
29462         * sysdeps/unix/sysv/linux/configure: Likewise.
29463         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29464         * sysdeps/x86_64/configure: Likewise.
29465         * sysdeps/x86_64/preconfigure: Likewise.
29467 2013-10-29  Andreas Schwab  <schwab@suse.de>
29469         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29471 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29473         * benchtests/pow-inputs: Add new inputs.
29475         * benchtests/exp-inputs: Add new inputs.
29477         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29478         conditional check for return value.
29479         (__cos32): Likewise.
29481 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29483         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29484         to provide a boost for large inputs with word alignment.
29485         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29486         implementation based on optimized PPC64 strcpy.
29487         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29488         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29489         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29490         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29492 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29494         [BZ #2801]
29495         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29497 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29499         [BZ #14876]
29500         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29501         * time/tst-strptime.c (day_tests): Add testcase.
29503 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29505         [BZ #14029]
29506         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29508 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29510         [BZ #16074]
29511         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29512         MAP_FAILED on error.
29514 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29516         [BZ #16072]
29517         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29518         heap for large requests.
29520 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29522         [BZ #9954]
29523         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29524         result if the result has no associated interface.
29525         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29526         interface for all 127.X.Y.Z addresses.
29528 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29530         * locale/iso-639.def: Add Ligurian (lij)
29532 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29534         [BZ #15825]
29535         * sunrpc/rpc_main.c: Document rpcgen -5.
29537 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29539         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29541 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29543         [BZ #10278]
29544         * posix/glob.c: Match only directories when trailing slash is present.
29545         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29546         (main): Add testcase.
29548 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29550         [BZ #15670]
29551         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29553 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29555         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29556         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29557         AUTH_DES and cindex for FIPS 140-2.
29558         (DES Encryption): Add cindex FIPS 46-3.
29560         * locale/locarchive.h (struct locarhandle): Add fname.
29561         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29562         if an optional argument was specified to --list-archive,
29563         otherwise NULL.
29564         * locale/programs/locarchive.c (show_archive_content): Take new
29565         argument fname and pass it via ah.fname to open_archive.
29566         * locale/programs/localedef.h: Update decl.
29567         (open_archive): If AH->fname is non-null, open that file
29568         rather than the default file name, and don't ignore ENOENT.
29569         (create_archive): Set AH.fname to NULL.
29570         (delete_locales_from_archive): Likewise.
29571         (add_locales_to_archive): Likewise.
29572         * locale/programs/locfile.c (write_all_categories): Likewise.
29574 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29575             Aldy Hernandez  <aldyh@redhat.com>
29577         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29578         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29579         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29580         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29581         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29582         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29583         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29584         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29585         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29586         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29587         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29588         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29589         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29590         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29591         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29592         Likewise.
29593         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29594         Likewise.
29595         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29596         Likewise.
29597         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29598         Likewise.
29599         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29600         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29601         Likewise.
29602         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29603         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29604         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29605         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29606         Likewise.
29607         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29608         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29609         * sysdeps/powerpc/preconfigure: Likewise.
29610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29611         Likewise.
29612         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29613         Replace contents of file by #include of <fenv_libc.h>.
29614         * sysdeps/powerpc/soft-fp/sfp-machine.h
29615         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29616         and <sys/prctl.h>.
29617         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29619         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29620         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29621         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29622         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29624         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29625         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29626         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29627         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29628         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29630         Allow copysignl PLT reference to be missing.
29632 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29633             Joseph Myers  <joseph@codesourcery.com
29635         [BZ #15948]
29636         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29637         single character.
29638         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29640 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29642         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29643         * elf/tst-tls1.c: Likewise.
29644         * elf/tst-tls10.h: Likewise.
29645         * elf/tst-tls14.c: Likewise.
29646         * elf/tst-tls2.c: Likewise.
29647         * elf/tst-tls3.c: Likewise.
29648         * elf/tst-tls4.c: Likewise.
29649         * elf/tst-tls5.c: Likewise.
29650         * elf/tst-tls6.c: Likewise.
29651         * elf/tst-tls7.c: Likewise.
29652         * elf/tst-tls8.c: Likewise.
29653         * elf/tst-tls9.c: Likewise.
29654         * elf/tst-tlsmod1.c: Likewise.
29655         * elf/tst-tlsmod13.c: Likewise.
29656         * elf/tst-tlsmod13a.c: Likewise.
29657         * elf/tst-tlsmod14a.c: Likewise.
29658         * elf/tst-tlsmod16a.c: Likewise.
29659         * elf/tst-tlsmod16b.c: Likewise.
29660         * elf/tst-tlsmod2.c: Likewise.
29661         * elf/tst-tlsmod3.c: Likewise.
29662         * elf/tst-tlsmod4.c: Likewise.
29663         * elf/tst-tlsmod5.c: Likewise.
29664         * elf/tst-tlsmod6.c: Likewise.
29666 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29668         [BZ #12486]
29669         * malloc/malloc.c: remove checks for statistics.
29671 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29673         [BZ #15277]
29674         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29675         * inet/tst-network.c: Add testcase.
29677 2013-10-17  Andreas Schwab  <schwab@suse.de>
29679         [BZ #15218]
29680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29681         to determine canonical name.
29683 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29685         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29686         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29688         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29689         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29690         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29691         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29692         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29693         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29694         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29695         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29696         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29697         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29698         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29699         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29700         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29701         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29702         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29703         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29704         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29705         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29706         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29708         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29709         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29710         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29711         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29712         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29713         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29714         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29715         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29716         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29717         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29718         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29719         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29720         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29721         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29722         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29723         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29724         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29725         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29726         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29727         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29728         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29729         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29730         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29731         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29732         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29733         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29734         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29735         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29736         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29737         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29738         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29739         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29740         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29741         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29742         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29744 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29746         [BZ #16041]
29747         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29748         make result into a quiet NaN.
29750 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29752         * soft-fp/adddf3.c: Fix horizontal whitespace.
29753         * soft-fp/addsf3.c: Likewise.
29754         * soft-fp/addtf3.c: Likewise.
29755         * soft-fp/divdf3.c: Likewise.
29756         * soft-fp/divsf3.c: Likewise.
29757         * soft-fp/divtf3.c: Likewise.
29758         * soft-fp/double.h: Likewise.
29759         * soft-fp/eqdf2.c: Likewise.
29760         * soft-fp/eqsf2.c: Likewise.
29761         * soft-fp/eqtf2.c: Likewise.
29762         * soft-fp/extenddftf2.c: Likewise.
29763         * soft-fp/extended.h: Likewise.
29764         * soft-fp/extendsfdf2.c: Likewise.
29765         * soft-fp/extendsftf2.c: Likewise.
29766         * soft-fp/extendxftf2.c: Likewise.
29767         * soft-fp/fixdfdi.c: Likewise.
29768         * soft-fp/fixdfsi.c: Likewise.
29769         * soft-fp/fixdfti.c: Likewise.
29770         * soft-fp/fixsfdi.c: Likewise.
29771         * soft-fp/fixsfsi.c: Likewise.
29772         * soft-fp/fixsfti.c: Likewise.
29773         * soft-fp/fixtfdi.c: Likewise.
29774         * soft-fp/fixtfsi.c: Likewise.
29775         * soft-fp/fixtfti.c: Likewise.
29776         * soft-fp/fixunsdfdi.c: Likewise.
29777         * soft-fp/fixunsdfsi.c: Likewise.
29778         * soft-fp/fixunsdfti.c: Likewise.
29779         * soft-fp/fixunssfdi.c: Likewise.
29780         * soft-fp/fixunssfsi.c: Likewise.
29781         * soft-fp/fixunssfti.c: Likewise.
29782         * soft-fp/fixunstfdi.c: Likewise.
29783         * soft-fp/fixunstfsi.c: Likewise.
29784         * soft-fp/fixunstfti.c: Likewise.
29785         * soft-fp/floatdidf.c: Likewise.
29786         * soft-fp/floatdisf.c: Likewise.
29787         * soft-fp/floatditf.c: Likewise.
29788         * soft-fp/floatsidf.c: Likewise.
29789         * soft-fp/floatsisf.c: Likewise.
29790         * soft-fp/floatsitf.c: Likewise.
29791         * soft-fp/floattidf.c: Likewise.
29792         * soft-fp/floattisf.c: Likewise.
29793         * soft-fp/floattitf.c: Likewise.
29794         * soft-fp/floatundidf.c: Likewise.
29795         * soft-fp/floatundisf.c: Likewise.
29796         * soft-fp/floatunditf.c: Likewise.
29797         * soft-fp/floatunsidf.c: Likewise.
29798         * soft-fp/floatunsisf.c: Likewise.
29799         * soft-fp/floatunsitf.c: Likewise.
29800         * soft-fp/floatuntidf.c: Likewise.
29801         * soft-fp/floatuntisf.c: Likewise.
29802         * soft-fp/floatuntitf.c: Likewise.
29803         * soft-fp/fmadf4.c: Likewise.
29804         * soft-fp/fmasf4.c: Likewise.
29805         * soft-fp/fmatf4.c: Likewise.
29806         * soft-fp/gedf2.c: Likewise.
29807         * soft-fp/gesf2.c: Likewise.
29808         * soft-fp/getf2.c: Likewise.
29809         * soft-fp/ledf2.c: Likewise.
29810         * soft-fp/lesf2.c: Likewise.
29811         * soft-fp/letf2.c: Likewise.
29812         * soft-fp/muldf3.c: Likewise.
29813         * soft-fp/mulsf3.c: Likewise.
29814         * soft-fp/multf3.c: Likewise.
29815         * soft-fp/negdf2.c: Likewise.
29816         * soft-fp/negsf2.c: Likewise.
29817         * soft-fp/negtf2.c: Likewise.
29818         * soft-fp/op-1.h: Likewise.
29819         * soft-fp/op-2.h: Likewise.
29820         * soft-fp/op-4.h: Likewise.
29821         * soft-fp/op-8.h: Likewise.
29822         * soft-fp/op-common.h: Likewise.
29823         * soft-fp/quad.h: Likewise.
29824         * soft-fp/single.h: Likewise.
29825         * soft-fp/soft-fp.h: Likewise.
29826         * soft-fp/sqrtdf2.c: Likewise.
29827         * soft-fp/sqrtsf2.c: Likewise.
29828         * soft-fp/sqrttf2.c: Likewise.
29829         * soft-fp/subdf3.c: Likewise.
29830         * soft-fp/subsf3.c: Likewise.
29831         * soft-fp/subtf3.c: Likewise.
29832         * soft-fp/truncdfsf2.c: Likewise.
29833         * soft-fp/trunctfdf2.c: Likewise.
29834         * soft-fp/trunctfsf2.c: Likewise.
29835         * soft-fp/trunctfxf2.c: Likewise.
29836         * soft-fp/unorddf2.c: Likewise.
29837         * soft-fp/unordsf2.c: Likewise.
29838         * soft-fp/unordtf2.c: Likewise.
29840 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29842         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29843         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29845 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29847         * elf/dl-libc.c: Clear initfini list after freeing.
29849 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29851         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29852         * soft-fp/addsf3.c: Likewise.
29853         * soft-fp/addtf3.c: Likewise.
29854         * soft-fp/divdf3.c: Likewise.
29855         * soft-fp/divsf3.c: Likewise.
29856         * soft-fp/divtf3.c: Likewise.
29857         * soft-fp/double.h: Likewise.
29858         * soft-fp/eqdf2.c: Likewise.
29859         * soft-fp/eqsf2.c: Likewise.
29860         * soft-fp/eqtf2.c: Likewise.
29861         * soft-fp/extenddftf2.c: Likewise.
29862         * soft-fp/extended.h: Likewise.
29863         * soft-fp/extendsfdf2.c: Likewise.
29864         * soft-fp/extendsftf2.c: Likewise.
29865         * soft-fp/extendxftf2.c: Likewise.
29866         * soft-fp/fixdfdi.c: Likewise.
29867         * soft-fp/fixdfsi.c: Likewise.
29868         * soft-fp/fixdfti.c: Likewise.
29869         * soft-fp/fixsfdi.c: Likewise.
29870         * soft-fp/fixsfsi.c: Likewise.
29871         * soft-fp/fixsfti.c: Likewise.
29872         * soft-fp/fixtfdi.c: Likewise.
29873         * soft-fp/fixtfsi.c: Likewise.
29874         * soft-fp/fixtfti.c: Likewise.
29875         * soft-fp/fixunsdfdi.c: Likewise.
29876         * soft-fp/fixunsdfsi.c: Likewise.
29877         * soft-fp/fixunsdfti.c: Likewise.
29878         * soft-fp/fixunssfdi.c: Likewise.
29879         * soft-fp/fixunssfsi.c: Likewise.
29880         * soft-fp/fixunssfti.c: Likewise.
29881         * soft-fp/fixunstfdi.c: Likewise.
29882         * soft-fp/fixunstfsi.c: Likewise.
29883         * soft-fp/fixunstfti.c: Likewise.
29884         * soft-fp/floatdidf.c: Likewise.
29885         * soft-fp/floatdisf.c: Likewise.
29886         * soft-fp/floatditf.c: Likewise.
29887         * soft-fp/floatsidf.c: Likewise.
29888         * soft-fp/floatsisf.c: Likewise.
29889         * soft-fp/floatsitf.c: Likewise.
29890         * soft-fp/floattidf.c: Likewise.
29891         * soft-fp/floattisf.c: Likewise.
29892         * soft-fp/floattitf.c: Likewise.
29893         * soft-fp/floatundidf.c: Likewise.
29894         * soft-fp/floatundisf.c: Likewise.
29895         * soft-fp/floatunsidf.c: Likewise.
29896         * soft-fp/floatunsisf.c: Likewise.
29897         * soft-fp/floatuntidf.c: Likewise.
29898         * soft-fp/floatuntisf.c: Likewise.
29899         * soft-fp/floatuntitf.c: Likewise.
29900         * soft-fp/fmadf4.c: Likewise.
29901         * soft-fp/fmasf4.c: Likewise.
29902         * soft-fp/fmatf4.c: Likewise.
29903         * soft-fp/gedf2.c: Likewise.
29904         * soft-fp/gesf2.c: Likewise.
29905         * soft-fp/getf2.c: Likewise.
29906         * soft-fp/ledf2.c: Likewise.
29907         * soft-fp/lesf2.c: Likewise.
29908         * soft-fp/letf2.c: Likewise.
29909         * soft-fp/muldf3.c: Likewise.
29910         * soft-fp/mulsf3.c: Likewise.
29911         * soft-fp/multf3.c: Likewise.
29912         * soft-fp/negdf2.c: Likewise.
29913         * soft-fp/negsf2.c: Likewise.
29914         * soft-fp/negtf2.c: Likewise.
29915         * soft-fp/op-1.h: Likewise.
29916         * soft-fp/op-2.h: Likewise.
29917         * soft-fp/op-4.h: Likewise.
29918         * soft-fp/op-8.h: Likewise.
29919         * soft-fp/op-common.h: Likewise.
29920         * soft-fp/quad.h: Likewise.
29921         * soft-fp/single.h: Likewise.
29922         * soft-fp/soft-fp.h: Likewise.
29923         * soft-fp/sqrtdf2.c: Likewise.
29924         * soft-fp/sqrtsf2.c: Likewise.
29925         * soft-fp/sqrttf2.c: Likewise.
29926         * soft-fp/subdf3.c: Likewise.
29927         * soft-fp/subsf3.c: Likewise.
29928         * soft-fp/subtf3.c: Likewise.
29929         * soft-fp/truncdfsf2.c: Likewise.
29930         * soft-fp/trunctfdf2.c: Likewise.
29931         * soft-fp/trunctfsf2.c: Likewise.
29932         * soft-fp/trunctfxf2.c: Likewise.
29933         * soft-fp/unorddf2.c: Likewise.
29934         * soft-fp/unordsf2.c: Likewise.
29935         * soft-fp/unordtf2.c: Likewise.
29937 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29939         [BZ #15672]
29940         * misc/error.c (error_tail): Fix possible buffer overflow.
29942 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29944         [BZ #13028]
29945         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29946         address.
29948 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29950         [BZ #832]
29951         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29952         testing pipefail option.
29954 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29956         * soft-fp/double.h: Indent preprocessor directives inside #if.
29957         * soft-fp/extended.h: Likewise.
29958         * soft-fp/op-2.h: Likewise.
29959         * soft-fp/op-4.h: Likewise.
29960         * soft-fp/op-common.h: Likewise.
29961         * soft-fp/quad.h: Likewise.
29962         * soft-fp/single.h: Likewise.
29963         * soft-fp/soft-fp.h: Likewise.
29965 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29967         * iconv/iconv_prog.c: Fix typos.
29968         * stdio-common/psiginfo-data.h: Likewise.
29970 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29972         [BZ #15764]
29973         * locale/setlocale.c: Fix typo.
29975 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29977         [BZ #16036]
29978         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29979         signaling NaN arguments.
29980         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29981         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29983         [BZ #14910]
29984         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29985         unordered operands.
29986         * soft-fp/gesf2.c (__gesf2): Likewise.
29987         * soft-fp/getf2.c (__getf2): Likewise.
29988         * soft-fp/ledf2.c (__ledf2): Likewise.
29989         * soft-fp/lesf2.c (__lesf2): Likewise.
29990         * soft-fp/letf2.c (__letf2): Likewise.
29992         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29993         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29994         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29995         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29996         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29997         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29998         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29999         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30000         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30001         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30002         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30003         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30004         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30005         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30006         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30007         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30008         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30009         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30010         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30011         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30012         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30013         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30014         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30015         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30016         * soft-fp/floattidf.c (__floattidf): Likewise.
30017         * soft-fp/floattisf.c (__floattisf): Likewise.
30018         * soft-fp/floattitf.c (__floattitf): Likewise.
30019         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30020         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30021         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30022         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30023         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30024         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30025         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30026         * soft-fp/gesf2.c (__gesf2): Likewise.
30027         * soft-fp/getf2.c (__getf2): Likewise.
30028         * soft-fp/ledf2.c (__ledf2): Likewise.
30029         * soft-fp/lesf2.c (__lesf2): Likewise.
30030         * soft-fp/letf2.c (__letf2): Likewise.
30032         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30033         Undefine and redefine.
30034         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30035         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30036         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30037         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30038         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30039         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30040         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30041         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30042         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30043         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30044         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30045         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30046         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30047         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30048         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30050         [BZ #16032]
30051         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30052         without decrementing exponent if mantissa >= that for the
30053         denominator, not >.
30054         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30055         denominator, not >.  Decrement exponent in < case instead of
30056         incrementing in >= case.
30057         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30058         without decrementing exponent if mantissa >= that for the
30059         denominator, not >.
30061         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30062         computing saturated result for unsigned overflow.
30064 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30065             Jeff Law  <law@redhat.com>
30067         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30068         (atan2Mp): Add systemtap probe marker.
30069         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30070         (__ieee754_log): Add systemtap probe marker.
30071         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30072         (atanMp): Add systemtap probe marker.
30073         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30074         (tanMp): Add systemtap probe marker.
30075         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30076         (__slowexp): Add systemtap probe marker.
30077         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30078         (__slowpow): Add systemtap probe marker.
30079         * manual/probes.texi: Document probes.
30081 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30083         [BZ #15362]
30084         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30085         written.
30086         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30087         written.
30088         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30089         written to buffer but not flushed.
30090         * libio/iofwrite_u.c:  Likewise.
30091         * libio/iopadn.c:  Return bytes returned even if EOF was
30092         encountered.
30093         * libio/iowpadn.c:  Likewise.
30094         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30095         if _IO_padn does not write the whole buffer.
30096         [!COMPILE_WPRINTF] (PAD): Likewise.
30098 2013-10-10  David S. Miller  <davem@davemloft.net>
30100         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30101         directory block.
30103 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30105         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30106         instead of FSF address.
30107         * soft-fp/fixdfti.c: Likewise.
30108         * soft-fp/fixsfti.c: Likewise.
30109         * soft-fp/fixtfti.c: Likewise.
30110         * soft-fp/fixunsdfti.c: Likewise.
30111         * soft-fp/fixunssfti.c: Likewise.
30112         * soft-fp/fixunstfti.c: Likewise.
30113         * soft-fp/floattidf.c: Likewise.
30114         * soft-fp/floattisf.c: Likewise.
30115         * soft-fp/floattitf.c: Likewise.
30116         * soft-fp/floatuntidf.c: Likewise.
30117         * soft-fp/floatuntisf.c: Likewise.
30118         * soft-fp/floatuntitf.c: Likewise.
30119         * soft-fp/trunctfxf2.c: Likewise.
30121         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30122         * soft-fp/fixdfti.c: Likewise.
30123         * soft-fp/fixsfti.c: Likewise.
30124         * soft-fp/fixtfti.c: Likewise.
30125         * soft-fp/fixunsdfti.c: Likewise.
30126         * soft-fp/fixunssfti.c: Likewise.
30127         * soft-fp/fixunstfti.c: Likewise.
30128         * soft-fp/floattidf.c: Likewise.
30129         * soft-fp/floattisf.c: Likewise.
30130         * soft-fp/floattitf.c: Likewise.
30131         * soft-fp/floatuntidf.c: Likewise.
30132         * soft-fp/floatuntisf.c: Likewise.
30133         * soft-fp/floatuntitf.c: Likewise.
30134         * soft-fp/trunctfxf2.c: Likewise.
30136 2013-10-10  David S. Miller  <davem@davemloft.net>
30138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30140 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30142         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30143         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30144         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30145         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30146         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30147         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30148         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30151         for NaNs before doing comparisons on argument.
30152         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30153         Likewise.
30155 2013-10-10  Will Newton  <will.newton@linaro.org>
30157         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30158         passed to _int_memalign does not overflow.
30160 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30162         * scripts/bench.pl: Add include-sources directive.
30163         * benchtests/README: Update documentation.
30165 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30167         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30168         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30169         instead of FP_INIT_ROUNDMODE.
30170         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30171         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30173         [BZ #16034]
30174         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30175         copy class of input value.
30176         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30177         not handle exceptions.
30178         * soft-fp/negsf2.c (__negsf2): Likewise.
30179         * soft-fp/negtf2.c (__negtf2): Likewise.
30180         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30182 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30184         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30185         semicolon.  From Linux kernel.
30187 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30189         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30191 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30193         [BZ #156]
30194         * manual/socket.texi: Added statement about buffer
30195         for gethostbyname2_r.
30197 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30199         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30200         Use .p2align directive instead, throughout.
30201         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30202         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30203         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30204         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30205         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30206         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30207         * sysdeps/x86_64/strchr.S: Likewise.
30208         * sysdeps/x86_64/strrchr.S: Likewise.
30210 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30212         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30214         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30216         * sysdeps/generic/math_private.h (__mpsin1): Remove
30217         declaration.
30218         (__mpcos1): Likewise.
30219         (__mpsin): New argument __range_reduce.
30220         (__mpcos): Likewise.
30221         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30222         (slow): Use __mpsin and __mpcos.
30223         (slow1): Likewise.
30224         (slow2): Likewise.
30225         (sloww): Likewise.
30226         (sloww1): Likewise.
30227         (sloww2): Likewise.
30228         (bsloww): Likewise.
30229         (bsloww1): Likewise.
30230         (bsloww2): Likewise.
30231         (cslow2): Likewise.
30232         (csloww): Likewise.
30233         (csloww1): Likewise.
30234         (csloww2): Likewise.
30235         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30236         range_reduce.  Merge in __mpsin1.
30237         (__mpcos): Likewise.
30238         (__mpsin1): Remove.
30239         (__mpcos1): Likewise.
30241 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30243         * locale/loadlocale.c (_nl_intern_locale_data): Use
30244         LOCFILE_ALIGNED_P.
30245         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30246         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30247         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30248         obstack data is appropriately aligned.
30249         (obstack_int32_grow_fast): Likewise.
30250         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30251         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30252         (add_locale_uint32_array): Likewise.
30254 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30256         * benchtests/Makefile: Remove ARGLIST and RET variables.
30257         ($(objpfx)bench-%.c): Pass only function name to the script.
30258         * benchtests/README: Update documentation.
30259         * benchtests/acos-inputs: Add new directives.
30260         * benchtests/acosh-inputs: Likewise.
30261         * benchtests/asin-inputs: Likewise.
30262         * benchtests/asinh-inputs: Likewise.
30263         * benchtests/atan-inputs: Likewise.
30264         * benchtests/atanh-inputs: Likewise.
30265         * benchtests/cos-inputs: Likewise.
30266         * benchtests/cosh-inputs: Likewise.
30267         * benchtests/exp-inputs: Likewise.
30268         * benchtests/log-inputs: Likewise.
30269         * benchtests/pow-inputs: Likewise.
30270         * benchtests/rint-inputs: Likewise.
30271         * benchtests/sin-inputs: Likewise.
30272         * benchtests/sinh-inputs: Likewise.
30273         * benchtests/tan-inputs: Likewise.
30274         * benchtests/tanh-inputs: Likewise.
30275         * scripts/bench.pl: Add support for new directives.
30277 2013-10-07  Alan Modra  <amodra@gmail.com>
30279         * README: Fix careless merge.
30281 2013-10-05  Alan Modra  <amodra@gmail.com>
30283         * NEWS: Mention powerpc64le support and bugs fixed.
30284         * README: Both big-endian and little-endian powerpc64 supported.
30286 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30288         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30289         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30290         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30291         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30293 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30295         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30296         match prototype.
30298 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30300         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30301         Move -mhard-float appending from
30302         ports/sysdeps/powerpc/powerpc32/Makefile.
30303         [$(with-fp) = yes] (ASFLAGS): Likewise.
30304         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30305         * sysdeps/powerpc/nofpu: Move directory from
30306         ports/sysdeps/powerpc/nofpu.
30307         * sysdeps/powerpc/soft-fp: Move directory from
30308         ports/sysdeps/powerpc/soft-fp.
30309         * sysdeps/powerpc/powerpc32/405: Move directory from
30310         ports/sysdeps/powerpc/powerpc32/405.
30311         * sysdeps/powerpc/powerpc32/440: Move directory from
30312         ports/sysdeps/powerpc/powerpc32/440.
30313         * sysdeps/powerpc/powerpc32/464: Move directory from
30314         ports/sysdeps/powerpc/powerpc32/464.
30315         * sysdeps/powerpc/powerpc32/476: Move directory from
30316         ports/sysdeps/powerpc/powerpc32/476.
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30318         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30320         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30322         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30324         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30326         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30327         * README: Update for powerpc-*-linux-gnu software floating point
30328         support in libc.
30330         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30331         case to powerpc/powerpc32*.
30332         * sysdeps/unix/sysv/linux/configure: Regenerated.
30334         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30335         (_FPU_MASK_OM): Define as 0x04.
30336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30338         0x00c10080.
30339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30340         0x0000003c.
30341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30344         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30345         getcontext_e500.
30346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30347         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30348         setcontext_e500.
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30350         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30351         and setcontext_e500.
30353 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30355         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30357 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * manual/threads.texi (Default Thread Attributes): Fix typo.
30361 2013-10-04  Will Newton  <will.newton@linaro.org>
30363         * malloc/Makefile: Add tst-memalign.
30364         * malloc/tst-memalign.c: New file.
30366         * malloc/tst-posix_memalign.c: Add comments.
30367         (do_test): Add comments and call free on all potentially
30368         allocated pointers. Add space after cast.
30370         * malloc/tst-pvalloc.c: Add comments.
30371         (do_test): Add comments and call free on all potentially
30372         allocated pointers. Remove duplicate check for NULL pointer.
30373         Add space after cast.
30375         * malloc/tst-valloc.c: Add comments.
30376         (do_test): Add comments and call free on all potentially
30377         allocated pointers. Remove duplicate check for NULL pointer.
30378         Add space after cast.
30380 2013-10-04  Alan Modra  <amodra@gmail.com>
30382         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30383         Use stdint types in rather than __attribute__((mode())).
30384         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30386 2013-10-04  Alan Modra  <amodra@gmail.com>
30388         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30389         Correct handling of unaligned relocs for little-endian.
30390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30392 2013-10-04  Alan Modra  <amodra@gmail.com>
30394         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30395         * configure: Regenerate.
30396         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30397         * shlib-versions: Likewise.
30399 2013-10-04  Alan Modra  <amodra@gmail.com>
30401         * string/tester.c (test_memrchr): Increment reported test cycle.
30403 2013-10-04  Alan Modra  <amodra@gmail.com>
30405         * string/test-memcpy.c (do_one_test): When reporting errors, print
30406         string address and don't overrun end of string.
30408 2013-10-04  Alan Modra  <amodra@gmail.com>
30410         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30411         insrdi.  Make better use of reg selection to speed exit slightly.
30412         Schedule entry path a little better.  Remove useless "are we done"
30413         checks on entry to main loop.  Handle wrapping around zero address.
30414         Correct main loop count.  Handle single left-over word from main
30415         loop inline rather than by using loop_small.  Remove extra word
30416         case in loop_small caused by wrong loop count.  Add little-endian
30417         support.
30418         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30419         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30420         cache hint.
30421         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30422         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30423         support.  Avoid rlwimi.
30424         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30426 2013-10-04  Alan Modra  <amodra@gmail.com>
30428         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30429         insrdi.  Formatting.
30430         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30431         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30432         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30433         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30434         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30435         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30437 2013-10-04  Alan Modra  <amodra@gmail.com>
30439         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30440         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30441         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30442         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30443         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30444         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30445         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30446         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30447         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30448         use of regs.  Use power7 mtocrf.  Tidy function tails.
30450 2013-10-04  Alan Modra  <amodra@gmail.com>
30452         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30453         Formatting.  Consistently use rXXX register defines or rN defines.
30454         Use early exit labels that avoid restoring unused non-volatile regs.
30455         Make cr field use more consistent with rWORDn compares.  Rename
30456         regs used as shift registers for unaligned loop, using rN defines
30457         for short lifetime/multiple use regs.
30458         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30459         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30460         addi 1,1,64 to pop stack frame.  Simplify return value code.
30461         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30463 2013-10-04  Alan Modra  <amodra@gmail.com>
30465         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30466         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30467         rather than rlwimi.
30468         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30469         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30470         little-endian support.  Correct typos.
30471         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30472         rather than rlwimi.
30473         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30474         in loop and entry code to keep "and." results.
30475         (strchr): Add little-endian support.  Comment.  Move cntlzd
30476         earlier in tail.
30477         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30479 2013-10-04  Alan Modra  <amodra@gmail.com>
30481         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30482         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30483         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30484         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30486 2013-10-04  Alan Modra  <amodra@gmail.com>
30488         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30489         (rTMP): Define as r11.
30490         (strcmp): Add little-endian support.  Optimise tail.
30491         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30492         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30493         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30494         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30495         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30496         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30497         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30499 2013-10-04  Alan Modra  <amodra@gmail.com>
30501         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30502         little-endian support.  Remove unnecessary "are we done" tests.
30503         Handle "s" wrapping around zero and extremely large "size".
30504         Correct main loop count.  Handle single left-over word from main
30505         loop inline rather than by using small_loop.  Correct comments.
30506         Delete "zero" tail, use "end_max" instead.
30507         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30509 2013-10-04  Alan Modra  <amodra@gmail.com>
30511         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30512         support.  Don't branch over align.
30513         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30514         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30515         support.  Rearrange tmp reg use to suit.  Comment.
30516         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30518 2013-10-04  Alan Modra  <amodra@gmail.com>
30520         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30522 2013-10-04  Alan Modra  <amodra@gmail.com>
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30525         conditional form of branch and link when obtaining pc.
30526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30528 2013-10-04  Alan Modra  <amodra@gmail.com>
30530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30531         HIWORD/LOWORD.
30532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30535 2013-10-04  Alan Modra  <amodra@gmail.com>
30537         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30538         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30539         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30540         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30541         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30542         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30543         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30544         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30545         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30546         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30548 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30549             Alistair Popple <alistair@ozlabs.au.ibm.com>
30550             Alan Modra <amodra@gmail.com>
30552         [BZ #15723]
30553         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30554         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30555         _dl_hwcap access for little-endian.
30556         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30557         destroy vmx regs when saving unaligned.
30558         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30559         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30560         destroy vmx regs when saving unaligned.
30562 2013-10-04  Alan Modra  <amodra@gmail.com>
30564         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30565         Don't use a union to pack hi/low value.
30567 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30569         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30570         for little-endian.
30571         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30572         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30573         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30574         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30575         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30577 2013-10-04  Alan Modra  <amodra@gmail.com>
30579         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30580         constants to usual value for .cst8 section, and remove redundant
30581         high address load.
30582         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30583         constant for 0x1p52.  Load little-endian words of double from
30584         correct stack offsets.
30586 2013-10-04  Alan Modra  <amodra@gmail.com>
30588         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30589         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30590         words of double from correct stack offsets.
30591         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30592         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30593         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30594         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30595         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30596         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30597         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30598         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30599         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30600         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30601         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30602         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30603         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30604         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30605         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30606         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30607         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30609 2013-10-04  Alan Modra  <amodra@gmail.com>
30611         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30612         64-bit int/double union.
30613         (_FPU_SETCW): Likewise.
30614         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30615         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30617 2013-10-04  Alan Modra  <amodra@gmail.com>
30619         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30620         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30622 2013-10-04  Alan Modra  <amodra@gmail.com>
30624         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30625         use vector int constants.
30626         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30628 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30630         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30631         array with long long.
30632         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30633         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30634         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30635         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30636         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30637         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30638         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30639         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30640         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30641         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30642         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30643         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30644         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30646 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30648         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30649         (__signbit): Likewise.  Correct for little-endian.
30650         (__signbitl): Call __signbit.
30651         (lrint): Correct for little-endian.
30652         (lrintf): Call lrint.
30654 2013-10-04  Alan Modra  <amodra@gmail.com>
30656         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30657         union 32-bit int array member with 64-bit int array.
30658         (t515, tm256): Double rather than long double.
30659         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30661 2013-10-04  Alan Modra  <amodra@gmail.com>
30663         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30664         Delete.
30665         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30667         version of math_ldbl.h.
30669 2013-10-04  Alan Modra  <amodra@gmail.com>
30671         [BZ #15734], [BZ #15735]
30672         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30673         all uses of ieee875 long double macros and unions.  Simplify test
30674         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30675         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30676         normalize after ldbl_extract_mantissa, and don't add hidden bit
30677         already handled.  Don't treat low word of ieee854 mantissa like
30678         low word of IBM long double and mask off bit when testing for
30679         zero.
30680         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30681         all uses of ieee875 long double macros and unions.  Simplify tests
30682         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30683         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30684         two1022, instead use their values.  Recognise that tests for large
30685         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30686         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30687         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30688         test for 0.0L and nan.  Correct negation.
30689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30690         ieee875 long double macros and unions.  Correct output for large
30691         magnitude x.  Correct absolute value calculation.
30692         (__erfcl): Likewise.
30693         * math/libm-test.inc: Add tests for errors discovered in IBM long
30694         double versions of fmodl, remainderl, erfl and erfcl.
30696 2013-10-04  Alan Modra  <amodra@gmail.com>
30698         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30699         all uses of ieee854 long double macros and unions.  Simplify tests
30700         for long doubles that are fully specified by the high double.
30701         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30702         Likewise.
30703         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30704         Remove dead code too.
30705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30706         (__ieee754_ynl): Likewise.
30707         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30708         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30709         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30710         Remove dead code too.
30711         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30712         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30713         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30714         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30715         Simplify.
30716         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30717         Simplify.
30718         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30719         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30720         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30721         Comment on variable precision.
30722         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30723         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30724         Likewise.
30725         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30726         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30727         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30728         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30729         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30731 2013-10-04  Alan Modra  <amodra@gmail.com>
30733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30734         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30735         all uses of ieee854 long double macros and unions.
30736         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30737         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30738         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30740         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30741         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30742         Likewise.
30743         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30744         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30745         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30746         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30747         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30748         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30749         Simplify sign and nan test too.
30750         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30751         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30752         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30753         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30754         Likewise.
30755         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30756         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30757         Likewise.
30758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30759         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30760         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30761         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30762         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30763         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30765 2013-10-04  Alan Modra  <amodra@gmail.com>
30767         * stdio-common/printf_size.c (__printf_size): Don't use
30768         union ieee854_long_double in fpnum union.
30769         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30770         signbit macro to retrieve sign from long double.
30771         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30772         retrieve sign from long double.
30773         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30774         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30775         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30776         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30777         * math/test-misc.c (main): Don't use union ieee854_long_double.
30779 2013-10-04  Alan Modra  <amodra@gmail.com>
30781         [BZ #15680]
30782         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30783         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30784         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30785         calculation.  Remove unnecessary test for denormal exponent.
30786         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30787         Correct handling of denormals.  Avoid undefined shift behaviour.
30788         Correct normalisation of low mantissa when low double is denormal.
30789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30790         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30791         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30792         Correct normalisation of low mantissa.  Test for overflow of high
30793         mantissa and normalise.
30794         (ldbl_nearbyint): Use more readable constant for two52.
30795         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30796         (__mpn_construct_long_double): Fix test for overflow of high
30797         mantissa and correct normalisation.  Avoid undefined shift.
30799 2013-10-04  Alan Modra  <amodra@gmail.com>
30801         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30802         (union ibm_extended_long_double): Define as an array of ieee754_double.
30803         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30804         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30805         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30806         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30807         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30808         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30809         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30810         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30811         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30812         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30813         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30815 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30817         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30818         page size instead of calling getpagesize.
30820         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30821         (LOCFILE_ALIGN_MASK): Likewise.
30822         (LOCFILE_ALIGN_UP): Likewise.
30823         (LOCFILE_ALIGNED_P): Likewise.
30824         * locale/programs/ld-collate.c (collate_output): Use the new
30825         macros instead of __alignof__ (int32_t).
30826         * locale/weight.h (findidx): Likewise.
30828 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30830         [BZ #431]
30831         * manual/string.texi: Fix strncat and wcsncat.
30833 2013-10-03  Brooks Moses  <bmoses@google.com>
30835         [BZ #15915]
30836         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30837         * Makerules: ...here, and adjust associated comments.
30839 2013-10-02  Will Newton  <will.newton@linaro.org>
30841         * malloc/Makefile: Add tst-pvalloc.
30842         * malloc/tst-pvalloc.c: New file.
30844 2013-10-02  Will Newton  <will.newton@linaro.org>
30846         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30847         improve test coverage.
30849 2013-10-02  Will Newton  <will.newton@linaro.org>
30851         * malloc/Makefile: Add tst-posix_memalign.
30852         * malloc/tst-posix_memalign.c: New file.
30854 2013-10-01  Eric Blake  <eblake@redhat.com>
30856         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30857         Use __THROWNL rather than __THROW on static functions.
30859 2013-09-30  Petr Machata  <pmachata@redhat.com>
30861         * elf/elf.h (R_AARCH64_ABS16): New macro.
30862         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30863         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30864         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30865         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30866         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30867         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30868         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30869         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30870         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30871         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30872         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30873         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30874         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30875         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30876         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30877         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30878         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30879         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30880         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30881         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30882         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30883         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30884         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30885         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30886         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30887         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30888         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30889         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30890         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30891         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30892         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30893         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30894         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30895         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30896         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30897         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30898         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30899         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30900         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30901         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30902         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30903         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30904         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30905         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30906         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30907         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30908         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30909         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30910         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30911         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30912         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30913         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30914         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30915         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30916         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30917         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30918         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30919         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30920         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30921         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30922         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30923         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30924         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30925         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30926         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30927         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30928         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30929         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30930         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30931         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30932         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30933         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30934         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30935         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30936         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30937         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30938         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30939         (R_AARCH64_TLSDESC_LDR): Likewise.
30940         (R_AARCH64_TLSDESC_ADD): Likewise.
30941         (R_AARCH64_TLSDESC_CALL): Likewise.
30943 2013-09-30  Andreas Schwab  <schwab@suse.de>
30945         [BZ #15048]
30946         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30947         the nss database lookup.
30948         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30951 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30953         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30955 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30957         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30958         ${Bash-specific parameter/pattern/string} parameter expansion.
30959         * sysdeps/unix/make-syscalls.sh: Likewise.
30961 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30963         * sysdeps/sh/stackguard-macros.h: New file.
30965 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30969         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30970         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30971         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30972         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30974 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30976         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30977         Fix thread ID register.
30979 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30981         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30982         [POSIX || UNIX98]: Require rather than permitting all symbols from
30983         <time.h>.
30984         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30985         element of struct sched_param.
30986         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30987         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30988         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30989         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30990         constant.
30992 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30994         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30995         argument calculation.
30997 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30999         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31000         Expect macro.
31001         [POSIX] (pthread_attr_t): Do not require type.
31002         [POSIX] (pthread_cond_t): Likewise.
31003         [POSIX] (pthread_condattr_t): Likewise.
31004         [POSIX] (pthread_key_t): Likewise.
31005         [POSIX] (pthread_mutex_t): Likewise.
31006         [POSIX] (pthread_mutexattr_t): Likewise.
31007         [POSIX] (pthread_once_t): Likewise.
31008         [POSIX] (pthread_t): Likewise.
31009         [POSIX-based standards] (pthread_atfork): Expect function.
31011 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31012             Richard Sandiford  <richard@codesourcery.com>
31014         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31015         (swap_endianness_p): New extern variable.
31016         (set_big_endian): New inline function.
31017         (maybe_swap_uint32): Likewise.
31018         (maybe_swap_uint32_array): Likewise.
31019         (maybe_swap_uint32_obstack): Likewise.
31020         * locale/programs/locfile.c: Include <stdbool.h>.
31021         (swap_endianness_p): New variable.
31022         (add_locale_uint32): Call maybe_swap_uint32.
31023         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31024         (write_locale_data): Call maybe_swap_uint32_array.
31025         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31026         maybe_swap_uint32.
31027         (obstack_int32_grow_fast): Likewise.
31028         (output_weightwc): Call maybe_swap_uint32_obstack.
31029         (collate_output): Likewise.
31030         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31031         (OPT_LITTLE_ENDIAN): Likewise.
31032         (options): Add --little-endian and --big-endian options.
31033         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31034         * locale/programs/locarchive.c: Include "locfile.h".
31035         (GET): New macro.
31036         (SET): Likewise.
31037         (INC): Likewise.
31038         (create_archive): Use the new macros to access fields of
31039         structures directly mapped from or written to locale archives.
31040         (oldlocrecentcmp): Likewise.
31041         (enlarge_archive): Likewise.
31042         (insert_name): Likewise.
31043         (add_alias): Likewise.
31044         (add_locale): Likewise.
31045         (delete_locales_from_archive): Likewise.
31046         (show_archive_content): Likewise.
31047         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31048         locale data.
31050 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31052         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31053         http://www.gnu.org/doc/freemanuals.texi.
31054         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31056 2013-09-24  Will Newton  <will.newton@linaro.org>
31058         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31059         macro.
31061 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31063         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31064         unsigned char.
31066 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31068         * manual/threads.texi (POSIX Threads): Fix a typo.
31070 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072         [BZ #14547]
31073         * string/tst-strcoll-overflow.c: New test case.
31074         * string/Makefile (xtests): Add tst-strcoll-overflow.
31075         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31076         cache if string sizes may cause integer overflow.
31078         [BZ #14547]
31079         * string/strcoll_l.c (coll_seq): New members rule, idx,
31080         save_idx and back_us.
31081         (get_next_seq_nocache): New function.
31082         (do_compare_nocache): New function.
31083         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31084         when malloc fails.
31086 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31088         [BZ #15754]
31089         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31090         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31091         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31093         [BZ #15754]
31094         * elf/Makefile (tests): Add tst-ptrguard1.
31095         (tests-static): Add tst-ptrguard1-static.
31096         (tst-ptrguard1-ARGS): Define.
31097         (tst-ptrguard1-static-ARGS): Define.
31098         * elf/tst-ptrguard1.c: New file.
31099         * elf/tst-ptrguard1-static.c: New file.
31100         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31101         * sysdeps/i386/stackguard-macros.h: Likewise.
31102         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31103         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31104         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31105         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31106         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31107         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31109 2013-09-23  Hector Marco  <hecmargi@upv.es>
31110             Ismael Ripoll  <iripoll@disca.upv.es>
31111             Carlos O'Donell  <carlos@redhat.com>
31113         [BZ #15754]
31114         * sysdeps/generic/stackguard-macros.h: Define
31115         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31116         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31117         Define __pointer_chk_guard_local.
31118         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31119         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31121 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31123         [BZ #15859]
31124         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31126 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31128         * include/string.h (__ffs): Declare as hidden.
31129         * string/ffs.c (__ffs): Define as hidden.
31130         * sysdeps/i386/ffs.c (__ffs): Likewise.
31131         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31132         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31133         * sysdeps/s390/ffs.c (__ffs): Likewise.
31134         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31136 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31138         * NEWS: Mention malloc probes.
31140         * malloc/arena.c (new_heap): New memory_heap_new probe.
31141         (grow_heap): New memory_heap_more probe.
31142         (shrink_heap): New memory_heap_less probe.
31143         (heap_trim): New memory_heap_free probe.
31144         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31145         (systrim): New memory_sbrk_less probe.
31146         * manual/probes.texi: Document them.
31148         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31149         * manual/probes.texi: Document it.
31151         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31152         (__libc_realloc): Add memory_realloc_retry probe.
31153         (__libc_memalign): Add memory_memalign_retry probe.
31154         (__libc_valloc): Add memory_valloc_retry probe.
31155         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31156         (__libc_calloc): Add memory_calloc_retry probe.
31157         * manual/probes.texi: Document them.
31159         * malloc/arena.c (get_free_list): Add probe
31160         memory_arena_reuse_free_list.
31161         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31162         and memory_arena_reuse.
31163         (arena_get2) [!PER_THREAD]: Likewise.
31164         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31165         memory_arena_reuse_realloc.
31166         * manual/probes.texi: Document them.
31168         * malloc/malloc.c (__libc_free): Add
31169         memory_mallopt_free_dyn_thresholds probe.
31170         (__libc_mallopt): Add multiple memory_mallopt probes.
31171         * manual/probes.texi: Document them.
31173         * malloc/malloc.c: Include stap-probe.h.
31174         (__libc_mallopt): Add memory_mallopt probe.
31175         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31176         * manual/probes.texi: New.
31177         * manual/Makefile (chapters): Add probes.
31178         * manual/threads.texi: Set next node.
31180 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31182         [BZ #15963, #13985]
31183         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31184         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31185         Add `Chinese' to `nan' entry name.
31187 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31189         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31190         (POLYNOMIAL): Likewise.
31191         (TAYLOR_SINCOS): Likewise.
31192         (TAYLOR_SLOW): Likewise.
31193         (__sin): Use TAYLOR_SINCOS.
31194         (__cos): Likewise.
31195         (slow): Use TAYLOR_SLOW.
31196         (sloww): Likewise.
31197         (bsloww): Likewise.
31198         (csloww): Likewise.
31200 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31202         * stdlib/strtod_l.c: Fix buffer overrun.
31204 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31206         * benchtests/Makefile (bench): Add sincos.
31207         * benchtests/bench-sincos.c: New file.
31209         * math/libm-test.inc (cos_test_data): New test inputs.
31210         (sin_test_data): Likewise.
31212         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31213         macro.
31214         (__sin): Use it.
31215         (__cos): Likewise.
31216         (slow1): Likewise.
31217         (slow2): Likewise.
31218         (sloww1): Likewise.
31219         (sloww2): Likewise.
31220         (bsloww1): Likewise.
31221         (bsloww2): Likewise.
31222         (cslow2): Likewise.
31223         (csloww1): Likewise.
31224         (csloww2): Likewise.
31226         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31227         function.
31228         (__sin): Use it.
31229         (__cos): Likewise.
31231         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31232         gotos.
31233         (__cos): Likewise.
31235 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31237         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31238         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31239         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31240         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31241         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31242         * elf/cache.c (print_entry): Handle the new cache flags.
31244 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31245             Aldy Hernandez  <aldyh@redhat.com>
31247         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31248         Change condition to [_SOFT_FLOAT].
31249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31261         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31264         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31265         declaration.
31267 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31269         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31270         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31271         (__longjmp): Use LOAD_GP to load saved GPRs.
31272         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31273         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31274         (__sigsetjmp): Use SAVE_GP to save GPRs.
31276         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31277         Do not append -msoft-float.
31278         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31280 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31282         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31284 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31286         [BZ #15966]
31287         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31288         (_FPU_GETCW): Use initial "__" on variable and field names but not
31289         on macro parameter name.
31290         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31291         parentheses around reference to macro parameter.
31293 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31295         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31296         prototype.
31297         (ctype_startup): Use uint32_t in cast and sizeof for
31298         ctype->charnames.
31300 2013-09-11  Jia Liu  <proljc@gmail.com>
31302         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31303         __daddr_t_defined.
31304         [__FreeBSD__]: Likewise.
31306 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31309         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31310         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31311         (strchr): Remove __strchr_sse42 ifunc selection.
31312         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31313         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31315 2013-09-11  Will Newton  <will.newton@linaro.org>
31317         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31318         parameter to RES. Remove hardcoded 1000 value.
31319         * benchtests/bench-skeleton.c (main): Pass RES parameter
31320         to TIMING_INIT and multiply result by 1000.
31322 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31326 2013-09-11  Andreas Schwab  <schwab@suse.de>
31328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31329         if not defined.
31330         (O_TMPFILE) [__USE_GNU]: Define.
31331         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31332         Define.
31334 2013-09-11  Will Newton  <will.newton@linaro.org>
31336         [BZ #15857]
31337         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31338         does not overflow.
31340 2013-09-11  Will Newton  <will.newton@linaro.org>
31342         [BZ #15856]
31343         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31344         does not overflow.
31346 2013-09-11  Will Newton  <will.newton@linaro.org>
31348         [BZ #15855]
31349         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31350         does not overflow.
31352 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31354         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31355         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31356         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31357         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31358         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31360 2013-09-10  Allan McRae  <allan@archlinux.org>
31362         [BZ #15748]
31363         * manual/arith.texi (Parsing of Floats): Clarify
31364         cross-reference.
31366         [BZ #15849]
31367         * manual/install.texi (Running make install): Mention
31368         --enable-pt-chown.
31369         * INSTALL: Regenerated.
31371 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31373         * csu/init-first.c (_init): Remove the !SHARED condition around
31374         FPU control word initialization.
31375         * elf/dl-support.c (_dl_fpu_control): New variable.
31376         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31377         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31378         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31379         * math/test-fpucw-static.c: New file.
31380         * math/test-fpucw-ieee.c: New file.
31381         * math/test-fpucw-ieee-static.c: New file.
31382         * math/Makefile (tests): Add `test-fpucw-ieee' and
31383         `$(tests-static)'.
31384         (tests-static): New variable.
31385         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31386         dependency to...
31387         [($(build-shared),yes)]
31388         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31389         ... this.
31390         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31391         New dependency.
31393 2013-09-09  Allan McRae  <allan@archlinux.org>
31395         [BZ #15939]
31396         * manual/string.texi (Collation Functions): Fix typo in
31397         strcoll example.
31398         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31400         [BZ #15893]
31401         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31403         [BZ #15892]
31404         * libio/memstream.c (open_memstream): Fix memory leak.
31405         * libio/wmemstream.c (open_wmemstream): Likewise.
31407         [BZ #15895]
31408         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31410 2013-09-09  Will Newton  <will.newton@linaro.org>
31412         * malloc/Makefile: Add tst-realloc to tests.
31413         * malloc/tst-realloc.c: New file.
31415 2013-09-09  Allan McRae  <allan@archlinux.org>
31417         [BZ #15844]
31418         * COPYING: Update from GNU website to fix FSF address.
31419         * COPYING.LIB: Likewise.
31421 2013-09-06  David S. Miller  <davem@davemloft.net>
31423         * po/zh_TW.po: Update Chinese (traditional) translation from
31424         translation project.
31426 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31427             Joseph Myers  <joseph@codesourcery.com>
31429         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31430         "localeinfo.h".
31431         (obstack_chunk_alloc): New macro.
31432         (obstack_chunk_free): Likewise.
31433         (record_offset): New function.
31434         (init_locale_data): Likewise.
31435         (align_locale_data): Likewise.
31436         (add_locale_empty): Likewise.
31437         (add_locale_raw_data): Likewise.
31438         (add_locale_raw_obstack): Likewise.
31439         (add_locale_string): Likewise.
31440         (add_locale_wstring): Likewise.
31441         (add_locale_uint32): Likewise.
31442         (add_locale_uint32_array): Likewise.
31443         (add_locale_char): Likewise.
31444         (start_locale_structure): Likewise.
31445         (end_locale_structure): Likewise.
31446         (start_locale_prelude): Likewise.
31447         (end_locale_prelude): Likewise.
31448         (write_locale_data): Take locale_file structure rather than an
31449         iovec.
31450         * locale/programs/locfile.h: Include "obstack.h".
31451         (struct locale_file): Change to store locale file contents instead
31452         of header.
31453         (init_locale_data): New prototype.
31454         (align_locale_data): Likewise.
31455         (add_locale_empty): Likewise.
31456         (add_locale_raw_data): Likewise.
31457         (add_locale_raw_obstack): Likewise.
31458         (add_locale_string): Likewise.
31459         (add_locale_wstring): Likewise.
31460         (add_locale_uint32): Likewise.
31461         (add_locale_uint32_array): Likewise.
31462         (add_locale_char): Likewise.
31463         (start_locale_structure): Likewise.
31464         (end_locale_structure): Likewise.
31465         (start_locale_prelude): Likewise.
31466         (end_locale_prelude): Likewise.
31467         (write_locale_data): Update prototype.
31468         * locale/programs/3level.h (struct TABLE): Remove result field.
31469         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31470         Use new locale_file interface.
31471         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31472         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31473         * locale/programs/ld-address.c (address_output): Use new
31474         locale_file interface.
31475         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31476         NO_ADD_LOCALE.
31477         (collate_finish): Don't call collseq_table_finalize.
31478         (collate_output): Use new locale_file interface.
31479         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31480         in file.
31481         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31482         (TABLE): Move defines earlier in file.
31483         (ELEMENT): Likewise.
31484         (DEFAULT): Likewise.
31485         (wctrans_table_add): Move macro and inline function earlier in
31486         file.
31487         (struct wctype_table): Move type earlier in file.
31488         (add_locale_wctype_table): New static prototype.
31489         (struct locale_ctype_t): Use logical types instead of struct iovec
31490         pointers for members.
31491         (ctype_output): Use new locale_file interface.
31492         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31493         new locale_file interface.
31494         (allocate_arrays): Update for use of new locale_file interface.
31495         * locale/programs/ld-identification.c (identification_output): Use
31496         new locale_file interface.
31497         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31498         * locale/programs/ld-messages.c (messages_output): Likewise.
31499         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31500         * locale/programs/ld-name.c (name_output): Likewise.
31501         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31502         * locale/programs/ld-paper.c (paper_output): Likewise.
31503         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31504         * locale/programs/ld-time.c (time_output): Likewise.
31506 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31508         * benchtests/Makefile: Add memrchr benchmark.
31509         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31510         benchmark as memrchr.
31511         * benchtests/bench-memrchr-ifunc.c: New file.
31512         * benchtests/bench-memrchr.c: New file.
31514 2013-09-06   Will Newton  <will.newton@linaro.org>
31516         * benchtests/Makefile (string-bench): Add memcpy.
31518 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31519             Cong Wang  <amwang@redhat.com>
31521         [BZ #15850]
31522         * sysdeps/unix/sysv/linux/bits/in.h
31523         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31524         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31525         before __USE_KERNEL_IPV6_DEFS uses.
31526         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31527         IPPROTO_BEETPH.
31528         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31529         sockaddr_in6, or ipv6_mreq.
31531 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31533         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31534         memory access for final bytes in some large inputs.
31535         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31537 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31539         * string/test-memrchr.c: New file.
31540         * string/test-memrchr-ifunc.c: New file.
31541         * string/Makefile: Add new memrchr testcase.
31543 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31545         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31546         fanotify_init returns EPERM.
31548 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31550         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31551         errors.
31552         (top level): Treat second token from macro or constant entries for
31553         allowed headers as allowed.
31554         * include/complex.h: Condition internal declarations on
31555         [!_ISOMAC].
31556         * include/fenv.h: Condition include of <stdbool.h> and internal
31557         declarations on [!_ISOMAC].
31559 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31561         [BZ #15923]
31562         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31564 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31566         * configure.in (--enable-versioning): Remove configure option.
31567         (libc_cv_asm_symver_directive): Remove configure test.
31568         (libc_cv_ld_version_script_option): Likewise.
31569         (VERSIONING): Remove variable and AC_SUBST.
31570         (DO_VERSIONING): Remove AC_DEFINE.
31571         * configure: Regenerated.
31572         * config.h.in (DO_VERSIONING): Remove macro.
31573         * Makerules [$(versioning) = yes]: Change conditionals to
31574         [$(build-shared) = yes].
31575         * config.make.in (versioning): Remove variable.
31576         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31577         [$(build-shared) = yes].
31578         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31579         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31580         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31581         [$(build-shared) = yes].
31582         * extra-lib.mk [$(versioning) = yes]: Likewise.
31583         * hurd/Makefile [$(versioning) = yes]: Likewise.
31584         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31585         [SHARED].
31586         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31587         [SHARED].
31588         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31589         [SHARED && !NO_HIDDEN].
31590         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31591         [SHARED].
31592         [SHARED && DO_VERSIONING]: Likewise..
31593         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31594         [$(build-shared) = yes].
31595         * manual/install.texi (--disable-versioning): Remove
31596         documentation.
31597         * INSTALL: Regenerated.
31598         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31599         to [SHARED].
31600         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31601         [$(build-shared) = yes].
31602         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31603         * sysdeps/i386/i686/multiarch/strstr-c.c
31604         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31605         [SHARED && !NO_HIDDEN].
31606         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31607         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31608         * sysdeps/powerpc/powerpc32/dl-machine.c
31609         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31610         * sysdeps/powerpc/powerpc32/sysdep.h
31611         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31612         to [SHARED && PIC && !NO_HIDDEN].
31613         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31614         conditional to [SHARED].
31616 2013-09-04   Will Newton  <will.newton@linaro.org>
31618         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31619         * benchtests/bench-string.h: Include bench-timing.h instead
31620         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31621         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31622         call to HP_TIMING_DIFF_INIT.
31623         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31624         instead of hp-timing.h macros.
31625         * benchtests/bench-memchr.c: Likewise.
31626         * benchtests/bench-memcmp.c: Likewise.
31627         * benchtests/bench-memcpy.c: Likewise.
31628         * benchtests/bench-memmem.c: Likewise.
31629         * benchtests/bench-memmove.c: Likewise.
31630         * benchtests/bench-memset.c: Likewise.
31631         * benchtests/bench-rawmemchr.c: Likewise.
31632         * benchtests/bench-strcasecmp.c: Likewise.
31633         * benchtests/bench-strcasestr.c: Likewise.
31634         * benchtests/bench-strcat.c: Likewise.
31635         * benchtests/bench-strchr.c: Likewise.
31636         * benchtests/bench-strcmp.c: Likewise.
31637         * benchtests/bench-strcpy.c: Likewise.
31638         * benchtests/bench-strcpy_chk.c: Likewise.
31639         * benchtests/bench-strlen.c: Likewise.
31640         * benchtests/bench-strncasecmp.c: Likewise.
31641         * benchtests/bench-strncat.c: Likewise.
31642         * benchtests/bench-strncmp.c: Likewise.
31643         * benchtests/bench-strncpy.c: Likewise.
31644         * benchtests/bench-strnlen.c: Likewise.
31645         * benchtests/bench-strpbrk.c: Likewise.
31646         * benchtests/bench-strrchr.c: Likewise.
31647         * benchtests/bench-strspn.c: Likewise.
31648         * benchtests/bench-strstr.c: Likewise.
31650 2013-09-04  Will Newton  <will.newton@linaro.org>
31652         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31654 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31656         [BZ #15427]
31657         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31658         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31659         * math/libm-test.inc (lgamma_test_data): Add more tests.
31660         * sysdeps/i386/fpu/libm-test-ulps: Update.
31661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31663 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31665         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31666         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31667         Add ifunc.
31668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31669         Add strcmp-sse2-unaligned
31670         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31672 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31674         * Versions.def (libc): Add GLIBC_2.19.
31676 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31678         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31679         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31681 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31683         [BZ #14155]
31684         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31685         intermediate calculations in recurrence.
31686         (__ieee754_ynf): Likewise.
31687         * math/libm-test.inc (jn_test_data): Do not allow spurious
31688         underflow exception.  Add more tests.
31689         (yn_test_data): Add more tests.
31690         * sysdeps/i386/fpu/libm-test-ulps: Update.
31691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31693 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31695         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31697 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31699         * csu/init-first.c: Fix then/than typos.
31700         * locale/programs/ld-collate.c: Likewise.
31701         * locale/programs/linereader.h: Likewise.
31702         * manual/charset.texi: Likewise.
31703         * manual/filesys.texi: Likewise.
31704         * manual/stdio.texi: Likewise.
31705         * manual/string.texi: Likewise.
31706         * stdlib/fmtmsg.c: Likewise.
31707         * sysdeps/i386/stpncpy.S: Likewise.
31708         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31709         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31710         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31711         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31713 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31715         * elf/dl-open.c: Fix typos.
31716         * iconvdata/gbbig5.c: Likewise.
31717         * iconvdata/iso-2022-jp.c: Likewise.
31718         * iconv/gconv_int.h: Likewise.
31719         * iconv/loop.c: Likewise.
31720         * nis/rpcsvc/nis.h: Likewise.
31721         * resolv/ns_name.c: Likewise.
31722         * stdio-common/vfscanf.c: Likewise.
31723         * streams/stropts.h: Likewise.
31724         * sunrpc/rpc_thread.c: Likewise.
31725         * sysdeps/i386/strpbrk.S: Likewise.
31726         * sysdeps/ieee754/k_standard.c: Likewise.
31727         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31728         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31729         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31730         * sysdeps/mach/hurd/profil.c: Likewise.
31731         * sysdeps/s390/dl-procinfo.h: Likewise.
31732         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31733         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31734         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31735         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31736         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31738 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31740         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31743 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31745         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31746         aix specific files.
31747         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31748         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31749         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31750         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31751         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31752         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31753         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31754         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31756 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31757             Roland McGrath  <roland@hack.frob.com>
31759         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31760         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31762 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31764         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31765         __executable_start symbol instead of _start.
31767 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31769         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31770         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31771         Move macros to...
31772         * sysdeps/gnu/ldsodefs.h: ... this new file.
31774         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31775         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31776         instead of ELFOSABI_LINUX.
31778         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31779         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31780         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31781         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31782         Likewise.
31783         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31784         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31785         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31786         Likewise.
31787         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31788         (ibm_extended_long_double): Add ieee_nan member.
31789         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31790         (do_test): New function.
31792         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31793         TEST_TRUNC.
31794         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31795         functions, renamed from truncdfsf_test, trunctfsf_test,
31796         trunctfdf_test.
31797         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31798         functions.
31799         (do_test): Run all these.
31801 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31803         * argp/argp-help.c: Fix typos.
31804         * argp/argp-parse.c: Likewise.
31805         * debug/backtracesyms.c: Likewise.
31806         * elf/elf.h: Likewise.
31807         * malloc/malloc.c: Likewise.
31808         * nis/nis_print.c: Likewise.
31809         * resolv/res_comp.c: Likewise.
31810         * stdlib/stdlib.h: Likewise.
31811         * sunrpc/clnt_tcp.c: Likewise.
31812         * sunrpc/clnt_udp.c: Likewise.
31813         * sunrpc/clnt_unix.c: Likewise.
31814         * sysdeps/unix/bsd/ptsname.c: Likewise.
31815         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31816         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31818         Likewise.
31819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31820         Likewise.
31821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31822         Likewise.
31823         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31825 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31827         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31830 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31832         [BZ #15897]
31833         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31834         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31835         ($(objpfx)bug-dl-leaf): New rule.
31836         ($(objpfx)bug-dl-leaf.so): Likewise.
31837         ($(objpfx)bug-dl-leaf.out): Likewise.
31838         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31839         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31840         * dlfcn/bug-dl-leaf.c: New test.
31841         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31842         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31843         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31844         (dlclose): Likewise.
31845         (dlmopen): Likewise.
31847 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31849         * include/netdb.h [!_ISOMAC]:
31850         Don't include <tls.h>.
31851         (h_errno, __libc_h_errno): Move declaration and macros out of
31852         [_LIBC_REENTRANT].
31854         * include/resolv.h [_RESOLV_H_]:
31855         Don't include <tls.h>.
31856         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31857         * resolv/res_libc.c: Don't include <tls.h>.
31858         (_res): Use __attribute__ ((nocommon)) in place of
31859         __attribute__ ((section (".bss"))).
31861         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31862         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31864         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31866         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31867         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31869         * resolv/res_mkquery.c: Include <sys/time.h>.
31871         * inet/ifreq.c: Moved to ...
31872         * sysdeps/unix/ifreq.c: ... here.
31873         * inet/ifreq.c: New file, true stub version.
31875         * socket/sa_len.c: New file.
31876         * socket/Makefile (aux): Add it.
31877         * sysdeps/unix/sysv/linux/Makefile
31878         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31879         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31880         and #include <socket/sa_len.c>.
31881         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31882         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31884         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31885         * bits/socket.h: ... here.
31887         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31888         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31889         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31891 2013-08-27  Andreas Schwab  <schwab@suse.de>
31893         [BZ #15736]
31894         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31895         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31896         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31897         * string/test-strcasecmp.c (test_main): Run tests in several
31898         locales.
31899         * string/test-strncasecmp.c (test_main): Likewise.
31901         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31902         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31903         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31904         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31905         (__strncasecmp_ssse3) [PIC]: Likewise.
31907 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31909         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31911         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31912         instead of explicitly declaring xdecrypt.
31913         * nis/nss_nis/nis-publickey.c: Likewise.
31915 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31917         [BZ #15890]
31918         * nscd/aicache.c: Include res_hconf.h.
31919         (addhstaiX): Initialize res_hconf.
31921 2013-08-26  Andreas Schwab  <schwab@suse.de>
31923         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31924         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31926 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31928         * nscd/aicache.c (addhstaiX): Fix indentation.
31930 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31932         * configure.ac: Quote $build_pt_chown test.
31933         * configure: Regenerated.
31935 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31937         [BZ #15532]
31938         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31939         * math/s_cexpf.c (__cexpf): Likewise.
31940         * math/s_cexpl.c (__cexpl): Likewise.
31941         * math/libm-test.inc (cexp_test_data): Correct expected return
31942         value for NaN + i0.  Add another test.
31944 2013-08-22  David S. Miller  <davem@davemloft.net>
31946         * po/ca.po: Update Catalan translation from translation project.
31947         * po/uk.po: Add Ukrainian translations from translation project.
31949 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31951         [BZ #15797]
31952         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31953         is infinite, not alongside NaN test.
31954         * math/s_fdimf.c (__fdimf): Likewise.
31955         * math/s_fdiml.c (__fdiml): Likewise.
31956         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31957         errno is unchanged.
31959 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31961         * argp/argp-help.c: Fix typos.
31962         * crypt/speeds.c: Likewise.
31963         * csu/check_fds.c: Likewise.
31964         * elf/dl-load.c: Likewise.
31965         * elf/dl-open.c: Likewise.
31966         * elf/reldep3.c: Likewise.
31967         * elf/reldep.c: Likewise.
31968         * elf/sprof.c: Likewise.
31969         * iconv/iconv_charmap.c: Likewise.
31970         * iconv/skeleton.c: Likewise.
31971         * iconv/strtab.c: Likewise.
31972         * io/lockf64.c: Likewise.
31973         * libio/libioP.h: Likewise.
31974         * resolv/gai_notify.c: Likewise.
31975         * resolv/ns_name.c: Likewise.
31976         * resolv/ns_samedomain.c: Likewise.
31977         * resolv/res_send.c: Likewise.
31978         * stdlib/random.c: Likewise.
31979         * sunrpc/rpc/xdr.h: Likewise.
31980         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31981         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31982         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31983         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31984         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31985         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31986         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31987         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31988         * sysdeps/mach/hurd/check_fds.c: Likewise.
31989         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31990         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31991         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31992         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31993         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31994         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31995         * sysdeps/pthread/aio_notify.c: Likewise.
31996         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31997         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31998         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31999         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32000         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32002 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32004         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32005         version if bit_Slow_SSE4_2 is set.
32006         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32007         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32009 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32011         [BZ #15867]
32012         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32013         trampoline stack frame information.
32014         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32015         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32016         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32017         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32018         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32019         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32020         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32021         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32022         sa_flags value.
32023         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32024         interrupting a syscall and set with option SA_SIGINFO.
32026 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32028         [BZ #15531]
32029         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32030         argument is infinite.
32031         * math/s_cprojf.c (__cprojf): Likewise.
32032         * math/s_cprojl.c (__cprojl): Likewise.
32033         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32034         * math/libm-test.inc (cproj_test_data): Add more tests.
32036         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32038         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32039         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32040         size.  Use __ffs to determine corresponding shift.
32042 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32043             Roland McGrath  <roland@hack.frob.com>
32045         * Makefile (INSTALL): Remove trailing blank lines from output of
32046         makeinfo.
32048 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32050         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32051         Align 32 bit compat elf_greg to 8 bytes.
32053 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32055         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32057 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32059         * string/strcoll_l.c (coll_seq): New structure.
32060         (get_next_seq_cached): New function.
32061         (get_next_seq): New function.
32062         (do_compare): New function.
32063         (STRCOLL): Use GNU style definition.  Simplify implementation
32064         by using get_next_seq, get_next_seq_cached and do_compare.
32066 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32068         [BZ #14699]
32069         CVE-2013-4237
32070         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32071         member.
32072         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32073         member.
32074         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32075         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32076         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32077         conditional.
32078         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32079         GETDENTS_64BIT_ALIGNED.
32080         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32081         * manual/filesys.texi (Reading/Closing Directory): Document
32082         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32083         strongly.
32084         * manual/conf.texi (Limits for Files): Add portability note to
32085         NAME_MAX, PATH_MAX.
32086         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32088 2013-08-13  Andreas Schwab  <schwab@suse.de>
32090         [BZ #15749]
32091         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32092         of fabs.
32093         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32094         LDBL_MAX_EXP >= 16384]: Add tests for it.
32096 2013-08-12  David S. Miller  <davem@davemloft.net>
32098         * version.h (RELEASE): Set to "development".
32099         (VERSION): Set to "2.18.90".
32100         * NEWS: Add 2.19 section.
32102 2013-08-03  David S. Miller  <davem@davemloft.net>
32104         * po/ko.po: Update Korean translation from translation project.
32106 2013-08-01  David S. Miller  <davem@davemloft.net>
32108         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32109         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32110         Bilka.
32112 2013-07-30  David S. Miller  <davem@davemloft.net>
32114         * po/fr.po: Update French translation from translation project.
32116 2013-07-28  David S. Miller  <davem@davemloft.net>
32118         * po/cs.po: Update Czech translation from translation project.
32120         * po/sv.po: Update Swedish translation from translation project.
32122 2013-07-27  David S. Miller  <davem@davemloft.net>
32124         * po/eo.po: Update Esperanto translation from translation project.
32126         * po/vi.po: Update Vietnamese translation from translation project.
32128         * po/de.po: Update German translation from translation project.
32130 2013-07-26  David S. Miller  <davem@davemloft.net>
32132         * po/bg.po: Update Bulgarian translation from translation project.
32134         * po/nl.po: Update Dutch translation from translation project.
32135         * po/pl.po: Update Polish translation from translation project.
32136         * po/ru.po: Update Russian translation from translation project.
32138 2013-07-24  David S. Miller  <davem@davemloft.net>
32140         * po/libc.pot: Update.
32142 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32144         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32145         variable page size.
32146         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32147         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32148         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32150 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32152         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32154 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32155             Andreas Schwab  <schwab@suse.de>
32156             Roland McGrath  <roland@hack.frob.com>
32157             Joseph Myers  <joseph@codesourcery.com>
32158             Carlos O'Donell  <carlos@redhat.com>
32160         [BZ #15755]
32161         * config.h.in: Define HAVE_PT_CHOWN.
32162         * config.make.in (build-pt-chown): New variable.
32163         * configure.in (--enable-pt_chown): New configure option.
32164         * configure: Regenerate.
32165         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32166         build-pt-chown is enabled.
32167         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32168         pt_chown to fix pty ownership.
32169         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32170         CLOSE_ALL_FDS.
32171         * manual/install.texi (Configuring and compiling): Mention
32172         --enable-pt_chown. Add @findex for grantpt.
32173         * INSTALL: Regenerate.
32175 2013-07-20  David S. Miller  <davem@davemloft.net>
32177         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32178         difference between 32-bit and 64-bit.
32180 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32182         [BZ #15711]
32183         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32184         Avoid system header dependency with -ffreestanding.
32185         ($(objpfx)bits/syscall%d): Likewise.
32187 2013-07-13  David S. Miller  <davem@davemloft.net>
32189         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32190         underflows from atanl/atan2l due to bug 15319.
32191         (casinh_test_data): Likewise.
32193 2013-07-07  David S. Miller  <davem@davemloft.net>
32195         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32197 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32199         * sysdeps/i386/fpu/libm-test-ulps: Update.
32200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32202 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32204         * configure.in (--enable-lock-elision): Fix message text.
32205         * INSTALL: Regenerate.
32206         * configure: Regenerate.
32208 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32212 2013-07-03  Andreas Jaeger  <aj@suse.de>
32214         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32215         define.
32216         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32217         (ptrace_peeksiginfo_args): Add.
32218         (__ptrace_peeksiginfo_flags): Add.
32219         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32220         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32221         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32223 2013-07-03  Allan McRae  <allan@archlinux.org>
32225         * sysdeps/i386/fpu/libm-test-ulps: Update.
32227 2013-07-02  David S. Miller  <davem@davemloft.net>
32229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32231 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32235 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32237         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32240 2013-07-02  Andi Kleen <ak@linux.intel.com>
32242         * config.h.in (ENABLE_LOCK_ELISION): Add.
32243         * configure.in (--enable-lock-elision): Add option.
32244         * manual/install.texi: Document --enable lock elision.
32245         * configure: Regenerate
32246         * INSTALL: Regenerate.
32248 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32250         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32251         SSE4.2 strcasecmp for libc.a.
32252         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32254 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32256         [BZ #13304]
32257         * soft-fp/op-common.h (_FP_FMA): New macro.
32258         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32259         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32260         (_FP_MUL_MEAT_1_imm): ... here.
32261         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32262         (_FP_MUL_MEAT_1_wide): ... here.
32263         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32264         (_FP_MUL_MEAT_1_hard): ... here.
32265         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32266         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32267         (_FP_MUL_MEAT_2_wide): ... here.
32268         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32269         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32270         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32271         (_FP_MUL_MEAT_2_gmp): ... here.
32272         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32273         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32274         (_FP_MUL_MEAT_4_wide): ... here.
32275         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32276         (_FP_MUL_MEAT_4_gmp): ... here.
32277         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32278         (_FP_WFRACBITS_DW_S): Likewise.
32279         (_FP_WFRACXBITS_DW_S): Likewise.
32280         (_FP_HIGHBIT_DW_S): Likewise.
32281         (FP_FMA_S): Likewise.
32282         (_FP_FRAC_HIGH_DW_S): Likewise.
32283         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32284         (_FP_WFRACBITS_DW_D): Likewise.
32285         (_FP_WFRACXBITS_DW_D): Likewise.
32286         (_FP_HIGHBIT_DW_D): Likewise.
32287         (FP_FMA_D): Likewise.
32288         (_FP_FRAC_HIGH_DW_D): Likewise.
32289         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32290         (_FP_WFRACBITS_DW_E): Likewise.
32291         (_FP_WFRACXBITS_DW_E): Likewise.
32292         (_FP_HIGHBIT_DW_E): Likewise.
32293         (FP_FMA_E): Likewise.
32294         (_FP_FRAC_HIGH_DW_E): Likewise.
32295         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32296         (_FP_WFRACBITS_DW_Q): Likewise.
32297         (_FP_WFRACXBITS_DW_Q): Likewise.
32298         (_FP_HIGHBIT_DW_Q): Likewise.
32299         (FP_FMA_Q): Likewise.
32300         (_FP_FRAC_HIGH_DW_Q): Likewise.
32301         * soft-fp/fmasf4.c: New file.
32302         * soft-fp/fmadf4.c: Likewise.
32303         * soft-fp/fmatf4.c: Likewise.
32305 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32308         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32309         Silvermont.
32310         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32311         macro.
32312         (index_Slow_SSE4_2): Likewise.
32313         (index_Prefer_PMINUB_for_stringop): Likewise.
32314         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32315         bit_Slow_SSE4_2 is set.
32316         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32317         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32319 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32321         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32322         rtld_global._dl_hwcap2.
32323         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32324         POWER8.
32325         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32326         POWER8 feature descriptions defined in _dl_hwcap2.
32327         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32328         string handling for POWER8 feature bits.
32329         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32330         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32331         _dl_powerpc_cap_flags.
32332         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32333         * sysdeps/powerpc/rtld-global-offsets.sym
32334         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32335         _dl_hwcap2 in the rtld_global_ro structure.
32337 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32339         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32340         hardware capabilities in support of AT_HWCAP2.
32341         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32342         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32343         GLRO(dl_hwcap2).
32344         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32345         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32346         explicitly the unknown a_type display mechanism is used.
32347         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32348         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32349         struct member.
32350         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32351         to macro prototype for AT_HWCAP2 support.
32352         * sysdeps/i386/dl-procinfo.h: Likewise.
32353         * sysdeps/s390/dl-procinfo.h: Likewise.
32354         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32355         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32356         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32357         return -1 for unknown a_type display fallback.
32358         * sysdeps/sparc/dl-procinfo.h: Likewise.
32359         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32360         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32362 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32364         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32365         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32367 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32369         [BZ #12492]
32370         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32371         mprotect making __stack_prot writable.
32373 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32374             Joseph Myers  <joseph@codesourcery.com>
32376         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32377         as being properly aligned.
32379 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32381         * dlfcn/modstatic5.c: New file.
32382         * dlfcn/tststatic5.c: New file.
32383         * dlfcn/Makefile (tests): Add tststatic5.
32384         (tests-static): Likewise.
32385         (modules-names): Add modstatic5.
32386         (tststatic5-ENV): New variable.
32387         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32389         [BZ #15022]
32390         * elf/dl-support.c (_dl_main_map): New variable.
32391         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32392         (_dl_nns, _dl_load_adds): Set to 1.
32393         (_dl_initial_searchlist): Refer to _dl_main_map.
32394         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32395         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32396         call to _dl_get_origin.
32397         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32398         around call_map.
32399         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32400         * dlfcn/modstatic3.c: New file.
32401         * dlfcn/tststatic3.c: New file.
32402         * dlfcn/tststatic4.c: New file.
32403         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32404         (tests-static): Likewise.
32405         (modules-names): Add modstatic3.
32406         (tststatic3-ENV, tststatic4-ENV): New variables.
32407         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32408         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32410 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32412         * configure.in (CC): Require GCC version 4.4 or later.
32413         * configure: Regenerated.
32414         * manual/install.texi (Tools for Compilation): Update GCC version
32415         requirement.
32416         * INSTALL: Regenerated.
32418 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32420         [BZ #15674]
32421         * string/test-memcmp.c (check2): New.
32422         (main): Call check2.
32424         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32426 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32428         [BZ #15022]
32429         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32430         over to...
32431         (dl_open_worker) [!SHARED]: ... here.
32433 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32435         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32437 2013-06-25  Richard Henderson  <rth@redhat.com>
32439         * locale/programs/locarchive.c: Include <libc-internal.h>
32441 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32443         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32444         trailing whitespace removed.
32446 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32448         [BZ #10283]
32449         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32450         * locale/programs/locarchive.c: Include libc-mmap.h.
32451         (prepare_address_space): Take two new outputs (the mmap base and len).
32452         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32453         values.
32454         (create_archive): Declare new mmap base and len values for
32455         prepare_address_space, and store the result in ah.
32456         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32457         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32458         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32459         Declare new mmap base and len values for
32460         prepare_address_space, and store the result in new_ah.
32461         (open_archive): Declare new mmap base and len values for
32462         prepare_address_space, and store the result in ah.
32463         (close_archive): If ah->mmap_base is not NULL, use that and
32464         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32465         * sysdeps/generic/libc-mmap.h: New file.
32467 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32469         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32470         (ALIGN_UP): Likewise.
32471         (PTR_ALIGN_DOWN): Likewise.
32472         (PTR_ALIGN_UP): Likewise.
32474 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32476         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32477         entry mapped to PPC_PLATFORM_POWER8.
32478         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32479         POWER8.
32480         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32481         (_dl_string_platform): Add case for exporting platform position for
32482         POWER8.
32483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32484         search path to sysdeps/powerpc/powerpc32/power8 directory.
32485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32486         search path to sysdeps/powerpc/powerpc64/power8 directory.
32487         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32488         power7 directories.
32489         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32490         power7 directories.
32492 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32494         * INSTALL: Regenerate.
32496         * nscd/connections.c (nscd_init): Fix comment.
32498 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32500         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32502         [BZ #15667]
32503         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32504         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32506 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32508         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32509         DL_DST_REQ_STATIC.
32510         (DL_DST_REQ_STATIC): Remove macro.
32512 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32514         [BZ #7006]
32515         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32516         with a shift of 0 bits.
32518 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32520         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32521         $(tststatic-ENV).
32523 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32525         [BZ #15655]
32526         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32528 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32530         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32531         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32532         accepts -fno-tree-loop-distribute-patterns.
32533         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32534         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32535         recursive call.
32536         * string/memset.c (memset): Likewise.
32537         * string/test-memmove.c (simple_memmove): Disable loop transformation
32538         to library calls.
32539         * string/test-memset.c (simple_memset): Likewise.
32540         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32541         * benchtests/bench-memset.c (simple_memset): Likewise.
32542         * configure: Regenerated.
32544 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32546         * math/test-misc.c (main): Ignore fesetround failure when failures
32547         of subsequent rounding tests would be ignored.
32549         [BZ #15654]
32550         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32551         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32552         * math/fegetenv.c (__fegetenv): Return 0.
32553         * math/fegetexcept.c (fegetexcept): Return 0.
32554         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32555         FE_TONEAREST.
32556         * math/feholdexcpt.c (feholdexcept): Return 0.
32557         * math/fesetenv.c (__fesetenv): Return 0.
32558         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32559         argument FE_TONEAREST.
32560         * math/feupdateenv.c (__feupdateenv): Return 0.
32561         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32563 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32565         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32566         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32567         ($(objpfx)rtld-%.os rules): Use them.
32569 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32571         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32572         fields.
32574 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32576         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32577         length of target pattern, then descending length of dependency pattern.
32578         * configure.in (AWK): Require gawk 3.1.2 or newer.
32579         * manual/install.texi (Tools for Compilation): Say that we do.
32580         * configure: Regenerated.
32582         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32583         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32584         * scripts/sysd-rules.awk: ... this new script.
32585         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32586         than a glob-style pattern.
32588 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32590         * math/test-misc.c (main): Do not treat incorrectly rounded
32591         conversions as failure unless ROUNDING_TESTS passes.
32593 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32595         [BZ #15631]
32596         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32597         restore exception state around main square root computation, then
32598         check for inexactness explicitly.
32600         * math/libm-test.inc (fma_test_data): Add another test.
32602 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32604         * manual/threads.texi (Non-POSIX Extensions): New document
32605         node.  Document pthread_getattr_default_np and
32606         pthread_setattr_default_np.
32608         * Versions.def (libpthread): Add GLIBC_2.18.
32609         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32611         Likewise.
32612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32613         Likewise.
32614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32615         Likewise.
32616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32617         Likewise.
32618         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32619         Likewise.
32620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32621         Likewise.
32622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32623         Likewise.
32624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32625         Likewise.
32626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32627         Likewise.
32629 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32632         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32634 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32635             H.J. Lu  <hjl.tools@gmail.com>
32637         [BZ #15627]
32638         * sysdeps/x86_64/rtld-memset.c: Remove file.
32639         * sysdeps/x86_64/rtld-memset.S: New file.
32641 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32643         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32644         (test_in_one_mode): Take arguments for whether the rounding mode
32645         is supported for each floating-point type.
32646         (do_test): Pass new arguments to test_in_one_mode using
32647         ROUNDING_TESTS.
32649 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32651         * posix/tst-waitid.c (do_test): Distinguish different instances of
32652         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32653         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32654         before entering the kernel for waitpid.
32656 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32658         * NEWS: Fix note on clock function precision.  Text by Roland
32659         McGrath.
32661 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32663         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32664         it into place only when and if the sanity check passes.
32666 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32668         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32669         output for whether conversion result is exact.  Take argument
32670         indicating whether type is IBM long double.
32671         (round_for_all): Change need_exact field to ibm_ld.
32672         * stdlib/tst-strtod-round.c (struct exactness): New type.
32673         (struct test): Change bool ld_ok field to struct exactness exact.
32674         (TEST): Update all definitions for change to field.
32675         (tests): Regenerate array contents.
32676         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32677         field value.  Check for IBM long double here.
32678         (do_test): Update calls to test_in_one_mode.
32680 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32682         [BZ #12515]
32683         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32684         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32686 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32688         [BZ #15605]
32689         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32690         generated by the compiler on loop optimizations.
32691         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32692         general definitions.
32694 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32696         * math/bug-nextafter.c: Include <math-tests.h>.
32697         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32698         the relevant type.
32699         * math/bug-nexttoward.c: Include <math-tests.h>.
32700         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32701         the relevant type.
32702         * math/test-misc.c: Include <math-tests.h>.
32703         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32704         the relevant type.
32706 2013-06-12  Andreas Jaeger  <aj@suse.de>
32708         * po/ia.po: Update Interlingua translation from translation
32709         project.
32711 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32713         * include/fenv.h: Include stdbool.h.
32714         (struct rm_ctx): New structure.
32715         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32716         Define macro.
32717         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32718         (SET_RESTORE_ROUNDF): Likewise.
32719         (SET_RESTORE_ROUNDL): Likewise.
32720         (SET_RESTORE_ROUND_NOEX): Likewise.
32721         (SET_RESTORE_ROUND_NOEXF): Likewise.
32722         (SET_RESTORE_ROUND_NOEXL): Likewise.
32723         (SET_RESTORE_ROUND_53BIT): Likewise.
32724         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32725         (libc_feresetround_noexf_ctx): Likewise.
32726         (libc_feresetround_noexl_ctx): Likewise.
32727         (libc_feholdsetround_53bit_ctx): Likewise.
32728         (libc_feresetround_53bit_ctx): Likewise.
32729         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32730         (libc_feholdexcept_setround_sse_ctx): New function.
32731         (libc_fesetenv_sse_ctx): Likewise.
32732         (libc_feupdateenv_sse_ctx): Likewise.
32733         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32734         (libc_feholdexcept_setround_387_ctx): Likewise.
32735         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32736         (libc_feholdsetround_387_prec_ctx): Likewise.
32737         (libc_feholdsetround_387_ctx): Likewise.
32738         (libc_feholdsetround_387_53bit_ctx): Likewise.
32739         (libc_feholdsetround_sse_ctx): Likewise.
32740         (libc_feresetround_sse_ctx): Likewise.
32741         (libc_feresetround_387_ctx): Likewise.
32742         (libc_feupdateenv_387_ctx): Likewise.
32743         (libc_feholdexcept_setroundf_ctx): Define macro.
32744         (libc_fesetenvf_ctx): Likewise.
32745         (libc_feupdateenvf_ctx): Likewise.
32746         (libc_feholdsetroundf_ctx): Likewise.
32747         (libc_feresetroundf_ctx): Likewise.
32748         (libc_feholdexcept_setround_ctx): Likewise.
32749         (libc_fesetenv_ctx): Likewise.
32750         (libc_feupdateenv_ctx): Likewise.
32751         (libc_feholdsetround_ctx): Likewise.
32752         (libc_feresetround_ctx): Likewise.
32753         (libc_feholdexcept_setroundl_ctx): Likewise.
32754         (libc_feupdateenvl_ctx): Likewise.
32755         (libc_feholdsetroundl_ctx): Likewise.
32756         (libc_feresetroundl_ctx): Likewise.
32757         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32758         (libc_feresetround_53bit_ctx): Likewise.
32760 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32762         * locale/iso-639.def: Convert to UTF-8.
32764 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32766         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32767         (EXCEPTION_TESTS_double): Likewise.
32768         (EXCEPTION_TESTS_long_double): Likewise.
32769         (EXCEPTION_TESTS): Likewise.
32770         * math/libm-test.inc (test_exceptions): Only test exceptions if
32771         EXCEPTION_TESTS (FLOAT).
32773 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32775         * benchtests/Makefile (string-bench): Add strcpy_chk and
32776         stpcpy_chk.
32777         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32778         * benchtests/bench-stpcpy_chk.c: New file.
32779         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32780         * benchtests/bench-strcpy_chk.c: New file.
32781         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32782         code.
32783         (do_test): Likewise.
32785 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32787         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32788         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32789         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32790         with tabs where appropriate.
32791         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32792         dl-procinfo.h.
32793         [PPC_PLATFORM_PPC440]: Likewise.
32794         [PPC_PLATFORM_PPC464]: Likewise.
32795         [PPC_PLATFORM_PPC476]: Likewise.
32796         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32797         ppc464, and ppc476 platform strings merging from ports/
32798         dl-procinfo.h.
32800 2013-06-11  Andreas Schwab  <schwab@suse.de>
32802         [BZ #14991]
32803         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32804         (from_ucs4_idx): Regenerate.
32805         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32806         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32807         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32808         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32809         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32810         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32811         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32812         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32813         from FROM_LOOP and TO_LOOP specific macros.
32814         (BODY): Handle combining characters.
32815         * iconvdata/BIG5HKSCS.irreversible: Update.
32816         * iconvdata/BIG5HKSCS.precomposed: New file.
32817         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32818         characters.
32819         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32821 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32823         * include/sys/time.h: Fix indentation and add copyright header.
32825         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32826         (do_test): Likewise.
32827         * string/test-memchr.c (do_one_test): Likewise.
32828         (do_test): Likewise.
32829         * string/test-memcmp.c (do_one_test): Likewise.
32830         (do_test): Likewise.
32831         * string/test-memcpy.c (do_one_test): Likewise.
32832         (do_test): Likewise.
32833         * string/test-memmem.c (do_one_test): Likewise.
32834         (do_test): Likewise.
32835         (do_random_tests): Likewise.
32836         * string/test-memmove.c (do_one_test): Likewise.
32837         (do_test): Likewise.
32838         * string/test-memset.c (do_one_test): Likewise.
32839         (do_test): Likewise.
32840         * string/test-rawmemchr.c (do_one_test): Likewise.
32841         (do_test): Likewise.
32842         * string/test-strcasecmp.c (do_one_test): Likewise.
32843         (do_test): Likewise.
32844         * string/test-strcasestr.c (do_one_test): Likewise.
32845         (do_test): Likewise.
32846         * string/test-strcat.c (do_one_test): Likewise.
32847         (do_test): Likewise.
32848         * string/test-strchr.c (do_one_test): Likewise.
32849         (do_test): Likewise.
32850         * string/test-strcmp.c (do_one_test): Likewise.
32851         (do_test): Likewise.
32852         * string/test-strcpy.c (do_one_test): Likewise.
32853         (do_test): Likewise.
32854         * string/test-string.h: Likewise.
32855         (test_init): Likewise.
32856         * string/test-strlen.c (do_one_test): Likewise.
32857         (do_test): Likewise.
32858         * string/test-strncasecmp.c (do_one_test): Likewise.
32859         (do_test): Likewise.
32860         * string/test-strncat.c (do_one_test): Likewise.
32861         (do_test): Likewise.
32862         * string/test-strncmp.c (do_one_test): Likewise.
32863         (do_test_limit): Likewise.
32864         (do_test): Likewise.
32865         * string/test-strncpy.c (do_one_test): Likewise.
32866         (do_test): Likewise.
32867         * string/test-strnlen.c (do_one_test): Likewise.
32868         (do_test): Likewise.
32869         * string/test-strpbrk.c (do_one_test): Likewise.
32870         (do_test): Likewise.
32871         * string/test-strrchr.c (do_one_test): Likewise.
32872         (do_test): Likewise.
32873         * string/test-strspn.c (do_one_test): Likewise.
32874         (do_test): Likewise.
32875         * string/test-strstr.c (do_one_test): Likewise.
32876         (do_test): Likewise.
32878         * benchtests/Makefile (string-bench): Add string benchmarks.
32879         * benchtests/bench-bcopy-ifunc.c: New file.
32880         * benchtests/bench-bcopy.c: New file.
32881         * benchtests/bench-bzero-ifunc.c: New file.
32882         * benchtests/bench-bzero.c: New file.
32883         * benchtests/bench-memccpy-ifunc.c: New file.
32884         * benchtests/bench-memccpy.c: New file.
32885         * benchtests/bench-memchr-ifunc.c: New file.
32886         * benchtests/bench-memchr.c: New file.
32887         * benchtests/bench-memcmp-ifunc.c: New file.
32888         * benchtests/bench-memcmp.c: New file.
32889         * benchtests/bench-memmem-ifunc.c: New file.
32890         * benchtests/bench-memmem.c: New file.
32891         * benchtests/bench-memmove-ifunc.c: New file.
32892         * benchtests/bench-memmove.c: New file.
32893         * benchtests/bench-mempcpy-ifunc.c: New file.
32894         * benchtests/bench-mempcpy.c: New file.
32895         * benchtests/bench-memset-ifunc.c: New file.
32896         * benchtests/bench-memset.c: New file.
32897         * benchtests/bench-rawmemchr-ifunc.c: New file.
32898         * benchtests/bench-rawmemchr.c: New file.
32899         * benchtests/bench-stpcpy-ifunc.c: New file.
32900         * benchtests/bench-stpcpy.c: New file.
32901         * benchtests/bench-stpncpy-ifunc.c: New file.
32902         * benchtests/bench-stpncpy.c: New file.
32903         * benchtests/bench-strcasecmp-ifunc.c: New file.
32904         * benchtests/bench-strcasecmp.c: New file.
32905         * benchtests/bench-strcasestr-ifunc.c: New file.
32906         * benchtests/bench-strcasestr.c: New file.
32907         * benchtests/bench-strcat-ifunc.c: New file.
32908         * benchtests/bench-strcat.c: New file.
32909         * benchtests/bench-strchr-ifunc.c: New file.
32910         * benchtests/bench-strchr.c: New file.
32911         * benchtests/bench-strchrnul-ifunc.c: New file.
32912         * benchtests/bench-strchrnul.c: New file.
32913         * benchtests/bench-strcmp-ifunc.c: New file.
32914         * benchtests/bench-strcmp.c: New file.
32915         * benchtests/bench-strcpy-ifunc.c: New file.
32916         * benchtests/bench-strcpy.c: New file.
32917         * benchtests/bench-strcspn-ifunc.c: New file.
32918         * benchtests/bench-strcspn.c: New file.
32919         * benchtests/bench-strlen-ifunc.c: New file.
32920         * benchtests/bench-strlen.c: New file.
32921         * benchtests/bench-strncasecmp-ifunc.c: New file.
32922         * benchtests/bench-strncasecmp.c: New file.
32923         * benchtests/bench-strncat-ifunc.c: New file.
32924         * benchtests/bench-strncat.c: New file.
32925         * benchtests/bench-strncmp-ifunc.c: New file.
32926         * benchtests/bench-strncmp.c: New file.
32927         * benchtests/bench-strncpy-ifunc.c: New file.
32928         * benchtests/bench-strncpy.c: New file.
32929         * benchtests/bench-strnlen-ifunc.c: New file.
32930         * benchtests/bench-strnlen.c: New file.
32931         * benchtests/bench-strpbrk-ifunc.c: New file.
32932         * benchtests/bench-strpbrk.c: New file.
32933         * benchtests/bench-strrchr-ifunc.c: New file.
32934         * benchtests/bench-strrchr.c: New file.
32935         * benchtests/bench-strspn-ifunc.c: New file.
32936         * benchtests/bench-strspn.c: New file.
32937         * benchtests/bench-strstr-ifunc.c: New file.
32938         * benchtests/bench-strstr.c: New file.
32940         * benchtests/Makefile: Disable parallel execution of targets.
32941         (string-bench): Add memcpy.
32942         (benchset): New variable to store a list of benchmark sets.
32943         (bench-func): Renamed from bench.
32944         (bench-set): New target.
32945         (bench): Depend on bench-func and bench-set.
32946         * benchtests/README: Add section on benchmark sets.
32947         * benchtests/bench-memcpy-ifunc.c: New file.
32948         * benchtests/bench-memcpy.c: New file.
32949         * benchtests/bench-string.h: New file.
32951 2013-06-11  Andreas Schwab  <schwab@suse.de>
32953         [BZ #15577]
32954         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32955         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32956         values in the triple.
32957         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32958         terminator in the group key.
32960 2013-06-11  Andreas Jaeger  <aj@suse.de>
32962         * po/zh_TW.po: Update Chinese (traditional) translation from
32963         translation project.
32965 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32967         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32968         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32969         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32970         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32971         (clock_getcpuclockid): Likewise.
32972         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32973         Add weak_alias and libc_hidden_def.
32974         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32975         * rt/clock_gettime.c (clock_gettime): Rename to
32976         __clock_gettime.  Add weak_alias and libc_hidden_def.
32977         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32978         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32979         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32980         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32981         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32982         Likewise.
32983         * rt/clock_settime.c (clock_settime): Rename to
32984         __clock_settime.  Add weak_alias and libc_hidden_def.
32985         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32987 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32989         * mach/err_boot.sub: Remove trailing whitespace.
32990         * mach/err_ipc.sub: Likewise.
32991         * mach/err_mach.sub: Likewise.
32993         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32994         (ROUNDING_TESTS_double): Likewise.
32995         (ROUNDING_TESTS_long_double): Likewise.
32996         (ROUNDING_TESTS): Likewise.
32997         * math/libm-test.inc: Include <math-tests.h>.
32998         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32999         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33000         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33001         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33003 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33005         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33006         of assigning.
33008 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33010         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33011         otherwise empty TRANS lines.
33012         * sysdeps/gnu/errlist.c: Regenerated.
33014         * catgets/gencat.c (error_print): Use (void) in function
33015         definition.
33016         * crypt/crypt_util.c (__init_des): Likewise.
33017         * crypt/speeds.c (Stop): Likewise.
33018         (main): Likewise.
33019         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33020         * inet/ruserpass.c (token): Likewise.
33021         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33022         * intl/localealias.c (extend_alias_table): Likewise.
33023         * intl/plural-exp.c (init_germanic_plural): Likewise.
33024         * libio/fcloseall.c (__fcloseall): Likewise.
33025         * libio/genops.c (_IO_flush_all): Likewise.
33026         (_IO_flush_all_linebuffered): Likewise.
33027         (_IO_cleanup): Likewise.
33028         (_IO_iter_begin): Likewise.
33029         (_IO_iter_end): Likewise.
33030         (_IO_list_lock): Likewise.
33031         (_IO_list_unlock): Likewise.
33032         (_IO_list_resetlock): Likewise.
33033         * libio/getchar.c (getchar): Likewise.
33034         * libio/getchar_u.c (getchar_unlocked): Likewise.
33035         * libio/getwchar.c (getwchar): Likewise.
33036         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33037         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33038         * login/getpt.c (__getpt): Likewise.
33039         * login/tst-utmp.c (main): Likewise.
33040         * malloc/hooks.c (__malloc_check_init): Likewise.
33041         * malloc/malloc.c (__malloc_stats): Likewise.
33042         * malloc/mtrace.c (tr_break): Likewise.
33043         (mtrace): Likewise.
33044         (muntrace): Likewise.
33045         * misc/fstab.c (endfsent): Likewise.
33046         * misc/getclktck.c (__getclktck): Likewise.
33047         * misc/getdtsz.c (__getdtablesize): Likewise.
33048         * misc/gethostid.c (gethostid): Likewise.
33049         * misc/getpagesize.c (__getpagesize): Likewise.
33050         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33051         (__get_nprocs): Likewise.
33052         (__get_phys_pages): Likewise.
33053         (__get_avphys_pages): Likewise.
33054         * misc/getttyent.c (getttyent): Likewise.
33055         (setttyent): Likewise.
33056         (endttyent): Likewise.
33057         * misc/getusershell.c (getusershell): Likewise.
33058         (endusershell): Likewise.
33059         (setusershell): Likewise.
33060         (initshells): Likewise.
33061         * misc/hsearch.c (__hdestroy): Likewise.
33062         * misc/sync.c (sync): Likewise.
33063         * misc/syslog.c (closelog_internal): Likewise.
33064         (closelog): Likewise.
33065         * misc/ttyslot.c (ttyslot): Likewise.
33066         * misc/vhangup.c (vhangup): Likewise.
33067         * posix/fork.c (__fork): Likewise.
33068         * posix/getegid.c (__getegid): Likewise.
33069         * posix/geteuid.c (__geteuid): Likewise.
33070         * posix/getgid.c (__getgid): Likewise.
33071         * posix/getpid.c (__getpid): Likewise.
33072         * posix/getppid.c (__getppid): Likewise.
33073         * posix/getuid.c (__getuid): Likewise.
33074         * posix/pause.c (pause): Likewise.
33075         * posix/setpgrp.c (setpgrp): Likewise.
33076         * posix/setsid.c (__setsid): Likewise.
33077         * posix/test-vfork.c (noop): Likewise.
33078         * resolv/gethnamaddr.c (_endhtent): Likewise.
33079         (_gethtent): Likewise.
33080         (ht_endhostent): Likewise.
33081         (gethostent): Likewise.
33082         (dns_service): Likewise.
33083         * stdlib/drand48.c (drand48): Likewise.
33084         * stdlib/lrand48.c (lrand48): Likewise.
33085         * stdlib/mrand48.c (mrand48): Likewise.
33086         * stdlib/rand.c (rand): Likewise.
33087         * stdlib/random.c (__random): Likewise.
33088         * stdlib/setenv.c (clearenv): Likewise.
33089         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33090         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33091         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33092         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33093         (__get_nprocs): Likewise.
33094         (__get_phys_pages): Likewise.
33095         (__get_avphys_pages): Likewise.
33096         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33097         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33098         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33099         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33100         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33101         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33102         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33103         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33104         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33105         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33106         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33107         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33108         * sysdeps/posix/clock.c (clock): Likewise.
33109         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33110         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33111         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33112         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33113         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33115         (__get_nprocs_conf): Likewise.
33116         (__get_phys_pages): Likewise.
33117         (__get_avphys_pages): Likewise.
33118         * time/clock.c (clock): Likewise.
33119         * time/tzset.c (__tzname_max): Likewise.
33121 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33123         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33124         (__bswap_32): Do not use "register".
33125         * crypt/crypt.c (_ufc_doit_r): Likewise.
33126         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33127         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33128         * gmon/gmon.c (__monstartup): Likewise.
33129         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33130         * hurd/hurdmalloc.c (more_memory): Likewise.
33131         (malloc): Likewise.
33132         (free): Likewise.
33133         (realloc): Likewise.
33134         (malloc_fork_prepare): Likewise.
33135         (malloc_fork_parent): Likewise.
33136         (malloc_fork_child): Likewise.
33137         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33138         (_svcauth_des): Likewise.
33139         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33140         * inet/inet_net.c (inet_network): Likewise.
33141         * inet/inet_netof.c (inet_netof): Likewise.
33142         * inet/rcmd.c (__validuser2_sa): Likewise.
33143         * io/fts.c (fts_open): Likewise.
33144         (fts_load): Likewise.
33145         (fts_close): Likewise.
33146         (fts_read): Likewise.
33147         (fts_children): Likewise.
33148         (fts_build): Likewise.
33149         (fts_stat): Likewise.
33150         (fts_sort): Likewise.
33151         (fts_alloc): Likewise.
33152         (fts_lfree): Likewise.
33153         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33154         (_IO_file_xsgetn): Likewise.
33155         (_IO_file_xsgetn_mmap): Likewise.
33156         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33157         (_IO_cookie_write): Likewise.
33158         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33159         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33160         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33161         * malloc/obstack.c (_obstack_begin): Likewise.
33162         (_obstack_begin_1): Likewise.
33163         (_obstack_newchunk): Likewise.
33164         (_obstack_allocated_p): Likewise.
33165         (obstack_free): Likewise.
33166         (_obstack_memory_used): Likewise.
33167         * misc/getttyent.c (getttynam): Likewise.
33168         (getttyent): Likewise.
33169         (skip): Likewise.
33170         (value): Likewise.
33171         * misc/getusershell.c (initshells): Likewise.
33172         * misc/syslog.c (__vsyslog_chk): Likewise.
33173         * misc/ttyslot.c (ttyslot): Likewise.
33174         * nis/nis_hash.c (__nis_hash): Likewise.
33175         * posix/fnmatch_loop.c (FCT): Likewise.
33176         * posix/getconf.c (print_all): Likewise.
33177         (main): Likewise.
33178         * posix/getopt.c (exchange): Likewise.
33179         * posix/glob.c (globfree): Likewise.
33180         (prefix_array): Likewise.
33181         (__glob_pattern_type): Likewise.
33182         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33183         (NS_GET32): Likewise.
33184         (NS_PUT16): Likewise.
33185         (NS_PUT32): Likewise.
33186         * resolv/gethnamaddr.c (getanswer): Likewise.
33187         (gethostbyname2): Likewise.
33188         (gethostbyaddr): Likewise.
33189         (_gethtent): Likewise.
33190         (_gethtbyname2): Likewise.
33191         (_gethtbyaddr): Likewise.
33192         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33193         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33194         * resolv/res_init.c (__res_vinit): Likewise.
33195         (net_mask): Likewise.
33196         * resolv/res_mkquery.c (outchar): Likewise.
33197         (PRINT): Likewise.
33198         * stdio-common/printf_fp.c (outchar): Likewise.
33199         (PRINT): Likewise.
33200         * stdio-common/printf_fphex.c (outchar): Likewise.
33201         (PRINT): Likewise.
33202         * stdio-common/printf_size.c (outchar): Likewise.
33203         (PRINT): Likewise.
33204         * stdio-common/test_rdwr.c (main): Likewise.
33205         * stdio-common/tfformat.c (matches): Likewise.
33206         * stdio-common/vfprintf.c (outchar): Likewise.
33207         (printf_unknown): Likewise.
33208         (buffered_vfprintf): Likewise.
33209         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33210         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33211         (ReadFile): Likewise.
33212         * stdlib/qsort.c (SWAP): Likewise.
33213         (_quicksort): Likewise.
33214         * stdlib/setenv.c (__add_to_environ): Likewise.
33215         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33216         * stdlib/strtol_l.c (__strtol_l): Likewise.
33217         * stdlib/tst-strtod.c (main): Likewise.
33218         * stdlib/tst-strtol.c (main): Likewise.
33219         * stdlib/tst-strtoll.c (main): Likewise.
33220         * string/bits/string2.h (__strcmp_cc): Likewise.
33221         (__strcmp_cg): Likewise.
33222         (__strcspn_c1): Likewise.
33223         (__strcspn_c2): Likewise.
33224         (__strcspn_c3): Likewise.
33225         (__strspn_c1): Likewise.
33226         (__strspn_c2): Likewise.
33227         (__strspn_c3): Likewise.
33228         (__strsep_1c): Likewise.
33229         (__strsep_2c): Likewise.
33230         (__strsep_3c): Likewise.
33231         * string/memccpy.c (__memccpy): Likewise.
33232         * string/stpcpy.c (__stpcpy): Likewise.
33233         * string/strcmp.c (strcmp): Likewise.
33234         * string/strrchr.c (strrchr): Likewise.
33235         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33236         Likewise.
33237         * sysdeps/mach/hurd/getcwd.c
33238         (_hurd_canonicalize_directory_name_internal): Likewise.
33239         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33240         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33241         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33242         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33243         Likewise, in both definitions.
33244         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33245         definitions.
33246         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33247         64] (__bswap_64): Likewise.
33248         * time/test_time.c (main): Likewise.
33249         * time/tzfile.c (__tzfile_read): Likewise.
33250         (__tzfile_compute): Likewise.
33251         * time/tzset.c (__tzset_parse_tz): Likewise.
33252         (tzset_internal): Likewise.
33253         (compute_change): Likewise.
33254         * wcsmbs/wcscat.c (__wcscat): Likewise.
33255         * wcsmbs/wcschr.c (wcschr): Likewise.
33256         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33257         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33258         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33259         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33260         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33261         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33262         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33263         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33264         * wcsmbs/wmemset.c (wmemset): Likewise.
33266 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33268         * scripts/config.guess: Update to version 2013-05-16.
33269         * scripts/config.sub: Update to version 2013-04-24.
33270         * scripts/install-sh: Update to version 2011-11-20.07.
33271         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33272         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33274 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33276         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33277         * elf/sln.c: Likewise.
33278         * hurd/hurd/ioctl.h: Likewise.
33279         * hurd/hurdmalloc.c: Likewise.
33280         * hurd/xattr.c: Likewise.
33281         * include/shlib-compat.h: Likewise.
33282         * inet/ruserpass.c: Likewise.
33283         * libio/iofgets_u.c: Likewise.
33284         * libio/iofgetws_u.c: Likewise.
33285         * locale/programs/ld-identification.c: Likewise.
33286         * locale/programs/ld-time.c: Likewise.
33287         * mach/msg-destroy.c: Likewise.
33288         * nss/nss_files/files-netgrp.c: Likewise.
33289         * resolv/res_data.c: Likewise.
33290         * soft-fp/op-1.h: Likewise.
33291         * soft-fp/op-2.h: Likewise.
33292         * soft-fp/op-4.h: Likewise.
33293         * soft-fp/op-common.h: Likewise.
33294         * stdio-common/printf_fphex.c: Likewise.
33295         * stdlib/strtod_l.c: Likewise.
33296         * sunrpc/rpc/clnt.h: Likewise.
33297         * sysdeps/generic/framestate.c: Likewise.
33298         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33299         * sysdeps/i386/bsd-setjmp.S: Likewise.
33300         * sysdeps/i386/__longjmp.S: Likewise.
33301         * sysdeps/i386/setjmp.S: Likewise.
33302         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33303         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33304         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33305         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33306         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33307         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33308         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33309         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33310         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33311         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33312         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33313         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33314         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33315         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33316         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33317         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33318         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33319         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33320         * sysdeps/ieee754/support.c: Likewise.
33321         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33322         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33323         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33324         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33325         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33326         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33327         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33328         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33329         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33330         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33331         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33332         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33333         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33334         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33335         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33336         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33337         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33340 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33342         * posix/transbug.c: Remove executable mode.
33344 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33346         * crypt/speeds.c: Remove trailing whitespace.
33347         * dlfcn/default.c: Likewise.
33348         * elf/ifuncdep2.c: Likewise.
33349         * elf/ifuncmain1.c: Likewise.
33350         * elf/ifuncmain1vis.c: Likewise.
33351         * elf/testobj.h: Likewise.
33352         * elf/tst-stackguard1.c: Likewise.
33353         * gmon/sys/gmon.h: Likewise.
33354         * hurd/hurdmsg.c: Likewise.
33355         * hurd/new-fd.c: Likewise.
33356         * hurd/ports-get.c: Likewise.
33357         * iconvdata/ibm1008_420.c: Likewise.
33358         * inet/tst-getni1.c: Likewise.
33359         * inet/tst-getni2.c: Likewise.
33360         * libio/ioungetc.c: Likewise.
33361         * libio/wfiledoalloc.c: Likewise.
33362         * manual/libm-err-tab.pl: Likewise.
33363         * math/w_dremf.c: Likewise.
33364         * misc/ftruncate.c: Likewise.
33365         * posix/bug-glob2.c: Likewise.
33366         * posix/tst-pcre.c: Likewise.
33367         * posix/wait4.c: Likewise.
33368         * resolv/README: Likewise.
33369         * resolv/res_debug.h: Likewise.
33370         * resolv/tst-inet_ntop.c: Likewise.
33371         * setjmp/bug269-setjmp.c: Likewise.
33372         * soft-fp/extended.h: Likewise.
33373         * soft-fp/op-1.h: Likewise.
33374         * soft-fp/op-2.h: Likewise.
33375         * soft-fp/op-4.h: Likewise.
33376         * soft-fp/op-8.h: Likewise.
33377         * soft-fp/testit.c: Likewise.
33378         * stdio-common/bug16.c: Likewise.
33379         * stdlib/random.c: Likewise.
33380         * sunrpc/rpcsvc/rquota.x: Likewise.
33381         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33382         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33384         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33385         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33386         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33387         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33388         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33389         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33390         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33391         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33392         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33393         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33394         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33395         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33396         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33397         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33398         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33399         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33400         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33401         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33402         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33403         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33404         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33405         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33406         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33407         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33409         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33410         * sysdeps/ieee754/s_lib_version.c: Likewise.
33411         * sysdeps/mach/hurd/check_fds.c: Likewise.
33412         * sysdeps/mach/hurd/getsockname.c: Likewise.
33413         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33414         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33415         * sysdeps/powerpc/bits/link.h: Likewise.
33416         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33417         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33418         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33419         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33420         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33421         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33422         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33423         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33424         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33425         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33426         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33427         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33428         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33429         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33430         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33431         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33432         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33433         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33434         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33435         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33436         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33437         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33438         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33439         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33440         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33441         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33442         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33443         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33444         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33445         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33446         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33447         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33448         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33449         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33450         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33451         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33452         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33453         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33454         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33455         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33456         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33457         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33458         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33459         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33460         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33461         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33462         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33463         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33464         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33465         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33466         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33467         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33468         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33469         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33470         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33471         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33472         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33473         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33474         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33475         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33476         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33477         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33478         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33479         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33480         * sysdeps/powerpc/sysdep.h: Likewise.
33481         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33482         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33483         * sysdeps/sh/dl-trampoline.S: Likewise.
33484         * sysdeps/sh/memset.S: Likewise.
33485         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33486         * sysdeps/sh/strlen.S: Likewise.
33487         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33488         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33489         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33490         * sysdeps/sparc/sparc32/rem.S: Likewise.
33491         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33492         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33493         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33494         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33495         * sysdeps/sparc/sparc32/urem.S: Likewise.
33496         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33497         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33498         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33499         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33500         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33501         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33502         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33503         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33504         * sysdeps/unix/bsd/times.c: Likewise.
33505         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33506         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33510         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33511         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33512         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33513         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33514         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33515         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33516         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33517         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33518         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33519         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33520         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33521         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33522         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33523         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33524         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33525         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33526         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33527         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33528         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33529         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33530         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33531         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33532         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33533         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33534         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33535         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33536         * sysdeps/x86_64/strcspn.S: Likewise.
33538 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33540         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33541         generated file.  Regenerate properly from gen-translit.pl.
33542         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33543         locale/C-translit.h.
33545 2013-06-05  Andreas Schwab  <schwab@suse.de>
33547         [BZ #15100]
33548         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33549         week as 6 instead of -1.
33550         * time/tst-strptime.c (day_tests): Add test case.
33552 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33554         * sysdeps/generic/math_private.h
33555         (libc_feholdexcept_setround_53bit): Replace with
33556         libc_feholdsetround_53bit.
33557         (libc_feupdateenv_53bit): Replace with
33558         libc_feresetround_53bit.
33559         (SET_RESTORE_ROUND_53BIT): Adjust.
33561 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33563         * string/test-strchrnul.c: Add copyright header.
33565         * posix/tst-getaddrinfo4.c: Increase test timeout.
33567 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33569         [BZ #15536]
33570         * math/libm-test.inc (MAX_EXP): Remove
33571         (MIN_EXP): Define.
33572         (ulp): Use MIN_EXP - MANT_DIG.
33573         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33575 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33577         * po/be.po: Revert last change.
33578         * po/zh_CN.po: Likewise.
33579         * po/header.pot: Likewise.
33581 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33583         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33584         link-libc-deps to empty as target-specific variable.
33585         * Makerules (link-libc-args): New variable.
33586         (libc-for-link): Likewise.
33587         (link-libc-deps): Likewise.
33588         (lib%.so): Depend on $(link-libc-deps).  Link with
33589         $(link-libc-args).
33590         (build-module): Link with $(link-libc-args).
33591         (build-module-asneeded): Likewise.
33592         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33593         list of objects.
33594         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33595         target-specific variable.
33596         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33597         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33598         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33599         libc.
33600         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33601         libc and ld.so.
33602         ($(objpfx)libpcprofile.so): Likewise.
33603         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33604         libc_nonshared.a.
33605         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33606         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33607         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33608         $(link-libc-deps).
33609         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33610         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33611         * login/Makefile ($(objpfx)libutil.so): Likewise.
33612         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33613         * math/Makefile ($(objpfx)libm.so): Likewise.
33614         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33615         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33616         variable instead of depending directly on libc.
33617         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33618         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33619         $(link-libc-deps).
33620         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33621         libc.
33622         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33623         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33624         ($(objpfx)libanl.so): Likewise.
33625         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33626         ld.so.
33627         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33628         $(link-libc-deps).
33629         * sysdeps/i386/fpu/Makefile: Remove file.
33630         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33631         ($(objpfx)libm.so): Remove dependency on ld.so.
33633 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33635         [BZ # 15553]
33636         * nis/yp_xdr.c (XDRMAXNAME): Define.
33637         (XDRMAXRECORD): Define.
33638         (xdr_domainname): Use XDRMAXNAME.
33639         (xdr_mapname): Likewise.
33640         (xdr_peername): Likewise.
33641         (xdr_keydat): Use XDRMAXRECORD.
33642         (xdr_valdat): Likewise.
33644 2013-05-30  Jeff Law  <law@redhat.com>
33646         [BZ #14256]
33647         * manual/errno.texi (ESTALE): Update to account for more than
33648         just NFS file systems.
33649         * sysdeps/gnu/errlist.c: Regenerated.
33651 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33653         [BZ #15465]
33654         * elf/Makefile (tests): Add tst-null-argv.
33655         (modules-names):  Add tst-null-argv-lib.
33656         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33657         (tst-null-argv-ENV): Set environment for tst-null-argv.
33658         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33659         (RTLD_PROGNAME): New macro.
33660         * elf/tst-null-argv.c: New test case.
33661         * elf/tst-null-argv-lib.c: Library for test case.
33662         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33663         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33664         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33665         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33666         * elf/dl-init.c (call_init): Likewise.
33667         (_dl_init): Likewise.
33668         * elf/dl-load.c (print_search_path): Likewise.
33669         (_dl_map_object): Likewise.
33670         * elf/dl-lookup.c (do_lookup_x): Likewise.
33671         (add_dependency): Likewise.
33672         (_dl_lookup_symbol_x): Likewise.
33673         (_dl_debug_bindings): Likewise.
33674         * elf/dl-open.c (_dl_show_scope): Likewise.
33675         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33676         * elf/dl-version.c (match_symbol): Likewise.
33677         (_dl_check_map_versions): Likewise.
33678         * elf/rtld.c (dl_main): Likewise.
33679         (print_unresolved): Use RTLD_PROGNAME.
33680         (print_missing_version): Likewise.
33681         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33682         (elf_machine_rela): Likewise.
33683         * sysdeps/powerpc/powerpc32/dl-machine.c
33684         (__process_machine_rela): Likewise.
33685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33686         Likewise.
33687         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33688         Likewise.
33689         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33690         Likewise.
33691         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33692         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33693         Likewise.
33694         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33695         Likewise.
33696         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33698 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33700         * po/be.po: Add descriptive title.
33701         * po/zh_CN.po: Likewise.
33702         * po/header.pot: Likewise.
33704 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33706         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33707         error message.
33708         (enlarge_archive): Likewise.
33710 2013-05-28  Ben North  <ben@redfrontdoor.org>
33712         * manual/arith.texi (frexp): It is the magnitude of the return
33713         value which lies in [0.5, 1), not the return value itself.
33715 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33719 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33721         * stdio-common/bug26.c (main): Correct fscanf template.
33723         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33724         declare _dl_skip_args.
33726         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33727         Don't declare.
33729         * manual/platform.texi: Add missing @end deftypefun.
33731 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33733         [BZ #15529]
33734         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33735         bit of mantissa of 2^16382.
33736         * math/libm-test.inc (hypot_test_data): Add more tests.
33738         * math/libm-test.inc: Add drem and pow10 to list of tested
33739         functions.
33740         (pow10_test): New function.
33741         (drem_test): Likewise.
33742         (drem_test_tonearest): Likewise.
33743         (drem_test_towardzero): Likewise.
33744         (drem_test_downward): Likewise.
33745         (drem_test_upward): Likewise.
33746         (main): Call the new functions.
33748         * math/libm-test.inc (finite_test_data): Remove.
33749         (finite_test): Run tests from isfinite_test_data.
33750         (gamma_test_data): Remove.
33751         (gamma_test): Run tests from lgamma_test_data.
33752         * sysdeps/i386/fpu/libm-test-ulps: Update.
33753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33755 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33757         * manual/platform.texi: Add PowerPC PPR function set documentation.
33758         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33759         implementation.
33761 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33763         * math/libm-test.inc (MAX_EXP): Define.
33764         (ULPDIFF): Define.
33765         (ulp): New function.
33766         (check_float_internal): Use ULPDIFF.
33767         (cpow_test): Disable failing test.
33768         (check_ulp): Test ulp() implemetnation.
33769         (main): Call check_ulp before starting tests.
33771 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33773         * math/gen-libm-test.pl (generate_testfile): Do not handle
33774         START_DATA and END_DATA.
33775         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33776         END_DATA.
33777         (acos_tonearest_test_data): Likewise.
33778         (acos_towardzero_test_data): Likewise.
33779         (acos_downward_test_data): Likewise.
33780         (acos_upward_test_data): Likewise.
33781         (acosh_test_data): Likewise.
33782         (asin_test_data): Likewise.
33783         (asin_tonearest_test_data): Likewise.
33784         (asin_towardzero_test_data): Likewise.
33785         (asin_downward_test_data): Likewise.
33786         (asin_upward_test_data): Likewise.
33787         (asinh_test_data): Likewise.
33788         (atan_test_data): Likewise.
33789         (atanh_test_data): Likewise.
33790         (atan2_test_data): Likewise.
33791         (cabs_test_data): Likewise.
33792         (cacos_test_data): Likewise.
33793         (cacosh_test_data): Likewise.
33794         (carg_test_data): Likewise.
33795         (casin_test_data): Likewise.
33796         (casinh_test_data): Likewise.
33797         (catan_test_data): Likewise.
33798         (catanh_test_data): Likewise.
33799         (cbrt_test_data): Likewise.
33800         (ccos_test_data): Likewise.
33801         (ccosh_test_data): Likewise.
33802         (ceil_test_data): Likewise.
33803         (cexp_test_data): Likewise.
33804         (cimag_test_data): Likewise.
33805         (clog_test_data): Likewise.
33806         (clog10_test_data): Likewise.
33807         (conj_test_data): Likewise.
33808         (copysign_test_data): Likewise.
33809         (cos_test_data): Likewise.
33810         (cos_tonearest_test_data): Likewise.
33811         (cos_towardzero_test_data): Likewise.
33812         (cos_downward_test_data): Likewise.
33813         (cos_upward_test_data): Likewise.
33814         (cosh_test_data): Likewise.
33815         (cosh_tonearest_test_data): Likewise.
33816         (cosh_towardzero_test_data): Likewise.
33817         (cosh_downward_test_data): Likewise.
33818         (cosh_upward_test_data): Likewise.
33819         (cpow_test_data): Likewise.
33820         (cproj_test_data): Likewise.
33821         (creal_test_data): Likewise.
33822         (csin_test_data): Likewise.
33823         (csinh_test_data): Likewise.
33824         (csqrt_test_data): Likewise.
33825         (ctan_test_data): Likewise.
33826         (ctan_tonearest_test_data): Likewise.
33827         (ctan_towardzero_test_data): Likewise.
33828         (ctan_downward_test_data): Likewise.
33829         (ctan_upward_test_data): Likewise.
33830         (ctanh_test_data): Likewise.
33831         (ctanh_tonearest_test_data): Likewise.
33832         (ctanh_towardzero_test_data): Likewise.
33833         (ctanh_downward_test_data): Likewise.
33834         (ctanh_upward_test_data): Likewise.
33835         (erf_test_data): Likewise.
33836         (erfc_test_data): Likewise.
33837         (exp_test_data): Likewise.
33838         (exp_tonearest_test_data): Likewise.
33839         (exp_towardzero_test_data): Likewise.
33840         (exp_downward_test_data): Likewise.
33841         (exp_upward_test_data): Likewise.
33842         (exp10_test_data): Likewise.
33843         (exp2_test_data): Likewise.
33844         (expm1_test_data): Likewise.
33845         (fabs_test_data): Likewise.
33846         (fdim_test_data): Likewise.
33847         (finite_test_data): Likewise.
33848         (floor_test_data): Likewise.
33849         (fma_test_data): Likewise.
33850         (fma_towardzero_test_data): Likewise.
33851         (fma_downward_test_data): Likewise.
33852         (fma_upward_test_data): Likewise.
33853         (fmax_test_data): Likewise.
33854         (fmin_test_data): Likewise.
33855         (fmod_test_data): Likewise.
33856         (fpclassify_test_data): Likewise.
33857         (frexp_test_data): Likewise.
33858         (gamma_test_data): Likewise.
33859         (hypot_test_data): Likewise.
33860         (ilogb_test_data): Likewise.
33861         (isfinite_test_data): Likewise.
33862         (isgreater_test_data): Likewise.
33863         (isgreaterequal_test_data): Likewise.
33864         (isinf_test_data): Likewise.
33865         (isless_test_data): Likewise.
33866         (islessequal_test_data): Likewise.
33867         (islessgreater_test_data): Likewise.
33868         (isnan_test_data): Likewise.
33869         (isnormal_test_data): Likewise.
33870         (issignaling_test_data): Likewise.
33871         (isunordered_test_data): Likewise.
33872         (j0_test_data): Likewise.
33873         (j1_test_data): Likewise.
33874         (jn_test_data): Likewise.
33875         (ldexp_test_data): Likewise.
33876         (lgamma_test_data): Likewise.
33877         (lrint_test_data): Likewise.
33878         (lrint_tonearest_test_data): Likewise.
33879         (lrint_towardzero_test_data): Likewise.
33880         (lrint_downward_test_data): Likewise.
33881         (lrint_upward_test_data): Likewise.
33882         (llrint_test_data): Likewise.
33883         (llrint_tonearest_test_data): Likewise.
33884         (llrint_towardzero_test_data): Likewise.
33885         (llrint_downward_test_data): Likewise.
33886         (llrint_upward_test_data): Likewise.
33887         (log_test_data): Likewise.
33888         (log10_test_data): Likewise.
33889         (log1p_test_data): Likewise.
33890         (log2_test_data): Likewise.
33891         (logb_test_data): Likewise.
33892         (logb_downward_test_data): Likewise.
33893         (lround_test_data): Likewise.
33894         (llround_test_data): Likewise.
33895         (modf_test_data): Likewise.
33896         (nearbyint_test_data): Likewise.
33897         (nextafter_test_data): Likewise.
33898         (nexttoward_test_data): Likewise.
33899         (pow_test_data): Likewise.
33900         (pow_tonearest_test_data): Likewise.
33901         (pow_towardzero_test_data): Likewise.
33902         (pow_downward_test_data): Likewise.
33903         (pow_upward_test_data): Likewise.
33904         (remainder_test_data): Likewise.
33905         (remainder_tonearest_test_data): Likewise.
33906         (remainder_towardzero_test_data): Likewise.
33907         (remainder_downward_test_data): Likewise.
33908         (remainder_upward_test_data): Likewise.
33909         (remquo_test_data): Likewise.
33910         (rint_test_data): Likewise.
33911         (rint_tonearest_test_data): Likewise.
33912         (rint_towardzero_test_data): Likewise.
33913         (rint_downward_test_data): Likewise.
33914         (rint_upward_test_data): Likewise.
33915         (round_test_data): Likewise.
33916         (scalb_test_data): Likewise.
33917         (scalbn_test_data): Likewise.
33918         (scalbln_test_data): Likewise.
33919         (signbit_test_data): Likewise.
33920         (sin_test_data): Likewise.
33921         (sin_tonearest_test_data): Likewise.
33922         (sin_towardzero_test_data): Likewise.
33923         (sin_downward_test_data): Likewise.
33924         (sin_upward_test_data): Likewise.
33925         (sincos_test_data): Likewise.
33926         (sinh_test_data): Likewise.
33927         (sinh_tonearest_test_data): Likewise.
33928         (sinh_towardzero_test_data): Likewise.
33929         (sinh_downward_test_data): Likewise.
33930         (sinh_upward_test_data): Likewise.
33931         (sqrt_test_data): Likewise.
33932         (tan_test_data): Likewise.
33933         (tan_tonearest_test_data): Likewise.
33934         (tan_towardzero_test_data): Likewise.
33935         (tan_downward_test_data): Likewise.
33936         (tan_upward_test_data): Likewise.
33937         (tanh_test_data): Likewise.
33938         (tgamma_test_data): Likewise.
33939         (trunc_test_data): Likewise.
33940         (y0_test_data): Likewise.
33941         (y1_test_data): Likewise.
33942         (yn_test_data): Likewise.
33943         (significand_test_data): Likewise.
33945         * math/gen-libm-test.pl (@functions): Remove variable.
33946         (generate_testfile): Don't handle START and END lines.
33947         * math/libm-test.inc (START): New macro.
33948         (END): Likewise.
33949         (END_COMPLEX): Likewise.
33950         (acos_test): Use END macro without arguments.
33951         (acos_test_tonearest): Likewise.
33952         (acos_test_towardzero): Likewise.
33953         (acos_test_downward): Likewise.
33954         (acos_test_upward): Likewise.
33955         (acosh_test): Likewise.
33956         (asin_test): Likewise.
33957         (asin_test_tonearest): Likewise.
33958         (asin_test_towardzero): Likewise.
33959         (asin_test_downward): Likewise.
33960         (asin_test_upward): Likewise.
33961         (asinh_test): Likewise.
33962         (atan_test): Likewise.
33963         (atanh_test): Likewise.
33964         (atan2_test): Likewise.
33965         (cabs_test): Likewise.
33966         (cacos_test): Use END_COMPLEX macro without arguments.
33967         (cacosh_test): Likewise.
33968         (carg_test): Use END macro without arguments.
33969         (casin_test): Use END_COMPLEX macro without arguments.
33970         (casinh_test): Likewise.
33971         (catan_test): Likewise.
33972         (catanh_test): Likewise.
33973         (cbrt_test): Use END macro without arguments.
33974         (ccos_test): Use END_COMPLEX macro without arguments.
33975         (ccosh_test): Likewise.
33976         (ceil_test): Use END macro without arguments.
33977         (cexp_test): Use END_COMPLEX macro without arguments.
33978         (cimag_test): Use END macro without arguments.
33979         (clog_test): Use END_COMPLEX macro without arguments.
33980         (clog10_test): Likewise.
33981         (conj_test): Likewise.
33982         (copysign_test): Use END macro without arguments.
33983         (cos_test): Likewise.
33984         (cos_test_tonearest): Likewise.
33985         (cos_test_towardzero): Likewise.
33986         (cos_test_downward): Likewise.
33987         (cos_test_upward): Likewise.
33988         (cosh_test): Likewise.
33989         (cosh_test_tonearest): Likewise.
33990         (cosh_test_towardzero): Likewise.
33991         (cosh_test_downward): Likewise.
33992         (cosh_test_upward): Likewise.
33993         (cpow_test): Use END_COMPLEX macro without arguments.
33994         (cproj_test): Likewise.
33995         (creal_test): Use END macro without arguments.
33996         (csin_test): Use END_COMPLEX macro without arguments.
33997         (csinh_test): Likewise.
33998         (csqrt_test): Likewise.
33999         (ctan_test): Likewise.
34000         (ctan_test_tonearest): Likewise.
34001         (ctan_test_towardzero): Likewise.
34002         (ctan_test_downward): Likewise.
34003         (ctan_test_upward): Likewise.
34004         (ctanh_test): Likewise.
34005         (ctanh_test_tonearest): Likewise.
34006         (ctanh_test_towardzero): Likewise.
34007         (ctanh_test_downward): Likewise.
34008         (ctanh_test_upward): Likewise.
34009         (erf_test): Use END macro without arguments.
34010         (erfc_test): Likewise.
34011         (exp_test): Likewise.
34012         (exp_test_tonearest): Likewise.
34013         (exp_test_towardzero): Likewise.
34014         (exp_test_downward): Likewise.
34015         (exp_test_upward): Likewise.
34016         (exp10_test): Likewise.
34017         (exp2_test): Likewise.
34018         (expm1_test): Likewise.
34019         (fabs_test): Likewise.
34020         (fdim_test): Likewise.
34021         (finite_test): Likewise.
34022         (floor_test): Likewise.
34023         (fma_test): Likewise.
34024         (fma_test_towardzero): Likewise.
34025         (fma_test_downward): Likewise.
34026         (fma_test_upward): Likewise.
34027         (fmax_test): Likewise.
34028         (fmin_test): Likewise.
34029         (fmod_test): Likewise.
34030         (fpclassify_test): Likewise.
34031         (frexp_test): Likewise.
34032         (gamma_test): Likewise.
34033         (hypot_test): Likewise.
34034         (ilogb_test): Likewise.
34035         (isfinite_test): Likewise.
34036         (isgreater_test): Likewise.
34037         (isgreaterequal_test): Likewise.
34038         (isinf_test): Likewise.
34039         (isless_test): Likewise.
34040         (islessequal_test): Likewise.
34041         (islessgreater_test): Likewise.
34042         (isnan_test): Likewise.
34043         (isnormal_test): Likewise.
34044         (issignaling_test): Likewise.
34045         (isunordered_test): Likewise.
34046         (j0_test): Likewise.
34047         (j1_test): Likewise.
34048         (jn_test): Likewise.
34049         (ldexp_test): Likewise.
34050         (lgamma_test): Likewise.
34051         (lrint_test): Likewise.
34052         (lrint_test_tonearest): Likewise.
34053         (lrint_test_towardzero): Likewise.
34054         (lrint_test_downward): Likewise.
34055         (lrint_test_upward): Likewise.
34056         (llrint_test): Likewise.
34057         (llrint_test_tonearest): Likewise.
34058         (llrint_test_towardzero): Likewise.
34059         (llrint_test_downward): Likewise.
34060         (llrint_test_upward): Likewise.
34061         (log_test): Likewise.
34062         (log10_test): Likewise.
34063         (log1p_test): Likewise.
34064         (log2_test): Likewise.
34065         (logb_test): Likewise.
34066         (logb_test_downward): Likewise.
34067         (lround_test): Likewise.
34068         (llround_test): Likewise.
34069         (modf_test): Likewise.
34070         (nearbyint_test): Likewise.
34071         (nextafter_test): Likewise.
34072         (nexttoward_test): Likewise.
34073         (pow_test): Likewise.
34074         (pow_test_tonearest): Likewise.
34075         (pow_test_towardzero): Likewise.
34076         (pow_test_downward): Likewise.
34077         (pow_test_upward): Likewise.
34078         (remainder_test): Likewise.
34079         (remainder_test_tonearest): Likewise.
34080         (remainder_test_towardzero): Likewise.
34081         (remainder_test_downward): Likewise.
34082         (remainder_test_upward): Likewise.
34083         (remquo_test): Likewise.
34084         (rint_test): Likewise.
34085         (rint_test_tonearest): Likewise.
34086         (rint_test_towardzero): Likewise.
34087         (rint_test_downward): Likewise.
34088         (rint_test_upward): Likewise.
34089         (round_test): Likewise.
34090         (scalb_test): Likewise.
34091         (scalbn_test): Likewise.
34092         (scalbln_test): Likewise.
34093         (signbit_test): Likewise.
34094         (sin_test): Likewise.
34095         (sin_test_tonearest): Likewise.
34096         (sin_test_towardzero): Likewise.
34097         (sin_test_downward): Likewise.
34098         (sin_test_upward): Likewise.
34099         (sincos_test): Likewise.
34100         (sinh_test): Likewise.
34101         (sinh_test_tonearest): Likewise.
34102         (sinh_test_towardzero): Likewise.
34103         (sinh_test_downward): Likewise.
34104         (sinh_test_upward): Likewise.
34105         (sqrt_test): Likewise.
34106         (tan_test): Likewise.
34107         (tan_test_tonearest): Likewise.
34108         (tan_test_towardzero): Likewise.
34109         (tan_test_downward): Likewise.
34110         (tan_test_upward): Likewise.
34111         (tanh_test): Likewise.
34112         (tgamma_test): Likewise.
34113         (trunc_test): Likewise.
34114         (y0_test): Likewise.
34115         (y1_test): Likewise.
34116         (yn_test): Likewise.
34117         (significand_test): Likewise.
34119 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34121         [BZ #15381]
34122         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34124 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34126         [BZ #14894]
34127         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34128         __ppc_mdoio and __ppc_mdoom.
34129         * manual/platform.texi: Document new functions __ppc_yield,
34130         __ppc_mdoio and __ppc_mdoom.
34132 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34134         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34135         (main): Mention "tls" pseudo-hwcap is legacy.
34136         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34138 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34140         * math/gen-libm-test.pl (parse_args): Output only string of
34141         arguments as text for test name, not full call or descriptions of
34142         tests for extra outputs.
34143         (generate_testfile): Do not pass function name to parse_args.
34144         Generate this_func variable from START.
34145         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34146         field to arg_str.
34147         (struct test_ff_f_data): Likewise.
34148         (test_ff_f_data_nexttoward): Likewise.
34149         (struct test_fi_f_data): Likewise.
34150         (struct test_fl_f_data): Likewise.
34151         (struct test_if_f_data): Likewise.
34152         (struct test_fff_f_data): Likewise.
34153         (struct test_c_f_data): Likewise.
34154         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34155         (struct test_fF_f1_data): Likewise.
34156         (struct test_ffI_f1_data): Likewise.
34157         (struct test_c_c_data): Rename test_name field to arg_str.
34158         (struct test_cc_c_data): Likewise.
34159         (struct test_f_i_data): Likewise.
34160         (struct test_ff_i_data): Likewise.
34161         (struct test_f_l_data): Likewise.
34162         (struct test_f_L_data): Likewise.
34163         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34164         and extra2_name.
34165         (COMMON_TEST_SETUP): New macro.
34166         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34167         (COMMON_TEST_CLEANUP): Likewise.
34168         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34169         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34170         macros.
34171         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34172         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34173         macros.
34174         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34175         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34176         cleanup macros.
34177         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34178         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34179         macros.
34180         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34181         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34182         macros.
34183         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34184         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34185         cleanup macros.
34186         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34187         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34188         cleanup macros.
34189         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34190         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34191         cleanup macros.
34192         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34193         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34194         macros.
34195         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34196         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34197         macros.
34198         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34199         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34200         macros.
34201         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34202         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34203         cleanup macros.
34204         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34205         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34206         cleanup macros.
34207         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34208         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34209         macros.
34210         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34211         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34212         cleanup macros.
34213         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34214         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34215         macros.
34216         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34217         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34218         macros.
34219         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34220         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34221         cleanup macros.
34222         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34224 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34226         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34227         to _sifields.sigfault.
34228         (si_addr_lsb): Define new macro.
34229         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34230         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34231         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34233 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34235         [BZ #15441]
34236         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34237         returns -1.
34238         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34239         null return -1.
34240         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34241         loading the domain.
34243 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34245         * math/gen-libm-test.pl (parse_args): Do not include expected
34246         result in test name.
34247         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34248         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34249         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34250         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34251         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34254 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34256         * benchtests/Makefile: Sort function entries.
34258         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34259         tanh, asinh, acosh, atanh.
34260         * benchtests/acos-inputs: New file.
34261         * benchtests/acosh-inputs: New file.
34262         * benchtests/asin-inputs: New file.
34263         * benchtests/asinh-inputs: New file.
34264         * benchtests/atanh-inputs: New file.
34265         * benchtests/cosh-inputs: New file.
34266         * benchtests/log-inputs: New file.
34267         * benchtests/sinh-inputs: New file.
34268         * benchtests/tanh-inputs: New file.
34270 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34272         [BZ #15339]
34273         * posix/tst-getaddrinfo4.c: New test.
34274         * posix/Makefile (tests): Add it.
34276 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34278         [BZ #15339]
34279         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34280         when no services were used.
34281         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34282         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34284 2013-05-21  Andreas Schwab  <schwab@suse.de>
34286         [BZ #15014]
34287         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34288         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34289         successful.
34290         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34291         redundant variable declarations and reallocation of buffer when
34292         parsing as IPv6 address.  Always set NSS status when called from
34293         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34294         buffer too small.  Correct computation of needed size.
34295         * nss/Makefile (tests): Add test-digits-dots.
34296         * nss/test-digits-dots.c: New test.
34298 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34300         * benchtests/Makefile: Remove instructions for adding
34301         benchmark tests.
34302         * benchtests/README: New file to explain how to execute and
34303         enhance the benchmark tests.
34305 2013-05-21  Andreas Schwab  <schwab@suse.de>
34307         [BZ #15493]
34308         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34309         * setjmp/tst-sigsetjmp.c: New test.
34311 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34313         * sysdeps/x86_64/memset.S (memset): New implementation.
34314         (__bzero): Likewise.
34315         (__memset_tail): New function.
34317 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34319         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34320         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34321         __memcpy_sse2_unaligned ifunc selection.
34322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34323         Add memcpy-sse2-unaligned.S.
34324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34325         Add: __memcpy_sse2_unaligned.
34327 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34329         [BZ #15490]
34330         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34331         math_force_eval before restoring floating-point envrionment.
34332         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34333         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34334         Likewise.
34335         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34336         <math_private.h>.
34337         (__nearbyintl): Use math_force_eval before restoring
34338         floating-point environment.
34339         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34341         * math/gen-libm-test.pl (special_functions): Remove.
34342         (parse_args): Don't handle TEST_extra.  Handle functions with no
34343         return value.
34344         * math/libm-test.inc (struct test_sincos_data): Replace with
34345         struct test_fFF_11_data.
34346         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34347         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34348         (sincos_test_data): Change element type to struct
34349         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34350         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34351         RUN_TEST_LOOP_sincos.
34352         * math/README.libm-test: Don't mention special handling of
34353         individual functions.
34354         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34355         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34356         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34357         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34358         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34361         * math/gen-libm-test.pl (get_variable): Remove function.
34362         (parse_args): Don't show pointer parameters to call in test
34363         names.  Use "extra output N" in test names for extra outputs
34364         rather than naming variables.
34366 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34368         [BZ #15488]
34369         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34370         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34371         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34372         double tests.
34373         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34374         disable.
34375         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34376         check_long_double.
34378         * math/gen-libm-test.pl (@tests): Remove variable.
34379         ($count): Likewise.
34380         (new_test): Remove function.
34381         (show_exceptions): New function.
34382         (special_functions): Use show_exceptions instead of new_test.
34383         (parse_args): Likewise.
34384         (generate_testfile): Pass only function name in generated call to
34385         print_max_error or print_complex_max_error.
34386         (get_ulps): Do not handle complex tests specially.
34387         (output_test): Rename to ...
34388         (get_all_ulps_for_test): ... this.  Return a string rather than
34389         printing to a file.  Require ulps to be present.
34390         (output_ulps): Generate arrays rather than #defines.
34391         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34392         (struct ulp_data): New type.
34393         (BUILD_COMPLEX_ULP): Remove macro.
34394         (compare_ulp_data): New function.
34395         (find_ulps): Likewise.
34396         (find_test_ulps): Likewise.
34397         (find_function_ulps): Likewise.
34398         (find_complex_function_ulps): Likewise.
34399         (print_max_error): Determine allowed ulps using
34400         find_function_ulps.
34401         (print_complex_max_error): Determine allowed ulps using
34402         find_complex_function_ulps.
34403         (check_float_internal): Determine max ulps using find_test_ulps.
34404         (check_float): Do not take max_ulp parameter.  Update call to
34405         check_float_internal.
34406         (check_complex): Likewise.
34407         (check_int): Do not take max_ulp parameter.
34408         (check_long): Likewise.
34409         (check_bool): Likewise.
34410         (check_longlong): Likewise.
34411         (struct test_f_f_data): Remove max_ulp field.
34412         (struct test_ff_f_data): Likewise.
34413         (struct test_ff_f_data_nexttoward): Likewise.
34414         (struct test_fi_f_data): Likewise.
34415         (struct test_fl_f_data): Likewise.
34416         (struct test_if_f_data): Likewise.
34417         (struct test_fff_f_data): Likewise.
34418         (struct test_c_f_data): Likewise.
34419         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34420         (struct test_fF_f1_data): Likewise.
34421         (struct test_ffI_f1_data): Likewise.
34422         (struct test_c_c_data): Remove max_ulp field.
34423         (struct test_cc_c_data): Likewise.
34424         (struct test_f_i_data): Likewise.
34425         (struct test_ff_i_data): Likewise.
34426         (struct test_f_l_data): Likewise.
34427         (struct test_f_L_data): Likewise.
34428         (struct test_sincos_data): Likewise.
34429         (RUN_TEST_f_f): Do not handle ulps.
34430         (RUN_TEST_LOOP_f_f): Likewise.
34431         (RUN_TEST_2_f): Likewise.
34432         (RUN_TEST_LOOP_2_f): Likewise.
34433         (RUN_TEST_fff_f): Likewise.
34434         (RUN_TEST_LOOP_fff_f): Likewise.
34435         (RUN_TEST_c_f): Likewise.
34436         (RUN_TEST_LOOP_c_f): Likewise.
34437         (RUN_TEST_f_f1): Likewise.
34438         (RUN_TEST_LOOP_f_f1): Likewise.
34439         (RUN_TEST_fF_f1): Likewise.
34440         (RUN_TEST_LOOP_fF_f1): Likewise.
34441         (RUN_TEST_fI_f1): Likewise.
34442         (RUN_TEST_LOOP_fI_f1): Likewise.
34443         (RUN_TEST_ffI_f1): Likewise.
34444         (RUN_TEST_LOOP_ffI_f1): Likewise.
34445         (RUN_TEST_c_c): Likewise.
34446         (RUN_TEST_LOOP_c_c): Likewise.
34447         (RUN_TEST_cc_c): Likewise.
34448         (RUN_TEST_LOOP_cc_c): Likewise.
34449         (RUN_TEST_f_i): Likewise.
34450         (RUN_TEST_LOOP_f_i): Likewise.
34451         (RUN_TEST_f_i_tg): Likewise.
34452         (RUN_TEST_LOOP_f_i_tg): Likewise.
34453         (RUN_TEST_ff_i_tg): Likewise.
34454         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34455         (RUN_TEST_f_b): Likewise.
34456         (RUN_TEST_LOOP_f_b): Likewise.
34457         (RUN_TEST_f_b_tg): Likewise.
34458         (RUN_TEST_LOOP_f_b_tg): Likewise.
34459         (RUN_TEST_f_l): Likewise.
34460         (RUN_TEST_LOOP_f_l): Likewise.
34461         (RUN_TEST_f_L): Likewise.
34462         (RUN_TEST_LOOP_f_L): Likewise.
34463         (RUN_TEST_sincos): Likewise.
34464         (RUN_TEST_LOOP_sincos): Likewise.
34466 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34468         [BZ #15480]
34469         [BZ #15485]
34470         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34471         main case of finite arguments, set rounding mode to FE_TONEAREST
34472         and discard exceptions.
34473         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34474         exceptions.
34475         (remainder_tonearest_test_data): New variable.
34476         (remainder_test_tonearest): New function.
34477         (remainder_towardzero_test_data): New variable.
34478         (remainder_test_towardzero): New function.
34479         (remainder_downward_test_data): New variable.
34480         (remainder_test_downward): New function.
34481         (remainder_upward_test_data): New variable.
34482         (remainder_test_upward): New function.
34483         (main): Call the new test functions.
34485         * math/libm-test.inc (struct test_f_f1_data): Remove field
34486         extra_init.
34487         (struct test_fF_f1_data): Likewise.
34488         (struct test_ffI_f1_data): Likewise.
34489         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34490         based on value of EXTRA_EXPECTED.
34491         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34492         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34493         EXTRA_VAR based on value of EXTRA_EXPECTED.
34494         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34495         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34496         EXTRA_VAR based on value of EXTRA_EXPECTED.
34497         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34498         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34499         EXTRA_VAR based on value of EXTRA_EXPECTED.
34500         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34501         * math/gen-libm-test.pl (parse_args): Don't output initializers
34502         for extra output values.
34504         * math/libm-test.inc (check_int): Expect result to be exactly
34505         equal to expected value and do not handle ulps.
34506         (check_long): Likewise.
34507         (check_longlong): Likewise.
34509         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34510         exceptions.
34511         (cimag_test_data): Likewise.
34512         (conj_test_data): Likewise.
34513         (copysign_test_data): Likewise.
34514         (cproj_test_data): Likewise.
34515         (creal_test_data): Likewise.
34516         (fabs_test_data): Likewise.
34517         (fdim_test_data): Likewise.
34518         (finite_test_data): Likewise.
34519         (floor_test_data): Likewise.
34520         (fmax_test_data): Likewise.
34521         (fmin_test_data): Likewise.
34522         (fmod_test_data): Likewise.
34523         (fpclassify_test_data): Likewise.
34524         (frexp_test_data): Likewise.
34525         (ilogb_test_data): Likewise.
34526         (isfinite_test_data): Likewise.
34527         (isgreater_test_data): Likewise.
34528         (isgreaterequal_test_data): Likewise.
34529         (isinf_test_data): Likewise.
34530         (isless_test_data): Likewise.
34531         (islessequal_test_data): Likewise.
34532         (islessgreater_test_data): Likewise.
34533         (isnan_test_data): Likewise.
34534         (isnormal_test_data): Likewise.
34535         (issignaling_test_data): Likewise.
34536         (isunordered_test_data): Likewise.
34537         (ldexp_test_data): Likewise.
34538         (lrint_test_data): Likewise.
34539         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34540         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34541         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34542         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34543         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34544         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34545         test input.
34546         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34547         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34548         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34549         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34550         that test input.
34551         (lrint_downward_test_data): Test for "inexact" exceptions.
34552         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34553         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34554         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34555         test input.
34556         (lrint_upward_test_data): Test for "inexact" exceptions.
34557         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34558         test input.
34559         (llrint_test_data): Test for "inexact" exceptions.
34560         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34561         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34562         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34563         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34564         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34565         (llrint_downward_test_data): Test for "inexact" exceptions.
34566         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34567         (llrint_upward_test_data): Test for "inexact" exceptions.
34568         (logb_test_data): Likewise.
34569         (logb_downward_test_data): Likewise.
34570         (nextafter_test_data): Likewise.
34571         (nexttoward_test_data): Likewise.
34572         (remainder_test_data): Likewise.
34573         (remquo_test_data): Likewise.
34574         (scalbn_test_data): Likewise.
34575         (scalbln_test_data): Likewise.
34576         (signbit_test_data): Likewise.
34577         (sqrt_test_data): Likewise.
34578         (significand_test_data): Likewise.
34580 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34582         [BZ #15424]
34583         * benchtests/bench-modf.c (struct args): Mark arg0 as
34584         volatile.
34585         * scripts/bench.pl: Mark members of struct args as volatile.
34587 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34589         [BZ # 15497]
34590         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34591         negative infinity on POWER6 or lower.
34592         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34594 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34596         [BZ #15442]
34597         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34598         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34599         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34600         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34601         (_FP_SETQNAN): New macro.
34602         (_FP_SETQNAN_SEMIRAW): Likewise.
34603         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34604         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34605         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34606         (FP_EXTEND): Use _FP_FRAC_SNANP.
34607         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34608         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34609         into account.
34610         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34611         New macro.
34612         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34613         Likewise.
34615 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34617         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34618         with DIVIDE_BY_ZERO_EXCEPTION.
34619         (gamma_test_data): Likewise.
34620         (lgamma_test_data): Likewise.
34621         (log_test_data): Likewise.
34622         (log10_test_data): Likewise.
34623         (log2_test_data): Likewise.
34624         (tgamma_test_data): Likewise.
34626         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34627         (acos_test_tonearest): Likewise.
34628         (acos_test_towardzero): Likewise.
34629         (acos_test_downward): Likewise.
34630         (acos_test_upward): Likewise.
34631         (acosh_test): Likewise.
34632         (asin_test): Likewise.
34633         (asin_test_tonearest): Likewise.
34634         (asin_test_towardzero): Likewise.
34635         (asin_test_downward): Likewise.
34636         (asin_test_upward): Likewise.
34637         (asinh_test): Likewise.
34638         (atan_test): Likewise.
34639         (atanh_test): Likewise.
34640         (atan2_test): Likewise.
34641         (cabs_test): Likewise.
34642         (cacos_test): Likewise.
34643         (cacosh_test): Likewise.
34644         (casin_test): Likewise.
34645         (casinh_test): Likewise.
34646         (catan_test): Likewise.
34647         (catanh_test): Likewise.
34648         (cbrt_test): Likewise.
34649         (ccos_test): Likewise.
34650         (ccosh_test): Likewise.
34651         (cexp_test): Likewise.
34652         (clog_test): Likewise.
34653         (clog10_test): Likewise.
34654         (cos_test): Likewise.
34655         (cos_test_tonearest): Likewise.
34656         (cos_test_towardzero): Likewise.
34657         (cos_test_downward): Likewise.
34658         (cos_test_upward): Likewise.
34659         (cosh_test): Likewise.
34660         (cosh_test_tonearest): Likewise.
34661         (cosh_test_towardzero): Likewise.
34662         (cosh_test_downward): Likewise.
34663         (cosh_test_upward): Likewise.
34664         (cpow_test): Likewise.
34665         (csin_test): Likewise.
34666         (csinh_test): Likewise.
34667         (csqrt_test): Likewise.
34668         (ctan_test): Likewise.
34669         (ctan_test_tonearest): Likewise.
34670         (ctan_test_towardzero): Likewise.
34671         (ctan_test_downward): Likewise.
34672         (ctan_test_upward): Likewise.
34673         (ctanh_test): Likewise.
34674         (ctanh_test_tonearest): Likewise.
34675         (ctanh_test_towardzero): Likewise.
34676         (ctanh_test_downward): Likewise.
34677         (ctanh_test_upward): Likewise.
34678         (erf_test): Likewise.
34679         (erfc_test): Likewise.
34680         (exp_test): Likewise.
34681         (exp_test_tonearest): Likewise.
34682         (exp_test_towardzero): Likewise.
34683         (exp_test_downward): Likewise.
34684         (exp_test_upward): Likewise.
34685         (exp10_test): Likewise.
34686         (exp2_test): Likewise.
34687         (expm1_test): Likewise.
34688         (fmod_test): Likewise.
34689         (gamma_test): Likewise.
34690         (hypot_test): Likewise.
34691         (j0_test): Likewise.
34692         (j1_test): Likewise.
34693         (jn_test): Likewise.
34694         (lgamma_test): Likewise.
34695         (log_test): Likewise.
34696         (log10_test): Likewise.
34697         (log1p_test): Likewise.
34698         (log2_test): Likewise.
34699         (logb_test_downward): Likewise.
34700         (pow_test): Likewise.
34701         (pow_test_tonearest): Likewise.
34702         (pow_test_towardzero): Likewise.
34703         (pow_test_downward): Likewise.
34704         (pow_test_upward): Likewise.
34705         (remainder_test): Likewise.
34706         (remquo_test): Likewise.
34707         (sin_test): Likewise.
34708         (sin_test_tonearest): Likewise.
34709         (sin_test_towardzero): Likewise.
34710         (sin_test_downward): Likewise.
34711         (sin_test_upward): Likewise.
34712         (sincos_test): Likewise.
34713         (sinh_test): Likewise.
34714         (sinh_test_tonearest): Likewise.
34715         (sinh_test_towardzero): Likewise.
34716         (sinh_test_downward): Likewise.
34717         (sinh_test_upward): Likewise.
34718         (sqrt_test): Likewise.
34719         (tan_test): Likewise.
34720         (tan_test_tonearest): Likewise.
34721         (tan_test_towardzero): Likewise.
34722         (tan_test_downward): Likewise.
34723         (tan_test_upward): Likewise.
34724         (tanh_test): Likewise.
34725         (tgamma_test): Likewise.
34726         (y0_test): Likewise.
34727         (y1_test): Likewise.
34728         (yn_test): Likewise.
34730         * math/gen-libm-test.pl (adjust_arg): Remove function.
34731         (special_function): Remove argument $in_func.  Only handle
34732         generating output for tables of tests, not inside functions.
34733         (parse_args): Likewise.
34734         (generate_testfile): Remove variable $in_func.  Update call to
34735         parse_args.
34736         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34737         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34738         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34739         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34740         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34741         (MAX_VALUE_INIT): Rename macro to max_value.
34742         (MIN_VALUE_INIT): Rename macro to min_value.
34743         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34744         (plus_zero): Remove variable.
34745         (minus_zero): Likewise.
34746         (plus_infty): Likewise.
34747         (minus_infty): Likewise.
34748         (qnan_value): Likewise.
34749         (max_value): Likewise.
34750         (min_value): Likewise.
34751         (min_subnorm_value): Likewise.
34753 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34755         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34756         uint64_t or uint32_t usage.
34757         * crypt/sha256-block.c: Likewise.
34758         * crypt/sha256-crypt.c: Likewise.
34759         * crypt/sha256.c: Likewise.
34760         * crypt/sha512-block.c: Likewise.
34761         * crypt/sha512-crypt.c: Likewise.
34762         * crypt/sha512.c: Likewise.
34763         * debug/backtrace-tst.c: Likewise.
34764         * debug/pcprofiledump.c: Likewise.
34765         * elf/cache.c: Likewise.
34766         * elf/dl-cache.c: Likewise.
34767         * elf/dl-misc.c: Likewise.
34768         * elf/dl-profile.c: Likewise.
34769         * elf/dl-support.c: Likewise.
34770         * elf/ldconfig.c: Likewise.
34771         * elf/sprof.c: Likewise.
34772         * iconv/dummy-repertoire.c: Likewise.
34773         * iconv/iconv_charmap.c: Likewise.
34774         * iconv/skeleton.c: Likewise.
34775         * iconvdata/8bit-generic.c: Likewise.
34776         * iconvdata/cp737.h: Likewise.
34777         * iconvdata/cp775.h: Likewise.
34778         * iconvdata/ibm1008.h: Likewise.
34779         * iconvdata/ibm1025.h: Likewise.
34780         * iconvdata/ibm1046.h: Likewise.
34781         * iconvdata/ibm1097.h: Likewise.
34782         * iconvdata/ibm1112.h: Likewise.
34783         * iconvdata/ibm1122.h: Likewise.
34784         * iconvdata/ibm1123.h: Likewise.
34785         * iconvdata/ibm1124.h: Likewise.
34786         * iconvdata/ibm1129.h: Likewise.
34787         * iconvdata/ibm1130.h: Likewise.
34788         * iconvdata/ibm1132.h: Likewise.
34789         * iconvdata/ibm1133.h: Likewise.
34790         * iconvdata/ibm1137.h: Likewise.
34791         * iconvdata/ibm1140.h: Likewise.
34792         * iconvdata/ibm1141.h: Likewise.
34793         * iconvdata/ibm1142.h: Likewise.
34794         * iconvdata/ibm1143.h: Likewise.
34795         * iconvdata/ibm1144.h: Likewise.
34796         * iconvdata/ibm1145.h: Likewise.
34797         * iconvdata/ibm1146.h: Likewise.
34798         * iconvdata/ibm1147.h: Likewise.
34799         * iconvdata/ibm1148.h: Likewise.
34800         * iconvdata/ibm1149.h: Likewise.
34801         * iconvdata/ibm1153.h: Likewise.
34802         * iconvdata/ibm1154.h: Likewise.
34803         * iconvdata/ibm1155.h: Likewise.
34804         * iconvdata/ibm1156.h: Likewise.
34805         * iconvdata/ibm1157.h: Likewise.
34806         * iconvdata/ibm1158.h: Likewise.
34807         * iconvdata/ibm1160.h: Likewise.
34808         * iconvdata/ibm1161.h: Likewise.
34809         * iconvdata/ibm1162.h: Likewise.
34810         * iconvdata/ibm1163.h: Likewise.
34811         * iconvdata/ibm1164.h: Likewise.
34812         * iconvdata/ibm1166.h: Likewise.
34813         * iconvdata/ibm1167.h: Likewise.
34814         * iconvdata/ibm12712.h: Likewise.
34815         * iconvdata/ibm1390.h: Likewise.
34816         * iconvdata/ibm1399.h: Likewise.
34817         * iconvdata/ibm16804.h: Likewise.
34818         * iconvdata/ibm4517.h: Likewise.
34819         * iconvdata/ibm4899.h: Likewise.
34820         * iconvdata/ibm4909.h: Likewise.
34821         * iconvdata/ibm4971.h: Likewise.
34822         * iconvdata/ibm5347.h: Likewise.
34823         * iconvdata/ibm803.h: Likewise.
34824         * iconvdata/ibm856.h: Likewise.
34825         * iconvdata/ibm901.h: Likewise.
34826         * iconvdata/ibm902.h: Likewise.
34827         * iconvdata/ibm9030.h: Likewise.
34828         * iconvdata/ibm9066.h: Likewise.
34829         * iconvdata/ibm921.h: Likewise.
34830         * iconvdata/ibm922.h: Likewise.
34831         * iconvdata/ibm9448.h: Likewise.
34832         * iconvdata/isiri-3342.h: Likewise.
34833         * iconvdata/jis0201.h: Likewise.
34834         * include/link.h: Likewise.
34835         * include/netdb.h: Likewise.
34836         * inet/check_native.c: Likewise.
34837         * inet/check_pf.c: Likewise.
34838         * inet/getipv4sourcefilter.c: Likewise.
34839         * inet/getnameinfo.c: Likewise.
34840         * inet/getsourcefilter.c: Likewise.
34841         * inet/htonl.c: Likewise.
34842         * inet/setipv4sourcefilter.c: Likewise.
34843         * inet/setsourcefilter.c: Likewise.
34844         * inet/test-inet6_opt.c: Likewise.
34845         * inet/tst-network.c: Likewise.
34846         * locale/C-collate.c: Likewise.
34847         * locale/C-ctype.c: Likewise.
34848         * locale/C-time.c: Likewise.
34849         * locale/C-translit.h: Likewise.
34850         * locale/loadarchive.c: Likewise.
34851         * locale/programs/3level.h: Likewise.
34852         * locale/programs/charmap.c: Likewise.
34853         * locale/programs/charmap.h: Likewise.
34854         * locale/programs/ld-address.c: Likewise.
34855         * locale/programs/ld-collate.c: Likewise.
34856         * locale/programs/ld-ctype.c: Likewise.
34857         * locale/programs/ld-identification.c: Likewise.
34858         * locale/programs/ld-measurement.c: Likewise.
34859         * locale/programs/ld-messages.c: Likewise.
34860         * locale/programs/ld-monetary.c: Likewise.
34861         * locale/programs/ld-name.c: Likewise.
34862         * locale/programs/ld-numeric.c: Likewise.
34863         * locale/programs/ld-paper.c: Likewise.
34864         * locale/programs/ld-telephone.c: Likewise.
34865         * locale/programs/ld-time.c: Likewise.
34866         * locale/programs/linereader.c: Likewise.
34867         * locale/programs/locale.c: Likewise.
34868         * locale/programs/locarchive.c: Likewise.
34869         * locale/programs/locfile.h: Likewise.
34870         * locale/programs/repertoire.c: Likewise.
34871         * locale/programs/simple-hash.c: Likewise.
34872         * locale/programs/simple-hash.h: Likewise.
34873         * malloc/memusage.c: Likewise.
34874         * malloc/memusagestat.c: Likewise.
34875         * nis/nis_defaults.c: Likewise.
34876         * nis/nis_hash.c: Likewise.
34877         * nis/nis_print.c: Likewise.
34878         * nis/nis_xdr.c: Likewise.
34879         * nscd/connections.c: Likewise.
34880         * nscd/hstcache.c: Likewise.
34881         * nscd/nscd_gethst_r.c: Likewise.
34882         * nscd/nscd_getserv_r.c: Likewise.
34883         * nscd/nscd_helper.c: Likewise.
34884         * nscd/servicescache.c: Likewise.
34885         * nss/makedb.c: Likewise.
34886         * nss/nss_db/db-XXX.c: Likewise.
34887         * nss/nss_db/db-initgroups.c: Likewise.
34888         * nss/nss_db/db-netgrp.c: Likewise.
34889         * nss/nss_files/files-network.c: Likewise.
34890         * nss/nss_files/files-parse.c: Likewise.
34891         * posix/bug-regex5.c: Likewise.
34892         * posix/fnmatch_loop.c: Likewise.
34893         * posix/regcomp.c: Likewise.
34894         * posix/regexec.c: Likewise.
34895         * posix/tst-rfc3484-2.c: Likewise.
34896         * posix/tst-rfc3484-3.c: Likewise.
34897         * posix/tst-rfc3484.c: Likewise.
34898         * resolv/nss_dns/dns-canon.c: Likewise.
34899         * resolv/nss_dns/dns-network.c: Likewise.
34900         * resolv/res_init.c: Likewise.
34901         * resolv/res_mkquery.c: Likewise.
34902         * resolv/tst-aton.c: Likewise.
34903         * stdlib/cxa_atexit.c: Likewise.
34904         * stdlib/cxa_finalize.c: Likewise.
34905         * stdlib/gen-fpioconst.c: Likewise.
34906         * stdlib/strtol_l.c: Likewise.
34907         * string/tst-endian.c: Likewise.
34908         * sunrpc/auth_des.c: Likewise.
34909         * sunrpc/clnt_udp.c: Likewise.
34910         * sunrpc/rtime.c: Likewise.
34911         * sunrpc/svcauth_des.c: Likewise.
34912         * sunrpc/xdr.c: Likewise.
34913         * sunrpc/xdr_intXX_t.c: Likewise.
34914         * sunrpc/xdr_rec.c: Likewise.
34915         * sysdeps/generic/ldconfig.h: Likewise.
34916         * sysdeps/generic/ldsodefs.h: Likewise.
34917         * sysdeps/generic/memusage.h: Likewise.
34918         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34919         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34920         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34921         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34922         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34923         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34924         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34925         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34926         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34928         * sysdeps/posix/getaddrinfo.c: Likewise.
34929         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34930         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34931         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34932         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34933         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34934         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34935         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34936         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34937         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34938         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34939         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34940         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34941         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34942         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34943         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34944         * sysdeps/x86_64/dl-tls.h: Likewise.
34945         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34946         * time/alt_digit.c: Likewise.
34947         * time/era.c: Likewise.
34948         * wcsmbs/tst-c16c32-1.c: Likewise.
34950 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34952         * math/libm-test.inc (struct test_sincos_data): New type.
34953         (RUN_TEST_LOOP_sincos): New macro.
34954         (sincos_test_data): New variable.
34955         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34957 2013-05-16  Richard Henderson  <rth@redhat.com>
34959         * math/atest-exp2.c (LIMB64): New macro.
34960         (CONSTSZ): New macro.
34961         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34962         (hexdig): Move ...
34963         (print_mpn_fp): ... to function scope.
34964         (read_mpn_hex): Remove.
34965         (get_log2): Remove.
34966         (exp2_mpn): Use mp_log2.
34967         (main): Use mp_exp1.
34969 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34971         * math/libm-test.inc: Remove comment about not testing "inexact"
34972         exceptions.
34973         (INEXACT_EXCEPTION): New macro.
34974         (NO_INEXACT_EXCEPTION): Likewise.
34975         (INVALID_EXCEPTION_OK): Update value.
34976         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34977         (OVERFLOW_EXCEPTION_OK): Likewise.
34978         (UNDERFLOW_EXCEPTION_OK): Likewise.
34979         (IGNORE_ZERO_INF_SIGN): Likewise.
34980         (ERRNO_UNCHANGED): Likewise.
34981         (ERRNO_EDOM): Likewise.
34982         (ERRNO_ERANGE): Likewise.
34983         (test_exceptions): Handle testing "inexact" exceptions.
34984         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34985         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34986         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34987         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34988         INEXACT_EXCEPTION.
34989         (rint_towardzero_test_data): Likewise.
34990         (rint_downward_test_data): Likewise.
34991         (rint_upward_test_data): Likewise.
34993         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34994         with OVERFLOW_EXCEPTION.
34995         (exp10_test_data): Likewise.
34996         (exp2_test_data): Likewise.
34997         (expm1_test_data): Likewise.
34998         (lgamma_test_data): Likewise.
34999         (pow_test_data): Likewise.
35000         (tgamma_test_data): Likewise.
35001         (yn_test_data): Remove duplicate test of overflow.
35003         * math/libm-test.inc (struct test_cc_c_data): New type.
35004         (RUN_TEST_LOOP_cc_c): New macro.
35005         (cpow_test_data): New variable.
35006         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35008         * math/libm-test.inc (struct test_f_L_data): New type.
35009         (RUN_TEST_LOOP_f_L): New macro.
35010         (llrint_test_data): New variable.
35011         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35012         (llrint_tonearest_test_data): New variable.
35013         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35014         (llrint_towardzero_test_data): New variable.
35015         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35016         (llrint_downward_test_data): New variable.
35017         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35018         (llrint_upward_test_data): New variable.
35019         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35020         (llround_test_data): New variable.
35021         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35023 2013-05-13  Peter Collingbourne  <pcc@google.com>
35025         * math/atest-exp2.c (get_log2): Remove const attribute.
35027 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35029         * math/libm-test.inc (struct test_f_l_data): New type.
35030         (RUN_TEST_LOOP_f_l): New macro.
35031         (lrint_test_data): New variable.
35032         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35033         (lrint_tonearest_test_data): New variable.
35034         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35035         (lrint_towardzero_test_data): New variable.
35036         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35037         (lrint_downward_test_data): New variable.
35038         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35039         (lrint_upward_test_data): New variable.
35040         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35041         (lround_test_data): New variable.
35042         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35044 2013-05-15  Peter Collingbourne  <pcc@google.com>
35046         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35047         (EXTRACT_WORDS64) Use where appropriate.
35048         (INSERT_WORDS64) Likewise.
35050         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35051         constraints with x constraints.
35052         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35054         * malloc/obstack.c (_obstack_compat): Add initializer.
35056 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35058         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35059         si_trapno and add si_addr_lsb to _sifields.sigfault.
35060         (si_trapno): Remove macro.
35061         (si_addr_lsb): Define new macro.
35062         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35064 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35066         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35067         instead of TEST_f_l.
35068         (llrint_test_tonearest): Likewise.
35069         (llrint_test_towardzero): Likewise.
35070         (llrint_test_downward): Likewise.
35071         (llrint_test_upward): Likewise.
35072         (llround_test): Likewise.
35074         * math/libm-test.inc (struct test_f_i_data): Add comment.
35075         (RUN_TEST_LOOP_f_b): New macro.
35076         (RUN_TEST_LOOP_f_b_tg): Likewise.
35077         (finite_test_data): New variable.
35078         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35079         (isfinite_test_data): New variable.
35080         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35081         (isinf_test_data): New variable.
35082         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35083         (isnan_test_data): New variable.
35084         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35085         (isnormal_test_data): New variable.
35086         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35087         (issignaling_test_data): New variable.
35088         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35089         (signbit_test_data): New variable.
35090         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35092         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35093         with INVALID_EXCEPTION.
35094         (acosh_test_data): Likewise.
35095         (asin_test_data): Likewise.
35096         (atanh_test_data): Likewise.
35097         (fmod_test_data): Likewise.
35098         (log_test_data): Likewise.
35099         (log10_test_data): Likewise.
35100         (log2_test_data): Likewise.
35101         (pow_test_data): Likewise.
35102         (sqrt_test_data): Likewise.
35103         (y0_test_data): Likewise.
35104         (y1_test_data): Likewise.
35105         (yn_test_data): Likewise.
35107         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35108         function contents.
35110         * math/libm-test.inc (struct test_ff_i_data): New type.
35111         (RUN_TEST_LOOP_ff_i_tg): New macro.
35112         (isgreater_test_data): New variable.
35113         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35114         (isgreaterequal_test_data): New variable.
35115         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35116         (isless_test_data): New variable.
35117         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35118         (islessequal_test_data): New variable.
35119         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35120         (islessgreater_test_data): New variable.
35121         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35122         (isunordered_test_data): New variable.
35123         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35125 2013-05-14  David S. Miller  <davem@davemloft.net>
35127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35129 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35131         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35133         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35134         extra_test to int.
35135         (struct test_f_i_data): Change type of max_ulp to int.
35137         * math/libm-test.inc (test_ffI_f1_data): New type.
35138         (RUN_TEST_LOOP_ffI_f1): New macro.
35139         (remquo_test_data): New variable.
35140         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35142         * setjmp/tst-setjmp-fp.c: New file.
35143         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35144         (link-libm): New variable.
35145         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35147         * math/libm-test.inc (struct test_f_i_data): New type.
35148         (RUN_TEST_LOOP_f_i): New macro.
35149         (RUN_TEST_LOOP_f_i_tg): Likewise.
35150         (fpclassify_test_data): New variable.
35151         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35152         (ilogb_test_data): New variable.
35153         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35155         * math/libm-test.inc (scalbln_test): Correct function name in END
35156         call.
35158         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35159         (RUN_TEST_LOOP_fI_f1): New macro.
35160         (frexp_test_data): New variable.
35161         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35163         * math/libm-test.inc (struct test_fF_f1_data): New type.
35164         (RUN_TEST_LOOP_fF_f1): New macro.
35165         (modf_test_data): New variable.
35166         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35168         * math/libm-test.inc (struct test_f_f1_data): New type.
35169         (RUN_TEST_LOOP_f_f1): New macro.
35170         (gamma_test_data): New variable.
35171         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35172         (lgamma_test_data): New variable.
35173         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35175 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35177         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35178         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35179         (main): Comment "tls" pseudo-hwcap.
35181 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35183         * math/libm-test.inc (struct test_fl_f_data): New type.
35184         (RUN_TEST_LOOP_fl_f): New variable.
35185         (scalbln_test_data): New variable.
35186         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35188         * math/libm-test.inc (struct test_fi_f_data): New type.
35189         (RUN_TEST_LOOP_fi_f): New macro.
35190         (ldexp_test_data): New variable.
35191         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35192         (scalbn_test_data): New variable.
35193         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35195         * math/libm-test.inc (struct test_c_f_data): New type.
35196         (RUN_TEST_LOOP_c_f): New macro.
35197         (cabs_test_data): New variable.
35198         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35199         (carg_test_data): New variable.
35200         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35201         (cimag_test_data): New variable.
35202         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35203         (creal_test_data): New variable.
35204         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35206         * math/libm-test.inc (struct test_if_f_data): New type.
35207         (RUN_TEST_LOOP_if_f): New macro.
35208         (jn_test_data): New variable.
35209         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35210         (yn_test_data): New variable.
35211         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35213         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35215 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35217         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35218         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35220 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35222         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35223         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35224         (bench-deps): Add bench-timing.h.
35225         * benchtests-bench-skeleton.c: Include bench-timing.h.
35226         (main): Use TIMING_* macros instead of clock_gettime.
35227         * benchtests/bench-timing.h: New file.
35229         [BZ #14582]
35230         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35231         Renamed from _LIB_VERSION.
35232         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35234 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35236         * math/libm-test.inc (struct test_fff_f_data): New type.
35237         (RUN_TEST_LOOP_fff_f): New macro.
35238         (fma_test_data): New variable.
35239         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35240         (fma_towardzero_test_data): New variable.
35241         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35242         (fma_downward_test_data): New variable.
35243         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35244         (fma_upward_test_data): New variable.
35245         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35247         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35248         (struct test_c_c_data): New type.
35249         (RUN_TEST_LOOP_c_c): New macro.
35250         (cacos_test_data): New variable.
35251         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35252         (cacosh_test_data): New variable.
35253         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35254         (casin_test_data): New variable.
35255         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35256         (casinh_test_data): New variable.
35257         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35258         (catan_test_data): New variable.
35259         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35260         (catanh_test_data): New variable.
35261         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35262         (ccos_test_data): New variable.
35263         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35264         (ccosh_test_data): New variable.
35265         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35266         (cexp_test_data): New variable.
35267         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35268         (clog_test_data): New variable.
35269         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35270         (clog10_test_data): New variable.
35271         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35272         (conj_test_data): New variable.
35273         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35274         (cproj_test_data): New variable.
35275         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35276         (csin_test_data): New variable.
35277         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35278         (csinh_test_data): New variable.
35279         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35280         (csqrt_test_data): New variable.
35281         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35282         (ctan_test_data): New variable.
35283         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35284         (ctan_tonearest_test_data): New variable.
35285         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35286         (ctan_towardzero_test_data): New variable.
35287         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35288         (ctan_downward_test_data): New variable.
35289         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35290         (ctan_upward_test_data): New variable.
35291         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35292         (ctanh_test_data): New variable.
35293         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35294         (ctanh_tonearest_test_data): New variable.
35295         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35296         (ctanh_towardzero_test_data): New variable.
35297         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35298         (ctanh_downward_test_data): New variable.
35299         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35300         (ctanh_upward_test_data): New variable.
35301         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35302         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35303         of BUILD_COMPLEX.
35305         * math/libm-test.inc (struct test_ff_f_data): New type.
35306         (struct test_ff_f_data_nexttoward): Likewise.
35307         (RUN_TEST_LOOP_2_f): New macro.
35308         (RUN_TEST_LOOP_ff_f): Likewise.
35309         (atan2_test_data): New variable.
35310         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35311         (copysign_test_data): New variable.
35312         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35313         (fdim_test_data): New variable.
35314         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35315         (fmax_test_data): New variable.
35316         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35317         (fmin_test_data): New variable.
35318         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35319         (fmod_test_data): New variable.
35320         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35321         (hypot_test_data): New variable.
35322         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35323         (nextafter_test_data): New variable.
35324         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35325         (nexttoward_test_data): New variable.
35326         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35327         (pow_test_data): New variable.
35328         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35329         (pow_tonearest_test_data): New variable.
35330         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35331         (pow_towardzero_test_data): New variable.
35332         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35333         (pow_downward_test_data): New variable.
35334         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35335         (pow_upward_test_data): New variable.
35336         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35337         (remainder_test_data): New variable.
35338         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35339         (scalb_test_data): New variable.
35340         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35341         * sysdeps/i386/fpu/libm-test-ulps: Update.
35343 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35345         * math/libm-test.inc (fma_test): Use max_value instead of local
35346         variable fltmax.
35347         (nextafter_test): Likewise.
35349         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35350         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35351         (acos_downward_test_data): New variable.
35352         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35353         (acos_upward_test_data): New variable.
35354         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35355         (acosh_test_data): New variable.
35356         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35357         (asin_test_data): New variable.
35358         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35359         (asin_tonearest_test_data): New variable.
35360         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35361         (asin_towardzero_test_data): New variable.
35362         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35363         (asin_downward_test_data): New variable.
35364         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35365         (asin_upward_test_data): New variable.
35366         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35367         (asinh_test_data): New variable.
35368         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35369         (atan_test_data): New variable.
35370         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35371         (atanh_test_data): New variable.
35372         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35373         (cbrt_test_data): New variable.
35374         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35375         (ceil_test_data): New variable.
35376         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35377         (cos_test_data): New variable.
35378         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35379         (cos_tonearest_test_data): New variable.
35380         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35381         (cos_towardzero_test_data): New variable.
35382         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35383         (cos_downward_test_data): New variable.
35384         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35385         (cos_upward_test_data): New variable.
35386         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35387         (cosh_test_data): New variable.
35388         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35389         (cosh_tonearest_test_data): New variable.
35390         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35391         (cosh_towardzero_test_data): New variable.
35392         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35393         (cosh_downward_test_data): New variable.
35394         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35395         (cosh_upward_test_data): New variable.
35396         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35397         (erf_test_data): New variable.
35398         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35399         (erfc_test_data): New variable.
35400         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35401         (exp_test_data): New variable.
35402         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35403         (exp_tonearest_test_data): New variable.
35404         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35405         (exp_towardzero_test_data): New variable.
35406         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35407         (exp_downward_test_data): New variable.
35408         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35409         (exp_upward_test_data): New variable.
35410         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35411         (exp10_test_data): New variable.
35412         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35413         (exp2_test_data): New variable.
35414         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35415         (expm1_test_data): New variable.
35416         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35417         (fabs_test_data): New variable.
35418         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35419         (floor_test_data): New variable.
35420         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35421         (j0_test_data): New variable.
35422         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35423         (j1_test_data): New variable.
35424         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35425         (log_test_data): New variable.
35426         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35427         (log10_test_data): New variable.
35428         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35429         (log1p_test_data): New variable.
35430         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35431         (log2_test_data): New variable.
35432         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35433         (logb_test_data): New variable.
35434         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35435         (logb_downward_test_data): New variable.
35436         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35437         (nearbyint_test_data): New variable.
35438         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35439         (rint_test_data): New variable.
35440         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35441         (rint_tonearest_test_data): New variable.
35442         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35443         (rint_towardzero_test_data): New variable.
35444         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35445         (rint_downward_test_data): New variable.
35446         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35447         (rint_upward_test_data): New variable.
35448         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35449         (round_test_data): New variable.
35450         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35451         (sin_test_data): New variable.
35452         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35453         (sin_tonearest_test_data): New variable.
35454         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35455         (sin_towardzero_test_data): New variable.
35456         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35457         (sin_downward_test_data): New variable.
35458         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35459         (sin_upward_test_data): New variable.
35460         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35461         (sinh_test_data): New variable.
35462         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35463         (sinh_tonearest_test_data): New variable.
35464         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35465         (sinh_towardzero_test_data): New variable.
35466         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35467         (sinh_downward_test_data): New variable.
35468         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35469         (sinh_upward_test_data): New variable.
35470         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35471         (sqrt_test_data): New variable.
35472         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35473         (tan_test_data): New variable.
35474         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35475         (tan_tonearest_test_data): New variable.
35476         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35477         (tan_towardzero_test_data): New variable.
35478         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35479         (tan_downward_test_data): New variable.
35480         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35481         (tan_upward_test_data): New variable.
35482         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35483         (tanh_test_data): New variable.
35484         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35485         (tgamma_test_data): New variable.
35486         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35487         (trunc_test_data): New variable.
35488         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35489         (y0_test_data): New variable.
35490         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35491         (y1_test_data): New variable.
35492         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35493         (significand_test_data): New variable.
35494         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35496 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35498         [BZ #12387]
35499         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35501 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35503         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35505 2013-05-10  Andreas Jaeger  <aj@suse.de>
35507         [BZ #15448]
35508         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35509         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35511 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35513         * math/gen-libm-test.pl (adjust_arg): New function.
35514         (special_functions): Handle generating output in both functions
35515         and arrays.
35516         (parse_args): Likewise.
35517         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35518         $in_func argument to parse_args.
35519         * math/libm-test.inc (struct test_f_f_data): New type.
35520         (IF_ROUND_INIT_): New macro.
35521         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35522         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35523         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35524         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35525         (ROUND_RESTORE_): Likewise.
35526         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35527         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35528         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35529         (ROUND_RESTORE_FE_UPWARD): Likewise.
35530         (RUN_TEST_LOOP_f_f): New macro.
35531         (acos_test_data): New variable.
35532         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35533         (acos_tonearest_test_data): New variable.
35534         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35536 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35538         * benchtests/bench-skeleton.c (startup): Fix coding style.
35540 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35542         [BZ #6809]
35543         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35544         negative infinity argument.
35545         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35546         negative infinity argument.
35547         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35548         negative infinity argument.
35549         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35550         domain errors.
35552 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35554         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35555         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35556         * iconv/iconv_prog.c (main): Likewise.
35557         * locale/programs/charmap-dir.c (charmap_readdir)
35558         (fopen_uncompressed): Likewise.
35559         * locale/programs/locfile.c (siblings_uncached)
35560         (write_locale_data): Use lstat64 instead of lstat.
35561         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35562         stat.
35564 2013-05-10  Andreas Jaeger  <aj@suse.de>
35566         [BZ #15395]
35567         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35568         localization.
35569         Include <locale.h>.
35571 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35573         * elf/dl-close.c (_dl_close_worker): Add comments.
35575 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35577         [BZ #15359]
35578         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35579         high part of pi/2.
35580         (__ieee754_rem_pio2l): Update comments.
35582         [BZ #15429]
35583         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35584         high part of pi/2.
35585         (__ieee754_rem_pio2l): Update comments.
35587         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35588         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35590         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35591         M_PI_4l.
35593         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35594         (M_PI_34_LOG10El): Likewise.
35595         (M_PI2_LOG10El): Likewise.
35596         (M_PI4_LOG10El): Likewise.
35597         (M_PI_LOG10El): Likewise.
35599 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35603 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35605         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35606         (MINUS_ZERO_INIT): Likewise.
35607         (PLUS_INFTY_INIT): Likewise.
35608         (MINUS_INFTY_INIT): Likewise.
35609         (QNAN_VALUE_INIT): Likewise.
35610         (MAX_VALUE_INIT): Likewise.
35611         (MIN_VALUE_INIT): Likewise.
35612         (MIN_SUBNORM_VALUE_INIT): Likewise.
35613         (plus_zero): Initialize with PLUS_ZERO_INIT.
35614         (minus_zero): Initialize with MINUS_ZERO_INIT.
35615         (plus_infty): Initialize with PLUS_INFTY_INIT.
35616         (minus_infty): Initialize with MINUS_INFTY_INIT.
35617         (qnan_value): Initialize with QNAN_VALUE_INIT.
35618         (max_value): Initialize with MAX_VALUE_INIT.
35619         (min_value): Initialize with MIN_VALUE_INIT.
35620         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35622         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35623         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35624         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35625         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35627         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35628         (RUN_TEST_2_f): Likewise.
35629         (RUN_TEST_ff_f): Likewise.
35630         (RUN_TEST_fi_f): Likewise.
35631         (RUN_TEST_fl_f): Likewise.
35632         (RUN_TEST_fff_f): Likewise.
35633         (RUN_TEST_c_f): Likewise.
35634         (RUN_TEST_f_f1): Likewise.
35635         (RUN_TEST_fF_f1): Likewise.
35636         (RUN_TEST_fI_f1): Likewise.
35637         (RUN_TEST_ffI_f1): Likewise.
35638         (RUN_TEST_c_c): Likewise.
35639         (RUN_TEST_cc_c): Likewise.
35640         (RUN_TEST_f_i): Likewise.
35641         (RUN_TEST_f_i_tg): Likewise.
35642         (RUN_TEST_ff_i_tg): Likewise.
35643         (RUN_TEST_f_b): Likewise.
35644         (RUN_TEST_f_b_tg): Likewise.
35645         (RUN_TEST_f_l): Likewise.
35646         (RUN_TEST_f_L): Likewise.
35647         (RUN_TEST_sincos): Likewise.
35648         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35649         whether to show exceptions.  Do not include ");\n" in return
35650         value.
35651         (special_functions): Output call to RUN_TEST_sincos instead of
35652         check_float calls.  Update calls to new_test.
35653         (parse_args): Output call to single RUN_TEST_* macro instead of
35654         check_* calls and other assignments.  Update calls to new_test.
35656         [BZ #2546]
35657         [BZ #2560]
35658         [BZ #5159]
35659         [BZ #15426]
35660         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35661         input to result for tgamma overflow.
35662         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35663         (gamma_coeff): New variable.
35664         (NCOEFF): New macro.
35665         (gamma_positive): New function.
35666         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35667         underflow here.  Use gamma_positive instead of exp (lgamma) for
35668         other arguments.
35669         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35670         (gamma_coeff): New variable.
35671         (NCOEFF): New macro.
35672         (gammaf_positive): New function.
35673         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35674         underflow here.  Use gamma_positive instead of exp (lgamma) for
35675         other arguments.
35676         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35677         (gamma_coeff): New variable.
35678         (NCOEFF): New macro.
35679         (gammal_positive): New function.
35680         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35681         underflow here.  Use gamma_positive instead of exp (lgamma) for
35682         other arguments.
35683         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35684         (gamma_coeff): New variable.
35685         (NCOEFF): New macro.
35686         (gammal_positive): New function.
35687         (__ieee754_gammal_r): Handle positive infinity, overflow and
35688         underflow here.  Handle NaN the same as positive infinity.  Remove
35689         check x < 0xffffffff for negative integers.  Use gamma_positive
35690         instead of exp (lgamma) for other arguments.
35691         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35692         (gamma_coeff): New variable.
35693         (NCOEFF): New macro.
35694         (gammal_positive): New function.
35695         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35696         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35699         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35700         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35701         * sysdeps/generic/math_private.h (__gamma_productf): New
35702         prototype.
35703         (__gamma_product): Likewise.
35704         (__gamma_productl): Likewise.
35705         * math/Makefile (libm-calls): Add gamma_product.
35706         * math/libm-test.inc (tgamma_test): Add more tests.
35707         * sysdeps/i386/fpu/libm-test-ulps: Update.
35708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35710 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35712         * benchtests/bench-skeleton.c (main): Preheat CPU.
35714 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35716         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35718 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35720         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35721         and _dl_skip_args_internal.
35723 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35725         * manual/message.texi (Message Translation): Talk about users.
35726         Message to key mapping impacts design.
35728 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35730         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35732         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35734         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35735         * sysdeps/wordsize-64/glob64.c: ... here.
35737         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35738         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35739         New macros.
35741         * debug/getlogin_r_chk.c: Moved to ...
35742         * login/getlogin_r_chk.c: ... here.
35743         * debug/Makefile (routines): Move getlogin_r_chk to ...
35744         * login/Makefile (routines): ... here.
35745         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35746         * login/Versions (libc: GLIBC_2.4): ... here.
35748         * io/poll.c (__poll): Renamed from poll.
35749         Add libc_hidden_def.
35750         (poll): Define as weak alias.
35752         * debug/ptsname_r_chk.c: Moved to ...
35753         * login/ptsname_r_chk.c: ... here.
35754         * debug/Makefile (routines): Move ptsname_r_chk to ...
35755         * login/Makefile (routines): ... here.
35756         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35757         * login/Versions (libc: GLIBC_2.4): ... here.
35759         * posix/getlogin.c: Moved to ...
35760         * login/getlogin.c: ... here.
35761         * posix/getlogin_r.c: Moved to ...
35762         * login/getlogin_r.c: ... here.
35763         * posix/getlogin_r.c: Moved to ...
35764         * login/getlogin_r.c: ... here.
35765         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35766         * login/Makefile (routines): ... here.
35767         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35768         * login/Versions (libc: GLIBC_2.0): ... here.
35770         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35771         (setrlimit): Define as weak alias.
35773         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35774         Call __ names for open, ftruncate, and close.
35775         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35776         (truncate): Define as weak alias.
35778 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35780         * math/gen-libm-test.pl (parse_args): Initialize x before each
35781         test of frexp, modf and remquo.
35783         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35784         test signgam value.
35786 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35788         [BZ #15418]
35789         [BZ #15419]
35790         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35791         internal tests.
35792         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35794 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35796         * elf/dl-writev.h: New file.
35797         * elf/dl-misc.c: Include it.
35798         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35799         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35801 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35803         * math/libm-test.inc (noXFails): Remove variable.
35804         (noXPasses): Likewise.
35805         (BUILD_COMPLEX_INT): Remove macro.
35806         (print_screen): Remove xfail argument.
35807         (print_screen_max_error): Likewise.
35808         (update_stats): Likewise.
35809         (print_max_error): Likewise.  Update calls to other affected
35810         functions.
35811         (print_complex_max_error): Likewise.
35812         (test_single_exception): Update calls to print_screen.
35813         (test_single_errno): Likewise.
35814         (check_float_internal): Remove xfail argument.  Update calls to
35815         other affected functions.
35816         (check_float): Likewise.
35817         (check_complex): Likewise.
35818         (check_int): Likewise.
35819         (check_long): Likewise.
35820         (check_bool): Likewise.
35821         (check_longlong): Likewise.
35822         (main): Don't print noXFails and noXPasses.
35823         * math/gen-libm-test.pl (top level): Don't mention expected
35824         failure handling in comment.
35825         (new_test): Don't handle expected failures.
35826         (parse_args): Don't mention expected failure handling in comment.
35827         (generate_testfile): Don't handle expected failures.
35828         (parse_ulps): Likewise.
35829         (print_ulps_file): Likewise.
35830         (get_failure): Remove function.
35831         (output_test): Don't handle expected failures.
35832         * make/README.libm-test: Don't mention expected failure handling.
35834         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35835         (minus_zero): Likewise.
35836         (plus_infty): Likewise.
35837         (minus_infty): Likewise.
35838         (qnan_value): Likewise.
35839         (max_value): Likewise.
35840         (min_value): Likewise.
35841         (min_subnorm_value): Likewise.
35842         (initialize): Do not initialize those variables dynamically.
35844 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35846         * io/open.c (__open_2): Moved to ...
35847         * io/open_2.c: ... this new file.
35848         * io/open64.c (__open64_2): Moved to ...
35849         * io/open64_2.c: ... this new file.
35850         * io/openat.c (__openat_2): Moved to ...
35851         * io/openat_2.c: ... this new file.
35852         * io/openat64.c (__openat64_2): Moved to ...
35853         * io/openat64_2.c: ... this new file.
35854         * io/Makefile (routines): Add them.
35855         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35856         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35857         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35858         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35859         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35860         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35861         (__openat64): Add hidden_ver.
35862         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35863         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35865         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35866         Separately conditionalize setting of GLRO(dl_sysinfo) so
35867         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35868         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35870 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35872         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35873         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35874         definition.
35875         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35876         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35877         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35878         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35879         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35881 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35883         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35884         test signgam value.
35886         * math/libm-test.inc (hypot_test): Do not use
35887         IGNORE_ZERO_INF_SIGN.
35889 2013-05-03  Andreas Jaeger  <aj@suse.de>
35891         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35892         Linux 3.9.
35893         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35894         (PF_MAX): Adjust for VSOCK change.
35896 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35900 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35902         [BZ #15264]
35903         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35904         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35905         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35907 2013-05-02  David S. Miller  <davem@davemloft.net>
35909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35911 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35913         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35915 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35917         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35919 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35921         [BZ #14952]
35922         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35923         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35924         Use __attribute__ ((__gnu_inline__)).
35925         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35926         Don't use __attribute__ ((__gnu_inline__)).
35928 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35930         [BZ #15423]
35931         * math/s_catan.c (__catan): Handle small real or imaginary part of
35932         input specially to avoid spurious underflow.
35933         * math/s_catanf.c (__catanf): Likewise.
35934         * math/s_catanh.c (__catanh): Likewise.
35935         * math/s_catanhf.c (__catanhf): Likewise.
35936         * math/s_catanhl.c (__catanhl): Likewise.
35937         * math/s_catanl.c (__catanl): Likewise.
35938         * math/libm-test.inc (catan_test): Add more tests.
35939         (catanh_test): Likewise.
35940         * sysdeps/i386/fpu/libm-test-ulps: Update.
35941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35943 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35947 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35949         [BZ #15416]
35950         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35951         accurately for denominator in atan2.
35952         * math/s_catanf.c (__catanf): Likewise.
35953         * math/s_catanh.c (__catanh): Likewise.
35954         * math/s_catanhf.c (__catanhf): Likewise.
35955         * math/s_catanhl.c (__catanhl): Likewise.
35956         * math/s_catanl.c (__catanl): Likewise.
35957         * math/libm-test.inc (catan_test): Add more tests.
35958         (catanh_test): Likewise.
35959         * sysdeps/i386/fpu/libm-test-ulps: Update.
35960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35962 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35964         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35966         * benchtests/Makefile (bench): Remove slow benchmarks.
35967         * benchtests/atan-inputs: Add slow benchmark inputs.
35968         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35969         (BENCH_FUNC): Accept variant offset.
35970         (VARIANT): Define.
35971         * benchtests/bench-skeleton.c (main): Run benchmark for each
35972         variant.
35973         * benchtests/cos-inputs: Add slow benchmark inputs.
35974         * benchtests/exp-inputs: Likewise.
35975         * benchtests/pow-inputs: Likewise.
35976         * benchtests/sin-inputs: Likewise.
35977         * benchtests/slowatan-inputs: Remove.
35978         * benchtests/slowatan.c: Remove.
35979         * benchtests/slowcos-inputs: Remove.
35980         * benchtests/slowcos.c: Remove.
35981         * benchtests/slowexp-inputs: Remove.
35982         * benchtests/slowexp.c: Remove.
35983         * benchtests/slowpow-inputs: Remove.
35984         * benchtests/slowpow.c: Remove.
35985         * benchtests/slowsin-inputs: Remove.
35986         * benchtests/slowsin.c: Remove.
35987         * benchtests/slowtan-inputs: Remove.
35988         * benchtests/slowtan.c: Remove.
35989         * benchtests/tan-inputs: Add slow benchmark inputs.
35990         * scripts/bench.pl: Parse comments and directives.
35992         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35993         in CPPFLAGS.
35994         ($(objpfx)bench-%.c): Remove *-ITER.
35995         * benchtests/bench-modf.c: Remove definition of ITER.
35996         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35997         (main): Loop for DURATION seconds instead of fixed number of
35998         iterations.
35999         * scripts/bench.pl: Don't expect iterations in parameters.
36001 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36003         * io/fchdir.c (__fchdir): Renamed from fchdir.
36004         (fchdir): Define as weak alias.
36006 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36008         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36009         (ERRNO_EDOM): Likewise.
36010         (ERRNO_ERANGE): Likewise.
36011         (noErrnoTests): New variable.
36012         (init_max_error): Set errno to 0.
36013         (test_single_errno): New function.
36014         (test_errno): Likewise.
36015         (check_float_internal): Call test_errno.  Set errno to 0.
36016         (check_complex): Refer to errno tests in comment.
36017         (check_int): Call test_errno.  Set errno to 0.
36018         (check_long): Likewise.
36019         (check_bool): Likewise.
36020         (check_longlong): Likewise.
36021         (cos_test): Use ERRNO_* flags for errno tests instead of
36022         check_int.
36023         (expm1_test): Likewise.
36024         (fmod_test): Likewise.
36025         (ilogb_test): Likewise.
36026         (lgamma_test): Likewise.
36027         (pow_test): Likewise.
36028         (remainder_test): Likewise.
36029         (sin_test): Likewise.
36030         (tan_test): Likewise.
36031         (yn_test): Likewise.
36032         (initialize): Set errno to 0.
36033         (main): Print number of errno tests.
36034         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36036 2013-04-29  Andreas Jaeger  <aj@suse.de>
36038         [BZ #15084]
36039         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36040         and RES_USEVC.
36042         [BZ #15085]
36043         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36044         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36045         unimplemented.
36047         [BZ #15380]
36048         * stdlib/random.c (__initstate): Return NULL if
36049         __initstate fails.
36051         [BZ #15086]
36052         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36053         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36054         RES_SNGLKUPREOP.
36056 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36060 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36062         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36063         of individual tests.
36064         (casin_test): Likewise.
36065         (casinh_test): Likewise.
36067 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36069         [BZ #15409]
36070         * math/s_catan.c (__catan): Handle arguments with large real or
36071         imaginary part separately without squaring.
36072         * math/s_catanf.c (__catanf): Likewise.
36073         * math/s_catanh.c (__catanh): Likewise.
36074         * math/s_catanhf.c (__catanhf): Likewise.
36075         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36076         and redefine.
36077         (__catanhl): Handle arguments with large real or imaginary part
36078         separately without squaring.
36079         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36080         and redefine.
36081         (__catanl): Handle arguments with large real or imaginary part
36082         separately without squaring.
36083         * math/libm-test.inc (catan_test): Add more tests.
36084         (catanh_test): Likewise.
36085         * sysdeps/i386/fpu/libm-test-ulps: Update.
36086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36088 2013-04-27  Andreas Jaeger  <aj@suse.de>
36090         [BZ #15007]
36091         * stdlib/stdlib.h: Update guards for qecvt.
36092         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36093         <stdlib.h>.
36095 2013-04-27  Allan McRae  <allan@archlinux.org>
36097         * sysdeps/i386/fpu/libm-test-ulps: Update.
36099 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36101         [BZ #15406]
36102         * math/s_catan.c: Include <float.h>.
36103         (__catan): Ensure underflow exception occurs for underflowed
36104         result.
36105         * math/s_catanf.c: Include <float.h>.
36106         (__catanf): Ensure underflow exception occurs for underflowed
36107         result.
36108         * math/s_catanh.c: Include <float.h>.
36109         (__catanh): Ensure underflow exception occurs for underflowed
36110         result.
36111         * math/s_catanhf.c: Include <float.h>.
36112         (__catanhf): Ensure underflow exception occurs for underflowed
36113         result.
36114         * math/s_catanhl.c: Include <float.h>.
36115         (__catanhl): Ensure underflow exception occurs for underflowed
36116         result.
36117         * math/s_catanl.c: Include <float.h>.
36118         (__catanl): Ensure underflow exception occurs for underflowed
36119         result.
36120         * math/libm-test.inc (catan_test): Add more tests.
36121         (catanh_test): Likewise.
36123         [BZ #15405]
36124         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36125         underflowed result.
36126         * math/s_ccoshf.c (__ccoshf): Likewise.
36127         * math/s_ccoshl.c (__ccoshl): Likewise.
36128         * math/s_csin.c (__csin): Likewise.
36129         * math/s_csinf.c (__csinf): Likewise.
36130         * math/s_csinh.c (__csinh): Likewise.
36131         * math/s_csinhf.c (__csinhf): Likewise.
36132         * math/s_csinhl.c (__csinhl): Likewise.
36133         * math/s_csinl.c (__csinl): Likewise.
36134         * math/libm-test.inc (ccos_test): Add more tests.
36135         (ccosh_test): Likewise.
36136         (csin_test): Likewise.
36137         (csinh_test): Likewise.
36139 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36141         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36142         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36143         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36144         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36145         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36146         powerpc/power5+/fpu folders.
36147         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36150 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36154 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36156         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36157         additions to variable.
36158         [$(config-machine) = x86_64] (modules-names): Likewise.
36159         ($(objpfx)tst-audit3): Remove dependency.
36160         ($(objpfx)tst-audit3.out): Likewise.
36161         ($(objpfx)tst-audit4): Likewise.
36162         ($(objpfx)tst-audit4.out): Likewise.
36163         ($(objpfx)tst-audit5): Likewise.
36164         ($(objpfx)tst-audit5.out): Likewise.
36165         ($(objpfx)tst-audit6): Likewise.
36166         ($(objpfx)tst-audit6.out): Likewise.
36167         ($(objpfx)tst-audit7): Likewise.
36168         ($(objpfx)tst-audit7.out): Likewise.
36169         (tst-audit3-ENV): Remove variable.
36170         (tst-audit4-ENV): Likewise.
36171         (tst-audit5-ENV): Likewise.
36172         (tst-audit6-ENV): Likewise.
36173         (tst-audit7-ENV): Likewise.
36174         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36175         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36176         addition to variable.
36177         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36178         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36179         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36180         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36181         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36182         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36183         tst-audit3, tst-audit4 and tst-audit5.
36184         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36185         tst-audit6 and tst-audit7.
36186         [$(subdir) = elf] (modules-names): Add audit modules for those
36187         tests.
36188         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36189         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36190         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36191         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36192         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36193         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36194         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36195         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36196         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36197         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36198         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36199         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36200         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36201         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36202         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36203         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36204         Likewise.
36205         [$(subdir) = elf && $(config-cflags-avx) = yes]
36206         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36207         [$(subdir) = elf && $(config-cflags-avx) = yes]
36208         (CFLAGS-tst-auditmod4a.c): Likewise.
36209         [$(subdir) = elf && $(config-cflags-avx) = yes]
36210         (CFLAGS-tst-auditmod4b.c): Likewise.
36211         [$(subdir) = elf && $(config-cflags-avx) = yes]
36212         (CFLAGS-tst-auditmod6b.c): Likewise.
36213         [$(subdir) = elf && $(config-cflags-avx) = yes]
36214         (CFLAGS-tst-auditmod6c.c): Likewise.
36215         [$(subdir) = elf && $(config-cflags-avx) = yes]
36216         (CFLAGS-tst-auditmod7b.c): Likewise.
36217         * elf/tst-audit3.c: Move to ...
36218         * sysdeps/x86_64/tst-audit3.c: ... here.
36219         * elf/tst-audit4.c: Move to ...
36220         * sysdeps/x86_64/tst-audit4.c: ... here.
36221         * elf/tst-audit5.c: Move to ...
36222         * sysdeps/x86_64/tst-audit5.c: ... here.
36223         * elf/tst-audit6.c: Move to ...
36224         * sysdeps/x86_64/tst-audit6.c: ... here.
36225         * elf/tst-audit7.c: Move to ...
36226         * sysdeps/x86_64/tst-audit7.c: ... here.
36227         * elf/tst-auditmod3a.c: Move to ...
36228         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36229         * elf/tst-auditmod3b.c: Move to ...
36230         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36231         * elf/tst-auditmod4a.c: Move to ...
36232         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36233         * elf/tst-auditmod4b.c: Move to ...
36234         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36235         * elf/tst-auditmod5a.c: Move to ...
36236         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36237         * elf/tst-auditmod5b.c: Move to ...
36238         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36239         * elf/tst-auditmod6a.c: Move to ...
36240         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36241         * elf/tst-auditmod6b.c: Move to ...
36242         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36243         * elf/tst-auditmod6c.c: Move to ...
36244         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36245         * elf/tst-auditmod7a.c: Move to ...
36246         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36247         * elf/tst-auditmod7b.c: Move to ...
36248         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36250 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36252         [BZ #15366]
36253         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36254         define unconditionally.
36255         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36256         define unconditionally.
36257         (INT8_C, INT16_C, etc.): Likewise.
36259 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36261         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36262         __ehdr_start with hidden visibility.
36264         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36266 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36268         * math/libm-test.inc (cos_test): Use accurate hex constants.
36269         (sincost_test): Likewise.
36271 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36273         * math/libm-test.inc (catan_test): Add more tests.
36274         (catanh_test): Likewise.
36276         * math/s_catanf.c (__catanf): Use suffixed floating-point
36277         constants.
36278         * math/s_catanhf.c (__catanhf): Likewise.
36279         * math/s_catanhl.c (__catanhl): Likewise.
36280         * math/s_catanl.c (__catanl): Likewise.
36282         [BZ #15394]
36283         * math/s_catan.c (__catan): Calculate imaginary part of result
36284         with log1p not log unless computing log of number close to 0.
36285         * math/s_catanf.c (__catanf): Likewise.
36286         * math/s_catanl.c (__catanl): Likewise.
36287         * math/s_catanh.c (__catanh): Calculate real part of result with
36288         log1p not log unless computing log of number close to 0.
36289         * math/s_catanhf.c (__catanhf): Likewise.
36290         * math/s_catanhl.c (__catanhl): Likewise.
36291         * math/libm-test.inc (catan_test): Add more tests.
36292         (catanh_test): Likewise.
36293         * sysdeps/i386/fpu/libm-test-ulps: Update.
36294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36296 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36298         * benchtests/Makefile: Mention files in which fast and slow
36299         paths of math functions are implemented.
36301 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36303         * sysdeps/posix/timespec_get.c: New file.
36305 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36307         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36308         POWER.
36309         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36310         for POWER.
36311         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36312         powerpc/power5/fpu folders.
36313         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36314         * benchtests/Makefile: Add modf testcase.
36315         * benchtests/bench-modf.c: New file: Benchmark test for mo
36317 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36319         [BZ #14888]
36320         * time/Makefile (tests): Add tst-strptime-whitespace.
36321         * time/strptime_l.c (get_number): Use ISSPACE.
36322         (__strptime_internal): Likewise.
36323         * time/tst-strptime-whitespace.c: New test case.
36325 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36327         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36328         member.
36329         (_nss_files_init): Set it here.
36331 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36333         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36334         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36335         unsigned.
36337 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36339         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36341 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36343         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36344         size just once.
36346 2013-04-21  David S. Miller  <davem@davemloft.net>
36348         * po/ru.po: Update Russion translation from translation project.
36350 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36352         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36353         and setfsgid.
36355 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36357         * configure.in: Remove i386 configure warning. Remove i386 case.
36358         * configure: Regenerate.
36359         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36360         Add example to error message.
36361         * sysdeps/i386/configure: Regenerate.
36363 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36365         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36366         slowtan.
36367         * benchtests/cos-inputs: New file.
36368         * benchtests/slowcos-inputs: New file.
36369         * benchtests/slowcos.c: New file.
36370         * benchtests/slowtan-inputs: New file.
36371         * benchtests/slowtan.c: New file.
36372         * benchtests/tan-inputs: New file.
36374 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36376         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36377         considered kosher.
36379 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36381         * benchtests/Makefile: Include cppflags-iterator.mk to add
36382         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36384         * Makefile.in (bench-clean): New target.
36385         * benchtests/Makefile (bench-clean): Likewise.
36387 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36389         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36391 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36393         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36395 2013-04-15  Andreas Schwab  <schwab@suse.de>
36397         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36398         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36399         * nscd/pwdcache.c (cache_addpw): Likewise.
36400         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36401         more than recsize.
36403 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36405         * benchtests/Makefile (bench): Write all output to
36406         bench-out.tmp together.
36408 2013-04-15  Andreas Schwab  <schwab@suse.de>
36410         * nscd/nscd.c (main): Don't fork again after closing files.
36412 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36414         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36416         * benchtests/Rules (bench-deps): Collect dependencies into a
36417         single variable.  Add Makefile to dependencies.
36418         ($(objpfx)bench-%.c): Depend on bench-deps.
36420 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36421             Xavier Roche  <roche+kml2@exalead.com>
36423         [BZ #15361]
36424         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36425         just that it's a file descriptor.
36426         * manual/llio.texi (Synchronizing AIO Operations): Update description
36427         for EBADF error from aio_fsync.
36429 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36431         * Rules (bench): Move target definition...
36432         * benchtests/Makefile: ... here.
36434 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36436         * math/libm-test.inc (cos_test): Fix PI/2 test.
36437         (sincos_test): Likewise.
36438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36439         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36441 2013-04-11  Andreas Schwab  <schwab@suse.de>
36443         [BZ #13988]
36444         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36445         accept exponent character only when digits were seen.
36446         * stdio-common/Makefile (tests): Add bug26.
36447         * stdio-common/bug26.c: New file.
36449         [BZ #14293]
36450         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36451         non-freeable.
36453 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36455         * Makeconfig (rtld-prefix): Define built linker prefix.
36456         * Rules (run-bench): Use it.
36457         * math/Makefile (run-regen-ulps): Likewise.
36459         * Rules (bench): Remove eval.
36461 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36462             Roland McGrath  <roland@hack.frob.com>
36463             Ondrej Bilka  <neleai@seznam.cz>
36465         [BZ #15346]
36466         * time/getdate.c: Include ctype.h and alloca.h.
36467         (__getdate_r): Trim leading and trailing spaces of input.
36468         * time/tst-getdate.c (tests): Add tests with leading and
36469         trailing spaces.
36471 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36473         [BZ #14280]
36474         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36475         when computing value.
36477 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36479         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36480         Use testrun.sh to run libm tests.
36482         [BZ #15309]
36483         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36485 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36487         [BZ #15264]
36488         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36490 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36492         * Makefile.in (regen-ulps): New target.
36493         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36494         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36495         [ifneq (no,$(PERL)] (regen-ulps): New target.
36496         [ifeq (no,$(PERL)] (regen-ulps): New target.
36497         * math/libm-test.inc (ulps_file_name): Define.
36498         (output_dir): New variable.
36499         (options): Add "output-dir" option.
36500         (parse_opt): Handle 'o' case.
36501         (main): If output_dir is non-NULL use it as a prefix
36502         otherwise use "".
36503         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36505 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36507         [BZ #10060, #10062]
36508         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36509         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36510         fail configure if __sync_val_compare_and_swap is not inlined.
36511         * sysdeps/i386/configure: Regenerate.
36512         * configure.in: Build for i686 when configured for i386.
36513         * configure: Regenerate.
36514         * README: Remove i386 reference.
36516 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36518         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36519         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36521 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36523         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36524         (lmsnanval): New variables.
36525         (F): Add conversion tests.
36526         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36527         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36529         * stdio-common/tstdiomisc.c (F): Properly collect individual
36530         tests' results.
36532         [BZ #14686, #15336]
36533         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36534         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36535         Instead, use input NaN values or generate a qNaN by arithmetic
36536         operation.  Also fix bugs to comply with the standard.
36537         * math/libm-test.inc (remainder_test): Add more tests.
36539         [BZ #15335, #15342]
36540         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36542         input NaN values or generate a qNaN by arithmetic operation.
36544         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36545         unreachable code.
36547         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36548         definitions.
36550 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36552         [BZ #14478]
36553         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36554         underflowed result.
36555         * math/s_cexpf.c (__cexpf): Likewise.
36556         * math/s_cexpl.c (__cexpl): Likewise.
36557         * math/libm-test.inc (cexp_test): Add more tests.
36559 2013-04-03  Andreas Schwab  <schwab@suse.de>
36561         [BZ #15330]
36562         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36563         order arrays from heap if bigger than alloca cutoff.
36565 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36567         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36568         (SNAN_TESTS_double): Refer to GCC PR56831.
36569         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36570         GCC PR56828.
36572 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36574         * Rules (bench): Move bench.out after the run is complete.
36576         * Rules (bench): Echo currently running benchmark.
36578         * benchtests/Makefile (bench): Add atan and slowatan.
36579         * benchtests/atan-inputs: New file.
36580         * benchtests/slowatan-inputs: New file.
36581         * benchtests/slowatan.c: New file.
36583         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36584         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36585         its value.
36587         [BZ #15305]
36588         * sysdeps/unix/sysv/linux/kernel-features.h
36589         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36590         __ASSUME_XFS_RESTRICTED_CHOWN.
36591         * sysdeps/unix/sysv/linux/pathconf.c
36592         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36593         Save and restore errno.
36595 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36597         [BZ #15327]
36598         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36599         arguments using __kernel_casinh.
36600         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36601         arguments using __kernel_casinhf.
36602         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36603         arguments using __kernel_casinhl.
36604         * math/libm-test.inc (cacosh_test): Add more tests.
36605         * sysdeps/i386/fpu/libm-test-ulps: Update.
36606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36608 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36610         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36611         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36613         * bench/Makefile (bench): Add sin and slowsin.
36614         * benchtests/sin-inputs: New file.
36615         * benchtests/slowsin-inputs: New file.
36616         * benchtests/slowsin.c: New file.
36618         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36619         (bench): Add slowexp and slowpow.
36620         (exp-ITER): Increase iterations.
36621         (pow-ITER): Likewise.
36622         * benchtests/exp-inputs: Change input.
36623         * benchtests/pow-inputs: Likewise.
36624         * benchtests/slowexp-inputs: New file.
36625         * benchtests/slowexp.c: New file.
36626         * benchtests/slowpow-inputs: New file.
36627         * benchtests/slowpow.c: New file.
36629 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36631         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36632         instructions.
36633         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36634         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36635         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36636         * benchtests/Makefile: Add rint benchtest.
36637         * benchtests/rint-inputs: Input for rint benchtest.
36639 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36641         * Versions.def (libm): Add GLIBC_2.18.
36642         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36643         hidden libm prototypes.
36644         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36645         * math/Makefile (libm-calls): Add s_issignaling.
36646         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36647         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36648         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36649         declaration.
36650         * math/math.h [__USE_GNU] (issignaling): New macro.
36651         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36652         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36653         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36654         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36655         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36656         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36657         * manual/arith.texi (issignaling): New section.
36658         * manual/libm-err-tab.pl (@all_functions): Update comment.
36659         * math/gen-libm-test.pl (parse_args): Apply special handling for
36660         issignaling.
36661         * math/libm-test.inc (print_float, issignaling_test): New
36662         functions.
36663         (check_float_internal): Add issignaling checks.
36664         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36665         default definition.
36666         * sysdeps/powerpc/math-tests.h: New file.
36667         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36668         tests.
36669         * math/test-snan.c (TEST_FUNC): Likewise.
36671 2013-03-30  David S. Miller  <davem@davemloft.net>
36673         * po/de.po: Update from translation team.
36675 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36677         [BZ #10357]
36678         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36679         imaginary part less than 1.0 and real part less than 0.5
36680         specially.
36681         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36682         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36683         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36684         (cacos_test): Add more tests.
36685         (casin_test): Likewise.
36686         (casinh_test): Likewise.
36687         * sysdeps/i386/fpu/libm-test-ulps: Update.
36688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36690 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36692         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36693         ONE with its value.
36695         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36696         (__pow_mp): Replace ONE and MONE with their values.
36697         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36698         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36699         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36700         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36701         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36702         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36704         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36706         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36707         (__pow_mp): Replace ZERO and MZERO with their values.
36708         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36709         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36710         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36711         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36712         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36713         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36714         (__sqr): Likewise.
36716         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36718         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36720 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36722         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36723         Declare with __attribute__ ((weak)).
36724         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36725         Call __call_tls_dtors only if it's not NULL.
36727 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36729         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36730         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36731         magic __ehdr_start linker symbol if it's defined.
36732         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36733         them up here if it was already done.
36735         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36736         (_dl_aux_init): Use const in cast when setting it.
36737         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36738         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36739         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36741         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36742         Declare them here.
36743         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36744         * csu/libc-tls.c: Nor here.
36745         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36747         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36748         (__libc_message): Never call vsyslog.
36750 2013-03-28  Alan Modra  <amodra@gmail.com>
36752         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36753         Define as empty.
36754         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36755         Likewise.
36757 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36759         [BZ #15214]
36760         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36761         underflow.
36762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36764 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36766         [BZ #15304]
36767         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36768         Don't add gid passed as argument.
36770         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36772 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36774         [BZ #15307]
36775         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36776         imaginary part between 1.0 and 1.5 and real part less than 0.5
36777         specially.
36778         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36779         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36780         * math/libm-test.inc (cacos_test): Add more tests.
36781         (casin_test): Likewise.
36782         (casinh_test): Likewise.
36783         * sysdeps/i386/fpu/libm-test-ulps: Update.
36784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36786 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36788         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36789         constants.
36790         (norm): Likewise.
36791         (denorm): Likewise.
36792         (__dbl_mp): Likewise.
36793         (add_magnitudes): Likewise.
36794         (sub_magnitudes): Likewise.
36795         (__add): Likewise.
36796         (__sub): Likewise.
36797         (__mul): Likewise.
36798         (__sqr): Likewise.
36799         (__inv): Likewise.
36800         (__dvd): Likewise.
36802         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36803         commented code.
36804         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36805         (__dubcos): Likewise.
36806         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36807         (__ieee754_acos): Likewise.
36808         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36809         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36810         (__exp1): Likewise.
36811         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36812         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36813         (log1): Likewise.
36814         (my_log2): Likewise.
36815         (checkint): Likewise.
36816         * sysdeps/ieee754/dbl-64/e_remainder.c
36817         (__ieee754_remainder): Likewise.
36818         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36820         (bsloww): Likewise.
36821         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36823         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36824         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36825         MANTISSA_STORE_T to store computations on mantissa.  Use
36826         macros for rounding and division.
36827         (denorm): Likewise.
36828         (__dbl_mp): Likewise.
36829         (add_magnitudes): Likewise.
36830         (sub_magnitudes): Likewise.
36831         (__mul): Likewise.
36832         (__sqr): Likewise.
36833         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36834         powers of two in terms of TWOPOW macro.
36835         (mp_no): Make type of mantissa as MANTISSA_T.
36836         [!RADIXI]: Define RADIXI.
36837         [!TWO52]: Define TWO52.
36838         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36840 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36842         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36843         llroundl symbol when building for PPC32.
36845 2013-03-24  Mark H Weaver  <mhw@netris.org>
36847         * manual/arith.texi (Normalization Functions): Fix prototypes for
36848         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36850 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36852         [BZ #13889]
36853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36854         high value to check if expl overflow.
36855         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36856         to check for underflow and overflow.
36857         * math/libm-test.inc: Add exp test.
36859 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36861         [BZ #11120]
36862         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36863         with NOT_IN_libc.
36865 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36867         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36868         symbol.
36870 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36872         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36873         wrap blocks consisting of several statements.
36875         * sysdeps/generic/math-tests.h: New file.
36876         * sysdeps/i386/fpu/math-tests.h: Likewise.
36877         * math/test-snan.c: Include it.
36878         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36880 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36882         [BZ #15285]
36883         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36884         (__ieee754_j0l): Do not improve calculations using cos of twice
36885         input for inputs above LDBL_MAX / 2.0L.
36886         (__ieee754_y0l): Likewise.
36887         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36888         (__ieee754_j1l): Do not improve calculations using cos of twice
36889         input for inputs above LDBL_MAX / 2.0L.
36890         (__ieee754_y1l): Likewise.
36891         * math/libm-test.inc (j0_test): Add another test.
36892         (j1_test): Likewise.
36893         (y0_test): Likewise.
36894         (y1_test): Likewise.
36895         * sysdeps/i386/fpu/libm-test-ulps: Update.
36897 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36899         * Rules ($(objpfx)bench-%.c): Include code from a C source
36900         file.
36902 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36904         [BZ #15287]
36905         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36906         imaginary part 1.0 and real part less than 0.5 specially.
36907         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36908         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36909         * math/libm-test.inc (cacos_test): Add more tests.
36910         (casin_test): Likewise.
36911         (casinh_test): Likewise.
36912         * sysdeps/i386/fpu/libm-test-ulps: Update.
36913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36915 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36917         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36918         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36920 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36922         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36923         * config.make.in (config-cflags-sse4): Remove variable.
36924         (config-cflags-avx): Likewise.
36925         (config-cflags-sse2avx): Likewise.
36926         (config-cflags-novzeroupper): Likewise.
36927         (config-asflags-i686): Likewise.
36928         (have-mfma4): Likewise.
36929         (have-as-vis3): Likewise.
36930         (MIG): Likewise.
36931         * configure.in (MIG): Do not AC_SUBST.
36932         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36933         (libc_cv_cc_sse4): Do not AC_SUBST.
36934         (libc_cv_cc_avx): Likewise.
36935         (libc_cv_cc_sse2avx): Likewise.
36936         (libc_cv_cc_novzeroupper): Likewise.
36937         (libc_cv_cc_fma4): Likewise.
36938         (libc_cv_as_i686): Likewise.
36939         (libc_cv_sparc_as_vis3): Likewise.
36940         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36941         LIBC_CONFIG_VAR.
36942         (config-asflags-i686): Likewise.
36943         (config-cflags-avx): Likewise.
36944         (config-cflags-sse2avx): Likewise.
36945         (have-mfma4): Likewise.
36946         (config-cflags-novzeroupper): Likewise.
36947         * sysdeps/mach/configure.in (MIG): Likewise.
36948         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36949         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36950         LIBC_CONFIG_VAR.
36951         (config-cflags-avx): Likewise.
36952         (config-cflags-sse2avx): Likewise.
36953         (have-mfma4): Likewise.
36954         (config-cflags-novzeroupper): Likewise.
36955         * configure: Regenerated.
36956         * sysdeps/i386/configure: Likewise.
36957         * sysdeps/mach/configure: Likewise.
36958         * sysdeps/sparc/configure: Likewise.
36959         * sysdeps/x86_64/configure: Likewise.
36961 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36963         [BZ #14812]
36964         * locale/programs/localedef.c (options): Put N_ translation marker
36965         on argument names, not just descriptions.
36967 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36969         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36971 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36973         [BZ #14176]
36974         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36976 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36978         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36979         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36980         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36981         [!BEFORE_ABORT] (before_abort): New function.
36982         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36983         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36984         (writev_for_fatal): New function.
36985         (WRITEV_FOR_FATAL): New macro; call that.
36986         (backtrace_and_maps): New function.
36987         (BEFORE_ABORT): New macro; call that.
36988         (struct str_list): Type removed.
36989         (__libc_message, __libc_fatal): Functions removed.
36990         Include <sysdeps/posix/libc_fatal.c> instead.
36992 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36994         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36995         constants.
36996         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36997         double constants.
36999 2013-03-19  Andreas Schwab  <schwab@suse.de>
37001         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37002         * sysdeps/gnu/configure: Regenerate.
37004         * configure.in: Substitute libc_cv_rtlddir.
37005         * configure: Regenerate.
37006         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37007         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37008         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37009         * elf/Makefile (install-others, CFLAGS-interp.c)
37010         (ldso_install, common-ldd-rewrite): Likewise.
37011         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37012         $(inst_slibdir)/$(rtld-installed-name).
37013         * scripts/rellns-sh: Add -p option.
37014         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37015         for source.
37017 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37019         * manual/nptl.texi: Renamed to ...
37020         * manual/threads.texi: ... this.
37021         * manual/Makefile (chapters): Update.
37023 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37025         [BZ #14812]
37026         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37027         on argument names, not just descriptions.
37028         * malloc/memusagestat.c (options): Likewise.
37029         * nss/getent.c (options): Likewise.
37031 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37033         [BZ #14812]
37034         * iconv/iconv_prog.c (options): Put N_ translation marker
37035         on argument names, not just descriptions.
37036         * iconv/iconvconfig.c (options): Likewise.
37038 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37040         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37041         implementation which is faster on all x86_64 architectures.
37042         Tested on AMD, Intel Nehalem, SNB, IVB.
37043         * sysdeps/x86_64/strnlen.S: Likewise.
37045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37046         Remove all multiarch strlen and strnlen versions.
37047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37048         Remove strlen and strnlen related parts.
37050         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37051         Inline strlen part.
37052         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37054         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37055         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37056         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37057         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37058         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37059         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37061 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37063         * manual/memory.texi (Malloc Tunable Parameters):
37064         Sort parameters alphabetically. Add comments for missing entries.
37066 2013-03-17  David S. Miller  <davem@davemloft.net>
37068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37070 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37072         [BZ #15283]
37073         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37074         for arguments at most half maximum finite value.
37075         * math/libm-test.inc (j0_test): Add more tests.
37076         (j1_test): Likewise.
37077         (y0_test): Likewise.
37078         (y1_test): Likewise.
37079         * sysdeps/i386/fpu/libm-test-ulps: Update.
37080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37082         [BZ #14155]
37083         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37084         1 / x and functions P and Q for arguments above 0x1p256L.
37085         (__ieee754_y0l): Likewise.
37086         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37087         (__ieee754_y1l): Likewise.
37088         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37089         (j1_test): Likewise.
37090         (y0_test): Likewise.
37091         (y1_test): Likewise.
37093 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37095         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37096         variable.
37098 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37100         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37101         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37102         zero since it's initialized to EXEC_PAGESIZE.
37104         * sysdeps/unix/sysv/linux/ldsodefs.h
37105         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37106         * sysdeps/generic/ldsodefs.h: ... here.
37108 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37110         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37112         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37113         math/test-snan.c.
37114         * math/test-snan.c: Renamed from
37115         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37116         * math/Makefile (tests): Add test-snan.
37117         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37118         test-powerpc-snan.
37120         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37121         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37122         functions.
37123         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37124         __builtin_nan family of functions.
37125         * math/libm-test.inc (initialize): Initialize qnan_value with
37126         __builtin_nan family of functions.
37127         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37128         Remove variables.
37129         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37130         Remove functions.
37131         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37132         storage class.  Initialize qNaN_var and sNaN_var with
37133         __builtin_nan and __builtin_nans families of functions,
37134         respectively.
37136         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37137         (sqrt_test): Remove duplicate test with qNaN input.
37138         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37139         (round_test, signbit_test, significand_test): Note missing +/-Inf
37140         as well as qNaN tests.
37142         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37143         qNaN_var.  Fix a few strings, too.
37144         * math/libm-test.inc (nan_value): Rename to qnan_value.
37145         * math/gen-libm-test.pl (%beautify): Adjust to that.
37146         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37147         * math/test-misc.c (main): Likewise.
37148         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37149         to __qnan_bytes, and __qnan_union, respectively.
37150         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37151         Likewise.
37152         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37153         and lqnanval, respectively.
37154         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37155         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37156         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37157         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37159         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37160         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37161         doubles.
37163         * math/test-misc.c (main): Fix copy'n'pastos.
37164         * misc/tst-efgcvt.c (special): Likewise.
37166         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37167         Remove declarations.
37169 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37171         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37172         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37173         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37174         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37176 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37179         macro to return vdso values correctly in IFUNC implementations.
37180         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37181         Optimization by using IFUNC.
37183 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37184             Richard Henderson  <rth@redhat.com>
37185             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37187         * Makefile.in (bench): New target.
37188         * NEWS: Mention the benchmark framework.
37189         * Rules (bench): Likewise.
37190         (binaries-bench): Generate binaries for functions to
37191         benchmark.
37192         * benchtests/Makefile: New makefile for benchmark tests.
37193         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37194         programs.
37195         * benchtests/exp-inputs: New input file for EXP function.
37196         * benchtests/pow-inputs: New input file for POW function.
37197         * scripts/bench.pl: New script to generate source files for
37198         benchmark programs.
37200 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37202         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37203         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37204         computations on mantissa.  Use macros for rounding and
37205         division.
37206         (denorm): Likewise.
37207         (__dbl_mp): Likewise.
37208         (add_magnitudes): Likewise.
37209         (sub_magnitudes): Likewise.
37210         (__mul): Likewise.
37211         (__sqr): Likewise.
37212         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37213         powers of two in terms of TWOPOW macro.
37214         (mp_no): Make type of mantissa as MANTISSA_T.
37215         [!RADIXI]: Define RADIXI.
37216         [!TWO52]: Define TWO52.
37217         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37219         * manual/nptl.texi (cindex): Modify threads to pthreads.
37221 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37223         * sysdeps/x86_64/preconfigure: Regenerated.
37225 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37227         [BZ #14155]
37228         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37229         0x1p28 and above.
37230         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37231         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37232         0x1p28 and above.
37233         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37234         * math/libm-test.inc (j0_test): Do not allow one spurious
37235         underflow exception.
37236         (y1_test): Likewise.
37238 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37240         * manual/Makefile (chapters): Add nptl.
37241         * manual/debug.texi (Debugging Support): Add link to Threads
37242         chapter.
37243         * manual/nptl.texi: New file.
37245         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37247 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37249         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37250         for non-NULL pointer before the memory validity test. Pointed
37251         out by Holger Brunck <holger.brunck@keymile.com>.
37253 2013-03-13  Andreas Schwab  <schwab@suse.de>
37255         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37256         instead of .os.
37258 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37260         * timezone/zic.c: Update from tzcode 2013b.
37262 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37264         * manual/install.texi (Configuring and compiling):
37265         Mention i686 and i586.
37266         * INSTALL: Regenerate.
37268 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37270         * sysdeps/init_array/elf-init.c: New file.
37271         * csu/elf-init.c
37272         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37273         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37275         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37276         __gmon_start__ as global, but as static with a .preinit_array pointer.
37277         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37278         * sysdeps/init_array/crti.S: New file, empty except for comments.
37279         * sysdeps/init_array/crtn.S: Likewise.
37281 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37283         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37284         definining bcopy.
37285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37286         Remove Prefer_SSE_for_memop.
37287         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37288         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37289         HAS_PREFER_SSE_FOR_MEMOP.
37290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37291         memset-x86-64.
37292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37293         Remove bzero, memset ifunc support.
37294         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37295         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37296         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37297         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37299 2013-03-11  Andreas Schwab  <schwab@suse.de>
37301         [BZ #15234]
37302         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37303         by SHLIB_COMPAT.
37304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37305         (GLIBC_2.16): Remove pthread_atfork.
37307 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37309         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37310         (ptestcases.h): Likewise.
37312 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37314         * Makeconfig ($(common-objpfx)config.status): Depend on
37315         sysdeps/*/preconfigure{,.in} too.
37317 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37319         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37320         (__free_hook): Use void * instead of __malloc_ptr_t.
37321         (__malloc_hook): Likewise.
37322         (__realloc_hook): Likewise.
37323         (__memalign_hook): Likewise.
37324         (__after_morecore_hook): Likewise.
37325         * malloc/arena.c (save_malloc_hook): Likewise.
37326         (save_free_hook): Likewise.
37327         * malloc/hooks.c (malloc_hook_ini): Likewise.
37328         (realloc_hook_ini): Likewise.
37329         (memalign_hook_ini): Likewise.
37330         * malloc/malloc.c (malloc_hook_ini): Likewise.
37331         (realloc_hook_ini): Likewise.
37332         (memalign_hook_ini): Likewise.
37333         (__free_hook): Likewise.
37334         (__malloc_hook): Likewise.
37335         (__realloc_hook): Likewise.
37336         (__memalign_hook): Likewise.
37337         (__libc_malloc): Likewise.
37338         (__libc_free): Likewise.
37339         (__libc_realloc): Likewise.
37340         (__libc_memalign): Likewise.
37341         (__libc_valloc): Likewise.
37342         (__libc_pvalloc): Likewise.
37343         (__libc_calloc): Likewise.
37344         (__posix_memalign): Likewise.
37345         * malloc/morecore.c (__sbrk): Likewise.
37346         (__default_morecore): Likewise.
37348         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37350         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37351         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37352         __malloc_ptrdiff_t.
37354         * malloc/malloc.h (__malloc_size_t): Remove macro.
37355         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37356         __malloc_size_t.
37357         (old_memalign_hook): Likewise.
37358         (old_realloc_hook): Likewise.
37359         (struct hdr): Likewise.
37360         (flood): Likewise.
37361         (mallochook): Likewise.
37362         (memalignhook): Likewise.
37363         (reallochook): Likewise.
37364         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37365         (tr_old_realloc_hook): Likewise.
37366         (tr_old_memalign_hook): Likewise.
37367         (tr_mallochook): Likewise.
37368         (tr_reallochook): Likewise.
37369         (tr_memalignhook): Likewise.
37371 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37373         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37374         default_ldbl_pack and using as default implementation.
37375         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37376         implementation.
37377         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37378         redundant definition.
37379         (ldbl_insert_mantissa): Likewise.
37380         (ldbl_canonicalize): Likewise.
37381         (ldbl_nearbyint): Likewise.
37382         (ldbl_pack): Rename to ldbl_pack_ppc.
37383         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37384         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37385         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37387 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37390         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37391         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37392         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37394         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37395         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37396         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37398 2013-03-07  Andreas Jaeger  <aj@suse.de>
37400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37401         bits/mman-linux.h.
37403 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37405         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37406         Include mpa.h and declare __MPEXP.
37407         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37408         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37409         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37410         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37411         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37412         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37413         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37415         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37416         (__slowpow): Use long double EXPL and LOGL functions to
37417         compute POW.
37418         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37419         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37420         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37421         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37422         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37423         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37426         intermediate variable to calculate exponent.
37427         (__sqr): Likewise.
37428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37429         Likewise.
37430         (__sqr): Likewise.
37432         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37433         [!NO__SQR]: Define __sqr.
37434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37435         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37436         sysdeps/ieee754/dbl-64/mpa.c.
37437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37439         [BZ #12723]
37440         * posix/Makefile (tests): Add tst-pathconf.
37441         * posix/tst-pathconf.c: New test case.
37442         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37443         _PC_PIPE_BUF.
37444         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37446 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37448         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37450 2013-03-06  Andreas Jaeger  <aj@suse.de>
37452         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37453         definition via __MAP_ANONYMOUS.
37455         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37456         it's not part of Linux headers.
37458         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37459         (MAP_HUGE_MASK): Define.
37461         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37462         Define.
37463         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37465         Define.
37466         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37467         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37468         Define.
37469         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37470         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37471         Define.
37472         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37474         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37475         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37476         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37477         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37478         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37479         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37481         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37482         Handle f2fs.
37484         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37485         Handle f2fs and efivarfs.
37487         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37488         f2fs.
37490         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37491         (EFIVARFS_MAGIC): Add.
37492         (F2FS_LINK_MAX): Add.
37494 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37496         * stdio-common/vfprintf.c: Replace __builtin_expect with
37497         __glibc_unlikely.
37499 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37501         [BZ #13550]
37502         * sysdeps/generic/bp-sym.h: Remove file.
37503         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37504         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37505         <bp-sym.h> and <bp-asm.h>.
37506         (__longjmp): Don't use BP_SYM.
37507         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37508         and <bp-asm.h>.
37509         (memcpy): Don't use BP_SYM.
37510         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37511         <bp-sym.h> and <bp-asm.h>.
37512         (memcpy): Don't use BP_SYM.
37513         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37514         <bp-asm.h>.
37515         (memcpy): Don't use BP_SYM.
37516         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37517         <bp-asm.h>.
37518         (memset): Don't use BP_SYM.
37519         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37520         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37521         (__bzero): Don't use BP_SYM.
37522         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37523         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37524         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37525         <bp-sym.h> and <bp-asm.h>.
37526         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37527         pointers.
37528         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37529         <bp-sym.h> and <bp-asm.h>.
37530         (memcpy): Don't use BP_SYM.
37531         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37532         <bp-sym.h> and <bp-asm.h>.
37533         (memset): Don't use BP_SYM.
37534         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37535         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37536         (__bzero): Don't use BP_SYM.
37537         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37538         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37539         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37540         <bp-sym.h> and <bp-asm.h>.
37541         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37542         pointers.
37543         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37544         <bp-sym.h> and <bp-asm.h>.
37545         (memcpy): Don't use BP_SYM.
37546         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37547         <bp-sym.h> and <bp-asm.h>.
37548         (memset): Don't use BP_SYM.
37549         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37550         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37551         (__bzero): Don't use BP_SYM.
37552         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37553         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37554         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37555         <bp-sym.h> and <bp-asm.h>.
37556         (__memchr): Don't use BP_SYM.
37557         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37558         <bp-sym.h> and <bp-asm.h>.
37559         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37560         pointers.
37561         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37562         <bp-sym.h> and <bp-asm.h>.
37563         (memcpy): Don't use BP_SYM.
37564         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37565         <bp-sym.h> and <bp-asm.h>.
37566         (__mempcpy): Don't use BP_SYM.
37567         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37568         <bp-sym.h> and <bp-asm.h>.
37569         (__memrchr): Don't use BP_SYM.
37570         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37571         <bp-sym.h> and <bp-asm.h>.
37572         (memset): Don't use BP_SYM.
37573         (__bzero): Likewise.
37574         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37575         <bp-sym.h> and <bp-asm.h>.
37576         (__rawmemchr): Don't use BP_SYM.
37577         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37578         <bp-sym.h> and <bp-asm.h>.
37579         (__STRCMP): Don't use BP_SYM.
37580         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37581         <bp-sym.h> and <bp-asm.h>.
37582         (strchr): Don't use BP_SYM.
37583         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37584         <bp-sym.h> and <bp-asm.h>.
37585         (__strchrnul): Don't use BP_SYM.
37586         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37587         <bp-sym.h> and <bp-asm.h>.
37588         (strlen): Don't use BP_SYM.
37589         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37590         <bp-sym.h> and <bp-asm.h>.
37591         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37592         pointers.
37593         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37594         <bp-sym.h> and <bp-asm.h>.
37595         (__strnlen): Don't use BP_SYM.
37596         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37597         <bp-sym.h> and <bp-asm.h>.
37598         (__GI__setjmp): Don't use BP_SYM.
37599         (_setjmp): Likewise.
37600         (__sigsetjmp): Likewise.
37601         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37602         (L(start_addresses)): Don't use BP_SYM.
37603         (_start): Likewise.
37604         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37605         <bp-asm.h>.
37606         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37607         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37608         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37609         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37610         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37611         <bp-asm.h>.
37612         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37613         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37614         about bounded pointers.
37615         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37616         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37617         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37618         <bp-asm.h>.
37619         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37620         about bounded pointers.  Remove GKM FIXME comments.
37621         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37622         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37623         <bp-asm.h>.
37624         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37625         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37626         Remove GKM FIXME comments.
37627         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37628         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37629         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37630         <bp-asm.h>.
37631         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37632         about bounded pointers.  Remove GKM FIXME comment.
37633         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37634         and <bp-asm.h>.
37635         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37636         pointers.
37637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37638         <bp-sym.h> and <bp-asm.h>.
37639         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37641         <bp-sym.h> and <bp-asm.h>.
37642         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37643         comment.
37645 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37647         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37648         call free(NULL).
37650 2013-03-05  David S. Miller  <davem@davemloft.net>
37652         * po/es.po: Update from translation team.
37654 2013-03-05  Andreas Jaeger  <aj@suse.de>
37656         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37657         <bits/mman-linux.h>.
37658         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37659         is fine.
37660         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37661         <bits/mman-linux.h> to end of file.
37662         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37663         is fine.
37664         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37665         <bits/mman-linux.h> to end of file.
37666         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37667         is fine.
37668         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37669         <bits/mman-linux.h> to end of file.
37671         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37672         (MCL_CURRENT, MCL_FUTURE): Define here.
37674 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37676         [BZ #15232]
37677         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37678         attribute_hidden.
37679         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37681 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37683         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37684         fourth parameter needed for rt_sigprocmask syscall.
37685         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37686         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37687         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37688         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37689         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37690         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37692 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37694         [BZ #13550]
37695         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37696         comment about bounded pointers.
37697         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37698         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37700 2013-03-04  Andreas Jaeger  <aj@suse.de>
37702         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37703         common definitions.
37705         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37706         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37707         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37708         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37709         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37710         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37712 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37714         [BZ #15055]
37715         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37716         __ieee754_sqrl instead of __sqrl.
37718 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37720         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37721         * sysdeps/powerpc/fpu_control.h: ... here.
37722         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37723         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37724         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37725         * sysdeps/powerpc/bits/mathinline.h: ... here.
37727 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37729         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37730         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37731         to just [NEED_DL_SYSINFO_DSO].
37732         * elf/dl-support.c: Likewise.
37733         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37734         * elf/rtld.c (dl_main): Likewise.
37735         * elf/setup-vdso.h (setup_vdso): Likewise.
37736         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37737         * sysdeps/unix/sysv/linux/dl-sysdep.c
37738         (_dl_discover_osversion): Likewise.
37740 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37742         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37743         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37745 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37747         * NEWS: Mention libm performance improvements and non-x86 PI
37748         futex support.
37750         * csu/libc-start.c (__pthread_initialize_minimal): Change
37751         function arguments.
37752         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37754 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37756         [BZ #13550]
37757         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37758         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37759         <bp-sym.h> and <bp-asm.h>.
37760         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37761         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37762         and <bp-asm.h>.
37763         (memcpy): Don't use BP_SYM.
37764         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37765         <bp-asm.h>.
37766         (__mpn_add_n): Don't use BP_SYM.
37767         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37768         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37769         and <bp-asm.h>.
37770         (__mpn_addmul_1): Don't use BP_SYM.
37771         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37772         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37773         <bp-sym.h>.
37774         (_setjmp): Don't use BP_SYM.
37775         (__novmx_setjmp): Likewise.
37776         (__GI__setjmp): Likewise.
37777         (__vmx_setjmp): Likewise.
37778         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37779         <bp-sym.h>.
37780         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37781         (__bzero): Don't use BP_SYM.
37782         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37783         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37784         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37785         <bp-sym.h> and <bp-asm.h>.
37786         (memcpy): Don't use BP_SYM.
37787         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37788         <bp-sym.h> and <bp-asm.h>.
37789         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37790         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37791         <bp-sym.h> and <bp-asm.h>.
37792         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37793         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37794         <bp-asm.h>.
37795         (__mpn_lshift): Don't use BP_SYM.
37796         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37797         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37798         <bp-asm.h>.
37799         (memset): Don't use BP_SYM.
37800         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37801         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37802         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37803         <bp-asm.h>.
37804         (__mpn_mul_1): Don't use BP_SYM.
37805         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37806         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37807         <bp-sym.h> and <bp-asm.h>.
37808         (memcmp): Don't use BP_SYM.
37809         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37810         <bp-sym.h> and <bp-asm.h>.
37811         (memcpy): Don't use BP_SYM.
37812         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37813         <bp-sym.h> and <bp-asm.h>.
37814         (memset): Don't use BP_SYM.
37815         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37816         <bp-sym.h> and <bp-asm.h>.
37817         (strncmp): Don't use BP_SYM.
37818         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37819         <bp-sym.h> and <bp-asm.h>.
37820         (memcpy): Don't use BP_SYM.
37821         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37822         <bp-sym.h> and <bp-asm.h>.
37823         (memset): Don't use BP_SYM.
37824         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37825         <bp-sym.h> and <bp-asm.h>.
37826         (__memchr): Don't use BP_SYM.
37827         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37828         <bp-sym.h> and <bp-asm.h>.
37829         (memcmp): Don't use BP_SYM.
37830         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37831         <bp-sym.h> and <bp-asm.h>.
37832         (memcpy): Don't use BP_SYM.
37833         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37834         <bp-sym.h> and <bp-asm.h>.
37835         (__mempcpy): Don't use BP_SYM.
37836         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37837         <bp-sym.h> and <bp-asm.h>.
37838         (__memrchr): Don't use BP_SYM.
37839         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37840         <bp-sym.h> and <bp-asm.h>.
37841         (memset): Don't use BP_SYM.
37842         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37843         <bp-sym.h> and <bp-asm.h>.
37844         (__rawmemchr): Don't use BP_SYM.
37845         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37846         <bp-sym.h> and <bp-asm.h>.
37847         (__STRCMP): Don't use BP_SYM.
37848         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37849         <bp-sym.h> and <bp-asm.h>.
37850         (strchr): Don't use BP_SYM.
37851         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37852         <bp-sym.h> and <bp-asm.h>.
37853         (__strchrnul): Don't use BP_SYM.
37854         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37855         <bp-sym.h> and <bp-asm.h>.
37856         (strlen): Don't use BP_SYM.
37857         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37858         <bp-sym.h> and <bp-asm.h>.
37859         (strncmp): Don't use BP_SYM.
37860         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37861         <bp-sym.h> and <bp-asm.h>.
37862         (__strnlen): Don't use BP_SYM.
37863         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37864         <bp-asm.h>.
37865         (__mpn_rshift): Don't use BP_SYM.
37866         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37867         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37868         <bp-sym.h> and <bp-asm.h>.
37869         (__sigsetjmp): Don't use BP_SYM.
37870         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37871         (L(start_addresses)): Don't use BP_SYM.
37872         (_start): Likewise.
37873         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37874         <bp-asm.h>.
37875         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37876         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37877         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37878         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37879         <bp-asm.h>.
37880         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37881         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37882         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37883         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37884         <bp-asm.h>.
37885         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37886         comments.
37887         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37888         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37889         <bp-asm.h>.
37890         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37891         FIXME comments.
37892         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37893         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37894         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37895         <bp-asm.h>.
37896         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37897         comment.
37898         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37899         and <bp-asm.h>.
37900         (strncmp): Don't use BP_SYM,
37901         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37902         <bp-asm.h>.
37903         (__mpn_sub_n): Don't use BP_SYM.
37904         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37905         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37906         and <bp-asm.h>.
37907         (__mpn_submul_1): Don't use BP_SYM.
37908         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37910         <bp-sym.h> and <bp-asm.h>.
37911         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37913         <bp-sym.h> and <bp-asm.h>.
37914         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37915         comment.
37917 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37920         Use ZK to minimize writes to Z.
37921         (sub_magnitudes): Simplify code a bit.
37922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37923         Use ZK to minimize writes to Z.
37924         (sub_magnitudes): Simplify code a bit.
37926 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37928         * csu/gmon-start.c: Add special exception to license text.
37930 2013-02-27  Richard Henderson  <rth@redhat.com>
37932         * scripts/config.guess: Update from config.git.
37933         * scripts/config.sub: Likewise.
37935 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37937         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37939         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37941         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37943         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37945         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37947 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37949         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37950         [$(build-shared = yes].
37952 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37954         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37955         (__mul): Reduce iterations for calculating mantissa.
37957         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37958         MPTWO.
37959         (__mpranred): Likewise.
37961         [BZ #15160]
37962         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37963         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37965 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37967         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37968         Define __attribute__.
37970 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37972         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37973         unused.
37974         * posix/regex_internal.h (__attribute): Remove.
37975         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37976         (re_string_context_at): Likewise.
37977         (bitset_not): Use __attribute__ and mark function as possibly
37978         unused.
37979         (bitset_merge): Likewise.
37980         (bitset_mask): Likewise.
37981         (re_string_char_size_at): Likewise.
37982         (re_string_wchar_at): Likewise.
37983         (re_string_elem_size_at): Likewise.
37985 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37987         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37988         code.
37989         (cc32): Likewise.
37991         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37992         (__acr): Likewise.
37993         (__cpy): Likewise.
37994         (norm): Likewise.
37995         (denorm): Likewise.
37996         (__dbl_mp): Likewise.
37997         (add_magnitudes): Likewise.
37998         (sub_magnitudes): Likewise.
37999         (__mul): Likewise.
38000         (__inv): Likewise.
38002         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38003         style.
38005         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38006         style.
38008         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38009         code.
38011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38012         up changes with default code.
38013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38014         Likewise.
38016 2013-02-24  Allan McRae  <allan@archlinux.org>
38018         * manual/socket.texi (The Internet Namespace): Order menu items
38019         to match that in the file.
38021         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38022         node listing of the info page menu.
38024 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38026         [BZ #13550]
38027         * sysdeps/i386/bp-asm.h: Remove file.
38028         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38029         (PARMS): Do not use macros from bp-asm.h.
38030         (S1): Likewise.
38031         (S2): Likewise.
38032         (SIZE): Likewise.
38033         (__mpn_add_n): Do not use BP_SYM
38034         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38035         "bp-asm.h".
38036         (PARMS): Do not use macros from bp-asm.h.
38037         (S1): Likewise.
38038         (SIZE): Likewise.
38039         (__mpn_addmul_1): Do not use BP_SYM
38040         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38041         "bp-asm.h".
38042         (PARMS): Do not use macros from bp-asm.h.
38043         (SIGMSK): Likewise.
38044         (_setjmp): Likewise.  Do not use BP_SYM.
38045         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38046         "bp-asm.h".
38047         (PARMS): Do not use macros from bp-asm.h.
38048         (SIGMSK): Likewise.
38049         (setjmp): Likewise.  Do not use BP_SYM.
38050         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38051         "bp-asm.h".
38052         (PARMS): Do not use macros from bp-asm.h.
38053         (__frexp): Do not use BP_SYM.
38054         (frexp): Likewise.
38055         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38056         "bp-asm.h".
38057         (PARMS): Do not use macros from bp-asm.h.
38058         (__frexpf): Do not use BP_SYM.
38059         (frexpf): Likewise.
38060         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38061         "bp-asm.h".
38062         (PARMS): Do not use macros from bp-asm.h.
38063         (__frexpl): Do not use BP_SYM.
38064         (frexpl): Likewise.
38065         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38066         "bp-asm.h".
38067         (PARMS): Do not use macros from bp-asm.h.
38068         (__remquo): Do not use BP_SYM.
38069         (remquo): Likewise.
38070         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38071         "bp-asm.h".
38072         (PARMS): Do not use macros from bp-asm.h.
38073         (__remquof): Do not use BP_SYM.
38074         (remquof): Likewise.
38075         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38076         "bp-asm.h".
38077         (PARMS): Do not use macros from bp-asm.h.
38078         (__remquol): Do not use BP_SYM.
38079         (remquol): Likewise.
38080         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38081         "bp-asm.h".
38082         (PARMS): Do not use macros from bp-asm.h.
38083         (DEST): Likewise.
38084         (SRC): Likewise.
38085         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38086         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38087         "bp-asm.h".
38088         (PARMS): Do not use macros from bp-asm.h.
38089         (strlen): Do not use BP_SYM.
38090         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38091         "bp-asm.h".
38092         (PARMS): Do not use macros from bp-asm.h.
38093         (S1): Likewise.
38094         (S2): Likewise.
38095         (SIZE): Likewise.
38096         (__mpn_add_n): Do not use BP_SYM.
38097         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38098         "bp-asm.h".
38099         (PARMS): Do not use macros from bp-asm.h.
38100         (S1): Likewise.
38101         (SIZE): Likewise.
38102         (__mpn_addmul_1): Do not use BP_SYM.
38103         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38104         weak_alias.
38105         (bzero): Likewise.
38106         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38107         "bp-asm.h".
38108         (PARMS): Do not use macros from bp-asm.h.
38109         (S): Likewise.
38110         (SIZE): Likewise.
38111         (__mpn_lshift): Do not use BP_SYM.
38112         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38113         "bp-asm.h".
38114         (PARMS): Do not use macros from bp-asm.h.
38115         (DEST): Likewise.
38116         (SRC): Likewise.
38117         (LEN): Likewise.
38118         (memcpy): Likewise.  Do not use BP_SYM.
38119         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38120         libc_hidden_def and weak_alias.
38121         (mempcpy): Do not use BP_SYM in weak_alias.
38122         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38123         "bp-asm.h".
38124         (PARMS): Do not use macros from bp-asm.h.
38125         (DEST): Likewise.
38126         (LEN): Likewise.
38127         [!BZERO_P] (CHR): Likewise.
38128         (memset): Likewise.  Do not use BP_SYM.
38129         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38130         "bp-asm.h".
38131         (PARMS): Do not use macros from bp-asm.h.
38132         (S1): Likewise.
38133         (SIZE): Likewise.
38134         (__mpn_mul_1): Do not use BP_SYM.
38135         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38136         "bp-asm.h".
38137         (PARMS): Do not use macros from bp-asm.h.
38138         (S): Likewise.
38139         (SIZE): Likewise.
38140         (__mpn_rshift): Do not use BP_SYM.
38141         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38142         "bp-asm.h".
38143         (PARMS): Do not use macros from bp-asm.h.
38144         (STR): Likewise.
38145         (CHR): Likewise.
38146         (strchr): Likewise.  Do not use BP_SYM.
38147         (index): Do not use BP_SYM in weak_alias.
38148         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38154         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38155         "bp-asm.h".
38156         (PARMS): Do not use macros from bp-asm.h.
38157         (strlen): Do not use BP_SYM.
38158         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38159         "bp-asm.h".
38160         (PARMS): Do not use macros from bp-asm.h.
38161         (S1): Likewise.
38162         (S2): Likewise.
38163         (SIZE): Likewise.
38164         (__mpn_sub_n): Do not use BP_SYM.
38165         * sysdeps/i386/i586/submul_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_submul_1): Do not use BP_SYM.
38171         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38172         "bp-asm.h".
38173         (PARMS): Do not use macros from bp-asm.h.
38174         (S1): Likewise.
38175         (S2): Likewise.
38176         (SIZE): Likewise.
38177         (__mpn_add_n): Do not use BP_SYM.
38178         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38179         weak_alias.
38180         (bzero): Likewise.
38181         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38182         "bp-asm.h".
38183         (PARMS): Do not use macros from bp-asm.h.
38184         (BLK2): Likewise.
38185         (LEN): Likewise.
38186         (memcmp): Do not use BP_SYM.
38187         (bcmp): Do not use BP_SYM in weak_alias.
38188         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38189         "bp-asm.h".
38190         (PARMS): Do not use macros from bp-asm.h.
38191         (DEST): Likewise.
38192         (SRC): Likewise.
38193         (LEN): Likewise.
38194         (memcpy): Likewise.  Do not use BP_SYM.
38195         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38196         "bp-asm.h".
38197         (PARMS): Do not use macros from bp-asm.h.
38198         (DEST): Likewise.
38199         (SRC): Likewise.
38200         (LEN): Likewise.
38201         (memmove): Likewise.  Do not use BP_SYM.
38202         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38203         "bp-asm.h".
38204         (PARMS): Do not use macros from bp-asm.h.
38205         (DEST): Likewise.
38206         (SRC): Likewise.
38207         (LEN): Likewise.
38208         (__mempcpy): Likewise.  Do not use BP_SYM.
38209         (mempcpy): Do not use BP_SYM in weak_alias.
38210         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38211         "bp-asm.h".
38212         (PARMS): Do not use macros from bp-asm.h.
38213         (DEST): Likewise.
38214         (LEN): Likewise.
38215         [!BZERO_P] (CHR): Likewise.
38216         (memset): Likewise.  Do not use BP_SYM.
38217         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38218         "bp-asm.h".
38219         (PARMS): Do not use macros from bp-asm.h.
38220         (STR2): Likewise.
38221         (strcmp): Do not use BP_SYM.
38222         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38223         "bp-asm.h".
38224         (PARMS): Do not use macros from bp-asm.h.
38225         (STR): Likewise.
38226         (DELIM): Likewise.
38227         [USE_AS_STRTOK_R] (SAVE): Likewise.
38228         (FUNCTION): Likewise.  Do not use BP_SYM.
38229         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38230         aliases.
38231         (strtok_r): Likewise.
38232         (__GI___strtok_r): Likewise.
38233         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38234         (PARMS): Do not use macros from bp-asm.h.
38235         (S): Likewise.
38236         (SIZE): Likewise.
38237         (__mpn_lshift): Do not use BP_SYM.
38238         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38239         (PARMS): Do not use macros from bp-asm.h.
38240         (STR): Likewise.
38241         (CHR): Likewise.
38242         (__memchr): Do not use BP_SYM.
38243         (memchr): Do not use BP_SYM in weak_alias.
38244         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38245         (PARMS): Do not use macros from bp-asm.h.
38246         (BLK2): Likewise.
38247         (LEN): Likewise.
38248         (memcmp): Do not use BP_SYM.
38249         (bcmp): Do not use BP_SYM in weak_alias.
38250         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38251         (PARMS): Do not use macros from bp-asm.h.
38252         (S1): Likewise.
38253         (SIZE): Likewise.
38254         (__mpn_mul_1): Do not use BP_SYM.
38255         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38256         "bp-asm.h".
38257         (PARMS): Do not use macros from bp-asm.h.
38258         (STR): Likewise.
38259         (CHR): Likewise.
38260         (__rawmemchr): Do not use BP_SYM.
38261         (rawmemchr): Do not use BP_SYM in weak_alias.
38262         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38263         (PARMS): Do not use macros from bp-asm.h.
38264         (S): Likewise.
38265         (SIZE): Likewise.
38266         (__mpn_rshift): Do not use BP_SYM.
38267         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38268         (PARMS): Do not use macros from bp-asm.h.
38269         (SIGMSK): Likewise.
38270         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38271         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38272         (_start): Do not use BP_SYM.
38273         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38274         (PARMS): Do not use macros from bp-asm.h.
38275         (DEST): Likewise.
38276         (SRC): Likewise.
38277         (__stpcpy): Likewise.  Do not use BP_SYM.
38278         (stpcpy): Do not use BP_SYM in weak_alias.
38279         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38280         "bp-asm.h".
38281         (PARMS): Do not use macros from bp-asm.h.
38282         (DEST): Likewise.
38283         (SRC): Likewise.
38284         (LEN): Likewise.
38285         (__stpncpy): Likewise.  Do not use BP_SYM.
38286         (stpncpy): Do not use BP_SYM in weak_alias.
38287         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38288         (PARMS): Do not use macros from bp-asm.h.
38289         (STR): Likewise.
38290         (CHR): Likewise.
38291         (strchr): Likewise.  Do not use BP_SYM.
38292         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38293         "bp-asm.h".
38294         (PARMS): Do not use macros from bp-asm.h.
38295         (STR): Likewise.
38296         (CHR): Likewise.
38297         (__strchrnul): Likewise.  Do not use BP_SYM.
38298         (strchrnul): Do not use BP_SYM in weak_alias.
38299         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38300         "bp-asm.h".
38301         (PARMS): Do not use macros from bp-asm.h.
38302         (STOP): Likewise.
38303         (strcspn): Do not use BP_SYM.
38304         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38305         "bp-asm.h".
38306         (PARMS): Do not use macros from bp-asm.h.
38307         (STR): Likewise.
38308         (STOP): Likewise.
38309         (strpbrk): Likewise.  Do not use BP_SYM.
38310         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38311         "bp-asm.h".
38312         (PARMS): Do not use macros from bp-asm.h.
38313         (STR): Likewise.
38314         (CHR): Likewise.
38315         (strrchr): Likewise.  Do not use BP_SYM.
38316         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38317         (PARMS): Do not use macros from bp-asm.h.
38318         (SKIP): Likewise.
38319         (strspn): Do not use BP_SYM.
38320         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38321         (PARMS): Do not use macros from bp-asm.h.
38322         (STR): Likewise.
38323         (DELIM): Likewise.
38324         (SAVE): Likewise.
38325         (FUNCTION): Likewise.  Do not use BP_SYM.
38326         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38327         aliases.
38328         (strtok_r): Likewise.
38329         (__GI___strtok_r): Likewise.
38330         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38331         (PARMS): Do not use macros from bp-asm.h.
38332         (S1): Likewise.
38333         (S2): Likewise.
38334         (SIZE): Likewise.
38335         (__mpn_sub_n): Do not use BP_SYM.
38336         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38337         "bp-asm.h".
38338         (PARMS): Do not use macros from bp-asm.h.
38339         (S1): Likewise.
38340         (SIZE): Likewise.
38341         (__mpn_submul_1): Do not use BP_SYM.
38342         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38343         <bp-sym.h>.
38344         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38345         and <bp-asm.h>.
38346         (PARMS): Do not use macros from bp-asm.h.
38347         (FLAGS): Likewise.
38348         (PTID): Likewise.
38349         (TLS): Likewise.
38350         (CTID): Likewise.
38351         (__clone): Do not use BP_SYM.
38352         (clone): Do not use BP_SYM in weak_alias.
38353         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38354         and <bp-asm.h>.
38355         (PARMS): Do not use macros from bp-asm.h.
38356         (LEN): Likewise.
38357         (__mmap64): Do not use BP_SYM.
38358         (mmap64): Do not use BP_SYM in weak_alias.
38359         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38360         <bp-sym.h> and <bp-asm.h>.
38361         (PARMS): Do not use macros from bp-asm.h.
38362         (__posix_fadvise64_l64): Do not use BP_SYM.
38363         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38364         (PARMS): Do not use macros from bp-asm.h.
38365         (NSOPS): Likewise.
38366         (semtimedop): Do not use BP_SYM.
38367         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38368         and <bp-asm.h>.
38370 2013-02-21  Allan McRae  <allan@archlinux.org>
38372         * manual/message.texi (Charset conversion in gettext):
38373         Move @end statement to beginning of line.
38375 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38378         static.
38379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38380         Likewise.
38382         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38383         (denorm): Likewise.
38384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38387 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38389         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38390         tail-call to the resolved function if pltexit isn't needed.
38392 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38394         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38395         or Y being zero as being unlikely.
38396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38397         Likewise.
38399 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38401         * manual/nss.texi (System Databases and Name Service Switch):
38402         Remove frobnicate @pxref.
38404 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38406         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38407         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38409 2013-02-20  Petr Machata  <pmachata@redhat.com>
38411         * elf/elf.h (R_ARM_TARGET1): New macro.
38412         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38413         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38414         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38415         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38416         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38417         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38418         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38419         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38420         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38421         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38422         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38423         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38424         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38425         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38426         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38427         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38428         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38429         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38430         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38431         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38432         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38433         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38434         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38435         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38436         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38437         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38438         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38439         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38440         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38441         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38442         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38443         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38444         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38445         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38446         (R_ARM_THM_GOT_BREL12): Likewise.
38447         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38448         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38449         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38450         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38451         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38452         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38453         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38454         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38455         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38457 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38459         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38460         __attribute_used__ to __attribute__ ((unused)).
38462 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38464         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38465         powerpc mpa.c.
38466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38467         comment formatting.
38468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38470 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38472         [BZ #13550]
38473         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38474         Remove macro.
38475         (ENTER): Remove both macro definitions.
38476         (LEAVE): Likewise.
38477         (CHECK_BOUNDS_LOW): Likewise.
38478         (CHECK_BOUNDS_HIGH): Likewise.
38479         (CHECK_BOUNDS_BOTH): Likewise.
38480         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38481         (RETURN_BOUNDED_POINTER): Likewise.
38482         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38483         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38484         (POP_ERRNO_LOCATION_RETURN): Likewise.
38485         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38486         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38487         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38488         macros.
38489         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38490         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38491         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38492         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38493         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38494         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38495         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38496         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38497         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38498         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38499         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38500         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38501         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38502         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38503         removed macros.
38504         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38505         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38506         macros.
38507         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38508         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38509         * sysdeps/i386/i586/memset.S (memset): Likewise.
38510         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38511         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38512         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38513         macros.
38514         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38515         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38516         Change uses of L(2) to L(out).
38517         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38518         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38519         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38520         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38521         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38522         removed macros.
38523         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38524         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38525         macros.
38526         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38527         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38528         (RETURN): Do not use macro LEAVE.
38529         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38530         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38531         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38532         * sysdeps/i386/i686/memset.S (memset): Likewise.
38533         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38534         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38535         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38536         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38537         Likewise.
38538         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38539         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38540         L(1_2) and L(1_3) into L(1).
38541         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38542         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38543         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38544         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38545         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38546         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38547         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38548         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38549         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38550         macros.
38551         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38552         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38553         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38554         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38555         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38556         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38557         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38558         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38559         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38560         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38561         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38562         * sysdeps/i386/strspn.S (strspn): Likewise.
38563         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38564         conditional code.
38565         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38566         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38567         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38568         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38569         L(1_3) into L(1_1).
38570         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38571         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38572         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38573         macros.
38574         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38576 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38578         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38579         macro.
38581 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38583         * math/atest-exp.c (exp_mpn): Remove ROUND.
38584         * math/atest-exp2.c (exp_mpn): Likewise.
38585         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38587         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38588         * stdlib/tst-tls-atexit-lib.c: Likewise.
38589         * stdlib/tst-tls-atexit.c: Likewise.
38591 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38593         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38594         and __attribute_alloc_size__.
38596 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38598         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38599         __attribute_alloc_size__.
38600         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38601         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38603 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38605         * include/programs/xmalloc.h: New file.
38606         * catgets/gencat.c: Include it.
38607         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38608         * elf/pldd.c: Likewise.
38609         * iconv/iconv_charmap.c: Likewise.
38610         * iconv/iconvconfig.c: Likewise.
38611         * iconv/strtab.c: Likewise.
38612         * locale/programs/locale.c: Likewise.
38613         * locale/programs/localedef.h: Likewise.
38614         * locale/programs/simple-hash.c: Likewise.
38615         * nscd/nscd.h: Likewise.
38616         * nss/makedb.c: Likewise.
38617         * sysdeps/generic/ldconfig.h: Likewise.
38619 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38621         * Versions.def: Add GLIBC_2.18.
38622         * include/link.h (struct link_map): New member l_tls_dtor_count.
38623         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38624         (__call_tls_dtors): Likewise.
38625         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38626         __cxa_thread_atexit_impl.
38627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38628         Likewise.
38629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38630         Likewise.
38631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38632         Likewise.
38633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38634         Likewise.
38635         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38637         Likewise.
38638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38639         Likewise.
38640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38642         Likewise.
38643         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38644         (tests): Add test case tst-tls-atexit.
38645         (modules-names): Add shared library for tst-tls-atexit.
38646         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38647         (GLIBC_PRIVATE): Add __call_tls_dtors.
38648         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38649         for libstdc++.
38650         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38651         * stdlib/tst-tls-atexit.c: New test case.
38652         * stdlib/tst-tls-atexit-lib.c: New test case.
38654         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38656         * elf/Versions (ld): Add _dl_find_dso_for_object.
38657         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38658         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38659         (dl_open_worker): Use _dl_find_dso_for_object.
38660         * elf/dl-sym.c (do_sym): Likewise.
38661         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38663 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38665         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38666         Syntactic changes only.
38667         (_dl_runtime_profile): Do a tail-call to the resolved function.
38669 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38671         [BZ #13550]
38672         * sysdeps/x86_64/bp-asm.h: Remove file.
38673         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38674         <bp-sym.h> and <bp-asm.h>.
38675         (__clone): Do not use BP_SYM.
38676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38677         <bp-sym.h> and <bp-asm.h>.
38678         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38679         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38680         "bp-asm.h".
38681         (_setjmp): Do not use BP_SYM.
38682         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38683         "bp-asm.h".
38684         (setjmp): Do not use BP_SYM.
38685         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38686         libc_hidden_def.
38687         (mempcpy): Do not use BP_SYM in weak_alias.
38688         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38689         "bp-asm.h".
38690         (strchr): Do not use BP_SYM.
38691         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38692         "bp-asm.h".
38693         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38694         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38695         (_start): Do not use BP_SYM.
38696         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38697         "bp-asm.h".
38698         (strcat): Do not use BP_SYM.
38699         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38700         "bp-asm.h".
38701         (STRCMP): Do not use BP_SYM.
38702         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38703         "bp-asm.h".
38704         (STRCPY): Do not use BP_SYM.
38705         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38706         "bp-asm.h".
38707         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38708         "bp-asm.h".
38709         (FUNCTION): Do not use BP_SYM.
38710         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38711         weak_alias.
38712         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38714 2013-02-17  Andreas Jaeger  <aj@suse.de>
38716         * time/Versions: Sort entries.
38717         * string/Versions: Likewise.
38718         * resolv/Versions: Likewise.
38719         * posix/Versions: Likewise.
38720         * iconv/Versions: Likewise.
38721         * elf/Versions: Likewise.
38722         * wcsmbs/Versions: Likewise.
38724 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38726         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38727         loop termination condition.
38729         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38730         variable to calculate EZ.
38731         (__sqr): Likewise.
38733         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38734         the lower precision input.
38736 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38738         [BZ #13550]
38739         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38740         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38741         (run-via-rtld-prefix): Do not handle %-bp tests.
38742         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38743         (all-object-suffixes): Remove .ob.
38744         (bppfx): Remove variable.
38745         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38746         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38747         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38748         [$(build-bounded) = yes] (libtype.ob): Likewise.
38749         * Makerules (elide-routines.ob): Remove variable.
38750         (do-tests-clean): Do not handle *-bp.out.
38751         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38752         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38753         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38754         (tests): Do not include $(tests-bp.out).
38755         (xtests): Do not include $(xtests-bp.out).
38756         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38757         [$(build-bounded) = yes] ($(addprefix
38758         $(objpfx),$(binaries-bounded))): Remove rule.
38759         ($(objpfx)%-bp.out): Remove rule.
38760         * config.make.in (build-bounded): Remove variable.
38761         * crypt/Makefile [$(build-bounded) = yes]
38762         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38763         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38764         append to variable.
38765         [$(build-bounded) = yes] (install-lib): Likewise.
38766         [$(build-bounded) = yes] (generated): Likewise.
38767         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38768         Remove rule.
38769         * intl/Makefile [$(build-bounded) = yes]
38770         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38771         * math/Makefile [$(build-bounded) = yes]
38772         ($(tests:%=$(objpfx)%-bp): Likewise.
38773         * misc/Makefile [$(build-bounded) = yes]
38774         ($(objpfx)tst-tsearch-bp): Likewise.
38775         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38776         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38777         Remove dependency.
38778         * string/Makefile (o-objects.ob): Remove variable.
38779         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38780         (CFLAGS-.ob): Remove variable.
38781         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38782         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38783         both definitions of variable.
38784         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38785         (ASFLAGS-.ob): Remove variable.
38787 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38789         [BZ #13550]
38790         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38791         Remove __BOUNDED_POINTERS__ from condition.
38792         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38793         * string/bits/string2.h [!__NO_STRING_INLINES &&
38794         !__BOUNDED_POINTERS__]: Likewise.
38795         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38796         Likewise.
38797         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38798         Remove conditional code.
38799         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38800         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38801         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38802         condition.
38804         [BZ #13550]
38805         * csu/libc-start.c: Do not include <bp-sym.h>.
38806         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38807         * elf/dl-open.c: Do not include <bp-sym.h>.
38808         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38809         * math/fegetenv.c: Do not include <bp-sym.h>.
38810         (fegetenv): Do not use BP_SYM in versioned symbols.
38811         * nptl/sysdeps/pthread/bits/libc-lockP.h
38812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38813         <bp-sym.h>.
38814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38815         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38817         (__pthread_mutex_destroy): Likewise.
38818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38819         (__pthread_mutex_lock): Likewise.
38820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38821         (__pthread_mutex_trylock): Likewise.
38822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38823         (__pthread_mutex_unlock): Likewise.
38824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38825         (__pthread_mutexattr_init): Likewise.
38826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38827         (__pthread_mutexattr_destroy): Likewise.
38828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38829         (__pthread_mutexattr_settype): Likewise.
38830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38831         (__pthread_rwlock_init): Likewise.
38832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38833         (__pthread_rwlock_destroy): Likewise.
38834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38835         (__pthread_rwlock_rdlock): Likewise.
38836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38837         (__pthread_rwlock_tryrdlock): Likewise.
38838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38839         (__pthread_rwlock_wrlock): Likewise.
38840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38841         (__pthread_rwlock_trywrlock): Likewise.
38842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38843         (__pthread_rwlock_unlock): Likewise.
38844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38845         (__pthread_key_create): Likewise.
38846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38847         (__pthread_setspecific): Likewise.
38848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38849         (__pthread_getspecific): Likewise.
38850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38851         Likewise.
38852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38853         (_pthread_cleanup_push_defer): Likewise.
38854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38855         (_pthread_cleanup_pop_restore): Likewise.
38856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38857         (pthread_setcancelstate): Likewise.
38858         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38859         <bp-sym.h>.
38860         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38861         (memchr): Do not use BP_SYM in weak_alias.
38862         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38863         (fegetenv): Do not use BP_SYM in versioned symbols.
38864         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38865         (fesetenv): Do not use BP_SYM in versioned symbols.
38866         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38867         (feupdateenv): Do not use BP_SYM in versioned symbols.
38868         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38869         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38870         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38871         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38872         (open64): Do not use BP_SYM in weak_alias.
38873         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38874         (fegetenv): Do not use BP_SYM in versioned symbols.
38875         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38876         (fesetenv): Do not use BP_SYM in versioned symbols.
38877         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38878         (feupdateenv): Do not use BP_SYM in versioned symbols.
38879         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38880         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38881         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38882         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38883         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38884         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38885         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38886         <bp-sym.h>.
38887         (__libc_start_main): Do not use BP_SYM.
38889 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38892         redundant return line.
38893         (norm): Likewise.
38894         (denorm): Likewise.
38895         (dbl_mp): Likewise.
38896         (sub_magnitudes): Likewise.
38897         (__add): Likewise.
38898         (__sub): Likewise.
38899         (__mul): Likewise.
38900         (__inv): Likewise.
38901         (__dvd): Likewise.
38902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38903         (norm): Likewise.
38904         (denorm): Likewise.
38905         (dbl_mp): Likewise.
38906         (sub_magnitudes): Likewise.
38907         (__add): Likewise.
38908         (__sub): Likewise.
38909         (__mul): Likewise.
38910         (__inv): Likewise.
38911         (__dvd): Likewise.
38913         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38914         instead of __mul.
38915         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38916         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38917         (cc32): Likewise.
38919         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38920         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38922         of __mul for squares.
38923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38924         function
38925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38926         Likewise.
38927         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38928         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38930 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38932         [BZ #13550]
38933         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38934         code.
38935         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38936         prototype or function definition.  Rename ubp_* variables and
38937         parameters.  Remove argv definitions conditional on
38938         [__BOUNDED_POINTERS__].
38939         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38940         * elf/dl-runtime.c (_dl_fixup): Likewise.
38941         * include/set-hooks.h (RUN_HOOK): Likewise.
38942         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38943         definition.
38944         * string/strcpy.c (strcpy): Do not use __unbounded.
38945         * sysdeps/generic/frame.h (struct layout): Likewise.
38946         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38947         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38948         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38949         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38950         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38951         (__backtrace): Likewise.
38952         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38953         use __ptrvalue.
38954         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38955         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38956         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38957         Likewise.
38958         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38959         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38960         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38961         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38962         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38963         Do not use __unbounded.
38964         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38965         Rename __unboundedrlimits parameter to rlimits in prototype.
38966         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38967         Do not use __unbounded.
38968         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38969         not use __ptrvalue.
38970         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38971         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38972         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38973         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38974         __ptrvalue or __unbounded.
38975         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38976         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38977         use __unbounded.
38978         (__new_msgctl): Do not use __ptrvalue.
38979         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38980         __unbounded.
38981         (__libc_msgrcv): Do not use __ptrvalue.
38982         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38983         startup_info): Do not use __unbounded.
38984         (__libc_start_main): Likewise.  Rename ubp_* variables and
38985         parameters.  Remove argv definitions conditional on
38986         [__BOUNDED_POINTERS__].
38987         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38988         __ptrvalue.
38989         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38990         use __unbounded.
38991         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38992         or __ptrvalue.
38993         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38994         use __unbounded.
38995         (__new_shmctl): Do not use __ptrvalue.
38996         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38997         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38998         Likewise.
38999         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39000         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39001         (__libc_sigaction): Likewise.
39002         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39003         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39004         Likewise.
39005         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39007 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39009         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39011         * string/mempcpy.c: Implement by calling memcpy.
39013 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39015         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39017         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39018         evaluation.
39020         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39021         values in the mantissa.
39023         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39024         minimize writes to Z.
39025         (sub_magnitudes): Simplify code a bit.
39027 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39029         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39030         from the message.  The linker prefixes all warnings with that already.
39032 2013-02-12  Andreas Schwab  <schwab@suse.de>
39034         [BZ #15078]
39035         * posix/regexec.c (extend_buffers): Add parameter min_len.
39036         (check_matching): Pass minimum needed length.
39037         (clean_state_log_if_needed): Likewise.
39038         (get_subexp): Likewise.
39039         * posix/Makefile (tests): Add bug-regex34.
39040         (bug-regex34-ENV): Define.
39041         * posix/bug-regex34.c: New file.
39043         [BZ #11561]
39044         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39045         elements compare against the byte sequence of it, not its name.
39046         * posix/Makefile (tests): Add bug-regex35.
39047         (bug-regex35-ENV): Define.
39048         * posix/bug-regex35.c: New file.
39050 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39052         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39053         comment.
39054         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39055         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39056         (CHECK_EOL): Add undef.
39058 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39060         * bits/stdlib-bsearch.h: New file.
39061         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39062         * stdlib/stdlib.h: Likewise.
39064 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39066         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39067         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39068         declaration.
39069         * manual/search.texi (Array Search Function): Add missing const in
39070         lfind prototype.
39071         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39072         declaration to use rlim_t.
39073         (Basic Scheduling Functions): Remove erroneous const from
39074         sched_getparam prototype.  Remove erroneous * from
39075         sched_get_priority_max and sched_get_priority_min prototypes.
39076         (Resource Usage): Fix summary @comment on vtimes to refer to
39077         sys/vtimes.h rather than vtimes.h.
39078         Add missing *s in vtimes prototype.
39079         (Limits on Resources): Fix ulimit prototype to return long int.
39080         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39081         prototypes to use long int rather than double.
39082         (BSD Random): Fix initstate and setstate to use char *, not void *.
39083         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39084         prototype to make second argument 'struct aiocb64 *const[]'.
39085         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39086         (Status of AIO Operations): Remove erroneous const in aio_return and
39087         aio_return64 prototypes.
39088         (Synchronizing I/O): Fix sync prototype to return void.
39089         * manual/startup.texi (Suboptions): Remove an erroneous const in
39090         getsubopt prototype.
39091         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39092         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39093         use size_t rather than int.
39094         (Scanning All Users): Likewise for getpwent_r.
39095         (Setting Groups): Add missing const to setgroups prototype.
39096         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39097         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39098         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39099         'const void *' rather than 'const char *'.
39100         (Host Address Functions): Likewise for inet_ntop.
39101         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39102         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39103         ssize_t for return value.
39104         (Sending Data): Likewise for send, sendto, sendmsg.
39105         (Socket Option Functions): Add a missing const in setsockopt prototype.
39106         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39107         use wchar_t for the argument.
39108         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39109         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39110         take no arguments.
39111         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39112         double/float/long double for second argument.
39113         Fix return types of significand, significandf, significandl.
39114         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39115         argument in fchmod prototype.
39116         (File Owner): Use uid_t and gid_t in fchown prototype.
39117         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39118         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39119         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39120         use 'const struct dirent **' as argument types to CMP function pointer
39121         argument.
39122         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39123         (File Times): Fix summary magic @comment for struct utimbuf and utime
39124         to refer to utime.h, not time.h.
39125         * manual/string.texi (Argz Functions): Add missing const in
39126         argz_extract and argz_next prototypes.
39127         (Finding Tokens in a String): Likewise for basename.
39128         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39129         (Copying and Concatenation): Fix typo in wmemmove prototype.
39130         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39131         (Signal Stack): Remove erroneous const in sigstack prototype.
39132         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39133         prototype.
39134         (Simple Calendar Time): Likewise for stime.
39135         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39136         prototype.
39137         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39138         say sys/sysctl.h instead.
39139         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39140         and vsyslog prototypes.
39142 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39144         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39145         Remove.
39147 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39149         * misc/sys/mman.h: Fix typo in mremap comment.
39151 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39153         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39154         the '\0' terminator.
39156 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39158         [BZ #13550]
39159         * debug/segfault.c: Don't include <bp-checks.h>.
39160         * sysdeps/generic/bp-checks.h: Remove file.
39161         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39162         (__GETDENTS): Don't use CHECK_N.
39163         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39164         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39165         (__getgroups): Don't use CHECK_N.
39166         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39167         (setgroups): Don't use CHECK_N.
39168         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39169         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39170         (__libc_msgrcv): Don't use CHECK_N.
39171         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39172         (__libc_msgsnd): Don't use CHECK_N.
39173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39174         <bp-checks.h>.
39175         (__libc_pread): Don't use CHECK_N.
39176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39177         include <bp-checks.h>.
39178         (__libc_pread64): Don't use CHECK_N.
39179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39180         include <bp-checks.h>.
39181         (__libc_pwrite): Don't use CHECK_N.
39182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39183         include <bp-checks.h>.
39184         (__libc_pwrite64): Don't use CHECK_N.
39185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39186         <bp-checks.h>.
39187         (__libc_pread): Don't use CHECK_N.
39188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39189         include <bp-checks.h>.
39190         (__libc_pread64): Don't use CHECK_N.
39191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39192         include <bp-checks.h>.
39193         (__libc_pwrite): Don't use CHECK_N.
39194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39195         include <bp-checks.h>.
39196         (__libc_pwrite64): Don't use CHECK_N.
39197         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39198         (do_pread): Don't use CHECK_N.
39199         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39200         (do_pread64): Don't use CHECK_N.
39201         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39202         (do_pwrite): Don't use CHECK_N.
39203         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39204         (do_pwrite64): Don't use CHECK_N.
39205         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39206         (__libc_readv): Don't use CHECK_N.
39207         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39208         (semop): Don't use CHECK_N.
39209         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39210         <bp-checks.h>.
39211         (semtimedop): Don't use CHECK_N.
39212         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39213         (__libc_pread): Don't use CHECK_N.
39214         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39215         <bp-checks.h>.
39216         (__libc_pread64): Don't use CHECK_N.
39217         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39218         <bp-checks.h>.
39219         (__libc_pwrite): Don't use CHECK_N.
39220         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39221         <bp-checks.h>.
39222         (__libc_pwrite64): Don't use CHECK_N.
39223         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39224         <bp-checks.h>.
39225         (__libc_msgrcv): Don't use CHECK_N.
39226         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39227         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39228         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39229         (__libc_writev): Don't use CHECK_N.
39231 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39233         * string/strcpy.c: Removed unused variable.
39235         * Makeconfig (+sysdep-includes): Define with := rather than =.
39236         Use an existing include/ subdir of each sysdeps dir before it.
39238 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39240         * nscd/connection.c (register_traced_file): Comment function.
39241         [HAVE_INOTIFY] (union __inev): Define.
39242         [HAVE_INOTIFY] (inotify_check_files): New function.
39243         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39244         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39245         clear_db_cache.
39246         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39248 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39250         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39251         loaded if not already and that a failure is permanent.
39253 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39255         [BZ #15006]
39256         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39257         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39259 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39261         [BZ #13550]
39262         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39263         (CHECK_1_NULL_OK): Likewise.
39264         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39265         (__fxstat): Do not use CHECK_1.
39266         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39267         <bp-checks.h>.
39268         (___fxstat64): Do not use CHECK_1.
39269         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39270         <bp-checks.h>.
39271         (__fxstatat): Do not use CHECK_1.
39272         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39273         <bp-checks.h>.
39274         (__fxstatat64): Do not use CHECK_1.
39275         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39276         <bp-checks.h>.
39277         (__fxstat): Do not use CHECK_1.
39278         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39279         <bp-checks.h>.
39280         (__fxstatat): Do not use CHECK_1.
39281         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39282         <bp-checks.h>.
39283         (__getresgid): Do not use CHECK_1.
39284         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39285         <bp-checks.h>.
39286         (__getresuid): Do not use CHECK_1.
39287         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39288         <bp-checks.h>.
39289         (__lxstat): Do not use CHECK_1.
39290         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39291         <bp-checks.h>.
39292         (__old_msgctl): Do not use CHECK_1.
39293         (__new_msgctl): Likewise.
39294         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39295         <bp-checks.h>.
39296         (__new_setrlimit): Do not use CHECK_1.
39297         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39298         <bp-checks.h>.
39299         (__old_shmctl): Do not use CHECK_1.
39300         (__new_shmctl): Likewise.
39301         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39302         <bp-checks.h>.
39303         (__xstat): Do not use CHECK_1.
39304         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39305         (__lxstat): Do not use CHECK_1.
39306         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39307         <bp-checks.h>.
39308         (___lxstat64): Do not use CHECK_1.
39309         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39310         (__old_msgctl): Do not use CHECK_1.
39311         (__new_msgctl): Likewise.
39312         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39313         <bp-checks.h>.
39314         (__gettimeofday): Do not use CHECK_1.
39315         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39316         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39317         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39318         <bp-checks.h>.
39319         (__gettimeofday): Do not use CHECK_1.
39320         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39321         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39322         (__new_shmctl): Do not use CHECK_1.
39323         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39324         <bp-checks.h>.
39325         (do_sigtimedwait): Do not use CHECK_1.
39326         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39327         <bp-checks.h>.
39328         (do_sigwaitinfo): Do not use CHECK_1.
39329         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39330         <bp-checks.h>.
39331         (msgctl): Do not use CHECK_1.
39332         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39333         <bp-checks.h>.
39334         (shmctl): Do not use CHECK_1.
39335         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39336         (ustat): Do not use CHECK_1.
39337         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39338         <bp-checks.h>.
39339         (__fxstat): Do not use CHECK_1.
39340         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39341         <bp-checks.h>.
39342         (__fxstatat): Do not use CHECK_1.
39343         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39344         <bp-checks.h>.
39345         (__lxstat): Do not use CHECK_1.
39346         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39347         <bp-checks.h>.
39348         (__xstat): Do not use CHECK_1.
39349         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39350         (__xstat): Do not use CHECK_1.
39351         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39352         (___xstat64): Do not use CHECK_1.
39354         [BZ #13550]
39355         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39356         definitions.
39357         (CHECK_BOUNDS_HIGH): Likewise.
39358         * string/strcpy.c: Do not include <bp-checks.h>.
39359         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39361 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39363         * nscd/nscd-client.h (__nscd_drop_map_ref):
39364         Add __attribute__ ((unused)).
39365         * nis/nss-nisplus.h (niserr2nss): Likewise.
39367         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39368         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39370         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39371         Remove inline keyword.
39372         * include/rounding-mode.h (round_away): Likewise.
39373         * libio/wfileops.c (adjust_wide_data): Likewise.
39374         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39375         (__m128i_strloadu_tolower): Likewise.
39376         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39377         (__m128i_strloadu_tolower): Likewise.
39378         * time/mktime.c (ydhms_diff): Likewise.
39379         * locale/elem-hash.h (elem_hash): Likewise.
39380         * locale/setlocale.c (setdata): Likewise.
39381         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39382         (re_string_wchar_at): Likewise.
39383         (bitset_not, bitset_merge, bitset_mask): Likewise.
39384         [!(__GNUC__ > 3)] (inline): Remove macro.
39385         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39386         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39387         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39388         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39389         * string/memcmp.c (memcmp_bytes): Likewise.
39390         * locale/programs/locarchive.c (compute_hashval): Likewise.
39391         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39392         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39393         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39394         * nss/getent.c (print_rpc, print_protocols): Likewise.
39395         (print_passwd, print_group, print_aliases): Likewise.
39396         * nis/nss-nisplus.h (niserr2nss): Likewise.
39397         * nscd/connections.c (restart_p): Likewise.
39398         Change return type to bool.
39400 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39402         * Makeconfig (all-Depend-files): Add existing
39403         $(sorted-subdirs:=/Depend) files.
39404         (all-subdirs): Remove nss.
39405         * sysdeps/unix/inet/Subdirs: Add it here instead.
39406         * hesiod/Depend: New file.
39408         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39409         instead of calling alloca.
39411         * io/lseek.c (__lseek): Rename to __libc_lseek.
39412         Define __lseek as an alias.
39414         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39416 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39418         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39419         else clause and remove check for non-standard endianness.
39421 2013-02-04  David S. Miller  <davem@davemloft.net>
39423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39425 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39427         [BZ #13550]
39428         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39429         (__ubp_memchr): Remove prototype.
39430         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39431         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39432         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39433         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39434         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39435         Remove alias.
39436         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39437         (__ubp_memchr): Likewise.
39438         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39439         (__ubp_memchr): Likewise.
39440         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39441         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39442         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39443         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39444         CHECK_STRING.
39445         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39446         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39447         (__getcwd): Do not use CHECK_STRING.
39448         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39449         <bp-checks.h>.
39450         (__real_chown): Do not use CHECK_STRING.
39451         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39452         <bp-checks.h>.
39453         (fchownat): Do not use CHECK_STRING.
39454         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39455         CHECK_STRING.
39456         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39457         <bp-checks.h>.
39458         (__lchown): Do not use CHECK_STRING.
39459         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39460         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39461         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39462         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39464         include <bp-checks.h>.
39465         (truncate64): Do not use CHECK_STRING.
39466         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39467         <bp-checks.h>.
39468         (__real_chown): Do not use CHECK_STRING.
39469         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39470         <bp-checks.h>.
39471         (__lchown): Do not use CHECK_STRING.
39472         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39473         <bp-checks.h>.
39474         (__chown): Do not use CHECK_STRING.
39475         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39476         <bp-checks.h>.
39477         (truncate64): Do not use CHECK_STRING.
39478         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39479         Likewise.
39480         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39481         (__xmknod): Do not use CHECK_STRING.
39482         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39483         <bp-checks.h>.
39484         (__xmknodat): Do not use CHECK_STRING.
39485         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39486         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39488 2013-02-04  Andreas Schwab  <schwab@suse.de>
39490         [BZ #14142]
39491         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39492         * include/netdb.h: Likewise for h_errno.
39493         * elf/tst-stackguard1.c: Include <tls.h>.
39495 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39497         * elf/link.h (struct link_map): Extend the l_addr comment.
39498         * include/link.h (struct link_map): Likewise.
39500 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39502         [BZ #13550]
39503         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39504         (BOUNDED_1): Remove macro.
39505         * debug/backtrace.c: Don't include <bp-checks.h>.
39506         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39507         (__backtrace): Likewise.
39508         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39509         <bp-checks.h>.
39510         (__backtrace): Don't use BOUNDED_1.
39511         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39512         <bp-checks.h>.
39513         (__backtrace): Don't use BOUNDED_1.
39514         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39515         (__backtrace): Don't use BOUNDED_1.
39516         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39517         (shmat): Don't use BOUNDED_N.
39519 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39521         [BZ #13550]
39522         * sysdeps/generic/bp-start.h: Remove file.
39523         * csu/libc-start.c: Don't include <bp-start.h>.
39524         (LIBC_START_MAIN): Set up __environ directly instead of using
39525         INIT_ARGV_and_ENVIRON.
39526         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39527         <bp-start.h>.
39529         [BZ #13550]
39530         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39531         definitions.
39532         (CHECK_FCNTL): Likewise.
39533         (CHECK_N_PAGES): Likewise.
39535         [BZ #13550]
39536         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39537         definitions.
39538         (CHECK_SIGSET_NULL_OK): Likewise.
39539         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39540         <bp-checks.h>.
39541         (sigpending): Don't use CHECK_SIGSET.
39542         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39543         <bp-checks.h>.
39544         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39545         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39546         <bp-checks.h>.
39547         (do_sigsuspend): Don't use CHECK_SIGSET.
39548         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39549         use CHECK_SIGSET.
39550         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39551         (do_sigwait): Don't use CHECK_SIGSET.
39552         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39553         use CHECK_SIGSET.
39554         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39555         include <bp-checks.h>.
39556         (sigpending): Don't use CHECK_SIGSET.
39557         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39558         include <bp-checks.h>.
39559         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39560         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39561         <bp-checks.h>.
39562         (sigpending): Don't use CHECK_SIGSET.
39563         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39564         <bp-checks.h>.
39565         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39567         [BZ #13550]
39568         * sysdeps/generic/bp-semctl.h: Remove file.
39569         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39570         <bp-checks.h> and <bp-semctl.h>.
39571         (__old_semctl): Don't use CHECK_SEMCTL.
39572         (__new_semctl): Likewise.
39573         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39574         and <bp-semctl.h>.
39575         (__old_semctl): Don't use CHECK_SEMCTL.
39576         (__new_semctl): Likewise.
39577         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39578         <bp-checks.h> and <bp-semctl.h>.
39579         (__old_semctl): Don't use CHECK_SEMCTL.
39580         (__new_semctl): Likewise.
39581         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39582         <bp-checks.h> and <bp-semctl.h>.
39583         (semctl): Don't use CHECK_SEMCTL.
39585         [BZ #13550]
39586         * Makerules (elide-bp-thunks): Remove variable.
39587         (elide-routines.oS): Don't use $(elide-bp-thunks).
39588         (elide-routines.os): Likewise.
39589         (elide-routines.o): Likewise.
39590         (elide-routines.op): Likewise.
39591         (elide-routines.og): Likewise.
39592         (objects): Don't use $(bp-thunks).
39593         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39594         include.
39595         (common-generated): Do not add s-proto-bp.d.
39596         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39597         (int): Likewise.
39598         (typ): Likewise.
39599         Do not generate makefile rules for bounded-pointer thunks.
39600         * sysdeps/generic/bp-thunks.h: Remove file.
39601         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39602         * sysdeps/unix/s-proto-bp.S: Likewise.
39604         [BZ #15062]
39605         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39606         parts of result separately when argument is not close to line from
39607         -i to i and one part of argument is small.
39608         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39609         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39610         * math/libm-test.inc (cacos_test): Add more tests.
39611         (casin_test): Likewise.
39612         (casinh_test): Likewise.
39613         * sysdeps/i386/fpu/libm-test-ulps: Update.
39614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39616 2013-01-31  David S. Miller  <davem@davemloft.net>
39618         * po/de.po: Update from translation team.
39620 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39622         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39624 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39626         * configure.in (_AC_PROG_CC_C89): New definition.
39627         * configure: Regenerate.
39629         * configure.in (AC_PROG_CPP): New definition.
39630         * configure: Regenerate.
39632 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39634         * debug/tst-backtrace.h: New file.
39635         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39636         (ret): Remove variable.
39637         (x): Likewise.
39638         (FAIL): Remove macro.
39639         (NO_INLINE): Likewise.
39640         (fn1): Use match function instead of strstr.
39641         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39642         (ret): Remove variable.
39643         (x): Likewise.
39644         (FAIL): Remove macro.
39645         (NO_INLINE): Likewise.
39646         (fn): Use match function instead of strstr.
39647         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39648         (ret): Remove variable.
39649         (x): Likewise.
39650         (FAIL): Remove macro.
39651         (NO_INLINE): Likewise.
39652         (handle_signal): Use match function instead of strstr.
39653         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39654         (ret): Remove variable.
39655         (x): Likewise.
39656         (FAIL): Remove macro.
39657         (NO_INLINE): Likewise.
39658         (handle_signal): Use match function instead of strstr.
39660 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39662         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39664 2013-01-23  David S. Miller  <davem@davemloft.net>
39666         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39667         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39668         argument of CAS if possible.
39669         * sysdeps/sparc/sparc64/bits/atomic.h
39670         (__arch_compare_and_exchange_val_32_acq): Likewise.
39671         (__arch_compare_and_exchange_val_64_acq): Likewise.
39673 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39675         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39676         * sysdeps/posix/ulimit.c: ... this.
39677         Include <limits.h>.
39678         * sysdeps/unix/bsd/ulimit.c: Remove file.
39680 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39682         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39683         (LDFLAGS-tst-array5): Likewise.
39685 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39687         [BZ #15036]
39688         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39689         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39690         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39691         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39693 2013-01-21  David S. Miller  <davem@davemloft.net>
39695         * sysdeps/sparc/backtrace.c: New file.
39696         * sysdeps/sparc/sparc32/backtrace.h: New file.
39697         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39698         * sysdeps/sparc/sparc64/backtrace.h: New file.
39699         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39700         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39701         -funwind-tables.
39703 2013-01-21  Andreas Schwab  <schwab@suse.de>
39705         [BZ #15020]
39706         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39707         closed its stdout.
39709 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39712         "mpa2.h".
39713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39715 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39716             Mark Mitchell  <mark@codesourcery.com>
39717             Tom de Vries  <tom@codesourcery.com>
39718             Paul Pluzhnikov  <ppluzhnikov@google.com>
39720         * debug/tst-backtrace2.c: New file.
39721         * debug/tst-backtrace3.c: Likewise.
39722         * debug/tst-backtrace4.c: Likewise.
39723         * debug/tst-backtrace5.c: Likewise.
39724         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39725         (CFLAGS-tst-backtrace3.c): Likewise.
39726         (CFLAGS-tst-backtrace4.c): Likewise.
39727         (CFLAGS-tst-backtrace5.c): Likewise.
39728         (LDFLAGS-tst-backtrace2): Likewise.
39729         (LDFLAGS-tst-backtrace3): Likewise.
39730         (LDFLAGS-tst-backtrace4): Likewise.
39731         (LDFLAGS-tst-backtrace5): Likewise.
39732         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39733         tst-backtrace4 and tst-backtrace5.
39735 2013-01-18  Anton Blanchard  <anton@samba.org>
39736             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39738         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39739         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39740         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39741         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39743         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39744         "+r" and remove output regs list as redundant.  Add explicit inline
39745         asm to specify register of return val to work around compiler codegen
39746         bug.  Remove (int) cast on return value.  Add return type parameter to
39747         use in macro so that this macro does not truncate return value for
39748         64-bit values.
39749         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39750         pass to INTERNAL_VSYSCALL_NCS.
39751         (INLINE_VSYSCALL): Add 'long int' as return type to
39752         INTERNAL_VSYSCALL_NCS macro invocation.
39753         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39754         INTERNAL_VSYSCALL_NCS macro invocation.
39755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39757 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39759         [BZ #14496]
39760         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39761         Fix application of SIMD FP exception mask.
39763         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39764         mp_no from a power of two.
39765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39766         __mpexp_twomm1.  Use __pow_mp.
39768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39769         multiplication.
39771 2013-01-17  David S. Miller  <davem@davemloft.net>
39773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39775 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39777         [BZ #15023]
39778         * include/complex.h: Condition contents on [!_COMPLEX_H].
39779         (__kernel_casinhf): New prototype.
39780         (__kernel_casinh): Likewise.
39781         (__kernel_casinhl): Likewise.
39782         * math/Makefile (libm_calls): Add k_casinh.
39783         * math/k_casinh.c: New file.
39784         * math/k_casinhf.c: Likewise.
39785         * math/k_casinhl.c: Likewise.
39786         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39787         finite nonzero arguments.
39788         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39789         finite nonzero arguments.
39790         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39791         finite nonzero arguments.
39792         * math/s_casinh.c: Do not include <float.h>.
39793         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39794         * math/s_casinhf.c: Do not include <float.h>.
39795         (__casinhf): Move code for finite nonzero arguments to
39796         k_casinhf.c.
39797         * math/s_casinhl.c: Do not include <float.h>.
39798         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39799         redefine.
39800         (__casinhl): Move code for finite nonzero arguments to
39801         k_casinhl.c.
39802         * math/libm-test.inc (cacos_test): Add more tests.
39803         * sysdeps/i386/fpu/libm-test-ulps: Update.
39804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39806 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39808         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39809         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39810         [!HAVE_MREMAP]: Remove [defined linux] case.
39811         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39813 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39815         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39817 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39819         * elf/elf.h (R_386_SIZE32): New relocation.
39820         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39821         R_386_SIZE32.
39822         (elf_machine_rela): Likewise.
39823         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39824         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39826 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39828         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39829         (FP_FAST_FMA): Do not define.
39830         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39831         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39832         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39833         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39834         !_SOFT_FLOAT]: Likewise.
39835         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39836         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39837         value.
39838         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39839         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39840         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39841         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39842         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39843         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39844         file.
39846 2013-01-16  Andreas Schwab  <schwab@suse.de>
39848         [BZ #14327]
39849         * include/stdlib.h (__mktemp): Add declaration.
39850         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39851         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39853 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39855         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39856         definitions.
39857         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39858         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39859         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39860         definitions here.
39861         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39862         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39863         definitions.
39864         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39865         and ONE.
39866         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39867         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39868         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39869         definitions.
39870         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39871         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39872         definitions.
39873         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39875         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39877 2013-01-15  David S. Miller  <davem@davemloft.net>
39879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39880         trunc{,f} to libm-sysdep_routes.
39881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39883         file.
39884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39886         file.
39887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39888         file.
39889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39891         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39892         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39893         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39894         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39895         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39896         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39899         nearbyint{,f} to libm-sysdep_routes.
39900         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39902         New file.
39903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39904         file.
39905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39906         New file.
39907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39908         file.
39909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39911         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39912         file.
39913         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39914         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39915         file.
39916         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39917         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39918         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39920         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39921         libc_feholdexcept and libc_fesetenv.
39923 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39925         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39927 2013-01-14  David S. Miller  <davem@davemloft.net>
39929         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39930         (SPARC_ASM_VIS2_IFUNC): Likewise.
39931         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39933         use of 'siam' instruction.
39934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39935         Likewise.
39936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39937         Likewise.
39938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39939         Likewise.
39940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39945         file.
39946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39947         file.
39948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39949         file.
39950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39951         file.
39952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39957         new VIS2 routines.
39958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39961         Likewise.
39962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39967         routines to libm-sysdep_routines.
39968         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39971         fdim/fdimf to libm-sysdep_routines.
39972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39973         file.
39974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39976         file.
39977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39980         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39981         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39982         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39983         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39985 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39987         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39988         to optimize copies.
39990         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39995         local variable MPTWO.
39996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39997         Likewise.
39999 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40001         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40002         GLOB_NOESCAPE.
40004 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40006         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40008 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40010         * manual/pattern.texi (glob_t): Document gl_flags.
40011         (glob64_t): Likewise.
40013 2013-01-11  David S. Miller  <davem@davemloft.net>
40015         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40016         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40017         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40018         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40019         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40020         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40021         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40022         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40023         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40024         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40025         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40026         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40027         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40029         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40030         sparc V9 rather than using V8 code.
40031         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40032         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40034         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40035         Move to...
40036         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40037         Here.
40039 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40041         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40042         not in the main loop.
40043         * configure: Regenerated.
40045 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40047         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40048         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40049         to just #else.
40050         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40051         [!__GLIBC_HAVE_LONG_LONG] case.
40052         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40053         condition to just #else.
40054         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40055         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40056         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40057         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40058         unconditional.
40059         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40060         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40061         #elif condition to just #else.
40062         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40063         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40064         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40065         #elif condition to just #else.
40067 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40069         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40070         (EF_MIPS_ARCH_64): Fix value.
40071         (EF_MIPS_ARCH_32R2): New.
40072         (EF_MIPS_ARCH_64R2): New.
40074 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40076         * Makeconfig (+link-pie-before-libc): New.
40077         (+link-pie-after-libc): Likewise.
40078         (+link-pie-tests): Likewise.
40079         (+link-pie): Rewritten.
40080         (link-before-libc): Remove $(config-LDFLAGS).
40081         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40082         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40083         (config-LDFLAGS): Renamed to ...
40084         (rtld-LDFLAGS): This.
40085         (rtld-tests-LDFLAGS): New macro.
40086         (link-libc-rpath-link): Likewise.
40087         (link-libc-tests-rpath-link): Likewise.
40088         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40089         (link-libc): Prepand $(link-libc-rpath-link).
40090         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40091         (test-program-prefix): New macro.
40092         (test-via-rtld-prefix): Likewise.
40093         (test-program-cmd): Likewise.
40094         (host-test-program-cmd): Likewise.
40095         * Makefile ($(common-objpfx)testrun.sh): Replace
40096         $(run-program-prefix) with $(test-program-prefix).
40097         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40098         $(rtld-LDFLAGS).
40099         ($(common-objpfx)shlib.lds): Likewise.
40100         (build-module-helper): Likewise.
40101         ($(common-objpfx)format.lds): Likewise.
40102         * Rules (binaries-pie-tests): New.
40103         (binaries-pie-notests): Likewise.
40104         (binaries-pie): Rewritten.
40105         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40106         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40107         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40108         (make-test-out): Replace $(host-built-program-cmd) with
40109         $(host-test-program-cmd).
40110         * config.make.in (build-hardcoded-path-in-tests): New variable.
40111         * configure.in (--enable-hardcoded-path-in-tests): New configure
40112         option.
40113         (hardcoded_path_in_tests): New AC_SUBST.
40114         * configure: Regenerated.
40115         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40116         $(built-program-cmd) with $(test-program-cmd).
40117         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40118         (test_program_cmd): This.
40119         * elf/Makefile ($(objpfx)order.out): Run test with
40120         $(test-program-prefix).
40121         ($(objpfx)order2.out): Likewise.
40122         ($(objpfx)tst-initorder.out): Likewise.
40123         ($(objpfx)tst-initorder2.out): Likewise.
40124         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40125         $(test-program-cmd).
40126         ($(objpfx)tst-array1-static.out): Likewise.
40127         ($(objpfx)tst-array2.out): Likewise.
40128         ($(objpfx)tst-array3.out): Likewise.
40129         ($(objpfx)tst-array4.out): Likewise.
40130         ($(objpfx)tst-array5.out): Likewise.
40131         ($(objpfx)tst-array5-static.out): Likewise.
40132         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40133         $(test-program-cmd).
40134         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40135         $(run-program-prefix) with $(test-program-prefix).
40136         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40137         (test_program_prefix): This.
40138         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40139         $(run-program-prefix) with $(test-program-prefix).
40140         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40141         (test_program_prefix): This.
40142         * iconvdata/tst-tables.sh: Likewise.
40143         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40144         $(run-program-prefix) with $(test-program-prefix).
40145         ($(objpfx)tst-translit.out): Likewise.
40146         ($(objpfx)tst-gettext2.out): Likewise.
40147         ($(objpfx)tst-gettext4.out): Likewise.
40148         ($(objpfx)tst-gettext6.out): Likewise.
40149         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40150         (test_program_prefix): This.
40151         * intl/tst-gettext2.sh: Likewise.
40152         * intl/tst-gettext4.sh  Likewise.
40153         * intl/tst-gettext6.sh: Likewise.
40154         * intl/tst-translit.sh: Likewise.
40155         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40156         with $(test-program-cmd).
40157         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40158         $(run-program-prefix) with $(test-program-prefix).
40159         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40160         (test_program_prefix): This.
40161         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40162         $(run-program-prefix) with $(test-program-prefix).
40163         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40164         (test_program_prefix): This.
40165         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40166         * posix/Makefile ($(objpfx)globtest.out): Replace
40167         $(run-via-rtld-prefix) and $(test-wrapper) with
40168         $(test-program-prefix) and $(test-via-rtld-prefix).
40169         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40170         $(test-program-prefix).
40171         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40172         $(host-test-program-cmd).
40173         (tst-spawn-ARGS): Likewise.
40174         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40175         $(test-program-prefix).
40176         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40177         (test_via_rtld_prefix): This.
40178         (test_wrapper): Renamed to ...
40179         (test_program_prefix): This.
40180         (run_program_prefix): Replaced by test_program_prefix.
40181         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40182         (test_program_prefix): This.
40183         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40184         with $(host-test-program-cmd).
40185         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40186         $(run-program-prefix) with $(test-program-prefix).
40187         ($(objpfx)tst-printf.out): Likewise.
40188         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40189         $(test-program-cmd).
40190         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40191         (test_program_prefix): This.
40192         * stdio-common/tst-unbputc.sh: Likewise.
40193         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40194         $(run-program-prefix) with $(test-program-prefix).
40195         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40196         (test_program_prefix): This.
40197         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40198         $(built-program-cmd) with $(test-program-cmd).
40200 2013-01-11  Andreas Jaeger  <aj@suse.de>
40202         [BZ #15003]
40203         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40204         value. Sync with Linux 3.7.
40206 2013-01-10  David S. Miller  <davem@davemloft.net>
40208         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40209         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40210         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40212 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40214         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40215         never set.
40216         * configure: Regenerated.
40218 2013-01-10  David S. Miller  <davem@davemloft.net>
40220         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40221         sparc V9 rather than using V8 code.
40222         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40223         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40225 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40227         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40228         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40229         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40230         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40231         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40232         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40233         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40234         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40235         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40236         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40237         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40238         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40239         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40240         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40241         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40242         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40243         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40244         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40245         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40246         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40247         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40248         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40249         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40250         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40251         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40252         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40253         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40255 2013-01-10  David S. Miller  <davem@davemloft.net>
40257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40259 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40261         * posix/Makefile (tests-static): New variable.
40262         (tests): Add $(tests-static).
40263         (tst-exec-static-ARGS): New variable.
40264         (tst-spawn-static-ARGS): Likewise.
40265         * posix/tst-exec-static.c: New file.
40266         * posix/tst-spawn-static.c: Likewise.
40267         * posix/tst-exec.c: Support run directly.
40268         * posix/tst-spawn.c: Likewise.
40270 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40272         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40273         long.
40274         * math/bits/mathcalls.h (llrint): Likewise.
40275         (llround): Likewise.
40276         * stdlib/stdlib.h (struct drand48_data): Likewise.
40277         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40278         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40279         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40280         Likewise.
40281         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40282         Likewise.
40283         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40284         (elf_greg_t): Likewise.
40285         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40286         (__jmp_buf): Likewise.
40287         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40288         definitions.
40289         (llrint): Likewise, for all definitions.
40290         (llrintl): Likewise.
40292         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40293         Remove [__GNUC__] condition.
40294         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40295         condition to just [__USE_ISOC99].
40296         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40298 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40300         [BZ #14200]
40301         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40302         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40303         defined.
40304         (_POSIX_V6_ILP32_OFF32): Likewise.
40305         (_XBS5_ILP32_OFF32): Likewise.
40306         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40307         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40309 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40311         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40313         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40314         doubles __mpexp_twomm1.  Adjust usage.
40315         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40316         Remove.
40318 2013-01-10  Andreas Schwab  <schwab@suse.de>
40320         [BZ #14964]
40321         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40322         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40324 2013-01-09  David S. Miller  <davem@davemloft.net>
40326         [BZ #15003]
40327         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40328         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40329         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40330         (TCP_FASTOPEN): Define.
40331         (tcp_repair_opt): New structure.
40332         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40333         enum values.
40334         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40335         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40336         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40337         (tcp_cookie_transactions): New structure.
40339 2013-01-09  Anton Blanchard  <anton@samba.org>
40341         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40342         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40343         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40344         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40346 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40348         * include/features.h (__USE_ANSI): Remove.
40350 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40352         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40354         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40356 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40358         * sysdeps/s390/fpu/libm-test-ulps: Update.
40360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40362         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40363         (__acr): Likewise.
40364         (__cpy): Likewise.
40365         (norm): Likewise.
40366         (denorm): Likewise.
40367         (__mp_dbl): Likewise.
40368         (__dbl_mp): Likewise.
40369         (add_magnitudes): Likewise.
40370         (sub_magnitudes): Likewise.
40371         (__add): Likewise.
40372         (__sub): Likewise.
40373         (__mul): Likewise.
40374         (__inv): Likewise.
40375         (__dvd): Likewise.
40376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40377         (__acr): Likewise.
40378         (__cpy): Likewise.
40379         (norm): Likewise.
40380         (denorm): Likewise.
40381         (__mp_dbl): Likewise.
40382         (__dbl_mp): Likewise.
40383         (add_magnitudes): Likewise.
40384         (sub_magnitudes): Likewise.
40385         (__add): Likewise.
40386         (__sub): Likewise.
40387         (__mul): Likewise.
40388         (__inv): Likewise.
40389         (__dvd): Likewise.
40390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40391         (__acr): Likewise.
40392         (__cpy): Likewise.
40393         (norm): Likewise.
40394         (denorm): Likewise.
40395         (__mp_dbl): Likewise.
40396         (__dbl_mp): Likewise.
40397         (add_magnitudes): Likewise.
40398         (sub_magnitudes): Likewise.
40399         (__add): Likewise.
40400         (__sub): Likewise.
40401         (__mul): Likewise.
40402         (__inv): Likewise.
40403         (__dvd): Likewise.
40405 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40407         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40408         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40409         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40410         2 && __USE_EXTERN_INLINES]: Likewise.
40412 2013-01-08  Andreas Jaeger  <aj@suse.de>
40414         [BZ# 14985]
40415         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40416         Remove.
40417         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40418         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40420 2013-01-07  Anton Blanchard  <anton@samba.org>
40422         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40423         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40424         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40425         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40426         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40427         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40428         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40429         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40431         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40432         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40433         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40434         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40435         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40436         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40437         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40438         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40439         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40440         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40441         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40442         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40443         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40444         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40445         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40446         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40447         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40448         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40449         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40450         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40451         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40452         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40454         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40455         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40456         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40457         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40458         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40459         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40460         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40461         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40462         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40463         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40464         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40466 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40468         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40469         (__MALLOC_PMT): Likewise.
40470         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40471         [__GNUC__], only on [_LIBC].
40472         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40473         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40474         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40475         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40476         forward declaration.
40477         (realloc_hook_ini): Likewise.
40478         (memalign_hook_ini): Likewise.
40479         (__libc_memalign): Do not use __MALLOC_PMT in variable
40480         declaration.
40481         (__libc_valloc): Likewise.
40482         (__libc_pvalloc): Likewise.
40483         (__libc_calloc): Likewise.
40484         (__posix_memalign): Likewise.
40486         [BZ #14996]
40487         * math/s_casinh.c: Include <float.h>.
40488         (__casinh): Do not do computation with squaring and square root
40489         for large arguments.
40490         * math/s_casinhf.c: Include <float.h>.
40491         (__casinhf): Do not do computation with squaring and square root
40492         for large arguments.
40493         * math/s_casinhl.c: Include <float.h>.
40494         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40495         (__casinhl): Do not do computation with squaring and square root
40496         for large arguments.
40497         * math/libm-test.inc (casin_test): Add more tests.
40498         (casinh_test): Likewise.
40499         * sysdeps/i386/fpu/libm-test-ulps: Update.
40500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40502 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40504         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40505         (__x86_64_raw_data_cache_size): Likewise.
40506         (__x86_64_data_cache_size_half): Likewise.
40507         (__x86_64_raw_data_cache_size_half): Likewise.
40508         (__x86_64_shared_cache_size): Likewise.
40509         (__x86_64_raw_shared_cache_size): Likewise.
40510         (__x86_64_shared_cache_size_half): Likewise.
40511         (__x86_64_raw_shared_cache_size_half): Likewise.
40512         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40513         to ...
40514         (__x86_data_cache_size): This.
40515         (__x86_64_raw_data_cache_size): Renamed to ...
40516         (__x86_raw_data_cache_size): This.
40517         (__x86_64_data_cache_size_half): Renamed to ...
40518         (__x86_data_cache_size_half): This.
40519         (__x86_64_raw_data_cache_size_half): Renamed to ...
40520         (__x86_raw_data_cache_size_half): This.
40521         (__x86_64_shared_cache_size): Renamed to ...
40522         (__x86_shared_cache_size): This.
40523         (__x86_64_raw_shared_cache_size): Renamed to ...
40524         (__x86_raw_shared_cache_size): This.
40525         (__x86_64_shared_cache_size_half): Renamed to ...
40526         (__x86_shared_cache_size_half): This.
40527         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40528         (__x86_raw_shared_cache_size_half): This.
40529         * sysdeps/x86_64/memcpy.S: Updated.
40530         * sysdeps/x86_64/memset.S: Likewise.
40531         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40532         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40533         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40535 2013-01-04  David S. Miller  <davem@davemloft.net>
40537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40539 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40541         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40542         1 to avoid redefinition warning.
40543         (__USE_GNU): Don't define.
40544         (init_signaling_nan): Protoize.
40546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40548 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40550         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40552         (__cpymn): Likewise.
40553         (norm): Remove commented code.
40554         (denorm): Likewise.
40555         (__mp_dbl): Likewise.
40556         (__inv): Likewise.
40557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40558         (__cpymn): Likewise.
40559         (norm): Remove commented code.
40560         (denorm): Likewise.
40561         (__mp_dbl): Likewise.
40562         (__inv): Likewise.
40564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40565         mp_no value for 1.0 and 2.0.
40566         (norm): Use RADIXI instead of radixi.d.
40567         (denorm): Likewise.
40568         (__mul): Use 0.0 instead of zero.d.
40569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40570         mp_no value for 1.0 and 2.0.
40571         (norm): Use RADIXI instead of radixi.d.
40572         (denorm): Likewise.
40573         (__mul): Use 0.0 instead of zero.d.
40575 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40577         [BZ #14994]
40578         * math/s_casinh.c (__casinh): Reduce finite argument to first
40579         quadrant then set signs of results at the end.
40580         * math/s_casinhf.c (__casinhf): Likewise.
40581         * math/s_casinhl.c (__casinhl): Likewise.
40582         * math/libm-test.inc (casin_test): Add more tests.
40583         (casinh_test): Likewise.
40584         * sysdeps/i386/fpu/libm-test-ulps: Update.
40585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40587 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40589         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40591         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40593         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40594         declarations.
40595         (denorm): Likewise.
40596         (__mp_dbl): Likewise.
40597         (__inv): Likewise.
40599         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40600         and adjust the header comment.
40602         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40603         variable name from declaration.
40605 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40608         Initialize COMMON_CPUID_INDEX_7 element.
40609         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40610         (CPUID_RTM): Likewise.
40611         (HAS_RTM): Likewise.
40612         (COMMON_CPUID_INDEX_7): New enum.
40614 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40616         [BZ #14981]
40617         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40618         size is zero, record memory as freed.
40620 2013-01-03  Andreas Jaeger  <aj@suse.de>
40622         * po/ia.po: Add new Interlingua translation.
40624 2012-01-03  Allan McRae  <allan@archlinux.org>
40626         * locale/programs/localedef.c: Fix description of '--posix' flag.
40628 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40630         * NEWS: Update dates in second copyright notice.
40631         * README: Update copyright dates in example.
40632         * manual/libc.texinfo: Update copyright dates.
40633         * scripts/test-installation.pl: Update copyright date in --version
40634         output.
40636         * hurd/ctty-input.c: Fix copyright notice formatting.
40637         * hurd/ctty-output.c: Likewise.
40638         * hurd/dtable.c: Likewise.
40639         * hurd/hurd-raise.c: Likewise.
40640         * hurd/hurdprio.c: Likewise.
40641         * hurd/msgportdemux.c: Likewise.
40642         * misc/sys/file.h: Likewise.
40643         * misc/sys/ioctl.h: Likewise.
40644         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40645         * sysdeps/mach/hurd/chdir.c: Likewise.
40646         * sysdeps/mach/hurd/fchdir.c: Likewise.
40647         * sysdeps/mach/hurd/rename.c: Likewise.
40648         * sysdeps/mach/hurd/rmdir.c: Likewise.
40649         * sysdeps/mach/hurd/seekdir.c: Likewise.
40650         * sysdeps/mach/hurd/setsid.c: Likewise.
40651         * sysdeps/posix/wait3.c: Likewise.
40653         * All files with FSF copyright notices: Update copyright dates
40654         using scripts/update-copyrights.
40655         * intl/plural.c: Regenerated.
40656         * locale/programs/charmap-kw.h: Likewise.
40657         * locale/programs/locfile-kw.h: Likewise.
40659 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40661         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40662         four values.
40664         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40665         calculation loop and add branch prediction.
40667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40668         check access beyond bounds of m1np.
40670         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40671         MPTWO.
40672         (__inv): Remove local variable MPTWO to use the global
40673         constant.
40674         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40675         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40676         variable MPTWO.
40677         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40678         MP3HALFS static const.
40680 2013-01-01  David S. Miller  <davem@davemloft.net>
40682         * po/ca.po: Update from translation team.
40684 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40686         * scripts/update-copyrights: New file.
40687         * Makeconfig: Reformat copyright notice.
40688         * ctype/ctype.h: Likewise.
40689         * debug/swprintf_chk.c: Likewise.
40690         * elf/dl-cache.c: Likewise.
40691         * elf/dl-debug.c: Likewise.
40692         * elf/dl-object.c: Likewise.
40693         * grp/initgroups.c: Likewise.
40694         * hurd/Makefile: Likewise.
40695         * hurd/hurd/signal.h: Likewise.
40696         * hurd/hurdfault.c: Likewise.
40697         * hurd/hurdioctl.c: Likewise.
40698         * hurd/hurdlookup.c: Likewise.
40699         * hurd/intr-msg.c: Likewise.
40700         * iconv/gconv_open.c: Likewise.
40701         * libio/swprintf.c: Likewise.
40702         * locale/lc-ctype.c: Likewise.
40703         * locale/nl_langinfo.c: Likewise.
40704         * mach/Machrules: Likewise.
40705         * mach/Makefile: Likewise.
40706         * malloc/obstack.h: Likewise.
40707         * manual/Makefile: Likewise.
40708         * manual/tsort.awk: Likewise.
40709         * misc/bits/stab.def: Likewise.
40710         * nis/nis_print_group_entry.c: Likewise.
40711         * nis/nis_table.c: Likewise.
40712         * nis/nss_compat/compat-pwd.c: Likewise.
40713         * nis/nss_compat/compat-spwd.c: Likewise.
40714         * po/Makefile: Likewise.
40715         * posix/fnmatch.c: Likewise.
40716         * posix/regex.h: Likewise.
40717         * resolv/Makefile: Likewise.
40718         * resolv/nss_dns/dns-network.c: Likewise.
40719         * resolv/res_hconf.c: Likewise.
40720         * scripts/gen-sorted.awk: Likewise.
40721         * soft-fp/soft-fp.h: Likewise.
40722         * stdio-common/printf.h: Likewise.
40723         * stdlib/monetary.h: Likewise.
40724         * stdlib/random.c: Likewise.
40725         * stdlib/random_r.c: Likewise.
40726         * sysdeps/generic/Makefile: Likewise.
40727         * sysdeps/gnu/Makefile: Likewise.
40728         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40730         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40732         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40734         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40735         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40736         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40737         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40738         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40739         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40740         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40741         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40742         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40743         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40744         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40746         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40748         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40749         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40750         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40751         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40752         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40754         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40756         * sysdeps/mach/hurd/errnos.awk: Likewise.
40757         * sysdeps/mach/hurd/fork.c: Likewise.
40758         * sysdeps/mach/hurd/getcwd.c: Likewise.
40759         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40760         * sysdeps/mach/hurd/mmap.c: Likewise.
40761         * sysdeps/mach/hurd/utimes.c: Likewise.
40762         * sysdeps/mach/hurd/xmknod.c: Likewise.
40763         * sysdeps/posix/profil.c: Likewise.
40764         * sysdeps/posix/readdir_r.c: Likewise.
40765         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40766         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40767         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40768         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40770         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40771         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40772         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40774         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40775         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40776         * sysdeps/pthread/lio_listio.c: Likewise.
40777         * sysdeps/sparc/dl-procinfo.h: Likewise.
40778         * sysdeps/unix/i386/sysdep.S: Likewise.
40779         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40780         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40781         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40782         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40784         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40785         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40786         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40787         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40788         * sysdeps/wordsize-32/divdi3.c: Likewise.
40789         * time/sys/time.h: Likewise.
40790         * wcsmbs/Makefile: Likewise.
40792 2013-01-01  David S. Miller  <davem@davemloft.net>
40794         * po/fr.po: Update from translation team.
40796         * catgets/gencat.c: Update copyright year.
40797         * csu/version.c: Likewise.
40798         * debug/catchsegv.sh: Likewise.
40799         * debug/pcprofiledump.c: Likewise.
40800         * debug/xtrace.sh: Likewise.
40801         * elf/ldconfig.c: Likewise.
40802         * elf/ldd.bash.in: Likewise.
40803         * elf/pldd.c: Likewise.
40804         * elf/sotruss.ksh: Likewise.
40805         * elf/sprof.c: Likewise.
40806         * iconv/iconv_prog.c: Likewise.
40807         * iconv/iconvconfig.c: Likewise.
40808         * locale/programs/locale.c: Likewise.
40809         * locale/programs/localedef.c: Likewise.
40810         * login/programs/pt_chown.c: Likewise.
40811         * malloc/memusage.sh: Likewise.
40812         * malloc/memusagestat.c: Likewise.
40813         * malloc/mtrace.pl: Likewise.
40814         * nscd/nscd.c: Likewise.
40815         * nss/getent.c: Likewise.
40816         * nss/makedb.c: Likewise.
40817         * posix/getconf.c: Likewise.
40819 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40821         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40822         numbers.
40824 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40826         * math/bits/mathcalls.h (modf): Use __nonnull.
40828 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40830         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40831         (split): Use macro CN instead of the bare value.
40832         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40833         could be used.
40834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40835         instead of the bare value.
40836         (power1): Likewise.
40838 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40840         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40841         __ATAN_TWOM.
40842         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40844         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40845         their values.
40846         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40847         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40848         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40849         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40851 2012-12-28  Andreas Jaeger  <aj@suse.de>
40853         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40854         values are from Linux 3.7.
40856         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40857         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40859 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40861         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40862         TRUE case.
40864         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40865         (norm): Likewise.
40866         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40867         variables with preprocessor constants.
40868         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40869         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40870         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40872 2012-12-27  Bruno Haible  <bruno@clisp.org>
40874         [BZ #14317]
40875         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40876         only if needed.
40878 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40881         and use variable directly.
40882         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40884         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40885         MPONE.
40886         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40887         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40888         variable MPONE.
40889         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40891         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40892         include directive.  Remove local variable MPONE.
40893         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40894         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40895         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40897 2012-12-25  David S. Miller  <davem@davemloft.net>
40899         * version.h (RELEASE): Set to "development".
40900         (VERSION): Set to "2.17.90".
40901         * NEWS: Add 2.18 section.
40903 2012-12-21  David S. Miller  <davem@davemloft.net>
40905         * po/hr.po: Update from translation team.
40907 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40909         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40911 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40913         * NEWS:  Mention new memcpy for MIPS.
40915 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40917         * manual/contrib.texi (Contributors): Spelling correction.
40919 2012-12-15  David S. Miller  <davem@davemloft.net>
40921         * po/ru.po: Update from translation team.
40923 2012-12-13  David S. Miller  <davem@davemloft.net>
40925         * NEWS: Mention IFUNC testsuite enhancements.
40927         * po/pl.po: Update from translation team.
40928         * po/bg.po: Likewise.
40930         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40931         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40933 2012-12-11  David S. Miller  <davem@davemloft.net>
40935         * po/sv.po: Update from translation team.
40937         * po/vi.po: Update from translation team.
40939         * po/cs.po: Update from translation team.
40941         * po/de.po: Update from translation team.
40942         * po/eo.po: Likewise.
40943         * po/nl.po: Likewise.
40945 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40947         [BZ #14246]
40948         * manual/argp.texi (Argp Helper Functions): Move node to follow
40949         Argp Parsing State.
40951         [BZ #14872]
40952         * manual/conf.texi (Limits on File System Capacity): Mention if
40953         terminating null is included in the max size.
40955 2012-12-10  Andreas Jaeger  <aj@suse.de>
40957         * po/cs.po: Update from translation team.
40959 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40961         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40962         void pointer and cast to uintptr_t.
40963         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40964         path.
40965         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40966         * sysdeps/s390/s390-64/memset.S: Likewise.
40968 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40970         [BZ #14833]
40971         * menual/message.texi (Message Translation): Fix typos.
40972         (Helper programs for gettext): Likewise.
40974 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40976         [BZ #14898]
40977         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40978         Change to -1.
40980 2012-12-07  David S. Miller  <davem@davemloft.net>
40982         * po/libc.pot: Update.
40984 2012-12-07  Richard Henderson  <rth@redhat.com>
40986         [BZ #10114]
40987         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40988         normal/normal case to before the switch.
40989         (_FP_DIV): Likewise.
40991 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40992             Mike Frysinger  <vapier@gentoo.org>
40994         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40995         check for __NR_fadvise64_64.
40997 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40999         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41000         0, not just to plain "0" as a statement.
41001         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41002         with cw.
41004 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41006         * NEWS: Use sourceware.org in Bugzilla URL.
41008 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41011         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41013         * stdio-common/tst-put-error.c (do_test): Add newline to the
41014         padded test to ensure flush.
41016 2012-12-05  Jeff Law  <law@redhat.com>
41018         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41020 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41022         * README: Don't refer to ports add-on as distributed separately.
41023         Mention AArch64 in list of systems supported in the ports add-on.
41025         * LICENSES: Add more non-FSF copyright and license notices.
41027         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41028         ((unused)).
41030         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41032         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41033         10000 as width of padded output.
41035 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41037         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41039         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41040         variable LX with __attribute__ ((unused)).
41041         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41042         Likewise.
41043         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41044         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41045         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41046         with __attribute__ ((unused)).
41048 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41050         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41052 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41054         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41055         (CFLAGS-nldbl-acos.c): New variable.
41056         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41057         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41058         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41059         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41060         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41061         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41062         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41063         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41064         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41065         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41066         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41067         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41068         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41069         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41070         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41071         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41072         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41073         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41074         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41075         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41076         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41077         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41078         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41079         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41080         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41081         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41082         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41083         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41084         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41085         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41086         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41087         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41088         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41089         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41090         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41091         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41092         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41093         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41094         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41095         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41096         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41097         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41098         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41099         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41100         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41101         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41102         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41103         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41104         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41105         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41106         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41107         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41108         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41109         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41110         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41111         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41112         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41113         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41114         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41115         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41116         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41117         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41118         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41119         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41120         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41121         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41122         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41123         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41124         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41125         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41126         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41127         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41128         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41129         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41130         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41131         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41132         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41133         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41134         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41135         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41136         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41137         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41138         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41139         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41140         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41141         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41142         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41143         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41144         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41145         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41146         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41147         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41148         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41149         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41150         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41151         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41152         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41155         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41157         [BZ #14914]
41158         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41159         whole low double instead of just low 47 bits when splitting values
41160         into two parts.
41162 2012-12-03  Allan McRae  <allan@archlinux.org>
41164         * manual/stdio.texi (Predefined Printf Handlers): Remove
41165         @hsep and @vsep usage.
41167 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41169         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41170         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41172 2012-12-03  Jeff Law  <law@redhat.com>
41174         * time/sys/time.h (settimeofday): Do not mark TV argument
41175         as __nonnull.
41177 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41179         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41180         when currently writing and seek to current position when not.
41181         * libio/Makefile (tests): Remove bug-fclose1.
41182         * libio/bug-fclose1.c: Delete.
41184 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41186         * manual/arith.texi (feenableexcept): Fix typo.
41187         (fedisableexcept): Likewise.
41189 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41191         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41192         second, differently-typed declaration, rather than a cast.
41194 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41196         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41197         * include/rpc/svc.h: ... here.
41199 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41201         [BZ #13013]
41202         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41203         depending n and resplen2 to catch cases where answer
41204         equals answerp2.
41206 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41208         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41209         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41211 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41213         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41215 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41217         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41219 2012-11-28  Jeff Law  <law@redhat.com>
41221         [BZ #13761]
41222         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41223         dataset_temporary.  Track alloca usage into alloca_used.
41224         If dataset is large allocate and release it via malloc/free.
41226 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41228         [BZ #14197]
41229         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41231 2012-11-28  David S. Miller  <davem@davemloft.net>
41233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41235 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41237         [BZ #14803]
41238         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41239         of pi/2 rounded to nearest to 64 bits.
41240         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41241         nearest to 64 bits.
41242         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41243         bits.
41245 2012-11-28  Jeff Law <law@redhat.com>
41246             Martin Osvald <mosvald@redhat.com>
41248         [BZ #14889]
41249         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41250         * sunrpc/svc.c: Include time.h.
41251         (__svc_accept_failed): New function.
41252         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41253         any reason other than EINTR, call __svc_accept_failed.
41254         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41255         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41257 2012-11-28  Andreas Schwab  <schwab@suse.de>
41259         * scripts/abilist.awk: Also handle indirect functions in .opd
41260         section.
41262 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41264         [BZ #13881]
41265         * sysdeps/x86/fpu/powl_helper.c: New file.
41266         * sysdeps/x86/fpu/Makefile: Likewise.
41267         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41268         (p3): New object.
41269         (__ieee754_powl): Use __powl_helper for finite arguments except
41270         integer exponents below 8.
41271         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41272         (p3): New object.
41273         (__ieee754_powl): Use __powl_helper for finite arguments except
41274         integer exponents below 8.
41275         * math/libm-test.inc (pow_test): Add more tests and enable some
41276         previously disabled tests.
41277         * sysdeps/i386/fpu/libm-test-ulps: Update.
41278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41280 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41281             Carlos O'Donell  <carlos_odonell@mentor.com>
41283         * nss/makedb.c (is_prime): Assert that input is odd and greater
41284         than 4.  Note that fact in a comment too.
41285         (next_prime): Add 4 to input.
41287 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41289         [BZ #11741]
41290         * libio/Makefile (tests): Add test case tst-fwrite-error.
41291         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41292         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41293         * libio/tst-fwrite-error.c: New test case.
41295 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41297         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41298         before casting to void *.
41299         * include/libc-internal.h (__pointer_type): New macro.
41300         (__integer_if_pointer_type_sub): Likewise.
41301         (__integer_if_pointer_type): Likewise.
41302         (cast_to_integer): Likewise.
41303         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41304         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41305         before casting to atomic64_t.
41306         (atomic_exchange_acq): Likewise.
41307         (__arch_exchange_and_add_body): Likewise.
41308         (__arch_add_body): Likewise.
41309         (atomic_add_negative): Likewise.
41310         (atomic_add_zero): Likewise.
41312 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41314         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41315         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41316         (add_fdes): Likewise.
41317         (linear_search_fdes): Likewise.
41318         (binary_search_unencoded_fdes): Likewise.
41320 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41322         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41324 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41326         * configure.in: Autodetect C++ header directories.
41327         * configure: Regenerated.
41329 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41331         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41333 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41337 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41339         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41340         LDBL_MANT_DIG == 106]: Disable some tests.
41341         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41342         Likewise.
41343         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41344         Likewise.
41346         [BZ #14871]
41347         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41348         input for small inputs.  Return +/- pi/2 for large inputs.
41349         * math/libm-test.inc (atan_test): Add more tests.
41351         * sysdeps/generic/unwind-dw2-fde-glibc.c
41352         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41353         __attribute__ ((unused)).
41355         [BZ #14645]
41356         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41357         x * y if x and y are nonzero and z is zero.
41359         [BZ #14811]
41360         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41361         nonzero exponents with absolute value below 0x1p-117 to +/-
41362         0x1p-117.
41364         [BZ #14869]
41365         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41366         up arguments below 2**-450, not just those below 2**-500.
41367         * math/libm-test.inc (hypot_test): Add another test.
41369         [BZ #14868]
41370         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41371         Return a+b for ratio over 2**120, not 2**60.
41372         * math/libm-test.inc (hypot_test): Add another test.
41374         * math/libm-test.inc (clog_test): Use
41375         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41376         (clog10_test): Likewise.
41378         [BZ #6778]
41379         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41381 2012-11-22  Andreas Schwab  <schwab@suse.de>
41383         * sysdeps/i386/fpu/libm-test-ulps: Update.
41385 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41387         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41388         printf output with newline.
41390 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41392         [BZ #14865]
41393         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41394         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41395         -z nodlopen, -z initfirst and -z execstack support.
41396         * configure: Regenerated.
41398         * elf/elf.h (DF_1_NODIRECT): New macro.
41399         (DF_1_IGNMULDEF): Likewise.
41400         (DF_1_NOKSYMS): Likewise.
41401         (DF_1_NOHDR): Likewise.
41402         (DF_1_EDITED): Likewise.
41403         (DF_1_NORELOC): Likewise.
41404         (DF_1_SYMINTPOSE): Likewise.
41405         (DF_1_GLOBAUDIT): Likewise.
41406         (DF_1_SINGLETON): Likewise.
41407         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41408         DT_1_SUPPORTED_MASK bits.
41409         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41411 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41413         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41415 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41417         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41418         macro.
41420         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41421         (sendmmsg): Move declarations...
41422         * socket/sys/socket.h: ... here.
41423         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41424         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41425         include it from...
41426         * socket/recvmmsg.c: ... this new file.
41427         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41428         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41429         definition of __sendmmsg hidden.
41430         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41431         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41432         Move ENOSYS stub into and include it from...
41433         * socket/sendmmsg.c: ... this new file.
41434         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41435         (sysdep_routines): Move recvmmsg and sendmmsg...
41436         * socket/Makefile (routines): ... here.
41437         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41438         (GLIBC_PRIVATE): Add __sendmmsg.
41439         * include/sys/socket.h (__sendmmsg): Add declarations.
41440         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41441         sendmmsg.
41443 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41445         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41446         variable I1 with __attribute__ ((unused)).
41447         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41449 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41451         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41452         DUMMY variables with __attribute__ ((unused)).
41454         * bits/byteswap.h: Include <bits/types.h>.
41455         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41457 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41459         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41460         string_t.  Do not manually set errno.
41461         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41462         length with __strnlen.  Make sure to both set errno and return it on
41463         failure.
41465 2012-11-19  David S. Miller  <davem@davemloft.net>
41467         With help from Joseph Myers.
41468         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41469         very large arguments properly.
41470         * math/libm-test.inc (atan_test): New tests.
41471         (atan2_test): New tests.
41472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41475 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41477         [BZ #14856]
41478         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41479         Define to 3.
41481         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41482         [POSIX] (EADDRNOTAVAIL): Likewise.
41483         [POSIX] (EAFNOSUPPORT): Likewise.
41484         [POSIX] (EALREADY): Likewise.
41485         [POSIX] (ECONNABORTED): Likewise.
41486         [POSIX] (ECONNREFUSED): Likewise.
41487         [POSIX] (ECONNRESET): Likewise.
41488         [POSIX] (EDESTADDRREQ): Likewise.
41489         [POSIX] (EDQUOT): Likewise.
41490         [POSIX] (EHOSTUNREACH): Likewise.
41491         [POSIX] (EIDRM): Likewise.
41492         [POSIX] (EISCONN): Likewise.
41493         [POSIX] (ELOOP): Likewise.
41494         [POSIX] (EMULTIHOP): Likewise.
41495         [POSIX] (ENETDOWN): Likewise.
41496         [POSIX] (ENETUNREACH): Likewise.
41497         [POSIX] (ENOBUFS): Likewise.
41498         [POSIX] (ENODATA): Likewise.
41499         [POSIX] (ENOLINK): Likewise.
41500         [POSIX] (ENOMSG): Likewise.
41501         [POSIX] (ENOPROTOOPT): Likewise.
41502         [POSIX] (ENOSR): Likewise.
41503         [POSIX] (ENOSTR): Likewise.
41504         [POSIX] (ENOTCONN): Likewise.
41505         [POSIX] (ENOTSOCK): Likewise.
41506         [POSIX] (EOPNOTSUPP): Likewise.
41507         [POSIX] (EOVERFLOW): Likewise.
41508         [POSIX] (EPROTO): Likewise.
41509         [POSIX] (EPROTONOSUPPORT): Likewise.
41510         [POSIX] (EPROTOTYPE): Likewise.
41511         [POSIX] (ESTALE): Likewise.
41512         [POSIX] (ETIME): Likewise.
41513         [POSIX] (ETXTBSY): Likewise.
41514         [POSIX] (EWOULDBLOCK): Likewise.
41515         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41516         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41517         [POSIX] (SEEK_CUR): Likewise.
41518         [POSIX] (SEEK_END): Likewise.
41519         [POSIX || UNIX98] (mode_t): Do not require.
41520         [POSIX] (off_t): Likewise.
41521         [POSIX] (pid_t): Likewise.
41522         [POSIX] (sys/stat.h): Do not allow header.
41523         [POSIX] (unistd.h): Likewise.
41524         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41525         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41526         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41527         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41528         require.
41529         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41530         sigevent): Specify elements.
41531         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41532         entry.
41533         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41534         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41536         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41537         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41538         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41539         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41540         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41541         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41542         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41543         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41544         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41545         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41546         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41547         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41548         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41549         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41550         Likewise.
41551         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41552         Likewise.
41553         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41554         Likewise.
41555         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41556         Likewise.
41557         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41558         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41559         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41560         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41561         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41562         Specify lower bound on value.
41563         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41564         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41565         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41566         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41567         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41568         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41569         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41570         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41571         value.
41572         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41573         as optional.
41574         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41575         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41576         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41577         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41578         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41579         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41580         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41581         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41582         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41583         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41584         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41585         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41586         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41587         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41588         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41589         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41590         entry.
41591         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41592         optional.
41593         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41594         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41595         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41596         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41597         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41598         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41599         Likewise.
41600         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41601         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41602         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41603         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41604         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41605         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41606         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41607         as optional.
41608         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41609         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41610         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41611         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41612         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41613         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41614         specify as optional.
41615         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41616         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41617         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41618         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41619         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41620         [XPG3] (NL_LANGMAX): Likewise.
41621         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41622         [POSIX || XPG3] (NL_NMAX): Likewise.
41623         [POSIX || XPG3] (NL_SETMAX): Likewise.
41624         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41625         [XPG3] (NZERO): Likewise.
41626         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41627         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41628         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41629         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41630         (REG_ERANGE): Expect.
41631         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41632         optional-constant.
41633         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41634         Use (void) in prototype.
41635         [POSIX] (*_t): Allow.
41636         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41637         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41638         (WRDE_BADVAL): Expect.
41640         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41641         expect.
41642         [XPG3 || XPG4] (O_RSYNC): Likewise.
41643         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41644         Likewise.
41645         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41646         [XPG3 || XPG4] (sigqueue): Likewise.
41647         [XPG3 || XPG4] (sigtimedwait): Likewise.
41648         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41649         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41650         [XPG3 || XPG4] (vsnprintf): Likewise.
41651         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41652         Likewise.
41653         [XPG3 || XPG4] (blksize_t): Likewise.
41654         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41655         Likewise.
41656         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41657         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41658         [XPG3 || XPG4] (struct itimerspec): Likewise.
41659         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41660         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41661         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41662         [XPG3 || XPG4] (clockid_t): Likewise.
41663         [XPG3 || XPG4] (timer_t): Likewise.
41664         [XPG3 || XPG4] (clock_getres): Likewise.
41665         [XPG3 || XPG4] (clock_gettime): Likewise.
41666         [XPG3 || XPG4] (clock_settime): Likewise.
41667         [XPG3 || XPG4] (nanosleep): Likewise.
41668         [XPG3 || XPG4] (timer_create): Likewise.
41669         [XPG3 || XPG4] (timer_delete): Likewise.
41670         [XPG3 || XPG4] (timer_gettime): Likewise.
41671         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41672         [XPG3 || XPG4] (timer_settime): Likewise.
41673         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41674         [XPG3 || XPG4] (getlogin_r): Likewise.
41675         [XPG3 || XPG4] (pread): Likewise.
41676         [XPG3 || XPG4] (pthread_atfork): Likewise.
41677         [XPG3 || XPG4] (pwrite): Likewise.
41679         [BZ #14835]
41680         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41681         <bits/siginfo.h>.
41683 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41685         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41686         finalizing MALLSTREAM.
41688         * sysdeps/mach/hurd/syncfs.c: New file.
41690 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41692         [BZ #14719]
41693         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41694         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41695         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41696         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41697         (_nss_dns_gethostbyname4_r): Likewise.
41698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41699         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41701 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41703         [BZ #13763]
41704         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41706 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41708         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41709         * elf/cache.c (print_entry): Print ",AArch64" for
41710         FLAG_AARCH64_LIB64
41712         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41713         * elf/cache.c (print_entry): Print ",hard-float" for
41714         FLAG_ARM_LIBHF.
41716 2012-11-18  David S. Miller  <davem@davemloft.net>
41718         With help from Joseph Myers.
41719         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41720         cutoff to 2**-13.
41721         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41722         cutoff to 2**-25.
41723         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41724         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41725         small.
41726         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41727         * math/libm-test.inc (y0_test): New tests.
41728         (y1_test): New tests.
41729         * sysdeps/i386/fpu/libm-test-ulps: Update.
41730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41733 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41735         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41736         64-bit targets.
41737         * configure: Regenerated.
41739 2012-11-17  David S. Miller  <davem@davemloft.net>
41741         [BZ #14811]
41742         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41743         nonzero exponents with absolute value below 0x1p-128 to +/-
41744         0x1p-128.
41746 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41748         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41750         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41752         * posix/getconf-speclist.c: New file.
41753         * posix/posix-envs.def: Likewise.
41754         * posix/confstr.c (START_ENV_GROUP): New macro.
41755         (END_ENV_GROUP): Likewise.
41756         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41757         (KNOWN_PRESENT_ENV_STRING): Likewise.
41758         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41759         (UNKNOWN_ENVIRONMENT): Likewise.
41760         (confstr): Include posix-envs.def instead of handling
41761         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41762         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41763         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41764         (END_ENV_GROUP): Likewise.
41765         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41766         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41767         (UNKNOWN_ENVIRONMENT): Likewise.
41768         (__sysconf): Include posix-envs.def instead of handling associated
41769         cases directly here.
41770         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41771         preprocessing getconf-speclist.c rather than running getconf or
41772         generating empty file.
41774 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41776         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41778 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41780         [BZ #14672]
41781         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41783 2012-11-16  David S. Miller  <davem@davemloft.net>
41785         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41786         smaller than LDBL_EPSILON/2.0L, just return xm1.
41788 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41790         * elf/tst-array1.c (init): Set constructor priority to 1000.
41791         (fini): Set destructor priority to 1000.
41792         * elf/tst-array2dep.c: Likewise.
41794 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41796         [BZ #11741]
41797         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41798         (_IO_new_file_xsputn): Also return EOF if none of the input
41799         data was written when overflow failed.
41800         * libio/iopadn.c (_IO_padn): Likewise.
41801         * libio/iowpadn.c (_IO_wpadn): Likewise.
41802         * stdio-common/tst-put-error.c: Add copyright notice.
41803         (do_test): Add case for printing padded string.
41804         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41805         _IO_padn returned error.
41806         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41807         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41808         return EOF.
41810 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41812         * libio/libioP.h: Add comment note that the references to C++
41813         bits are now obsolete.
41815 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41817         * math/libm-test.inc (check_complex): Use asprintf.
41819 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41821         * debug/pcprofiledump.c (print_version): Update copyright year.
41822         * malloc/memusagestat.c (print_version): Likewise.
41824 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41826         [BZ #14831]
41827         * elf/Makefile (tests): Add tst-audit8.
41828         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41829         ($(objpfx)tst-audit8.out): New target.
41830         (tst-audit8-ENV): New variable.
41831         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41832         audit if l_reloc_result is NULL.
41833         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41834         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41835         * elf/tst-audit8.c: New file.
41837 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41839         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41840         * misc/Makefile (CFLAGS-select.c): Define.
41841         * posix/Makefile (CFLAGS-pause.c): Define.
41843 2012-11-13  David S. Miller  <davem@davemloft.net>
41845         * crypt/Makefile: Move test targets after toplevel Rules
41846         inclusion.  Grab any necessary sysdep routines when linking.
41847         * crypt/md5.c (md5_process_block): Remove define, we will always
41848         name it __md5_process_block.
41849         (md5_finish_ctx): Update md5_process_block call.
41850         (md5_stream): Likewise.
41851         (md5_process_bytes): Likewise.
41852         (md5_process_block): Rename to __md5_process_block and move to ...
41853         * crypt/md5-block.c: ... here.
41854         * crypt/sha256.c (sha256_process_block): Move to ...
41855         * crypt/sha256-block.c: ... here.
41856         * crypt/sha512.c (sha512_process_block): Move to ...
41857         * crypt/sha512-block.c: ... here.
41858         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41859         path.
41860         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41861         * sysdeps/sparc/sparc64/multiarch/Makefile
41862         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41863         crypt subdir.
41864         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41865         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41866         multiarch changes.
41867         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41868         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41869         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41870         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41871         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41872         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41873         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41874         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41875         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41876         file.
41877         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41878         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41879         file.
41880         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41882 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41884         * timezone/tzselect.ksh: Update from tzcode git revision
41885         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41886         * timezone/zdump.c: Likewise.
41887         * timezone/zic.c: Likewise.
41888         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41889         in TZVERSION setting, not $(PKGVERSION).
41890         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41891         REPORT_BUGS_TO settings.
41893         [BZ #14838]
41894         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41895         macro.
41897 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41899         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41900         detection to immediately after _FP_ROUND().
41901         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41902         bits are 0.
41904 2012-11-11  David S. Miller  <davem@davemloft.net>
41906         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41907         inttypes.h
41908         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41909         __close rather than their public counterparts.
41911 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41913         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41914         file.
41915         [UNIX98] (sem_timedwait): Do not expect.
41916         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41917         [XPG4 || UNIX98] (sockatmark): Do not expect.
41918         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41919         (clock_getcpuclockid): Do not expect.
41920         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41921         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41922         Do not expect.
41923         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41924         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41925         [UNIX98] (vwscanf): Likewise.
41926         [UNIX98] (vswscanf): Likewise.
41928 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41930         * timezone/version.h: Remove file.
41931         * timezone/README: Do not refer to version.h.
41932         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41933         $(objpfx)version.h.
41934         ($(objpfx)zdump.o): Likewise.
41935         ($(objpfx)version.h): New target.
41937         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41938         2012i.
41939         * timezone/README: Don't mention modification to tzselect.ksh.
41940         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41941         work on unmodified tzselect.ksh.  Substitute version numbers in
41942         tzselect.ksh.
41944         * Makefile (format-me): Remove.
41945         (INSTALL): Adjust indentation.  Use commands directly instead of
41946         using $(format-me).
41948         * aclocal.m4 (ACX_PKGVERSION): New macro.
41949         (ACX_BUGURL): Likewise.
41950         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41951         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41952         (REPORT_BUGS_TO): Likewise.
41953         * configure: Regenerated.
41954         * config.h.in (PKGVERSION): New macro.
41955         (REPORT_BUGS_TO): Likewise.
41956         * config.make.in (PKGVERSION): New variable.
41957         (PKGVERSION_TEXI): Likewise.
41958         (REPORT_BUGS_TO): Likewise.
41959         (REPORT_BUGS_TEXI): Likewise.
41960         * Makefile (format-me): Use -I$(common-objpfx)manual.
41961         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41962         ($(common-objpfx)manual/%): New target.
41963         (manual/%): Remove target.
41964         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41965         (print_version): Use PKGVERSION.
41966         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41967         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41968         and REPORT_BUGS_TO.
41969         ($(objpfx)xtrace): Likewise.
41970         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41971         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41972         (print_version): Use PKGVERSION.
41973         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41974         (do_version): Use PKGVERSION.
41975         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41976         REPORT_BUGS_TO.
41977         (common-ldd-rewrite): Likewise.
41978         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41979         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41980         (print_version): Use PKGVERSION.
41981         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41982         * elf/pldd.c (argp_program_bug_address): Remove variable.
41983         (more_help): New function.
41984         (argp): Use more_help.
41985         (print_version): Use PKGVERSION.
41986         * elf/sln.c (main): Use PKGVERSION.
41987         (usage): Use REPORT_BUGS_TO.
41988         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41989         (top level): Use PKGVERSION.
41990         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41991         (print_version): Use PKGVERSION.
41992         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41993         (print_version): Use PKGVERSION.
41994         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41995         (print_version): Use PKGVERSION.
41996         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41997         (print_version): Use PKGVERSION.
41998         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41999         (print_version): Use PKGVERSION.
42000         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42001         (print_version): Use PKGVERSION.
42002         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42003         and BUGURL.
42004         ($(objpfx)memusage): Likewise.
42005         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42006         (do_version): Use PKGVERSION.
42007         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42008         (print_version): Use PKGVERSION.
42009         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42010         ($PKGVERSION): New variable.
42011         ($REPORT_BUGS_TO): Likewise.
42012         (usage): Use $REPORT_BUGS_TO.
42013         (top level): Use $PKGVERSION.
42014         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42015         ($(objpfx)pkgvers.texi): New rule.
42016         ($(objpfx)stamp-pkgvers): Likewise.
42017         * manual/install.texi: Include pkgvers.texi.
42018         (--with-pkgversion): Document new configure option.
42019         (--with-bugurl): Likewise.
42020         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42021         than necessarily for this particular distribution.  Use
42022         REPORT_BUGS_TO for where to report bugs.
42023         * INSTALL: Regenerated.
42024         * manual/libc.texinfo: Include pkgvers.texi.
42025         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42026         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42027         (print_version): Use PKGVERSION.
42028         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42029         (print_version): Use PKGVERSION.
42030         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42031         (print_version): Use PKGVERSION.
42032         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42033         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42034         macro.
42035         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42036         (print_version): Use PKGVERSION.
42037         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42038         (print_version): Use PKGVERSION.
42039         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42040         and PKGVERSION.
42042         * timezone/checktab.awk: Update from tzcode 2012i.
42043         * timezone/ialloc.c: Likewise.
42044         * timezone/private.h: Likewise.
42045         * timezone/scheck.c: Likewise.
42046         * timezone/tzfile.h: Likewise.
42047         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42048         (TZVERSION): Hardcode tzcode version number.
42049         * timezone/zdump.c: Update from tzcode 2012i.
42050         * timezone/zic.c: Likewise.
42051         * timezone/version.h: New file.
42052         * timezone/README: Describe version.h.  Update upstream location.
42054         [BZ #14824]
42055         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42056         (mktemp): Enable declaration.
42057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42059         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42061         Likewise.
42062         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42063         Likewise.
42064         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42065         Likewise.
42066         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42067         Likewise.
42068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42069         Likewise.
42070         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42071         Likewise.
42073         [BZ #14821]
42074         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42075         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42076         for copies of such integer values.
42077         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42078         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42080 2012-11-09  Andreas Jaeger  <aj@suse.de>
42082         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42083         definitions and declarations that are provided by
42084         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42086 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42088         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42089         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42090         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42091         definition.
42093 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42095         * elf/elf.h: Update comment before AArch64 relocations.
42097 2012-11-07  David S. Miller  <davem@davemloft.net>
42099         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42100         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42101         (__start_context): Declare.
42102         (__makecontext_ret): Delete.
42103         (__makecontext): Hook up __start_context instead of
42104         __makecontext_ret.
42105         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42106         (sysdep_routines): Add __start_context when in stdlib.
42108 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42110         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42111         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42112         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42113         hardcoded "nm".
42114         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42115         (READELF): New variable.  Use it instead of hardcoded "readelf".
42117 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42119         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42120         * sysdeps/x86/Makefile: Here.
42121         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42122         * sysdeps/x86/tst-xmmymm.sh: This.
42124 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42126         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42127         expectations.
42128         [UNIX98] (pthread_barrier_t): Do not expect.
42129         [UNIX98] (pthread_barrierattr_t): Likewise.
42130         [UNIX98] (pthread_spinlock_t): Likewise.
42131         [UNIX98] (pthread_barrier_destroy): Likewise.
42132         [UNIX98] (pthread_barrier_init): Likewise.
42133         [UNIX98] (pthread_barrier_wait): Likewise.
42134         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42135         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42136         [UNIX98] (pthread_barrierattr_init): Likewise.
42137         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42138         [UNIX98] (pthread_getcpuclockid): Likewise.
42139         [UNIX98] (pthread_mutex_timedlock): Likewise.
42140         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42141         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42142         [UNIX98] (pthread_sigmask): Likewise.
42143         [UNIX98] (pthread_spin_destroy): Likewise.
42144         [UNIX98] (pthread_spin_init): Likewise.
42145         [UNIX98] (pthread_spin_lock): Likewise.
42146         [UNIX98] (pthread_spin_trylock): Likewise.
42147         [UNIX98] (pthread_spin_unlock): Likewise.
42148         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42149         Do not expect.
42150         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42151         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42152         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42153         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42154         [XPG3 || XPG4] (pthread_key_t): Likewise.
42155         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42156         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42157         [XPG3 || XPG4] (pthread_once_t): Likewise.
42158         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42159         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42160         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42161         [XPG3 || XPG4] (pthread_t): Likewise.
42163         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42164         not expect.
42165         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42167         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42168         Change function return type to int.
42170         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42171         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42172         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42173         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42174         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42175         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42176         [!POSIX] (posix_madvise): Likewise.
42177         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42178         && !UNIX98].
42179         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42180         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42181         (mode_t): Likewise.
42182         (posix_mem_offset): Likewise.
42183         (posix_typed_mem_get_info): Likewise.
42184         (posix_typed_mem_open): Likewise.
42186         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42187         Change condition to [XOPEN2K8].
42189         * conform/conformtest.pl: Preprocess allow-header data with -x c
42190         instead of from stdin.
42191         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42192         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42193         [C99-based standards] (cerfc): Likewise.
42194         [C99-based standards] (cexp2): Likewise.
42195         [C99-based standards] (cexpm1): Likewise.
42196         [C99-based standards] (clog10): Likewise.
42197         [C99-based standards] (clog1p): Likewise.
42198         [C99-based standards] (clog2): Likewise.
42199         [C99-based standards] (clgamma): Likewise.
42200         [C99-based standards] (ctgamma): Likewise.
42201         [C99-based standards] (cerff): Likewise.
42202         [C99-based standards] (cerfcf): Likewise.
42203         [C99-based standards] (cexp2f): Likewise.
42204         [C99-based standards] (cexpm1f): Likewise.
42205         [C99-based standards] (clog10f): Likewise.
42206         [C99-based standards] (clog1pf): Likewise.
42207         [C99-based standards] (clog2f): Likewise.
42208         [C99-based standards] (clgammaf): Likewise.
42209         [C99-based standards] (ctgammaf): Likewise.
42210         [C99-based standards] (cerfl): Likewise.
42211         [C99-based standards] (cerfcl): Likewise.
42212         [C99-based standards] (cexp2l): Likewise.
42213         [C99-based standards] (cexpm1l): Likewise.
42214         [C99-based standards] (clog10l): Likewise.
42215         [C99-based standards] (clog1pl): Likewise.
42216         [C99-based standards] (clog2l): Likewise.
42217         [C99-based standards] (clgammal): Likewise.
42218         [C99-based standards] (ctgammal): Likewise.
42219         * conform/data/inttypes.h-data [C99-based standards]: Include
42220         stdint.h-data.  Remove all expectations for stdint.h contents.
42221         [C99-based standards] (PRI*): Do not allow.
42222         [C99-based standards] (SCN*): Likewise.
42223         [C99-based standards] (*_t): Likewise.
42224         [C99-based-standards] (PRId8): Expect macro.
42225         [C99-based-standards] (PRIi8): Likewise.
42226         [C99-based-standards] (PRIo8): Likewise.
42227         [C99-based-standards] (PRIu8): Likewise.
42228         [C99-based-standards] (PRIx8): Likewise.
42229         [C99-based-standards] (PRIX8): Likewise.
42230         [C99-based-standards] (SCNd8): Likewise.
42231         [C99-based-standards] (SCNi8): Likewise.
42232         [C99-based-standards] (SCNo8): Likewise.
42233         [C99-based-standards] (SCNu8): Likewise.
42234         [C99-based-standards] (SCNx8): Likewise.
42235         [C99-based-standards] (PRIdLEAST8): Likewise.
42236         [C99-based-standards] (PRIiLEAST8): Likewise.
42237         [C99-based-standards] (PRIoLEAST8): Likewise.
42238         [C99-based-standards] (PRIuLEAST8): Likewise.
42239         [C99-based-standards] (PRIxLEAST8): Likewise.
42240         [C99-based-standards] (PRIXLEAST8): Likewise.
42241         [C99-based-standards] (SCNdLEAST8): Likewise.
42242         [C99-based-standards] (SCNiLEAST8): Likewise.
42243         [C99-based-standards] (SCNoLEAST8): Likewise.
42244         [C99-based-standards] (SCNuLEAST8): Likewise.
42245         [C99-based-standards] (SCNxLEAST8): Likewise.
42246         [C99-based-standards] (PRIdFAST8): Likewise.
42247         [C99-based-standards] (PRIiFAST8): Likewise.
42248         [C99-based-standards] (PRIoFAST8): Likewise.
42249         [C99-based-standards] (PRIuFAST8): Likewise.
42250         [C99-based-standards] (PRIxFAST8): Likewise.
42251         [C99-based-standards] (PRIXFAST8): Likewise.
42252         [C99-based-standards] (SCNdFAST8): Likewise.
42253         [C99-based-standards] (SCNiFAST8): Likewise.
42254         [C99-based-standards] (SCNoFAST8): Likewise.
42255         [C99-based-standards] (SCNuFAST8): Likewise.
42256         [C99-based-standards] (SCNxFAST8): Likewise.
42257         [C99-based-standards] (PRId16): Likewise.
42258         [C99-based-standards] (PRIi16): Likewise.
42259         [C99-based-standards] (PRIo16): Likewise.
42260         [C99-based-standards] (PRIu16): Likewise.
42261         [C99-based-standards] (PRIx16): Likewise.
42262         [C99-based-standards] (PRIX16): Likewise.
42263         [C99-based-standards] (SCNd16): Likewise.
42264         [C99-based-standards] (SCNi16): Likewise.
42265         [C99-based-standards] (SCNo16): Likewise.
42266         [C99-based-standards] (SCNu16): Likewise.
42267         [C99-based-standards] (SCNx16): Likewise.
42268         [C99-based-standards] (PRIdLEAST16): Likewise.
42269         [C99-based-standards] (PRIiLEAST16): Likewise.
42270         [C99-based-standards] (PRIoLEAST16): Likewise.
42271         [C99-based-standards] (PRIuLEAST16): Likewise.
42272         [C99-based-standards] (PRIxLEAST16): Likewise.
42273         [C99-based-standards] (PRIXLEAST16): Likewise.
42274         [C99-based-standards] (SCNdLEAST16): Likewise.
42275         [C99-based-standards] (SCNiLEAST16): Likewise.
42276         [C99-based-standards] (SCNoLEAST16): Likewise.
42277         [C99-based-standards] (SCNuLEAST16): Likewise.
42278         [C99-based-standards] (SCNxLEAST16): Likewise.
42279         [C99-based-standards] (PRIdFAST16): Likewise.
42280         [C99-based-standards] (PRIiFAST16): Likewise.
42281         [C99-based-standards] (PRIoFAST16): Likewise.
42282         [C99-based-standards] (PRIuFAST16): Likewise.
42283         [C99-based-standards] (PRIxFAST16): Likewise.
42284         [C99-based-standards] (PRIXFAST16): Likewise.
42285         [C99-based-standards] (SCNdFAST16): Likewise.
42286         [C99-based-standards] (SCNiFAST16): Likewise.
42287         [C99-based-standards] (SCNoFAST16): Likewise.
42288         [C99-based-standards] (SCNuFAST16): Likewise.
42289         [C99-based-standards] (SCNxFAST16): Likewise.
42290         [C99-based-standards] (PRId32): Likewise.
42291         [C99-based-standards] (PRIi32): Likewise.
42292         [C99-based-standards] (PRIo32): Likewise.
42293         [C99-based-standards] (PRIu32): Likewise.
42294         [C99-based-standards] (PRIx32): Likewise.
42295         [C99-based-standards] (PRIX32): Likewise.
42296         [C99-based-standards] (SCNd32): Likewise.
42297         [C99-based-standards] (SCNi32): Likewise.
42298         [C99-based-standards] (SCNo32): Likewise.
42299         [C99-based-standards] (SCNu32): Likewise.
42300         [C99-based-standards] (SCNx32): Likewise.
42301         [C99-based-standards] (PRIdLEAST32): Likewise.
42302         [C99-based-standards] (PRIiLEAST32): Likewise.
42303         [C99-based-standards] (PRIoLEAST32): Likewise.
42304         [C99-based-standards] (PRIuLEAST32): Likewise.
42305         [C99-based-standards] (PRIxLEAST32): Likewise.
42306         [C99-based-standards] (PRIXLEAST32): Likewise.
42307         [C99-based-standards] (SCNdLEAST32): Likewise.
42308         [C99-based-standards] (SCNiLEAST32): Likewise.
42309         [C99-based-standards] (SCNoLEAST32): Likewise.
42310         [C99-based-standards] (SCNuLEAST32): Likewise.
42311         [C99-based-standards] (SCNxLEAST32): Likewise.
42312         [C99-based-standards] (PRIdFAST32): Likewise.
42313         [C99-based-standards] (PRIiFAST32): Likewise.
42314         [C99-based-standards] (PRIoFAST32): Likewise.
42315         [C99-based-standards] (PRIuFAST32): Likewise.
42316         [C99-based-standards] (PRIxFAST32): Likewise.
42317         [C99-based-standards] (PRIXFAST32): Likewise.
42318         [C99-based-standards] (SCNdFAST32): Likewise.
42319         [C99-based-standards] (SCNiFAST32): Likewise.
42320         [C99-based-standards] (SCNoFAST32): Likewise.
42321         [C99-based-standards] (SCNuFAST32): Likewise.
42322         [C99-based-standards] (SCNxFAST32): Likewise.
42323         [C99-based-standards] (PRId64): Likewise.
42324         [C99-based-standards] (PRIi64): Likewise.
42325         [C99-based-standards] (PRIo64): Likewise.
42326         [C99-based-standards] (PRIu64): Likewise.
42327         [C99-based-standards] (PRIx64): Likewise.
42328         [C99-based-standards] (PRIX64): Likewise.
42329         [C99-based-standards] (SCNd64): Likewise.
42330         [C99-based-standards] (SCNi64): Likewise.
42331         [C99-based-standards] (SCNo64): Likewise.
42332         [C99-based-standards] (SCNu64): Likewise.
42333         [C99-based-standards] (SCNx64): Likewise.
42334         [C99-based-standards] (PRIdLEAST64): Likewise.
42335         [C99-based-standards] (PRIiLEAST64): Likewise.
42336         [C99-based-standards] (PRIoLEAST64): Likewise.
42337         [C99-based-standards] (PRIuLEAST64): Likewise.
42338         [C99-based-standards] (PRIxLEAST64): Likewise.
42339         [C99-based-standards] (PRIXLEAST64): Likewise.
42340         [C99-based-standards] (SCNdLEAST64): Likewise.
42341         [C99-based-standards] (SCNiLEAST64): Likewise.
42342         [C99-based-standards] (SCNoLEAST64): Likewise.
42343         [C99-based-standards] (SCNuLEAST64): Likewise.
42344         [C99-based-standards] (SCNxLEAST64): Likewise.
42345         [C99-based-standards] (PRIdFAST64): Likewise.
42346         [C99-based-standards] (PRIiFAST64): Likewise.
42347         [C99-based-standards] (PRIoFAST64): Likewise.
42348         [C99-based-standards] (PRIuFAST64): Likewise.
42349         [C99-based-standards] (PRIxFAST64): Likewise.
42350         [C99-based-standards] (PRIXFAST64): Likewise.
42351         [C99-based-standards] (SCNdFAST64): Likewise.
42352         [C99-based-standards] (SCNiFAST64): Likewise.
42353         [C99-based-standards] (SCNoFAST64): Likewise.
42354         [C99-based-standards] (SCNuFAST64): Likewise.
42355         [C99-based-standards] (SCNxFAST64): Likewise.
42356         [C99-based-standards] (PRIdMAX): Likewise.
42357         [C99-based-standards] (PRIiMAX): Likewise.
42358         [C99-based-standards] (PRIoMAX): Likewise.
42359         [C99-based-standards] (PRIuMAX): Likewise.
42360         [C99-based-standards] (PRIxMAX): Likewise.
42361         [C99-based-standards] (PRIXMAX): Likewise.
42362         [C99-based-standards] (SCNdMAX): Likewise.
42363         [C99-based-standards] (SCNiMAX): Likewise.
42364         [C99-based-standards] (SCNoMAX): Likewise.
42365         [C99-based-standards] (SCNuMAX): Likewise.
42366         [C99-based-standards] (SCNxMAX): Likewise.
42367         [C99-based-standards] (PRIdPTR): Likewise.
42368         [C99-based-standards] (PRIiPTR): Likewise.
42369         [C99-based-standards] (PRIoPTR): Likewise.
42370         [C99-based-standards] (PRIuPTR): Likewise.
42371         [C99-based-standards] (PRIxPTR): Likewise.
42372         [C99-based-standards] (PRIXPTR): Likewise.
42373         [C99-based-standards] (SCNdPTR): Likewise.
42374         [C99-based-standards] (SCNiPTR): Likewise.
42375         [C99-based-standards] (SCNoPTR): Likewise.
42376         [C99-based-standards] (SCNuPTR): Likewise.
42377         [C99-based-standards] (SCNxPTR): Likewise.
42378         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42379         allow.
42380         * conform/data/stdint.h-data: Update comments to clarify
42381         requirements.
42382         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42383         type.
42384         [C99-based standards] (INT8_MAX): Likewise.
42385         [C99-based standards] (INT16_MIN): Likewise.
42386         [C99-based standards] (INT16_MAX): Likewise.
42387         [C99-based standards] (INT32_MIN): Likewise.
42388         [C99-based standards] (INT32_MAX): Likewise.
42389         [C99-based standards] (INT64_MIN): Likewise.
42390         [C99-based standards] (INT64_MAX): Likewise.
42391         [C99-based standards] (UINT8_MAX): Likewise.
42392         [C99-based standards] (UINT16_MAX): Likewise.
42393         [C99-based standards] (UINT32_MAX): Likewise.
42394         [C99-based standards] (UINT64_MAX): Likewise.
42395         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42396         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42397         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42398         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42399         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42400         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42401         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42402         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42403         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42404         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42405         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42406         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42407         [C99-based standards] (INT_FAST8_MIN): Likewise.
42408         [C99-based standards] (INT_FAST8_MAX): Likewise.
42409         [C99-based standards] (INT_FAST16_MIN): Likewise.
42410         [C99-based standards] (INT_FAST16_MAX): Likewise.
42411         [C99-based standards] (INT_FAST32_MIN): Likewise.
42412         [C99-based standards] (INT_FAST32_MAX): Likewise.
42413         [C99-based standards] (INT_FAST64_MIN): Likewise.
42414         [C99-based standards] (INT_FAST64_MAX): Likewise.
42415         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42416         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42417         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42418         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42419         [C99-based standards] (INTPTR_MIN): Likewise.
42420         [C99-based standards] (INTPTR_MAX): Likewise.
42421         [C99-based standards] (UINTPTR_MAX): Likewise.
42422         [C99-based standards] (INTMAX_MIN): Likewise.
42423         [C99-based standards] (INTMAX_MAX): Likewise.
42424         [C99-based standards] (UINTMAX_MAX): Likewise.
42425         [C99-based standards] (PTRDIFF_MIN): Likewise.
42426         [C99-based standards] (PTRDIFF_MAX): Likewise.
42427         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42428         [C99-based standards] (SIZE_MAX): Likewise.
42429         [C99-based standards] (WCHAR_MAX): Likewise.
42430         [C99-based standards] (WINT_MAX): Likewise.
42431         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42432         constraint on value.
42433         [C99-based standards] (WCHAR_MIN): Likewise.
42434         [C99-based standards] (WINT_MIN): Likewise.
42435         [C99-based standards] (*_t): Allow.
42436         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42437         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42438         Include math.h-data and complex.h-data.  Remove all expectations
42439         of math.h and complex.h contents.
42440         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42441         at end of line.
42442         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42443         (struct tm): Expect tag.
42444         [C99-based-standards] (wcstof): Expect function.
42445         [C99-based-standards] (wcstold): Likewise.
42446         [C99-based-standards] (wcstoll): Likewise.
42447         [C99-based-standards] (wcstoull): Likewise.
42448         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42449         macro-int-constant.  Specify type.
42450         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42451         constraint on value.
42452         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42453         Specify type.
42454         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42455         Specify value.
42456         [ISO C standards]: Do not allow headers.
42457         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42458         wcs[abcdefghijklmnopqrstuvwxyz]*.
42459         [ISO C standards] (*_t): Do not allow.
42460         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42461         Expect function.
42462         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42463         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42464         Specify type.
42465         [ISO C standards]: Do not allow headers.
42466         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42467         is[abcdefghijklmnopqrstuvwxyz]*.
42468         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42469         to[abcdefghijklmnopqrstuvwxyz]*.
42470         [ISO C standards] (*_t): Do not allow.
42471         * conform/data/stdalign.h-data: New file.
42472         * conform/data/stdbool.h-data: Likewise.
42473         * conform/data/stdnoreturn.h-data: Likewise.
42475 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42477         [BZ #14815]
42478         * manual/filesys.texi (Directory Entries): Typo fix.
42479         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42481 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42483         * elf/elf.h (EM_AARCH64): New macro.
42484         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42485         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42486         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42487         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42488         (R_AARCH64_TLSDESC): Likewise.
42489         (NT_ARM_TLS): Likewise.
42490         (NT_ARM_HW_BREAK): Likewise.
42491         (NT_ARM_HW_WATCH): Likewise.
42493 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42495         [BZ #14811]
42496         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42497         (__ieee754_powl): Saturate nonzero exponents with absolute value
42498         below 0x1p-79 to +/- 0x1p-79.
42499         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42500         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42501         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42502         nonzero exponents with absolute value below 0x1p-32 to +/-
42503         0x1p-32.
42504         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42505         (__ieee754_powl): Saturate nonzero exponents with absolute value
42506         below 0x1p-79 to +/- 0x1p-79.
42507         * math/libm-test.inc (pow_test): Add more tests.
42509 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42511         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42512         _dl_s390_cap_flags with kernel. Increase string length.
42513         (_dl_s390_platforms): Add z196 and zEC12.
42515 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42517         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42518         Change XOPEN21K to XOPEN2K.
42520 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42522         * string/memmove.c: Use memcpy when possible.
42524 2012-11-06  Andreas Jaeger  <aj@suse.de>
42526         * po/eo.po: Update from translation team.
42528 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42530         [BZ #14793]
42531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42532         exponent and small x and y exponents, scale x or y up.  Increase
42533         by 2 the exponent used in scaling up.
42534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42536         * math/libm-test.inc (fma_test): Add more tests.
42537         (fma_test_towardzero): Likewise.
42538         (fma_test_downward): Likewise.
42539         (fma_test_upward): Likewise.
42541 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42543         [BZ #14805]
42544         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42545         fenv_t *.
42547         [BZ #14801]
42548         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42549         namespace for names of struct fields.
42550         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42551         fenv_t fields.
42552         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42553         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42555 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42557         [BZ #3665]
42558         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42560 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42562         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42563         PTR_DEMANGLE.
42565         [BZ #5246]
42566         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42567         PTR_DEMANGLE.
42569 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42571         [BZ #14797]
42572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42573         definitely overflow as x * y not x * y + z.
42574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42576         * math/libm-test.inc (fma_test): Add more tests.
42577         (fma_test_towardzero): Likewise.
42578         (fma_test_downward): Likewise.
42579         (fma_test_upward): Likewise.
42581 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42583         [BZ #157]
42585         * include/stub-tag.h: Remove file.
42586         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42587         '#include' of it.
42588         * manual/maint.texi (Porting): Don't reference it.
42589         * Makerules ($(objpfx)stubs): Likewise.
42590         * dirent/closedir.c: Don't include <stub-tag.h>.
42591         * dirent/dirfd.c: Likewise.
42592         * dirent/fdopendir.c: Likewise.
42593         * dirent/getdents.c: Likewise.
42594         * dirent/getdents64.c: Likewise.
42595         * dirent/opendir.c: Likewise.
42596         * dirent/readdir.c: Likewise.
42597         * dirent/readdir64.c: Likewise.
42598         * dirent/readdir64_r.c: Likewise.
42599         * dirent/readdir_r.c: Likewise.
42600         * dirent/rewinddir.c: Likewise.
42601         * dirent/seekdir.c: Likewise.
42602         * dirent/telldir.c: Likewise.
42603         * gmon/profil.c: Likewise.
42604         * grp/setgroups.c: Likewise.
42605         * inet/if_index.c: Likewise.
42606         * io/access.c: Likewise.
42607         * io/chdir.c: Likewise.
42608         * io/chmod.c: Likewise.
42609         * io/chown.c: Likewise.
42610         * io/close.c: Likewise.
42611         * io/dup.c: Likewise.
42612         * io/dup2.c: Likewise.
42613         * io/dup3.c: Likewise.
42614         * io/euidaccess.c: Likewise.
42615         * io/faccessat.c: Likewise.
42616         * io/fchdir.c: Likewise.
42617         * io/fchmod.c: Likewise.
42618         * io/fchmodat.c: Likewise.
42619         * io/fchown.c: Likewise.
42620         * io/fchownat.c: Likewise.
42621         * io/fcntl.c: Likewise.
42622         * io/flock.c: Likewise.
42623         * io/fstatfs.c: Likewise.
42624         * io/fstatfs64.c: Likewise.
42625         * io/fstatvfs.c: Likewise.
42626         * io/fstatvfs64.c: Likewise.
42627         * io/futimens.c: Likewise.
42628         * io/fxstat.c: Likewise.
42629         * io/fxstat64.c: Likewise.
42630         * io/fxstatat.c: Likewise.
42631         * io/fxstatat64.c: Likewise.
42632         * io/getcwd.c: Likewise.
42633         * io/isatty.c: Likewise.
42634         * io/lchmod.c: Likewise.
42635         * io/lchown.c: Likewise.
42636         * io/link.c: Likewise.
42637         * io/linkat.c: Likewise.
42638         * io/lseek.c: Likewise.
42639         * io/lseek64.c: Likewise.
42640         * io/lxstat64.c: Likewise.
42641         * io/mkdir.c: Likewise.
42642         * io/mkdirat.c: Likewise.
42643         * io/mkfifo.c: Likewise.
42644         * io/mkfifoat.c: Likewise.
42645         * io/open.c: Likewise.
42646         * io/open64.c: Likewise.
42647         * io/openat.c: Likewise.
42648         * io/openat64.c: Likewise.
42649         * io/pipe.c: Likewise.
42650         * io/pipe2.c: Likewise.
42651         * io/poll.c: Likewise.
42652         * io/posix_fadvise.c: Likewise.
42653         * io/posix_fadvise64.c: Likewise.
42654         * io/posix_fallocate.c: Likewise.
42655         * io/posix_fallocate64.c: Likewise.
42656         * io/read.c: Likewise.
42657         * io/readlink.c: Likewise.
42658         * io/readlinkat.c: Likewise.
42659         * io/rmdir.c: Likewise.
42660         * io/sendfile.c: Likewise.
42661         * io/sendfile64.c: Likewise.
42662         * io/statfs.c: Likewise.
42663         * io/statfs64.c: Likewise.
42664         * io/statvfs.c: Likewise.
42665         * io/statvfs64.c: Likewise.
42666         * io/symlink.c: Likewise.
42667         * io/symlinkat.c: Likewise.
42668         * io/ttyname.c: Likewise.
42669         * io/ttyname_r.c: Likewise.
42670         * io/umask.c: Likewise.
42671         * io/unlink.c: Likewise.
42672         * io/unlinkat.c: Likewise.
42673         * io/utime.c: Likewise.
42674         * io/utimensat.c: Likewise.
42675         * io/write.c: Likewise.
42676         * io/xmknod.c: Likewise.
42677         * io/xmknodat.c: Likewise.
42678         * io/xstat.c: Likewise.
42679         * io/xstat64.c: Likewise.
42680         * login/getpt.c: Likewise.
42681         * login/grantpt.c: Likewise.
42682         * login/unlockpt.c: Likewise.
42683         * math/e_acoshl.c: Likewise.
42684         * math/e_acosl.c: Likewise.
42685         * math/e_asinl.c: Likewise.
42686         * math/e_atan2l.c: Likewise.
42687         * math/e_atanhl.c: Likewise.
42688         * math/e_coshl.c: Likewise.
42689         * math/e_expl.c: Likewise.
42690         * math/e_fmodl.c: Likewise.
42691         * math/e_gammal_r.c: Likewise.
42692         * math/e_hypotl.c: Likewise.
42693         * math/e_j0l.c: Likewise.
42694         * math/e_j1l.c: Likewise.
42695         * math/e_jnl.c: Likewise.
42696         * math/e_lgammal_r.c: Likewise.
42697         * math/e_log10l.c: Likewise.
42698         * math/e_log2l.c: Likewise.
42699         * math/e_logl.c: Likewise.
42700         * math/e_powl.c: Likewise.
42701         * math/e_rem_pio2l.c: Likewise.
42702         * math/e_sinhl.c: Likewise.
42703         * math/e_sqrtl.c: Likewise.
42704         * math/fclrexcpt.c: Likewise.
42705         * math/fedisblxcpt.c: Likewise.
42706         * math/feenablxcpt.c: Likewise.
42707         * math/fegetenv.c: Likewise.
42708         * math/fegetexcept.c: Likewise.
42709         * math/fegetround.c: Likewise.
42710         * math/feholdexcpt.c: Likewise.
42711         * math/fesetenv.c: Likewise.
42712         * math/fesetround.c: Likewise.
42713         * math/feupdateenv.c: Likewise.
42714         * math/fgetexcptflg.c: Likewise.
42715         * math/fraiseexcpt.c: Likewise.
42716         * math/fsetexcptflg.c: Likewise.
42717         * math/ftestexcept.c: Likewise.
42718         * math/k_cosl.c: Likewise.
42719         * math/k_rem_pio2l.c: Likewise.
42720         * math/k_sinl.c: Likewise.
42721         * math/k_tanl.c: Likewise.
42722         * math/s_asinhl.c: Likewise.
42723         * math/s_atanl.c: Likewise.
42724         * math/s_cbrtl.c: Likewise.
42725         * math/s_erfl.c: Likewise.
42726         * math/s_expm1l.c: Likewise.
42727         * math/s_log1pl.c: Likewise.
42728         * math/s_tanhl.c: Likewise.
42729         * misc/acct.c: Likewise.
42730         * misc/brk.c: Likewise.
42731         * misc/chflags.c: Likewise.
42732         * misc/chroot.c: Likewise.
42733         * misc/fchflags.c: Likewise.
42734         * misc/fgetxattr.c: Likewise.
42735         * misc/flistxattr.c: Likewise.
42736         * misc/fremovexattr.c: Likewise.
42737         * misc/fsetxattr.c: Likewise.
42738         * misc/fsync.c: Likewise.
42739         * misc/ftruncate.c: Likewise.
42740         * misc/futimes.c: Likewise.
42741         * misc/futimesat.c: Likewise.
42742         * misc/getdomain.c: Likewise.
42743         * misc/getdtsz.c: Likewise.
42744         * misc/gethostid.c: Likewise.
42745         * misc/gethostname.c: Likewise.
42746         * misc/getloadavg.c: Likewise.
42747         * misc/getpagesize.c: Likewise.
42748         * misc/getsysstats.c: Likewise.
42749         * misc/getxattr.c: Likewise.
42750         * misc/gtty.c: Likewise.
42751         * misc/ioctl.c: Likewise.
42752         * misc/lgetxattr.c: Likewise.
42753         * misc/listxattr.c: Likewise.
42754         * misc/llistxattr.c: Likewise.
42755         * misc/lremovexattr.c: Likewise.
42756         * misc/lsetxattr.c: Likewise.
42757         * misc/lutimes.c: Likewise.
42758         * misc/madvise.c: Likewise.
42759         * misc/mincore.c: Likewise.
42760         * misc/mlock.c: Likewise.
42761         * misc/mlockall.c: Likewise.
42762         * misc/mmap.c: Likewise.
42763         * misc/mprotect.c: Likewise.
42764         * misc/msync.c: Likewise.
42765         * misc/munlock.c: Likewise.
42766         * misc/munlockall.c: Likewise.
42767         * misc/munmap.c: Likewise.
42768         * misc/preadv.c: Likewise.
42769         * misc/preadv64.c: Likewise.
42770         * misc/ptrace.c: Likewise.
42771         * misc/pwritev.c: Likewise.
42772         * misc/pwritev64.c: Likewise.
42773         * misc/readv.c: Likewise.
42774         * misc/reboot.c: Likewise.
42775         * misc/remap_file_pages.c: Likewise.
42776         * misc/removexattr.c: Likewise.
42777         * misc/revoke.c: Likewise.
42778         * misc/select.c: Likewise.
42779         * misc/setdomain.c: Likewise.
42780         * misc/setegid.c: Likewise.
42781         * misc/seteuid.c: Likewise.
42782         * misc/sethostid.c: Likewise.
42783         * misc/sethostname.c: Likewise.
42784         * misc/setregid.c: Likewise.
42785         * misc/setreuid.c: Likewise.
42786         * misc/setxattr.c: Likewise.
42787         * misc/sstk.c: Likewise.
42788         * misc/stty.c: Likewise.
42789         * misc/swapoff.c: Likewise.
42790         * misc/swapon.c: Likewise.
42791         * misc/sync.c: Likewise.
42792         * misc/syncfs.c: Likewise.
42793         * misc/syscall.c: Likewise.
42794         * misc/truncate.c: Likewise.
42795         * misc/ualarm.c: Likewise.
42796         * misc/usleep.c: Likewise.
42797         * misc/ustat.c: Likewise.
42798         * misc/utimes.c: Likewise.
42799         * misc/vhangup.c: Likewise.
42800         * misc/writev.c: Likewise.
42801         * posix/_exit.c: Likewise.
42802         * posix/alarm.c: Likewise.
42803         * posix/execve.c: Likewise.
42804         * posix/fexecve.c: Likewise.
42805         * posix/fork.c: Likewise.
42806         * posix/fpathconf.c: Likewise.
42807         * posix/getaddrinfo.c: Likewise.
42808         * posix/getegid.c: Likewise.
42809         * posix/geteuid.c: Likewise.
42810         * posix/getgid.c: Likewise.
42811         * posix/getgroups.c: Likewise.
42812         * posix/getlogin.c: Likewise.
42813         * posix/getlogin_r.c: Likewise.
42814         * posix/getpgid.c: Likewise.
42815         * posix/getpid.c: Likewise.
42816         * posix/getppid.c: Likewise.
42817         * posix/getresgid.c: Likewise.
42818         * posix/getresuid.c: Likewise.
42819         * posix/getsid.c: Likewise.
42820         * posix/getuid.c: Likewise.
42821         * posix/glob64.c: Likewise.
42822         * posix/nanosleep.c: Likewise.
42823         * posix/pathconf.c: Likewise.
42824         * posix/pause.c: Likewise.
42825         * posix/posix_madvise.c: Likewise.
42826         * posix/pread.c: Likewise.
42827         * posix/pread64.c: Likewise.
42828         * posix/pwrite.c: Likewise.
42829         * posix/pwrite64.c: Likewise.
42830         * posix/sched_getaffinity.c: Likewise.
42831         * posix/sched_getp.c: Likewise.
42832         * posix/sched_gets.c: Likewise.
42833         * posix/sched_primax.c: Likewise.
42834         * posix/sched_primin.c: Likewise.
42835         * posix/sched_rr_gi.c: Likewise.
42836         * posix/sched_setaffinity.c: Likewise.
42837         * posix/sched_setp.c: Likewise.
42838         * posix/sched_sets.c: Likewise.
42839         * posix/sched_yield.c: Likewise.
42840         * posix/setgid.c: Likewise.
42841         * posix/setlogin.c: Likewise.
42842         * posix/setpgid.c: Likewise.
42843         * posix/setresgid.c: Likewise.
42844         * posix/setresuid.c: Likewise.
42845         * posix/setsid.c: Likewise.
42846         * posix/setuid.c: Likewise.
42847         * posix/sleep.c: Likewise.
42848         * posix/spawni.c: Likewise.
42849         * posix/sysconf.c: Likewise.
42850         * posix/times.c: Likewise.
42851         * posix/wait.c: Likewise.
42852         * posix/wait3.c: Likewise.
42853         * posix/wait4.c: Likewise.
42854         * posix/waitpid.c: Likewise.
42855         * resolv/gai_sigqueue.c: Likewise.
42856         * resource/getpriority.c: Likewise.
42857         * resource/getrlimit.c: Likewise.
42858         * resource/getrusage.c: Likewise.
42859         * resource/nice.c: Likewise.
42860         * resource/setpriority.c: Likewise.
42861         * resource/setrlimit.c: Likewise.
42862         * resource/ulimit.c: Likewise.
42863         * rt/aio_cancel.c: Likewise.
42864         * rt/aio_fsync.c: Likewise.
42865         * rt/aio_read.c: Likewise.
42866         * rt/aio_sigqueue.c: Likewise.
42867         * rt/aio_suspend.c: Likewise.
42868         * rt/aio_write.c: Likewise.
42869         * rt/clock_getres.c: Likewise.
42870         * rt/clock_gettime.c: Likewise.
42871         * rt/clock_nanosleep.c: Likewise.
42872         * rt/clock_settime.c: Likewise.
42873         * rt/lio_listio.c: Likewise.
42874         * rt/mq_close.c: Likewise.
42875         * rt/mq_getattr.c: Likewise.
42876         * rt/mq_notify.c: Likewise.
42877         * rt/mq_open.c: Likewise.
42878         * rt/mq_receive.c: Likewise.
42879         * rt/mq_send.c: Likewise.
42880         * rt/mq_setattr.c: Likewise.
42881         * rt/mq_timedreceive.c: Likewise.
42882         * rt/mq_timedsend.c: Likewise.
42883         * rt/mq_unlink.c: Likewise.
42884         * rt/shm_open.c: Likewise.
42885         * rt/shm_unlink.c: Likewise.
42886         * rt/timer_create.c: Likewise.
42887         * rt/timer_delete.c: Likewise.
42888         * rt/timer_getoverr.c: Likewise.
42889         * rt/timer_gettime.c: Likewise.
42890         * rt/timer_settime.c: Likewise.
42891         * setjmp/__longjmp.c: Likewise.
42892         * setjmp/setjmp.c: Likewise.
42893         * signal/kill.c: Likewise.
42894         * signal/killpg.c: Likewise.
42895         * signal/raise.c: Likewise.
42896         * signal/sigaction.c: Likewise.
42897         * signal/sigaltstack.c: Likewise.
42898         * signal/sigblock.c: Likewise.
42899         * signal/sigignore.c: Likewise.
42900         * signal/sigintr.c: Likewise.
42901         * signal/signal.c: Likewise.
42902         * signal/sigpause.c: Likewise.
42903         * signal/sigpending.c: Likewise.
42904         * signal/sigqueue.c: Likewise.
42905         * signal/sigreturn.c: Likewise.
42906         * signal/sigset.c: Likewise.
42907         * signal/sigsetmask.c: Likewise.
42908         * signal/sigstack.c: Likewise.
42909         * signal/sigsuspend.c: Likewise.
42910         * signal/sigtimedwait.c: Likewise.
42911         * signal/sigvec.c: Likewise.
42912         * signal/sigwait.c: Likewise.
42913         * signal/sigwaitinfo.c: Likewise.
42914         * signal/sysv_signal.c: Likewise.
42915         * socket/accept.c: Likewise.
42916         * socket/accept4.c: Likewise.
42917         * socket/bind.c: Likewise.
42918         * socket/connect.c: Likewise.
42919         * socket/getpeername.c: Likewise.
42920         * socket/getsockname.c: Likewise.
42921         * socket/getsockopt.c: Likewise.
42922         * socket/isfdtype.c: Likewise.
42923         * socket/listen.c: Likewise.
42924         * socket/recv.c: Likewise.
42925         * socket/recvfrom.c: Likewise.
42926         * socket/recvmsg.c: Likewise.
42927         * socket/send.c: Likewise.
42928         * socket/sendmsg.c: Likewise.
42929         * socket/sendto.c: Likewise.
42930         * socket/setsockopt.c: Likewise.
42931         * socket/shutdown.c: Likewise.
42932         * socket/sockatmark.c: Likewise.
42933         * socket/socket.c: Likewise.
42934         * socket/socketpair.c: Likewise.
42935         * stdio-common/ctermid.c: Likewise.
42936         * stdio-common/cuserid.c: Likewise.
42937         * stdio-common/remove.c: Likewise.
42938         * stdio-common/rename.c: Likewise.
42939         * stdio-common/renameat.c: Likewise.
42940         * stdio-common/tempname.c: Likewise.
42941         * stdlib/getcontext.c: Likewise.
42942         * stdlib/makecontext.c: Likewise.
42943         * stdlib/setcontext.c: Likewise.
42944         * stdlib/swapcontext.c: Likewise.
42945         * stdlib/system.c: Likewise.
42946         * streams/fattach.c: Likewise.
42947         * streams/fdetach.c: Likewise.
42948         * streams/getmsg.c: Likewise.
42949         * streams/getpmsg.c: Likewise.
42950         * streams/putmsg.c: Likewise.
42951         * streams/putpmsg.c: Likewise.
42952         * sysdeps/unix/bsd/getpt.c: Likewise.
42953         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42954         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42955         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42957         Likewise.
42958         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42959         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42960         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42961         * sysvipc/msgctl.c: Likewise.
42962         * sysvipc/msgget.c: Likewise.
42963         * sysvipc/msgrcv.c: Likewise.
42964         * sysvipc/msgsnd.c: Likewise.
42965         * sysvipc/semctl.c: Likewise.
42966         * sysvipc/semget.c: Likewise.
42967         * sysvipc/semop.c: Likewise.
42968         * sysvipc/semtimedop.c: Likewise.
42969         * sysvipc/shmat.c: Likewise.
42970         * sysvipc/shmctl.c: Likewise.
42971         * sysvipc/shmdt.c: Likewise.
42972         * sysvipc/shmget.c: Likewise.
42973         * termios/tcdrain.c: Likewise.
42974         * termios/tcflow.c: Likewise.
42975         * termios/tcflush.c: Likewise.
42976         * termios/tcgetattr.c: Likewise.
42977         * termios/tcgetpgrp.c: Likewise.
42978         * termios/tcsendbrk.c: Likewise.
42979         * termios/tcsetattr.c: Likewise.
42980         * termios/tcsetpgrp.c: Likewise.
42981         * time/adjtime.c: Likewise.
42982         * time/clock.c: Likewise.
42983         * time/getitimer.c: Likewise.
42984         * time/gettimeofday.c: Likewise.
42985         * time/setitimer.c: Likewise.
42986         * time/settimeofday.c: Likewise.
42987         * time/stime.c: Likewise.
42988         * time/time.c: Likewise.
42990 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42992         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42993         /usr/old/bin.
42995         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42996         instead of spaces.
42997         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42999 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43001         [BZ #14796]
43002         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43003         FE_TONEAREST before applying Dekker multiplication and Knuth
43004         addition.  Clear inexact exceptions and check for exact zero
43005         results afterwards.
43006         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43007         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43008         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43009         * math/libm-test.inc (fma_test): Add more tests.
43010         (fma_test_towardzero): Likewise.
43011         (fma_test_downward): Likewise.
43012         (fma_test_upward): Likewise.
43013         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43014         function.
43015         (libc_fesetround): New macro.
43016         (libc_fesetroundf): Likewise.
43017         (libc_fesetroundl): Likewise.
43018         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43019         function.
43020         (libc_fesetround_387): Likewise.
43021         (libc_fesetroundf): New macro.
43022         (libc_fesetround): Likewise.
43023         (libc_fesetroundl): Likewise.
43024         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43025         function.
43026         (libc_fesetroundf): New macro.
43027         (libc_fesetround): Likewise.
43028         (libc_fesetroundl): Likewise.
43029         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43030         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43031         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43032         libm_hidden_ver.
43033         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43034         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43035         libm_hidden_def.
43036         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43037         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43038         libm_hidden_ver.
43039         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43040         libm_hidden_def.
43042         [BZ #3439]
43043         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43044         integer constant usable in #if and use that to give value to enum
43045         constant.
43046         (FE_DIVBYZERO): Likewise.
43047         (FE_UNDERFLOW): Likewise.
43048         (FE_OVERFLOW): Likewise.
43049         (FE_INVALID): Likewise.
43050         (FE_INVALID_SNAN): Likewise.
43051         (FE_INVALID_ISI): Likewise.
43052         (FE_INVALID_IDI): Likewise.
43053         (FE_INVALID_ZDZ): Likewise.
43054         (FE_INVALID_IMZ): Likewise.
43055         (FE_INVALID_COMPARE): Likewise.
43056         (FE_INVALID_SOFTWARE): Likewise.
43057         (FE_INVALID_SQRT): Likewise.
43058         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43059         (FE_TONEAREST): Likewise.
43060         (FE_TOWARDZERO): Likewise.
43061         (FE_UPWARD): Likewise.
43062         (FE_DOWNWARD): Likewise.
43063         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43064         (FE_DIVBYZERO): Likewise.
43065         (FE_OVERFLOW): Likewise.
43066         (FE_UNDERFLOW): Likewise.
43067         (FE_INEXACT): Likewise.
43068         (FE_TONEAREST): Likewise.
43069         (FE_DOWNWARD): Likewise.
43070         (FE_UPWARD): Likewise.
43071         (FE_TOWARDZERO): Likewise.
43072         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43073         (FE_UNDERFLOW): Likewise.
43074         (FE_OVERFLOW): Likewise.
43075         (FE_DIVBYZERO): Likewise.
43076         (FE_INVALID): Likewise.
43077         (FE_TONEAREST): Likewise.
43078         (FE_TOWARDZERO): Likewise.
43079         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43080         (FE_OVERFLOW): Likewise.
43081         (FE_UNDERFLOW): Likewise.
43082         (FE_DIVBYZERO): Likewise.
43083         (FE_INEXACT): Likewise.
43084         (FE_TONEAREST): Likewise.
43085         (FE_TOWARDZERO): Likewise.
43086         (FE_UPWARD): Likewise.
43087         (FE_DOWNWARD): Likewise.
43088         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43089         (FE_DIVBYZERO): Likewise.
43090         (FE_OVERFLOW): Likewise.
43091         (FE_UNDERFLOW): Likewise.
43092         (FE_INEXACT): Likewise.
43093         (FE_TONEAREST): Likewise.
43094         (FE_DOWNWARD): Likewise.
43095         (FE_UPWARD): Likewise.
43096         (FE_TOWARDZERO): Likewise.
43098 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43100         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43102 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43104         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43105         commands.  Quote $PWD.
43106         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43107         -x" by "export".
43108         (remove_newlines): Remove.
43110 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43112         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43113         * stdlib/stdlib.h (atof): Moved to ...
43114         * include/bits/stdlib-float.h: Here.  New file.
43115         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43116         * stdlib/bits/stdlib-float.h: New file.
43117         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43118         -mno-sse -mno-mmx.
43119         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43120         <xmmintrin.h>.
43122 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43124         * conform/conformtest.pl (@headers): Add fenv.h.
43125         * conform/data/fenv.h-data: New file.
43126         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43127         include of <math/fenv.h>.
43129         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43130         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43131         && !UNIX98].  Enables tests for XOPEN2K8.
43132         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43133         POSIX2008]: Likewise.
43135         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43136         (struct rusage): Do not expect type or its members.
43138         [BZ #3439]
43139         * math/math.h (FP_NAN): Define macro to integer constant usable in
43140         #if and use that to give value to enum constant.
43141         (FP_INFINITE): Likewise.
43142         (FP_ZERO): Likewise.
43143         (FP_SUBNORMAL): Likewise.
43144         (FP_NORMAL): Likewise.
43146 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43148         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43149         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43150         arguments.
43152 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43154         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43155         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43156         autoconf-time if not.
43157         * configure.in: Remove AC_PREREQ.
43159 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43161         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43162         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43163         of the internal implementation.
43165 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43167         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43168         except include of <misc/sys/syslog.h>.
43170 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43173         function returns with a NULL context exit with zero.
43175 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43177         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43179 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43181         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43182         (run_program_cmd): This.
43183         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43184         (tst_langinfo): New variable.  Use it.
43186 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43188         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43189         floating point opcodes.
43191 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43193         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43194         variable.
43196         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43198         * sysdeps/mach/hurd/powerpc: Remove directory.
43199         * sysdeps/mach/powerpc: Likewise.
43201 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43203         * scripts/check-local-headers.sh: Ignore c++ headers.
43205 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43207         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43208         __libc_cleanup_region_start argument.
43210 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43212         [BZ #14784]
43213         [BZ #14785]
43214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43215         x * y using scaling, not as x * y + z.
43216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43218         * math/libm-test.inc (fma_test): Add more tests.
43219         (fma_test_towardzero): Likewise.
43220         (fma_test_downward): Likewise.
43221         (fma_test_upward): Likewise.
43223 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43225         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43227 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43229         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43230         New variable.
43232 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43234         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43236 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43239         Fix sort order.
43240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43241         Likewise.
43243 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43246         Fix the order of the list for glibc 2.17.
43247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43248         Likewise.
43250 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43254 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43256         [BZ #14610]
43257         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43258         for low part of x being zero before using __atanl (y).
43259         * math/libm-test.inc (atan2_test): Add another test.
43261         * manual/install.texi (Configuring and compiling): Document
43262         general use of test-wrapper and test-wrapper-env.
43263         * INSTALL: Regenerated.
43265         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43266         (__fma): Do not extract and scale down low bits on after-rounding
43267         systems when result rounded to normal precision would have normal
43268         exponent.
43269         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43270         (__fmal): Do not extract and scale down low bits on after-rounding
43271         systems when result rounded to normal precision would have normal
43272         exponent.
43273         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43274         (__fmal): Do not extract and scale down low bits on after-rounding
43275         systems when result rounded to normal precision would have normal
43276         exponent.
43277         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43278         macro.
43279         (fma_test): Add more tests.
43280         (fma_test_towardzero): Likewise.
43281         (fma_test_downward): Likewise.
43282         (fma_test_upward): Likewise.
43284 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43286         * sysdeps/i386/tininess.h: Renamed to ...
43287         * sysdeps/x86/tininess.h: This.
43288         * sysdeps/x86_64/tininess.h: Removed.
43290 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43292         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43293         input.  Use $(build-program-cmd).
43294         ($(objpfx)tst-array1-static.out): Likewise.
43295         ($(objpfx)tst-array2.out): Likewise.
43296         ($(objpfx)tst-array3.out): Likewise.
43297         ($(objpfx)tst-array4.out): Likewise.
43298         ($(objpfx)tst-array5.out): Likewise.
43299         ($(objpfx)tst-array5-static.out): Likewise.
43301 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43303         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43304         if defined.
43306         * nss/nsswitch.h (nss_interface_function): Provide new
43307         macro for use with NSS functions.
43308         * grp/initgroups.c: Use new macro.
43309         * nss/getXXbyYY.c: Likewise.
43310         * nss/getXXbyYY_r.c: Likewise.
43311         * nss/getXXent.c: Likewise.
43312         * nss/getXXent_r.c: Likewise.
43313         * sysdeps/posix/getaddrinfo.c: Likewise.
43315 2012-10-30  Andreas Jaeger  <aj@suse.de>
43317         * po/ru.po: Update Russion translation from translation project.
43319 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43321         [BZ #14152]
43322         [BZ #14783]
43323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43324         result and shift together with sticky bit instead of replicating
43325         round-to-nearest rounding.
43326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43328         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43329         missing underflow exceptions.
43330         (fma_test_towardzero): Add more tests.
43331         (fma_test_downward): Likewise.
43332         (fma_test_upward): Likewise.
43334         [BZ #14047]
43335         * sysdeps/generic/tininess.h: New file.
43336         * sysdeps/i386/tininess.h: Likewise.
43337         * sysdeps/sh/tininess.h: Likewise.
43338         * sysdeps/x86_64/tininess.h: Likewise.
43339         * stdlib/tst-strtod-underflow.c: Likewise.
43340         * stdlib/tst-tininess.c: Likewise.
43341         * stdlib/strtod_l.c: Include <tininess.h>.
43342         (round_and_return): Do not set errno for exact underflow cases.
43343         Force an underflow exception when setting errno for underflow.
43344         Determine underflow based on rounding to normal precision if
43345         TININESS_AFTER_ROUNDING.
43346         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43347         ERANGE for exact underflow cases.
43348         * stdlib/Makefile (tests): Add tst-tininess and
43349         tst-strtod-underflow.
43350         ($(objpfx)tst-tininess): Use $(link-libm).
43351         ($(objpfx)tst-strtod-underflow): Likewise.
43353 2012-10-30  Andreas Jaeger  <aj@suse.de>
43355         [BZ#14767]
43356         * elf/Makefile (tests): Remove conditional for have-initfini-array
43357         since this is now always required and the variable does not exist
43358         anymore.
43359         (tests-static): Likewise.
43360         (modules-names): Likewise.
43362         * po/eo.po: Add Esperanto translation from translation project.
43364         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43365         merged with constructor/destructor.
43366         (init_array): Likewise.
43367         * elf/tst-array2dep.c (fini_array): Likewise.
43368         (init_array): Likewise.
43370 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43372         * manual/message.texi: Delete @cartouche tags.
43374 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43376         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43377         EOPNOTSUPP.
43378         * sysdeps/mach/hurd/fsync.c: Likewise.
43380         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43381         [_POSIX_REALTIME_SIGNALS]: Change condition to
43382         [_POSIX_REALTIME_SIGNALS > 0].
43384 2012-10-27  Andreas Jaeger  <aj@suse.de>
43386         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43387         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43388         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43389         [__WORDSIZE != 64]: Likewise.
43391 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43393         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43394         *  iconvdata/tst-tables.sh: Likewise.
43396 2012-10-25  David S. Miller  <davem@davemloft.net>
43398         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43399         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43400         of strtoull.
43402         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43403         ifunc-impl-list.c
43404         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43405         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43406         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43407         file.
43409 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43411         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43412         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43413         __getdirentries.
43415 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43416             Jim Blandy  <jimb@codesourcery.com>
43418         * scripts/cross-test-ssh.sh: New file.
43419         * manual/install.texi (Configuring and compiling): Document use of
43420         cross-test-ssh.sh.
43421         * INSTALL: Regenerated.
43423 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43425         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43426         EOPNOTSUPP.
43428 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43430         * Makeconfig (run-program-prefix): Fix comment.
43432 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43433             Jim Blandy  <jimb@codesourcery.com>
43435         * Makeconfig (test-wrapper): New variable,
43436         (test-wrapper-env): Likewise.
43437         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43438         (run-built-tests): Define to yes.
43439         (run-program-prefix): Use $(test-wrapper).
43440         (built-program-cmd): Likewise.
43441         * Rules (make-test-out): Use $(test-wrapper-env) and
43442         $(host-built-program-cmd).
43443         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43444         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43445         tst-pathopt.sh.
43446         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43447         $(test-wrapper-env) to tst-rtld-load-self.sh.
43448         ($(objpfx)order2.out): Use $(test-wrapper).
43449         ($(objpfx)tst-initorder.out): Likewise.
43450         ($(objpfx)tst-initorder2.out): Likewise.
43451         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43452         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43453         (test_wrapper_env): New variable.  Use it to run ld.so.
43454         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43455         Use it to run ld.so.
43456         (test_wrapper_env): Likewise.
43457         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43458         $(test-wrapper) to run-iconv-test.sh.
43459         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43460         (ICONV): Use $test_wrapper.
43461         * posix/Makefile ($(objpfx)globtest.out): Pass
43462         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43463         globtest.sh, not $(run-program-prefix).
43464         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43465         (test_wrapper): Likewise.
43466         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43467         set together with run_via_rtld_prefix.
43468         (run_program_prefix): Define in terms of test_wrapper and
43469         run_via_rtld_prefix.
43471 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43473         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43474         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43475         Targets removed.
43477         [BZ #14743]
43478         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43479         Declare __clock_getres, __clock_gettime, __clock_settime,
43480         __clock_nanosleep, and __clock_getcpuclockid.
43481         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43482         Remove librt_hidden_def (clock_gettime).
43483         * sysdeps/unix/clock_gettime.c: Likewise.
43484         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43485         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43486         * rt/clock_getres.c: Define __clock_getres as an alias.
43487         * sysdeps/posix/clock_getres.c: Likewise.
43488         * rt/clock_settime.c: Define __clock_settime as an alias.
43489         * sysdeps/unix/clock_settime.c: Likewise.
43490         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43491         * sysdeps/unix/clock_nanosleep.c: Likewise.
43492         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43493         * rt/clock-compat.c: New file.
43494         * rt/Makefile (librt-routines): Add clock-compat and move
43495         $(clock-routines) to ...
43496         (routines): ... here, new variable.
43497         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43498         Don't add get_clockfreq here.
43499         * rt/Versions (libc: GLIBC_2.17): New version set.
43500         Add clock_* symbols here.
43501         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43502         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43503         (GLIBC_2.17): Add clock_* symbols.
43504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43506         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43508         Likewise.
43509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43510         Likewise.
43511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43515         * NEWS: Mention the move.
43517         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43518         Use __open, __read, __close rather than their public counterparts.
43519         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43520         (__get_clockfreq_via_cpuinfo): Likewise.
43521         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43522         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43524         * config.h.in (HAVE_IFUNC): New #undef.
43525         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43526         was successful.
43527         * configure: Regenerated.
43529 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43531         * configure.in: Move READELF check to start of file.
43532         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43533         libc_cv_asm_gnu_indirect_function in the process.
43534         * configure: Regenerated.
43536 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43538         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43539         send the output to /dev/null.
43540         (libc_cv_cc_with_libunwind): Likewise.
43541         (libc_cv_as_noexecstack): Likewise.
43542         * configure: Regenerate.
43544 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43546         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43548         * posix/globtest.sh (TMPDIR): Do not set.
43549         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43550         (testout): Likewise.
43552 2012-10-24  Andreas Jaeger  <aj@suse.de>
43554         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43555         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43556         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43557         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43558         posix_fadvise64, posix_fallocate64.
43560         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43561         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43562         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43563         Likewise.
43564         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43565         Likewise.
43566         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43569         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43570         <bits/fcntl-linux.h>.
43571         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43573         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43574         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43575         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43576         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43577         [__WORDSIZE != 64]: Likewise.
43579 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43581         * Makeconfig (run-built-tests): New variable.
43582         * Rules [$(cross-compiling) = yes]: Change condition to
43583         [$(run-built-tests) = no].
43584         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43585         to [$(run-built-tests) = yes].
43586         * elf/Makefile [$(cross-compiling) = no]: Likewise
43587         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43588         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43589         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43590         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43591         * io/Makefile [$(cross-compiling) = no]: Likewise.
43592         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43593         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43594         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43595         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43596         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43597         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43598         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43599         * string/Makefile [$(cross-compiling) = no]: Likewise.
43601         * posix/Makefile ($(objpfx)globtest.out): Pass
43602         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43603         $(rtld-installed-name).
43604         * posix/globtest.sh (elf_objpfx): Remove variable.
43605         (rtld_installed_name): Likewise.
43606         (library_path): Likewise.
43607         (run_program_prefix): New variable.  Use for running globtest
43608         binary.
43610 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43611             Joseph Myers  <joseph@codesourcery.com>
43613         * Makeconfig (host-built-program-cmd): New variable.
43614         * elf/Makefile (tst-stackguard1-ARGS): Use
43615         $(host-built-program-cmd).
43616         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43617         (tst-spawn-ARGS): Likewise.
43618         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43620 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43621             Jim Blandy  <jimb@codesourcery.com>
43623         * Makeconfig (run-via-rtld-prefix): New variable.
43624         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43625         (built-program-cmd): Likewise.
43627 2012-10-22  Andreas Jaeger  <aj@suse.de>
43629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43630         __O_RSYNC if it exists, otherwise to O_SYNC.
43632 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43633             Joseph Myers  <joseph@codesourcery.com>
43635         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43636         /dev/null.
43637         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43638         from /dev/null
43639         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43640         /dev/null.
43642 2012-10-22  Andreas Jaeger  <aj@suse.de>
43644         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43645         Define always.
43646         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43648         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43649         bits/fcntl-linux.h.
43651         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43652         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43654         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43655         to __O_LARGEFILE.
43656         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43657         to __O_LARGEFILE.
43659 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43660             Joseph Myers  <joseph@codesourcery.com>
43662         * config.make.in (NM): New variable.
43664 2012-10-21  Andreas Jaeger  <aj@suse.de>
43666         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43667         definitions and declarations that are provided by
43668         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43670 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43672         [BZ #14683]
43673         * elf/Makefile (tests-static): Add tst-leaks1-static.
43674         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43675         ($(objpfx)tst-leaks1-static): New rule.
43676         ($(objpfx)tst-leaks1-static-mem): Likewise.
43677         (tst-leaks1-static-ENV): New macro.
43678         * elf/dl-open.c (dl_open_worker): Check the main application
43679         only if SHARED is defined.
43680         * elf/tst-leaks1-static.c: New file.
43682 2012-10-20  Andreas Jaeger  <aj@suse.de>
43684         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43685         generic values for Linux.
43686         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43687         and declarations that are provided by <bits/fcntl-linux.h> and
43688         include <bits/fcntl-linux.h>.
43689         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43690         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43692 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43694         * io/fcntl.h: Move include of <bits/types.h> to the top and
43695         include it unconditionally.
43697 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43699         * wcsmbs/Makefile (tests-ifunc): New variable.
43700         (tests): Add $(tests-ifunc).
43701         * wcsmbs/test-wcschr-ifunc.c: New file.
43702         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43703         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43704         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43705         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43706         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43708         * string/Makefile (tests-ifunc): New variable.
43709         (tests): Add $(tests-ifunc).
43710         * string/test-memccpy.c (TEST_NAME): New macro.
43711         * string/test-memchr.c (TEST_NAME): Likewise.
43712         * string/test-memcmp.c (TEST_NAME): Likewise.
43713         * string/test-memcpy.c (TEST_NAME): Likewise.
43714         * string/test-memmem.c (TEST_NAME): Likewise.
43715         * string/test-memmove.c (TEST_NAME): Likewise.
43716         * string/test-memset.c (TEST_NAME): Likewise.
43717         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43718         * string/test-stpcpy.c (TEST_NAME): Likewise.
43719         * string/test-stpncpy.c (TEST_NAME): Likewise.
43720         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43721         * string/test-strcasestr.c (TEST_NAME): Likewise.
43722         * string/test-strcat.c (TEST_NAME): Likewise.
43723         * string/test-strchr.c (TEST_NAME): Likewise.
43724         * string/test-strcmp.c(TEST_NAME): Likewise.
43725         * string/test-strcpy.c (TEST_NAME): Likewise.
43726         * string/test-strcspn.c (TEST_NAME): Likewise.
43727         * string/test-strlen.c (TEST_NAME): Likewise.
43728         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43729         * string/test-strncmp.c (TEST_NAME): Likewise.
43730         * string/test-strncpy.c (TEST_NAME): Likewise.
43731         * string/test-strnlen.c (TEST_NAME): Likewise.
43732         * string/test-strpbrk.c (TEST_NAME): Likewise.
43733         * string/test-strrchr.c (TEST_NAME): Likewise.
43734         * string/test-strspn.c (TEST_NAME): Likewise.
43735         * string/test-strstr.c (TEST_NAME): Likewise.
43736         * string/test-bcopy-ifunc.c: New file.
43737         * string/test-bzero-ifunc.c: Likewise.
43738         * string/test-memccpy-ifunc.c: Likewise.
43739         * string/test-memchr-ifunc.c: Likewise.
43740         * string/test-memcmp-ifunc.c: Likewise.
43741         * string/test-memcpy-ifunc.c: Likewise.
43742         * string/test-memmem-ifunc.c: Likewise.
43743         * string/test-memmove-ifunc.c: Likewise.
43744         * string/test-mempcpy-ifunc.c: Likewise.
43745         * string/test-memset-ifunc.c: Likewise.
43746         * string/test-rawmemchr-ifunc.c: Likewise.
43747         * string/test-stpcpy-ifunc.c: Likewise.
43748         * string/test-stpncpy-ifunc.c: Likewise.
43749         * string/test-strcasecmp-ifunc.c: Likewise.
43750         * string/test-strcasestr-ifunc.c: Likewise.
43751         * string/test-strcat-ifunc.c: Likewise.
43752         * string/test-strchr-ifunc.c: Likewise.
43753         * string/test-strchrnul-ifunc.c: Likewise.
43754         * string/test-strcmp-ifunc.c: Likewise.
43755         * string/test-strcpy-ifunc.c: Likewise.
43756         * string/test-strcspn-ifunc.c: Likewise.
43757         * string/test-strlen-ifunc.c: Likewise.
43758         * string/test-strncasecmp-ifunc.c: Likewise.
43759         * string/test-strncat-ifunc.c: Likewise.
43760         * string/test-strncmp-ifunc.c: Likewise.
43761         * string/test-strncpy-ifunc.c: Likewise.
43762         * string/test-strnlen-ifunc.c: Likewise.
43763         * string/test-strpbrk-ifunc.c: Likewise.
43764         * string/test-strrchr-ifunc.c: Likewise.
43765         * string/test-strspn-ifunc.c: Likewise.
43766         * string/test-strstr-ifunc.c: Likewise.
43768         * debug/Makefile (tests-ifunc): New variable.
43769         (tests): Add $(tests-ifunc).
43770         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43771         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43772         * debug/test-stpcpy_chk-ifunc.c: New file.
43773         * debug/test-strcpy_chk-ifunc.c: Likewise.
43775 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43777         [BZ #13601]
43778         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43779         header is not read in.
43781 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43783         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43784         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43785         directly.  Pass built executable to script as
43786         $(built-program-cmd).
43787         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43788         $testprogram without using LD_LIBRARY_PATH and $ldso.
43790         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43791         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43792         $(rtld-installed-name).
43793         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43794         (rtld_installed_name): Likewise.
43795         (library_path): Likewise.
43796         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43797         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43798         $(run-program-prefix) to tst-tables.sh.
43799         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43800         it to run tst-table-from and tst-table-to.
43801         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43802         Pass it to tst-table.sh.
43803         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43804         $(run-program-prefix) to tst-gettext.sh.
43805         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43806         tst-translit.sh.
43807         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43808         tst-gettext2.sh.
43809         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43810         to run tst-gettext.
43811         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43812         to run tst-gettext2.
43813         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43814         to run tst-translit.
43815         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43816         $(run-program-prefix) to tst-mtrace.sh.
43817         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43818         to run tst-mtrace.
43819         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43820         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43821         $(rtld-installed-name).
43822         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43823         (rtld_installed_name): Likewise.
43824         (run_program_prefix): New variable.  Use it to run wordexp-test.
43826         * Makeconfig (ARCH): Remove all definitions.
43827         (machine): Likewise.
43828         [ARCH]: Remove conditional code.
43829         [!objdir]: Give error.
43830         [!objdir] (objpfx): Remove.
43831         [!objdir] (common-objpfx): Likewise.
43832         [!objdir] (common-objdir): Likewise.
43833         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43834         AC_CONFIG_FILES call.
43835         * configure: Regenerated.
43837         [BZ #13888]
43838         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43839         or TMPDIR.
43840         (testout): Likewise.
43842         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43843         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43844         $(rtld-installed-name).
43845         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43846         (rtld_installed_name): Likwise.
43847         (runit): Remove function.
43848         (run_getconf): New variable,  Use it for running getconf binary.
43850 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43852         [BZ #14716]
43853         * string/test-memmem.c (check_result): New function.
43854         (do_one_test): Use it.
43855         (check1): New function.
43856         (test_main): Use it.
43858 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43860         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43862 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43864         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43865         (_G_LSEEK64): Likewise.
43866         (_G_MMAP64): Likewise.
43867         (_G_FSTAT64): Likewise.
43868         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43869         (_G_LSEEK64): Likewise.
43870         (_G_MMAP64): Likewise.
43871         (_G_FSTAT64): Likewise.
43872         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43873         unconditional.  Call __mmap64 directly.
43874         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43875         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43876         __lseek64 directly.
43877         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43878         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43879         __mmap64 directly.
43880         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43881         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43882         __lseek64 directly.
43883         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43884         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43885         __lseek64 directly.
43886         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43887         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43888         __lseek64 directly.
43889         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43890         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43891         __fxstat64 directly.
43892         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43893         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43894         unconditional.
43895         (freopen64) [!_G_OPEN64]: Remove conditional code.
43896         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43897         unconditional.
43898         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43899         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43900         unconditional.
43901         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43902         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43903         unconditional.
43904         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43905         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43906         unconditional.
43907         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43908         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43909         unconditional.
43910         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43911         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43912         unconditional.
43913         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43914         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43915         unconditional.
43916         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43918 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43920         [BZ #12140]
43921         * manual/memory.texi (Malloc Tunable Parameters): Add note
43922         about free list pointers overwriting some perturb bytes.
43923         Wording suggested by Roland McGrath.
43925 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43927         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43928         (lgamma_test): Likewise.
43929         (tgamma_test): Likewise.
43931 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43933         [BZ #14700]
43934         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43935         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43937 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43939         * NEWS: Mention BZ #14716.
43940         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43941         when removing AVAILABLE1_USES_J macro.
43943 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43945         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43946         (__bswap_64): __uint64_t for unsigned 64-bit int.
43948 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43950         * include/string.h (memmem): Declare libc hidden alias.
43951         * string/memmem.c (memmem): Define libc hidden alias.
43952         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43953         __read, __close instead of open, read, close.
43955 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43958         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43959         global and hidden.
43960         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43961         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43962         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43963         Likewise.
43964         (__rawmemchr_sse2): Likewise.
43965         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43966         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43967         (__strchr_sse2): Likewise.
43968         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43969         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43970         (__strcasecmp_sse2): Likewise.
43971         (__strncasecmp_sse2): Likewise.
43972         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43973         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43974         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43975         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43976         (__strrchr_sse2): Likewise.
43977         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43978         ifunc-impl-list.c.
43979         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43980         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43981         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43982         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43983         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43984         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43985         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43986         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43987         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43988         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43989         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43990         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43991         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43992         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43993         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43994         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43995         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43996         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43997         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43998         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43999         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44000         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44001         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44002         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44003         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44004         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44005         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44006         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44007         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44008         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44010         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44011         global and hidden.
44012         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44013         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44014         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44015         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44016         Likewise.
44017         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44018         Likewise.
44019         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44020         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44021         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44022         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44023         ifunc-impl-list.c.
44024         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44025         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44026         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44027         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44028         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44029         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44030         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44031         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44032         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44033         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44034         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44035         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44036         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44037         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44038         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44039         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44040         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44041         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44042         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44043         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44044         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44045         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44046         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44047         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44048         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44049         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44050         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44051         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44052         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44053         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44054         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44055         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44056         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44057         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44058         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44059         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44060         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44061         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44062         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44063         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44064         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44066         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44067         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44068         * include/ifunc-impl-list.h: New file.
44069         * misc/ifunc-impl-list.c: Likewise.
44070         * misc/Makefile (routines): Add ifunc-impl-list.
44071         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44072         * string/test-string.h: Include <ifunc-impl-list.h>.
44073         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44074         TEST_NAME]: New variables.
44075         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44076         are defined.
44077         (test_init): Call __libc_ifunc_impl_list to initialize
44078         func_list if TEST_IFUNC and TEST_NAME are defined.
44080         * string/Makefile (strop-tests): Add bcopy and bzero.
44081         * string/test-bcopy.c: New file.
44082         * string/test-bzero.c: Likewise.
44083         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44084         defined.
44085         * string/test-memset.c: Support bzero test if TEST_BZERO is
44086         defined.
44087         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44088         __libc_memmove.
44089         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44090         __libc_memset.
44091         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44092         of memset.
44094 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44096         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44097         * configure: Regenerated.
44099         * Makeconfig (+link-static-before-libc): Don't include
44100         $(link-static-libc).
44102         * libio/libio.h (_IO_pos_t): Remove.
44104 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44106         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44107         McGrath.
44109 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44111         * crypt/crypt-entry.c: Include fips-private.h.
44112         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44113         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44114         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44115         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44117 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44119         * crypt/crypt-private.h: Include stdbool.h.
44120         (_ufc_setup_salt_r): Return bool.
44121         * crypt/crypt-entry.c: Include errno.h.
44122         (__crypt_r): Return NULL with EINVAL for bad salt.
44123         * crypt/crypt_util.c (bad_for_salt): New.
44124         (_ufc_setup_salt_r): Check that salt is long enough and within
44125         the specified alphabet.
44126         * crypt/badsalttest.c: New file.
44127         * crypt/Makefile (tests): Add it.
44128         ($(objpfx)badsalttest): New.
44130 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44132         * NEWS: Add entry for BZ #14602.
44134 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44136         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44137         type-generic.
44138         * math/libm-test.inc: Update comment listing what functions and
44139         macros are tested.
44140         (isgreater_test): New function.
44141         (isgreaterequal_test): Likewise.
44142         (isless_test): Likewise.
44143         (islessequal_test): Likewise.
44144         (islessgreater_test): Likewise.
44145         (isunordered_test): Likewise.
44146         (main): Call the new functions.
44148 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44150         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44151         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44152         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44153         * sysdeps/i386/configure: Regenerated.
44154         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44155         * sysdeps/mach/configure: Regenerated.
44156         * sysdeps/mach/hurd/configure: Regenerated.
44157         * sysdeps/powerpc/configure: Regenerated.
44158         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44159         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44160         * sysdeps/s390/s390-32/configure: Regenerated.
44161         * sysdeps/s390/s390-64/configure: Regenerated.
44162         * sysdeps/sh/configure: Regenerated.
44163         * sysdeps/sparc/configure: Regenerated.
44164         * sysdeps/unix/sysv/linux/configure: Regenerated.
44165         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44166         * sysdeps/x86_64/configure: Regenerated.
44168         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44169         defined.  Don't check if MAP is NULL.
44171 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44173         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44174         (_G_stat64): Likewise.
44175         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44176         (_G_stat64): Likewise.
44177         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44178         instead of struct _G_stat64.
44179         * libio/fileops.c (mmap_remap_check): Likewise.
44180         (decide_maybe_mmap): Likewise.
44181         (_IO_new_file_seekoff): Likewise.
44182         (_IO_file_stat): Likewise.
44183         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44184         _G_off64_t.
44185         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44186         instead of struct _G_stat64.
44187         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44189 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44191         [BZ #14602]
44192         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44193         Replace with ...
44194         (CHECK_EOL): New macro.
44195         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44196         CHECK_EOL.
44197         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44198         Replace with CHECK_EOL.
44199         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44200         Replace with CHECK_EOL.
44202 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44204         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44205         type-generic.
44206         * math/libm-test.inc: Update comment listing what functions and
44207         macros are tested.
44208         (finite_test): New function.
44209         (isinf_test): Likewise.
44210         (isnan_test): Likewise.
44211         (fpclassify_test): Test subnormal input.
44212         (isfinite_test): Likewise.
44213         (isnormal_test): Likewise.
44214         (main): Call the new functions.
44216 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44218         [BZ #14660]
44219         * Makerules (%.dynsym): Force C locale when running
44220         $(OBJDUMP) --dynamic-syms.
44222 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44224         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44225         <stdint.h>.
44227 2012-10-06  David S. Miller  <davem@davemloft.net>
44229         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44230         upper 32-bits of the length value in %o2 since we use branch-on-register
44231         tests which consider the entire 64-bit register.
44233 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44235         * string/test-strstr.c (check2): Add a test for page boundary.
44237 2012-10-05  David S. Miller  <davem@davemloft.net>
44239         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44240         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44241         file.
44242         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44243         sysdep_routines.
44244         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44245         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44246         and bzero when HWCAP_SPARC_CRYPTO is present.
44248 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44250         [BZ #14602]
44251         * string/test-strstr.c (check2): New function.
44252         (test_main): Call check2.
44254         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44255         and bug-strchr1.
44256         * string/bug-strcasestr1.c (do_test): Moved to ...
44257         * string/test-strcasestr.c (check1): Here.  New function.
44258         (do_one_test): Break out result checking code into ...
44259         (check_result): This.  New function.
44260         (do_one_test): Call check_result.
44261         (test_main): Call check1.
44262         * string/bug-strchr1.c (do_test): Moved to ...
44263         * string/test-strchr.c (check1): Here.  New function.
44264         (do_one_test): Break out result checking code into ...
44265         (check_result): This.  New function.
44266         (do_one_test): Call check_result.
44267         (test_main): Call check1.
44268         * string/bug-strstr1.c (main): Moved to ...
44269         * string/test-strstr.c (check1): Here.  New function.
44270         (do_one_test): Break out result checking code into ...
44271         (check_result): This.  New function.
44272         (do_one_test): Call check_result.
44273         (test_main): Call check1.
44274         * string/bug-strcasestr1.c: Removed.
44275         * string/bug-strchr1.c: Likewise.
44276         * string/bug-strstr1.c: Likewise.
44278         * elf/Makefile (dl-routines): Add hwcaps.
44279         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44280         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44281         (_dl_important_hwcaps): Moved to ...
44282         * elf/dl-hwcaps.c: Here.  New file.
44283         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44285         [BZ #14557]
44286         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44287         if IS_IN_rtld isn't defined.
44289         * elf/dl-support.c (_dl_sysinfo_map): New.
44290         Include "get-dynamic-info.h" and "setup-vdso.h".
44291         (_dl_non_dynamic_init): Call setup_vdso.
44292         * elf/dynamic-link.h: Don't include <assert.h>.
44293         (elf_get_dynamic_info): Moved to ...
44294         * elf/get-dynamic-info.h: Here.  New file.
44295         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44296         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44297         * elf/setup-vdso.h: Here.  New file.
44298         * elf/rtld.c: Include "setup-vdso.h".
44299         (dl_main): Call setup_vdso.
44301 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44303         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44304         creal in comment listing functions tested.  List finite, isinf,
44305         isnan, isless, islessequal, isgreater, isgreaterequal,
44306         islessgreater, isunordered, lgamma_r and pow10 as functions and
44307         macros not tested.  Mention which functions not tested are aliases
44308         for other functions.  Fix typo.  Note that signs of NaNs are not
44309         tested.
44311         * scripts/config.guess: Update from config.git.
44312         * scripts/config.sub: Likewise.
44314 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44316         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44317         * misc/madvise.c (madvise): Renamed to __madvise.
44318         Make madvise a weak alias.
44319         * include/sys/mman.h: Declare __madvise.
44320         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44321         * sysdeps/unix/syscalls.list
44322         (madvise): Make __madvise the strong name, and madvise a weak alias.
44323         * sysdeps/unix/sysv/linux/syscalls.list
44324         (madvise, mmap): Remove redundant entries.
44325         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44326         * malloc/malloc.c (mtrim): Likewise.
44327         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44329 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44331         * sysdeps/mach/hurd/dl-cache.c: File removed.
44332         * config.h.in (USE_LDCONFIG): New #undef.
44333         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44334         * configure: Regenerated.
44335         * elf/Makefile (dl-routines): Add dl-cache only under
44336         [$(use-ldconfig) = yes].
44337         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44338         cache on [USE_LDCONFIG].
44339         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44340         [USE_LDCONFIG].
44341         * elf/rtld.c (dl_main): Likewise.
44343 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44345         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44346         _SC_LEVEL4_CACHE_LINESIZE.
44348 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44350         * sysdeps/unix/bsd/confstr.h: File removed.
44352 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44354         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44355         sys/sdt-config.h.
44357 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44359         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44360         Make 'mapoff' field ElfW(Off) rather than off_t.
44362 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44364         * nscd/Makefile: Remove nscd-cflags and all its users.
44365         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44366         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44368         [BZ #10631]
44369         * malloc.c (malloc_printerr): Clarify error message.
44371 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44373         [BZ #14648]
44374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44375         Set bit_FMA_Usable if FMA is supported.
44376         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44377         macro.
44378         (bit_FMA4_Usable): Updated.
44379         (index_FMA_Usable): New macro.
44380         (CPUID_FMA): Likewise
44381         (HAS_FMA): Defined with bit_FMA_Usable.
44383 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44385         * bits/types.h (__swblk_t): Type removed.
44386         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44387         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44388         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44389         (__SWBLK_T_TYPE): Likewise.
44390         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44391         (__SWBLK_T_TYPE): Likewise.
44392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44393         (__SWBLK_T_TYPE): Likewise.
44394         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44395         (__SWBLK_T_TYPE): Likewise.
44397 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44398             Honza Horak <hhorak@redhat.com>
44400         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44401         (xdr_mapname): Use YPMAXMAP as maxsize.
44402         (xdr_peername): Use YPMAXPEER as maxsize.
44403         (xdr_keydat): Use YPAXRECORD as maxsize.
44404         (xdr_valdat): Use YPMAXRECORD as maxsize.
44406 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44408         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44410         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44411         * csu/init-first.c: ... here.
44412         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44413         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44414         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44415         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44416         * sysdeps/i386/init-first.c: File removed.
44417         * sysdeps/sh/init-first.c: File removed.
44419 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44421         [BZ #14645]
44422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44423         if x * y might underflow to zero and z is zero.
44424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44425         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44426         * math/libm-test.inc (min_subnorm_value): New variable.
44427         (fma_test): Add more tests.
44428         (fma_test_towardzero): Likewise.
44429         (fma_test_downward): Likewise
44430         (fma_test_upward): Likewise.
44431         (initialize): Set min_subnorm_value.
44433 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44435         [BZ #14638]
44436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44437         0 + 0.
44438         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44439         mode for addition resulting in exact zero.
44440         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44442         exact 0 + 0.
44443         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44445         * math/libm-test.inc (fma_test): Add more tests.
44446         (fma_test_towardzero): New function.
44447         (fma_test_downward): Likewise.
44448         (fma_test_upward): Likewise.
44449         (main): Call the new functions.
44451 2012-09-28  David S. Miller  <davem@davemloft.net>
44453         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44455 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44457         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44458         instead of SIGALRM.
44460         * sysdeps/gnu/_G_config.h: Moved to ...
44461         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44462         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44463         * sysdeps/generic/_G_config.h: ... here.
44465         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44467         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44469         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44470         Conditionalize target on [libnss_test1.so-version].
44472         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44474         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44475         (elfobjdir): Move out of conditionals.
44477         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44478         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44479         (__nss_lookup_function): Conditionalize label remove_from_tree on
44480         [!DO_STATIC_NSS || SHARED], matching its only use.
44482 2012-09-28  David S. Miller  <davem@davemloft.net>
44484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44485         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44486         file.
44487         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44488         sysdep_routines.
44489         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44490         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44491         when HWCAP_SPARC_CRYPTO is present.
44493 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44495         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44497 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44499         [BZ #6530]
44500         * stdio-common/vfprintf.c (process_string_arg): Revert
44501         2000-07-22 change.
44503 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44505         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44506         for testcase.
44507         * stdio-common/tst-sprintf.c: Include <locale.h>
44508         (main): Test sprintf's handling of incomplete multibyte
44509         characters.
44511 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44513         * elf/dl-runtime.c (VERSYMIDX): Removed.
44514         * elf/dl-version.c (VERSYMIDX): Likewise.
44515         * elf/do-rel.h (VERSYMIDX): Likewise.
44516         (VALIDX): Likewise.
44517         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44518         * elf/rtld.c (VALIDX): Likewise.
44519         (ADDRIDX): Likewise.
44520         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44521         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44522         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44523         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44524         (VALIDX): Likewise.
44525         (ADDRIDX): Likewise.
44527 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44529         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44531 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44533         [BZ #11438]
44534         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44535         to global scope.
44536         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44537         addresses are in the same scope as 192.0.2/24.
44538         * posix/gai.conf: Document new scope table defaults.
44540 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44542         [BZ #5298]
44543         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44544         for ftell.  Compute offsets from write pointers instead.
44545         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44547 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44549         [BZ #14543]
44550         * libio/Makefile (tests): New test case tst-fseek.
44551         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44552         combination works in wide mode.
44553         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44554         state when the external buffer state changes.
44556 2012-09-27  David S. Miller  <davem@davemloft.net>
44558         [BZ #14376]
44559         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44560         pass reloc->r_addend in as the 'high' argument to
44561         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44565 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44567         * rt/tst-aio2.c: Include <pthread.h>.
44568         * rt/tst-aio3.c: Likewise.
44570 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44572         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44574 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44576         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44577         contents on [SHARED].
44579 2012-09-26  Marek Polacek  <polacek@redhat.com>
44581         [BZ #14530]
44582         [BZ #13741]
44583         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44584         for C++ and GCC <4.3 as well as for non GCC compilers.
44586 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44590 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44592         * Makefile.in (all, install): Declare with .PHONY.
44593         Reported by Michael Hope <michael.hope@linaro.org>.
44595 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44597         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44598         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44599         system header.
44600         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44601         Likewise.
44602         (sydep_routines): Add the new and the internal functions.
44603         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44604         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44606         (GLIBC_2.17): Add the new function.
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44608         (GLIBC_2.17): Likewise.
44609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44610         (GLIBC_2.17): Likewise.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44612         (GLIBC_2.17): Likewise.
44613         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44615 2012-09-25  Alan Modra  <amodra@gmail.com>
44617         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44618         Add release barrier before setting once_control to say
44619         initialisation is done.  Add hints on lwarx.  Use macro in
44620         place of isync.
44621         (clear_once_control): Add release barrier.
44623 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44625         [BZ #13629]
44626         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44627         specially.
44628         * math/s_clog10.c (__clog10): Likewise.
44629         * math/s_clog10f.c (__clog10f): Likewise.
44630         * math/s_clog10l.c (__clog10l): Likewise.
44631         * math/s_clogf.c (__clogf): Likewise.
44632         * math/s_clogl.c (__clogl): Likewise.
44633         * math/Makefile (libm-calls): Add x2y2m1.
44634         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44635         (__x2y2m1): Likewise.
44636         (__x2y2m1l): Likewise.
44637         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44638         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44639         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44640         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44641         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44642         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44643         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44644         * sysdeps/i386/fpu/libm-test-ulps: Update.
44645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44647         [BZ #14621]
44648         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44649         int as type of variable DEPTH.
44650         (glob): Use size_t instead of int as type of variables NEWCOUNT
44651         and OLD_PATHC.
44653 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44655         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44656         Add s_sincosf-sse2.
44657         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44658         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44659         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44660         macros for using routine as __sincosf_ia32.
44661         Use macro for function declaration and weak_alias.
44662         * sysdeps/i386/fpu/libm-test-ulps: Update.
44664         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44667         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44668         subnormal argument.
44669         * math/s_cexpf.c (__cexpf): Likewise.
44670         * math/s_csinf.c (__csinf): Likewise.
44671         * math/s_csinhf.c (__csinhf): Likewise.
44672         * math/s_ctanf.c (__ctanf): Likewise.
44673         * math/s_ctanhf.c (__ctanhf): Likewise.
44674         * math/s_ccosh.c (__ccoshf): Likewise.
44675         * math/s_cexp.c (__cexpl): Likewise.
44676         * math/s_csin.c (__csin): Likewise.
44677         * math/s_csinh.c (__csinh): Likewise.
44678         * math/s_ctan.c (__ctan): Likewise.
44679         * math/s_ctanh.c (ctanh): Likewise.
44680         * math/s_ccoshl.c (__ccoshl): Likewise.
44681         * math/s_cexpl.c (__cexpl): Likewise.
44682         * math/s_csinl.c (__csinl): Likewise.
44683         * math/s_csinhl.c (__csinhl): Likewise.
44684         * math/s_ctanl.c (__ctanl): Likewise.
44685         * math/s_ctanhl.c (__ctanhl): Likewise.
44687 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44689         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44690         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44691         (_IO_off_t): Define to __off_t, not _G_off_t.
44692         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44693         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44694         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44695         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44696         type of __dummy and __dummy2 fields.
44697         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44698         (_G_ssize_t): Likewise.
44699         (_G_off_t): Likewise.
44700         (_G_pid_t): Likewise.
44701         (_G_uid_t): Likewise.
44702         (_G_wchar_t): Likewise.
44703         (_G_wint_t): Likewise.
44704         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44705         (_G_ssize_t): Likewise.
44706         (_G_off_t): Likewise.
44707         (_G_pid_t): Likewise.
44708         (_G_uid_t): Likewise.
44709         (_G_wchar_t): Likewise.
44710         (_G_wint_t): Likewise.
44711         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44712         (_G_ssize_t): Likewise.
44713         (_G_off_t): Likewise.
44714         (_G_pid_t): Likewise.
44715         (_G_uid_t): Likewise.
44716         (_G_wchar_t): Likewise.
44717         (_G_wint_t): Likewise.
44719 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44721         * malloc/arena.c: Include malloc-sysdep.h.
44722         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44723         is sufficient to shrink the heap or an unmap is needed.
44724         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44725         new function check_may_shrink_heap.
44726         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44727         new function check_may_shrink_heap.
44729 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44731         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44732         comments.
44734 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44736         * catgets/test-gencat.sh: Add "set -e".
44737         * elf/tst-pathopt.sh: Likewise.
44738         * grp/tst_fgetgrent.sh: Likewise.
44739         * iconvdata/run-iconv-test.sh: Likewise.
44740         * intl/tst-gettext.sh: Likewise.
44741         * intl/tst-gettext2.sh: Likewise.
44742         * intl/tst-gettext4.sh: Likewise.
44743         * intl/tst-gettext6.sh: Likewise.
44744         * intl/tst-translit.sh: Likewise.
44745         * io/ftwtest-sh: Likewise.
44746         * libio/test-freopen.sh: Likewise.
44747         * malloc/tst-mtrace.sh: Likewise.
44748         * posix/globtest.sh: Likewise.
44749         * posix/tst-getconf.sh: Likewise.
44750         * posix/wordexp-tst.sh: Likewise.
44751         * stdio-common/tst-printf.sh: Likewise.
44752         * stdio-common/tst-unbputc.sh: Likewise.
44753         * stdlib/tst-fmtmsg.sh: Likewise.
44754         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44755         * catgets/Makefile: Do not specify -e option when running
44756         testsuite shell scripts.
44757         * elf/Makefile: Likewise.
44758         * grp/Makefile: Likewise.
44759         * iconvdata/Makefile: Likewise.
44760         * intl/Makefile: Likewise.
44761         * io/Makefile: Likewise.
44762         * libio/Makefile: Likewise.
44763         * malloc/Makefile: Likewise.
44764         * posix/Makefile: Likewise.
44765         * stdio-common/Makefile: Likewise.
44766         * stdlib/Makefile: Likewise.
44767         * sysdeps/x86_64/Makefile: Likewise.
44769         * io/ftwtest-sh: Add copyright header.
44770         * posix/globtest.sh: Likewise.
44771         * posix/tst-getconf.sh: Likewise.
44772         * posix/wordexp-tst.sh: Likewise.
44773         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44775 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44777         [BZ #13679]
44778         * Makeconfig (+link): Defined as $(+link-static) if
44779         $(build-shared) isn't yes.
44780         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44781         isn't yes.
44782         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44784         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44786         [BZ #14562]
44787         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44788         new chunk size with MALLOC_ALIGN_MASK.
44790 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44792         [BZ #5044]
44793         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44794         <rounding-mode.h>.
44795         (__printf_fphex): Determine rounding using get_rounding_mode and
44796         round_away.
44797         * stdio-common/tst-printf-round.c (struct hex_test): New
44798         structure.
44799         (hex_tests): New variable.
44800         (test_hex_in_one_mode): New function.
44801         (do_test): Also run tests for hex float output.
44803 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44805         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44806         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44807         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44808         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44809         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44810         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44811         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44812         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44814 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44816         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44817         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44818         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44819         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44821 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44823         [BZ #14579]
44824         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44825         mode only.
44826         * elf/tst-rtld-load-self.sh: New test.
44827         * elf/Makefile: Run it.
44829 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44831         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44832         (tst-writev-ENV): Remove.
44833         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44835 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44837         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44839 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44841         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44842         unconditional.
44843         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44844         Likewise.
44845         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44846         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44847         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44848         Likewise.
44850 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44852         [BZ #14587]
44853         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44854         * config.make.in (have-cpp-asm-debuginfo): Removed.
44855         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44856         * configure: Regenerated.
44858 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44860         [BZ #5044]
44861         * stdio-common/printf_fp.c: Include <stdbool.h> and
44862         <rounding-mode.h>.
44863         (___printf_fp): Determine rounding using get_rounding_mode and
44864         round_away.
44865         * stdio-common/tst-printf-round.c: New file.
44866         * stdio-common/Makefile (tests): Add tst-printf-round.
44867         (link-libm): New variable.
44868         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44870 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44872         [BZ #14576]
44873         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44874         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44875         Likewise.
44876         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44877         Likewise.
44879 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44881         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44882         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44883         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44884         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44886 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44888         [BZ #14518]
44889         * include/rounding-mode.h: New file.
44890         * sysdeps/generic/get-rounding-mode.h: Likewise.
44891         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44892         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44893         (MAX_VALUE): New macro.
44894         (MIN_VALUE): Likewise.
44895         (overflow_value): New function.
44896         (underflow_value): Likewise.
44897         (round_and_return): Use overflow_value and underflow_value to
44898         determine return values in overflow and underflow cases.  Use
44899         round_away to determine rounding depending on rounding mode.
44900         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44901         determine return values in overflow and underflow cases.
44902         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44903         (struct test_results): New structure.
44904         (struct test): Use struct test_results to store expected results
44905         for all rounding modes.
44906         (TEST): Include expected results for all rounding modes.
44907         (test_in_one_mode): New function.
44908         (do_test): Use test_in_one_mode to compute and check results.
44909         Check results for all rounding modes.
44910         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44911         $(link-libm).
44913 2012-12-09  Allan McRae  <allan@archlinux.org>
44915         * sysdeps/i386/fpu/libm-test-ulps: Update
44917 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44919         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44920         (_G_int32_t): Likewise.
44921         (_G_uint16_t): Likewise.
44922         (_G_uint32_t): Likewise.
44923         (_G_HAVE_BOOL): Likewise.
44924         (_G_HAVE_ATEXIT): Likewise.
44925         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44926         (_G_HAVE_IO_FILE_OPEN): Likewise.
44927         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44928         (_G_int32_t): Likewise.
44929         (_G_uint16_t): Likewise.
44930         (_G_uint32_t): Likewise.
44931         (_G_HAVE_BOOL): Likewise.
44932         (_G_HAVE_ATEXIT): Likewise.
44933         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44934         (_G_HAVE_IO_FILE_OPEN): Likewise.
44935         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44936         (_G_int32_t): Likewise.
44937         (_G_uint16_t): Likewise.
44938         (_G_uint32_t): Likewise.
44939         (_G_HAVE_BOOL): Likewise.
44940         (_G_HAVE_ATEXIT): Likewise.
44941         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44942         (_G_HAVE_IO_FILE_OPEN): Likewise.
44944 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44946         * csu/libc-tls.c: Update copyright years.
44948 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44950         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44951         [!_G_USING_THUNKS]: Remove conditional code.
44952         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44953         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44955         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44956         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44957         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44958         (_G_VTABLE_LABEL_PREFIX): Likewise.
44959         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44960         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44961         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44962         (_G_VTABLE_LABEL_PREFIX): Likewise.
44963         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44964         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44965         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44966         (_G_VTABLE_LABEL_PREFIX): Likewise.
44967         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44969 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44971         * libio/Makefile: Include ../Makeconfig before tests.
44972         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44973         only if $(build-shared) is yes.
44975         * iconv/gconv_db.c: Update copyright years.
44977 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44979         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44980         unwind info if defined PIC. Fix special cases description.
44981         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44983         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44984         DP_HI_MASK entry.
44985         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44987 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44989         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44991         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44992         is NULL.
44994         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44995         (LDLIBS-tst-chk4): This.
44996         (LDFLAGS-tst-chk5): Renamed to ...
44997         (LDLIBS-tst-chk5): This.
44998         (LDFLAGS-tst-chk6): Renamed to ...
44999         (LDLIBS-tst-chk6): This.
45000         (LDFLAGS-tst-lfschk4): Renamed to ...
45001         (LDLIBS-tst-lfschk4): This.
45002         (LDFLAGS-tst-lfschk5): Renamed to ...
45003         (LDLIBS-tst-lfschk5): This.
45004         (LDFLAGS-tst-lfschk6): Renamed to ...
45005         (LDLIBS-tst-lfschk6): This.
45007         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45008         on $(common-objpfx)soversions.mk.
45010 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45012         [BZ #10014]
45013         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45014         example host name.
45016 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45018         * malloc/arena.c (arena_get_retry): New function that gets
45019         another arena for the caller to try its request on.
45020         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45021         current arena cannot fulfill the request.
45022         (__libc_memalign): Likewise.
45023         (__libc_memalign): Likewise.
45024         (__libc_pvalloc): Likewise.
45025         (__libc_calloc): Likewise.
45027 2012-09-05  John Tobey  <john.tobey@gmail.com>
45029         [BZ #13542]
45030         * manual/arith.texi (Operations on Complex): Fix description
45031         of carg branch cut.
45033 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45035         [BZ #10014]
45036         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45037         host name.
45039         [BZ #10038]
45040         * manual/memory.texi (Memory): Make order of menu items match
45041         order of sections.
45043 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45045         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45046         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45047         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45049 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45051         * csu/libc-tls.c (static_dtv): Renamed to ...
45052         (_dl_static_dtv): This.  Make it global.
45053         (_dl_initial_dtv): Removed.
45054         (__libc_setup_tls): Updated.
45055         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45056         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45057         DL_INITIAL_DTV.
45059 2012-09-06  Petr Machata  <pmachata@redhat.com>
45061         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45062         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45063         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45064         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45066 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45068         [BZ #14545]
45069         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45070         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45071         freeing dtv[-1].
45073 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45075         [BZ #14544]
45076         * Makeconfig (link-static-before-libc): Replace $(+prector)
45077         with $(+prectorT).
45078         (link-static-after-libc): Replace $(+postctor) with
45079         $(+postctorT).
45080         (link-bounded): Replace $(+prector)/$(+postctor) with
45081         $(+prectorT)/$(+postctorT).
45082         (+prectorT): New macro.
45083         (+postctorT): Likewise.
45085 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45087         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45088         (round_str): Handle values above the maximum for IBM long double
45089         as inexact.
45090         * stdlib/tst-strtod-round.c (tests): Regenerated.
45092 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45094         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45095         assembler flag.
45096         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45097         zarch_nohighgprs around the zarch optimized routines.
45098         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45099         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45100         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45101         for zarch.
45103 2012-09-05  David S. Miller  <davem@davemloft.net>
45105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45107         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45108         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45109         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45110         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45111         entries.
45113 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45115         * malloc/arena.c: Fold copyright years.
45116         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45118 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45120         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45122 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45124         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45126 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45128         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45129         change internal state upon failure.
45131 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45133         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45134         * malloc/memusage.c (mmap): Likewise.
45135         (mmap64, mremap): Likewise.  Adjust name in comment.
45137 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45139         * libio/fileops.c: Fix typos in comments.
45140         * libio/oldfileops.c: Likewise.
45141         * libio/wfileops.c: Likewise.
45143 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45145         [BZ #1349]
45146         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45147         (tst-malloc-usable-ENV): Set environment for test case.
45148         * malloc/hooks.c (malloc_check_get_size): New function to get
45149         requested size.
45150         * malloc/malloc.c (musable): Use malloc_check_get_size.
45151         * malloc/tst-malloc-usable.c: New test case.
45153 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45155         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45157 2012-09-05  Allan McRae  <allan@archlinux.org>
45159         [BZ #13966]
45160         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45161         determine header location.
45162         * configure: Regenerated.
45164 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45166         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45167         float format.
45168         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45169         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45170         format.
45171         (test): Regenerate.
45173 2012-09-04  David S. Miller  <davem@davemloft.net>
45175         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45176         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45177         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45179 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45181         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45182         failures.
45184         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45186 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45188         [BZ #9914]
45189         * libio/iogetdelim.c: Include <limits.h>.
45190         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45191         + len + 1 would overflow.
45193 2012-09-03  Andreas Jaeger  <aj@suse.de>
45195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45196         * sysdeps/i386/fpu/libm-test-ulps: Update.
45198 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45200         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45201         Add s_sinf-sse2, s_conf-sse2.
45203         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45204         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45205         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45206         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45208         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45209         for using routine as __sinf_ia32.
45210         Use macro for function declaration and weak_alias.
45211         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45212         for using routine as __cosf_ia32.
45213         Use macro for function declaration and weak_alias.
45215         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45216         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45218         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45219         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45222         * math/libm-test.inc (cos_test): Add more test cases.
45223         (sin_test): Likewise.
45224         (sincos_test): Likewise.
45226 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45228         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45229         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45230         hidden.
45231         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45233 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45235         [BZ #14538]
45236         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45237         first element of the GOT.
45238         (elf_machine_load_address): Return the difference between
45239         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45241 2012-09-01  Allan McRae  <allan@archlinux.org>
45243         [BZ #13412]
45244         * configure.in (AWK): Require gawk version 3.0 or later.
45245         * configure: Regenerated.
45247 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45249         * sysdeps/unix/sysv/linux/kernel-features.h
45250         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45251         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45252         [__NR_clock_getres]: Make code unconditional.
45253         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45254         (clock_getcpuclockid): Remove code left unreachable by removal of
45255         conditionals.
45256         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45257         code unconditional.
45258         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45259         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45260         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45261         Make code unconditional.
45262         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45263         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45264         * sysdeps/unix/sysv/linux/clock_settime.c
45265         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45266         conditional code.
45267         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45268         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45270 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45272         [BZ #14476]
45273         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45274         scripts/test-installation.pl.
45276         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45277         and $ld_so_version if it is set.
45279 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45281         [BZ #14516]
45282         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45283         failure if reading from procfs failed.
45284         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45286 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45288         * sysdeps/unix/sysv/linux/kernel-features.h
45289         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45290         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45291         Remove conditional code.
45292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45293         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45294         Remove conditional code.
45295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45296         * sysdeps/unix/sysv/linux/i386/fxstat.c
45297         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45298         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45299         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45300         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45301         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45302         * sysdeps/unix/sysv/linux/i386/lxstat.c
45303         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45304         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45305         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45306         Remove conditional code.
45307         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45308         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45309         Remove conditional code.
45310         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45311         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45312         <kernel-features.h>.
45313         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45314         Remove.
45315         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45316         Remove conditional code.
45317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45318         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45319         Remove conditional.
45321 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45323         [BZ #5400]
45324         * NEWS: Add fixed bug number.
45326 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45328         [BZ #14519]
45329         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45330         underflowing exponent in case of negative sign.
45331         * stdlib/tst-strtod-round-data: Add more tests.
45332         * stdlib/tst-strtod-round.c (tests): Regenerated.
45334         [BZ #3479]
45335         * stdlib/strtod_l.c (NDIG): Remove.
45336         (HEXNDIG): Likewise.
45337         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45338         smallest representable value.
45339         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45340         lie within an exact representation of 1/2 ulp of the result.
45341         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45342         unconditionally.
45343         (TENS_P9_IDX): Define unconditionally.
45344         (TENS_P9_SIZE): Likewise.
45345         (TENS_P10_IDX): Likewise.
45346         (TENS_P10_SIZE): Likewise.
45347         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45348         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45349         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45350         entries for 10^2^13 and 10^2^14.
45351         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45352         (TENS_P13_IDX): Define.
45353         (TENS_P13_SIZE): Likewise.
45354         (TENS_P14_IDX): Likewise.
45355         (TENS_P14_SIZE): Likewise.
45356         (_fpioconst_pow10): Change array size to
45357         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45358         unconditional.
45359         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45360         1024]: Add entries for 10^2^13 and 10^2^14.
45361         [LAST_POW10 > _LAST_POW10]: Remove #error.
45362         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45363         (_fpioconst_pow10): Change array size to
45364         FPIOCONST_POW10_ARRAY_SIZE.
45365         * stdlib/gen-fpioconst.c: New file.
45366         * stdlib/gen-tst-strtod-round.c: Likewise.
45367         * stdlib/tst-strtod-round-data: Likewise.
45368         * stdlib/tst-strtod-round.c: Likewise.
45369         * stdlib/Makefile (tests): Add tst-strtod-round.
45371         [BZ #14459]
45372         * stdlib/strtod_l.c: Include <stdint.h>.
45373         (NDEBUG): Do not define.
45374         (round_and_return): Change EXPONENT parameter to type intmax_t.
45375         Rearrange calculations to avoid internal overflow possibilities.
45376         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45377         Rearrange calculations to avoid internal overflow possibilities.
45378         Assert that number fits inside MPNSIZE limbs.
45379         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45380         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45381         calculations and add assertions to avoid internal overflow
45382         possibilities.  Add casts to avoid signed/unsigned operations.
45383         * stdlib/tst-strtod-overflow.c: New file.
45384         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45386 2012-08-25  Marek Polacek  <polacek@redhat.com>
45388         * time/time.h: Fix some typos in comments.
45390 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45392         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45393         * posix/tst-rfc3484-2.c: Likewise.
45394         * posix/tst-rfc3484-3.c: Likewise.
45396 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45398         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45399         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45401 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45403         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45404         #include of fxstatat64.c.
45406 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45408         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45409         * shadow/getspent_r.c: Likewise.
45410         * shadow/getspnam.c: Likewise.
45411         * shadow/getspnam_r.c: Likewise.
45412         * gshadow/getsgent.c: Likewise.
45413         * gshadow/getsgent_r.c: Likewise.
45414         * gshadow/getsgnam.c: Likewise.
45415         * gshadow/getsgnam_r.c: Likewise.
45416         * inet/getnetbyad.c: Likewise.
45417         * inet/getnetbyad_r.c: Likewise.
45418         * inet/getnetbynm.c: Likewise.
45419         * inet/getnetbynm_r.c: Likewise.
45420         * inet/getnetent.c: Likewise.
45421         * inet/getnetent_r.c: Likewise.
45422         * inet/getproto.c: Likewise.
45423         * inet/getproto_r.c: Likewise.
45424         * inet/getprtent.c: Likewise.
45425         * inet/getprtent_r.c: Likewise.
45426         * inet/getprtname.c: Likewise.
45427         * inet/getprtname_r.c: Likewise.
45428         * inet/getrpcbyname.c: Likewise.
45429         * inet/getrpcbyname_r.c: Likewise.
45430         * inet/getrpcbynumber.c: Likewise.
45431         * inet/getrpcbynumber_r.c: Likewise.
45432         * inet/getrpcent.c: Likewise.
45433         * inet/getrpcent_r.c: Likewise.
45434         * inet/getaliasent.c: Likewise.
45435         * inet/getaliasent_r.c: Likewise.
45436         * inet/getaliasname.c: Likewise.
45437         * inet/getaliasname_r.c: Likewise.
45438         * nscd/getgrgid_r.c: Likewise.
45439         * nscd/getgrnam_r.c: Likewise.
45440         * nscd/gethstbyad_r.c: Likewise.
45441         * nscd/gethstbynm3_r.c: Likewise.
45442         * nscd/getpwnam_r.c: Likewise.
45443         * nscd/getpwuid_r.c: Likewise.
45444         * nscd/getsrvbynm_r.c: Likewise.
45445         * nscd/getsrvbypt_r.c: Likewise.
45446         * nscd/gai.c: Likewise.
45448         * configure.in (build_nscd): New substituted variable, set
45449         by --disable-build-nscd and defaults to $use_nscd.
45450         * configure: Regenerated.
45451         * config.make.in (build-nscd): New substituted variable.
45452         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45453         Change conditional to require [$(build-nscd) = yes] as well.
45454         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45456         [BZ# 13696]
45457         * configure.in (use_nscd): New substituted variable, set by
45458         --disable-nscd.  If enabled, define USE_NSCD.
45459         * configure: Regenerated.
45460         * config.h.in: Add USE_NSCD.
45461         * config.make.in (use-nscd): New substituted variable.
45462         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45463         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45464         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45465         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45466         (CFLAGS-getgrnam_r.c): Likewise.
45467         (CFLAGS-initgroups.c): Likewise.
45468         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45469         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45470         Variables removed.
45471         * inet/getnetgrent_r.c
45472         (nscd_setnetgrent): New function, broken out of ...
45473         (setnetgrent): ... here.  Call it.
45474         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45475         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45476         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45477         * nscd/Makefile (routines, aux): Move definitions after include of
45478         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45479         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45480         Conditionalize on [USE_NSCD].
45481         (is_nscd, nscd_init_cb): Likewise.
45482         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45483         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45484         * nss/nss_db/db-init.c: Likewise.
45485         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45486         [USE_NSCD].
45487         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45488         (make_request): Use it.
45489         (cache_valid_p): New function.
45490         (__check_pf): Use it.
45491         * NEWS: Add item for --disable-nscd.
45493 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45495         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45496         to support sed >= 4.2.1-20-ga9bf076.
45497         * configure: Regenerated.
45499 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45501         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45502         Conditionalize whole body on [IREL].
45504 2012-08-22  Jeff Law <law@redhat.com>
45506         [BZ #14505]
45507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45508         if the family is PF_UNSPEC.
45510 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45512         * Makerules (lib-version): Rename from V.
45513         (install-lib-nosubdir): Change V to lib-version.
45515 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45517         [BZ #14252]
45518         * powerpc32/power6/wcschr.c: New file.
45519         * powerpc32/power6/wcscpy.c: New file.
45520         * powerpc32/power6/wcsrchr.c: New file.
45521         * powerpc64/power6/wcschr.c: New file.
45522         * powerpc64/power6/wcscpy.c: New file.
45523         * powerpc64/power6/wcsrchr.c: New file.
45525 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45527         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45528         (two_way_short_needle): Use it.
45529         * string/strstr.c (AVAILABLE1_USES_J): Define.
45530         * string/strcasestr.c: Likewise.
45532         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45533         array references.
45534         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45536         [BZ #11607]
45537         * NEWS: Add an entry.
45538         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45539         define their defaults.
45540         (two_way_short_needle): Detect end-of-string on-the-fly.
45541         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45542         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45543         * string/bug-strcasestr1.c: New test.
45544         * string/Makefile: Run it.
45546 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45548         [BZ #11607]
45549         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45550         the first character.
45552 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45554         * csu/elf-init.c (__libc_csu_irel): Function removed.
45555         * csu/libc-start.c (apply_irel): New function.
45556         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45558 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45560         * sysdeps/unix/sysv/linux/kernel-features.h
45561         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45562         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45563         <kernel-features.h>.
45564         [__NR_fadvise64_64]: Make code unconditional.
45565         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45566         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45567         !__NR_fadvise64_64)]: Likewise.
45568         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45569         !__NR_fadvise64_64))]: Likewise.
45570         [__NR_fadvise64]: Make code unconditional.
45571         [!__NR_fadvise64]: Remove conditional code.
45572         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45573         <kernel-features.h>.
45574         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45575         unconditional.
45576         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45577         conditional code.
45578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45579         not include <kernel-features.h>.
45580         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45581         unconditional.
45582         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45583         conditional code.
45584         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45585         include <kernel-features.h>.
45586         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45587         unconditional.
45588         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45589         conditional code.
45591 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45593         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45594         slight instruction rearrangements per scrollpipe analysis.
45595         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45597 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45599         * manual/syslog.texi (syslog; vsyslog, closelog):
45600         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45601         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45603         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45604         DSOCAPS to match condition on defining it.
45606 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45608         * sysdeps/unix/sysv/linux/kernel-features.h
45609         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45611         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45612         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45614         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45615         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45617         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45618         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45620         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45621         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45623         * sysdeps/unix/sysv/linux/kernel-features.h
45624         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45625         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45626         unconditional.
45627         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45628         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45629         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45630         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45631         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45632         Make code unconditional.
45633         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45634         (__mmap64) [!__NR_mmap2]: Likewise.
45635         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45636         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45637         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45638         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45639         [__NR_mmap2]: Make code unconditional.
45640         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45641         (__mmap64) [!__NR_mmap2]: Likewise.
45643 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45645         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45647 2012-08-18  Andreas Jaeger  <aj@suse.de>
45649         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45651 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45653         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45654         * include/unistd.h (__have_sock_cloexec): Likewise.
45655         (__have_pipe2): Likewise.
45656         (__have_dup3): Likewise.
45658 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45660         [BZ #9685]
45661         * include/unistd.h (__have_pipe2): Change define into an extern int.
45662         (__have_dup3): Likewise.
45663         * socket/have_sock_cloexec.c: Include fcntl.h.
45664         (__have_pipe2): New variable.
45665         (__have_dup3): Likewise.
45667 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45669         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45671 2012-08-17  Marek Polacek  <polacek@redhat.com>
45673         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45674         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45676 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45678         * configure.in: Add AC_SUBST for sysheaders.
45679         * configure: Regenerated.
45680         * config.make.in (sysheaders): New substituted variable.
45682         * sysdeps/unix/mkfifo.c: Moved ...
45683         * sysdeps/posix/mkfifo.c: ... here.
45684         * sysdeps/unix/mkfifoat.c: Moved ...
45685         * sysdeps/posix/mkfifoat.c: ... here.
45687         * sysdeps/unix/utime.c: Moved ...
45688         * sysdeps/posix/utime.c: ... here.
45690         * sysdeps/unix/time.c: Moved ...
45691         * sysdeps/posix/time.c: ... here.
45692         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45693         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45695         * sysdeps/unix/nice.c: Moved ...
45696         * sysdeps/posix/nice.c: ... here.
45698         * sysdeps/unix/alarm.c: Moved ...
45699         * sysdeps/posix/alarm.c: ... here.
45701         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45703 2012-08-17  Jeff Law <law@redhat.com>
45705         * intl/Makefile (codeset_mo): New variable.
45706         ($(codeset_mo)): New target.
45707         (tst-codeset.out): Depend on that.  Remove explicit rule.
45708         (tst-gettext3.out, tst-gettext5.out): Likewise.
45709         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45710         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45711         * intl/tst-codeset.sh: Remove.
45712         * intl/tst-gettext3.sh: Likewise.
45713         * intl/tst-gettext5.sh: Likewise.
45715 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45717         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45718         * sysdeps/unix/syscalls.list: ... here.
45720         * sysdeps/posix/getaddrinfo.c
45721         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45722         (gaiconf_init, gaiconf_reload): Use them.
45723         [!_STATBUF_ST_NSEC]
45724         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45725         Define using time_t rather than struct timespec.
45727         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45728         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45729         Macros removed.
45730         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45731         [!NO_THREADS].
45732         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45733         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45734         Likewise.
45736         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45737         __libc_cleanup_push argument.
45739         * bits/param.h: New file.
45740         * misc/sys/param.h: New file.
45741         * include/sys/param.h: New file.
45742         * misc/Makefile (headers): Add bits/param.h.
45743         * sysdeps/generic/sys/param.h: File removed.
45744         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45745         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45746         * sysdeps/mach/hurd/bits/param.h: New file.
45747         * sysdeps/mach/hurd/sys/param.h: File removed.
45749         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45750         last change.
45752         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45753         [_IO_MTSAFE_IO].
45754         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45755         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45756         New macros.
45758         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45759         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45760         rather than -D_IO_MTSAFE_IO conditionally.
45761         * stdio-common/Makefile (CPPFLAGS): Likewise.
45762         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45763         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45764         Use $(libio-mtsafe).
45765         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45766         of -D_IO_MTSAFE_IO.
45767         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45768         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45769         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45770         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45771         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45772         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45773         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45774         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45775         (CFLAGS-fread_u_chk.c): Likewise.
45776         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45777         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45778         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45779         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45780         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45781         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45782         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45783         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45784         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45786         * libio/Makefile: Test [$(libc-reentrant) = yes]
45787         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45789         * Makeconfig
45790         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45791         * sysdeps/pthread/configure: File removed.
45792         * sysdeps/pthread/Makeconfig: New file.
45793         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45794         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45796 2012-08-16  Gary Benson  <gbenson@redhat.com>
45798         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45799         unmapping the first object in a namespace.
45801 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45803         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45804         (__internal_setnetgrent): ... this.  Add internal_function to
45805         definition.  Add libc_hidden_def.
45806         (setnetgrent): Update caller.
45807         (internal_endnetgrent): Renamed to ...
45808         (__internal_endnetgrent): ... this.  Add internal_function to
45809         definition.  Add libc_hidden_def.
45810         (endnetgrent): Update caller.
45811         (internal_getnetgrent_r): Renamed to ...
45812         (__internal_getnetgrent_r): ... this.  Add internal_function to
45813         definition.  Add libc_hidden_def.
45814         (__getnetgrent_r): Update caller.
45815         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45817 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45819         * stdlib/longlong.h: Update from GCC.
45821 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45823         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45824         on _QL, which is set by umul_ppmm but never used.
45825         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45826         variables, which are set by GMP macros but never used.
45827         * stdio-common/_itowa.c (_itowa): Likewise.
45828         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45829         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45831 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45833         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45834         struct La_sh_regs is not constant.
45835         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45836         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45837         and struct La_sparc64_regs are not constant.
45839 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45841         * sysdeps/unix/sysv/linux/kernel-features.h
45842         (__ASSUME_POSIX_TIMERS): Remove.
45843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45844         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45845         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45846         Make code unconditional.
45847         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45848         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45849         Make code unconditional.
45850         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45851         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45852         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45853         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45854         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45855         Make code unconditional.
45856         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45857         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45858         (__libc_missing_posix_timers): Remove.
45860 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45862         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45863         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45865         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45867         * elf/dl-sym.c: Include <stdlib.h>.
45869         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45870         constants, which avoids warnings in 32-bit builds.
45872         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45873         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45875         * misc/lseek.c: File moved to ...
45876         * io/lseek.c: ... here.
45878         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45880         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45881         shifting LEN more than 31 bits at once.
45883 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45885         [BZ #14195]
45886         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45887         segmentation fault for a case of two empty input strings.
45888         * string/test-strncasecmp.c (check1): Renamed to...
45889         (bz12205): ...this.
45890         (bz14195): Add new testcase for two empty input strings and N > 0.
45891         (test_main): Call new testcase, adapt for renamed function.
45893 2012-08-15  Andreas Jaeger  <aj@suse.de>
45895         [BZ #14090]
45896         * crypt/md5test2.c: New test, based on test supplied by Serge
45897         Belyshev <belyshev@depni.sinp.msu.ru>.
45898         * crypt/Makefile (xtests): Add md5test-giant..
45899         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45901 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45903         [BZ #14090]
45904         * crypt/md5.c (md5_process_block): Don't assume the buffer
45905         length is less than 2**32.
45906         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45907         length is less than 2**64.
45909 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45911         * string/str-two-way.h: Include <sys/param.h>.
45912         (MAX): Macro removed.
45914         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45915         Move #define and #undef of memmove to just before and after
45916         including <string.h>.
45918         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45919         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45920         and after including <string.h>.  Move declarations of
45921         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45922         to before #include "string/memmove.c".
45924         * include/dirent.h: Declare __getdirentries.
45926         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45927         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45929 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45931         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45932         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45933         * sysdeps/i386/configure: Regenerated.
45934         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45935         STABS_CURRENT_FILE, and STABS_FUN.
45936         (END): Remove call to STABS_FUN_END.
45937         (STABS_CURRENT_FILE1): Delete.
45938         (STABS_CURRENT_FILE): Likewise.
45939         (STABS_FUN): Likewise.
45940         (STABS_FUN_END): Likewise.
45941         (STABS_FUN2): Likewise.
45942         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45943         * sysdeps/x86_64/configure: Regenerated.
45945 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45947         * elf/dl-open.c: Include <atomic.h>.
45948         * elf/dl-lookup.c: Likewise.
45950 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45952         * sysdeps/unix/sysv/linux/kernel-features.h
45953         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45954         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45955         unconditionally.
45956         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45957         unconditionally.
45958         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45959         condition on __ASSUME_CLONE_THREAD_FLAGS.
45961 2012-08-14  Andreas Jaeger  <aj@suse.de>
45963         * sysdeps/i386/fpu/libm-test-ulps: Update.
45965 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45967         * include/atomic.h (atomic_exchange_and_add): Split into ...
45968         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45969         New atomic macros.
45971 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45975 2012-08-13  Jeff Law <law@redhat.com>
45977         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45978         null byte in the output string.
45980 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45982         * sysdeps/unix/sysv/linux/kernel-features.h
45983         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45984         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45985         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45986         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45987         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45988         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45989         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45991 2012-08-09  Jeff Law <law@redhat.com>
45993         [BZ #13939]
45994         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45995         When avoid_arena is set, don't retry in the that arena.  Pick the
45996         next one, whatever it might be.
45997         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45998         (arena_lock): Pass in new parameter to arena_get2.
45999         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46000         arena_get2.
46001         (__libc_malloc): Unify retrying after main arena failure with
46002         __libc_memalign version.
46003         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46005 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46007         [BZ #14166]
46008         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46009         to __redirect_strstr.
46010         (__strstr_sse42): Use typeof __redirect_strstr.
46011         (__strstr_ia32): Likewise.
46012         (__libc_strstr): New prototype.
46013         (strstr): Renamed to ...
46014         (__libc_strstr): This.
46015         (strstr): New strong alias of __libc_strstr.
46016         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46017         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46018         __redirect_time.
46019         Include <time.h>.
46020         (__libc_time): New prototype.
46021         (time_ifunc): Replace time with __libc_time.
46022         (time): New strong alias and hidden definition of __libc_time.
46023         (__GI_time): Remove strong alias.
46024         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46025         Include <stddef.h>.
46026         (memmove): Redefined to __redirect_memmove.
46027         (__memmove_sse2): Use typeof __redirect_memmove.
46028         (__memmove_ssse3): Likewise.
46029         (__memmove_ssse3_back): Likewise.
46030         (__libc_memmove): New prototype.
46031         (memmove): Renamed to ...
46032         (__libc_memmove): This.
46033         (memmove): New strong alias of __libc_memmove.
46035 2012-08-08  Mark Salter  <msalter@redhat.com>
46037         * elf/elf.h
46038         (R_MN10300_TLS_GD): Define.
46039         (R_MN10300_TLS_LD): Likewise.
46040         (R_MN10300_TLS_LDO): Likewise.
46041         (R_MN10300_TLS_GOTIE): Likewise.
46042         (R_MN10300_TLS_IE): Likewise.
46043         (R_MN10300_TLS_LE): Likewise.
46044         (R_MN10300_TLS_DTPMOD): Likewise.
46045         (R_MN10300_TLS_DTPOFF): Likewise.
46046         (R_MN10300_TLS_TPOFF): Likewise.
46047         (R_MN10300_SYM_DIFF): Likewise.
46048         (R_MN10300_ALIGN): Likewise.
46049         (R_MN10300_NUM): Update.
46051 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46053         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46054         Remove.
46056 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46058         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46060         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46061         sysdeps/unix -> sysdeps/posix move.
46062         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46064 2012-08-07      Allan McRae     <allan@archlinux.org>
46066         [BZ #14303]
46067         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46068         (SUNOS_CPP): Likewise.
46069         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46070         not found.
46071         (open_input): Call CPP using execvp.
46073 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46075         * sysdeps/unix/sysv/linux/kernel-features.h
46076         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46077         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46078         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46079         (__ASSUME_WAITID_SYSCALL): Likewise.
46080         * sysdeps/unix/sysv/linux/dl-execstack.c
46081         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46082         code unconditional.
46083         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46084         conditional code.
46085         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46086         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46087         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46088         code.
46089         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46090         unconditional.
46091         [__ASSUME_WAITID_SYSCALL]: Likewise.
46092         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46094 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46096         * sysdeps/unix/closedir.c: Renamed to ...
46097         * sysdeps/posix/closedir.c: ... here.
46098         * sysdeps/unix/dirfd.c: Renamed to ...
46099         * sysdeps/posix/dirfd.c: ... here.
46100         * sysdeps/unix/dirstream.h: Renamed to ...
46101         * sysdeps/posix/dirstream.h: ... here.
46102         * sysdeps/unix/fdopendir.c: Renamed to ...
46103         * sysdeps/posix/fdopendir.c: ... here.
46104         * sysdeps/unix/opendir.c: Renamed to ...
46105         * sysdeps/posix/opendir.c: ... here.
46106         * sysdeps/unix/readdir.c: Renamed to ...
46107         * sysdeps/posix/readdir.c: ... here.
46108         * sysdeps/unix/readdir_r.c: Renamed to ...
46109         * sysdeps/posix/readdir_r.c: ... here.
46110         * sysdeps/unix/rewinddir.c: Renamed to ...
46111         * sysdeps/posix/rewinddir.c: ... here.
46112         * sysdeps/unix/seekdir.c: Renamed to ...
46113         * sysdeps/posix/seekdir.c: ... here.
46114         * sysdeps/unix/telldir.c: Renamed to ...
46115         * sysdeps/posix/telldir.c: ... here.
46116         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46117         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46118         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46119         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46121         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46122         * bits/fcntl.h: ... here.
46124         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46125         not 0.
46126         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46127         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46128         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46129         (struct flock): Move l_start, l_len to the beginning.
46130         Use __pid_t for l_pid.
46131         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46132         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46133         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46134         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46135         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46136         [__USE_LARGEFILE64] (struct flock64): New type.
46137         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46139         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46140         * bits/dirent.h: ... here.
46142         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46143         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46145 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46148         Change from 2.6.0 to 2.6.16.
46149         * sysdeps/unix/sysv/linux/configure: Regenerated.
46150         * sysdeps/unix/sysv/linux/kernel-features.h
46151         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46152         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46153         version.
46154         (__ASSUME_UTIMES): Likewise.
46155         (__ASSUME_CLONE_STOPPED): Remove.
46156         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46157         architectures, not kernel version.
46158         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46159         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46160         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46161         (__ASSUME_WAITID_SYSCALL): Likewise.
46162         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46163         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46164         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46165         refer to older versions.
46167 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46169         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46170         Define alphasort64 as an alias.
46171         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46172         Define versionsort64 as an alias.
46173         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46174         Define scandir64 as an alias.
46175         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46176         Define scandirat64 as an alias.
46177         * dirent/alphasort64.c (alphasort64):
46178         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46179         * dirent/versionsort64.c: Likewise.
46180         * dirent/scandir64.c: Likewise.
46181         * dirent/scandirat64.c: Likewise.
46182         * sysdeps/wordsize-64/alphasort.c: File removed.
46183         * sysdeps/wordsize-64/alphasort64.c: File removed.
46184         * sysdeps/wordsize-64/scandir.c: File removed.
46185         * sysdeps/wordsize-64/scandir64.c: File removed.
46186         * sysdeps/wordsize-64/scandirat.c: File removed.
46187         * sysdeps/wordsize-64/scandirat64.c: File removed.
46188         * sysdeps/wordsize-64/versionsort.c: File removed.
46189         * sysdeps/wordsize-64/versionsort64.c: File removed.
46190         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46191         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46192         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46193         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46194         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46195         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46196         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46197         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46199         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46200         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46201         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46202         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46203         [defined __arch64__ || defined __sparcv9]
46204         (__INO_T_MATCHES_INO64_T): New macro.
46205         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46206         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46207         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46208         * sysdeps/unix/sysv/linux/bits/dirent.h
46209         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46210         (_DIRENT_MATCHES_DIRENT64): New macro.
46212         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46213         Define lockf64 as an alias.
46214         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46215         Define fseeko64 as an alias.
46216         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46217         Define ftello64 as an alias.
46218         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46219         Define _IO_fgetpos64 and fgetpos64 as aliases.
46220         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46221         Define _IO_fsetpos64 and fsetpos64 as aliases.
46222         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46223         Conditionalize body on this.
46224         * libio/fseeko64.c: Likewise.
46225         * libio/ftello64.c: Likewise.
46226         * libio/iofgetpos64.c: Likewise.
46227         * libio/iofsetpos64.c: Likewise.
46228         * sysdeps/wordsize-64/lockf.c: File removed.
46229         * sysdeps/wordsize-64/lockf64.c: File removed.
46230         * sysdeps/wordsize-64/fseeko.c: File removed.
46231         * sysdeps/wordsize-64/fseeko64.c: File removed.
46232         * sysdeps/wordsize-64/ftello.c: File removed.
46233         * sysdeps/wordsize-64/ftello64.c: File removed.
46234         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46235         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46236         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46237         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46238         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46239         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46240         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46241         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46242         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46243         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46244         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46245         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46246         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46247         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46249         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46251         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46253         [defined __arch64__ || defined __sparcv9]
46254         (__OFF_T_MATCHES_OFF64_T): New macro.
46255         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46256         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46257         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46258         (__OFF_T_MATCHES_OFF64_T): New macro.
46260 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46262         * stdlib/secure-getenv.c (__secure_getenv): Replace
46263         GLIBC_2_16 with GLIBC_2_17.
46265 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46267         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46268         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46270 2012-08-03  David S. Miller  <davem@davemloft.net>
46272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46274 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46276         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46277         Remove.
46278         (__ASSUME_CORRECT_SI_PID): Likewise.
46279         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46280         (__ASSUME_TMPFS_NAME): Likewise.
46281         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46282         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46283         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46284         (HAVE_AUX_SECURE): Make definition unconditional.
46285         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46286         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46288 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46290         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46291         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46292         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46293         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46294         __eloop_threshold instead of SYMLOOP_MAX.
46296         * sysdeps/generic/eloop-threshold.h: New file.
46297         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46298         of MAXSYMLINKS.
46299         * elf/chroot_canon.c (chroot_canon): Likewise.
46301 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46303         [BZ #13717]
46304         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46305         Change to 2.6.0 everywhere.
46306         * sysdeps/unix/sysv/linux/configure: Regenerated.
46307         * sysdeps/unix/sysv/linux/kernel-features.h
46308         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46309         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46310         kernel versions.
46311         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46312         (__ASSUME_FUTEX_REQUEUE): Remove.
46313         (__ASSUME_STATFS64): Define unconditionally.
46314         (__ASSUME_AT_SECURE): Likewise.
46315         (__ASSUME_CORRECT_SI_PID): Likewise.
46316         (__ASSUME_TGKILL): Define without depending on kernel version for
46317         i386.
46318         (__ASSUME_UTIMES): Likewise.
46319         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46320         kernel version.
46321         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46322         (__ASSUME_TMPFS_NAME): Likewise.
46323         * README: Update reference to Linux kernel versions.
46325 2012-08-02  Marek Polacek  <polacek@redhat.com>
46327         [BZ# 14150]
46328         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46329         libc_cv_asm_type_prefix with %.
46330         * configure: Regenerated.
46331         * include/libc-symbols.h: Remove comment about
46332         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46333         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46334         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46335         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46336         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46337         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46338         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46339         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46340         * elf/tst-unique2mod1.c: Likewise.
46341         * elf/tst-unique1mod2.c: Likewise.
46342         * elf/tst-unique1mod1.c: Likewise.
46343         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46344         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46345         Replace ASM_TYPE_DIRECTIVE with .type.
46346         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46347         * sysdeps/i386/sysdep.h: Likewise.
46348         * sysdeps/x86_64/sysdep.h: Likewise.
46349         * sysdeps/sh/sysdep.h: Likewise.
46350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46351         Do not define ASM_TYPE_DIRECTIVE.
46352         * sysdeps/powerpc/sysdep.h: Likewise.
46353         * sysdeps/powerpc/powerpc32/sysdep.h:
46354         Replace ASM_TYPE_DIRECTIVE with .type.
46355         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46356         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46357         * sysdeps/i386/fpu/e_powf.S: Likewise.
46358         * sysdeps/i386/fpu/e_expl.S: Likewise.
46359         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46360         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46361         * sysdeps/i386/fpu/e_pow.S: Likewise.
46362         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46363         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46364         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46365         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46366         * sysdeps/i386/fpu/e_log2.S: Likewise.
46367         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46368         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46369         * sysdeps/i386/fpu/e_powl.S: Likewise.
46370         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46371         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46372         * sysdeps/i386/fpu/e_logl.S: Likewise.
46373         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46374         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46375         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46376         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46377         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46378         * sysdeps/i386/fpu/e_log.S: Likewise.
46379         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46380         * sysdeps/i386/fpu/e_logf.S: Likewise.
46381         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46382         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46383         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46384         * sysdeps/i386/fpu/e_log10.S: Likewise.
46385         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46386         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46387         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46388         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46389         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46390         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46391         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46392         * sysdeps/i386/i686/strtok.S: Likewise.
46393         * sysdeps/i386/i386-mcount.S: Likewise.
46394         * sysdeps/i386/strtok.S: Likewise.
46395         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46396         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46397         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46398         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46399         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46400         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46401         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46402         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46403         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46404         * sysdeps/x86_64/_mcount.S: Likewise.
46405         * sysdeps/x86_64/strtok.S: Likewise.
46406         * sysdeps/sh/_mcount.S: Likewise.
46408 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46410         * libio/iofopen.c: Include <fcntl.h>.
46411         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46412         (_IO_fopen64, fopen64): Define as aliases.
46413         * libio/iofopen64.c: Include <fcntl.h>.
46414         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46415         Conditionalize body on this.
46416         * sysdeps/wordsize-64/iofopen.c: File removed.
46417         * sysdeps/wordsize-64/iofopen64.c: File removed.
46419 2012-08-01  Marek Polacek  <polacek@redhat.com>
46421         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46422         Use dlfcn directly instead of a variable.
46423         (binfmt-subdir): Do not define.
46424         (dlfcn): Likewise.
46426 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46429         Remove all definitions.
46430         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46431         <kernel-features.h>.
46432         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46433         (miss_F_GETOWN_EX): Remove all definitions.
46434         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46435         macro definition.
46436         [!__ASSUME_FCNTL64]: Remove conditional code.
46437         [__ASSUME_FCNTL64]: Make code unconditional.
46438         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46439         <kernel-features.h>.
46440         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46441         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46442         (lockf64) [__NR_fcntl64]: Make code unconditional.
46443         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46445         * sysdeps/unix/sysv/linux/kernel-features.h
46446         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46447         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46448         Make code unconditional.
46449         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46450         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46452         [__NR_vfork]: Make code unconditional.
46453         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46454         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46456         [__NR_vfork]: Make code unconditional.
46457         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46458         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46460 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46462         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46463         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46465         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46466         Define mkstemp64 as an alias.
46467         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46468         Define mkstemps64 as an alias.
46469         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46470         Define mkostemp64 as an alias.
46471         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46472         Define mkostemps64 as an alias.
46473         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46474         Conditionalize body on this.
46475         * misc/mkostemp64.c: Likewise.
46476         * misc/mkostemps64.c: Likewise.
46477         * misc/mkstemps64.c: Likewise.
46478         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46479         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46480         * sysdeps/wordsize-64/mkostemp.c: File removed.
46481         * sysdeps/wordsize-64/mkstemp.c: File removed.
46482         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46483         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46484         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46485         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46487         [BZ #14138]
46488         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46489         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46490         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46491         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46493         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46494         compat_symbol macros from <shlib-compat.h> rather than the underlying
46495         default_symbol_version and symbol_version macros, so that DEFAULT
46496         lines in shlib-versions are respected.
46497         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46499 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46501         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46502         Declare with warn_unused_result.
46503         (setgid, setregid, setegid, setresgid): Likewise.
46504         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46505         Likewise.
46506         * WUR-REPORT: Remove set*id functions.
46508 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46510         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46512 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46514         [BZ #10191]
46515         * include/sys/socket.h (__libc_accept, __libc_accept4):
46516         Add attribute_hidden.
46517         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46519         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46520         use of PTR_MANGLE.
46521         * inet/getnetgrent_r.c (setup): Likewise.
46523         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46525 2012-07-31  David S. Miller  <davem@davemloft.net>
46527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46529 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46531         [BZ #13629]
46532         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46533         value between 1.0 and 2.0 and smaller part has absolute value less
46534         than 1.0.
46535         * math/s_clog10.c (__clog10): Likewise.
46536         * math/s_clog10f.c (__clog10f): Likewise.
46537         * math/s_clog10l.c (__clog10l): Likewise.
46538         * math/s_clogf.c (__clogf): Likewise.
46539         * math/s_clogl.c (__clogl): Likewise.
46540         * math/libm-test.inc (clog_test): Add more tests.
46541         (clog10_test): Likewise.
46542         * sysdeps/i386/fpu/libm-test-ulps: Update.
46543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46545 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46547         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46548         Exit with zero in case no suitable GID is found, and write a
46549         message to standard error.
46551 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46553         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46554         rather than to 1.
46555         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46556         (MAXPATHLEN): Removed.
46557         (NOGROUP, NODEV): New macros.
46558         (setbit, clrbit, isset, isclr): New macros.
46559         (howmany, roundup, powerof2): New macros.
46560         (DEV_BSIZE): New macro.
46562         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46563         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46565         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46566         definition on [!__NO_LONG_DOUBLE_MATH].
46568         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46569         PTR_MANGLE and PTR_DEMANGLE.
46571         * socket/accept4.c (accept4): Rename to __libc_accept4.
46572         Define accept4 as a weak alias.
46574         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46575         on [_DIRENT_HAVE_D_TYPE].
46576         * io/ftw.c (ftw_dir): Likewise.
46578         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46580         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46582         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46583         Use the BSD numbers rather than the arbitrary ones we had.
46584         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46585         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46586         (SIGXCPU, SIGXFSZ): New macros.
46587         (_NSIG): Now 32.
46589         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46590         initializer on [_LIBC_REENTRANT].
46592         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46593         definitions inside [_POSIX_MAPPED_FILES].
46595         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46597         * dirent/opendir.c: Include <fcntl.h>.
46599         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46600         (__libc_getspecific): Likewise.
46601         (__libc_key_create): Likewise.
46603         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46604         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46605         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46606         (tmpfile64): Define as alias.
46607         * sysdeps/wordsize-64/tmpfile.c: File removed.
46608         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46609         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46610         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46612         * stdio-common/vfscanf.c: Include <stdbool.h>.
46613         * nss/makedb.c: Likewise.
46614         * stdio-common/_i18n_number.h: Likewise.
46615         * argp/argp-help.c: Likewise.
46616         * posix/wordexp.c: Likewise.
46617         * sysdeps/posix/spawni.c: Likewise.
46618         * nss/nss_files/files-initgroups.c: Likewise.
46619         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46620         * nss/nss_files/files-initgroups.c: Likewise.
46621         * nss/nss_db/db-netgrp.c: Likewise.
46622         * nss/nss_db/db-initgroups.c: Likewise.
46623         * io/fchmodat.c: Include <sys/stat.h>.
46625         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46626         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46628         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46629         [HAVE_MMAP].
46631         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46632         Add multiple inclusion protection.
46634 2012-07-27  David S. Miller  <davem@davemloft.net>
46636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46638 2012-07-27  Gary Benson  <gbenson@redhat.com>
46640         [BZ #14298]
46641         * elf/rtld.c: Include <stap-probe.h>.
46642         (dl_main): Added static probes "init_start" and "init_complete".
46643         * elf/dl-load.c: Include <stap-probe.h>.
46644         (lose): Take new parameter "nsid".
46645         Added static probe "map_failed".
46646         (_dl_map_object_from_fd): Pass namespace id to lose.
46647         Added static probe "map_start".
46648         (open_verify): Pass namespace id to lose.
46649         * elf/dl-open.c: Include <stap-probe.h>.
46650         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46651         and "reloc_complete".
46652         * elf/dl-close.c: Include <stap-probe.h>.
46653         (_dl_close_worker): Added static probes "unmap_start" and
46654         "unmap_complete".
46655         * elf/rtld-debugger-interface.txt: New file documenting the above.
46657 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46659         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46660         rather than a string variable.
46661         * sunrpc/rpc_main.c (h_output): Likewise.
46662         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46664 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46666         * inet/check_native.c: New file.
46668 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46670         [BZ #13629]
46671         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46672         if larger part has absolute value 1.0.
46673         * math/s_clog10.c (__clog10): Likewise.
46674         * math/s_clog10f.c (__clog10f): Likewise.
46675         * math/s_clog10l.c (__clog10l): Likewise.
46676         * math/s_clogf.c (__clogf): Likewise.
46677         * math/s_clogl.c (__clogl): Likewise.
46678         * math/libm-test.inc (clog_test): Add more tests.
46679         (clog10_test): Likewise.
46680         * sysdeps/i386/fpu/libm-test-ulps: Update.
46681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46683         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46684         (pltexit): Likewise.
46685         (La_regs): Likewise.
46686         (La_retval): Likewise.
46687         (int_retval): Likewise.
46688         Update #error for removed macros to refer only to definitions in
46689         tst-audit.h.
46690         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46691         macro.
46692         (pltexit): Likewise.
46693         (La_regs): Likewise.
46694         (La_retval): Likewise.
46695         (int_retval): Likewise.
46696         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46697         macro.
46698         (pltexit): Likewise.
46699         (La_regs): Likewise.
46700         (La_retval): Likewise.
46701         (int_retval): Likewise.
46702         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46703         macro.
46704         (pltexit): Likewise.
46705         (La_regs): Likewise.
46706         (La_retval): Likewise.
46707         (int_retval): Likewise.
46708         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46709         macro.
46710         (pltexit): Likewise.
46711         (La_regs): Likewise.
46712         (La_retval): Likewise.
46713         (int_retval): Likewise.
46714         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46715         macro.
46716         (pltexit): Likewise.
46717         (La_regs): Likewise.
46718         (La_retval): Likewise.
46719         (int_retval): Likewise.
46720         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46721         macro.
46722         (pltexit): Likewise.
46723         (La_regs): Likewise.
46724         (La_retval): Likewise.
46725         (int_retval): Likewise.
46726         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46727         macro definitions in tst-audit.h.
46728         * sysdeps/i386/tst-audit.h: New file.
46729         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46730         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46731         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46732         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46733         * sysdeps/sh/tst-audit.h: Likewise.
46734         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46735         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46736         * sysdeps/x86_64/tst-audit.h: Likewise.
46738 2012-07-26  Andreas Jaeger  <aj@suse.de>
46740         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46741         ptrace.
46743         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46744         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46745         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46746         PTRACE_O_MASK.
46747         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46748         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46749         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46751         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46752         value.
46754         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46755         _sigsys.
46756         (si_call_addr, si_syscall, si_arch): Define new macro.
46757         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46758         _sigsys.
46759         (si_call_addr, si_syscall, si_arch): Define new marcro.
46760         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46761         _sigsys.
46762         (si_call_addr, si_syscall, si_arch): Define new macro.
46763         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46764         _sigsys.
46765         (si_call_addr, si_syscall, si_arch): Define new macro.
46767 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46769         [BZ #13717]
46770         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46771         Change to 2.4.21 where previously 2.4.1.
46772         * sysdeps/unix/sysv/linux/configure: Regenerated.
46773         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46774         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46775         Linux kernel version.
46776         (__ASSUME_STD_AUXV): Remove.
46777         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46778         kernel version.
46779         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46780         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46781         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46782         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46783         (__ASSUME_NETLINK_SUPPORT): Likewise.
46784         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46785         (__no_netlink_support): Remove conditional definition.
46786         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46787         Remove.
46788         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46789         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46790         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46791         (if_nameindex_ioctl): Remove.
46792         (if_nameindex_netlink): Do not handle __no_netlink_support.
46793         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46794         code.
46795         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46796         Remove conditional code.
46797         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46798         code.
46799         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46800         unconditional.
46801         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46802         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46803         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46804         Remove.
46805         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46806         [!__ASSUME_STD_AUXV]: Remove conditional code.
46807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46808         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46809         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46811         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46812         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46813         code.
46814         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46816         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46817         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46818         conditional code.
46819         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46821         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46822         code.
46823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46824         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46825         conditional code.
46826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46827         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46828         code unconditional.
46829         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46830         conditional code.
46831         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46832         unconditional.
46833         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46834         conditional code.
46835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46836         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46837         unconditional.
46838         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46839         conditional code.
46840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46841         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46842         code unconditional.
46843         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46844         conditional code.
46845         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46846         unconditional.
46847         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46848         conditional code.
46849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46850         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46851         code unconditional.
46852         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46853         conditional code.
46854         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46855         unconditional.
46856         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46857         conditional code.
46859 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46861         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46862         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46863         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46864         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46865         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46866         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46867         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46868         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46869         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46870         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46871         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46872         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46873         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46874         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46875         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46876         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46877         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46878         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46879         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46881         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46882         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46883         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46885 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46887         * Versions.def: Add GLIBC_2.17.
46888         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46889         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46890         Introduce __libc_secure_getenv.
46891         * stdlib/Versions (2.17): Add secure_getenv
46892         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46893         * stdlib/secure-getenv.c: Rename __secure_getenv to
46894         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46895         symbol __secure_getenv for GLIBC_2.0.
46896         * stdlib/tst-secure-getenv.c: New.
46897         * stdlib/Makefile (tests): Add testcase.
46898         * manual/startup.texi (Environment Access): Document
46899         secure_getenv.
46900         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46901         __libc_secure_getenv.
46902         * inet/ruserpass.c (ruserpass): Likewise.
46903         * malloc/mtrace.c (mtrace): Likewise.
46904         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46905         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46906         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46907         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46908         HAVE_SECURE_GETENV.
46909         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46910         __secure_getenv to __libc_secure_getenv.
46911         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46913         Likewise.
46914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46915         Likewise.
46916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46918         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46924 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46926         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46927         (struct La_i86_retval): Likewise.
46928         (struct La_x86_64_regs): Likewise.
46929         (struct La_x86_64_retval): Likewise.
46930         (struct La_x32_regs): Likewise.
46931         (struct La_x32_retval): Likewise.
46932         (struct La_ppc32_regs): Likewise.
46933         (struct La_ppc32_retval): Likewise.
46934         (struct La_ppc64_regs): Likewise.
46935         (struct La_ppc64_retval): Likewise.
46936         (struct La_sh_regs): Likewise.
46937         (struct La_sh_retval): Likewise.
46938         (struct La_s390_32_regs): Likewise.
46939         (struct La_s390_32_retval): Likewise.
46940         (struct La_s390_64_regs): Likewise.
46941         (struct La_s390_64_retval): Likewise.
46942         (struct La_sparc32_regs): Likewise.
46943         (struct La_sparc32_retval): Likewise.
46944         (struct La_sparc64_regs): Likewise.
46945         (struct La_sparc64_retval): Likewise.
46946         (struct audit_ifaces): Remove architecture-specific pltenter and
46947         pltexit members.
46948         * sysdeps/i386/ldsodefs.h: New file.
46949         * sysdeps/powerpc/ldsodefs.h: Likewise.
46950         * sysdeps/s390/ldsodefs.h: Likewise.
46951         * sysdeps/sh/ldsodefs.h: Likewise.
46952         * sysdeps/sparc/ldsodefs.h: Likewise.
46953         * sysdeps/x86_64/ldsodefs.h: Likewise.
46955 2012-07-25  Marek Polacek  <polacek@redhat.com>
46957         [BZ #6808]
46958         * math/libm-test.inc (yn_test): Add another test.
46959         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46960         to ERANGE when the result is +-Inf.
46961         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46962         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46963         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46964         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46966 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46968         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46969         equal to 0.
46970         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46971         clock_t.
46972         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46974 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46976         * configure.in <sysdeps resolving>: Correct printing
46977         Implies_before.
46978         * configure: Regenerate.
46980 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46982         * math/w_ilogb.c: Include <limits.h>.
46983         * math/w_ilogbl.c: Likewise.
46985 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46987         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46988         va_copy.  Document allowing for unavailable va_copy only as
46989         pre-C99 compatibility.
46990         * manual/string.texi (Copying and Concatenation): Use va_copy
46991         instead of __va_copy in concat example.
46993 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46995         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46996         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46997         it if not null.
46999         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47000         with O_NOLINK passed to __file_name_lookup.
47002         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47003         with O_NOLINK passed to __file_name_lookup.
47005         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47006         negative N or less than NGIDS.
47008         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47009         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47010         enough.  Use memcpy instead of strncpy.
47012 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47014         * elf/Makefile (check-data): Remove.
47015         (localplt.data): New vpath directive.
47016         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47017         instead of $(check-data).
47018         * scripts/data/localplt-generic.data: Move to ...
47019         * sysdeps/generic/localplt.data: ... here.
47020         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47021         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47022         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47024         ... here.
47025         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47027         ... here.
47028         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47030         ... here.
47031         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47033         ... here.
47034         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47036         ... here.
47037         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47039         ... here.
47041 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47043         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47044         PPC32 and PPC64 files.
47045         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47046         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47048 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47050         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47051         __makecontext_ret to ...
47052         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47053         ... here and call exit if uc_link is NULL.  New file.
47054         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47055         __makecontext_ret.S.
47056         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47057         __makecontext_ret to ...
47058         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47059         ... here and call exit if uc_link is NULL.  New file.
47060         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47061         __makecontext_ret.S.
47063 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47065         * elf/elf.h (R_390_IRELATIVE): New definition.
47066         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47067         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47068         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47069         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47070         (elf_machine_lazy_rel): Likewise.
47071         * sysdeps/s390/dl-irel.h: New file.
47072         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47073         * sysdeps/s390/s390-64/memset.S: New asm code.
47074         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47075         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47076         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47077         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47078         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47079         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47080         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47081         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47082         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47083         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47084         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47085         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47086         * sysdeps/s390/s390-32/memset.S: New asm code.
47087         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47089 2012-07-17  Marek Polacek  <polacek@redhat.com>
47091         [BZ #14349]
47092         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47093         * sysdeps/s390/s390-64/configure.in: Likewise.
47094         * sysdeps/sparc/configure.in: Likewise.
47095         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47096         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47097         * sysdeps/i386/configure.in: Likewise.
47098         * sysdeps/x86_64/configure.in: Likewise.
47099         * sysdeps/sh/configure.in: Likewise.
47100         * sysdeps/s390/s390-32/configure: Regenerated.
47101         * sysdeps/s390/s390-64/configure: Likewise.
47102         * sysdeps/x86_64/configure: Likewise.
47103         * sysdeps/sh/configure: Likewise.
47104         * sysdeps/powerpc/powerpc64/configure: Likewise.
47105         * sysdeps/powerpc/powerpc32/configure: Likewise.
47106         * sysdeps/sparc/configure: Likwise.
47107         * sysdeps/i386/configure: Likewise.
47109         * elf/dl-open.c: Comment fixes.
47111 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47113         * Makefile [CXX] (check-data): Remove.
47114         [CXX] (c++-types.data): New vpath directive.
47115         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47116         vpath.  Do not allow for C++ type data being missing.
47117         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47118         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47119         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47120         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47121         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47122         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47123         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47125         ... here.
47126         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47128         ... here.
47129         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47131         ... here.
47132         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47134         ... here.
47135         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47137         ... here.
47138         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47140         ... here.
47141         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47143         ... here.
47144         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47147         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47148         definitions to architecture-specific files.
47149         (TLS_IE): Likewise.
47150         (TLS_LD): Likewise.
47151         (TLS_GD): Likewise.
47152         * sysdeps/i386/tls-macros.h: New file.
47153         * sysdeps/powerpc/tls-macros.h: Likewise.
47154         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47155         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47156         * sysdeps/sh/tls-macros.h: Likewise.
47157         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47158         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47159         * sysdeps/x86_64/tls-macros.h: Likewise.
47161 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47163         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47164         zero value for regular exit case.
47166         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47167         (__start_context): Preserve zero value for regular exit case.
47169 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47170             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47172         * manual/setjmp.texi (setcontext): Clarify normal process
47173         termination when uc_link is the null pointer.
47174         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47175         exit call.
47177 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47179         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47180         preprocessor.  Test for each exception mask separately.
47182 2012-07-16  Andreas Jaeger  <aj@suse.de>
47184         * po/ru.po: Update from translation team.
47186 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47188         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47189         equal to 0.
47190         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47191         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47192         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47193         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47194         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47196 2012-07-13  Andreas Jaeger  <aj@suse.de>
47198         * po/fr.po: Update from translation team.
47200 2012-07-12  Marek Polacek  <polacek@redhat.com>
47202         [BZ #14173]
47203         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47204         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47205         loop condition.
47207 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47209         [BZ #13717]
47210         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47211         Change to 2.4.1 where previously 2.4.0.
47212         * sysdeps/unix/sysv/linux/configure: Regenerated.
47213         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47214         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47215         version.
47216         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47217         (__ASSUME_AT_CLKTCK): Remove.
47218         (__ASSUME_AT_PAGESIZE): Likewise.
47219         (__ASSUME_AT_XID): Likewise.
47220         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47221         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47222         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47223         unconditionally.
47224         (HAVE_AUX_PAGESIZE): Likewise.
47225         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47226         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47227         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47229 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47231         [BZ #14307]
47232         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47233         the temporary buffer used to invoke __gethostbyname2_r,
47234         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47235         host_data / struct gaih_addrtuple.
47236         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47237         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47238         header file nss/nsswitch.h.
47239         * nss/nsswitch.h (global scope): Add definition of implementation
47240         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47241         resolv/nss_dns/dns-host.c).
47243 2012-07-11  Andreas Jaeger  <aj@suse.de>
47245         * po/fr.po: Update from translation team.
47247         * po/sv.po: Update from translation team
47248         * po/fr.po: Another update from translation team.
47250 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47252         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47253         for subnormals or multiply small sinh result by itself.
47254         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47257 2012-07-11  David S. Miller  <davem@davemloft.net>
47259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47261 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47263         [BZ #14347]
47264         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47265         (INTERNAL_MARK): Shift it here.
47267 2012-07-10  Marek Polacek  <polacek@redhat.com>
47269         [BZ #14151]
47270         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47271         libc_cv_asm_global_directive with .globl.
47272         * configure: Regenerated.
47273         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47274         with .globl.
47275         * sysdeps/i386/configure: Regenerated.
47276         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47277         with .globl.
47278         * sysdeps/x86_64/configure: Regenerated.
47279         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47280         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47281         * elf/tst-unique2mod2.c: Likewise.
47282         * elf/tst-unique2mod1.c: Likewise.
47283         * elf/tst-unique1mod2.c: Likewise.
47284         * elf/tst-unique1mod1.c: Likewise.
47285         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47286         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47287         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47288         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47289         * sysdeps/mach/sysdep.h: Likewise.
47290         * sysdeps/i386/sysdep.h: Likewise.
47291         * sysdeps/i386/i386-mcount.S: Likewise.
47292         * sysdeps/x86_64/_mcount.S: Likewise.
47293         * sysdeps/x86_64/sysdep.h: Likewise.
47294         * sysdeps/sh/_mcount.S: Likewise.
47295         * sysdeps/sh/sysdep.h: Likewise.
47296         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47297         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47298         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47299         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47300         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47301         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47302         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47303         * locale/localeinfo.h: Likewise.
47304         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47305         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47307 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47309         [BZ #14336]
47310         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47311         system".
47312         * manual/message.texi (The Uniforum approach): Likewise.
47313         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47314         (glibc iconv Implementation): Likewise.
47316 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47318         [BZ #14337]
47319         * math/s_clog.c (__clog): Avoid scaling a value down where that
47320         could result in underflow.
47321         * math/s_clog10.c (__clog10): Likewise.
47322         * math/s_clog10f.c (__clog10f): Likewise.
47323         * math/s_clog10l.c (__clog10l): Likewise.
47324         * math/s_clogf.c (__clogf): Likewise.
47325         * math/s_clogl.c (__clogl): Likewise.
47326         * math/libm-test.inc (clog_test): Add more tests.
47327         (clog10_test): Likewise.
47328         * sysdeps/i386/fpu/libm-test-ulps: Update.
47329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47331 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47333         [BZ #14283]
47334         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47335         by 7 not 8 to examine high bit of fractional part.
47337         [BZ #14042]
47338         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47339         for call to __mcount_internal.
47340         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47341         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47342         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47344 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47346         [BZ #14154]
47347         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47348         approximation for values within 0x1p-13f of an odd multiple of
47349         pi/4.
47350         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47351         exception.  Add more tests.
47352         * sysdeps/i386/fpu/libm-test-ulps: Update.
47354         [BZ #6778]
47355         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47356         inputs and return -1 for them.  Do not check for +Inf in case not
47357         reachable for +Inf.
47358         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47359         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47360         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47361         and return -1 for them.  Do not check for +Inf in case not
47362         reachable for +Inf.
47363         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47364         define.
47365         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47366         and return -1 for them.  Do not check for +Inf in case not
47367         reachable for +Inf.
47368         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47369         spurious underflow.
47370         * sysdeps/i386/fpu/libm-test-ulps: Update.
47371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47373 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47375         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47377 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47379         [BZ #14157]
47380         [BZ #14331]
47381         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47382         could result in spurious underflow.  Scale down values above
47383         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47384         * math/s_csqrtf.c (__csqrtf): Likewise.
47385         * math/s_csqrtl.c (__csqrtl): Likewise.
47386         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47387         spurious underflow.
47388         * sysdeps/i386/fpu/libm-test-ulps: Update.
47389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47391 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47393         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47394         xopen-msg.sed.
47395         * catgets/xopen-msg.awk: New file.
47396         * catgets/xopen-msg.sed: Removed.
47398         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47399         po2text.sed.
47400         * intl/po2test.awk: New file.
47401         * intl/po2test.sed: Removed.
47403 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47405         [BZ #14328]
47406         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47407         or multiply small sinh result by itself.
47408         * math/s_ctanf.c (__ctanf): Likewise.
47409         * math/s_ctanh.c (__ctanh): Likewise.
47410         * math/s_ctanhf.c (__ctanhf): Likewise.
47411         * math/s_ctanhl.c (__ctanhl): Likewise.
47412         * math/s_ctanl.c (__ctanl): Likewise.
47413         * math/libm-test.inc (ctan_test_tonearest): New function.
47414         (ctan_test_towardzero): Likewise.
47415         (ctan_test_downward): Likewise.
47416         (ctan_test_upward): Likewise.
47417         (ctanh_test_tonearest): Likewise.
47418         (ctanh_test_towardzero): Likewise.
47419         (ctanh_test_downward): Likewise.
47420         (ctanh_test_upward): Likewise.
47421         (main): Call these new functions.
47422         * sysdeps/i386/fpu/libm-test-ulps: Update.
47423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47425 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47427         * .gitignore: Delete /ports entry.
47429 2012-07-03  Andreas Jaeger  <aj@suse.de>
47431         * po/bg.po: Update from translation team.
47432         * po/cs.po: Likewise.
47433         * po/de.po: Likewise.
47434         * po/hr.po: Likewise.
47435         * po/nl.pl: Likewise.
47436         * po/pl.po: Likewise.
47437         * po/vi.po: Likewise.
47439 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47441         * Makeconfig [!+link] (+link-before-libc): New variable.
47442         [!+link] (+link-after-libc): Likewise.
47443         [!+link] (+link-tests): Likewise.
47444         [!+link] (+link): Define in terms of $(+link-before-libc) and
47445         $(+link-after-libc).
47446         [!+link-static] (+link-static-before-libc): New variable.
47447         [!+link-static] (+link-static-after-libc): Likewise.
47448         [!+link-static] (+link-static-tests): Likewise.
47449         [!+link-static] (+link-static): Define in terms of
47450         $(+link-static-before-libc) and $(+link-static-after-libc).
47451         [build-shared] (link-libc-before-gnulib): New variable.
47452         [build-shared] (link-libc-tests): Likewise.
47453         [build-shared] (link-libc): Define in terms of
47454         $(link-libc-before-gnulib).
47455         [!build-shared] (link-libc-tests): New variable.
47456         (link-libc-static-tests): New variable.
47457         [!gnulib] (gnulib-arch): New variable.
47458         [!gnulib] (gnulib-tests): Likewise.
47459         [!gnulib] (static-gnulib-arch): Likewise.
47460         [!gnulib] (static-gnulib-tests): Likewise.
47461         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47462         Define with "=" instead of ":=".
47463         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47464         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47465         * Rules (binaries-all-notests): New variable.
47466         (binaries-all-tests): Likewise.
47467         (binaries-static-notests): Likewise.
47468         (binaries-static-tests): Likewise.
47469         (binaries-all): Define using $(binaries-all-notests) and
47470         $(binaries-all-tests).
47471         (binaries-static): Define using $(binaries-static-notests) and
47472         $(binaries-static-tests).
47473         (binaries-shared-tests): New variable.
47474         (binaries-shared-notests): Likewise.
47475         (binaries-shared): Remove variable.
47476         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47477         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47478         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47479         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47480         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47481         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47482         * elf/Makefile (sln-modules): New variable.
47483         (extra-objs): Add $(sln-modules:=.o).
47484         (ldconfig-modules): Add static-stubs.
47485         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47486         * elf/static-stubs.c: New file.
47488         [BZ #14283]
47489         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47490         by 7 not 8 to examine high bit of fractional part.  Use volatile
47491         variables when splitting into final array of floats if
47492         __FLT_EVAL_METHOD__ != 0.
47493         * math/libm-test.inc (cos_test): Add another test.
47494         (sin_test): Likewise.
47495         * sysdeps/i386/fpu/libm-test-ulps: Update.
47497         [BZ #14273]
47498         * math/libm-test.inc (cosh_test): Add more tests.
47500         * version.h (RELEASE): Set to "development".
47501         (VERSION): Set to "2.16.90".
47503 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47505         * NEWS: Update copyright. Remove last-updated date.
47506         Mention math library bug fixes and timezone data changes.
47507         * README: Mention GNU/Hurd, x32, and HPPA support status.
47509 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47511         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47513 2012-06-27  Andreas Jaeger  <aj@suse.de>
47515         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47517 2012-06-25  Andreas Jaeger  <aj@suse.de>
47519         * sysdeps/s390/fpu/libm-test-ulps: Update.
47521 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47522             Thomas Schwinge  <thomas@codesourcery.com>
47524         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47525         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47527         fanotify_mark.
47529 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47531         * sysdeps/mach/start.c: Remove file.
47532         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47533         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47534         * sysdeps/sh/init-first.c: Likewise.
47536         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47537         registers for frame unwinding purposes, add CFI directives.
47538         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47539         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47540         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47541         Likewise.
47543         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47544         __fortify_fail returning.
47545         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47547         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47548         sysdeps/sh/____longjmp_chk.S.
47549         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47550         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47551         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47552         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47554         * sysdeps/sh/abort-instr.h: New file.
47555         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47556         process in case exit returns.
47558         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47559         initialize the GOT register before use.
47561         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47562         calculation of ARGC > 4.
47564         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47565         meaningful names to some local labels.
47567 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47568             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47570         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47571         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47572         (__arch_compare_and_exchange_val_16_acq): Likewise.
47573         (__arch_compare_and_exchange_val_32_acq): Likewise.
47574         (atomic_exchange_and_add): Fix gUSA sequence.
47575         (atomic_add): Likewise.
47576         (atomic_add_negative): Likewise.
47577         (atomic_add_zero): Likewise.
47578         (atomic_bit_test_set): Likewise.
47580 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47582         [BZ #13579]
47583         * include/link.h (struct link_map): Add l_free_initfini.
47584         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47585         l_initfini.
47586         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47587         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47588         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47589         set.
47591 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47593         * configure.in: Use AC_LANG_SOURCE.
47594         * configure: Regenerate.
47596 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47598         * configure.in (libc_cv_localstatedir): New substituted variable.
47599         * configure: Regenerated.
47600         * config.make.in (localstatedir): New variable, substituted from
47601         libc_cv_localstatedir.
47602         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47603         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47604         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47605         * sysdeps/gnu/configure: Regenerated.
47607 2012-06-21  Jeff Law  <law@redhat.com>
47609         [BZ #14277]
47610         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47611         free.  Simplify list management for _LIBC case.
47613 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47615         [BZ #14273]
47616         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47617         Clear sign bit of 64-bit integer value before comparing against
47618         overflow value.
47620         * sysdeps/mach/configure: Regenerated.
47622 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47624         [BZ #14278]
47625         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47627 2012-06-21  Jeff Law  <law@redhat.com>
47629         [BZ #13882]
47630         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47631         uint16_t for elements in the "seen" array to avoid char overflows.
47632         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47633         * elf/dl-open.c (dl_open_worker): Likewise.
47635 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47637         * scripts/list-sources.sh: Scan PORTS for translations.
47638         * po/libc.pot: Regenerated.
47640 2012-06-21  Andreas Jaeger  <aj@suse.de>
47642         [BZ #12194]
47643         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47644         warning.
47645         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47646         * bits/byteswap-16.h (__bswap_16): Likewise.
47647         * bits/byteswap.h (__bswap_constant_16): Likewise.
47649 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47651         [BZ #14117]
47652         * sysdeps/i386/fpu_control.h: Removed.
47653         * sysdeps/x86_64/fpu_control.h: Moved to ...
47654         * sysdeps/x86/fpu_control.h: Here.
47656         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47657         (_FPU_SETCW): Likewise.
47659 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47661         [BZ #14117]
47662         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47663         * sysdeps/x86/fpu/bits/mathinline.h: This.
47664         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47666         [BZ #14050]
47667         [BZ #14117]
47668         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47669         functions if __x86_64__ is defined.
47671 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47673         * string/endian.h: Add !__ASSEMBLER__ condition for including
47674         conversion interfaces.
47676 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47678         [BZ #14241]
47679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47680         of ABS(x) in calculating zero to negative powers other than odd
47681         integers.
47682         * math/libm-test.inc (pow_test): Add more tests.
47684 2012-06-15  Andreas Jaeger  <aj@suse.de>
47686         * manual/contrib.texi (Contributors): Update entry of Liubov
47687         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47688         Machado Filho.
47690 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47692         * string/string.h: Add __wur to GNU version of strerror_r.
47694 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47696         [BZ #14229]
47697         * string/Makefile (tests): Add tst-strtok_r.
47698         * string/tst-strtok_r.c: New file.
47699         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47700         RAX_LP/RDX_LP on SAVE_PTR.
47702 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47704         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47706 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47708         * libm_test.inc (csqrt_test): Allow more spurious underflow
47709         exceptions.
47710         (j0_test): Likewise.
47711         (j1_test): Likewise.
47712         (y0_test): Likewise.
47713         (y1_test): Likewise.
47715 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47717         * po/Makefile (libc.pot): Use UTF-8 charset.
47719 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47721         [BZ #14210]
47722         Suppress sign-conversion warning from FD_SET.
47723         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47724         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47725         not unsigned long int.
47726         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47728 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47730         [BZ #14050]
47731         [BZ #14117]
47732         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47733         __extern_always_inline instead of __extern_inline.
47734         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47735         (__signbit): Likewise.
47736         (__signbitl): Support C++ namespace.
47737         (lrintf): New inline function.
47738         (lrint): Likewise.
47739         (llrintf): Likewise.
47740         (llrint): Likewise.
47741         (fmaxf): Likewise.
47742         (fmax): Likewise.
47743         (fminf): Likewise.
47744         (fmin): Likewise.
47745         (rint): Likewise.
47746         (rintf): Likewise.
47747         (ceil): Likewise.
47748         (ceilf): Likewise.
47749         (floor): Likewise.
47750         (floorf): Likewise.
47751         (nearbyint): Likewise.
47752         (nearbyintf): Likewise.
47754 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47756         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47757         non-default versions.
47759 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47761         [BZ #14218]
47762         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47764 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47766         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47767         (FE_UPWARD, FE_DOWNWARD): Don't define.
47768         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47769         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47771         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47772         reading it.
47773         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47774         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47776 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47778         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47779         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47780         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47781         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47783 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47785         [BZ #14117]
47786         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47787         * sysdeps/i386/fpu/Implies: New file.
47788         * sysdeps/x86_64/fpu/Implies: Likewise.
47789         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47790         * sysdeps/x86/fpu/bits/fenv.h: This.
47792         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47793         __SSE_MATH__.
47795 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47797         [BZ #14134]
47798         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47799         character 0xffff that matches the last element of the
47800         conversion table.
47802 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47804         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47805         fmodl commit.
47807 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47810         values higher than 25.6283.
47812 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47814         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47815         subnormal exponent extraction and add some __builtin_expect.
47816         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47817         Fix for subnormal mantissa calculation.
47819 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47821         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47822         cpu2 is -1 and errno is not ENOSYS.
47824 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47826         [BZ #14117]
47827         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47828         * sysdeps/x86/bits/string.h: This.
47829         * sysdeps/x86_64/bits/string.h: Removed.
47831         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47832         if not compiling for x86-64, but compiling for >= i486.
47834         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47835         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47837         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47838         New macro from Linux kernel 3.4.0.
47839         (FP_XSTATE_MAGIC2): Likewise.
47840         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47841         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47842         (struct _fpx_sw_bytes): New struct.
47843         (struct _xsave_hdr): Likewise.
47844         (struct _ymmh_state): Likewise.
47845         (struct _xstate): Likewise.
47847         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47848         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47849         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47850         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47851         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47852         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47854         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47855         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47856         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47857         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47858         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47859         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47861 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47863         [BZ #13743]
47864         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47865         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47866         (sysdep_headers): Include sys/platform/ppc.h.
47867         * sysdeps/powerpc/test-gettimebase.c: Test for
47868         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47869         * manual/Makefile (appendices): Include platform.texi.
47870         * manual/contrib.texi (Contributors): Update @node pointers.
47871         * manual/maint.texi (Maintenance): Likewise.
47872         (Platform): New node.
47873         * manual/platform.texi: New file.  Document the new features.
47875 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47876             Jakub Jelinek  <jakub@redhat.com>
47878         [BZ #14188]
47879         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47880         where __builtin_expect is unavailable.
47882 2012-06-03  David S. Miller  <davem@davemloft.net>
47884         * stdlib/longlong.h: Updated from GCC.
47886 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47888         [BZ #14042]
47889         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47890         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47891         __mcount_internal.
47892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47893         (GLIBC_2.16): Likewise.
47895 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47897         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47899 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47902         (default-abi): New variable.
47903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47904         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47905         variable.
47906         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47907         Likewise.
47908         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47909         Likewise.
47910         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47911         Likewise.
47913         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47914         definition.  Document in comment.
47916 2012-06-01  David S. Miller  <davem@davemloft.net>
47918         * stdlib/longlong.h: Updated from GCC.
47920 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47922         [BZ #14117]
47923         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47924         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47925         sys/debugreg.h sys/io.h here.
47926         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47927         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47928         sys/io.h.
47929         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47930         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47931         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47932         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47933         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47934         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47936         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47937         Define only if __x86_64__ is defined.
47939 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47941         [BZ #14048]
47942         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47943         Use int64_t for variable i.
47944         * math/libm-test.inc (fmod_test): Add more tests.
47946         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47947         z computation is not scheduled after fetestexcept.
47948         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47949         Use math_force_eval instead of asm to ensure calculation scheduled
47950         before exception test.
47951         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47952         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47954 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47957         computation is not scheduled after fetestexcept.
47959 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47961         [BZ #14117]
47962         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47963         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47965 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47967         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47968         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47970 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47972         [BZ #14117]
47973         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47974         <bits/wordsize.h>.
47975         (__WCHAR_MIN): Support __WORDSIZE == 64.
47976         (__WCHAR_MAX): Likewise.
47978         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47979         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47981         [BZ #14183]
47982         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47983         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47985         [BZ #14117]
47986         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47987         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47989         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47990         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47992         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47993         Defined to 1 if __x86_64__ isn't defined.
47994         (_STAT_VER_LINUX_OLD): New.
47995         (st_atime): Remove duplicate.
47996         (st_mtime): Likewise.
47997         (st_ctime): Likewise.
47999 2012-05-31  David S. Miller  <davem@davemloft.net>
48001         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48002         entries.
48004 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48006         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48007         gen-libm-test.pl.
48009         [BZ #14132]
48010         * elf/dl-reloc.c: Include <_itoa.h>.
48011         (_dl_reloc_bad_type): Remove use of INTUSE.
48012         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48013         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48014         * stdio-common/psiginfo.c (psiginfo): Likewise.
48015         * stdio-common/psignal.c (psignal): Likewise.
48016         * string/strsignal.c (strsignal): Likewise.
48017         * include/signal.h (_sys_siglist): Declare hidden proto.
48018         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48019         INTVARDEF with libc_hidden_data_def.
48020         * stdio-common/itoa-udigits.c: Likewise.
48021         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48022         (_itoa_lower_digits_internal): Remove declaration.
48023         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48024         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48025         (_sys_sigabbrev_internal): Remove aliases.
48026         (_sys_siglist): Define hidden alias.
48028 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48030         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48031         bits/sysctl.h.
48033 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48035         [BZ #14117]
48036         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48037         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48039         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48040         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48041         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48042         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48043         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48044         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48046         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48047         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48048         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48050         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48051         with __addr.
48052         (insw): Likewise.
48053         (insl): Likewise.
48054         (outsb): Likewise.
48055         (outsw): Likewise.
48056         (outsl): Likewise.
48058         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48059         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48060         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48062         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48063         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48065         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48066         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48067         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48069         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48070         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48072         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48073         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48075         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48076         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48077         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48079         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48080         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48081         to ...
48082         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48084         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48085         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48086         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48088         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48089         for x86-64.
48090         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48092 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48094         * math/math.h (M_El): Use two more decimal places.
48095         (M_LOG2El): Likewise.
48096         (M_LOG10El): Likewise.
48097         (M_LN2l): Likewise.
48098         (M_LN10l): Likewise.
48099         (M_PIl): Likewise.
48100         (M_PI_2l): Likewise.
48101         (M_PI_4l): Likewise.
48102         (M_1_PIl): Likewise.
48103         (M_2_PIl): Likewise.
48104         (M_2_SQRTPIl): Likewise.
48105         (M_SQRT2l): Likewise.
48106         (M_SQRT1_2l): Likewise.
48108 2012-05-31  David S. Miller  <davem@davemloft.net>
48110         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48111         values between float registers.
48112         * sysdeps/sparc/sparc64/memset.S: Likewise.
48113         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48115 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48117         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48118         -D_FORTIFY_SOURCE=1.
48119         (CPPFLAGS-tst-longjmp_chk.c): Define.
48120         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48121         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48122         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48123         CFLAGS-tst-wchar-h.c.
48125 2012-05-31  Marek Polacek  <polacek@redhat.com>
48127         [BZ #14132]
48128         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48129         __endmntent_internal): Remove declaration.
48130         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48131         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48132         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48134 2012-05-30  David S. Miller  <davem@davemloft.net>
48136         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48137         (___Q_simulate_exceptions): Use real FP ops rather than writing
48138         into the %fsr.
48139         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48140         Likewise.
48142 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48144         [BZ #14117]
48145         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48146         * sysdeps/x86/bits/xtitypes.h: This.
48148         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48149         * sysdeps/x86/bits/wordsize.h: This.
48151         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48152         * sysdeps/x86/bits/huge_vall.h: This.
48154         * sysdeps/i386/bits/select.h: Removed.
48155         * sysdeps/x86_64/bits/select.h: Renamed to ...
48156         * sysdeps/x86/bits/select.h: This.
48158         * sysdeps/i386/bits/setjmp.h: Removed.
48159         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48160         * sysdeps/x86/bits/setjmp.h: This.
48162         * sysdeps/i386/bits/mathdef.h: Removed.
48163         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48164         * sysdeps/x86/bits/mathdef.h: This.
48166 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48168         [BZ #14132]
48169         * include/sys/socket.h (__connect_internal)
48170         (__libc_sa_len_internal): Remove declaration.
48171         (__connect, __libc_sa_len): Declare hidden_proto.
48172         (SA_LEN): Remove use of INTUSE.
48173         * socket/connect.c: Add libc_hidden_def.
48174         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48175         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48176         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48177         alias.
48178         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48179         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48180         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48181         of adding _internal alias.
48183 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48185         [BZ #14117]
48186         * sysdeps/i386/bits/link.h: Removed.
48187         * sysdeps/i386/bits/linkmap.h: Likewise.
48188         * sysdeps/x86_64/bits/link.h: Renamed to ...
48189         * sysdeps/x86/bits/link.h: This.
48190         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48191         * sysdeps/x86/bits/linkmap.h: This.
48193         * sysdeps/i386/bits/endian.h: Removed.
48194         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48195         * sysdeps/x86/bits/endian.h: This.
48197         * sysdeps/i386/bits/byteswap.h: Removed.
48198         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48199         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48200         * sysdeps/x86/bits/byteswap.h: This.
48201         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48202         * sysdeps/x86/bits/byteswap-16.h: This.
48203         * sysdeps/i386/Implies: Add x86.
48204         * sysdeps/x86_64/Implies: Likewise.
48206 2012-05-30  David S. Miller  <davem@davemloft.net>
48208         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48209         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48210         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48211         (FP_TRAPPING_EXCEPTIONS): Define.
48212         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48213         (FP_TRAPPING_EXCEPTIONS): Define.
48214         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48215         subnormals only when inexact has been signalled or underflow
48216         exceptions are enabled.
48217         (_FP_PACK_CANONICAL): Likewise.
48219 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48221         [BZ #14183]
48222         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48223         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48225 2012-05-30  Richard Henderson  <rth@twiddle.net>
48227         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48228         with #ifndef NOT_IN_libc.
48230         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48231         marked to avoid plt entry.
48233 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48235         [BZ #14112]
48236         * Makeconfig (default-abi): New macro.
48237         (abi-includes): Likewise.
48238         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48239         $(abi-$(default-abi)-lib-soname) for soname if defined.
48240         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48241         abi-variants.
48242         * Makefile (installed-stubs): Likewise.
48243         * include/stubs-biarch.h: Removed.
48244         * scripts/lib-names.awk: Only handle one library at a time.
48245         * scripts/soversions.awk: Remove WORDSIZE support.
48246         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48247         entries.
48248         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48249         Removed.
48250         (syscall-list-default-condition): Likewise.
48251         (syscall-list-default-condition): Likewise.
48252         (syscall-list-includes): Likewise.
48253         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48254         syscall-list-* with abi-*.  Handle undefined abi-variants.
48255         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48256         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48257         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48258         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48259         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48260         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48261         Removed.
48262         (syscall-list-32-options): Likewise.
48263         (syscall-list-32-condition): Likewise.
48264         (syscall-list-64-options): Likewise.
48265         (syscall-list-64-condition): Likewise.
48266         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48267         macro.
48268         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48269         Renamed to ...
48270         (abi-*): This.
48271         (abi-64-ld-soname): New macro.
48272         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48273         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48274         Renamed to ...
48275         (abi-*): This.
48276         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48277         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48279 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48281         * sysdeps/unix/sysv/linux/kernel-features.h
48282         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48283         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48284         include <kernel-features.h>.
48285         [!__NR_ftruncate64]: Remove conditional code.
48286         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48287         [__NR_ftruncate64]: Make code unconditional.
48288         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48289         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48290         include <kernel-features.h>.
48291         [!__NR_ftruncate64]: Remove conditional code.
48292         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48293         [__NR_ftruncate64]: Make code unconditional.
48294         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48296         include <kernel-features.h>.
48297         [!__NR_ftruncate64]: Remove conditional code.
48298         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48299         [__NR_ftruncate64]: Make code unconditional.
48300         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48302         include <kernel-features.h>.
48303         [!__NR_ftruncate64]: Remove conditional code.
48304         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48305         [__NR_ftruncate64]: Make code unconditional.
48306         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48308         * configure.in (libc_cv_fpie): Weaken to a compile test using
48309         LIBC_TRY_CC_OPTION.
48310         * configure: Regenerated.
48312 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48318         Refreshed.
48319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48325         Refreshed.
48327 2012-05-27  David S. Miller  <davem@davemloft.net>
48329         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48330         (___Q_zero): New.
48331         (__Q_simulate_exceptions): Return void.  Change to simulate
48332         exceptions by writing into the %fsr.
48333         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48334         (__Qp_handle_exceptions): Likewise.
48335         (numbers): Delete.
48336         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48337         __Qp_handle_exceptions.
48338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48339         __Qp_handle_exceptions.
48340         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48341         as unused and give dummy FP_RND_NEAREST initializer.
48342         (FP_INHIBIT_RESULTS): Define.
48343         (___Q_simulate_exceptions): Update declaration.
48344         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48345         formatting.
48346         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48347         as unused and give dummy FP_RND_NEAREST initializer.
48348         (__Qp_handle_exceptions): Update declaration.
48349         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48350         formatting.
48352 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48354         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48355         the temporary FPU control word.
48356         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48357         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48358         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48359         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48360         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48361         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48362         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48363         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48364         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48365         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48366         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48368 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48370         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48371         fields.
48373 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48375         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48376         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48377         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48378         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48379         Likewise.
48380         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48381         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48382         Likewise.
48384 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48386         * po/h.po: Update from translation team.
48388 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48390         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48392         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48393         handling of denormals.
48394         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48395         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48396         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48397         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48398         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48399         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48401         Likewise.
48403 2012-05-26  Marek Polacek  <polacek@redhat.com>
48405         [BZ #14152]
48406         * math/libm-test.inc (fma_test): Don't always expect underflow
48407         exception.
48409 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48411         [BZ #12416]
48412         * elf/tst-execstack.c: Include stackinfo.h.
48413         (do_test): Adjust test case to ensure that pthread_getattr_np
48414         behaviour remains the same after marking stack executable.
48416 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48418         * sysdeps/unix/sysv/linux/kernel-features.h
48419         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48420         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48421         kernel-features.h.
48422         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48423         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48424         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48425         kernel-features.h.
48426         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48427         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48429 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48431         * configure.in: Define the default includes to being none.
48432         * configure: Regenerated.
48434 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48436         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48437         * sysdeps/x86_64/setjmp.S: Likewise.
48438         * sysdeps/i386/bsd-setjmp.S: Likewise.
48439         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48440         * sysdeps/i386/setjmp.S: Likewise.
48441         * sysdeps/i386/__longjmp.S: Likewise.
48442         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48443         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48445         * include/stap-probe.h: New file.
48446         * configure.in: Handle --enable-systemtap.
48447         * configure: Regenerated.
48448         * config.h.in (USE_STAP_PROBE): New #undef.
48449         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48450         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48451         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48453 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48455         [BZ #13717]
48456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48457         to 2.4.0 where earlier.
48458         * sysdeps/unix/sysv/linux/configure: Regenerated.
48459         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48460         <kernel-features.h>.
48461         [__ASSUME_32BITUIDS]: Make code unconditional.
48462         [!__ASSUME_32BITUIDS]: Remove conditional code.
48463         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48464         <kernel-features.h>.
48465         [__ASSUME_32BITUIDS]: Make code unconditional.
48466         [!__ASSUME_32BITUIDS]: Remove conditional code.
48467         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48468         [__ASSUME_32BITUIDS]: Make code unconditional.
48469         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48470         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48471         <kernel-features.h>.
48472         [__ASSUME_32BITUIDS]: Make code unconditional.
48473         [!__ASSUME_32BITUIDS]: Remove conditional code.
48474         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48475         <kernel-features.h>.
48476         [__ASSUME_32BITUIDS]: Make code unconditional.
48477         [!__ASSUME_32BITUIDS]: Remove conditional code.
48478         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48479         <kernel-features.h>.
48480         [__ASSUME_32BITUIDS]: Make code unconditional.
48481         [!__ASSUME_32BITUIDS]: Remove conditional code.
48482         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48483         <kernel-features.h>.
48484         [__ASSUME_32BITUIDS]: Make code unconditional.
48485         [!__ASSUME_32BITUIDS]: Remove conditional code.
48486         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48487         <kernel-features.h>.
48488         [__ASSUME_32BITUIDS]: Make code unconditional.
48489         [!__ASSUME_32BITUIDS]: Remove conditional code.
48490         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48491         <kernel-features.h>.
48492         [__ASSUME_32BITUIDS]: Make code unconditional.
48493         [!__ASSUME_32BITUIDS]: Remove conditional code.
48494         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48495         <kernel-features.h>.
48496         [__ASSUME_32BITUIDS]: Make code unconditional.
48497         [!__ASSUME_32BITUIDS]: Remove conditional code.
48498         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48499         <kernel-features.h>.
48500         [__ASSUME_32BITUIDS]: Make code unconditional.
48501         [!__ASSUME_32BITUIDS]: Remove conditional code.
48502         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48503         <kernel-features.h>.
48504         [__ASSUME_32BITUIDS]: Make code unconditional.
48505         [!__ASSUME_32BITUIDS]: Remove conditional code.
48506         * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
48511         <kernel-features.h>.
48512         [__NR_setresgid] (__setresgid): Do not declare.
48513         [__ASSUME_32BITUIDS]: Make code unconditional.
48514         [!__ASSUME_32BITUIDS]: Remove conditional code.
48515         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48516         <kernel-features.h>.
48517         [__NR_setresuid] (__setresuid): Do not declare.
48518         [__ASSUME_32BITUIDS]: Make code unconditional.
48519         [!__ASSUME_32BITUIDS]: Remove conditional code.
48520         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48521         <kernel-features.h>.
48522         [__ASSUME_32BITUIDS]: Make code unconditional.
48523         [!__ASSUME_32BITUIDS]: Remove conditional code.
48524         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48525         <kernel-features.h>.
48526         [__ASSUME_32BITUIDS]: Make code unconditional.
48527         [!__ASSUME_32BITUIDS]: Remove conditional code.
48528         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48529         <kernel-features.h>.
48530         [__ASSUME_32BITUIDS]: Make code unconditional.
48531         [!__ASSUME_32BITUIDS]: Remove conditional code.
48532         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48533         <kernel-features.h>.
48534         [__ASSUME_32BITUIDS]: Make code unconditional.
48535         [!__ASSUME_32BITUIDS]: Remove conditional code.
48536         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48537         <kernel-features.h>.
48538         [__ASSUME_32BITUIDS]: Make code unconditional.
48539         [!__ASSUME_32BITUIDS]: Remove conditional code.
48540         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48541         <kernel-features.h>.
48542         [__ASSUME_32BITUIDS]: Make code unconditional.
48543         [!__ASSUME_32BITUIDS]: Remove conditional code.
48544         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48545         <kernel-features.h>.
48546         [__ASSUME_32BITUIDS]: Make code unconditional.
48547         [!__ASSUME_32BITUIDS]: Remove conditional code.
48548         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48549         <kernel-features.h>.
48550         [__ASSUME_32BITUIDS]: Make code unconditional.
48551         [!__ASSUME_32BITUIDS]: Remove conditional code.
48552         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48553         <kernel-features.h>.
48554         [__ASSUME_32BITUIDS]: Make code unconditional.
48555         [!__ASSUME_32BITUIDS]: Remove conditional code.
48556         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
48561         (__ASSUME_SETRESUID_SYSCALL): Remove.
48562         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48563         (__ASSUME_32BITUIDS): Likewise.
48564         (__ASSUME_LDT_WORKS): Likewise.
48565         (__ASSUME_O_DIRECTORY): Likewise.
48566         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48567         architecture but not kernel version.
48568         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48569         (__ASSUME_MMAP2_SYSCALL): Likewise.
48570         (__ASSUME_STAT64_SYSCALL): Likewise.
48571         (__ASSUME_IPC64): Likewise.
48572         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48573         <kernel-features.h>.
48574         [__ASSUME_32BITUIDS]: Make code unconditional.
48575         [!__ASSUME_32BITUIDS]: Remove conditional code.
48576         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48577         <kernel-features.h>.
48578         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48579         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48580         132096]: Remove conditional code.
48581         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48582         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48583         <kernel-features.h>.
48584         [__ASSUME_32BITUIDS]: Make code unconditional.
48585         [!__ASSUME_32BITUIDS]: Remove conditional code.
48586         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48587         <kernel-features.h>.
48588         [__ASSUME_32BITUIDS]: Make code unconditional.
48589         [!__ASSUME_32BITUIDS]: Remove conditional code.
48590         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48591         <kernel-features.h>.
48592         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48593         unconditional.
48594         (__setresgid): Do not declare.
48595         [__ASSUME_32BITUIDS]: Make code unconditional.
48596         [!__ASSUME_32BITUIDS]: Remove conditional code.
48597         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48598         <kernel-features.h>.
48599         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48600         unconditional.
48601         (__setresuid): Do not declare.
48602         [__ASSUME_32BITUIDS]: Make code unconditional.
48603         [!__ASSUME_32BITUIDS]: Remove conditional code.
48604         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48605         <kernel-features.h>.
48606         [__ASSUME_32BITUIDS]: Make code unconditional.
48607         [!__ASSUME_32BITUIDS]: Remove conditional code.
48608         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48609         <kernel-features.h>.
48610         [__ASSUME_32BITUIDS]: Make code unconditional.
48611         [!__ASSUME_32BITUIDS]: Remove conditional code.
48613 2012-05-25  Richard Henderson  <rth@twiddle.net>
48615         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48616         dl_hwcap to ifunc resolver.
48617         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48618         elf_ifunc_invoke.
48619         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48620         dl_hwcap to ifunc resolver.
48621         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48623 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48625         [BZ #14153]
48626         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48627         for |x| <= 2**-26, not 2**-57.
48628         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48629         exception.
48631 2012-05-24  Jeff Law  <law@redhat.com>
48633         * stdio-common/Makefile (tests): Add bug25.
48634         * stdio-common/bug25.c: New test.
48636 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48638         [BZ #13576]
48639         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48640         multiple of MALLOC_ALIGNMENT in size.
48641         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48643 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48645         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48646         Require >= 256.
48647         (FILENAME_MAX): Use macro-int-constant.
48648         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48649         (_IOFBF): Use macro-int-constant.
48650         (_IOLBF): Likewise.
48651         (_IONBF): Likewise.
48652         (SEEK_CUR): Likewise.
48653         (SEEK_END): Likewise.
48654         (SEEK_SET): Likewise.
48655         (TMP_MAX): Likewise.
48656         (EOF): Use macro-int-constant.  Require < 0.
48657         (NULL): Use macro-constant.  Require == 0.
48658         (stdin): Require type to be FILE *.
48659         (stdout): Likewise.
48660         (stderr): Likewise.
48661         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48662         macro-int-constant.
48663         (EXIT_SUCCESS): Likewise.
48664         (NULL): Use macro-constant.  Require == 0.
48665         (RAND_MAX): Use macro-int-constant.
48666         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48667         [C99-based standards] (strtof): Require function.
48668         [C99-based standards] (strtold): Likewise.
48669         [C99-based standards] (strtoll): Likewise.
48670         [C99-based standards] (strtoull): Likewise.
48671         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48672         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48673         [ISO || ISO99 || ISO11] (math.h): Likewise.
48674         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48675         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48676         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48678 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48680         [BZ #14132]
48681         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48682         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48683         * intl/dgettext.c (DCGETTEXT): Likewise.
48684         * intl/gettext.c (DCGETTEXT): Likewise.
48685         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48686         * posix/regex_internal.h (gettext): Likewise.
48687         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48688         Remove declaration.
48689         * include/argz.h (__argz_count_internal)
48690         (__argz_stringify_internal): Remove declaration.
48691         (__argz_count, __argz_stringify): Declare hidden proto.
48692         * intl/dcgettext.c: Remove use of INTDEF.
48693         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48694         * string/argz-stringify.c: Likewise.
48695         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48696         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48697         Declare hidden proto.
48698         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48699         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48700         Declare hidden proto.
48701         * include/stdio.h (__asprintf_internal): Don't declare.
48702         (__asprintf): Don't define as macro.  Declare hidden proto.
48703         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48704         (__fsetlocking): Declare hidden proto.
48705         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48706         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48707         hidden proto.
48708         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48709         (_IO_setlinebuf): Remove use of INTUSE.
48710         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48711         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48712         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48713         Remove declaration.
48714         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48715         (_IO_do_flush): Remove use of INTUSE.
48716         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48717         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48718         (_IO_adjust_column, _IO_least_wmarker)
48719         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48720         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48721         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48722         (_IO_default_doallocate, _IO_wdefault_doallocate)
48723         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48724         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48725         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48726         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48727         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48728         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48729         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48730         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48731         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48732         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48733         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48734         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48735         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48736         proto.
48737         (_IO_flush_all_internal, _IO_adjust_column_internal)
48738         (_IO_default_uflow_internal, _IO_default_finish_internal)
48739         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48740         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48741         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48742         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48743         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48744         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48745         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48746         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48747         (_IO_file_close_internal, _IO_file_close_it_internal)
48748         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48749         (_IO_file_init_internal, _IO_file_attach_internal)
48750         (_IO_file_fopen_internal, _IO_file_read_internal)
48751         (_IO_file_sync_internal, _IO_file_seek_internal)
48752         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48753         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48754         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48755         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48756         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48757         (_IO_list_all_internal, _IO_link_in_internal)
48758         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48759         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48760         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48761         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48762         (_IO_do_write_internal, _IO_padn_internal)
48763         (_IO_getline_info_internal, _IO_getline_internal)
48764         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48765         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48766         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48767         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48768         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48769         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48770         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48771         with libc_hidden_ver, remove use of INTUSE.
48772         * libio/genops.c: Likewise.
48773         * libio/freopen.c: Likewise.
48774         * libio/freopen64.c: Likewise.
48775         * libio/iofclose.c: Likewise.
48776         * libio/iofdopen.c: Likewise.
48777         * libio/iofflush.c: Likewise.
48778         * libio/iofflush_u.c: Likewise.
48779         * libio/iofgets.c: Likewise.
48780         * libio/iofgets_u.c: Likewise.
48781         * libio/iofopen.c: Likewise.
48782         * libio/iofopncook.c: Likewise.
48783         * libio/iofread.c: Likewise.
48784         * libio/iofread_u.c: Likewise.
48785         * libio/ioftell.c: Likewise.
48786         * libio/iofwrite.c: Likewise.
48787         * libio/iogetline.c: Likewise.
48788         * libio/iogets.c: Likewise.
48789         * libio/iogetwline.c: Likewise.
48790         * libio/iopadn.c: Likewise.
48791         * libio/iopopen.c: Likewise.
48792         * libio/ioseekoff.c: Likewise.
48793         * libio/ioseekpos.c: Likewise.
48794         * libio/iosetbuffer.c: Likewise.
48795         * libio/iosetvbuf.c: Likewise.
48796         * libio/ioungetc.c: Likewise.
48797         * libio/ioungetwc.c: Likewise.
48798         * libio/iovdprintf.c: Likewise.
48799         * libio/iovsprintf.c: Likewise.
48800         * libio/iovsscanf.c: Likewise.
48801         * libio/memstream.c: Likewise.
48802         * libio/obprintf.c: Likewise.
48803         * libio/oldfileops.c: Likewise.
48804         * libio/oldiofclose.c: Likewise.
48805         * libio/oldiofdopen.c: Likewise.
48806         * libio/oldiofopen.c: Likewise.
48807         * libio/oldiopopen.c: Likewise.
48808         * libio/oldstdfiles.c: Likewise.
48809         * libio/putc.c: Likewise.
48810         * libio/setbuf.c: Likewise.
48811         * libio/setlinebuf.c: Likewise.
48812         * libio/stdfiles.c: Likewise.
48813         * libio/strops.c: Likewise.
48814         * libio/vasprintf.c: Likewise.
48815         * libio/vscanf.c: Likewise.
48816         * libio/vsnprintf.c: Likewise.
48817         * libio/vswprintf.c: Likewise.
48818         * libio/wfiledoalloc.c: Likewise.
48819         * libio/wfileops.c: Likewise.
48820         * libio/wgenops.c: Likewise.
48821         * libio/wmemstream.c: Likewise.
48822         * libio/wstrops.c: Likewise.
48823         * libio/__fpurge.c: Likewise.
48824         * libio/__fsetlocking.c: Likewise.
48825         * assert/assert.c: Likewise.
48826         * debug/fgets_chk.c: Likewise.
48827         * debug/fgets_u_chk.c: Likewise.
48828         * debug/fread_chk.c: Likewise.
48829         * debug/fread_u_chk.c: Likewise.
48830         * debug/gets_chk.c: Likewise.
48831         * debug/obprintf_chk.c: Likewise.
48832         * debug/vasprintf_chk.c: Likewise.
48833         * debug/vdprintf_chk.c: Likewise.
48834         * debug/vsnprintf_chk.c: Likewise.
48835         * debug/vsprintf_chk.c: Likewise.
48836         * malloc/mtrace.c: Likewise.
48837         * misc/error.c: Likewise.
48838         * misc/syslog.c: Likewise.
48839         * stdio-common/asprintf.c: Likewise.
48840         * stdio-common/fxprintf.c: Likewise.
48841         * stdio-common/getw.c: Likewise.
48842         * stdio-common/isoc99_fscanf.c: Likewise.
48843         * stdio-common/isoc99_scanf.c: Likewise.
48844         * stdio-common/isoc99_vfscanf.c: Likewise.
48845         * stdio-common/isoc99_vscanf.c: Likewise.
48846         * stdio-common/isoc99_vsscanf.c: Likewise.
48847         * stdio-common/printf-prs.c: Likewise.
48848         * stdio-common/printf_fp.c: Likewise.
48849         * stdio-common/printf_fphex.c: Likewise.
48850         * stdio-common/printf_size.c: Likewise.
48851         * stdio-common/putw.c: Likewise.
48852         * stdio-common/scanf.c: Likewise.
48853         * stdio-common/sprintf.c: Likewise.
48854         * stdio-common/tmpfile.c: Likewise.
48855         * stdio-common/vfprintf.c: Likewise.
48856         * stdio-common/vfscanf.c: Likewise.
48857         * stdlib/strfmon_l.c: Likewise.
48858         * sunrpc/openchild.c: Likewise.
48859         * sunrpc/xdr_stdio.c: Likewise.
48860         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48861         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48863 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48865         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48867         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48868         in the third column, to generate for the shared library an IFUNC
48869         that uses _dl_vdso_vsym.
48870         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48871         * Makeconfig (object-suffixes-noshared): New variable.
48873         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48874         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48875         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48876         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48878         [BZ #14132]
48879         * include/sys/time.h (__gettimeofday): Remove macro.
48880         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48881         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48882         Remove INTDEF.
48883         (__gettimeofday): Add libc_hidden_def.
48884         (gettimeofday): Add libc_hidden_weak.
48885         * sysdeps/mach/gettimeofday.c: Likewise.
48886         * sysdeps/posix/gettimeofday.c: Likewise.
48887         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48888         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48889         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48890         (__gettimeofday_internal): Remove strong_alias.
48891         (__gettimeofday): Add libc_hidden_def.
48892         (gettimeofday): Add libc_hidden_weak.
48893         * sysdeps/unix/syscalls.list (gettimeofday):
48894         Remove __gettimeofday_internal alias.
48896 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48897             H.J. Lu  <hongjiu.lu@intel.com>
48899         [BZ #12495]
48900         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48901         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48902         (largebin_index_32_big): New.
48903         (largebin_index): Use it for 16-byte alignment.
48904         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48905         correction with front_misalign.
48907 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48911         Likewise.
48912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48913         Likewise.
48914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48915         Likewise.
48916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48917         Likewise.
48918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48919         Likewise.
48920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48921         Likewise.
48922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48923         Likewise.
48924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48925         Likewise.
48926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48927         Likewise.
48928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48929         Likewise.
48930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48931         Likewise.
48932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48933         Likewise.
48935         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48936         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48938 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48940         [BZ #10846]
48941         [BZ #14036]
48942         * math/libm-test.inc (exp_test): Add test from bug 14036.
48943         (pow_test): Add test from bug 10846.
48945         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48946         and other flags.
48947         (special_function): Do not include flags in test name.
48948         (parse_args): Likewise.
48949         * sysdeps/i386/fpu/libm-test-ulps: Update.
48950         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48951         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48952         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48955         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48956         exceptions.
48957         * math/libm-test.inc ("Philosophy"): Update comment about
48958         exception testing.
48959         (UNDERFLOW_EXCEPTION): New macro.
48960         (UNDERFLOW_EXCEPTION_OK): Likewise.
48961         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48962         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48963         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48964         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48965         (INVALID_EXCEPTION_OK): Update value.
48966         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48967         (OVERFLOW_EXCEPTION_OK): Likewise.
48968         (IGNORE_ZERO_INF_SIGN): Likewise.
48969         (test_exceptions): Handle underflow exceptions.
48970         (acos_test): Update for underflow exception expectations.
48971         (cexp_test): Likewise.
48972         (clog_test): Likewise.
48973         (clog10_test): Likewise.
48974         (csqrt_test): Likewise.
48975         (ctan_test): Likewise.
48976         (ctanh_test): Likewise.
48977         (exp_test): Likewise.
48978         (exp10_test): Likewise.
48979         (exp2_test): Likewise.
48980         (expm1_test): Likewise.
48981         (fma_test): Likewise.
48982         (j0_test): Likewise.
48983         (jn_test): Likewise.
48984         (nexttoward_test): Likewise.
48985         (pow_test): Likewise.
48986         (scalbn_test): Likewise.
48987         (scalbln_test): Likewise.
48988         (tan_test): Likewise.
48989         (y1_test): Likewise.
48990         * sysdeps/i386/fpu/libm-test-ulps: Update.
48991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48993 2012-05-23  David S. Miller  <davem@davemloft.net>
48995         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48996         (__libc_sigaction): Remove unused local variables.
48998 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49000         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49002 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49004         mktime: avoid signed integer overflow
49005         * time/mktime.c (__mktime_internal): Do not mishandle the case
49006         where diff == INT_MIN.
49008         mktime: simplify computation of average
49009         * time/mktime.c (ranged_convert): Use new time_t_avg function
49010         instead of rolling our own (probably-slower) code.
49012         mktime: do not assume signed right shift propagates sign bit
49013         * time/mktime.c (isdst_differ): New static function.
49014         (__mktime_internal): No need to normalize tm_isdst now.
49015         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49016         tm_isdst values.
49018         mktime: merge another wrapv change from gnulib
49019         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49020         from some compilers.
49022         mktime: remove incorrect attempt at unusual arithmetics
49023         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49024         The code didn't really work on such machines anyway.
49025         (TYPE_MINIMUM): Assume two's complement.
49026         (twos_complement_arithmetic): Verify that long_int and time_t
49027         are two's complement (or unsigned, in the latter case).
49029         mktime: check signed shifts on long_int and time_t, too
49030         * time/mktime.c (SHR): Check that shifts work as desired
49031         on the types long_int and time_t too, as SHR is used on
49032         such types.
49034         mktime: do not assume 'long' is wide enough
49035         * time/mktime.c (verify): Move decl up.
49036         (long_int): New type.
49037         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49038         to remove assumption in the code that 'long' is wide enough to
49039         store year values.  This assumption is not true on x32 and on
49040         some non-glibc platforms.
49042         mktime: merge wrapv change from gnulib
49043         * time/mktime.c (WRAPV): New macro.
49044         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49045         (guess_time_tm, __mktime_internal): Do not assume that signed
49046         integer overflow wraps around; modern compilers generate code
49047         where this assumption is no longer valid.
49049 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49051         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49052         Replace "jmp L(pseudo_end)" with "ret".
49053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49054         Likewise.
49056 2012-05-23  Andreas Jaeger  <aj@suse.de>
49058         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49059         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49061 2012-05-23  Andreas Jaeger  <aj@suse.de>
49062             Maximilian Attems  <max@stro.at>
49064         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49065         New macros.
49067 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49069         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49070         code so that pseudo_end is just ret and the stack pointer is
49071         correct also for static library in error case.
49073 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49075         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49076         move to syscalls.list.
49077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49082         * manual/install.texi (Running make install): Do not mention Linux
49083         kernel version for which pt_chown is not needed.
49084         (Linux): Do not mention problems with nscd with 2.0 kernels.
49085         * INSTALL: Regenerated.
49087 2012-05-23  Andreas Jaeger  <aj@suse.de>
49089         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49090         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49091         macro.
49092         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49093         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49094         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49095         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49096         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49097         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49098         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49099         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49100         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49101         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49102         * sysdeps/unix/sysv/linux/bits/in.h
49103         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49105 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49107         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49108         (PREPARE_VERSION): Just use assert instead, it will be elided
49109         under [NDEBUG] anyway.
49111 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49113         * sysdeps/unix/sysv/linux/Makefile: Include
49114         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49115         (sysdep_routines): Remove sysctl.
49116         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49117         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49118         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49119         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49120         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49122 2012-05-22  Andreas Jaeger  <aj@suse.de>
49124         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49125         that pseudo_end is just ret and the stack pointer is correct also
49126         for static library in error case.
49128 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49130         [BZ #14122]
49131         * nss/nsswitch.c (defconfig_entries): New variable.
49132         (__nss_database_lookup): Don't leak defconfig entries.
49133         (nss_parse_service_list): Don't leak on error paths.
49134         (free_database_entries): New function.
49135         (free_defconfig): New function.
49136         (free_mem): Move common code to free_database_entries.
49138 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49140         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49141         Add arch_prctl.
49142         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49144         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49145         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49147         New macro.
49148         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49149         (INTERNAL_SYSCALL_TYPES): Likewise.
49150         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49151         (LOAD_REGS_TYPES_[1-6]): Likewise.
49152         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49153         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49155 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49157         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49158         copysignl for GLIBC_2_0.
49159         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49160         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49161         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49162         logbl for GLIBC_2_0.
49163         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49164         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49166 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49168         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49169         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49171         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49172         Use "neg %eax".
49174         * time/mktime.c: Update copyright years.
49176 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49178         mktime: merge comment-quoting-style change from gnulib
49179         * time/mktime.c: Quote 'like this' in comments.
49180         The GNU coding standards suggest that we no longer quote `like this',
49181         as "`" and "'" are typically rendered asymmetrically nowadays.
49182         The typical gnulib style is to quote 'like this' when quoting
49183         code, and "like this" when quoting English.
49185         * time/mktime.c (compile-command): Add "-I.".
49187         mktime: merge mktime-internal.h change from gnulib
49188         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49190         mktime: merge time_r change from gnulib
49191         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49193         mktime: merge DEBUG change from gnulib
49194         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49195         case system <time.h> has a #define.
49197         mktime: merge <sys/types.h> change from gnulib
49198         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49199         since <time.t> is now guaranteed to define time_t.
49201         mktime: merge HAVE_CONFIG_H change from gnulib
49202         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49204 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49207         Use "neg %eax".
49209         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49210         __rlim_t cast.
49211         (struct rusage): Use anonymous union to pad each field to
49212         __syscall_slong_t.
49214 2012-05-21  David S. Miller  <davem@davemloft.net>
49216         * Makefules (o-iterator): Remove .s cases.
49217         (compile-command.s): Delete.
49218         (COMPILE.s): Delete.
49219         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49221 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49223         * configure.in (libc_cv_predef_stack_protector): Only consider
49224         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49225         * configure: Regenerated.
49227 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49230         New macro.  Use R*LP on int and pointer.
49231         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49232         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49233         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49234         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49236         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49237         [__WORDSIZE_TIME64_COMPAT32] instead of
49238         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49239         (struct utmp): Likewise.
49240         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49241         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49242         Renamed to ...
49243         (__WORDSIZE_TIME64_COMPAT32): This.
49244         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49245         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49246         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49247         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49248         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49249         (__WORDSIZE_TIME64_COMPAT32): New macro.
49251 2012-05-21  Andreas Jaeger  <aj@suse.de>
49253         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49254         only if [SHARED]. Add prototype for __wcschr_ia32.
49256 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49258         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49259         of %rbp unmolested in the jmp_buf while mangling the low bits.
49260         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49261         unmolested high bits of %rbp while demangling the low bits.
49262         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49264 2012-05-21  Andreas Jaeger  <aj@suse.de>
49266         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49267         * sunrpc/svc_simple.c: Use it for registerrpc.
49268         * sunrpc/xcrypt.c: Use it for passwd2des.
49270         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49272 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49274         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49275         Don't define if [__SYSCALL_WORDSIZE != 32].
49276         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49277         New macro.
49279 2012-05-21  Bruno Haible  <bruno@clisp.org>
49280             Andreas Jaeger  <aj@suse.de>
49282         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49283         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49284         inptr and inend for must_buffer_ch.
49285         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49286         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49287         * stdio-common/Makefile (tests): Remove bug15.
49288         (bug15-ENV): Remove macro.
49289         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49290         anymore.
49292 2012-05-19  Andreas Jaeger  <aj@suse.de>
49293             Roland McGrath  <roland@hack.frob.com>
49295         * manual/contrib.texi: Completely rewritten. It contains now an
49296         alphabetical list of contributors and their contributions.
49298 2012-05-21  Richard Henderson  <rth@twiddle.net>
49300         * misc/getauxval.c (__getauxval): Use unsigned long int.
49301         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49302         (getauxval): Use unsigned long int.
49304 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49306         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49308 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49310         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49311         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49312         __alignof__ (long double).
49314 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49318 2012-05-20  Richard Henderson  <rth@twiddle.net>
49320         * misc/getauxval.c: New file.
49321         * misc/sys/auxv.h: New file.
49322         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49323         (routines): Add getauxval.
49324         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49325         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49326         * elf/dl-sysdep.c (_dl_auxv): Remove.
49327         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49328         * elf/dl-support.c (_dl_auxv): New variable.
49329         (_dl_aux_init): Initialize it.
49330         * manual/startup.texi (Auxiliary Vector): New node.
49331         * sysdeps/generic/bits/hwcap.h: New file.
49332         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49333         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49334         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49335         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49336         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49337         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49339         Update.
49340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49343         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49349 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49353 2012-05-19  David S. Miller  <davem@davemloft.net>
49355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49357 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49359         [BZ #14123]
49360         * math/s_ccosh.c: Include <float.h>
49361         (__ccosh): Avoid internal overflow calculating sinh and cosh
49362         values before multiplying by sin and cos values.
49363         * math/s_ccoshf.c: Likewise.
49364         * math/s_ccoshl.c: Likewise.
49365         * math/s_csin.c: Likewise.
49366         * math/s_csinf.c: Likewise.
49367         * math/s_csinl.c: Likewise.
49368         * math/s_csinh.c: Likewise.
49369         * math/s_csinhf.c: Likewise.
49370         * math/s_csinhl.c: Likewise.
49371         * math/libm-test.inc (ccos_test): Add more tests.
49372         (ccosh_test): Likewise.
49373         (csin_test): Likewise.
49374         (csinh_test): Likewise.
49375         * sysdeps/i386/fpu/libm-test-ulps: Update.
49376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49378 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49380         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49381         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49383         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49385 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49387         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49388         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49389         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49390         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49391         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49392         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49393         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49394         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49395         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49396         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49397         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49398         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49399         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49400         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49401         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49402         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49403         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49404         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49405         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49406         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49407         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49408         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49409         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49410         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49411         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49412         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49413         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49414         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49415         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49416         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49417         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49419 2012-05-18  Andreas Jaeger  <aj@suse.de>
49421         * csu/.gitignore: Delete.
49423 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49425         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49426         (timex): Use __syscall_slong_t.
49428 2012-05-18  Andreas Jaeger  <aj@suse.de>
49429             Carlos O'Donell  <carlos_odonell@mentor.com>
49431         * manual/install.texi (Configuring and compiling): Update
49432         description about files modified in the source directory.
49433         * INSTALL: Regenerated.
49435 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49437         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49438         value.  Use "or" to set return value to -1.
49439         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49440         negate return value.
49442 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49444         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49445         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49446         failure if the compiler has Graphite support disabled.
49447         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49448         Likewise.
49449         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49450         (CFLAGS-memmove.c): Likewise.
49451         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49452         Likewise.
49454 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49456         * sysdeps/x86_64/x32/_itoa.h: New file.
49458         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49459         getdents system call only if kernel and user dirents have the
49460         same d_ino and d_off.
49462         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49463         LLONG_MAX != LONG_MAX.
49464         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49465         (_fitoa_word): Likewise.
49467         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49468         years.
49469         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49470         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49471         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49473         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49474         include <bits/wordsize.h>.  Check __x86_64__ instead of
49475         __WORDSIZE.
49476         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49477         if __x86_64__ is defined.  Use anonymous union on fpstate.
49479         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49480         anonymous union.
49482 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49484         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49485         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49486         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49487         Refer to _rtld_local_ro instead of _rtld_global_ro.
49488         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49489         Likewise.
49490         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49491         Likewise.
49492         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49493         Likewise.
49494         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49495         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49496         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49498         [BZ #10882]
49499         * sysdeps/powerpc/powerpc32/dl-machine.c
49500         (__elf_machine_runtime_setup) [PROF]: Don't reference
49501         _dl_prof_resolve.
49503 2012-05-18  Andreas Jaeger  <aj@suse.de>
49505         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49506         function only available for GCCs before 3.4 since GCC 3.4
49507         introduced a builtin.
49508         (lrint): Likewise.
49509         (llrintf): Likewise.
49510         (llrint): Likewise.
49511         (fmaxf): Likewise.
49512         (fmax): Likewise.
49513         (fminf): Likewise.
49514         (fmin): Likewise.
49515         (rint): Likewise.
49516         (rintf): Likewise.
49517         (nearbyint): Likewise.
49518         (nearbyintf): Likewise.
49519         (ceil): Likewise.
49520         (ceilf): Likewise.
49521         (floor): Likewise.
49522         (floorf): Likewise.
49524 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49526         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49527         on both fields and cast pointer to __syscall_ulong_t.
49529         * bits/types.h (__fsword_t): New type.
49530         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49531         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49533         (__FSWORD_T_TYPE): Likewise.
49534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49535         (__FSWORD_T_TYPE): Likewise.
49536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49537         (__FSWORD_T_TYPE): Likewise.
49538         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49539         (__FSWORD_T_TYPE): Likewise.
49540         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49541         __SWORD_TYPE with __fsword_t.
49542         (statfs64): Likewise.
49544 2012-05-17  David S. Miller  <davem@davemloft.net>
49546         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49548 2012-05-17  Andreas Jaeger  <aj@suse.de>
49550         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49551         warning.
49553 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49555         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49557 2012-05-17  Andreas Jaeger  <aj@suse.de>
49559         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49560         when it is used.
49562 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49564         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49566 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49568         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49569         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49571 2012-05-17  Andreas Jaeger  <aj@suse.de>
49572             Carlos O'Donell  <carlos_odonell@mentor.com>
49574         [BZ #14059]
49575         * sysdeps/x86_64/multiarch/init-arch.h
49576         (bit_YMM_Usable): Rename to...
49577         (bit_AVX_Usable): ... this.
49578         (bit_FMA4_Usable): New macro.
49579         (bit_XMM_state): New macro.
49580         (bit_YMM_state): New macro.
49581         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49582         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49583         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49584         (CPUID_OSXSAVE): New macro.
49585         (CPUID_AVX): New macro.
49586         (CPUID_FMA4): New macro.
49587         (index_YMM_Usable): Rename to...
49588         (index_AVX_Usable): ... this.
49589         (HAS_AVX): Use HAS_ARCH_FEATURE.
49590         (HAS_FMA4): Likewise.
49591         (HAS_YMM_USABLE): Remove.
49592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49593         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49594         are present.
49595         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49596         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49597         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49598         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49599         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49601 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49603         * math/libm-test.c: Support platforms without multiple rounding modes.
49604         * math/bug-nextafter.c: Support platforms without FP exceptions.
49605         * math/bug-nexttoward.c: Likewise.
49606         * math/test-fenv.c: Likewise.
49607         * math/test-misc.c: Likewise.
49608         * stdlib/bug-getcontext.c: Likewise.
49610 2012-05-17  Andreas Jaeger  <aj@suse.de>
49612         * manual/examples/search.c (critter_cmp): Change signature to
49613         avoid warnings.
49614         * manual/string.texi (Collation Functions): Likewise.
49616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49618         * bits/types.h: Fold copyright years.
49619         * bits/typesizes.h: Likewise.
49620         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49621         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49622         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49624         * time/time.h: Likewise.
49626 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49628         [BZ #208]
49629         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49630         in instead of returning them.  Return void.
49631         (__libc_mallinfo): Accumulate over all arenas.
49632         (__malloc_stats): Adjust for change in int_mallinfo interface.
49634 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49636         [BZ #10375]
49637         * configure.in (NM): Add AC_CHECK_TOOL for it.
49638         (libc_extra_cflags): New substituted variable.
49639         Check for -fstack-protector being used implicitly.
49640         * configure: Regenerated.
49641         * config.make.in (config-extra-cflags): New variable,
49642         gets @libc_extra_cflags@.
49643         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49645         [BZ #10375]
49646         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49647         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49648         * configure: Regenerated.
49649         * config.make.in (CPPUNDEFS): New substituted variable.
49650         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49651         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49652         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49654 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49656         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49657         (mq_attr): Use __syscall_slong_t.
49659 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49661         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49662         Check __x86_64__ instead of __WORDSIZE.
49663         (_STAT_VER_LINUX): Likewise.
49664         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49665         __syscall_ulong_t and __syscall_slong_t.
49666         (stat64): Likewise.
49668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49670         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49672 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49674         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49676 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49678         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49679         __syscall_ulong_t.
49681         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49682         include <bits/wordsize.h>.  Check __x86_64__ instead of
49683         __WORDSIZE.
49684         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49685         defined.
49686         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49688         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49689         include <bits/wordsize.h>.  Check __x86_64__ instead of
49690         __WORDSIZE.
49691         (user_regs_struct): Use "__extension__ unsigned long long"
49692         instead of "unsigned long" if __x86_64__ is defined.
49693         (user): Likewise.  Pad after pointer field if __ILP32__ is
49694         defined.
49696 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49698         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49699         versions 5 to 9.
49700         * configure: Regenerated.
49701         * manual/install.texi (texinfo): Increase version requirement to
49702         4.5 or later.
49703         * INSTALL: Regenerated.
49705         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49709         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49711         * sysdeps/x86_64/x32/ffs.c: New file.
49713         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49714         __syscall_ulong_t.
49715         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49716         defined.  Use __syscall_ulong_t.
49717         (shminfo): Use __syscall_ulong_t.
49718         (shm_info): Likewise.
49720         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49721         __syscall_ulong_t.
49723         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49724         <bits/wordsize.h>.
49725         (msgqnum_t): Use __syscall_ulong_t.
49726         (msglen_t): Likewise.
49727         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49728         __syscall_ulong_t.
49730         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49731         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49733         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49735         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49736         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49738         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49739         __syscall_slong_t.
49741         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49742         include <bits/wordsize.h>.  Check __x86_64__ instead of
49743         __WORDSIZE.
49745         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49746         "unsigned long long int" if __x86_64__ is defined.
49747         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49749         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49750         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49751         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49753         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49754         <stdint.h>.
49755         (GET_PC): Cast to uintptr_t first.
49756         (GET_FRAME): Likewise.
49757         (GET_STACK): Likewise.
49759         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49760         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49761         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49762         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49763         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49764         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49765         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49766         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49767         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49768         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49769         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49770         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49771         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49772         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49773         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49774         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49775         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49776         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49777         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49778         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49779         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49780         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49781         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49782         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49783         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49784         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49785         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49786         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49787         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49789 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49791         * Makerules (+depfiles): Also collect depfiles from .oS in
49792         $(extra-objs).
49793         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49794         .oS, $(libnldbl-routines)).
49796         * Makerules (native-compile-mkdep-flags): Define.
49797         * sunrpc/Makefile (extra-objs): Add $(addprefix
49798         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49799         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49800         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49801         calling $(make-target-directory).
49803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49805         * bits/types.h (__snseconds_t): Removed.
49806         * time/time.h (struct timespec): Replace __snseconds_t with
49807         __syscall_slong_t.
49808         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49809         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49810         Likewise.
49811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49812         (__SNSECONDS_T_TYPE): Likewise.
49813         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49814         (__SNSECONDS_T_TYPE): Likewise.
49815         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49816         (__SNSECONDS_T_TYPE): Likewise.
49818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49820         * sysdeps/mach/hurd/bits/typesizes.h
49821         (__SYSCALL_SLONG_TYPE): New macro.
49822         (__SYSCALL_ULONG_TYPE): Likewise.
49824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49826         * bits/types.h (__syscall_slong_t): New type.
49827         (__syscall_ulong_t): Likewise.
49829         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49830         (__SYSCALL_ULONG_TYPE): Likewise.
49831         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49832         (__SYSCALL_SLONG_TYPE): Likewise.
49833         (__SYSCALL_ULONG_TYPE): Likewise.
49834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49835         (__SYSCALL_SLONG_TYPE): Likewise.
49836         (__SYSCALL_ULONG_TYPE): Likewise.
49837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49838         (__SYSCALL_SLONG_TYPE): Likewise.
49839         (__SYSCALL_ULONG_TYPE): Likewise.
49841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49843         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49844         Add sigaltstack-offsets.sym.
49845         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49846         <sigaltstack-offsets.h>.
49847         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49848         longjmp_msg pointer.
49849         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49850         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49851         signal stack.
49852         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49854 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49856         * elf/stackguard-macros.h: Remove file.
49857         * sysdeps/generic/stackguard-macros.h: New file.
49858         * sysdeps/i386/stackguard-macros.h: Likewise.
49859         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49860         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49861         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49862         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49863         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49864         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49865         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49866         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49867         <elf/stackguard-macros.h>.
49869         [BZ #14109]
49870         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49871         __aligned__ in attribute.
49872         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49873         (gregset_t): Likewise.
49875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49877         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49878         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49879         * sysdeps/x86_64/x32/Implies-after: New file.
49881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49883         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49884         and access return value for _dl_profile_fixup.  Use R10_LP to
49885         load frame size.
49887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49889         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49893         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49894         * sysdeps/x86_64/x32/sysdep.h: New file.
49896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49898         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49899         * sysdeps/x86_64/setjmp.S: Likewise.
49901 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49903         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49904         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49905         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49906         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49907         remove unused global constant.
49909 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49911         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49912         include of <not-cancel.h>.
49914 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49916         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49918 2012-05-15  Jeff Law  <law@redhat.com>
49919             Andreas Jaeger  <aj@suse.de>
49921         [BZ #13594]
49922         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49923         out from...
49924         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49925         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49926         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49927         code changing __hst_map_handle.map.
49929 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49931         * configure.in (sysnames): Look for Implies-before and Implies-after
49932         files.
49933         * configure: Regenerated.
49935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49937         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49938         8-byte data alignment with LP_SIZE alignment.
49940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49942         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49943         into R10_LP.
49945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49947         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49951         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49952         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49953         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49954         Likewise.
49955         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49959         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49960         (stackinfo_sub_sp): Likewise.
49962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49964         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49965         RAX_LP.
49967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49969         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49970         into R*_LP.
49972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49974         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49975         sizes into R*_LP.
49977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49979         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49983         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49984         into R11_LP and load __x86_64_shared_cache_size_half into
49985         R8_LP.
49987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49989         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49990         R8_LP.
49992 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49994         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49995         logb for POWER7.
49996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49997         logbf for POWER7.
49998         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49999         logbl for POWER7.
50000         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50001         powerpc32/power7/fpu/s_logb.c via #include.
50002         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50003         powerpc32/power7/fpu/s_logbf.c via #include.
50004         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50005         powerpc32/power7/fpu/s_logbl.c via #include.
50007 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50009         * README.libm: Remove file.
50011 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50013         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50014         count for x32.  Use R*_LP and omit operand-size suffix.
50016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50018         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50019         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50020         * sysdeps/x86_64/x32/shlib-versions: New file.
50022 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50024         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50025         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50026         Use _dl_fatal_printf instead.
50028 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50030         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50031         set if not set by the user.  Do not allow for being unset.
50032         * sysdeps/unix/sysv/linux/configure: Regenerated.
50034 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50036         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50037         the `q' suffix from lea and replace .quad with ASM_ADDR.
50039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50042         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50043         instead of $17.
50044         (PTR_DEMANGLE): Likewise.
50046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50048         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50049         (LP_OP): Likewise.
50050         (ASM_ADDR): Likewise.
50051         (RAX_LP): Likewise.
50052         (RBP_LP): Likewise.
50053         (RBX_LP): Likewise.
50054         (RCX_LP): Likewise.
50055         (RDI_LP): Likewise.
50056         (RSI_LP): Likewise.
50057         (RSP_LP): Likewise.
50058         (R8_LP): Likewise.
50059         (R9_LP): Likewise.
50060         (R10_LP): Likewise.
50061         (R10_LP): Likewise.
50062         (R11_LP): Likewise.
50063         (R12_LP): Likewise.
50064         (R13_LP): Likewise.
50065         (R14_LP): Likewise.
50066         (R15_LP): Likewise.
50068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50070         * sysdeps/x86_64/x32/dl-machine.h: New file.
50072 2012-05-14  Andreas Jaeger  <aj@suse.de>
50074         * manual/Makefile (subdir): Remove export of subdir.
50075         (all): Remove target.
50076         (.PHONY): Remove all from list.
50077         (mkinstalldirs): Remove.
50078         (.PHONY): Remove installdirs from list.
50079         ($(inst_infodir)/libc.info): Use make-target-directory.
50080         (installdirs): Remove.
50081         (subdir_%): Remove.
50082         (glibc-targets): Remove.
50083         (lib): Remove.
50084         (stubs): Remove.
50085         ($(objpfx)stubs ../po/manual.pot): Remove.
50086         ($(objpfx)stamp%): Remove.
50087         (make-target-directory): Remove.
50088         (subdir_install): Remove.
50089         (routines): Remove.
50090         (aux): Remove.
50091         (sources): Remove.
50092         (objects): Remove.
50093         (headers): Remove.
50095         [BZ #13750]
50096         * manual/.gitignore: Remove, it's not needed anymore.
50097         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50098         all files in it.
50099         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50100         directory.
50101         (texis): Renamed to $(objpfx)texis.
50102         (texis-path): New, contains path to generated files.
50103         (chapters.%): Use texis-path for complete path, add extra argument
50104         libc-texinfo.sh.
50105         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50106         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50107         (summary,texi, stamp-summary): Use complete path of
50108         files. Generate files in build dir.
50109         (dir-add.texi): Build in build dir.
50110         (libm-err.texi,stamp-libm-err): Likewise.
50111         (version.texi, stamp-version): Likewise.
50112         (.%c.texi): Likewise.
50113         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50114         (mostlyclean): Remove target.
50115         (realclean): Remove target.
50116         (generated): Add new variable with contents from mostlyclean and
50117         realclean, remove entries duplicated in common-mostlyclean, add
50118         stamp-libm-err and stamp-version.
50119         (generated-dirs): Add libc directory.
50120         ($(inst_infodir)/libc.info): Install files from build dir.
50122         * manual/install.texi (Configuring and compiling): Adjust since
50123         the info files are not part of the tar ball anymore.
50125 2012-05-14  Andreas Jaeger  <aj@suse.de>
50127         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50128         variable.
50130 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50132         [BZ #13717]
50133         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50134         to 2.2.0 where earlier.
50135         * sysdeps/unix/sysv/linux/configure: Regenerated.
50136         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50137         Remove conditional code.
50138         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50139         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50140         Remove conditional code.
50141         [!__NR_lchown]: Likewise.
50142         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50143         [__NR_lchown]: Likewise.
50144         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50145         comment referencing __ASSUME_LCHOWN_SYSCALL.
50146         * sysdeps/unix/sysv/linux/i386/sigaction.c
50147         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50148         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50149         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50150         Remove conditional code.
50151         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50152         (__protocol_available): Remove #if 0 code.
50153         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50154         conditional code.
50155         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50156         * sysdeps/unix/sysv/linux/kernel-features.h
50157         (__ASSUME_GETCWD_SYSCALL): Don't define.
50158         (__ASSUME_REALTIME_SIGNALS): Likewise.
50159         (__ASSUME_PREAD_SYSCALL): Likewise.
50160         (__ASSUME_PWRITE_SYSCALL): Likewise.
50161         (__ASSUME_POLL_SYSCALL): Likewise.
50162         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50163         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50164         non-SPARC.
50165         (__ASSUME_SIOCGIFNAME): Don't define.
50166         (__ASSUME_MSG_NOSIGNAL): Likewise.
50167         (__ASSUME_SENDFILE): Define unconditionally.
50168         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50169         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50170         conditional code.
50171         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50172         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50173         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50174         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50175         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50176         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50177         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50179         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50180         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50182         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50183         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50185         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50186         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50188         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50189         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50191         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50192         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50194         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50195         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50197         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50200         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50202         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50203         Remove conditional code.
50204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50205         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50206         Remove conditional code.
50207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50208         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50209         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50210         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50211         Remove conditional code.
50212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50213         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50214         Remove conditional code.
50215         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50216         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50217         Remove conditional code.
50218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50219         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50220         Remove conditional code.
50221         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50222         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50223         Remove conditional code.
50224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50225         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50226         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50227         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50228         * sysdeps/unix/sysv/linux/sigaction.c
50229         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50230         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50231         * sysdeps/unix/sysv/linux/sigpending.c
50232         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50233         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50234         * sysdeps/unix/sysv/linux/sigprocmask.c
50235         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50236         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50237         * sysdeps/unix/sysv/linux/sigsuspend.c
50238         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50239         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50240         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50241         (__libc_missing_rt_sigs): Remove.
50242         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50243         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50244         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50245         Remove conditional code.
50246         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50247         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50248         return 1.
50249         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50250         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50251         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50252         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50254 2012-05-14  Andreas Jaeger  <aj@suse.de>
50256         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50257         it's not used in glibc.
50258         (__coshm1): Likewise.
50259         (__acosh1p): Likewise.
50260         (__sgn): Likewise.
50262         * manual/string.texi (Copying and Concatenation): Add missing
50263         variable in concat example.
50264         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50266 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50268         [BZ #14103]
50269         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50270         __builtin_clzl with __builtin_clzll.
50272 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50274         [BZ #14104]
50275         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50276         libc_freeres_ptr.
50278 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50280         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50281         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50282         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50283         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50285 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50287         * NEWS: Update ia64 info.
50289 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50291         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50292         used as bcopy.
50294 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50296         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50297         * sysdeps/unix/syscalls.list (dup3): Likewise.
50298         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50299         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50301 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50303         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50304         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50306 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50308         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50309         thread pointer.
50310         (TLS_IE): Use mov/add instead of movq/addq to load thread
50311         pointer.
50312         (TLS_GD_PREFIX): New.
50313         (TLS_GD): Use it.
50315 2012-05-11  David S. Miller  <davem@davemloft.net>
50317         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50318         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50319         (_FPU_SETCW): Likewise.
50321 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50323         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50324         is 32-byte aligned.
50326 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50328         [BZ #11837]
50329         * iconvdata/gb18030.c: Update tables.
50330         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50331         characters specially.
50332         (BODY for TO_LOOP): Add encoding of missing ranges.
50334 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50336         [BZ #13673]
50337         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50338         * sysdeps/mach/hurd/dup3.c: Likewise.
50339         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50340         * sysdeps/powerpc/memmove.c:: Likewise.
50342 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50344         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50345         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50347 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50349         * elf/elf.h (R_X86_64_RELATIVE64): New.
50350         (R_X86_64_NUM): Updated.
50351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50352         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50353         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50354         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50355         tst-quad1pie tst-quad2pie
50356         (modules-names): Add tst-quadmod1 tst-quadmod2.
50357         ($(objpfx)tst-quad1): New dependency.
50358         ($(objpfx)tst-quad2): Likewise.
50359         ($(objpfx)tst-quad1pie): Likewise.
50360         ($(objpfx)tst-quad2pie): Likewise.
50361         * sysdeps/x86_64/tst-quad1.c: New file.
50362         * sysdeps/x86_64/tst-quad1pie.c: New file.
50363         * sysdeps/x86_64/tst-quad2.c: Likewise.
50364         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50365         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50366         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50367         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50368         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50370 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50372         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50373         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50374         * streams/stropts.h (t_scalar_t): Define type.
50376         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50377         (_PATH_PRESERVE): Set to "/var/lib".
50378         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50380         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50381         instead of int.
50383         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50384         if __dir_mkfile succeeded.
50386         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50387         checking for _hurd_dtablesize.  Unlock it right after having
50388         finished _hurd_dtable allocation.
50390 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50392         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50393         * sysdeps/mach/hurd/configure: Regenerated.
50394         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50395         special-casing to...
50396         * sysdeps/gnu/configure.in: ... this new file.
50397         * sysdeps/unix/sysv/linux/configure: Regenerated.
50398         * sysdeps/gnu/configure: New generated file.
50400         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50401         for Linux: use nsec instead of usec, as well as:
50402         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50403         members of type struct timespec.
50404         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50405         New macros.
50406         (struct stat64): Likewise.
50407         (_STATBUF_ST_NSEC): New macro.
50408         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50410         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50411         __strtoul_internal rather than strtoul.
50413 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50415         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50416         and reject them.
50418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50420         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50421         which preserves existing values.
50422         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50424 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50426         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50427         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50428         greater than FD_SETSIZE.
50430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50432         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50433         allocated, call __vm_protect to finish enabling the existing space, and
50434         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50435         allocate the remainder.
50437 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50439         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50440         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50444         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50445         sysdeps/mach/hurd/readlink.c.
50447         * posix/tst-sysconf.c (posix_options): Only use
50448         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50449         _POSIX_SYNCHRONIZED_IO when they are defined
50450         * sysdeps/mach/hurd/bits/posix_opt.h:
50451         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50452         (_XOPEN_REALTIME): Undefine macro.
50453         (_XOPEN_REALTIME_THREADS): Undefine macro.
50454         (_XOPEN_SHM): Undefine macro.
50455         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50456         macro to -1.
50457         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50458         macro to -1.
50459         (_POSIX_ASYNC_IO): Undefine macro.
50460         (_POSIX_PRIORITIZED_IO): Undefine macro.
50461         (_POSIX_SPIN_LOCKS): Define macro to -1.
50463         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50464         SA_NODEFER, SA_RESETHAND.
50465         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50466         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50467         F_DUPFD_CLOEXEC.
50469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50471         * elf/Makefile (pldd-modules): Define unconditionally.
50473 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50475         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50479         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50480         Return ENOENT when name is empty.
50481         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50483 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50485         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50487         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50491         Fix mlock in all cases except non-readable pages.
50492         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50493         instead of VM_PROT_ALL as parameter to __vm_wire function.
50495         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50496         (__mkdir): When path is `/', just fail with EEXIST.
50497         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50501         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50502         <sys/uio.h> (for writev).
50503         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50504         and <sys/param.h> (for MIN).
50506 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50508         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50509         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50510         if interrupted.
50512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50514         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50515         Depend on against $(link-rpcuserlibs).
50517 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50519         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50520         (__libc_stack_end): Do not use attribute_relro.
50521         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50522         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50523         to libthread-provided value.
50524         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50525         attribute_relro.
50527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50529         [BZ #3748]
50530         * bits/libc-lock.h (__libc_once_get): New macro.
50531         * sysdeps/mach/bits/libc-lock.h: Likewise.
50532         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50533         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50534         instead of using implementation details.
50536         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50537         * libio/freopen.c: Likewise.
50538         * libio/freopen64.c: Likewise.
50539         * misc/syslog.c: Likewise.
50540         * nscd/connections.c: Likewise.
50541         * nscd/netgroupcache.c: Likewise.
50542         * sysdeps/posix/getcwd.c: Likewise.
50544 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50546         * math/w_ilogbf.c: Add #include <limits.h>.
50548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50550         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50551         path instead of returning without unlocking.
50553         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50554         immediate-write ioctls.
50555         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50557 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50559         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50560         __builtin_frame_address instead of making assumptions about the
50561         location of the return address relative to DATA.  Force early load of
50562         the return address.
50563         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50564         __builtin_frame_address.
50566         dup3 for GNU Hurd.
50567         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50568         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50569         implement dup3 and do some further code clean-ups.
50570         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50571         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50575         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50577         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50578         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50579         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50580         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50581         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50582         d->port.lock.
50584         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50585         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50586         when handler == SIG_ERR, not when handler != SIG_ERR.
50588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50590         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50591         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50592         definitions.
50594         accept4 for GNU Hurd.
50595         * include/sys/socket.h (__libc_accept4): New prototype.
50596         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50597         to implement __libc_accept4.
50598         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50599         __libc_accept4.
50600         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50602         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50603         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50604         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50605         signal-defines.sym.
50607 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50609         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50613         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50614         assertion on O_CLOEXEC flag.
50615         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50616         * hurd/intern-fd.c: Likewise.
50617         * hurd/port2fd.c: Likewise.
50619 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50621         [BZ #3906]
50622         * bits/in.h (IPV6_PKTINFO): Define new macro.
50623         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50625 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50627         [BZ #13954]
50628         [BZ #13955]
50629         [BZ #13956]
50630         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50631         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50632         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50633         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50634         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50635         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50636         * math/libm-test.inc (logb_test) : Additional logb tests.
50638 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50639             Andreas Jaeger  <aj@suse.de>
50641         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50642         * configure: Regenerated.
50643         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50644         * config.make.in (link-obsolete-rpc): New substituted variable.
50645         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50646         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50647         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50648         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50649         so that libc.a contains the symbols.
50650         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50651         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50652         * sunrpc/auth_none.c: Likewise.
50653         * sunrpc/auth_unix.c: Likewise.
50654         * sunrpc/authdes_prot.c: Likewise.
50655         * sunrpc/authuxprot.c: Likewise.
50656         * sunrpc/clnt_gen.c: Likewise.
50657         * sunrpc/clnt_perr.c: Likewise.
50658         * sunrpc/clnt_raw.c: Likewise.
50659         * sunrpc/clnt_simp.c: Likewise.
50660         * sunrpc/clnt_tcp.c: Likewise.
50661         * sunrpc/clnt_udp.c: Likewise.
50662         * sunrpc/clnt_unix.c: Likewise.
50663         * sunrpc/des_crypt.c: Likewise.
50664         * sunrpc/des_soft.c: Likewise.
50665         * sunrpc/get_myaddr.c: Likewise.
50666         * sunrpc/key_call.c: Likewise.
50667         * sunrpc/key_prot.c: Likewise.
50668         * sunrpc/netname.c: Likewise.
50669         * sunrpc/pm_getmaps.c: Likewise.
50670         * sunrpc/pm_getport.c: Likewise.
50671         * sunrpc/pmap_clnt.c: Likewise.
50672         * sunrpc/pmap_prot.c: Likewise.
50673         * sunrpc/pmap_prot2.c: Likewise.
50674         * sunrpc/pmap_rmt.c: Likewise.
50675         * sunrpc/publickey.c: Likewise.
50676         * sunrpc/rpc_cmsg.c: Likewise.
50677         * sunrpc/rpc_common.c: Likewise.
50678         * sunrpc/rpc_dtable.c: Likewise.
50679         * sunrpc/rpc_prot.c: Likewise.
50680         * sunrpc/rpc_thread.c: Likewise.
50681         * sunrpc/rtime.c: Likewise.
50682         * sunrpc/svc.c: Likewise.
50683         * sunrpc/svc_auth.c: Likewise.
50684         * sunrpc/svc_raw.c: Likewise.
50685         * sunrpc/svc_run.c: Likewise.
50686         * sunrpc/svc_tcp.c: Likewise.
50687         * sunrpc/svc_udp.c: Likewise.
50688         * sunrpc/svc_unix.c: Likewise.
50689         * sunrpc/svcauth_des.c: Likewise.
50690         * sunrpc/xcrypt.c: Likewise.
50691         * sunrpc/xdr.c: Likewise.
50692         * sunrpc/xdr_array.c: Likewise.
50693         * sunrpc/xdr_float.c: Likewise.
50694         * sunrpc/xdr_intXX_t.c: Likewise.
50695         * sunrpc/xdr_mem.c: Likewise.
50696         * sunrpc/xdr_rec.c: Likewise.
50697         * sunrpc/xdr_ref.c: Likewise.
50698         * sunrpc/xdr_sizeof.c: Likewise.
50699         * sunrpc/xdr_stdio.c: Likewise.
50701 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50703         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50704         change.  Update copyright years.
50706 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50708         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50710 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50711             Joseph Myers  <joseph@codesourcery.com>
50712             Paul Pluzhnikov  <ppluzhnikov@google.com>
50714         [BZ #14012]
50715         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50716         requiring rpcgen.
50717         [cross-compiling] (extra-libs): Likewise.
50718         [cross-compiling] (extra-libs-others): Likewise.
50719         [cross-compiling] (librpcsvc-routines): Likewise.
50720         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50721         [cross-compiling] (omit-deps): Likewise.
50722         (sunrpc-CPPFLAGS): New variable.
50723         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50724         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50725         (cross-rpcgen-objs): New variable.
50726         (extra-objs): Append $(cross-rpcgen-objs).
50727         ($(cross-rpcgen-objs)): New rule.
50728         ($(objpfx)cross-rpcgen): Likewise.
50729         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50730         comment.
50731         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50732         ($(objpfx)x%.stmp): Likewise.
50733         * sunrpc/proto.h [IS_IN_build] (_): Define.
50734         [IS_IN_build] (_libc_intl_domainname): Likewise.
50736 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50738         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50739         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50740         and R_X86_64_TPOFF64.
50742 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50744         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50745         sysdeps/unix/sysv/syscalls.list.
50746         (stime): Likewise.
50747         (utime): Likewise.
50748         * sysdeps/unix/sysv/syscalls.list: Remove file.
50750 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50752         [BZ #3440]
50753         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50754         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50755         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50756         (__LC_IDENTIFICATION): Make these macros useful in #if
50757         expressions, as required by C99.
50759 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50761         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50762         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50763         after this.
50765 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50767         * stdlib/longlong.h: Updated from GCC.
50769 2012-05-09  Andreas Jaeger  <aj@suse.de>
50771         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50772         default is first entry.
50773         (run_mode): Set type.
50774         (main): Remove informal message about syslog.
50775         (options): Fix typo.
50777         [BZ #14053]
50778         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50779         to asm.
50780         (lrint): Likewise.
50781         (llrintf): Likewise.
50782         (llrint): Likewise.
50783         (rint): Likewise.
50784         (rintf): Likewise.
50785         (nearbyint): Likewise.
50786         (nearbyintf): Likewise.
50788 2012-05-09  Andreas Jaeger  <aj@suse.de>
50789             Pedro Alves  <palves@redhat.com>
50791         * nscd/nscd.c (run_mode): Use enum.
50792         (main): Cleanup coding style issue.
50794 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50795             Andreas Jaeger  <aj@suse.de>
50797         * nscd/nscd.c (go_background): Replaced with...
50798         (run_mode): ... this.
50799         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50800         (options): Add -F --foreground.
50801         (main): Implement it.
50802         (parse_opt): Parse it.
50804 2012-05-09  Andreas Jaeger  <aj@suse.de>
50806         [BZ #14083]
50807         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50808         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50809         -Wconversion warning.
50810         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50811         Likewise.
50813 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50815         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50816         == 0.
50817         (LC_ALL): Use macro-int-constant.
50818         (LC_COLLATE): Likewise.
50819         (LC_CTYPE): Likewise.
50820         (LC_MESSAGES): Likewise.
50821         (LC_MONETARY): Likewise.
50822         (LC_NUMERIC): Likewise.
50823         (LC_TIME): Likewise.
50824         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50825         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50826         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50827         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50828         Specify type.
50829         [C99-based standards] (float_t): Expect type.
50830         [C99-based standards] (double_t): Expect type.
50831         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50832         type.
50833         [C99-based standards] (HUGE_VALL): Likewise.
50834         [C99-based standards] (INFINITY): Likewise.
50835         [C99-based standards] (NAN): Likewise.
50836         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50837         [C99-based standards] (FP_NAN): Likewise.
50838         [C99-based standards] (FP_NORMAL): Likewise.
50839         [C99-based standards] (FP_SUBNORMAL): Likewise.
50840         [C99-based standards] (FP_ZERO): Likewise.
50841         [C99-based standards] (FP_FAST_FMA): Use
50842         optional-macro-int-constant.  Specify type.  Require == 1.
50843         [C99-based standards] (FP_FAST_FMAF): Likewise.
50844         [C99-based standards] (FP_FAST_FMAL): Likewise.
50845         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50846         [C99-based standards] (FP_ILOGBNAN): Likewise.
50847         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50848         Specify type.
50849         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50850         [C99-based standards] (math_errhandling): Specify type.
50851         [ISO99 || ISO11] (signgam): Do not allow.
50852         [non-C99-based standards] (copysignf): Do not allow.
50853         [non-C99-based standards] (exp2f): Likewise.
50854         [non-C99-based standards] (log2f): Likewise.
50855         [non-C99-based standards] (modff): Allow.
50856         [non-C99-based standards] (erff): Do not allow.
50857         [non-C99-based standards] (erfcf): Likewise.
50858         [non-C99-based standards] (gammaf): Likewise.
50859         [non-C99-based standards] (hypotf): Likewise.
50860         [non-C99-based standards] (j0f): Likewise.
50861         [non-C99-based standards] (j1f): Likewise.
50862         [non-C99-based standards] (jnf): Likewise.
50863         [non-C99-based standards] (lgammaf): Likewise.
50864         [non-C99-based standards] (tgammaf): Likewise.
50865         [non-C99-based standards] (y0f): Likewise.
50866         [non-C99-based standards] (y1f): Likewise.
50867         [non-C99-based standards] (ynf): Likewise.
50868         [non-C99-based standards] (isnanf): Likewise.
50869         [non-C99-based standards] (acoshf): Likewise.
50870         [non-C99-based standards] (asinhf): Likewise.
50871         [non-C99-based standards] (atanhf): Likewise.
50872         [non-C99-based standards] (cbrtf): Likewise.
50873         [non-C99-based standards] (expm1f): Likewise.
50874         [non-C99-based standards] (ilogbf): Likewise.
50875         [non-C99-based standards] (log1pf): Likewise.
50876         [non-C99-based standards] (logbf): Likewise.
50877         [non-C99-based standards] (nextafterf): Likewise.
50878         [non-C99-based standards] (remainderf): Likewise.
50879         [non-C99-based standards] (rintf): Likewise.
50880         [non-C99-based standards] (scalbf): Likewise.
50881         [non-C99-based standards] (copysignl): Likewise.
50882         [non-C99-based standards] (exp2l): Likewise.
50883         [non-C99-based standards] (log2l): Likewise.
50884         [non-C99-based standards] (modfl): Allow.
50885         [non-C99-based standards] (erfl): Do not allow.
50886         [non-C99-based standards] (erfcl): Likewise.
50887         [non-C99-based standards] (gammal): Likewise.
50888         [non-C99-based standards] (hypotl): Likewise.
50889         [non-C99-based standards] (j0l): Likewise.
50890         [non-C99-based standards] (j1l): Likewise.
50891         [non-C99-based standards] (jnl): Likewise.
50892         [non-C99-based standards] (lgammal): Likewise.
50893         [non-C99-based standards] (tgammal): Likewise.
50894         [non-C99-based standards] (y0l): Likewise.
50895         [non-C99-based standards] (y1l): Likewise.
50896         [non-C99-based standards] (ynl): Likewise.
50897         [non-C99-based standards] (isnanl): Likewise.
50898         [non-C99-based standards] (acoshl): Likewise.
50899         [non-C99-based standards] (asinhl): Likewise.
50900         [non-C99-based standards] (atanhl): Likewise.
50901         [non-C99-based standards] (cbrtl): Likewise.
50902         [non-C99-based standards] (expm1l): Likewise.
50903         [non-C99-based standards] (ilogbl): Likewise.
50904         [non-C99-based standards] (log1pl): Likewise.
50905         [non-C99-based standards] (logbl): Likewise.
50906         [non-C99-based standards] (nextafterl): Likewise.
50907         [non-C99-based standards] (remainderl): Likewise.
50908         [non-C99-based standards] (rintl): Likewise.
50909         [non-C99-based standards] (scalbl): Likewise.
50910         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50911         [non-C99-based standards] (FP_*): Do not allow.
50912         [C99-based standards] (FP_*): Change to
50913         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50914         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50915         allow.
50916         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50917         (SIG_ERR): Likewise.
50918         [X/Open-based standards] (SIG_HOLD): Likewise.
50919         (SIG_IGN): Likewise.
50920         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50921         positive value.
50922         (SIGFPE): Likewise.
50923         (SIGILL): Likewise.
50924         (SIGINT): Likewise.
50925         (SIGSEGV): Likewise.
50926         (SIGTER): Likewise.
50927         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50928         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50929         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50930         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50931         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50932         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50933         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50934         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50935         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50936         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50937         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50938         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50939         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50940         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50941         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50942         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50943         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50944         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50945         [X/Open-based standards] (SIGTRAP): Likewise.
50946         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50947         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50948         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50949         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50950         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50951         allow.
50953 2012-05-08  Ian Wienand  <ianw@vmware.com>
50955         [BZ #14080]
50956         * time/tzset.c (__tzset_parse_tz): Update default rules for
50957         daylight time changes in the Energy Policy Act of 2005.
50959 2012-05-09  Andreas Jaeger  <aj@suse.de>
50961         [BZ #13983]
50962         * elf/ldconfig.c (parse_conf): Change string to make clear that
50963         ldconfig only issued a warning if ld.so.conf does not exist.
50965 2012-05-08  David S. Miller  <davem@davemloft.net>
50967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50968         movxtod instead of popping the value on the stack.
50970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50972 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50974         * config.h.in: Add HAVE_ARM_PCS_VFP.
50976 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50978         [BZ #13979]
50979         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50980         checking but the checks are disabled for any reason.
50982 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50984         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50985         and ELF64_R_TYPE with ELFW(R_TYPE).
50987 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50989         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50990         (ulimit): Likewise.
50992         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50993         (settimeofday): Likewise.
50995 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50997         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50998         a struct th_u2 inside the union, and move tu_block/tu_code into
50999         a new th_u3 union of tu_block/tu_code inside of that.  Move
51000         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51001         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51002         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51003         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51004         (th_stuff): Change to th_u1.tu_stuff.
51005         (th_data): Define.
51006         (th_msg): Change to th_u1.th_u2.tu_data.
51008 2012-05-07  David S. Miller  <davem@davemloft.net>
51010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51012         [BZ #14074]
51013         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51014         (SETUP_PIC_REG): Use it.
51015         (SETUP_PIC_REG_LEAF): Use it.
51017 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51019         [BZ #13885]
51020         [BZ #13923]
51021         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51022         USE_AS_EXPM1L.
51023         (EXPL_FINITE): Likewise.
51024         (FLDLOG): Likewise.
51025         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51026         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51027         e_expl.S.
51028         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51029         USE_AS_EXPM1L.
51030         (EXPL_FINITE): Likewise.
51031         (FLDLOG): Likewise.
51032         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51033         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51034         e_expl.S.
51035         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51036         test of -max_value argument for long double.
51037         * sysdeps/i386/fpu/libm-test-ulps: Update.
51038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51040 2012-05-06  David S. Miller  <davem@davemloft.net>
51042         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51043         quad soft-float symbols whose references which are compiler
51044         generated.
51045         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51047 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51049         [BZ #13884]
51050         [BZ #13914]
51051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51052         USE_AS_EXP10L.
51053         (EXPL_FINITE): Likewise.
51054         (FLDLOG): Likewise.
51055         (c0): Likewise.
51056         (c1): Likewise.
51057         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51058         Adjust comments for base varying.
51059         (__expl_finite): Change alias to EXPL_FINITE.
51060         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51061         e_expl.S.
51062         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51063         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51064         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51065         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51066         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51067         USE_AS_EXP10L.
51068         (EXPL_FINITE): Likewise.
51069         (FLDLOG): Likewise.
51070         (c0): Likewise.
51071         (c1): Likewise.
51072         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51073         Adjust comments for base varying.
51074         (__expl_finite): Change alias to EXPL_FINITE.
51075         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51076         tests for bugs.
51077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51079         [BZ #14064]
51080         * math/libm-test.inc (check_float_internal): Correct ulp
51081         calculation for subnormal expected results.
51083 2012-05-06  Andreas Jaeger  <aj@suse.de>
51085         * Makeconfig (+math-flags): New, set to -frounding-math.
51086         (+cflags): Add +math-flags so that all of glibc gets compiled with
51087         it.
51089         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51091 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51093         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51094         Disable one test.
51096         [BZ #13787]
51097         [BZ #13922]
51098         [BZ #14036]
51099         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51100         (__ieee754_expl): Allow for and saturate large arguments.
51101         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51102         (u_threshold): Likewise.
51103         (__exp): Call __ieee754_exp before checking for overflow and
51104         underflow.
51105         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51106         (u_threshold): Likewise.
51107         (__expf): Call __ieee754_expf before checking for overflow and
51108         underflow.
51109         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51110         (u_threshold): Likewise.
51111         (__expl): Call __ieee754_expl before checking for overflow and
51112         underflow.
51113         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51114         (__ieee754_expl): Allow for and saturate large arguments.
51115         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51116         missing overflow exception on overflow.
51117         (expm1_test): Do not allow missing overflow exception on overflow.
51119         * sysdeps/i386/fpu/e_expl.c: Move to ...
51120         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51121         rather than using inline asm.
51122         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51123         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51124         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51126         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51127         (nice): Likewise.
51128         (poll): Likewise.
51129         (signal): Likewise.
51130         (time): Likewise.
51131         (times): Likewise.
51133 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51135         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51136         sysdeps/unix/common/syscalls.list.
51137         (fchmod): Likewise.
51138         (fchown): Likewise.
51139         (ftruncate): Likewise.
51140         (getrusage): Likewise.
51141         (gettimeofday): Likewise.
51142         (setpgid): Likewise.
51143         (setregid): Likewise.
51144         (setreuid): Likewise.
51145         (sigaction): Likewise.
51146         (truncate): Likewise.
51147         (vhangup): Likewise.
51148         * sysdeps/unix/common/syscalls.list: Remove file.
51149         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51150         * sysdeps/unix/sysv/linux/Implies: Likewise.
51152 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51154         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51156         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51157         Moved to ...
51158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51159         Here.
51160         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51161         to ...
51162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51163         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51164         to ...
51165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51166         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51167         to ...
51168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51169         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51170         to ...
51171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51172         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51173         to ...
51174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51175         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51176         to ...
51177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51178         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51179         to ...
51180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51181         Here.
51182         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51183         to ...
51184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51185         Here.
51186         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51187         to ...
51188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51189         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51190         Moved to ...
51191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51192         Here.
51193         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51194         to ...
51195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51197 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51199         * sysdeps/unix/common/bits/dirent.h: Remove file.
51200         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51202         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51203         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51204         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51205         * sysdeps/unix/bsd/isatty.c: Likewise.
51206         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51207         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51208         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51210 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51212         [BZ #13563]
51213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51214         long double comparison inaccuracies.
51215         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51218 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51220         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51221         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51223 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51225         [BZ #14049]
51226         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51227         nonzero digits before rounding a hex value.
51228         * stdlib/tst-strtod.c (tests): Add another test.
51230 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51232         * sysdeps/s390/fpu/libm-test-ulps: Update.
51234 2012-05-03  Andreas Jaeger  <aj@suse.de>
51236         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51237         does not get optimized out.
51238         (malloc_opt_barrier): New.
51240 2012-05-03  Andreas Jaeger  <aj@suse.de>
51241             Roland McGrath  <roland@hack.frob.com>
51243         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51244         intermediate file deletion.
51245         (generated): Add .symlist files.
51247 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51249         [BZ #13775]
51250         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51251         Redirect under this condition.
51252         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51253         [__USE_GNU] (__dprintf_chk): Not under this condition.
51254         [__USE_GNU] (__vdprintf_chk): Likewise.
51255         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51256         under this condition.
51257         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51258         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51259         [__USE_XOPEN2K8] (vdprintf): Likewise.
51260         [__USE_GNU] (__dprintf_chk): Not under this condition.
51261         [__USE_GNU] (__vdprintf_chk): Likewise.
51262         [__USE_GNU] (dprintf): Likewise.
51263         [__USE_GNU] (vdprintf): Likewise.
51265 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51267         * elf/Makefile (common-generated): Set this instead of generated for
51268         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51269         $(all-built-dso)-derived lists.
51271 2012-05-03  Andreas Jaeger  <aj@suse.de>
51273         * sysdeps/i386/fpu/libm-test-ulps: Update.
51275         * FAQ: Removed.
51276         * FAQ.in: Likewise.
51277         * scripts/gen-FAQ.pl: Likewise.
51278         * manual/install.texi (Installation): Point to online location of
51279         FAQ.
51280         * Makefile (files-for-dist): Remove FAQ.
51281         (FAQ): Remove.
51283 2012-05-02  Allan McRae  <allan@archlinux.org>
51285         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51286         (LDFLAGS-reldepmod5.so): Likewise.
51287         (LDFLAGS-reldep6mod1.so): Likewise.
51288         (LDFLAGS-reldep6mod4.so): Likewise.
51289         (LDFLAGS-reldep8mod3.so): Likewise.
51290         (LDFLAGS-unload4mod1.so): Likewise.
51291         (LDFLAGS-unload4mod2.so): Likewise.
51292         (LDFLAGS-tst-initorder): Likewise.
51293         (LDFLAGS-tst-initordera2.so): Likewise.
51294         (LDFLAGS-tst-initordera3.so): Likewise.
51295         (LDFLAGS-tst-initordera4.so): Likewise.
51296         (LDFLAGS-tst-initorderb2.so): Likewise.
51297         (LDFLAGS-noload): Likewise.
51298         (LDFLAGS-next): Likewise.
51299         (LDFLAGS-order2mod1.so): Likewise.
51300         (LDFLAGS-order2mod2.so): Likewise.
51301         (LDFLAGS-tst-initorder2): Likewise.
51302         (LDFLAGS-tst-initorder2a.so): Likewise.
51303         (LDFLAGS-tst-initorder2b.so): Likewise.
51304         (LDFLAGS-tst-initorder2c.so): Likewise.
51305         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51307 2012-05-02  David S. Miller  <davem@davemloft.net>
51309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51311 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51313         [BZ #14055]
51314         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51316 2012-05-02  Andreas Jaeger  <aj@suse.de>
51318         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51319         since we manipulate rounding mode.
51320         (CPPFLAGS-test-idouble.c): Likewise.
51321         (CPPFLAGS-test-ifloat.c): Likewise.
51322         (CFLAGS-test-ldouble.c): Likewise.
51323         (CFLAGS-test-double.c): Likewise.
51324         (CFLAGS-test-float.c): Likewise.
51325         (CFLAGS-test-misc.c): Likewise.
51326         (CFLAGS-test-test-fenv.c): Likewise.
51328 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51330         [BZ #2550]
51331         [BZ #2570]
51332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51333         comparisons to determine direction to adjust input.
51335 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51337         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51338         output to the target.
51340         * scripts/localplt.awk: New file.
51341         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51342         (check-localplt-CFLAGS): Variable removed.
51343         ($(all-built-dso:=.jmprel)): New static pattern rule.
51344         (generated): Add those targets.
51345         (localplt-built-dso): New variable.
51346         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51348         * elf/check-localplt.c: File removed.
51350         * scripts/check-execstack.awk: New file.
51351         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51352         (check-execstack-CFLAGS): Variable removed.
51353         ($(objpfx)check-execstack.h): Target removed.
51354         ($(objpfx)execstack-default): New target.
51355         (generated): Add that instead of check-execstack.h.
51356         ($(all-built-dso:=.phdr)): New static pattern rule.
51357         (generated): Add those targets.
51358         * elf/check-execstack.c: File removed.
51360         * scripts/check-textrel.awk: New file.
51361         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51362         (check-textrel-CFLAGS): Variable removed.
51363         (all-built-dso): Use := to define.o
51364         ($(all-built-dso:=.dyn)): New static pattern rule.
51365         (generated): Add those targets.
51366         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51367         * config.make.in (READELF): New substituted variable.
51368         * elf/check-textrel.c: File removed.
51370 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51372         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51373         allow.
51374         * conform/data/ctype.h-data [C99-based standards] (isblank):
51375         Expect function.
51376         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51377         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51378         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51379         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51380         Specify type.  Require positive value.
51381         (EILSEQ): Likewise.
51382         (ERANGE): Likewise.
51383         [ISO || POSIX] (EILSEQ): Do not expect.
51384         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51385         Specify type.  Require positive value.
51386         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51387         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51388         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51389         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51390         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51391         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51392         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51393         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51394         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51395         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51396         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51397         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51398         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51399         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51400         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51401         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51402         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51403         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51404         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51405         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51406         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51407         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51408         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51409         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51410         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51411         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51412         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51413         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51414         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51415         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51416         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51417         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51418         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51419         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51420         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51421         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51422         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51423         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51424         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51425         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51426         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51427         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51428         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51429         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51430         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51431         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51432         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51433         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51434         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51435         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51436         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51437         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51438         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51439         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51440         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51441         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51442         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51443         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51444         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51445         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51446         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51447         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51448         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51449         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51450         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51451         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51452         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51453         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51454         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51455         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51456         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51457         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51458         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51459         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51460         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51461         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51462         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51463         Require >= 2.
51464         (FLT_ROUNDS): Expect as macro, not constant.
51465         (FLT_MANT_DIG): Use macro-int-constant.
51466         (DBL_MANT_DIG): Likewise.
51467         (LDBL_MANT_DIG): Likewise.
51468         (FLT_DIG): Likewise.
51469         (DBL_DIG): Likewise.
51470         (LDBL_DIG): Likewise.
51471         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51472         (DBL_MIN_EXP): Likewise.
51473         (LDBL_MIN_EXP): Likewise.
51474         (FLT_MAX_EXP): Use macro-int-constant.
51475         (DBL_MAX_EXP): Likewise.
51476         (LDBL_MAX_EXP): Likewise.
51477         (FLT_MAX_10_EXP): Likewise.
51478         (DBL_MAX_10_EXP): Likewise.
51479         (LDBL_MAX_10_EXP): Likewise.
51480         (FLT_MAX): Use macro-constant.
51481         (DBL_MAX): Likewise.
51482         (LDBL_MAX): Likewise.
51483         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51484         (DBL_EPSILON): Likewise.
51485         (LDBL_EPSILON): Likewise.
51486         (FLT_MIN): Likewise.
51487         (DBL_MIN): Likewise.
51488         (LDBL_MIN): Likewise.
51489         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51490         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51491         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51492         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51493         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51494         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51495         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51496         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51497         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51498         [ISO11] (FLT_TRUE_MIN): Likewise.
51499         [ISO11] (LDBL_TRUE_MIN): Likewise.
51500         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51501         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51502         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51503         (SCHAR_MAX): Likewise.
51504         (UCHAR_MAX): Likewise.
51505         (CHAR_MIN): Likewise.
51506         (CHAR_MAX): Likewise.
51507         (MB_LEN_MAX): Use macro-int-constant.
51508         (SHRT_MIN): Use macro-int-constant.  Specify type.
51509         (SHRT_MAX): Likewise.
51510         (USHRT_MAX): Likewise.
51511         (INT_MAX): Likewise.
51512         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51513         bound negative.
51514         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51515         bound with "U".
51516         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51517         bound with "L".
51518         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51519         bound negative.  Suffix upper bound with "L".
51520         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51521         bound with "UL".
51522         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51523         Specify type.
51524         [C99-based standards] (LLONG_MAX): Likewise.
51525         [C99-based standards] (ULLONG_MAX): Likewise.
51526         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51527         == 0.
51528         [ISO11] (max_align_t): Require type.
51529         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51531         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51532         from $CFLAGS, without defining away __attribute__ calls.
51533         (checknamespace): Use $CFLAGS_namespace.
51535         * conform/conformtest.pl (@keywords): Only include C99 keywords
51536         for standards based on C99 or C11.
51538         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51539         Disable tests.
51540         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51541         UNIX98]: Likewise.
51543         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51544         usability of symbols in #if.
51546         * conform/conformtest.pl: If macro or constant types start
51547         "promoted:", expect the symbol to be of the following type
51548         promoted by the integer promotions.
51550         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51551         in one place.  Also handle "macro-constant".
51553         * conform/conformtest.pl: Only accept expected macro values with
51554         "==".  Parse all "macro" lines in one place.
51555         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51557         * conform/conformtest.pl: Handle braced types on "constant" lines
51558         instead of handling "typed-constant".
51559         * conform/data/signal.h-data: Use "constant" instead of
51560         "typed-constant".
51562         * conform/conformtest.pl: Handle "optional-" at start of lines in
51563         one place rather than duplicating several cases.  Handle each
51564         format of "macro" line with initial "optional-".
51566         * conform/conformtest.pl: Only accept expected constant or
51567         optional-constant values with "==".  Parse all "constant" lines in
51568         one place.  Parse all "optional-constant" lines in one place.
51569         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51570         * conform/data/fmtmsg.h-data: Likewise.
51571         * conform/data/netinet/in.h-data: Likewise.
51572         * conform/data/tar.h-data: Likewise.
51573         * conform/data/limits.h-data: Use "==" form on "constant" and
51574         "optional-constant" lines.
51576         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51577         Use -std=c99 for XOPEN2K.
51578         (@knownproblems): Remove.
51579         (newtoken): Don't check %isknown.
51581         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51582         Do not expect macro.
51583         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51584         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51585         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51586         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51587         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51588         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51589         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51590         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51591         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51592         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51593         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51594         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51595         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51596         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51597         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51598         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51599         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51600         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51601         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51602         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51603         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51604         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51605         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51606         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51607         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51608         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51609         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51610         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51611         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51612         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51613         [XPG3] (acosh): Likewise.
51614         [XPG3] (asinh): Likewise.
51615         [XPG3] (atanh): Likewise.
51616         [XPG3] (cbrt): Likewise.
51617         [XPG3] (expm1): Likewise.
51618         [XPG3] (ilogb): Likewise.
51619         [XPG3] (log1p): Likewise.
51620         [XPG3] (logb): Likewise.
51621         [XPG3] (nextafter): Likewise.
51622         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51623         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51624         [XPG3] (remainder): Likewise.
51625         [XPG3] (rint): Likewise.
51626         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51627         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51628         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51629         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51630         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51631         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51632         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51633         [UNIX98 || XOPEN2K] (scalb): Expect.
51634         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51635         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51636         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51637         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51638         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51639         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51640         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51641         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51642         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51643         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51644         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51645         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51646         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51647         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51648         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51649         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51650         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51651         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51652         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51653         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51654         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51655         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51656         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51657         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51658         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51659         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51660         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51661         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51662         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51663         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51664         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51665         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51666         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51667         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51668         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51669         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51670         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51671         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51672         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51673         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51674         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51675         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51676         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51677         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51678         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51679         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51680         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51681         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51682         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51683         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51684         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51685         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51686         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51687         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51688         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51689         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51690         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51691         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51692         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51693         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51694         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51695         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51696         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51697         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51698         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51699         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51700         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51701         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51702         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51703         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51704         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51705         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51706         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51707         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51708         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51709         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51710         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51711         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51712         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51713         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51714         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51715         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51716         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51717         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51718         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51719         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51720         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51721         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51722         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51723         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51724         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51725         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51726         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51727         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51728         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51729         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51730         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51731         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51732         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51733         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51734         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51735         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51736         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51737         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51738         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51739         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51740         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51741         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51742         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51743         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51744         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51745         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51746         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51747         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51748         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51749         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51750         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51751         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51752         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51753         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51754         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51755         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51756         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51757         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51758         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51759         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51760         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51761         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51762         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51763         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51764         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51765         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51766         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51767         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51768         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51769         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51770         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51772         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51773         _XOPEN_SOURCE_EXTENDED for XPG4.
51775         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51777         * Makeconfig (localtime): Remove variable.
51778         (inst_localtime-file): Likewise.
51780 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51783         Update.
51784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51785         Update.
51786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51787         Update.
51788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51789         Update.
51790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51791         Update.
51792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51793         Update.
51794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51795         Update.
51796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51797         Update.
51798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51799         Update.
51801 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51803         [BZ #2550]
51804         [BZ #2570]
51805         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51806         comparisons to determine direction to adjust input.
51807         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51808         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51809         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51810         Likewise.
51811         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51812         Likewise.
51813         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51814         Likewise.
51815         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51816         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51817         Likewise.
51818         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51819         Likewise.
51820         * math/libm-test.inc (nexttoward_test): Add more tests.
51822 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51824         [BZ #14040]
51825         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51826         in version GLIBC_2.1, not GLIBC_2.0.
51827         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51828         Likewise.
51830 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51832         [BZ #13942]
51833         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51834         (1 - x) * (1 + x).
51835         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51836         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51837         * math/libm-test.inc (acos_test): Add more tests.
51838         (asin_test): Likewise.
51839         * sysdeps/i386/fpu/libm-test-ulps: Update.
51840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51842         [BZ #14034]
51843         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51844         of square root.
51845         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51846         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51847         * math/libm-test.inc (acos_test_tonearest): New function.
51848         (acos_test_towardzero): Likewise.
51849         (acos_test_downward): Likewise.
51850         (acos_test_upward): Likewise.
51851         (asin_test_tonearest): Likewise.
51852         (asin_test_towardzero): Likewise.
51853         (asin_test_downward): Likewise.
51854         (asin_test_upward): Likewise.
51855         (main): Call the new functions.
51856         * sysdeps/i386/fpu/libm-test-ulps: Update.
51857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51859         [BZ #13884]
51860         [BZ #13924]
51861         * math/e_exp10.c: Include <float.h>.
51862         (__ieee754_exp10): Handle underflow here rather than multiplying
51863         large negative argument by M_LN10.
51864         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51865         of __ieee754_expf.
51866         * math/e_exp10l.c: Include <float.h>.
51867         (__ieee754_exp10l): Handle underflow here rather than multiplying
51868         large negative argument by M_LN10l.
51869         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51870         spurious overflow exception on underflow.
51872 2012-04-29  Marek Polacek  <polacek@redhat.com>
51874         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51875         (__fortify_function): New macro.
51876         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51877         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51878         __extern_always_inline.
51879         * libio/bits/stdio2.h: Likewise.
51880         * libio/bits/stdio.h: Likewise.
51881         * string/string.h: Likewise.
51882         * string/bits/string3.h: Likewise.
51883         * include/stdio.h: Likewise.
51884         * stdlib/bits/stdlib.h: Likewise.
51885         * stdlib/stdlib.h: Likewise.
51886         * rt/bits/mqueue2.h: Likewise.
51887         * rt/mqueue.h: Likewise.
51888         * posix/bits/unistd.h: Likewise.
51889         * posix/unistd.h: Likewise.
51890         * io/bits/poll2.h: Likewise.
51891         * io/bits/fcntl2.h: Likewise.
51892         * io/fcntl.h: Likewise.
51893         * io/sys/poll.h: Likewise.
51894         * misc/bits/syslog.h: Likewise.
51895         * misc/bits/syslog-ldbl.h: Likewise.
51896         * misc/sys/syslog.h: Likewise.
51897         * socket/bits/socket2.h: Likewise.
51898         * socket/sys/socket.h: Likewise.
51899         * debug/tst-chk1.c: Likewise.
51900         * wcsmbs/bits/wchar2.h: Likewise.
51901         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51902         * wcsmbs/wchar.h: Likewise.
51904 2012-04-29  Andreas Jaeger  <aj@suse.de>
51906         * Makerules (tests): Remove enable-check-abi protection.
51907         (check-abi-warn): Remove.
51908         (check-abi-%): Remove check-abi-warn usage.
51910         * configure.in: Remove check-abi configure option.
51911         * configure: Regenerated.
51912         * config.make.in (enable-check-abi): Remove.
51914 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51916         [BZ #14033]
51917         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51918         double functions to double *_finite functions.
51920         [BZ #13941]
51921         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51922         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51923         LDBL_MIN_EXP.
51924         * stdio-common/Makefile (tests): Add tst-sprintf3.
51925         * stdio-common/tst-sprintf3.c: New file.
51927         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51928         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51930 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51932         * conform/conformtest.pl: Remove duplicate typed-constant
51933         handling.
51935 2012-04-28  David S. Miller  <davem@davemloft.net>
51937         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51938         (check-abi-%): Remove AWK script prerequisite and explicit
51939         abilist directory.
51940         (check-abi): Rewrite to just diff the symlist with the abilist.
51941         (config-tls, config-abi-config): Delete, no longer used.
51942         (update-abi-%): Remove AWK script and explicit abilist directory.
51943         (update-abi): Rewrite to simply compare and conditionally copy the
51944         symlist and the sysdep abilist file.  Remove update-abi-config
51945         checks.
51946         * abilist/ld.abilist: Remove.
51947         * abilist/libBrokenLocale.abilist: Remove.
51948         * abilist/libanl.abilist: Remove.
51949         * abilist/libcrypt.abilist: Remove.
51950         * abilist/libdl.abilist: Remove.
51951         * abilist/librt.abilist: Remove.
51952         * abilist/libthread_db.abilist: Remove.
51953         * abilist/libutil.abilist: Remove.
51954         * scripts/extract-abilist.awk: Remove.
51955         * scripts/merge-abilist.awk: Remove.
51956         * sysdeps/generic/libcidn.abilist: New file.
51957         * sysdeps/generic/libnss_compat.abilist: New file.
51958         * sysdeps/generic/libnss_db.abilist: New file.
51959         * sysdeps/generic/libnss_dns.abilist: New file.
51960         * sysdeps/generic/libnss_files.abilist: New file.
51961         * sysdeps/generic/libnss_hesiod.abilist: New file.
51962         * sysdeps/generic/libnss_nis.abilist: New file.
51963         * sysdeps/generic/libnss_nisplus.abilist: New file.
51964         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51965         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51966         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51967         file.
51968         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51969         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51970         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51971         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51972         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51973         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51974         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51975         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51976         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51977         file.
51978         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51979         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51980         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51981         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51982         file.
51983         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51984         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51985         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51986         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51987         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51988         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51989         file.
51990         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51991         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51992         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51993         file.
51994         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51996         New file.
51997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51998         New file.
51999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52000         New file.
52001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52002         New file.
52003         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52004         New file.
52005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52006         New file.
52007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52008         New file.
52009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52010         New file.
52011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52012         New file.
52013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52014         New file.
52015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52016         New file.
52017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52018         New file.
52019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52020         New file.
52021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52022         file.
52023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52024         New file.
52025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52026         New file.
52027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52028         file.
52029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52030         New file.
52031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52032         New file.
52033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52034         file.
52035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52036         New file.
52037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52038         New file.
52039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52040         New file.
52041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52042         New file.
52043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52044         New file.
52045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52046         New file.
52047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52049         file.
52050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52051         New file.
52052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52053         file.
52054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52055         file.
52056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52057         file.
52058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52059         file.
52060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52061         file.
52062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52063         New file.
52064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52065         file.
52066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52067         file.
52068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52069         New file.
52070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52071         file.
52072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52074         file.
52075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52076         New file.
52077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52078         file.
52079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52080         file.
52081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52082         file.
52083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52084         file.
52085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52086         file.
52087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52088         New file.
52089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52090         file.
52091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52092         file.
52093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52094         New file.
52095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52096         file.
52097         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52098         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52099         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52100         file.
52101         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52102         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52103         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52104         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52105         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52106         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52107         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52108         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52109         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52110         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52113         file.
52114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52115         New file.
52116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52117         file.
52118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52119         file.
52120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52121         file.
52122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52123         file.
52124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52125         file.
52126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52127         New file.
52128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52129         New file.
52130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52131         file.
52132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52133         New file.
52134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52135         file.
52136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52138         file.
52139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52140         New file.
52141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52142         file.
52143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52144         file.
52145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52146         file.
52147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52148         file.
52149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52150         file.
52151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52152         New file.
52153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52154         New file.
52155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52156         file.
52157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52158         New file.
52159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52160         file.
52162 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52164         * conform/conformtest.pl: Fix typo in handling typed-constant from
52165         allow-header.
52167 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52169         * README: Cut down references to pre-2.6 Linux kernels and
52170         Linuxthreads.  Update lists of configurations in libc and ports
52171         and sort alphabetically.  Say "or newer" with Linux kernel version
52172         requirements.
52174         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52176 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52178         [BZ #887]
52179         * math/libm-test.inc (logb_test_downward): New test to expose
52180         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52181         rounding mode.
52183 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52185         [BZ #14027]
52186         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52187         to be done.
52188         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52189         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52191 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52193         * sysdeps/unix/i386/brk.S: Remove file.
52194         * sysdeps/unix/i386/dl-brk.S: Likewise.
52195         * sysdeps/unix/i386/pipe.S: Likewise.
52196         * sysdeps/unix/i386/sigreturn.S: Likewise.
52197         * sysdeps/unix/i386/syscall.S: Likewise.
52198         * sysdeps/unix/i386/vfork.S: Likewise.
52199         * sysdeps/unix/i386/wait.S: Likewise.
52201         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52202         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52204         * configure.in (arm*-none*): Do not allow without
52205         --enable-hacker-mode.
52206         (netbsd*): Remove case setting base_os.
52207         (386bsd*): Likewise.
52208         (freebsd*): Likewise.
52209         (bsdi*): Likewise.
52210         (osf*): Likewise.
52211         (sunos*): Likewise.
52212         (ultrix*): Likewise.
52213         (newsos*): Likewise.
52214         (dynix*): Likewise.
52215         (*bsd*): Likewise.
52216         (sysv*): Likewise.
52217         (isc*): Likewise.
52218         (esix*): Likewise.
52219         (sco*): Likewise.
52220         (minix*): Likewise.
52221         (irix4*): Likewise.
52222         (irix6*): Likewise.
52223         (solaris[2-9]*): Likewise.
52224         (none): Likewise.
52225         * configure: Regenerated.
52227 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52229         [BZ #11521]
52230         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52231         overflow or cancellation in calculating denominator.
52232         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52234         down expression to avoid unexpected rounding in newer GCCs.
52235         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52237 2012-04-26  David S. Miller  <davem@davemloft.net>
52239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52240         long-double compat symbols.
52241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52255 2012-04-25  David S. Miller  <davem@davemloft.net>
52257         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52258         HWCAP_* values only after the memory barriers have been defined.
52259         (atomic_full_barrier): Define.
52260         (atomic_read_barrier): Define.
52261         (atomic_write_barrier): Define.
52263 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52265         * shlib-versions: Add libgcc_s version information.
52266         * sysdeps/generic/libgcc_s.h: Remove.
52267         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52268         libgcc_s.h.
52269         * sysdeps/gnu/unwind-resume.c: Likewise.
52270         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52272 2012-04-25  David S. Miller  <davem@davemloft.net>
52274         * sysdeps/unix/sparc/brk.S: Delete.
52275         * sysdeps/unix/sparc/dl-brk.S: Delete.
52276         * sysdeps/unix/sparc/pipe.S: Delete.
52277         * sysdeps/unix/sparc/sysdep.S: Delete.
52278         * sysdeps/unix/sparc/sysdep.h: Delete.
52279         * sysdeps/unix/sparc/vfork.S: Delete.
52280         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52281         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52282         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52283         (ret_ERRVAL, r0, r1, MOVE): Define.
52284         (JUMPTARGET): Remove.
52285         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52286         sysdeps/unix/sparc/sysdep.h
52287         (ENTRY, END): Remove.
52288         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52290 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52292         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52293         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52294         -DIS_IN_build.
52296         * timezone/README: Update upstream location and email address for
52297         tzcode and tzdata.
52298         * timezone/zdump.c: Update from tzcode 2012b.
52299         * timezone/zic.c: Likewise.
52301         * configure.in (libc_cv_as_needed): Remove test.
52302         * configure: Regenerated.
52303         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52304         conditional definition.
52305         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52306         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52307         * config.make.in (have-as-needed): Remove variable.
52309 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52310             Paul Pluzhnikov  <ppluzhnikov@google.com>
52312         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52313         strings correctly.
52315 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52317         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52318         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52319         * sysdeps/sh/strlen.S: Likewise.
52321 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52323         * sysdeps/unix/fork.S: Remove file.
52324         * sysdeps/unix/i386/fork.S: Likewise.
52325         * sysdeps/unix/sparc/fork.S: Likewise.
52327         * sysdeps/unix/system.c: Remove file.
52328         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52330         * sysdeps/unix/getegid.S: Remove file.
52331         * sysdeps/unix/geteuid.S: Likewise.
52333 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52335         * scripts/check-localplt.awk: New file.
52336         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52337         of diff.
52338         * scripts/data/localplt-generic.data: Add a comment.
52340         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52341         NODE when __dir_mkfile failed.
52342         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52343         Reported by Ludovic Courtès <ludo@gnu.org>.
52345 2012-04-24  Andreas Jaeger  <aj@suse.de>
52347         * Makerules (common-clean): Also remove gen-as-const-headers
52348         files.
52350 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52352         * Makerules (native-compile): Do not change working directory for
52353         build.  Use $(OUTPUT_OPTION) in command.
52354         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52356 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52358         [BZ #13886]
52359         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52360         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52361         * math/libm-test.inc (floor_test): Add more tests.
52362         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52364 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52366         * sysdeps/unix/getdents.c: Remove file.
52367         * sysdeps/unix/sysv/getdents.c: Likewise.
52368         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52370         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52371         sysdeps/unix/mman/syscalls.list.
52372         (mmap): Likewise.
52373         (mprotect): Likewise.
52374         (msync): Likewise.
52375         (munmap): Likewise.
52376         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52377         * sysdeps/unix/mman/syscalls.list: Remove.
52378         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52380         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52381         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52382         * configure: Regenerated.
52383         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52384         $(libgcc_s_suffix).
52385         * config.make.in (libgcc_s_suffix): Remove variable.
52387 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52389         * sysdeps/unix/sysv/gethostname.c: Move to ...
52390         * sysdeps/posix/gethostname.c: ... here.
52392         * sysdeps/unix/execve.S: Remove file.
52394         * sysdeps/unix/_exit.S: Remove file.
52396 2012-04-23  Andreas Jaeger  <aj@suse.de>
52398         [BZ #13739]
52399         * manual/Makefile: Remove make dist support, there's no
52400         need for a stand-alone documentation tar ball.
52401         (TEXI2DVI): Define always, it's not in Makeconfig.
52402         (dist): Removed.
52403         (tar-it): Removed.
52404         (edition): Removed.
52405         (glibc-doc-$(edition).tar): Removed
52406         (%.Z): Removed.
52407         (%.gz): Removed.
52408         (%.uu): Removed.
52409         (ETAGS): Remove, it's in Makeconfig.
52410         (move-if-change): Remove, it's in Makeconfig.
52412 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52414         [BZ #13970]
52415         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52416         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52417         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52418         (strtod_l, strtof_l, strtold_l): Remove __wur.
52419         It is not necessarily an error to ignore strtol's return value.
52420         One can reliably look at the stored endptr to decide whether
52421         the number had valid syntax.
52423 2012-04-21  Andreas Jaeger  <aj@suse.de>
52425         [BZ #13739]
52426         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52428 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52430         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52431         * sysdeps/unix/sysv/Versions: Remove file.
52433 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52435         [BZ #13927]
52436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52438 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52440         [BZ #7064]
52441         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52442         version from __vm86.
52444 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52446         * sysdeps/unix/common/lxstat.c: Remove file.
52447         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52449         * sysdeps/unix/sysv/Makefile: Remove file.
52451         * sysdeps/unix/sysv/direct.h: Remove file.
52453         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52454         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52455         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52456         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52457         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52458         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52459         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52461         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52463         * sysdeps/unix/xmknod.c: Remove file.
52464         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52466         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52468         * sysdeps/unix/sysv/i386/time.S: Remove file.
52470         * sysdeps/unix/fxstat.c: Remove file.
52471         * sysdeps/unix/xstat.c: Likewise.
52472         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52474         * sysdeps/unix/sysv/sigaction.c: Remove file.
52476         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52477         (sysdep_headers): Remove variable.
52478         [termio.h not in sysdep_headers] (generated): Likewise.
52479         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52480         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52481         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52482         * sysdeps/unix/sysv/tcflow.c: Likewise.
52483         * sysdeps/unix/sysv/tcflush.c: Likewise.
52484         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52485         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52486         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52487         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52488         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52490         * sysdeps/unix/siglist.c: Remove file.
52492         * sysdeps/unix/getppid.S: Remove file.
52494         * sysdeps/unix/mkdir.c: Remove file.
52495         * sysdeps/unix/rmdir.c: Likewise.
52497 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52499         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52500         ERR_MAX value.
52501         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52502         errlist-compat value.
52504 2012-04-18  David S. Miller  <davem@davemloft.net>
52506         * sysdeps/generic/memcopy.h (reg_char): Delete.
52507         * debug/strcat_chk.c: Use char, not reg_char.
52508         * debug/strcpy_chk.c: Likewise.
52509         * debug/strncat_chk.c: Likewise.
52510         * debug/strncpy_chk.c: Likewise.
52511         * string/memchr.c: Likewise.
52512         * string/memrchr.c: Likewise.
52513         * string/rawmemchr.c: Likewise.
52514         * string/strcat.c: Likewise.
52515         * string/strchr.c: Likewise.
52516         * string/strchrnul.c: Likewise.
52517         * string/strcmp.c: Likewise.
52518         * string/strcpy.c: Likewise.
52519         * string/strncat.c: Likewise.
52520         * string/strncmp.c: Likewise.
52521         * string/strncpy.c: Likewise.
52523 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52525         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52526         __builtin_memcopy is called when src and dest ranges are known to not
52527         overlap.
52529 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52531         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52532         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52533         fwd_align_merge macro call.
52534         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52535         bwd_align_merge macro call.
52536         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52538 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52540         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52541         bwd_align_merge macros.
52542         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52543         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52544         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52546 2012-04-18  David S. Miller  <davem@davemloft.net>
52548         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52550 2012-04-18  Andreas Jaeger  <aj@suse.de>
52552         [BZ# 6794]
52553         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52554         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52555         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52557         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52558         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52559         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52561         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52562         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52563         Adjust for changed ldbl-128 files.
52565         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52566         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52567         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52569 2012-04-17  David S. Miller  <davem@davemloft.net>
52571         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52573 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52575         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52576         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52577         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52578         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52579         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52580         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52582 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52584         [BZ #6794]
52585         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52586         * math/libm-test.inc: Add ilogb errno and exception tests.
52587         * math/w_ilogb.c: New file: ilogb wrapper.
52588         * math/w_ilogbf.c: New file: ilogbf wrapper.
52589         * math/w_ilogbl.c: New file: ilogbl wrapper.
52590         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52591         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52592         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52593         exception being thrown with 0.0 as argument.
52594         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52595         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52596         exception being thrown with 0.0 as argument.
52597         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52598         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52599         exception being thrown with 0.0 as argument.
52600         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52601         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52602         exception being thrown with 0.0 as argument.
52603         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52604         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52605         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52606         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52607         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52608         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52609         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52610         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52611         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52613 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52615         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52616         with altivec.
52618 2012-04-16  Marek Polacek  <polacek@redhat.com>
52620         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52622 2012-04-16  Marek Polacek  <polacek@redhat.com>
52624         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52625         operands of fdivp instruction.
52627 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52629         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52630         * elf/tst-auditmod3b.c: Likewise.
52631         * elf/tst-auditmod4b.c: Likewise.
52632         * elf/tst-auditmod5b.c: Likewise.
52633         * elf/tst-auditmod6b.c: Likewise.
52634         * elf/tst-auditmod6c.c: Likewise.
52635         * elf/tst-auditmod7b.c: Likewise.
52636         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52637         * sysdeps/x86_64/preconfigure.in: Likewise.
52638         * sysdeps/x86_64/preconfigure: Regenerated.
52640 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52642         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52643         __ILP32__.
52645 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52647         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52648         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52650 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52652         [BZ #13973]
52653         * locale/iso-639.def: Fix gl language name. Spotted by
52654         Yaron Shahrabani.
52656 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52658         [BZ #2074]
52659         * libio/libio.h (__io_write_fn): Update comment.
52661 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52663         [BZ #2074]
52664         * stdio.texi (Hook Functions): The user provided writer function
52665         is not allowed to return -1.
52667 2012-04-11  David S. Miller  <davem@davemloft.net>
52669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52671 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52673         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52674         Add a leading slash to rtkaio.
52676 2012-04-11  Jim Meyering  <meyering@redhat.com>
52678         [BZ #11959]
52679         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52680         It is not necessarily an error to ignore fwrite's return
52681         value.  One can reliably use ferror to test for errors after
52682         the fact.
52684 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52686         * bits/types.h (__snseconds_t): New type.
52687         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52689         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52690         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52691         (__SNSECONDS_T_TYPE): Likewise.
52692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52693         (__SNSECONDS_T_TYPE): Likewise.
52694         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52695         (__SNSECONDS_T_TYPE): Likewise.
52697 2012-04-10  Andreas Jaeger  <aj@suse.de>
52699         [BZ #2636]
52700         * manual/time.texi (Processor Time): Return type of times is
52701         elapsed real time since an arbitrary point in the past.
52702         (CPU Time): Move CLK_TCK from here...
52703         (Processor Time): ...to here.  Correct description.
52704         * manual/conf.texi (Constants for Sysconf): Correct description of
52705         _SC_CLK_TCK.
52707 2012-04-10  David S. Miller  <davem@davemloft.net>
52709         [BZ #13967]
52710         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52711         where the is a gap between DT_REL(A) and DT_JMPREL.
52713 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52715         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52716         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52717         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52719 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52721         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52722         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52723         (dl_main): Handle --inhibit-cache.
52724         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52725         _dl_inhibit_cache.
52726         * elf/dl-load.c (_dl_map_object): Use it.
52727         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52729 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52731         [BZ #13872]
52732         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52733         (__ieee754_powl): Saturate large exponents rather than testing for
52734         overflow of y*log2(x).
52735         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52736         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52737         exceptions.
52739         [BZ #11521]
52740         * math/s_ctan.c: Include <float.h>.
52741         (__ctan): Avoid internal overflow or cancellation in calculating
52742         denominator.
52743         * math/s_ctanf.c: Likewise.
52744         * math/s_ctanl.c: Likewise.
52745         * math/s_ctanh.c: Likewise.
52746         * math/s_ctanhf.c: Likewise.
52747         * math/s_ctanhl.c: Likewise.
52748         * math/libm-test.inc (ctan_test): Add more tests.
52749         (ctanh_test): Likewise.
52750         * sysdeps/i386/fpu/libm-test-ulps: Update.
52751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52753 2012-04-09  Andreas Jaeger  <aj@suse.de>
52755         [BZ #6894]
52756         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52757         is an optional BSD extension.
52759         [BZ #10254]
52760         * manual/stdio.texi (Opening Streams): Document additional fopen
52761         parameters.
52763 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52765         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52766         %eax without telling the compiler.
52768 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52770         [BZ # 13963]
52771         * manual/install.texi: Use sourceware.org.
52773 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52775         [BZ #13873]
52776         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52777         (__ieee754_pow): Generate overflow and underflow using huge*huge
52778         and tiny*tiny rather than just returning constant infinity or zero
52779         for large exponents.
52780         * math/libm-test.inc (pow_test): Require overflow exceptions for
52781         applicable cases of large exponents.
52783         [BZ #706]
52784         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52785         (__ieee754_pow): Use iterative multiplication algorithm only for
52786         integer exponents with absolute value below 1024.  Check for odd
52787         integer exponents when using algorithm for real exponents.
52788         * math/libm-test.inc (pow_test): Add more tests.
52789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52791 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52793         [BZ #13705]
52794         * math/libm-test.inc (exp_test): Do not allow overflow exception
52795         on underflow test.
52797 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52799         [BZ #13705]
52800         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52801         instead of __kernel_standard_f.
52803 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52805         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52806         * sysdeps/x86_64/memset_chk.S: Likewise.
52808 2012-04-08  Andreas Jaeger  <aj@suse.de>
52810         [BZ #10153]
52811         * manual/startup.texi (Environment Access): Describe return value
52812         for putenv and setenv.
52814         [BZ #6895]
52815         * manual/filesys.texi (Directory Entries): Add description for
52816         DT_LNK.
52818         [BZ #6890]
52819         * manual/filesys.texi (Directory Entries): Clarify that it's file
52820         system not operating system in the description of DT_UNKNOWN.
52822         [BZ #6578]
52823         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52825 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52827         [BZ #6649]
52828         * manual/llio.texi (Opening and Closing Files): Add cross
52829         reference to explain mode argument.
52831 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52833         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52834         * sysdeps/x86_64/memset_chk.S: Likewise.
52836 2012-04-07  David S. Miller  <davem@davemloft.net>
52838         * elf/elf.h (R_SPARC_WDISP10): Define.
52839         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52840         R_SPARC_SIZE32.
52841         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52842         R_SPARC_SIZE64 and R_SPARC_H34.
52844 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52846         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52847         conditions and remove no longer applicable assertion.
52849 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52851         * bits/byteswap.h: Include <features.h>.
52852         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52853         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52855 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52857         * bits/byteswap.h (__bswap_16): Removed.
52858         Include <bits/byteswap-16.h> to get __bswap_16.
52859         * sysdeps/i386/bits/byteswap.h: Likewise.
52860         * sysdeps/s390/bits/byteswap.h: Likewise.
52861         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52862         * bits/byteswap-16.h: New file.
52863         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52864         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52865         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52866         * string/Makefile (headers): Add bits/byteswap-16.h.
52868 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52870         [BZ #13895]
52871         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52872         extra indirection.
52873         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52874         * nss/tst-nss-static.c: New.
52876 2012-04-06  Robert Millan  <rmh@gnu.org>
52878         [BZ #6486]
52879         * manual/llio.texi (File Position Primitive): lseek
52880         refers to WHENCE when it really means OFFSET.
52882 2012-04-06  Andreas Jaeger  <aj@suse.de>
52884         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52885         strncmp declarations.
52887         * abilist/libc.abilist: Add __poll and __ppoll.
52889 2012-04-05  David S. Miller  <davem@davemloft.net>
52891         * scripts/check-local-headers.sh: Accept a host triplet in the
52892         path matched by the exclude regexp.
52894         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52895         definition.
52896         * sysdeps/powerpc/powerpc32/dl-machine.h
52897         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52898         * sysdeps/s390/s390-32/dl-machine.h
52899         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52900         * sysdeps/sparc/sparc32/dl-machine.h
52901         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52902         * sysdeps/sparc/sparc64/dl-machine.h
52903         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52905         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52906         lazy binding.
52907         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52908         undefined symbol errors.
52910         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52911         DT_NEEDED entries.
52913 2012-04-05  Michael Matz  <matz@suse.de>
52915         [BZ #13592]
52916         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52918 2012-04-05  Andreas Jaeger  <aj@suse.de>
52920         [BZ #13908]
52921         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52922         comment.
52924 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52926         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52927         which ROUND is no valid rounding mode.
52929 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52931         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52932         read again.
52933         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52935 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52937         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52938         an exception using FPU order intentionally.
52940 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52942         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52943         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52944         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52945         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52947 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52949         [BZ #12340]
52950         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52951         EINVAL when BUFLEN is too smal.
52953 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52955         [BZ #13553]
52956         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52957         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52959 2012-04-03  Andreas Jaeger  <aj@suse.de>
52961         [BZ #13938]
52962         * manual/setjmp.texi (System V contexts): Fix sentence.
52964         [BZ #13926]
52965         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52966         New macro for this case.
52967         [!__GNUC__] (__bswap_64): New inline function for this case.
52968         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52969         * bits/byteswap.h: Likewise.
52970         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52971         ull, guard with __GLIBC_HAVE_LONG_LONG.
52973         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52974         __GLIBC_HAVE_LONG_LONG.
52976         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52977         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52979 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52981         [BZ #13691]
52982         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52983         inptr and inend, rather than using last_ch.
52985 2012-04-02  David S. Miller  <davem@davemloft.net>
52987         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52988         * stdio-common/printf-parse.h (read_int): Change return type to
52989         'int', return -1 on INT_MAX overflow.
52990         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52991         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52992         overflows INT_MAX.  Check for overflow of in-format-string precision
52993         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52994         SIZE_MAX not INT_MAX for integer overflow test.
52995         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52996         skip the construct in the format string but do not record anything.
52997         * stdio-common/bug22.c: Adjust to test both width/prevision
52998         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52999         explicitly for proper errno values.
53001 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53003         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53004         CHAR_MAX.
53005         * string/test-strcmp.c [! WIDE]: Likewise.
53006         * time/tst-mktime2.c: Likewise for INT_MAX.
53007         * string/test-string.h: #include <sys/param.h> for MIN.
53009         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53010         * sysdeps/i386/init-first.c (init): Likewise.
53011         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53012         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53013         * sysdeps/sh/init-first.c (init): Likewise.
53015 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53017         * po/ru.po: Update from translation team.
53018         * po/vi.po: Likewise.
53020 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53022         * resolv/nss_dns/dns-host.c: Merge copyright years.
53024 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53026         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53027         Optimize memcpy with prefetch if
53028         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53029         src, dst pointers have unequal 16 byte alignments.
53031 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53033         [BZ #13928]
53034         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53035         from a CNAME entry and return the minimum ttl for the query.
53036         (gaih_getanswer_slice): Likewise.
53038 2012-03-30  Jeff Law  <law@redhat.com>
53040         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53041         due to long keys.
53042         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53043         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53045         * resolv/nss_dns/dns-host.c: Update copyright year.
53047 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53049         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53050         requests to save a system call.  Fix check that all bytes are sent.
53052         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53053         comments for sendmmsg.
53055 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53057         [BZ #13691]
53058         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53059         with only 1 character between 0x0041 and 0x01b0.
53060         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53061         * wcsmbs/tst-mbsnrtowcs.c: New file.
53063 2012-03-29  David S. Miller  <davem@davemloft.net>
53065         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53066         small copies by hand.
53068 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53070         [BZ #13761]
53071         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53072         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53073         group memberships.
53075 2012-03-28  David S. Miller  <davem@davemloft.net>
53077         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53078         that branches into memcpy.
53079         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53080         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53081         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53082         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53083         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53084         bits.
53085         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53086         implementation too.
53087         * sysdeps/sparc/mempcpy.S: New file.
53089         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53090         the IFUNC routine in the libc case.
53091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53093         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53094         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53095         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53096         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53097         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53098         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53099         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53100         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53102         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53103         loop to 256 bytes instead of 64 bytes and fix test signedness.
53105         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53106         * sysdeps/sparc/sparc32/Makefile: rather than here...
53107         * sysdeps/sparc/sparc64/Makefile: and here.
53109 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53111         * malloc/mallocbug.c: Avoid warnings about unused variables.
53113 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53115         [BZ #13760]
53116         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53117         in the right place. Discard and retry query if response is
53118         larger than input buffer size.
53120 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53122         [BZ #369]
53123         [BZ #2678]
53124         [BZ #3866]
53125         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53126         x for large integer exponent.
53127         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53128         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53129         sign of result as needed afterwards.
53130         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53131         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53132         result for underflowing pow the same as for overflow.
53133         (__kernel_standard_l): Handle powl overflow and underflow here
53134         rather than calling __kernel_standard.
53135         * math/libm-test.inc (pow_test): Add more tests.
53137         [BZ #3868]
53138         [BZ #13879]
53139         [BZ #13910]
53140         [BZ #13911]
53141         [BZ #13912]
53142         [BZ #13913]
53143         [BZ #13915]
53144         [BZ #13916]
53145         [BZ #13917]
53146         [BZ #13918]
53147         [BZ #13919]
53148         [BZ #13920]
53149         [BZ #13921]
53150         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53151         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53152         (__kernel_standard_l): New function.
53153         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53154         __kernel_standard.
53155         * math/w_acosl.c (__acosl): Likewise.
53156         * math/w_asinl.c (__asinl): Likewise.
53157         * math/w_atan2l.c (__atan2l): Likewise.
53158         * math/w_atanhl.c (__atanhl): Likewise.
53159         * math/w_coshl.c (__coshl): Likewise.
53160         * math/w_exp10l.c (__exp10l): Likewise.
53161         * math/w_exp2l.c (__exp2l): Likewise.
53162         * math/w_fmodl.c (__fmodl): Likewise.
53163         * math/w_hypotl.c (__hypotl): Likewise.
53164         * math/w_j0l.c (__j0l, __y0l): Likewise.
53165         * math/w_j1l.c (__j1l, __y1l): Likewise.
53166         * math/w_jnl.c (__jnl, __ynl): Likewise.
53167         * math/w_lgammal.c (__lgammal): Likewise.
53168         * math/w_log10l.c (__log10l): Likewise.
53169         * math/w_log2l.c (__log2l): Likewise.
53170         * math/w_logl.c (__logl): Likewise.
53171         * math/w_powl.c (__powl): Likewise.
53172         * math/w_remainderl.c (__remainderl): Likewise.
53173         * math/w_scalbl.c (sysv_scalbl): Likewise.
53174         * math/w_sinhl.c (__sinhl): Likewise.
53175         * math/w_sqrtl.c (__sqrtl): Likewise.
53176         * math/w_tgammal.c (__tgammal): Likewise.
53177         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53178         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53179         * math/libm-test.inc (acos_test): Add more tests.
53180         (acosh_test): Likewise.
53181         (asin_test): Likewise.
53182         (atanh_test): Likewise.
53183         (exp_test): Likewise.
53184         (exp10_test): Likewise.
53185         (exp2_test): Likewise.
53186         (expm1_test): Likewise.
53187         (lgamma_test): Likewise.
53188         (log_test): Likewise.
53189         (log10_test): Likewise.
53190         (log1p_test): Likewise.
53191         (log2_test): Likewise.
53192         (pow_test): Do not allow some spurious overflow exceptions.
53193         (sqrt_test): Add more tests.
53194         (tgamma_test): Likewise.
53195         (y0_test): Likewise.
53196         (y1_test): Likewise.
53197         (yn_test): Likewise.
53199 2012-03-27  Anton Blanchard  <anton@samba.org>
53201         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53202         MAP_HUGETLB.
53203         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53204         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53205         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53207 2012-03-27  David S. Miller  <davem@davemloft.net>
53209         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53211         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53212         have-as-vis3 check.
53214 2012-03-27  Andreas Jaeger  <aj@suse.de>
53216         * sysdeps/x86_64/elf/configure.in: Moved to ...
53217         * sysdeps/x86_64/configure.in: ... here.
53218         * sysdeps/x86_64/elf/start.S: Moved to ...
53219         * sysdeps/x86_64/start.S: ... here.
53220         * sysdeps/x86_64/elf/configure: Delete.
53222         * sysdeps/x86_64/configure.in: Merge contents from
53223         sysdeps/i386/configure.in (without i686 check).
53225         * sysdeps/i386/elf/Versions: Merge into ...
53226         * sysdeps/i386/Versions: ... this.
53227         * sysdeps/i386/elf/Versions: Delete file.
53228         * sysdeps/i386/elf/start.S: Moved to ...
53229         * sysdeps/i386/start.S: ...here.
53230         * sysdeps/i386/elf/configure.in: Merge into...
53231         * sysdeps/i386/configure.in: ...here.
53232         * sysdeps/i386/elf/configure.in: Delete file.
53233         * sysdeps/i386/elf/configure: Delete file.
53235         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53236         * debug/backtracesyms.c: ... here.
53237         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53238         * debug/backtracesymsfd.c: ... here.
53239         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53240         * sysdeps/generic/ifunc-sel.h: ... here.
53242         * sysdeps/unix/i386/start.c: Delete file.
53243         * sysdeps/unix/sparc/start.c: Delete file.
53244         * sysdeps/unix/start.c: Delete file.
53246         * sysdeps/sh/elf/configure.in: Moved to ...
53247         * sysdeps/sh/configure.in: ... here.
53248         * sysdeps/sh/elf/start.S: Moved to ...
53249         * sysdeps/sh/start.S: ... here.
53250         * sysdeps/sh/elf/configure: Delete file.
53252         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53253         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53254         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53255         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53256         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53257         * sysdeps/powerpc/powerpc64/start.S: here.
53258         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53259         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53260         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53261         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53262         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53264         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53265         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53266         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53267         * sysdeps/powerpc/powerpc32/start.S: ... here.
53268         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53269         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53270         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53272         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53273         * sysdeps/powerpc/ifunc-sel.h: ... here.
53274         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53275         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53277         * sysdeps/sparc/elf/configure.in: Moved to ...
53278         * sysdeps/sparc/configure.in: ... here.
53279         * sysdeps/sparc/elf/configure: Delete file.
53280         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53281         * sysdeps/sparc/sparc32/start.S: ... here.
53282         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53283         * sysdeps/sparc/sparc64/start.S: ... here.
53284         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53285         * sysdeps/sparc/sparc32/Makefile: ... this.
53286         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53287         * sysdeps/sparc/sparc64/Makefile: ... this.
53289         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53290         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53291         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53292         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53293         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53294         * sysdeps/s390/s390-32/setjmp.S: ... here.
53295         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53296         * sysdeps/s390/s390-32/configure.in: ... here.
53297         * sysdeps/s390/s390-32/elf/configure: Delete file.
53298         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53299         * sysdeps/s390/s390-32/start.S: ... here.
53301         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53302         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53303         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53304         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53305         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53306         * sysdeps/s390/s390-64/setjmp.S: ... here.
53307         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53308         * sysdeps/s390/s390-64/configure.in: ... here
53309         * sysdeps/s390/s390-64/elf/configure: Delete file.
53310         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53311         * sysdeps/s390/s390-64/start.S: ... here.
53312         * sysdeps/s390/s390-64/elf/configure: Delete.
53314         * configure.in: Remove support for elf directories in sysdeps.
53316         * configure: Regenerated.
53317         * sysdeps/i386/configure: Regenerated.
53318         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53319         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53320         * sysdeps/s390/s390-32/configure: Regenerated.
53321         * sysdeps/s390/s390-64/configure: Regenerated.
53322         * sysdeps/sh/configure: Regenerated.
53323         * sysdeps/sparc/configure: Regenerated.
53324         * sysdeps/x86_64/configure: Regenerated.
53326 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53331         denormal result into account.
53333 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53335         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53336         Reported by Allan McRae <allan@archlinux.org>.
53338 2012-03-23  Jeff Law  <law@redhat.com>
53340         * nss/getnssent.c (__nss_getent): Fix typo.
53342 2012-03-23  David S. Miller  <davem@davemloft.net>
53344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53346 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53348         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53349         to pad to uint64_t for each field.
53350         (dl_tls_index): Replace unsigned long with uint64_t.
53352 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53353         Paul Pluzhnikov  <ppluzhnikov@google.com>
53355         [BZ #6528]
53356         * grp/Makefile (otherlibs): Don't set it.
53357         * inet/Makefile (otherlibs): Likewise.
53358         * login/Makefile (otherlibs): Likewise.
53359         * nscd/Makefile (otherlibs): Likewise.
53360         * posix/Makefile (otherlibs): Likewise.
53361         * pwd/Makefile (otherlibs): Likewise.
53362         * rt/Makefile (otherlibs): Likewise.
53363         * sunrpc/Makefile (otherlibs): Likewise.
53364         * nss/Makefile (otherlibs): Likewise.
53365         Add libnss_files to routines and static-only-routines.
53366         ($(objpfx)getent): Remove rule.
53367         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53368         static-only-routines.
53370 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53372         [BZ #13892]
53373         * math/s_cexp.c: Include <float.h>.
53374         (__cexp): Handle exp result overflowing not necessarily
53375         overflowing both real and imaginary parts of result.
53376         * math/s_cexpf.c: Likewise.
53377         * math/s_cexpl.c: Likewise.
53378         * math/libm-test.inc (cexp_test): Add more tests.
53379         * sysdeps/i386/fpu/libm-test-ulps: Update.
53380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53382 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53384         * include/link.h (ELFW): New macro.
53385         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53386         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53388 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53390         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53391         with uint64_t.
53393 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53395         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53396         declaration.
53397         (struct La_x32_retval): Likewise.
53399 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53401         * sysdeps/x86_64/preconfigure.in: New file.
53402         * sysdeps/x86_64/preconfigure: New generated file.
53404 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53406         [BZ #13824]
53407         * math/e_exp2l.c: Include <float.h>.
53408         (__ieee754_exp2l): Handle overflow and underflow cases
53409         separately.  Only pass fractional part of argument to
53410         __ieee754_expl.
53411         * math/libm-test.inc (exp2_test): Add more tests.
53413         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53414         negating x to take absolute value.
53415         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53416         Likewise.
53417         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53418         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53419         Likewise.
53420         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53421         computing low part if x was negated.
53422         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53424 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53426         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53427         la_x32_gnu_pltexit.
53428         (pltexit): Cast int_retval to ptrdiff_t.
53429         * elf/tst-auditmod3b.c: Likewise.
53430         * elf/tst-auditmod4b.c: Likewise.
53431         * elf/tst-auditmod5b.c: Likewise.
53432         * elf/tst-auditmod6b.c: Likewise.
53433         * elf/tst-auditmod6c.c: Likewise.
53434         * elf/tst-auditmod7b.c: Likewise.
53436         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53437         and x32_gnu_pltexit.
53439         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53440         __ELF_NATIVE_CLASS.
53441         (La_x32_regs): New macro.
53442         (La_x32_retval): Likewise.
53443         (la_x32_gnu_pltenter): New function prototype.
53444         (la_x32_gnu_pltexit): Likewise.
53446 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53448         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53449         exponent.
53451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53453         * configure.in (libc_cv_cc_nofma): Check for option to disable
53454         generation of FMA instructions.
53455         * configure: Regenerate.
53456         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53457         * sysdeps/ieee754/dbl-64/Makefile: New file.
53458         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53459         Remove brandred-fma4.
53460         (CFLAGS-brandred-fma4.c): Remove.
53461         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53462         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53463         define.
53464         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53465         define.
53467 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53469         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53470         LLONG_MAX != LONG_MAX.
53471         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53472         (_fitoa_word): Likewise.
53473         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53474         LLONG_MAX != LONG_MAX.
53475         * stdio-common/_itowa.h: Include <_itoa.h>.
53476         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53477         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53478         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53479         only if not defined.
53480         (_ITOA_WORD_TYPE): Likewise.
53481         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53482         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53484 2012-03-21  David S. Miller  <davem@davemloft.net>
53486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53488 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53490         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53491         of x86_64 when setting libc_cv_slibdir, libdir and
53492         libc_cv_localedir.
53493         * sysdeps/unix/sysv/linux/configure: Regenerated.
53495 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53497         * manual/lang.texi (Old Varargs): Remove section.
53498         (How Variadic): Update menu.
53499         (va_start): Do not mention varargs.h.
53501 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53502             Joseph Myers  <joseph@codesourcery.com>
53504         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53505         link test.
53506         * configure: Regenerated.
53508 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53510         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53511         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53512         conformtest.pl
53514 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53516         * NOTES: Remove.
53517         * Makefile (files-for-dist): Remove NOTES.
53518         (NOTES): Remove rule.
53519         * README: Don't refer to NOTES.
53520         * manual/creature.texi: Don't include macros.texi.
53521         * manual/intro.texi (creature.texi): Remove comment referring to
53522         NOTES.
53524         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53525         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53526         * configure: Regenerated.
53527         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53528         LIBC_TRY_CC_OPTION.
53529         (libc_cv_as_i686): Likewise.
53530         (libc_cv_cc_avx): Likewise.
53531         (libc_cv_cc_sse2avx): Likewise.
53532         (libc_cv_cc_fma4): Likewise.
53533         (libc_cv_cc_novzeroupper): Likewise.
53534         * sysdeps/i386/configure: Regenerated.
53536         [BZ #13883]
53537         * sysdeps/i386/fpu/s_cexp.S: Remove.
53538         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53539         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53540         * math/libm-test.inc (cexp_test): Add more tests.
53541         * sysdeps/i386/fpu/libm-test-ulps: Update.
53542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53544 2012-03-21  Allan McRae  <allan@archlinux.org>
53546         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53548 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53550         [BZ #13871]
53551         * math/w_exp2.c: Do not include <float.h>.
53552         (o_threshold, u_threshold): Remove.
53553         (__exp2): Calculate result before checking finiteness and calling
53554         __kernel_standard.
53555         * math/w_exp2f.c: Likewise.
53556         * math/w_exp2l.c: Likewise.
53557         * math/libm-test.inc (exp2_test): Require overflow exception for
53558         1e6 input.
53560         [BZ #3866]
53561         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53562         range of signed 64-bit integers before using fistpll.  Remove
53563         checks for whether integers fit in mantissa bits.
53564         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53565         the range of signed 32-bit integers before using fistpl.  Remove
53566         checks for whether integers fit in mantissa bits.
53567         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53568         (__ieee754_powl): Test for y outside the range of signed 64-bit
53569         integers before using fistpll.  Reduce 64-bit values to 63-bit
53570         ones as needed.
53571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53572         divide-by-zero is raised for zero to large negative powers.
53573         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53574         (__ieee754_powl): Test for y outside the range of signed 64-bit
53575         integers before using fistpll.  Reduce 64-bit values to 63-bit
53576         ones as needed.
53577         * math/libm-test.inc (pow_test): Add more tests.
53579 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53581         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53582         <stdio-common/_itoa.h>.
53583         * debug/segfault.c: Likewise.
53584         * elf/dl-cache.c: Likewise.
53585         * elf/dl-minimal.c: Likewise.
53586         * elf/dl-misc.c: Likewise.
53587         * elf/dl-sysdep.c: Likewise.
53588         * elf/dl-version.c: Likewise.
53589         * elf/rtld.c: Likewise.
53590         * hurd/hurdsock.c: Likewise.
53591         * hurd/lookup-retry.c: Likewise.
53592         * malloc/malloc.c: Likewise.
53593         * malloc/mtrace.c: Likewise.
53594         * nscd/nscd_getgr_r.c: Likewise.
53595         * nscd/nscd_getpw_r.c: Likewise.
53596         * nscd/nscd_getserv_r.c: Likewise.
53597         * posix/getopt_init.c: Likewise.
53598         * posix/wordexp.c: Likewise.
53599         * stdio-common/_itoa.c: Likewise.
53600         * stdio-common/printf_fphex.c: Likewise.
53601         * stdio-common/vfprintf.c: Likewise.
53602         * string/_strerror.c: Likewise.
53603         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53604         * sysdeps/i386/i686/hp-timing.h: Likewise.
53605         * sysdeps/mach/_strerror.c: Likewise.
53606         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53607         * sysdeps/mach/hurd/sethostid.c: Likewise.
53608         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53609         * sysdeps/mach/xpg-strerror.c: Likewise.
53610         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53611         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53612         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53613         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53614         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53615         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53616         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53617         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53618         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53619         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53620         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53621         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53622         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53623         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53624         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53625         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53626         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53627         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53628         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53629         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53630         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53632         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53634         * stdio-common/_itoa.h: Moved to ...
53635         * sysdeps/generic/_itoa.h: Here.
53637         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53639         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53640         instead of "_itoa.h" and "_itowa.h".
53641         * stdio-common/vfprintf.: Likewise.
53643 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53645         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53646         <bits/wordsize.h>.
53647         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53648         (__signbit): Likwise.
53649         (llrintf): Likwise.
53650         (llrint): Likwise.
53652 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53654         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53655         __WORDSIZE != 64.
53657 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53659         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53660         OVERFLOW_EXCEPTION_OK.
53661         * math/libm-test.inc ("Philosophy"): Update comment about
53662         exception testing.
53663         (OVERFLOW_EXCEPTION): Define.
53664         (OVERFLOW_EXCEPTION_OK): Likewise.
53665         (INVALID_EXCEPTION_OK): Renumber.
53666         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53667         (IGNORE_ZERO_INF_SIGN): Likewise.
53668         (test_exceptions): Handle FE_OVERFLOW.
53669         (exp10_test): Expect overflow exceptions.
53670         (exp2_test): Likewise.
53671         (expm1_test): Likewise.
53672         (nextafter_test): Likewise.
53673         (pow_test): Likewise.
53674         (scalbn_test): Likewise.
53675         (scalbln_test): Likewise.
53677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53679         * sysdeps/x86_64/bits/atomic.h
53680         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53681         64bit integer.
53682         (atomic_exchange_acq): Likewise.
53683         (__arch_exchange_and_add_body): Likewise.
53684         (__arch_add_body): Likewise.
53685         (atomic_add_negative): Likewise.
53686         (atomic_add_zero): Likewise.
53688 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53690         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53691         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53693 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53695         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53696         Check __x86_64__ instead of __WORDSIZE.
53698 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53700         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53702 2012-03-19  David S. Miller  <davem@davemloft.net>
53704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53706         * sysdeps/sparc/fpu/fenv_private.h: New file.
53707         * sysdeps/sparc/fpu/math_private.h: Use it.
53708         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53709         Remove.
53710         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53711         (libc_feholdexcept_setroundl): Remove.
53712         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53713         Remove.
53714         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53715         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53717 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53719         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53720         int64_t instead of long int.
53721         (INSERT_WORDS64): Likwise.
53723 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53725         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53726         _Unwind_GetCFA return to _Unwind_Ptr first.
53728 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53730         [BZ #13629]
53731         * math/s_clog.c: Include <float.h>.
53732         (__clog): Scale large or subnormal inputs.
53733         * math/s_clogf.c: Likewise.
53734         * math/s_clogl.c: Likewise.
53735         * math/s_clog10.c: Include <float.h>.
53736         (M_LOG10_2): Define.
53737         (__clog10): Scale large or subnormal inputs.
53738         * math/s_clog10f.c: Likewise.
53739         * math/s_clog10l.c: Likewise.
53740         * math/libm-test.inc (clog_test): Add more tests.
53741         (clog10_test): Likewise.
53742         * sysdeps/i386/fpu/libm-test-ulps: Update.
53743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53745         [BZ #11451]
53746         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53747         x and y.
53748         * math/libm-test.inc (atan2_test): Add another test.
53750         * Makerules (common-objdir-compile): Remove.
53751         * sysdeps/unix/Makefile (config-generated): Do not add
53752         $(unix-generated) to variable.
53753         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53754         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53755         Remove rule.
53756         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53757         Likewise.
53758         [generic bits/local_lim.h] (before-compile): Do not append to
53759         variable.
53760         [generic bits/local_lim.h] (common-generated): Likewise.
53761         [generic sys/param.h] (before-compile): Do not append to variable.
53762         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53763         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53764         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53765         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53766         include.
53767         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53768         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53769         [generic sys/param.h] ($(addprefix
53770         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53771         [generic sys/param.h] (common-generated): Do not append to
53772         variable.
53773         [generic sys/param.h] (sysdep_headers): Likewise.
53774         [generic bits/errno.h] (before-compile): Do not append to
53775         variable.
53776         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53777         rule.
53778         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53779         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53780         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53781         [generic bits/errno.h] (common-generated): Do not append to
53782         variable.
53783         [generic bits/ioctls.h] (before-compile): Do not append to
53784         variable.
53785         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53786         rule.
53787         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53788         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53789         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53790         rule.
53791         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53792         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53793         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53794         [generic bits/ioctls.h] (common-generated): Do not append to
53795         variable.
53796         [generic sys/syscall.h] (syscall.h): Remove variable.
53797         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53798         rule.
53799         [generic sys/syscall.h] (before-compile): Do not append to
53800         variable.
53801         [generic sys/syscall.h] (common-generated): Likewise.
53802         * sysdeps/unix/errnos-tmpl.c: Remove file.
53803         * sysdeps/unix/errnos.awk: Likewise.
53804         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53805         * sysdeps/unix/ioctls.awk: Likewise.
53806         * sysdeps/unix/mk-local_lim.c: Likewise.
53807         * sysdeps/unix/snarf-ioctls: Likewise.
53809 2012-03-19  Richard Henderson  <rth@twiddle.net>
53811         * sysdeps/i386/fpu/fenv_private.h: New file.
53812         * sysdeps/i386/fpu/math_private.h: Use it.
53813         (math_opt_barrier, math_force_eval): Remove.
53814         (libc_feholdexcept_setround_53bit): Remove.
53815         (libc_feupdateenv_53bit): Remove.
53816         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53817         (math_opt_barrier, math_force_eval): Remove.
53818         (libc_feholdexcept): Remove.
53819         (libc_feholdexcept_setround): Remove.
53820         (libc_fetestexcept, libc_fesetenv): Remove.
53821         (libc_feupdateenv_test): Remove.
53822         (libc_feupdateenv, libc_feholdsetround): Remove.
53823         (libc_feresetround): Remove.
53825         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53826         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53828         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53829         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53830         (libc_feupdateenv_testl): New.
53831         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53832         (libc_feupdateenv_testf): New.
53833         (libc_feupdateenv): Use libc_feupdateenv_test.
53834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53835         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53837         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53838         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53839         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53840         (libc_feresetround_noex): New.
53841         (libc_feresetround_noexf): New.
53842         (libc_feresetround_noexl): New.
53843         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53844         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53845         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53846         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53847         SET_RESTORE_ROUND.
53848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53849         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53850         (__cos): Likewise.
53851         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53852         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53853         SET_RESTORE_ROUND_NOEX.
53854         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53855         SET_RESTORE_ROUND_NOEXF.
53856         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53857         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53858         (libc_feholdsetroundf): New.
53859         (libc_feresetround, libc_feresetroundf): New.
53861         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53862         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53863         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53865         * sysdeps/generic/math_private.h: Include <fenv.h>.
53866         (default_libc_feholdexcept): New.
53867         (default_libc_feholdexcept_setround): New.
53868         (default_libc_fesetenv, default_libc_feupdateenv): New.
53869         (libc_feholdexcept): Only define if undefined.
53870         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53871         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53872         (libc_feholdexcept_setroundl): Likewise.
53873         (libc_feholdexcept_setround_53bit): Likewise.
53874         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53875         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53876         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53877         (libc_feupdateenv_53bit): Likewise.
53878         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53879         (libc_feholdexcept): Convert from macro to inline function.
53880         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53881         (libc_fesetenv, libc_feupdateenv): Likewise.
53883         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53884         not previously defined.
53885         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53886         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53887         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53888         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53889         * sysdeps/ieee754/flt-32/math_private.h: New file.
53890         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53891         math_private.h below SET_FLOAT_WORD.
53892         (__isnan, __isinf_ns, __finite): Remove.
53893         (__isnanf, __isinf_nsf, __finitef): Remove.
53895 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53899 2012-03-17  David S. Miller  <davem@davemloft.net>
53901         [BZ #6471]
53902         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53903         for 2.16.
53905 2012-03-16  David S. Miller  <davem@davemloft.net>
53907         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53908         warnings.
53910         [BZ #6471]
53911         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53912         properly.
53913         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53914         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53915         sysdep_routines when subdir is sysvipc.
53916         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53917         __getshmlba helper.
53919         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53921 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53923         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53924         [__LP64__].
53926 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53928         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53929         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53930         (__lround): Renamed to ...
53931         (__llround): This.  Replace long int with long long int.
53932         Define lround functions as aliases of llround functions.
53933         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53935 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53937         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53938         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53939         adresses to uintptr_t.  Replace "long int" and "unsigned long
53940         int" with "greg_t" on va_arg.
53942 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53944         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53945         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53947         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53948         Move e_machine check before EI_CLASS check.  Handle x32
53949         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53950         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53951         SKIP_EM_IA_64 and include
53952         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53954         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53955         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53956         (add_system_dir): New macro.
53958         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53959         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53961 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53963         [BZ #2551]
53964         [BZ #2552]
53965         [BZ #2553]
53966         [BZ #2554]
53967         [BZ #2562]
53968         [BZ #2563]
53969         [BZ #2565]
53970         [BZ #2566]
53971         [BZ #2576]
53972         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53973         (y0): Likewise.
53974         * math/w_j0f.c (j0f): Likewise.
53975         (y0f): Likewise.
53976         * math/w_j0l.c (__j0l): Likewise.
53977         (__y0l): Likewise.
53978         * math/w_j1.c (j1): Likewise.
53979         (y1): Likewise.
53980         * math/w_j1f.c (j1f): Likewise.
53981         (y1f): Likewise.
53982         * math/w_j1l.c (__j1l): Likewise.
53983         (__y1l): Likewise.
53984         * math/w_jn.c (jn): Likewise.
53985         (yn): Likewise.
53986         * math/w_jnf.c (jnf): Likewise.
53987         (ynf): Likewise.
53988         * math/w_jnl.c (__jnl): Likewise.
53989         (__ynl): Likewise.
53990         * math/libm-test.inc (j0_test): Add more tests.
53991         (j1_test): Likewise.
53992         (jn_test): Likewise.  Add trailing semicolon to existing test.
53993         (y0_test): Likewise.
53994         (y1_test): Likewise.
53995         * sysdeps/i386/fpu/libm-test-ulps: Update.
53996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53998         [BZ #13851]
53999         [BZ #13854]
54000         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54001         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54002         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54003         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54004         (__tanl): Set errno for infinite argument.
54005         * sysdeps/i386/fpu/mptan.c: Remove.
54006         * sysdeps/i386/fpu/s_tan.S: Likewise.
54007         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54008         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54009         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54010         * math/libm-test.inc (tan_test): Add more tests and enable more
54011         tests for double and long double.
54012         * sysdeps/i386/fpu/libm-test-ulps: Update.
54013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54015 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54017         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54018         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54020 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54022         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54023         * configure.in: Use it for both main tree and add-ons.
54024         * configure: Regenerated.
54026 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54028         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54030 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54032         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54033         in comment.
54035         [BZ #13851]
54036         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54037         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54038         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54039         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54040         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54041         infinite argument.
54042         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54043         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54044         != 0 for prec == 2.
54045         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54046         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54047         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54048         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54049         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54050         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54051         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54052         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54053         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54054         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54055         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54056         * math/libm-test.inc (cos_test): Add more tests and enable more
54057         tests for long double.
54058         (sin_test): Likewise.
54059         (sincos_test): Likewise.
54060         * sysdeps/i386/fpu/libm-test-ulps: Update.
54061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54063 2012-03-16  David S. Miller  <davem@davemloft.net>
54065         * sysdeps/sparc/fpu/math_private.h: New file.
54067 2012-03-15  David S. Miller  <davem@davemloft.net>
54069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54070         file.
54071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54073         file.
54074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54079         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54080         sysdep routines.
54081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54083         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54084         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54086         * sysdeps/sparc/sparc-ifunc.h: New file.
54087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54088         sparc-ifunc.h
54089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54091         Likewise.
54092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54093         Likewise.
54094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54098         Likewise.
54099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54104         Likewise.
54105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54106         Likewise.
54107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54113         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54114         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54125         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54126         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54127         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54128         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54130         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54132 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54134         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54135         scaling.
54136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54138 2012-03-15  Andreas Jaeger  <aj@suse.de>
54140         [BZ #13852]
54141         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54142         ieee754/flt-32 implementation for sin, cos and sincos.
54143         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54144         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54145         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54146         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54147         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54148         ieee754/flt-32 implementation for tan.
54150         * math/libm-test.inc (cos_test): Enable some large input tests for
54151         float as well
54152         (sin_test): Likewise.
54153         (sincos_test): Likewise.
54154         (tan_test): Add tests for large input.
54156         * sysdeps/i386/fpu/libm-test-ulps: Update.
54158 2012-03-15  Andreas Jaeger  <aj@suse.de>
54160         [BZ #13658]
54161         * math/libm-test.inc (cos_test): Add more test cases.
54162         (sin_test): Likewise.
54163         (sincos_test): Likewise.
54165 2012-03-15  Andreas Jaeger  <aj@suse.de>
54167         [BZ #13837]
54168         * math/libm-test.inc (cos_test): Add a test case for large input
54169         value.
54170         (sin_test): Likewise.
54171         (sincos_test): Likewise.
54173 2012-03-15  Andreas Jaeger  <aj@suse.de>
54174             Joseph Myers  <joseph@codesourcery.com>
54176         [BZ #13658]
54177         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54178         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54179         * sysdeps/i386/fpu/branred.c: Likewise.
54180         * sysdeps/i386/fpu/dosincos.c: Likewise.
54181         * sysdeps/i386/fpu/mpa.c: Likewise.
54182         * sysdeps/i386/fpu/s_cos.S: Likewise.
54183         * sysdeps/i386/fpu/s_sin.S: Likewise.
54184         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54185         * sysdeps/i386/fpu/sincos32.c: Likewise.
54187         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54188         Define.
54189         (libc_feupdateenv_53bit): Define.
54190         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54191         Define.
54192         (libc_feupdateenv_53bit): Define.
54194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54195         53 bit (without extend i386 double precision).
54197         * math/libm-test.inc (sincos_test): Add tests for large input.
54198         (sin): Likewise.
54199         (cos): Likewise.
54201         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54203 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54207 2012-03-15  David S. Miller  <davem@davemloft.net>
54209         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54210         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54211         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54212         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54217         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54225         file.
54226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54228         file.
54229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54231         file.
54232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54234         file.
54235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54236         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54237         fmin/fmax sysdep routines.
54238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54240 2012-03-14  David S. Miller  <davem@davemloft.net>
54242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54246         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54247         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54248         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54249         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54254         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54255         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54260         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54262         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54263         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54264         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54265         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54266         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54267         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54268         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54269         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54270         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54271         routines.
54272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54273         file.
54274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54276         file.
54277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54279         file.
54280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54282         file.
54283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54285         file.
54286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54288         file.
54289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54290         file.
54291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54292         file.
54293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54294         file.
54295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54296         New file.
54297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54298         file.
54299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54300         file.
54301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54303         file.
54304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54306         file.
54307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54309         file.
54310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54312         VIS3 routines.
54314         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54315         New file.
54317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54319         * sysdeps/sparc/configure.in: New file.
54320         * sysdeps/sparc/configure: Generate.
54321         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54322         * configure: Regenerate.
54323         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54324         * config.make.in (have-as-vis3): New.
54325         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54326         available use -Av9d instead of -Av9a.
54327         * sysdeps/sparc/sparc64/Makefile: Likewise.
54328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54330         New file.
54331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54332         file.
54333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54334         New file.
54335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54336         file.
54337         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54339         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54340         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54341         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54343         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54344         fzeros/fnegs to load 0x80000000 into a float register instead of
54345         using the stack.
54346         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54348 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54351         bits/syscall.h.
54352         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54353         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54354         ($(inst_includedir)/bits/syscall.h): Remove rule.
54355         ($(objpfx)bits/syscall.d): Include instead of
54356         $(objpfx)syscall-list.d.
54357         (generated): Change syscall-list.h and syscall-list.d to
54358         bits/syscall.h and bits/syscall.d.
54360 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54362         [BZ #13846]
54363         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54365 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54367         [BZ #13841]
54368         * math/s_csqrt.c: Include <float.h>.
54369         (__csqrt): Scale large or subnormal inputs.
54370         * math/s_csqrtf.c: Likewise.
54371         * math/s_csqrtl.c: Likewise.
54372         * math/libm-test.inc (csqrt_test): Add more tests.
54373         * sysdeps/i386/fpu/libm-test-ulps: Update.
54374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54376         [BZ #13840]
54377         * math/libm-test.inc (hypot_test): Add more tests.
54379 2012-03-13  David S. Miller  <davem@davemloft.net>
54381         [BZ #13840]
54382         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54383         double-precision for the calculation instead of scaling.
54385 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54387         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54388         manipulate bits before adding and subtracting TWO52[sx].
54389         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54390         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54391         Likewise.
54392         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54394 2012-03-13  David S. Miller  <davem@davemloft.net>
54396         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54397         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54398         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54399         rtld-global-offsets.h
54400         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54402         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54403         large parameters.
54405         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54407         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54408         'err' in the ifdef scope in which it is actually used.
54410         * nss/nss_db/db-init.c: Include string.h
54412 2012-03-12  David S. Miller  <davem@davemloft.net>
54414         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54415         masking out of the most significant byte of random value used.
54416         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54417         Fix coding style in previous change.
54419         * sysdeps/unix/sysv/linux/kernel-features.h
54420         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54421         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54422         expression.
54423         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54424         later.
54426 2012-03-11  David S. Miller  <davem@davemloft.net>
54428         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54429         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54430         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54431         for 'resultvar' otherwise things get truncated on 64-bit.
54433         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54434         Fix masking out of the most significant byte of random value used.
54436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54438 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54442 2012-03-09  David S. Miller  <davem@davemloft.net>
54444         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54445         variables with appropriate CPP guards.
54446         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54447         from the frame pointer, not the stack pointer.  Correct layout
54448         comments.  Fix test on resulting framesize and the management of
54449         the outregs buffer for pltexit.  Preserve floating point return
54450         values across _dl_call_pltexit call.
54451         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54452         framesize and the management of the outregs buffer for pltexit.
54453         Preserve floating point return values across _dl_call_pltexit
54454         call.
54455         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54456         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54457         (la_sparc64_gnu_pltexit): New functions.
54458         (print_exit): Fix format string for return register value.
54460 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54462         * sunrpc/Makefile (others): Add rpcgen.
54463         ($(objpfx)rpcgen): Remove special build rule and dependency on
54464         libc.
54465         * sunrpc/rpcgen.c: New file.
54467 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54469         [BZ #13673]
54470         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54471         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54472         * sysdeps/i386/crti.S: Likewise.
54473         * sysdeps/i386/crtn.S: Likewise.
54474         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54475         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54476         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54477         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54478         * sysdeps/sh/crti.S: Likewise.
54479         * sysdeps/sh/crtn.S: Likewise.
54480         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54482         [BZ #13673]
54483         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54484         with URL.
54485         * locale/programs/locfile-kw.gperf: Likewise.
54486         * locale/programs/charmap-kw.h: Regenerated.
54487         * locale/programs/locfile-kw.h: Likewise.
54489         [BZ #13673]
54490         * intl/plural.y: Replace FSF snail mail address with URL.
54491         * intl/plural.c: Regenerated.
54493 2012-03-09  Richard Henderson  <rth@twiddle.net>
54495         * include/math_private.h: Remove file.
54496         * math/math_private.h: Move file ...
54497         * sysdeps/generic/math_private.h: ... here.
54499         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54500         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54501         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54503         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54504         and <math_private.h>.
54505         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54506         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54507         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54508         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54509         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54510         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54511         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54513         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54514         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54516         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54517         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54519         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54520         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54521         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54522         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54523         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54524         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54526         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54527         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54528         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54529         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54530         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54531         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54532         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54533         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54534         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54535         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54536         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54537         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54538         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54539         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54540         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54541         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54542         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54543         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54544         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54545         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54583         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54584         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54585         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54586         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54587         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54588         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54589         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54590         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54591         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54593         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54594         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54595         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54596         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54597         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54598         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54599         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54600         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54601         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54602         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54603         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54604         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54605         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54606         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54607         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54608         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54609         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54610         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54611         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54612         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54613         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54614         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54615         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54616         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54617         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54618         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54619         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54620         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54621         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54622         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54623         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54624         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54625         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54626         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54627         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54628         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54629         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54630         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54631         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54632         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54633         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54634         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54635         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54636         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54637         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54638         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54639         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54640         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54641         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54642         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54643         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54644         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54645         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54646         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54647         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54648         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54649         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54650         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54651         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54652         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54653         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54654         * sysdeps/ieee754/k_standard.c: Likewise.
54655         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54656         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54657         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54658         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54659         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54660         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54661         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54662         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54663         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54664         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54665         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54667         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54668         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54669         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54670         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54671         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54672         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54673         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54674         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54675         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54676         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54677         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54678         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54679         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54680         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54681         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54682         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54683         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54684         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54685         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54686         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54687         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54688         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54689         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54690         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54691         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54692         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54693         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54694         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54695         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54696         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54697         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54698         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54699         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54700         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54701         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54702         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54703         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54704         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54705         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54706         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54707         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54708         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54709         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54710         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54711         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54712         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54713         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54714         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54715         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54716         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54717         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54718         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54719         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54721         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54722         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54723         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54725         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54726         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54727         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54728         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54730         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54731         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54732         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54734         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54735         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54736         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54737         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54738         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54739         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54740         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54741         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54742         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54743         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54745         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54746         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54747         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54748         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54749         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54750         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54751         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54752         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54753         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54754         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54755         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54756         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54757         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54758         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54759         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54760         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54761         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54762         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54763         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54764         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54765         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54766         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54767         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54768         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54769         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54770         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54771         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54772         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54773         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54774         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54775         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54776         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54777         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54778         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54779         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54780         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54781         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54782         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54783         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54784         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54785         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54786         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54787         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54788         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54789         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54790         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54791         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54792         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54793         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54794         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54795         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54796         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54797         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54798         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54799         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54800         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54801         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54802         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54803         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54804         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54805         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54806         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54807         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54808         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54809         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54810         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54811         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54812         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54813         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54814         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54815         * sysdeps/ieee754/s_lib_version.c: Likewise.
54816         * sysdeps/ieee754/s_matherr.c: Likewise.
54817         * sysdeps/ieee754/s_signgam.c: Likewise.
54818         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54819         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54820         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54821         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54822         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54823         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54824         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54825         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54826         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54827         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54828         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54829         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54830         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54831         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54832         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54833         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54834         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54835         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54836         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54837         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54838         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54840 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54842         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54843         * sunrpc/rpc_main.c: Likewise.
54844         * sunrpc/rpc_svcout.c: Likewise.
54846 2012-03-09  David S. Miller  <davem@davemloft.net>
54848         * include/math_private.h: New file.
54850 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54852         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54853         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54854         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54855         from <bits/socket_type.h>.
54856         (enum __socket_type): Don't define here.
54857         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54859         bits/socket_type.h.
54861         [BZ #13566]
54862         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54863         checking __USE_GNU.
54865         * Makerules ($(inst_includedir)/%.h): New rule.
54866         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54867         (install-others): Remove variable setting.
54868         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54870 2012-03-08  Richard Henderson  <rth@twiddle.net>
54872         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54873         from macro to inline function; merge with the
54874         !__LIBC_INTERNAL_MATH_INLINES version.
54875         (__ieee754_sqrtf): Likewise.
54877         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54878         to inline function.
54879         (__rintf, __floor, __floorf): Likewise.
54881         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54882         macro to inline function.
54883         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54885         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54886         not <math/math_private.h>.
54888 2012-03-08  David S. Miller  <davem@davemloft.net>
54890         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54891         copyright year.
54892         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54894 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54896         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54897         normalization.
54898         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54899         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54901 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54903         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54904         be defined individually, they must be defined as a block.  Define
54905         S for printing a string instead of hidint the different by using a
54906         macro for adding the 'l'.
54907         * stdio-common/tst-fphex-wide.c: Adjust.
54909 2012-03-07  Marek Polacek  <polacek@redhat.com>
54911         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54913 2012-03-08  Marek Polacek  <polacek@redhat.com>
54915         [BZ #13806]
54916         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54917         * stdio-common/tst-fphex.c: Define a few macros to make the
54918         test reusable.  Use them.
54919         * stdio-common/tst-fphex-wide.c: New file.
54921 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54923         [BZ #6911]
54924         * manual/macros.texi (gnusystems): New macro.
54925         (nongnusystems): Likewise.
54926         (gnulinuxhurdsystems): Likewise.
54927         (gnuhurdsystems): Likewise..
54928         (gnulinuxsystems): Likewise.
54929         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54930         variants of the GNU system, not "GNU system".
54931         * manual/conf.texi: Likewise.
54932         * manual/errno.texi: Likewise.  Update example of errno macro
54933         expansion.
54934         * manual/filesys.texi: Likewise.
54935         (getumask): Document as specific to GNU/Hurd.
54936         * manual/install.texi: Likewise.  Reword some references to
54937         GNU/Linux.
54938         * manual/intro.texi: Likewise.
54939         * manual/io.texi: Likewise.
54940         (File Name Portability): Detail which constraints are inapplicable
54941         to all GNU systems and which are only inapplicable to GNU/Hurd.
54942         * manual/job.texi: Likewise.
54943         * manual/llio.texi: Likewise.
54944         (O_NOCTTY): Document as present on GNU/Linux.
54945         * manual/maint.texi: Likewise.
54946         * manual/memory.texi: Likewise.
54947         * manual/pattern.texi: Likewise.
54948         * manual/pipe.texi: Likewise.
54949         * manual/process.texi: Likewise.
54950         * manual/resource.texi: Likewise.
54951         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54952         child on GNU/Hurd.
54953         * manual/setjmp.texi: Likewise.
54954         * manual/signal.texi: Likewise.
54955         * manual/startup.texi: Likewise.
54956         * manual/stdio.texi: Likewise.
54957         * manual/terminal.texi: Likewise.
54958         (ONLCR): Document as POSIX.
54959         (OXTABS): Document availability on GNU/Linux as XTABS.
54960         (ONOEOT): Document availability separately from other bits.
54961         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54962         * manual/time.texi: Likewise.
54963         * manual/users.texi: Likewise.
54964         * INSTALL: Regenerated.
54965         * sysdeps/gnu/errlist.c: Regenerated.
54967         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54968         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54969         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54970         puts.
54971         * configure: Regenerated.
54973 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54975         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54976         default includes instead of AC_HEADER_CHECK.
54977         * sysdeps/i386/configure: Regenerated.
54979         [BZ #10716]
54980         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54981         * math/s_cacoshf.c (__cacoshf): Likewise.
54982         * math/s_cacoshl.c (__cacoshl): Likewise.
54983         * math/s_casinh.c (__casinh): Set signs of result from argument.
54984         * math/s_casinhf.c (__casinhf): Likewise.
54985         * math/s_casinhl.c (__casinhl): Likewise.
54986         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54987         (casinh_test): Add more tests.
54988         * sysdeps/i386/fpu/libm-test-ulps: Update.
54989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54991 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54993         * po/zh_TW.po: Update from translation team.
54995         * login/Makefile (distribute): Remove variable.
54996         * catgets/Makefile: Likewise.
54997         * mach/Makefile: Likewise.
54998         * malloc/Makefile: Likewise.
54999         * misc/Makefile: Likewise.
55000         * iconv/Makefile: Likewise.
55001         * nscd/Makefile: Likewise.
55002         * hurd/Makefile: Likewise.
55003         * manual/Makefile: Likewise.
55004         * locale/Makefile: Likewise.
55005         * intl/Makefile: Likewise.
55006         * conform/Makefile: Likewise.
55007         * nss/Makefile: Likewise.
55008         * time/Makefile: Likewise.
55009         * soft-fp/Makefile: Likewise.
55010         * dirent/Makefile: Likewise.
55011         * gmon/Makefile: Likewise.
55012         * po/Makefile: Likewise.
55013         * rt/Makefile: Likewise.
55014         * socket/Makefile: Likewise.
55015         * math/Makefile: Likewise.
55016         * signal/Makefile: Likewise.
55017         * debug/Makefile: Likewise.
55018         * elf/Makefile: Likewise.
55019         * timezone/Makefile: Likewise.
55020         * stdlib/Makefile: Likewise.
55021         * iconvdata/Makefile: Likewise.
55022         * sunrpc/Makefile: Likewise.
55023         * io/Makefile: Likewise.
55024         * argp/Makefile: Likewise.
55025         * inet/Makefile: Likewise.
55026         * hesiod/Makefile: Likewise.
55027         * grp/Makefile: Likewise.
55028         * csu/Makefile: Likewise.
55029         * wctype/Makefile: Likewise.
55030         * crypt/Makefile: Likewise.
55031         * libio/Makefile: Likewise.
55032         * string/Makefile: Likewise.
55033         * nis/Makefile: Likewise.
55034         * resolv/Makefile: Likewise.
55035         * stdio-common/Makefile: Likewise.
55036         * wcsmbs/Makefile: Likewise.
55037         * dlfcn/Makefile: Likewise.
55038         * posix/Makefile: Likewise.
55040         [BZ #6959]
55041         * timezone/Makefile: Don't install timezone files, just the programs
55042         and scripts.
55044 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55046         * nss/databases.def: Add missing gshadow entry.
55048         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55050 2012-03-06  Marek Polacek  <polacek@redhat.com>
55052         [BZ #13726]
55053         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55054         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55055         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55056         * stdio-common/tst-long-dbl-fphex.c: New file.
55058 2012-03-06  David S. Miller  <davem@davemloft.net>
55060         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55061         (set_obp_int): New function.
55062         (get_obp_int): New function.
55063         (__get_clockfreq_via_dev_openprom): Likewise.
55064         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55065         Avoid unused variable warnings on 'val' and use builtin_expect.
55066         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55067         __builtin_expect.
55068         (INLINE_CLONE_SYSCALL): Likewise.
55070 2012-03-05  David S. Miller  <davem@davemloft.net>
55072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55074 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55078         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55079         only for |x| >= 40.
55080         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55082 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55084         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55085         Replace gettimeofday with __vdso_gettimeofday.
55087         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55088         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55089         __vdso_clock_gettime and __vdso_getcpu.
55091         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55092         time with __vdso_time.
55094 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55096         * manual/lang.texi (size_t): Note types to which size_t may be
55097         equivalent with the GNU C Library, but do not describe when
55098         differences between them are significant.
55100 2012-03-05  Andreas Jaeger  <aj@suse.de>
55102         * sysdeps/i386/fpu/libm-test-ulps: Update.
55104 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55106         [BZ #3976]
55107         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55108         (__ieee754_pow): Save and restore rounding mode and use
55109         round-to-nearest for main computations.
55110         * math/libm-test.inc (pow_test_tonearest): New function.
55111         (pow_test_towardzero): Likewise.
55112         (pow_test_downward): Likewise.
55113         (pow_test_upward): Likewise.
55114         (main): Call the new functions.
55115         * sysdeps/i386/fpu/libm-test-ulps: Update.
55116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55118         [BZ #3976]
55119         * math/libm-test.inc (cosh_test_tonearest): New function.
55120         (cosh_test_towardzero): Likewise.
55121         (cosh_test_downward): Likewise.
55122         (cosh_test_upward): Likewise.
55123         (sinh_test_tonearest): Likewise.
55124         (sinh_test_towardzero): Likewise.
55125         (sinh_test_downward): Likewise.
55126         (sinh_test_upward): Likewise.
55127         (main): Call the new functions.
55128         * sysdeps/i386/fpu/libm-test-ulps: Update.
55129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55131 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55133         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55134         default stack guard is set in last bytes.
55135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55137 2012-03-05  Kees Cook  <keescook@chromium.org>
55139         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55141         [BZ #13656]
55142         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55143         possibly allocate from heap instead of stack.
55144         * stdio-common/bug-vfprintf-nargs.c: New file.
55145         * stdio-common/Makefile (tests): Add nargs overflow test.
55147 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55151 2012-03-03  Marek Polacek  <polacek@redhat.com>
55153         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55154         * math/math_private.h: Likewise.
55155         * stdlib/tst-strtod.c: Likewise.
55156         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55157         * sysdeps/x86_64/bits/atomic.h: Likewise.
55159 2012-03-02  David S. Miller  <davem@davemloft.net>
55161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55165         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55166         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55167         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55168         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55170 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55172         [BZ #13792]
55173         * manual/examples/README: New file, says the example source files
55174         can be used under GPL>=2.
55175         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55176         line containing just "*/".
55177         * manual/examples/add.c: Add copyright header (GPL>=2).
55178         * manual/examples/argp-ex1.c: Likewise.
55179         * manual/examples/argp-ex2.c: Likewise.
55180         * manual/examples/argp-ex3.c: Likewise.
55181         * manual/examples/argp-ex4.c: Likewise.
55182         * manual/examples/atexit.c: Likewise.
55183         * manual/examples/db.c: Likewise.
55184         * manual/examples/dir.c: Likewise.
55185         * manual/examples/dir2.c: Likewise.
55186         * manual/examples/execinfo.c: Likewise.
55187         * manual/examples/filecli.c: Likewise.
55188         * manual/examples/filesrv.c: Likewise.
55189         * manual/examples/fmtmsgexpl.c: Likewise.
55190         * manual/examples/genpass.c: Likewise.
55191         * manual/examples/inetcli.c: Likewise.
55192         * manual/examples/inetsrv.c: Likewise.
55193         * manual/examples/isockad.c: Likewise.
55194         * manual/examples/longopt.c: Likewise.
55195         * manual/examples/memopen.c: Likewise.
55196         * manual/examples/memstrm.c: Likewise.
55197         * manual/examples/mkfsock.c: Likewise.
55198         * manual/examples/mkisock.c: Likewise.
55199         * manual/examples/mygetpass.c: Likewise.
55200         * manual/examples/pipe.c: Likewise.
55201         * manual/examples/popen.c: Likewise.
55202         * manual/examples/rprintf.c: Likewise.
55203         * manual/examples/search.c: Likewise.
55204         * manual/examples/select.c: Likewise.
55205         * manual/examples/setjmp.c: Likewise.
55206         * manual/examples/sigh1.c: Likewise.
55207         * manual/examples/sigusr.c: Likewise.
55208         * manual/examples/stpcpy.c: Likewise.
55209         * manual/examples/strdupa.c: Likewise.
55210         * manual/examples/strftim.c: Likewise.
55211         * manual/examples/strncat.c: Likewise.
55212         * manual/examples/subopt.c: Likewise.
55213         * manual/examples/swapcontext.c: Likewise.
55214         * manual/examples/termios.c: Likewise.
55215         * manual/examples/testopt.c: Likewise.
55216         * manual/examples/testpass.c: Likewise.
55217         * manual/examples/timeval_subtract.c: Likewise.
55219         [BZ #13792]
55220         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55221         function to ...
55222         * manual/timeval_subtract.c.texi: ... here, new file.
55224 2012-03-02  David S. Miller  <davem@davemloft.net>
55226         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55228 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55230         [BZ #3976]
55231         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55232         (__sin): Save and restore rounding mode and use round-to-nearest
55233         for all computations.
55234         (__cos): Save and restore rounding mode and use round-to-nearest
55235         for all computations.
55236         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55237         <fenv.h>.
55238         (tan): Save and restore rounding mode and use round-to-nearest for
55239         all computations.
55240         * math/libm-test.inc (cos_test_tonearest): New function.
55241         (cos_test_towardzero): Likewise.
55242         (cos_test_downward): Likewise.
55243         (cos_test_upward): Likewise.
55244         (sin_test_tonearest): Likewise.
55245         (sin_test_towardzero): Likewise.
55246         (sin_test_downward): Likewise.
55247         (sin_test_upward): Likewise.
55248         (tan_test_tonearest): Likewise.
55249         (tan_test_towardzero): Likewise.
55250         (tan_test_downward): Likewise.
55251         (tan_test_upward): Likewise.
55252         (main): Call the new functions.
55253         * sysdeps/i386/fpu/libm-test-ulps: Update.
55254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55256         [BZ #10135]
55257         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55258         small n, then large n, before computing and testing k+n.
55259         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55261         Likewise.
55262         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55263         Likewise.
55264         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55265         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55266         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55267         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55268         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55269         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55270         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55271         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55272         * math/libm-test.inc (scalbn_test): Add more tests.
55273         (scalbln_test): Likewise.
55275         * manual/filesys.texi (mode_t): Describe constraints on size and
55276         signedness, not exact equivalence to a particular type.
55277         (ino_t): Likewise.
55278         (ino64_t): Likewise.
55279         (dev_t): Likewise.
55280         (nlink_t): Likewise.
55281         (blkcnt_t): Likewise.
55282         (blkcnt64_t): Likewise.
55283         * manual/llio.texi (off_t): Likewise.
55285         [BZ #3976]
55286         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55287         (__ieee754_exp): Save and restore rounding mode and use
55288         round-to-nearest for all computations.
55289         * math/libm-test.inc (exp_test_tonearest): New function.
55290         (exp_test_towardzero): Likewise.
55291         (exp_test_downward): Likewise.
55292         (exp_test_upward): Likewise.
55293         (main): Call the new functions.
55294         * sysdeps/i386/fpu/libm-test-ulps: Update.
55295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55297 2012-03-01  Chris Demetriou  <cgd@google.com>
55299         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55300         have predictable order.
55302 2012-03-01  David S. Miller  <davem@davemloft.net>
55304         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55306         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55307         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55308         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55309         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55311         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55312         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55313         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55315         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55316         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55317         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55318         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55319         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55323         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55324         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55325         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55327         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55328         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55329         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55330         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55331         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55332         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55333         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55334         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55335         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55336         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55337         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55338         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55340         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55341         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55342         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55343         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55344         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55345         * sysdeps/sparc/elf/configure: Regenerated.
55347 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55349         * configure.in (AS, LD): Require binutils 2.20 or later.
55350         * configure: Regenerated.
55351         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55352         as required minimum version.
55353         * INSTALL: Regenerated.
55355         [BZ #2541]
55356         [BZ #4108]
55357         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55358         before squaring exponent.
55359         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55360         bottom long double and 27 bits of top long double before squaring
55361         exponent.
55362         * math/libm-test.inc (erfc_test): Add more tests.
55363         * sysdeps/i386/fpu/libm-test-ulps: Update.
55364         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55367 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55369         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55370         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55371         containing bit-fields.
55372         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55373         * soft-fp/single.h (_FP_UNION_S): Likewise.
55374         * soft-fp/double.h (_FP_UNION_D): Likewise.
55376 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55378         [BZ #13786]
55379         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55380         not include ../strcmp.S.
55381         [USE_AS_STRNCASECMP_L]: Likewise.
55382         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55383         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55384         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55385         (__strncasecmp_l_ia32): Define as alias to
55386         __strncasecmp_l_nonascii.
55388         [BZ #5794]
55389         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55390         * sysdeps/i386/fpu/libm-test-ulps: Update.
55391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55393         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55396 2012-02-29  Jeff Law  <law@redhat.com>
55398         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55399         out of bounds read.
55401 2012-02-29  Marek Polacek  <polacek@redhat.com>
55403         [BZ #13706]
55404         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55405         * elf/Makefile: Add rules to run tst-unused-dep.out.
55407 2012-02-28  David S. Miller  <davem@davemloft.net>
55409         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55410         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55411         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55412         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55413         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55414         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55416 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55418         * math/libm-test.inc (llround_test): Move one test from
55419         lround_test.  Use TEST_f_L in moved test.
55420         (lround_test): Move misplaced test to llround_test.  Add testcase
55421         from bug 2561.
55423 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55425         * sysdeps/x86_64/fpu/e_expf.S: New file.
55426         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55428 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55430         [BZ #13637]
55431         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55432         of remain_len that may cause incomplete multi-byte character and
55433         false match.
55434         * posix/bug-regex33.c: New file.
55435         * posix/Makefile (tests): Add bug-regex33.
55437 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55439         * manual/macros.texi: New file.
55440         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55441         * manual/libc.texinfo: Include macros.texi.
55442         * manual/creatute.texi: Likewise.
55443         * manual/install.texi: Likewise.
55444         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55445         @glibcadj{} in references to the GNU C Library.
55446         * manual/charset.texi: Likewise.
55447         * manual/conf.texi: Likewise.
55448         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55449         when not using those macros.
55450         * manual/creature.texi: Likewise.
55451         * manual/crypt.texi: Likewise.
55452         * manual/errno.texi: Likewise.
55453         * manual/filesys.texi: Likewise.
55454         * manual/header.texi: Likewise.
55455         * manual/install.texi: Likewise.
55456         * manual/intro.texi: Likewise.
55457         * manual/io.texi: Likewise.
55458         * manual/job.texi: Likewise.
55459         * manual/lang.texi: Likewise.
55460         * manual/libc.texiinfo: Likewise.
55461         * manual/llio.texi: Likewise.
55462         * manual/locale.texi: Likewise.
55463         * manual/maint.texi: Likewise.
55464         * manual/math.texi: Likewise.
55465         * manual/memory.texi: Likewise.
55466         * manual/message.texi: Likewise.
55467         * manual/nss.texi: Likewise.
55468         * manual/pattern.texi: Likewise.
55469         * manual/process.texi: Likewise.
55470         * manual/resource.texi: Likewise.
55471         * manual/search.texi: Likewise.
55472         * manual/setjmp.texi: Likewise.
55473         * manual/signal.texi: Likewise.
55474         * manual/socket.texi: Likewise.
55475         * manual/startup.texi: Likewise.
55476         * manual/stdio.texi: Likewise.
55477         * manual/string.texi: Likewise.
55478         * manual/sysinfo.texi: Likewise.
55479         * manual/syslog.texi: Likewise.
55480         * manual/terminal.texi: Likewise.
55481         * manual/time.texi: Likewise.
55482         * manual/users.texi: Likewise.
55483         * INSTALL: Regenerated.
55484         * NOTES: Regenerated.
55485         * sysdeps/gnu/errlist.c: Regenerated.
55487 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55489         * include/dirent.h: Include <dirstream.h> before
55490         <dirent/dirent.h>.
55492 2012-02-28  David S. Miller  <davem@davemloft.net>
55494         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55495         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55496         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55497         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55499 2012-02-27  David S. Miller  <davem@davemloft.net>
55501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55503         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55504         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55507         frame pointer instead of stack pointer relative arg slot.
55508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55509         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55510         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55512 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55514         [BZ #3992]
55515         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55517 2012-02-27  David S. Miller  <davem@davemloft.net>
55519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55523         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55524         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55525         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55526         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55528 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55530         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55531         later.  Allow versions 5-9.
55532         * configure: Regenerated.
55533         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55534         required minimum version and 4.6 as recommended version.  Do not
55535         mention bugs in GCC 2.7 and 2.8.
55536         * INSTALL: Regenerated.
55538 2012-02-27  David S. Miller  <davem@davemloft.net>
55540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55544         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55545         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55546         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55547         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55549         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55550         manipulate bits before adding and subtracting TWO112[sx].
55551         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55553 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55555         [BZ #13775]
55556         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55557         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55558         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55559         being in POSIX, because they are in 1003.1-2008.
55561         * rt/tst-aio.c: Include <fcntl.h>.
55562         * rt/tst-aio7.c: Likewise.
55563         * rt/tst-aio64.c: Likewise.
55565         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55567 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55569         * manual/install.texi (--with-headers): Describe headers as
55570         interface headers, not private headers.
55571         (Specific advice for GNU/Linux systems): Describe use of headers
55572         from "make headers_install", not private headers from older
55573         kernels.
55574         * INSTALL: Regenerated.
55575         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55576         Change to 2.6.19.
55577         * sysdeps/unix/sysv/linux/configure: Regenerated.
55579         * manual/llio.texi (fclean): Remove documentation.
55581         * manual/Makefile (libc-texi-generated): New variable.  Include
55582         version.texi.
55583         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55584         $(libc-texi-generated), not duplicated list of files.
55585         (version.texi, stamp-version): New rules.
55586         (realclean): Remove $(libc-texi-generated), not individual files
55587         from that list.  Do not remove dir-add.texinfo.
55588         * manual/libc.texinfo: Comment out uses of edition numbers and
55589         references to printed manual.  Remove last-updated dates.
55590         (EDITION): Comment out.
55591         (ISBN): Likewise.
55592         (VERSION, UPDATED): Remove.
55593         (version.texi): Include.
55595 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55597         * sysdeps/posix/spawni.c: Include <signal.h>.
55598         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55599         * sysdeps/pthread/aio_fsync.c: Likewise.
55601 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55603         * conform/Makefile (tests): Run only when not cross-compiling and
55604         when fast-check is not defined.
55606         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55607         * conform/data/limits.h-data: Fixes for POSIX2008.
55608         * conform/run-conformtest.sh: Run all tests.
55609         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55610         headers.
55611         * include/bits/dlfcn.h: Likewise.
55612         * include/langinfo.h: Likewise.
55613         * include/monetary.h: Likewise.
55614         * include/sys/poll.h: Likewise.
55616         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55617         for __USE_GNU.
55618         * posix/spawn.h: Define __need_sigset_t.
55619         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55620         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55621         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55622         to get sigevent_t only.
55623         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55624         only for __USE_GNU.
55625         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55626         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55627         process_vm_writev only for __USE_GNU.
55628         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55630         * conform/Makefile: For now ignore errors from run-conformtest.
55631         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55632         POSIX to avoid namespace pollution.  Don't prepend headers.
55633         * conform/data/aio.h-data: Fixes for POSIX testing.
55634         * conform/data/fcntl.h-data: Likewise.
55635         * conform/data/glob.h-data: Likewise.
55636         * conform/data/grp.h-data: Likewise.
55637         * conform/data/pthread.h-data: Likewise.
55638         * conform/data/pwd.h-data: Likewise.
55639         * conform/data/signal.h-data: Likewise.
55640         * conform/data/spawn.h-data: Likewise.
55641         * conform/data/stdio.h-data: Likewise.
55642         * conform/data/stdlib.h-data: Likewise.
55643         * conform/data/stropts.h-data: Likewise.
55644         * conform/data/sys/mman.h-data: Likewise.
55645         * conform/data/sys/stat.h-data: Likewise.
55646         * conform/data/sys/types.h-data: Likewise.
55647         * conform/data/sys/wait.h-data: Likewise.
55648         * conform/data/time.h-data: Likewise.
55649         * conform/data/unistd.h-data: Likewise.
55650         * conform/data/utime.h-data: Likewise.
55652         * io/sys/stat.h: fchmod was always in POSIX.
55653         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55654         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55655         * rt/aio.h: Define __need_timespec before including <time.h>.
55656         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55657         struct.  Add forward declaration of pthread_attr_t and use it in
55658         sigevent.
55659         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55660         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55661         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55662         always remove CLK_TCK definition.
55664 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55666         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55668 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55670         * conform/run-conformtest.sh: New file.
55671         * conform/Makefile: Run run-conformtest for tests.
55672         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55673         support.
55675         * conform/data/uchar.h-data: New file.
55676         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55677         * conform/data/arpa/inet.h-data: Likewise.
55678         * conform/data/assert.h-data: Likewise.
55679         * conform/data/complex.h-data: Likewise.
55680         * conform/data/cpio.h-data: Likewise.
55681         * conform/data/ctype.h-data: Likewise.
55682         * conform/data/dirent.h-data: Likewise.
55683         * conform/data/dlfcn.h-data: Likewise.
55684         * conform/data/errno.h-data: Likewise.
55685         * conform/data/fcntl.h-data: Likewise.
55686         * conform/data/float.h-data: Likewise.
55687         * conform/data/fmtmsg.h-data: Likewise.
55688         * conform/data/fnmatch.h-data: Likewise.
55689         * conform/data/ftw.h-data: Likewise.
55690         * conform/data/glob.h-data: Likewise.
55691         * conform/data/grp.h-data: Likewise.
55692         * conform/data/iconv.h-data: Likewise.
55693         * conform/data/inttypes.h-data: Likewise.
55694         * conform/data/langinfo.h-data: Likewise.
55695         * conform/data/libgen.h-data: Likewise.
55696         * conform/data/limits.h-data: Likewise.
55697         * conform/data/locale.h-data: Likewise.
55698         * conform/data/math.h-data: Likewise.
55699         * conform/data/monetary.h-data: Likewise.
55700         * conform/data/mqueue.h-data: Likewise.
55701         * conform/data/ndbm.h-data: Likewise.
55702         * conform/data/net/if.h-data: Likewise.
55703         * conform/data/netdb.h-data: Likewise.
55704         * conform/data/netinet/in.h-data: Likewise.
55705         * conform/data/nl_types.h-data: Likewise.
55706         * conform/data/poll.h-data: Likewise.
55707         * conform/data/pthread.h-data: Likewise.
55708         * conform/data/pwd.h-data: Likewise.
55709         * conform/data/regex.h-data: Likewise.
55710         * conform/data/sched.h-data: Likewise.
55711         * conform/data/search.h-data: Likewise.
55712         * conform/data/semaphore.h-data: Likewise.
55713         * conform/data/setjmp.h-data: Likewise.
55714         * conform/data/signal.h-data: Likewise.
55715         * conform/data/spawn.h-data: Likewise.
55716         * conform/data/stdarg.h-data: Likewise.
55717         * conform/data/stdio.h-data: Likewise.
55718         * conform/data/stdlib.h-data: Likewise.
55719         * conform/data/string.h-data: Likewise.
55720         * conform/data/strings.h-data: Likewise.
55721         * conform/data/stropts.h-data: Likewise.
55722         * conform/data/sys/ipc.h-data: Likewise.
55723         * conform/data/sys/mman.h-data: Likewise.
55724         * conform/data/sys/msg.h-data: Likewise.
55725         * conform/data/sys/resource.h-data: Likewise.
55726         * conform/data/sys/select.h-data: Likewise.
55727         * conform/data/sys/sem.h-data: Likewise.
55728         * conform/data/sys/shm.h-data: Likewise.
55729         * conform/data/sys/socket.h-data: Likewise.
55730         * conform/data/sys/stat.h-data: Likewise.
55731         * conform/data/sys/statvfs.h-data: Likewise.
55732         * conform/data/sys/time.h-data: Likewise.
55733         * conform/data/sys/timeb.h-data: Likewise.
55734         * conform/data/sys/times.h-data: Likewise.
55735         * conform/data/sys/types.h-data: Likewise.
55736         * conform/data/sys/uio.h-data: Likewise.
55737         * conform/data/sys/un.h-data: Likewise.
55738         * conform/data/sys/utsname.h-data: Likewise.
55739         * conform/data/sys/wait.h-data: Likewise.
55740         * conform/data/syslog.h-data: Likewise.
55741         * conform/data/tar.h-data: Likewise.
55742         * conform/data/termios.h-data: Likewise.
55743         * conform/data/utime.h-data: Likewise.
55744         * conform/data/utmpx.h-data: Likewise.
55745         * conform/data/varargs.h-data: Likewise.
55746         * conform/data/wchar.h-data: Likewise.
55747         * conform/data/wctype.h-data: Likewise.
55748         * conform/data/wordexp.h-data: Likewise.
55750         * include/stropts.h: New file.
55751         * include/uchar.h: New file.
55752         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55753         * include/assert.h: Likewise.
55754         * include/ctype.h: Likewise.
55755         * include/dirent.h: Likewise.
55756         * include/dlfcn.h: Likewise.
55757         * include/fcntl.h: Likewise.
55758         * include/fnmatch.h: Likewise.
55759         * include/glob.h: Likewise.
55760         * include/grp.h: Likewise.
55761         * include/libio.h: Likewise.
55762         * include/locale.h: Likewise.
55763         * include/math.h: Likewise.
55764         * include/net/if.h: Likewise.
55765         * include/netdb.h: Likewise.
55766         * include/netinet/in.h: Likewise.
55767         * include/pthread.h: Likewise.
55768         * include/pwd.h: Likewise.
55769         * include/regex.h: Likewise.
55770         * include/sched.h: Likewise.
55771         * include/search.h: Likewise.
55772         * include/setjmp.h: Likewise.
55773         * include/signal.h: Likewise.
55774         * include/stdio.h: Likewise.
55775         * include/stdlib.h: Likewise.
55776         * include/string.h: Likewise.
55777         * include/sys/cdefs.h: Likewise.
55778         * include/sys/mman.h: Likewise.
55779         * include/sys/msg.h: Likewise.
55780         * include/sys/resource.h: Likewise.
55781         * include/sys/select.h: Likewise.
55782         * include/sys/socket.h: Likewise.
55783         * include/sys/stat.h: Likewise.
55784         * include/sys/statvfs.h: Likewise.
55785         * include/sys/time.h: Likewise.
55786         * include/sys/times.h: Likewise.
55787         * include/sys/uio.h: Likewise.
55788         * include/sys/utsname.h: Likewise.
55789         * include/sys/wait.h: Likewise.
55790         * include/termios.h: Likewise.
55791         * include/time.h: Likewise.
55792         * include/ulimit.h: Likewise.
55793         * include/unistd.h: Likewise.
55794         * include/utime.h: Likewise.
55795         * include/wchar.h: Likewise.
55796         * include/wctype.h: Likewise.
55797         * include/wordexp.h: Likewise.
55799         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55801         * time/time.h: TIME_UTC must be a macro.
55802         Make timespec_get available for ISO C11 only as well.
55804 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55806         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55807         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55809 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55811         * configure.in: Use -o not -a in test for unsupported multi-arch.
55813 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55815         * manual/texinfo.tex: Update to version 2012-01-19.16.
55817 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55819         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55821 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55823         [BZ #13738]
55824         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55825         * manual/fdl-1.3.texi: New file.
55826         * manual/fdl-1.1.texi: File removed.
55828         [BZ #13738]
55829         * manual/libc.texinfo (FDL_VERSION): New @set.
55830         Use it for mention of FDL in cover text.
55831         (Documentation License): Use it in @include file name.
55833 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55834             Roland McGrath  <roland@hack.frob.com>
55836         [BZ #5461]
55837         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55838         (not LONG_LONG_MAX and LONG_LONG_MIN.
55839         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55840         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55841         name.
55842         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55844 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55846         [BZ #2547]
55847         [BZ #11365]
55848         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55849         manipulate bits before adding and subtracting TWO23[sx].
55850         * math/libm-test.inc (nearbyint_test): Add more tests.
55852 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55854         [BZ #2548]
55855         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55856         bits before adding and subtracting TWO23[sx].
55857         * math/libm-test.inc (rint_test): Add more tests.
55858         (rint_test_tonearest): Likewise.
55859         (rint_test_towardzero): Likewise.
55860         (rint_test_downward): Likewise.
55861         (rint_test_upward: Likewise.
55863 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55865         [BZ #10110]
55866         * include/stdc-predef.h: New file.  Extracted from features.h.
55867         * include/features.h: Include stdc-predef.h.
55868         * Makefile (headers): Add stdc-predef.h.
55869         * CONFORMANCE (Compiler limitations): Update.
55871 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55873         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55875 2012-02-21  David S. Miller  <davem@davemloft.net>
55877         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55878         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55880 2012-02-20  David S. Miller  <davem@davemloft.net>
55882         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55883         using a normal save/restore sequence, rather than allocating a
55884         dummy stack frame just to store a frame pointer and restore.
55885         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55887 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55889         * manual/install.texi: Fix stray word in line-wrapped comment.
55891 2012-02-20  David S. Miller  <davem@davemloft.net>
55893         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55894         both binutils and gcc support GOTDATA.
55896         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55897         "rd %pc" in the PIC register setup sequences.
55899         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55900         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55901         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55902         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55903         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55904         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55905         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55906         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55907         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55908         (SYSCALL_ERROR_HANDLER): Likewise.
55909         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55910         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55912         (SYSCALL_ERROR_HANDLER): Likewise.
55914         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55915         (HAVE_GCC_GOTDATA): New.
55916         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55917         relocation support in both binutils and gcc.
55918         * sysdeps/sparc/elf/configure: Regenerate.
55920         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55921         * sysdeps/sparc/sparc32/elf/configure: Delete.
55922         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55923         * sysdeps/sparc/sparc64/elf/configure: Delete.
55924         * sysdeps/sparc/elf/configure.in: New file.
55925         * sysdeps/sparc/elf/configure: Generate.
55927         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55928         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55929         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55930         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55931         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55933 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55935         * manual/install.texi: Do not mention specific glibc version
55936         numbers.
55937         * manual/libc.texinfo (VERSION, UPDATED): Update.
55938         (@copying): Use @copyright{} and range of years.
55940 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55942         [BZ #13695]
55943         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55944         [crti.S not in sysdirs] (generated): Do not append.
55945         [crti.S not in sysdirs] (omit-deps): Likewise.
55946         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55947         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55948         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55949         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55950         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55951         Likewise.
55952         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55953         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55954         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55955         * csu/defs.awk: Remove file.
55956         * sysdeps/generic/initfini.c: Likewise.
55957         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55958         variable.
55959         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55960         Likewise.
55962 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55964         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55965         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55966         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55967         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55968         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55969         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55970         <bits/epoll.h>.
55971         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55972         (__EPOLL_PACKED): Define to empty if not defined by
55973         <bits/epoll.h>.
55974         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55975         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55976         bits/epoll.h.
55978 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55980         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55981         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55982         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55983         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55984         <bits/timerfd.h>.
55985         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55986         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55987         bits/timerfd.h.
55989 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55991         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55992         in C locale.
55993         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55994         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55995         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55998 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56000         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56001         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56003 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56005         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56006         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56007         defined.
56008         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56009         Likewise.
56010         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56011         entry for 2.16.
56013 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56015         * math/w_acos.c: Use non-signaling floating-point comparisons.
56016         * math/w_acosf.c: Likewise.
56017         * math/w_acosh.c: Likewise.
56018         * math/w_acoshf.c: Likewise.
56019         * math/w_acoshl.c: Likewise.
56020         * math/w_acosl.c: Likewise.
56021         * math/w_asin.c: Likewise.
56022         * math/w_asinf.c: Likewise.
56023         * math/w_asinl.c: Likewise.
56024         * math/w_atanh.c: Likewise.
56025         * math/w_atanhf.c: Likewise.
56026         * math/w_atanhl.c: Likewise.
56027         * math/w_exp2.c: Likewise.
56028         * math/w_exp2f.c: Likewise.
56029         * math/w_exp2l.c: Likewise.
56030         * math/w_j0.c: Likewise.
56031         * math/w_j0f.c: Likewise.
56032         * math/w_j0l.c: Likewise.
56033         * math/w_j1.c: Likewise.
56034         * math/w_j1f.c: Likewise.
56035         * math/w_j1l.c: Likewise.
56036         * math/w_jn.c: Likewise.
56037         * math/w_jnf.c: Likewise.
56038         * math/w_log.c: Likewise.
56039         * math/w_log10.c: Likewise.
56040         * math/w_log10f.c: Likewise.
56041         * math/w_log10l.c: Likewise.
56042         * math/w_log2.c: Likewise.
56043         * math/w_log2f.c: Likewise.
56044         * math/w_log2l.c: Likewise.
56045         * math/w_logf.c: Likewise.
56046         * math/w_logl.c: Likewise.
56047         * math/w_sqrt.c: Likewise.
56048         * math/w_sqrtf.c: Likewise.
56049         * math/w_sqrtl.c: Likewise.
56050         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56051         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56052         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56053         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56054         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56056 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56058         [BZ #9739]
56059         * manual/string.texi (strnlen): Use correct parameter name in
56060         equivalent expression.
56062 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56064         [BZ #11174]
56065         * manual/users.texi (seteuid): Consistently use neweuid for
56066         argument name.
56068 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56070         [BZ #13704]
56071         * manual/nss.texi (Services in the NSS configuration): Correct
56072         list of services in example configuration file.
56074 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56076         [BZ #11322]
56077         * manual/arith.texi: Remove statements about negative zero
56078         behaving identically to zero.
56080 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56082         [BZ #5993]
56083         * manual/install.texi: Do not document upgrading from libc5.
56085 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56087         [BZ #4596]
56088         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56090 2012-02-18  David S. Miller  <davem@davemloft.net>
56092         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56093         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56094         %o7 across the call.
56095         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56096         instead.
56097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56098         SETUP_PIC_REG_LEAF.
56099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56100         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56101         * sysdeps/sparc/crtn.S: Likewise.
56103 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56105         * aout/Makefile: Remove.
56107 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56109         [BZ #13058]
56110         * manual/examples/argp-ex1.c (main): Format definition in GNU
56111         style.
56112         * manual/examples/argp-ex2.c (main): Likewise.
56113         * manual/examples/argp-ex3.c (main): Likewise.
56114         * manual/examples/argp-ex4.c (main): Likewise.
56115         * manual/examples/longopt.c (main): Use new-style prototype
56116         definition.
56117         * manual/examples/strncat.c (main): Specify return type and use
56118         (void) for arguments.
56119         * manual/examples/subopt.c (main): Use char **argv argument.
56121 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56123         [BZ #5077]
56124         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56125         rounding modes.
56127 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56129         [BZ #6907]
56130         * manual/string.texi (strchr): Change when strchrnul is
56131         recommended.
56133 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56135         [BZ #174]
56136         * manual/locale.texi (setlocale): Document LOCPATH.
56138 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56140         [BZ #10210]
56141         * manual/process.texi (execle): Move @dots{} before last argument.
56143 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56145         [BZ #12047]
56146         * manual/charset.texi (Generic Charset Conversion): Fix typo
56147         (LC_TYPE -> LC_CTYPE).
56149 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56151         [BZ #5805]
56152         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56153         (scalbnf): Likewise.
56154         (scalbnl): Likewise.
56155         (scalbln): Likewise.
56156         (scalblnf): Likewise.
56157         (scalblnl): Likewise.
56158         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56159         (vwarnx): Likewise.
56160         (verr): Likewise.
56161         (verrx): Likewise.
56162         * manual/filesys.texi (telldir): Use braces around return type.
56163         * manual/llio.texi (mmap): Add space after comma.
56164         (mmap64): Likewise.
56165         * manual/math.texi (jn): Use @var{} on parameter names.
56166         (jnf): Likewise.
56167         (jnl): Likewise.
56168         (yn): Likewise.
56169         (ynf): Likewise.
56170         (ynl): Likewise.
56171         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56172         line.
56173         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56174         "...".
56175         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56176         (sched_get_priority_max): Likewise.
56177         * manual/signal.texi (sigvec): Add space after comma.
56178         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56179         names.
56180         (if_indextoname): Likewise.
56181         (if_freenameindex): Likewise.
56182         (sendto): Use ',' instead of '.' in prototype.
56183         * manual/startup.texi (syscall): Use @dots{} instead of literal
56184         "...".
56185         * manual/stdio.texi (__fpending): Separate initial words of
56186         paragraph from @deftypefun line.
56187         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56188         "...".
56189         (vsyslog): Use @var{} on parameter names.
56190         * manual/terminal.texi (stty): Use @var{} on parameter names.
56191         * manual/users.texi (getutmp): Use @var{} on parameter names.
56192         (getutmpx): Likewise.
56194 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56196         [BZ #6884]
56197         * manual/stdio.texi (fopen): Fix typos in description of
56198         ",ccs=STRING".
56200 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56202         [BZ #4026]
56203         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56204         get clock_id definition.
56206 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56208         [BZ #4822]
56209         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56210         (madvise): Cast every argument to void on its own.
56212 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56214         [BZ #9902]
56215         * manual/startup.texi (Exit Status): Fix typo.
56217 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56219         [BZ #10140]
56220         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56221         * manual/examples/argp-ex2.c: Likewise.
56222         * manual/examples/argp-ex3.c: Likewise.
56224 2012-02-16  Richard Henderson  <rth@redhat.com>
56226         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56227         * sysdeps/s390/s390-32/initfini.c: Remove.
56228         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56229         * sysdeps/s390/s390-64/initfini.c: Remove.
56231 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56233         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56234         compiler output for sysdeps/generic/initfini.c.
56235         * sysdeps/sh/elf/initfini.c: Remove file.
56237 2012-02-16  David S. Miller  <davem@davemloft.net>
56239         [BZ #11494]
56240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56242         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56243         * sysdeps/sparc/crti.S: New file.
56244         * sysdeps/sparc/crtn.S: New file.
56245         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56246         * sysdeps/sparc/sparc64/Makefile: Likewise.
56248 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56250         [BZ #3335]
56251         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56253 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56255         [BZ #4822]
56256         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56258         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56259         (write, read, close): Likewise.
56260         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56262 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56264         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56265         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56266         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56267         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56268         <bits/signalfd.h>.
56269         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56271         bits/signalfd.h.
56273 2012-02-14  Marek Polacek  <polacek@redhat.com>
56275         * sysdeps/x86_64/crti.S: New file.
56276         * sysdeps/x86_64/crtn.S: New file.
56277         * sysdeps/x86_64/elf/initfini.c: Remove file.
56279 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56281         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56282         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56283         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56284         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56285         <bits/inotify.h>.
56286         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56288         bits/inotify.h.
56290 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56292         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56293         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56294         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56295         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56296         <bits/eventfd.h>.
56297         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56299         bits/eventfd.h.
56301 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56303         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56304         __feraiseexcept instead of feraiseexcept.
56306         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56307         nanosleep invocations.
56308         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56309         strings, and add error checking for a nanosleep invocations.
56311 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56313         Replace FSF snail mail address with URLs, as per GNU coding standards.
56314         Most of the snail mail addresses were wrong anyway, and omitting
56315         them makes the source code easier to maintain.  Almost all of the
56316         changes are to license notices and to locale LC_IDENTIFICATION
56317         addresses, except for this one:
56318         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56319         not its snail mail address.
56321 2012-02-09  Richard Henderson  <rth@twiddle.net>
56323         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56324         of kernel-features.h.
56326         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56328 2012-02-08  Marek Polacek  <polacek@redhat.com>
56330         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56331         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56332         * sysdeps/gnu/_G_config.h: Likewise.
56333         * sysdeps/generic/_G_config.h: Likewise.
56335 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56337         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56338         tests.
56339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56341         * sysdeps/powerpc/powerpc32/crti.S: New file.
56342         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56343         * sysdeps/powerpc/powerpc64/crti.S: New file.
56344         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56346         * Makeconfig (have-initfini): Don't set.
56347         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56348         * configure.in (nopic_initfini): Don't substitute.
56349         * config.h.in (HAVE_INITFINI): Don't #undef.
56350         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56351         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56353 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56355         Support crti.S and crtn.S provided directly by architectures.
56356         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56357         [crti.S in sysdirs] (omit-deps): Likewise.
56358         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56359         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56360         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56361         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56362         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56363         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56364         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56365         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56366         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56367         compiler output for sysdeps/generic/initfini.c.
56368         * sysdeps/i386/elf/Makefile: Remove file.
56369         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56371 2012-02-07  Marek Polacek  <polacek@redhat.com>
56373         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56374         * sysdeps/gnu/_G_config.h: Likewise.
56375         * sysdeps/mach/hurd/_G_config.h: Likewise.
56377 2012-02-07  Marek Polacek  <polacek@redhat.com>
56379         * math/Makefile (tests): Add tst-CMPLX2.
56380         * math/tst-CMPLX2.c: New file.
56382 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56384         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56386         * math/libm-test.inc (jn_test): Add missing L suffix.
56388 2012-02-06  Marek Polacek  <polacek@redhat.com>
56390         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56391         * sysdeps/i386/fpu/e_powf.S: Likewise.
56392         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56393         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56394         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56395         * sysdeps/i386/fpu/e_pow.S: Likewise.
56396         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56397         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56398         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56399         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56400         * sysdeps/i386/fpu/e_log2.S: Likewise.
56401         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56402         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56403         * sysdeps/i386/fpu/e_powl.S: Likewise.
56404         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56405         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56406         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56407         * sysdeps/i386/fpu/e_logl.S: Likewise.
56408         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56409         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56410         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56411         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56412         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56413         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56414         * sysdeps/i386/fpu/e_log.S: Likewise.
56415         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56416         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56417         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56418         * sysdeps/i386/fpu/e_logf.S: Likewise.
56419         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56420         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56421         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56422         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56423         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56424         * sysdeps/i386/fpu/e_log10.S: Likewise.
56425         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56426         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56427         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56428         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56429         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56430         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56431         * sysdeps/i386/asm-syntax.h: Likewise.
56432         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56433         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56434         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56435         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56436         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56437         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56438         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56439         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56440         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56441         * sysdeps/powerpc/sysdep.h: Likewise.
56442         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56443         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56445 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56447         [BZ #411]
56448         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56450 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56452         * sysdeps/i386/sysdep.h: Include <features.h>.
56453         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56454         version.
56456 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56458         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56459         Define.
56460         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56461         LOAD_PIC_REG_STR.
56463 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56465         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56466         (SETUP_PIC_REG): Use GET_PC_THUNK.
56467         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56468         macro.
56470 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56472         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56473         for non-PIC compilation.
56474         (SETUP_PIC_REG): Add .p2align directive.
56475         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56476         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56477         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56478         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56479         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56480         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56481         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56483         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56484         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56485         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56486         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56487         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56488         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56489         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56490         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56491         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56492         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56493         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56494         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56495         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56496         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56497         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56498         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56499         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56500         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56502         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56503         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56504         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56505         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56506         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56507         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56508         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56509         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56510         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56511         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56512         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56513         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56514         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56515         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56517 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56519         * math/tst-CMPLX.c: Include <stdio.h>.
56521 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56523         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56524         float.
56525         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56526         * sysdeps/sparc/bits/mathdef.h: Likewise.
56528 2012-01-31  Marek Polacek  <polacek@redhat.com>
56530         * libio/libio.h: Don't define _PARAMS.
56531         * locale/programs/config.h: Don't define PARAMS.
56532         * stdlib/strtol_l.c: Likewise.
56533         (__strtol_l): Remove PARAMS from the prototype.
56535 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56537         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56538         names.  Just use the correct names.  Remove unnecessary wrapper
56539         functions.
56540         * malloc/arena.c: Likewise.
56541         * malloc/hooks.c: Likewise.
56543         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56544         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56545         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56547 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56549         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56550         into tail calls.
56551         (update_get_addr): New function.
56552         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56553         GET_ADDR_MODULE parameter.
56555 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56557         * crypt/cert.c: Remove __STDC__ conditionals.
56558         * crypt/crypt-entry.c: Likewise.
56559         * crypt/crypt_util.c: Likewise.
56560         * libio/filedoalloc.c: Likewise.
56561         * libio/fileops.c: Likewise.
56562         * libio/genops.c: Likewise.
56563         * libio/iofclose.c: Likewise.
56564         * libio/iofdopen.c: Likewise.
56565         * libio/iofopen.c: Likewise.
56566         * libio/iofopen64.c: Likewise.
56567         * libio/iogetdelim.c: Likewise.
56568         * libio/iopopen.c: Likewise.
56569         * libio/obprintf.c: Likewise.
56570         * libio/oldfileops.c: Likewise.
56571         * libio/oldiofclose.c: Likewise.
56572         * libio/oldiofdopen.c: Likewise.
56573         * libio/oldiofopen.c: Likewise.
56574         * libio/oldiopopen.c: Likewise.
56575         * libio/wfiledoalloc.c: Likewise.
56576         * libio/wgenops.c: Likewise.
56577         * locale/programs/xmalloc.c: Likewise.
56578         * misc/syslog.c: Likewise.
56579         * stdio-common/xbug.c: Likewise.
56580         * string/memchr.c: Likewise.
56581         * string/memcmp.c: Likewise.
56582         * string/memrchr.c: Likewise.
56583         * string/rawmemchr.c: Likewise.
56584         * sysdeps/posix/getcwd.c: Likewise.
56585         * time/strftime_l.c: Likewise.
56587 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56589         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56590         * config.make.in (config-cflags-sse2avx): Define.
56591         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56592         Fix typo.
56594 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56596         * scripts/config.guess: Update from upstream config git repository.
56597         * scripts/config.sub: Likewise.
56599 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56601         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56602         (EM_NUM): Update.
56603         (R_TILEPRO_*, R_TILEGX_*): New macros.
56605         * scripts/firstversions.awk: Fix bug in version range handling.
56607         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56609         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56611         * include/sys/epoll.h: New file.
56612         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56613         libc_hidden_def.
56615 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56617         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56618         Avoid unnecessary __WORDSIZE == 64 test.
56619         (fmaxf): Use VEX format if possible.
56620         (fmax): Likewise.
56621         (fminf): Likewise.
56622         (fmin): Likewise.
56624         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56625         * math/math_private.h: Remove libc_fegetround* and
56626         libc_fesetround*.
56627         * sysdeps/i386/configure.in: Check for -msse2avx.
56628         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56629         also if SSE2AVX is defined.
56630         Remove libc_fegetround* and libc_fesetround*.
56631         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56632         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56633         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56634         of HAS_YMM_USABLE.
56635         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56636         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56637         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56638         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56639         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56641         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56643 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56645         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56646         size is not set.
56647         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56649 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56651         [BZ #13618]
56652         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56653         relocation.
56654         * Makeconfig (libm): Define.
56655         * elf/Makefile: Add rules to build and run tst-relsort1.
56656         * elf/tst-relsort1.c: New file.
56657         * elf/tst-relsort1mod1.c: New file.
56658         * elf/tst-relsort1mod2.c: New file.
56660 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56662         * math/s_ldexp.c: Remove __STDC__ conditionals.
56663         * math/s_ldexpf.c: Likewise.
56664         * math/s_ldexpl.c: Likewise.
56665         * math/s_nextafter.c: Likewise.
56666         * math/s_nexttowardf.c: Likewise.
56667         * math/s_significand.c: Likewise.
56668         * math/s_significandf.c: Likewise.
56669         * math/s_significandl.c: Likewise.
56670         * math/w_jnl.c: Likewise.
56671         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56672         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56673         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56674         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56675         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56676         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56677         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56678         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56679         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56680         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56681         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56682         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56683         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56684         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56685         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56686         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56687         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56688         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56689         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56690         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56691         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56692         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56693         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56694         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56695         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56696         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56697         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56698         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56699         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56700         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56701         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56702         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56703         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56704         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56705         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56706         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56707         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56708         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56709         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56710         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56711         * sysdeps/ieee754/k_standard.c: Likewise.
56712         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56713         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56714         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56715         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56716         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56717         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56718         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56719         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56720         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56721         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56722         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56723         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56724         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56725         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56726         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56727         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56728         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56729         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56730         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56731         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56732         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56733         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56734         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56735         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56736         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56737         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56738         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56739         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56741         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56742         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56743         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56744         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56745         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56746         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56747         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56748         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56749         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56750         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56751         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56752         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56753         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56754         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56755         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56756         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56757         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56758         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56760         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56761         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56762         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56763         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56764         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56765         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56766         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56767         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56768         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56769         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56770         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56771         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56772         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56773         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56774         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56775         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56776         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56777         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56778         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56779         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56780         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56781         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56782         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56783         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56784         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56785         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56786         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56787         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56788         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56789         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56790         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56791         * sysdeps/ieee754/s_matherr.c: Likewise.
56792         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56793         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56794         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56795         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56797 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56799         * crypt/md5.h: Remove __STDC__ conditionals.
56800         * libio/libioP.h: Likewise.
56801         * locale/programs/config.h: Likewise.
56802         * sysdeps/generic/sysdep.h: Likewise.
56803         * sysdeps/i386/asm-syntax.h: Likewise.
56804         * sysdeps/s390/asm-syntax.h: Likewise.
56805         * sysdeps/unix/sysdep.h: Likewise.
56806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56809 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56811         * libio/libio.h: Remove __STDC__ conditionals.
56812         * malloc/obstack.h: Likewise.
56813         * math/complex.h: Likewise.
56814         * math/math.h: Likewise.
56815         * sysdeps/generic/_G_config.h: Likewise.
56816         * sysdeps/gnu/_G_config.h: Likewise.
56817         * sysdeps/mach/hurd/_G_config.h: Likewise.
56818         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56819         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56820         * sysdeps/sparc/bits/mathdef.h: Likewise.
56822 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56824         [BZ #13583]
56825         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56826         Clean up HAS_* macros.
56827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56828         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56829         possible.
56830         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56831         HAS_AVX.
56832         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56833         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56834         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56835         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56836         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56838 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56840         * elf/tst-unique3.cc (gets): Remove declaration.
56841         * elf/tst-unique3lib.cc (gets): Likewise.
56842         * elf/tst-unique3lib2.cc (gets): Likewise.
56843         * elf/tst-unique4.cc (gets): Likewise.
56845 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56847         * include/stdio.h: Add C++ protection.  Add gets declarations and
56848         definitions.
56849         * debug/tst-chk1.c: Don't declare gets here.
56850         * stdio-common/tst-gets.c: Likewise.
56852 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56854         * posix/glob: Remove directory.
56856 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56858         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56860 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56862         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56863         of the non-standard EPFNOSUPPORT.
56865 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56867         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56868         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56869         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56871 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56873         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56875 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56877         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56878         transient errors.
56879         * nscd/grpcache.c (cache_addgr): Likewise.
56880         * nscd/hstcache.c (cache_addhst): Likewise.
56881         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56882         * nscd/pwdcache.c (cache_addpw): Likewise.
56883         * nscd/servicescache.c (cache_addserv): Likewise.
56885 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56887         * malloc/malloc.c: Various cleanups.
56888         * malloc/hooks.c: Likewise.
56890         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56891         * stdlib/bug-fmtmsg1.c: New file.
56893         * stdlib/fmtmsg.c (init): Add missing unlock.
56894         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56896 2012-01-12  Marek Polacek  <polacek@redhat.com>
56898         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56899         and _GNU_SOURCE.
56901 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56903         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56904         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56905         macro to ensure uniqueness of label name.
56906         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56907         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56909 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56911         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56913         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56914         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56915         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56916         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56918 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56920         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56922         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56923         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56924         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56926         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56928         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56929         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56930         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56931         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56933         * math/bits/math-finite.h: Add ldexp support.
56935 2012-01-10  Marek Polacek  <polacek@redhat.com>
56937         * locale/programs/localedef.h (show_archive_content): Add noreturn
56938         attribute.
56940 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56942         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56944 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56946         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56948         * io/Makefile (headers): Add bits/poll2.h.
56950 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56953         typo #include statement.
56955 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56957         * include/sys/cdefs.h: Define __attribute_alloc_size.
56958         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56959         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56960         * elf/pldd.c: Likewise.
56961         * iconv/iconv_charmap.c: Likewise.
56962         * iconv/iconvconfig.c: Likewise.
56963         * iconv/strtab.c: Likewise.
56964         * locale/programs/locale.c: Likewise.
56965         * locale/programs/localedef.h: Likewise.
56966         * locale/programs/simple-hash.c: Likewise.
56967         * nscd/nscd.h: Likewise.
56968         * nss/makedb.c: Likewise.
56969         * sysdeps/generic/ldconfig.h: Likewise.
56970         * locale/programs/localedef.c: Remove xmalloc prototype.
56971         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56973 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56975         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56976         appropriate.
56978 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56980         * math/Makefile (tests): Add tst-CMPLX.
56981         * math/tst-CMPLX.c: New file.
56983         * math/complex.h (CMPLXL): Fix typo.
56985         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56986         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56987         GLIBC_2.16.
56988         * debug/tst-chk1.c: Add poll and ppoll tests.
56989         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56990         * include/sys/poll.h: Add hidden proto for ppoll.
56991         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56992         * sysdeps/mach/hurd/ppoll.c: Likewise.
56993         * io/ppoll.c: Likewise.
56994         * debug/poll_chk.c: New file.
56995         * debug/ppoll_chk.c: New file.
56996         * include/bits/poll2.h: New file.
56997         * io/bits/poll2.h: New file.
56999         [BZ #1350]
57000         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57002         * configure.in: static is always set to yes.  Remove.
57003         * config.make.in: Don't set build-static.
57004         * Makeconfig: Remove use of build-static.
57005         * dlfcn/Makefile: Likewise.
57006         * elf/Makefile: Likewise.
57007         * math/Makefile: Likewise.
57008         * misc/Makefile: Likewise.
57009         * nptl/Makefile: Likewise.
57010         * sysdeps/mach/hurd/Makefile: Likewise.
57012         * configure.in: PWD_P is not used anymore.
57013         * config.make.in: Remove PWD_P entry.
57015         * configure.in: Remove last remnants of RANLIB.
57016         No need to check for signed size_t anymore.
57017         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57018         and IA-64.
57019         Remove __builtin_expect test because we require at least gcc 3.4.
57020         * aclocal.m4: Likewise.
57022         * wcsmbs/mbrtoc16.c: Implement using towc function.
57023         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57024         * wcsmbs/wcsmbsload.c: Likewise.
57025         * iconv/gconv_simple.c: Likewise.
57026         * iconv/gconv_int.h: Likewise.
57027         * iconv/gconv_builtin.h: Likewise.
57028         * iconv/iconv_prog.c: Remove CHAR16 handling.
57030         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57032         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57034         * configure.in: Remove --with-elf and --enable-bounded options.
57035         Dont set base_machine for ia64.  More non-ELF conditions removed.
57036         Remove testing and setting of leading underscore information.
57037         * config.make.in (build-bounded): Set to no.
57038         * config.h.in: Remove NO_UNDERSCORES entry.
57039         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57040         them.
57041         * csu/start.c: Remove !NO_UNDERSCORE code.
57042         * locale/localeinfo.h: Likewise.
57043         * sysdeps/generic/machine-gmon.h: Likewise.
57044         * sysdeps/generic/sysdep.h: Likewise.
57045         * sysdeps/i386/sysdep.h: Likewise.
57046         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57047         * sysdeps/mach/sysdep.h: Likewise.
57048         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57049         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57050         * sysdeps/sh/sysdep.h: Likewise.
57051         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57052         * sysdeps/unix/i386/sysdep.S: Likewise.
57053         * sysdeps/unix/sparc/start.c: Likewise.
57054         * sysdeps/unix/sparc/sysdep.S: Likewise.
57055         * sysdeps/unix/sparc/sysdep.h: Likewise.
57056         * sysdeps/unix/start.c: Likewise.
57057         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57058         * sysdeps/x86_64/sysdep.h: Likewise.
57060 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57062         [BZ #13553]
57063         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57064         for non-gcc.
57065         * argp/argp-fmtstream.h: Use const instead __const.
57066         * argp/argp.h: Likewise.
57067         * assert/assert.h: Likewise.
57068         * bits/fenv.h: Likewise.
57069         * bits/sched.h: Likewise.
57070         * bits/sigset.h: Likewise.
57071         * bits/sigthread.h: Likewise.
57072         * catgets/nl_types.h: Likewise.
57073         * conform/data/pthread.h-data: Likewise.
57074         * crypt/crypt-private.h: Likewise.
57075         * crypt/crypt.h: Likewise.
57076         * crypt/crypt_util.c: Likewise.
57077         * ctype/ctype.h: Likewise.
57078         * debug/execinfo.h: Likewise.
57079         * debug/mbsnrtowcs_chk.c: Likewise.
57080         * debug/mbsrtowcs_chk.c: Likewise.
57081         * debug/wcsnrtombs_chk.c: Likewise.
57082         * debug/wcsrtombs_chk.c: Likewise.
57083         * debug/wcstombs_chk.c: Likewise.
57084         * dirent/dirent.h: Likewise.
57085         * dlfcn/dlfcn.h: Likewise.
57086         * elf/neededtest4.c: Likewise.
57087         * grp/grp.h: Likewise.
57088         * gshadow/gshadow.h: Likewise.
57089         * iconv/gconv.h: Likewise.
57090         * iconv/gconv_int.h: Likewise.
57091         * iconv/gconv_simple.c: Likewise.
57092         * iconv/iconv.h: Likewise.
57093         * iconv/loop.c: Likewise.
57094         * iconv/skeleton.c: Likewise.
57095         * include/aio.h: Likewise.
57096         * include/aliases.h: Likewise.
57097         * include/argz.h: Likewise.
57098         * include/arpa/inet.h: Likewise.
57099         * include/assert.h: Likewise.
57100         * include/dirent.h: Likewise.
57101         * include/dlfcn.h: Likewise.
57102         * include/execinfo.h: Likewise.
57103         * include/fcntl.h: Likewise.
57104         * include/fenv.h: Likewise.
57105         * include/glob.h: Likewise.
57106         * include/grp.h: Likewise.
57107         * include/libintl.h: Likewise.
57108         * include/mntent.h: Likewise.
57109         * include/netdb.h: Likewise.
57110         * include/pwd.h: Likewise.
57111         * include/rpc/netdb.h: Likewise.
57112         * include/sched.h: Likewise.
57113         * include/search.h: Likewise.
57114         * include/shadow.h: Likewise.
57115         * include/signal.h: Likewise.
57116         * include/stdio.h: Likewise.
57117         * include/stdlib.h: Likewise.
57118         * include/string.h: Likewise.
57119         * include/sys/socket.h: Likewise.
57120         * include/sys/stat.h: Likewise.
57121         * include/sys/statfs.h: Likewise.
57122         * include/sys/statvfs.h: Likewise.
57123         * include/sys/syslog.h: Likewise.
57124         * include/sys/time.h: Likewise.
57125         * include/sys/uio.h: Likewise.
57126         * include/time.h: Likewise.
57127         * include/unistd.h: Likewise.
57128         * include/utmp.h: Likewise.
57129         * include/wchar.h: Likewise.
57130         * include/wctype.h: Likewise.
57131         * inet/aliases.h: Likewise.
57132         * inet/arpa/inet.h: Likewise.
57133         * inet/netinet/ether.h: Likewise.
57134         * inet/netinet/in.h: Likewise.
57135         * intl/libintl.h: Likewise.
57136         * io/bits/fcntl2.h: Likewise.
57137         * io/fcntl.h: Likewise.
57138         * io/ftw.h: Likewise.
57139         * io/sys/poll.h: Likewise.
57140         * io/sys/stat.h: Likewise.
57141         * io/sys/statfs.h: Likewise.
57142         * io/sys/statvfs.h: Likewise.
57143         * io/utime.h: Likewise.
57144         * libio/bits/stdio.h: Likewise.
57145         * libio/bits/stdio2.h: Likewise.
57146         * libio/libio.h: Likewise.
57147         * libio/libioP.h: Likewise.
57148         * libio/stdio.h: Likewise.
57149         * locale/lc-ctype.c: Likewise.
57150         * locale/locale.h: Likewise.
57151         * login/utmp.h: Likewise.
57152         * malloc/arena.c: Likewise.
57153         * malloc/malloc.c: Likewise.
57154         * malloc/malloc.h: Likewise.
57155         * malloc/mcheck.c: Likewise.
57156         * malloc/mtrace.c: Likewise.
57157         * math/bits/mathcalls.h: Likewise.
57158         * math/fenv.h: Likewise.
57159         * math/math_private.h: Likewise.
57160         * misc/bits/error.h: Likewise.
57161         * misc/bits/syslog.h: Likewise.
57162         * misc/err.h: Likewise.
57163         * misc/error.h: Likewise.
57164         * misc/fstab.h: Likewise.
57165         * misc/mntent.h: Likewise.
57166         * misc/regexp.h: Likewise.
57167         * misc/search.h: Likewise.
57168         * misc/sgtty.h: Likewise.
57169         * misc/sys/mman.h: Likewise.
57170         * misc/sys/syslog.h: Likewise.
57171         * misc/sys/uio.h: Likewise.
57172         * misc/sys/xattr.h: Likewise.
57173         * misc/ttyent.h: Likewise.
57174         * nis/rpcsvc/ypclnt.h: Likewise.
57175         * nss/nss.h: Likewise.
57176         * posix/bits/unistd.h: Likewise.
57177         * posix/fnmatch.h: Likewise.
57178         * posix/glob.h: Likewise.
57179         * posix/sched.h: Likewise.
57180         * posix/spawn.h: Likewise.
57181         * posix/sys/wait.h: Likewise.
57182         * posix/unistd.h: Likewise.
57183         * posix/wordexp.h: Likewise.
57184         * pwd/pwd.h: Likewise.
57185         * resolv/netdb.h: Likewise.
57186         * resource/sys/resource.h: Likewise.
57187         * rt/aio.h: Likewise.
57188         * rt/bits/mqueue2.h: Likewise.
57189         * rt/mqueue.h: Likewise.
57190         * shadow/shadow.h: Likewise.
57191         * signal/signal.h: Likewise.
57192         * socket/send.c: Likewise.
57193         * socket/sendto.c: Likewise.
57194         * socket/sys/socket.h: Likewise.
57195         * stdio-common/printf.h: Likewise.
57196         * stdlib/bits/stdlib.h: Likewise.
57197         * stdlib/fmtmsg.h: Likewise.
57198         * stdlib/monetary.h: Likewise.
57199         * stdlib/stdlib.h: Likewise.
57200         * stdlib/ucontext.h: Likewise.
57201         * streams/stropts.h: Likewise.
57202         * string/argz.h: Likewise.
57203         * string/bits/string2.h: Likewise.
57204         * string/string.h: Likewise.
57205         * string/strings.h: Likewise.
57206         * sunrpc/rpc/auth.h: Likewise.
57207         * sunrpc/rpc/auth_des.h: Likewise.
57208         * sunrpc/rpc/clnt.h: Likewise.
57209         * sunrpc/rpc/netdb.h: Likewise.
57210         * sunrpc/rpc/pmap_clnt.h: Likewise.
57211         * sunrpc/rpc/xdr.h: Likewise.
57212         * sysdeps/generic/inttypes.h: Likewise.
57213         * sysdeps/generic/net/if.h: Likewise.
57214         * sysdeps/generic/sys/swap.h: Likewise.
57215         * sysdeps/gnu/net/if.h: Likewise.
57216         * sysdeps/gnu/utmpx.h: Likewise.
57217         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57218         * sysdeps/i386/i486/bits/string.h: Likewise.
57219         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57220         * sysdeps/s390/bits/string.h: Likewise.
57221         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57222         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57223         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57224         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57225         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57226         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57227         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57228         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57229         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57230         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57231         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57232         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57233         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57234         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57235         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57236         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57237         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57239         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57240         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57241         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57242         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57243         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57244         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57245         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57246         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57247         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57248         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57249         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57250         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57251         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57252         * sysvipc/sys/ipc.h: Likewise.
57253         * sysvipc/sys/msg.h: Likewise.
57254         * sysvipc/sys/sem.h: Likewise.
57255         * sysvipc/sys/shm.h: Likewise.
57256         * termios/termios.h: Likewise.
57257         * time/sys/time.h: Likewise.
57258         * time/time.h: Likewise.
57259         * wcsmbs/bits/wchar2.h: Likewise.
57260         * wcsmbs/uchar.h: Likewise.
57261         * wcsmbs/wchar.h: Likewise.
57262         * wctype/wctype.h: Likewise.
57264         [BZ #13551]
57265         * Makeconfig: Remove all but ELF support including AIX support.
57266         * Makerules: Likewise.
57267         * config.h.in: Likewise.
57268         * config.make.in: Likewise.
57269         * configure: Likewise.
57270         * configure.in: Likewise.
57271         * csu/Makefile: Likewise.
57272         * csu/version.c: Likewise.
57273         * debug/Makefile: Likewise.
57274         * dlfcn/Makefile: Likewise.
57275         * elf/Makefile: Likewise.
57276         * extra-lib.mk: Likewise.
57277         * iconv/Makefile: Likewise.
57278         * include/libc-symbols.h: Likewise.
57279         * include/shlib-compat.h: Likewise.
57280         * resolv/Makefile: Likewise.
57281         * resolv/res_libc.c: Likewise.
57282         * rt/Makefile: Likewise.
57283         * sysdeps/i386/asm-syntax.h: Likewise.
57284         * sysdeps/i386/sysdep.h: Likewise.
57285         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57286         * sysdeps/mach/sysdep.h: Likewise.
57287         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57288         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57289         * sysdeps/s390/asm-syntax.h: Likewise.
57290         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57291         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57292         * sysdeps/sh/sysdep.h: Likewise.
57293         * sysdeps/unix/sparc/sysdep.h: Likewise.
57294         * sysdeps/wordsize-32/divdi3.c: Likewise.
57295         * sysdeps/x86_64/sysdep.h: Likewise.
57297         * argp/Versions: Remove _argp_unlock_xxx.
57299         [BZ #13559]
57300         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57301         * abilist/libBrokenLocale.abilist: Likewise.
57302         * abilist/libanl.abilist: Likewise.
57303         * abilist/libc.abilist: Likewise.
57304         * abilist/libcrypt.abilist: Likewise.
57305         * abilist/libdl.abilist: Likewise.
57306         * abilist/libm.abilist: Likewise.
57307         * abilist/libnsl.abilist: Likewise.
57308         * abilist/libpthread.abilist: Likewise.
57309         * abilist/libresolv.abilist: Likewise.
57310         * abilist/librt.abilist: Likewise.
57311         * abilist/libthread_db.abilist: Likewise.
57312         * abilist/libutil.abilist: Likewise.
57313         * abilist/libnss_db.abilist: New file.
57315         * scripts/abilist.awk: Add support for indirect functions.
57317         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57319         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57321         * shlib-versions: Remove entries for ports architectures.
57323         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57324         files in ports.
57325         * elf/stackguard-macros.h: Remove support for IA-64.
57326         * elf/tst-auditmod1.c: Likewise.
57327         * sysdeps/generic/ldsodefs.h: Likewise.
57329         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57330         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57331         configure files.
57333         [BZ #13552]
57334         * configure.in: Remove --enable-omitfp support.
57335         * FAQ.in: Adjust.
57336         * config.make.in: Likewise.
57337         * Makeconfig: Likewise.
57338         * manual/install.texi: Likewise.
57340         In case anyone cares, the IA-64 architecture could move to ports.
57341         * sysdeps/ia64/*: Removed.
57342         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57343         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57345         [BZ #13555]
57346         * configure.in: Remove entries for unsupported architectures.
57348         [BZ #13533]
57349         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57350         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57351         routines.
57352         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57353         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57354         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57355         fall back to using wcrtomb.
57356         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57357         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57358         renaming.
57359         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57360         * wcsmbs/tst-c16c32-1.c: New file.
57362         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57363         local variable.
57365         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57367         * elf/tst-unique3.cc: Add explicit declaration of gets.
57368         * elf/tst-unique3lib.cc: Likewise.
57369         * elf/tst-unique3lib2.cc: Likewise.
57370         * elf/tst-unique4.cc: Likewise.
57372         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57374 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57376         [BZ #13566]
57377         * assert/assert.h (static_assert): Don't define for C++.
57378         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57379         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57381 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57383         * iconv/loop.c (single loop): Fix assertion in storing of
57384         remaining bytes.
57386         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57388 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57390         * posix/getconf.c: Update copyright year.
57391         * nss/getent.c: Likewise.
57392         * nss/makedb.c: Likewise.
57393         * iconv/iconvconfig.c: Likewise.
57394         * iconv/iconv_prog.c: Likewise.
57395         * elf/ldconfig.c: Likewise.
57396         * elf/pldd.c: Likewise.
57397         * elf/sotruss.ksh: Likewise.
57398         * catgets/gencat.c: Likewise.
57399         * csu/version.c: Likewise.
57400         * elf/ldd.bash.in: Likewise.
57401         * elf/sprof.c (print_version): Likewise.
57402         * locale/programs/locale.c: Likewise.
57403         * locale/programs/localedef.c: Likewise.
57404         * login/programs/pt_chown.c: Likewise.
57405         * nscd/nscd.c (print_version): Likewise.
57406         * debug/xtrace.sh: Likewise.
57407         * malloc/memusage.sh: Likewise.
57408         * malloc/mtrace.pl: Likewise.
57409         * debug/catchsegv.sh: Likewise.
57411 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57413         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57414         pure attribute.
57416 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57418         [BZ #13533]
57419         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57420         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57421         transformations.
57422         * iconv/gconv_int.h: Likewise.
57423         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57424         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57425         from libc for GLIBC_2.16.
57426         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57427         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57428         * wcsmbs/uchar.h: Really define mbstate_t.
57429         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57430         * wcsmbs/c16rtomb.c: New file.
57431         * wcsmbs/mbrtoc16.c: New file.
57432         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57433         for C/POSIX locale.
57434         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57435         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57437         * wcsmbs/wchar.h: Add missing __restrict.
57439 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57441         [BZ #13532]
57442         * time/Makefile (routines): Add timespec_get.
57443         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57444         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57445         timespec for ISO C11.
57446         * time/timespec_get.c: New file.
57447         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57448         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57450         [BZ #13531]
57451         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57452         * stdlib/stdlib.h: Declare aligned_alloc.
57453         * Versions.def: Add GLIBC_2.16 for libc.
57454         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57456         [BZ 13527]
57457         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57458         ISO C11.
57460         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57461         code.
57463         [BZ #13528]
57464         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57466         [BZ #13529]
57467         * assert/assert.h (static_assert): Define.
57469         * version.h: Update for 2.16 development version.
57471         [BZ #13526]
57472         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57473         _ISOC11_SOURCE.
57475         * version.h (RELEASE): Bump for 2.15 release.
57476         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57478         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57479         Patch by Marek Polacek <mpolacek@redhat.com>.
57481         * bits/byteswap.h: Protect long long constants with __extension__.
57482         * sysdeps/i386/bits/byteswap.h: Likewise.
57483         * sysdeps/ia64/bits/byteswap.h: Likewise.
57484         * sysdeps/s390/bits/byteswap.h: Likewise.
57485         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57487 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57489         [BZ #13540]
57490         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57491         destination buffer.
57492         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57494 2011-12-23  Marek Polacek  <polacek@redhat.com>
57496         * elf/dl-addr.c (determine_info): Add inline keyword.
57497         * elf/tst-auditmod4b.c (check_avx): Likewise.
57498         * elf/tst-auditmod6b.c (check_avx): Likewise.
57499         * elf/tst-auditmod6c.c (check_avx): Likewise.
57500         * elf/tst-auditmod7b.c (check_avx): Likewise.
57502 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57504         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57505         !__SSE_MATH__.
57507 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57509         [BZ #13540]
57510         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57511         processing for last bytes.
57513 2011-08-06  Bruno Haible  <bruno@clisp.org>
57515         [BZ #13061]
57516         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57517         U+0385, not to U+1FEE.
57519         [BZ #13062]
57520         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57521         entry for U+00A5 U+0301.
57523 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57525         [BZ #13166]
57526         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57527         buffer for the output is too small.
57529         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57530         optimization.
57532         [BZ #13185]
57533         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57534         SSE flags if possible.
57536 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57538         [BZ #13540]
57539         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57540         processing for last bytes.
57542 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57544         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57545         (syscall-list-default-options, syscall-list-default-condition)
57546         (syscall-list-includes): Define.
57547         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57548         list of ABIs and options and #if conditions for each ABI.  Do not
57549         handle common syscalls between ABIs specially.
57550         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57551         Remove.
57552         (syscall-list-variants, syscall-list-32bit-options)
57553         (syscall-list-32bit-condition, syscall-list-64bit-options)
57554         (syscall-list-64bit-condition): Define.
57555         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57556         (syscall-list-variants, syscall-list-32bit-options)
57557         (syscall-list-32bit-condition, syscall-list-64bit-options)
57558         (syscall-list-64bit-condition): Define.
57559         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57560         Remove.
57561         (syscall-list-variants, syscall-list-32bit-options)
57562         (syscall-list-32bit-condition, syscall-list-64bit-options)
57563         (syscall-list-64bit-condition): Define.
57564         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57565         Remove.
57566         (syscall-list-variants, syscall-list-32bit-options)
57567         (syscall-list-32bit-condition, syscall-list-64bit-options)
57568         (syscall-list-64bit-condition): Define.
57570 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57572         * locale/iso-639.def: Add brx entry.
57574         [BZ #13328]
57575         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57576         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57578         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57579         __feraiseexcept_renamed.
57581 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57583         [BZ #13538]
57584         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57585         EPOLLET with unsigned values.
57586         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57587         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57589         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57590         to large cancellation.
57591         * math/s_cacoshf.c: Likewise.
57592         * math/s_cacoshl.c: Likewise.
57594 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57596         [BZ #13305]
57597         [BZ #12786]
57598         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57599         * math/s_cacoshf.c: Likewise.
57600         * math/s_cacoshl.c: Likewise.
57602 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57604         [BZ #13439]
57605         * iconv/gconv.h: Define __GCONV_SWAP.
57606         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57607         * iconvdata/utf-16.c: Likewise.
57608         * iconvdata/utf-32.c: Likewise.
57610 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57612         [BZ #13524]
57613         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57614         numerator after shifting it by one limb.
57616 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57618         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57619         under [__USE_EXTERN_INLINES].
57621 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57623         [BZ #13446]
57624         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57626 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57628         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57629         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57630         optimized code.
57631         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57632         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57633         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57634         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57635         for strncasecmp/strncasecmp_l compilation.
57636         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57637         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57639 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57641         [BZ #13484]
57642         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57643         of __asm__.
57645 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57647         [BZ #13506]
57648         * time/tzfile.c (__tzfile_read): Check values from file header.
57650 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57652         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57653         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57654         * powerpc/powerpc32/dl-start.S: Likewise.
57655         * powerpc/powerpc32/elf/start.S: Likewise.
57656         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57657         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57658         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57659         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57660         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57661         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57662         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57663         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57664         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57665         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57666         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57667         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57668         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57669         * powerpc/powerpc32/memset.S: Likewise.
57670         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57671         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57672         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57673         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57674         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57675         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57676         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57677         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57678         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57679         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57680         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57681         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57682         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57684 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57686         * math/libm-test.inc: Added more nearbyint tests.
57687         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57688         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57689         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57690         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57692 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57694         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57695         FD_CLOEXEC.
57697 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57699         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57700         Add wcscpy-ssse3 wcscpy-c.
57701         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57702         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57703         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57704         * sysdeps/x86_64/wcschr.S: New file.
57705         * sysdeps/x86_64/wcsrchr.S: New file.
57706         * string/test-strcmp.c: Remove checking of wcscmp function for
57707         wrong alignments.
57708         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57709         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57710         wcsrchr-sse2 wcsrchr-c.
57711         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57712         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57713         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57714         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57715         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57716         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57717         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57718         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57719         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57720         * wcsmbc/wcschr.c (WCSCHR): New macro.
57722 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57724         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57725         * wcsmbs/test-wcsrchr.c: New file.
57726         * string/test-strrchr.c: Add wcsrchr support.
57727         (WIDE): New macro.
57728         * wcsmbs/test-wcscpy.c: New file.
57729         * string/test-strcpy.c: Add wcscpy support.
57730         (WIDE): New macro.
57732 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57734         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57735         the inner loop.
57737 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57739         [BZ #13472]
57740         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57742 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57744         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57745         Minor optimizations.
57747         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57748         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57749         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57751 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57753         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57754         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57755         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57756         for gcc to avoid warnings.
57757         * inet/Makefile (tests): Add tst-checks.
57758         * inet/tst-checks.c: New file.
57760         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57761         warning.
57763         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57764         __wmemcmp_sse2.
57766         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57767         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57769         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57771 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57773         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57774         problem.
57776         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57778 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57780         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57781         conditional on GCC version.
57782         (__arch_compare_and_exchange_val_8_acq)
57783         (__arch_compare_and_exchange_val_16_acq)
57784         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57785         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57786         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57788 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57790         * sysdeps/sh/backtrace.c: New file.
57792 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57794         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57795         parenthesis.
57797 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57799         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57800         falling back to utime.
57802 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57804         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57805         expectations for float.
57807 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57809         * locale/weight.h (findidx): Add parameter len.
57810         * locale/weightwc.h (findidx): Likewise.
57811         * posix/fnmatch_loop.c (FCT): Adjust caller.
57812         * posix/regcomp.c (build_equiv_class): Likewise.
57813         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57814         * posix/regexec.c (check_node_accept_bytes): Likewise.
57815         * string/strcoll_l.c (STRCOLL): Likewise.
57816         * string/strxfrm_l.c (STRXFRM): Likewise.
57818 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57820         * Makefile.in: Remove CVSOPT handling.
57821         * configure.in: Remove use of AC_REVISION.
57822         * iconvdata/Makefile (distribute): No need to filter out CVS.
57823         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57824         handling.
57826 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57828         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57829         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57830         [USE_AS_STRNCASECMP_L]: Likewise.
57831         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57832         NO_TLS_DIRECT_SEG_REFS.
57833         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57834         Fix argument offsets for non-PIC.
57835         [USE_AS_STRNCASECMP_L]: Likewise.
57836         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57837         NO_TLS_DIRECT_SEG_REFS.
57839 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57841         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57842         O_CLOEXEC.
57843         * locale/loadlocale.c (_nl_load_locale): Likewise.
57845 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57847         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57848         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57849         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57850         (SYSCALL_GETTIME): Set errno on error.
57852         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57853         count references to noai6ai_cached.
57855 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57857         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57859         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57860         FD_CLOEXEC for /proc/self/maps.
57862         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57863         FD_CLOEXEC for /proc/meminfo.
57865         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57866         gai.conf.
57868         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57869         FD_CLOEXEC for given file.
57871         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57873         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57874         FD_CLOEXEC for /etc/hosts.
57875         (_gethtent): Likewise.
57877         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57879         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57880         cancellation and set FD_CLOEXEC for /etc/netgroup.
57882         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57883         reading /etc/publickey.
57885         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57886         allow cancellation when reading /etc/group.
57888         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57889         cancellation.
57890         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57892         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57893         when using data file.
57895         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57897         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57898         (write_nis_obj): Use "c" and "e" in fopen.
57900         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57902         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57904         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57906         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57908         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57909         locale.alias.
57911         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57913         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57915         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57917         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57918         file parsing and set FD_CLOEXEC.
57920 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57922         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57924 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57926         * malloc/arena.c (arena_get2): Don't call reused_arena when
57927         _int_new_arena failed.
57929 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57931         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57932         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57933         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57934         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57935         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57936         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57937         to compile strcasecmp and strncasecmp.
57938         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57939         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57941         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57943 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57945         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57946         locale-defines.sym to gen-as-const-headers.
57947         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57948         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57949         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57950         to compile strcasecmp and strncasecmp.
57951         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57952         strcasecmp_l and strncasecmp_l.
57953         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57954         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57955         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57956         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57957         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57958         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57959         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57960         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57961         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57962         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57963         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57965 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57967         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57968         result of SYSDEP_GETTIME_CPU to retval.
57969         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57970         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57972         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57973         variable.
57975         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57976         mantissa words.
57977         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57979         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57980         from unused variable.
57982         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57983         DWARF definitions.
57984         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57985         for assembling.
57987         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57988         over namespaces.
57990         * sunrpc/rpc_prot.c (rejected): Fix case value.
57992         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57993         unsigned long long int to avoid warnings in shift.
57995         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57996         of use of trans.
57997         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57998         variable tmp.
58000         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58001         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58002         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58004         * nis/nis_table.c (nis_list): Use variable of correct type for
58005         result of __follow_path call.
58007 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58009         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58010         of math functions ceil, trunc, floor, round, and sqrt, when
58011         avaliable on the platform.
58012         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58013         name clash.
58014         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58015         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58016         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58018 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58020         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58021         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58023 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58025         * include/unistd.h: Fix __readlink return type.
58026         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58028 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58030         * stdlib/ucontext.h: Undo last change for makecontext.
58032 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58034         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58036         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58037         * setjmp/setjmp.h: Mark functions as non-leaf.
58038         * setjmp/bits/setjmp2.h: Likewise.
58039         * stdlib/ucontext.h: Likewise.
58041 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58043         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58044         (reused_arena): Don't check arena limit.
58045         (arena_get2): Atomically check arena limit.
58047 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58049         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58050         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58052         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58053         instructions.
58055 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58057         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58058         handler when locking.
58060         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58061         Fix size of allocated buffer.
58063 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58065         [BZ #10103]
58066         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58067         declarations for long double functions.
58068         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58070         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58072 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58074         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58075         installed.
58077         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58078         is disabled.
58080 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58082         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58084 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58086         * include/alloca.h (stackinfo_alloca_round): Define.
58087         (extend_alloca): Use it.
58088         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58089         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58090         here.
58092         * scripts/check-local-headers.sh: Ignore libaudit.h.
58094         * nscd/Makefile (extra-objs): Make recursively expanded.
58096 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58098         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58099         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58101         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58102         * posix/tst-rfc3484-2.c: Likewise.
58103         * posix/tst-rfc3484-3.c: Likewise.
58105         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58106         process_vm_writev.
58107         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58108         process_vm_writev.
58109         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58110         process_vm_writev from libc using GLIBC_2.15 version.
58112         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58114 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58116         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58117         stack usage.
58119 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58121         [BZ #13367]
58122         * nss/getent.c (initgroups_keys): Show error message in case no group
58123         names are given.
58125         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58126         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58127         __bump_nl_timestamp.
58128         * nscd/connections (nscd_init): When host database is served open
58129         netlink socket and request notification about configuration changes.
58130         (main_loop_poll): Track netlink file descriptor and bump timestamp
58131         in case data becomes available.
58132         (main_loop_epoll): Likewise.
58133         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58134         (database_pers_head): Add extra_data fileds.
58135         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58136         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58137         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58138         Adjust caller.
58139         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58140         in6ai data, call __free_in6ai.
58141         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58142         Add -DHAVE_NETLINK.
58143         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58144         interface information.  Reuse previous data if netlink timestamp
58145         is not changed.
58146         (__bump_nl_timestamp): New function.
58147         (__free_in6ai): New function.
58149 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58151         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58152         close_not_cancel_no_status here.
58153         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58155 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58157         [BZ #13276]
58158         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58159         return value.
58161         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58162         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58163         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58165 2011-07-03  Andreas Jaeger  <aj@suse.de>
58167         [BZ #10709]
58168         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58169         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58170         * math/libm-test.inc (sin_test): Add test case.
58172 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58174         [BZ #13337]
58175         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58176         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58178         * elf/chroot_canon.c (chroot_canon): Cleanups.
58180         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58182         [BZ #13335]
58183         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58184         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58186         * string/test-strchr.c: Make usable for strchrnul testing.
58187         * string/test-strchrnul.c: New file.
58188         * string/Makefile (strop-tests): Add strchrnul.
58190         * po/it.po: Update from translation team.
58191         * po/es.po: Likewise.
58193 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58195         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58196         the three constants needed as parameters.  Drop the others.
58197         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58198         __m128i_strloadu_tolower.
58199         Create and initialize variable zero and use it in all the places
58200         where _mm_setzero_si128 was used.
58202         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58203         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58204         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58205         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58206         anymore.
58207         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58208         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58209         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58210         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58211         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58212         __mpranred, __mptan.
58213         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58214         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58215         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58216         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58217         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58218         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58219         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58220         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58221         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58223 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58225         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58226         redefine if SHARED.
58227         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58230         wide char related routines to wcsmbs subdir.
58232 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58234         [BZ #13344]
58235         * misc/sys/cdefs.h (__THROWNL): Define.
58236         * posix/unistd.h: Use __THREADNL instead of __THREAD
58237         for memory synchronization functions.
58239 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58241         [BZ #13349]
58242         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58243         doesn't exist.
58244         * manual/stdio.texi (Obstack Streams): Node removed.
58246 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58248         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58249         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58250         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58252         * math/math_private.h (math_force_eval): Allow non-addressable
58253         arguments.
58254         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58256 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58258         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58259         file is not needed.
58261         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58262         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58263         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58264         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58265         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58266         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58267         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58268         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58269         Add AVX variants.
58270         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58271         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58272         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58273         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58274         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58275         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58276         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58277         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58278         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58279         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58280         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58281         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58282         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58283         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58284         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58285         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58286         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58287         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58288         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58290         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58291         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58293         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58294         place.  Use VEX encoding when compiling for AVX.
58296 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58298         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58299         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58301         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58303 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58305         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58306         useless if() expression.
58307         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58308         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58309         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58310         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58311         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58312         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58313         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58314         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58315         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58316         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58317         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58318         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58319         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58320         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58321         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58322         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58323         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58324         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58325         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58327         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58329 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58331         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58332         condition.
58333         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58335 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58337         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58338         .text section.  Avoid duplicate constants.
58339         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58340         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58341         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58342         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58343         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58344         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58345         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58346         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58347         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58348         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58349         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58350         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58351         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58352         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58353         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58354         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58355         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58356         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58357         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58359         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58360         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58361         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58362         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58363         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58364         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58365         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58366         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58367         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58368         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58369         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58370         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58371         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58372         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58373         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58374         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58375         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58376         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58377         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58378         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58379         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58380         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58381         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58382         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58383         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58385 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58387         * sysdeps/x86_64/dla.h: Move to ...
58388         * sysdeps/x86_64/fpu/dla.h: ...here.
58389         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58390         situations.  Use __builtin_fma only for gcc 4.6 and up.
58392         * config.make.in: Add have-mfma4 entry.
58393         * configure.in: Substitute libc_cv_cc_fma4.
58394         * math/Makefile (dbl-only-routines): Add sincostab.
58395         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58396         Use __sincostab not sincos.
58397         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58398         name is a macro.
58399         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58400         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58401         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58403         using __copysign.
58404         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58405         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58406         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58407         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58408         and __inv.
58409         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58410         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58411         __copysign.
58412         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58413         define aliases when function name is a macro.
58414         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58415         sysdeps/ieee754/dbl-64/sincos.tbl.
58416         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58417         fma4-enabled routines.
58418         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58419         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58420         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58421         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58422         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58423         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58424         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58425         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58427         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58428         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58429         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58430         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58431         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58432         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58433         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58434         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58435         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58436         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58437         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58438         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58439         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58440         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58441         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58442         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58443         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58444         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58445         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58446         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58447         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58449         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58450         rename.
58451         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58454         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58455         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58456         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58457         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58458         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58460 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58462         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58464 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58466         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58468         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58469         prediction.
58470         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58472         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58473         Remove unused variable magic_bits.
58474         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58476         * string/strnlen.c: Define and use STRNLEN macro.
58477         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58478         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58479         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58480         * wcsmbs/wcslen.c: Define and use WCSLEN.
58481         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58482         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58483         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58484         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58485         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58486         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58487         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58489 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58492         strnlen-sse2-no-bsf.
58493         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58494         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58495         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58496         Add strnlen support.
58497         (USE_AS_STRNLEN): New macro.
58498         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58499         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58500         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58501         * sysdeps/x86_64/wcslen.S: New file.
58503 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58506         XMM-moves are used for copying on small sizes.
58508 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58510         * wcsmbs/Makefile (strop-tests): Add wcschr.
58511         * wcsmbs/test-wcschr.c: New file.
58512         * string/test-strchr.c: Update.
58513         Add wcschr support.
58514         (WIDE): New macro.
58516 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58518         * wcsmbs/Makefile (strop-tests): Add wcslen.
58519         * wcsmbs/test-wcslen.c: New file.
58520         * string/test-strlen.c: Update.
58521         Add wcslen support.
58522         (WIDE): New macro.
58524 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58526         * po/it.po: Update from translation team.
58528 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58530         * sysdeps/x86_64/wcscmp.S: Update.
58531         Fix wrong comparison semantics.
58532         wcscmp shall use signed comparison not unsigned.
58533         Don't use substraction to avoid overflow bug.
58534         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58535         * wcsmbc/wcscmp.c: Likewise.
58536         * string/test-strcmp.c: Likewise.
58537         Add new tests to check cases with negative values.
58539 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58541         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58542         * sysdeps/x86_64/dla.h: ...here.  New file.
58543         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58544         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58545         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58546         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58547         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58548         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58549         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58550         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58551         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58553 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58556         __ynl_finite aliases.
58558 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58562         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58563         define DLA_FMA.
58564         [DLA_FMA] (EMULV): Use DLA_FMA.
58565         [DLA_FMA] (MUL12): Use EMULV.
58566         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58567         that are not needed.
58568         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58569         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58576 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58578         * math/s_nan.c: Undef __nan.
58579         * math/s_nanf.c: Undef __nanf.
58580         * math/s_nanl.c: Undef __nanl.
58581         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58582         "math_private.h".
58584 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58586         * math/s_catan.c: Add branch predictions.
58587         * math/s_catanf.c: Likewise.
58588         * math/s_catanh.c: Likewise.
58589         * math/s_catanhf.c: Likewise.
58590         * math/s_catanhl.c: Likewise.
58591         * math/s_catanl.c: Likewise.
58592         * math/s_cexp.c: Likewise.
58593         * math/s_cexpf.c: Likewise.
58594         * math/s_cexpl.c: Likewise.
58595         * math/s_clog.c: Likewise.
58596         * math/s_clog10.c: Likewise.
58597         * math/s_clog10f.c: Likewise.
58598         * math/s_clog10l.c: Likewise.
58599         * math/s_clogf.c: Likewise.
58600         * math/s_clogl.c: Likewise.
58601         * math/s_csqrt.c: Likewise.
58602         * math/s_csqrtf.c: Likewise.
58603         * math/s_csqrtl.c: Likewise.
58604         * math/s_ctanf.c: Likewise.
58605         * math/s_ctanh.c: Likewise.
58606         * math/s_ctanhf.c: Likewise.
58607         * math/s_ctanhl.c: Likewise.
58608         * math/s_ctanl.c: Likewise.
58610         * math/math_private.h: Define __nan, __nanf, __nanl.
58611         * math/s_cacosh.c: Include <math_private.h>.
58612         * math/s_cacoshl.c: Likewise.
58613         * math/s_casinh.c: Likewise.
58614         * math/s_casinhf.c: Likewise.
58615         * math/s_casinhl.c: Likewise.
58616         * math/s_ccos.c: Rely entire on ccosh.
58617         * math/s_ccosf.c: Rely entire on ccoshf.
58618         * math/s_ccosl.c: Rely entirely on ccoshl.
58619         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58620         Remove tests for FE_INVALID.
58621         * math/s_ccoshf.c: Likewise.
58622         * math/s_ccoshl.c: Likewise.
58623         * math/s_csin.c: Likewise.
58624         * math/s_csinf.c: Likewise.
58625         * math/s_csinh.c Likewise.
58626         * math/s_csinhf.c: Likewise.
58627         * math/s_csinhl.c: Likewise.
58628         * math/s_csinl.c: Likewise.
58629         * math/s_ctan.c: Likewise.
58630         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58631         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58632         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58634 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58637         compilation problems.
58639         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58640         __builtin_expect.
58642 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58644         * sysdeps/i386/configure.in: Test for -mfma4 option.
58645         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58646         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58647         COMMON_CPUID_INDEX_80000001.
58648         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58649         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58650         use it if FMA3 is not supported.
58651         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58653         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58654         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58656 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58658         [BZ #12892]
58659         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58660         it would create a cycle with a link time dependency.
58662 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58664         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58665         instruction.
58666         * string/Makefile (strop-tests): Add rawmemchr.
58667         * string/test-rawmemchr.c: New file.
58669         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58670         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58671         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58672         when compiling str{,n}casecmp and when AVX is available.  Hook up
58673         new optimized code in initializers.
58675 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58677         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58678         __feraiseexcept instead of feraiseexcept.
58680 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58682         * math/math_private.h: Define defaults for libc_fetestexcept and
58683         libc_feupdateenv.
58684         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58685         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58686         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58687         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58688         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58689         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58690         libc_fetestexcept and libc_feupdateenv.
58692         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58693         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58694         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58695         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58696         libc_feholdexcept_setround.
58698         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58699         Add s_nearbyint-c and s_nearbyintf-c.
58700         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58701         nearbyintf inlines.
58702         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58703         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58704         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58705         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58707         * math/math_private.h: Define defaults for libc_fegetround,
58708         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58709         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58710         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58711         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58712         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58713         standard functions.
58714         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58715         Remove comments and hacks for old compiler versions.
58716         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58717         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58718         libc_feholdexceptl.
58720 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58722         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58723         (__feraiseexcept_renamed): Add __NTH.
58724         (feraiseexcept): Add __NTH.  Rename local variables to fix
58725         namespace violations.
58727 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58729         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58731         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58733         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58734         recently added interfaces.
58735         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58737         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58738         about macro parameter expansion.
58740         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58741         __NO_MATH_INLINES is defined.  Cleanups.
58743         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58744         and __floorf is target has SSE4.1.
58745         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58746         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58747         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58748         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58750         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58751         name.
58752         (floorf): Likewise.
58754         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58756 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58758         * misc/sys/cdefs.h: Fix last change.
58760         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58761         database lookup.
58763 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58765         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58767         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58768         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58770         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58771         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58772         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58773         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58774         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58775         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58776         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58777         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58778         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58779         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58780         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58781         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58782         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58783         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58784         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58785         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58786         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58787         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58788         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58790         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58791         ceil, ceilf, floor, floorf.
58793         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58794         Perform IRELATIVE relocations last.
58796         * elf/do-rel.h: Add another parameter nrelative, replacing the
58797         local variable with the same name.  Change name of the function
58798         to end in Rel or Rela (uppercase).
58799         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58800         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58801         elf_dynamic_do_##reloc function.
58803 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58805         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58806         is sufficient, at least on modern CPUs.
58808         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58810         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58811         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58813         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58814         __expl_finite.
58815         * math/bits/math-finite.h: Add entries for exp.
58816         * math/e_expl.c: Add __*_finite alias.
58817         * sysdeps/i386/fpu/e_exp.S: Likewise.
58818         * sysdeps/i386/fpu/e_expf.S: Likewise.
58819         * sysdeps/i386/fpu/e_expl.c: Likewise.
58820         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58821         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58822         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58823         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58824         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58825         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58826         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58828         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58829         is sufficient, at least on modern CPUs.
58831         * ctype/ctype-info.c (__ctype_init): Define.
58832         * include/ctype.h (__ctype_init): Declare.
58833         (__ctype_b_loc): The variable is always initialized.
58834         (__ctype_toupper_loc): Likewise.
58835         (__ctype_tolower_loc): Likewise.
58836         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58837         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58839 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58841         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58843         * configure.in: Also look in $cxxmachine/include for C++ system
58844         headers.
58846 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58848         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58849         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58850         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58851         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58852         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58853         (USE_AS_WMEMCMP): New macro.
58854         Fixing indents.
58855         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58856         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58857         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58858         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58859         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58860         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58861         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58862         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58863         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58864         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58865         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58866         (USE_AS_WMEMCMP): New macro.
58867         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58868         * sysdeps/string/test-memcmp.c: Update.
58869         Fix simple_wmemcmp.
58870         Add new tests.
58871         * wcsmbs/wmemcmp.c: Update.
58872         (WMEMCMP): New macro.
58873         Fix overflow bug.
58875 2011-10-12  Andreas Jaeger  <aj@suse.de>
58877         [BZ #13268]
58878         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58880 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58882         * libio/iofwide.c (do_length): Avoid warning.
58884         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58886 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58888         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58890         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58891         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58892         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58893         * sysdeps/i386/i686/fpu/e_log.S: New file.
58894         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58895         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58897         * ctype/ctype.h: Add support for inlined isXXX functions when
58898         compiling C++ code.
58900 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58902         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58904         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58906 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58908         [BZ #13291]
58909         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58911 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58913         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58914         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58915         feraiseexcept.
58917         * sysdeps/x86_64/memrchr.S: Check for zero size.
58919         * string/stratcliff.c: Add memrchr tests.
58921 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58923         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58924         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58925         rawmemchr-sse2 rawmemchr-sse2-bsf.
58926         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58927         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58928         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58929         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58930         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58931         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58932         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58933         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58934         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58935         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58936         * string/memrchr.c (MEMRCHR): New macro.
58938 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58940         Add integration with gcc's -ffinite-math-only and optimize wrapper
58941         functions in libm.
58942         * Versions.def: Define GLIBC_2.15 version for libm.
58943         * math/Makefile (headers): Add bits/math-finite.h.
58944         * math/bits/math-finite.h: New file.
58945         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58946         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58947         * math/e_acoshl.c: Add __*_finite alias.
58948         * math/e_acosl.c: Likewise.
58949         * math/e_asinl.c: Likewise.
58950         * math/e_atan2l.c: Likewise.
58951         * math/e_atanhl.c: Likewise.
58952         * math/e_coshl.c: Likewise.
58953         * math/e_exp10.c: Likewise.
58954         * math/e_exp10f.c: Likewise.
58955         * math/e_exp10l.c: Likewise.
58956         * math/e_exp2l.c: Likewise.
58957         * math/e_fmodl.c: Likewise.
58958         * math/e_gammal_r.c: Likewise.
58959         * math/e_hypotl.c: Likewise.
58960         * math/e_j0l.c: Likewise.
58961         * math/e_j1l.c: Likewise.
58962         * math/e_jnl.c: Likewise.
58963         * math/e_lgammal_r.c: Likewise.
58964         * math/e_log10l.c: Likewise.
58965         * math/e_log2l.c: Likewise.
58966         * math/e_logl.c: Likewise.
58967         * math/e_powl.c: Likewise.
58968         * math/e_sinhl.c: Likewise.
58969         * math/e_sqrtl.c: Likewise.
58970         * math/e_scalb.c: Completely rewritten and optimized.
58971         * math/e_scalbf.c: Likewise.
58972         * math/e_scalbl.c: Likewise.
58973         * math/w_acos.c: Likewise.
58974         * math/w_acosf.c: Likewise.
58975         * math/w_acosl.c: Likewise.
58976         * math/w_acosh.c: Likewise.
58977         * math/w_acoshf.c: Likewise.
58978         * math/w_acoshl.c: Likewise.
58979         * math/w_asin.c: Likewise.
58980         * math/w_asinf.c: Likewise.
58981         * math/w_asinl.c: Likewise.
58982         * math/w_atan2.c: Likewise.
58983         * math/w_atan2f.c: Likewise.
58984         * math/w_atan2l.c: Likewise.
58985         * math/w_atanh.c: Likewise.
58986         * math/w_atanhf.c: Likewise.
58987         * math/w_atanhl.c: Likewise.
58988         * math/w_exp10.c: Likewise.
58989         * math/w_exp10f.c: Likewise.
58990         * math/w_exp10l.c: Likewise.
58991         * math/w_fmod.c: Likewise.
58992         * math/w_fmodf.c: Likewise.
58993         * math/w_fmodl.c: Likewise.
58994         * math/w_j0.c: Likewise.
58995         * math/w_j0f.c: Likewise.
58996         * math/w_j0l.c: Likewise.
58997         * math/w_j1.c: Likewise.
58998         * math/w_j1f.c: Likewise.
58999         * math/w_j1l.c: Likewise.
59000         * math/w_jn.c: Likewise.
59001         * math/w_jnf.c: Likewise.
59002         * math/w_log.c: Likewise.
59003         * math/w_logf.c: Likewise.
59004         * math/w_logl.c: Likewise.
59005         * math/w_log10.c: Likewise.
59006         * math/w_log10f.c: Likewise.
59007         * math/w_log10l.c: Likewise.
59008         * math/w_log2.c: Likewise.
59009         * math/w_log2f.c: Likewise.
59010         * math/w_log2l.c: Likewise.
59011         * math/w_pow.c: Likewise.
59012         * math/w_powf.c: Likewise.
59013         * math/w_powl.c: Likewise.
59014         * math/w_remainder.c: Likewise.
59015         * math/w_remainderf.c: Likewise.
59016         * math/w_remainderl.c: Likewise.
59017         * math/w_scalb.c: Likewise.
59018         * math/w_scalbf.c: Likewise.
59019         * math/w_scalbl.c: Likewise.
59020         * math/w_sqrt.c: Likewise.
59021         * math/w_sqrtf.c: Likewise.
59022         * math/w_sqrtl.c: Likewise.
59023         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59024         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59025         used.
59026         * math/math_private.h: Declare __kernel_standard_f.
59027         * math/w_cosh.c: Remove cruft and optimize a bit.
59028         * math/w_coshf.c: Likewise.
59029         * math/w_coshl.c: Likewise.
59030         * math/w_exp2.c: Likewise.
59031         * math/w_exp2f.c: Likewise.
59032         * math/w_exp2l.c: Likewise.
59033         * math/w_hypot.c: Likewise.
59034         * math/w_hypotf.c: Likewise.
59035         * math/w_hypotl.c: Likewise.
59036         * math/w_lgamma.c: Likewise.
59037         * math/w_lgamma_r.c: Likewise.
59038         * math/w_lgammaf.c: Likewise.
59039         * math/w_lgammaf_r.c: Likewise.
59040         * math/w_lgammal.c: Likewise.
59041         * math/w_lgammal_r.c: Likewise.
59042         * math/w_sinh.c: Likewise.
59043         * math/w_sinhf.c: Likewise.
59044         * math/w_sinhl.c: Likewise.
59045         * math/w_tgamma.c: Likewise.
59046         * math/w_tgammaf.c: Likewise.
59047         * math/w_tgammal.c: Likewise.
59048         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59049         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59050         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59051         Minor optimizations.  Pretty printing.  Remove cruft.
59052         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59053         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59054         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59055         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59056         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59057         * sysdeps/i386/fpu/e_asin.S: Likewise.
59058         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59059         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59060         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59061         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59062         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59063         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59064         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59065         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59066         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59067         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59068         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59069         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59070         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59071         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59072         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59073         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59074         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59075         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59076         * sysdeps/i386/fpu/e_log.S: Likewise.
59077         * sysdeps/i386/fpu/e_log10.S: Likewise.
59078         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59079         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59080         * sysdeps/i386/fpu/e_log2.S: Likewise.
59081         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59082         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59083         * sysdeps/i386/fpu/e_logf.S: Likewise.
59084         * sysdeps/i386/fpu/e_logl.S: Likewise.
59085         * sysdeps/i386/fpu/e_pow.S: Likewise.
59086         * sysdeps/i386/fpu/e_powf.S: Likewise.
59087         * sysdeps/i386/fpu/e_powl.S: Likewise.
59088         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59089         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59090         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59091         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59092         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59093         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59094         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59095         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59096         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59097         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59098         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59099         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59100         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59101         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59102         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59103         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59104         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59105         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59107         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59108         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59109         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59110         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59111         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59112         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59113         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59114         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59115         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59116         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59117         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59118         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59119         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59120         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59121         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59122         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59123         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59124         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59125         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59126         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59127         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59128         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59129         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59131         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59132         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59133         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59134         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59135         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59136         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59137         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59138         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59139         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59140         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59141         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59142         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59143         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59144         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59145         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59146         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59147         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59148         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59152         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59153         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59154         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59155         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59156         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59157         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59158         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59159         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59160         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59161         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59162         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59163         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59164         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59165         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59166         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59167         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59173         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59174         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59175         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59176         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59177         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59179         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59180         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59181         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59182         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59183         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59184         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59185         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59186         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59188         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59189         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59190         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59191         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59192         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59193         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59194         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59195         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59196         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59197         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59198         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59199         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59200         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59201         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59202         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59203         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59204         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59205         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59206         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59207         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59208         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59209         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59210         (__isnanf): Likewise.
59211         (__isinf_ns): Likewise.
59212         (__isinf_nsf): Likewise.
59213         (__finite): Likewise.
59214         (__finitef): Likewise.
59215         (__ieee754_sqrt): Define as macro.
59216         (__ieee754_sqrtf): Define as macro.
59217         (__ieee754_sqrtl): Define as macro.
59218         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59219         inlined copy.
59220         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59221         __FINITE_MATH_ONLY__ consistent.
59222         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59224 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59226         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59227         of rawmemchr.
59229         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59231 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59233         * po/ja.po: Update from translation team.
59235 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59237         * locale/programs/locarchive.c (prepare_address_space): New function.
59238         (create_archive, enlarge_archive, open_archive): Use it.
59240         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59241         inside [SHARED], where it is used.
59243         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59245         * nss/getent.c (netgroup_keys): Remove unused variable.
59246         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59248 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59250         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59251         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59252         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59253         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59254         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59255         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59256         * math/Makefile (libm-calls): Add s_isinf_ns.
59257         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59258         * math/multc3.c: Likewise.
59259         * math/s_casin.c: Likewise.
59260         * math/s_casinf.c: Likewise.
59261         * math/s_casinl.c: Likewise.
59262         * math/s_ccos.c: Likewise.
59263         * math/s_ccosf.c: Likewise.
59264         * math/s_ccosl.c: Likewise.
59265         * math/s_ctan.c: Likewise.
59266         * math/s_ctanf.c: Likewise.
59267         * math/s_ctanh.c: Likewise.
59268         * math/s_ctanhf.c: Likewise.
59269         * math/s_ctanhl.c: Likewise.
59270         * math/s_ctanl.c: Likewise.
59271         * math/w_fmod.c: Likewise.
59272         * math/w_fmodf.c: Likewise.
59273         * math/w_fmodl.c: Likewise.
59274         * math/w_remainder.c: Likewise.
59275         * math/w_remainderf.c: Likewise.
59276         * math/w_remainderl.c: Likewise.
59277         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59278         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59279         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59280         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59281         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59282         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59283         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59284         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59286         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59287         of the number.
59288         * stdio-common/printf_fphex.c: Likewise.
59289         * stdio-common/printf_size.c: Likewise.
59291         * math/e_exp10.c: Include math_private.h using <...> not "...".
59292         * math/e_exp10f.c: Likewise.
59293         * math/e_exp10l.c: Likewise.
59294         * math/e_exp2l.c: Likewise.
59295         * math/e_j0l.c: Likewise.
59296         * math/e_j1l.c: Likewise.
59297         * math/e_jnl.c: Likewise.
59298         * math/e_lgammal_r.c: Likewise.
59299         * math/e_rem_pio2l.c: Likewise.
59300         * math/e_scalb.c: Likewise.
59301         * math/e_scalbf.c: Likewise.
59302         * math/e_scalbl.c: Likewise.
59303         * math/k_cosl.c: Likewise.
59304         * math/k_sinl.c: Likewise.
59305         * math/k_tanl.c: Likewise.
59306         * math/s_cacoshf.c: Likewise.
59307         * math/s_catan.c: Likewise.
59308         * math/s_catanf.c: Likewise.
59309         * math/s_catanh.c: Likewise.
59310         * math/s_catanhf.c: Likewise.
59311         * math/s_catanhl.c: Likewise.
59312         * math/s_catanl.c: Likewise.
59313         * math/s_ccosh.c: Likewise.
59314         * math/s_ccoshf.c: Likewise.
59315         * math/s_ccoshl.c: Likewise.
59316         * math/s_cexp.c: Likewise.
59317         * math/s_cexpf.c: Likewise.
59318         * math/s_cexpl.c: Likewise.
59319         * math/s_clog.c: Likewise.
59320         * math/s_clog10.c: Likewise.
59321         * math/s_clog10f.c: Likewise.
59322         * math/s_clog10l.c: Likewise.
59323         * math/s_clogf.c: Likewise.
59324         * math/s_clogl.c: Likewise.
59325         * math/s_csin.c: Likewise.
59326         * math/s_csinf.c: Likewise.
59327         * math/s_csinh.c: Likewise.
59328         * math/s_csinhf.c: Likewise.
59329         * math/s_csinhl.c: Likewise.
59330         * math/s_csinl.c: Likewise.
59331         * math/s_csqrt.c: Likewise.
59332         * math/s_csqrtf.c: Likewise.
59333         * math/s_csqrtl.c: Likewise.
59334         * math/s_ctan.c: Likewise.
59335         * math/s_ctanf.c: Likewise.
59336         * math/s_ctanh.c: Likewise.
59337         * math/s_ctanhf.c: Likewise.
59338         * math/s_ctanhl.c: Likewise.
59339         * math/s_ctanl.c: Likewise.
59340         * math/s_ldexp.c: Likewise.
59341         * math/s_ldexpf.c: Likewise.
59342         * math/s_ldexpl.c: Likewise.
59343         * math/s_significand.c: Likewise.
59344         * math/s_significandf.c: Likewise.
59345         * math/s_significandl.c: Likewise.
59346         * math/w_acos.c: Likewise.
59347         * math/w_acosf.c: Likewise.
59348         * math/w_acosh.c: Likewise.
59349         * math/w_acoshf.c: Likewise.
59350         * math/w_acoshl.c: Likewise.
59351         * math/w_acosl.c: Likewise.
59352         * math/w_asin.c: Likewise.
59353         * math/w_asinf.c: Likewise.
59354         * math/w_asinl.c: Likewise.
59355         * math/w_atan2.c: Likewise.
59356         * math/w_atan2f.c: Likewise.
59357         * math/w_atan2l.c: Likewise.
59358         * math/w_atanh.c: Likewise.
59359         * math/w_atanhf.c: Likewise.
59360         * math/w_atanhl.c: Likewise.
59361         * math/w_cosh.c: Likewise.
59362         * math/w_coshf.c: Likewise.
59363         * math/w_coshl.c: Likewise.
59364         * math/w_dremf.c: Likewise.
59365         * math/w_exp10.c: Likewise.
59366         * math/w_exp10f.c: Likewise.
59367         * math/w_exp10l.c: Likewise.
59368         * math/w_exp2.c: Likewise.
59369         * math/w_exp2f.c: Likewise.
59370         * math/w_fmod.c: Likewise.
59371         * math/w_fmodf.c: Likewise.
59372         * math/w_fmodl.c: Likewise.
59373         * math/w_hypot.c: Likewise.
59374         * math/w_hypotf.c: Likewise.
59375         * math/w_hypotl.c: Likewise.
59376         * math/w_j0.c: Likewise.
59377         * math/w_j0f.c: Likewise.
59378         * math/w_j0l.c: Likewise.
59379         * math/w_j1.c: Likewise.
59380         * math/w_j1f.c: Likewise.
59381         * math/w_j1l.c: Likewise.
59382         * math/w_jn.c: Likewise.
59383         * math/w_jnf.c: Likewise.
59384         * math/w_jnl.c: Likewise.
59385         * math/w_lgamma.c: Likewise.
59386         * math/w_lgamma_r.c: Likewise.
59387         * math/w_lgammaf.c: Likewise.
59388         * math/w_lgammaf_r.c: Likewise.
59389         * math/w_lgammal.c: Likewise.
59390         * math/w_lgammal_r.c: Likewise.
59391         * math/w_log.c: Likewise.
59392         * math/w_log10.c: Likewise.
59393         * math/w_log10f.c: Likewise.
59394         * math/w_log10l.c: Likewise.
59395         * math/w_log2.c: Likewise.
59396         * math/w_log2f.c: Likewise.
59397         * math/w_log2l.c: Likewise.
59398         * math/w_logf.c: Likewise.
59399         * math/w_logl.c: Likewise.
59400         * math/w_pow.c: Likewise.
59401         * math/w_powf.c: Likewise.
59402         * math/w_powl.c: Likewise.
59403         * math/w_remainder.c: Likewise.
59404         * math/w_remainderf.c: Likewise.
59405         * math/w_remainderl.c: Likewise.
59406         * math/w_scalb.c: Likewise.
59407         * math/w_scalbf.c: Likewise.
59408         * math/w_scalbl.c: Likewise.
59409         * math/w_sinh.c: Likewise.
59410         * math/w_sinhf.c: Likewise.
59411         * math/w_sinhl.c: Likewise.
59412         * math/w_sqrt.c: Likewise.
59413         * math/w_sqrtf.c: Likewise.
59414         * math/w_sqrtl.c: Likewise.
59415         * math/w_tgamma.c: Likewise.
59416         * math/w_tgammaf.c: Likewise.
59417         * math/w_tgammal.c: Likewise.
59419         * po/ja.po: Update from translation team.
59421 2011-09-29  Andreas Jaeger  <aj@suse.de>
59423         [BZ #13179]
59424         * sunrpc/netname.c (netname2host): Fix logic.
59426         [BZ #6779]
59427         [BZ #6783]
59428         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59429         correctly.
59430         * math/w_remainder.c (__remainder): Likewise.
59431         * math/w_remainderf.c (__remainderf): Likewise.
59432         * math/libm-test.inc (remainder_test): Add test cases.
59434 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59436         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59437         sdiv_qrnnd.
59439 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59441         * string/test-memcmp.c: Avoid unncessary #defines.
59442         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59444 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59446         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59447         Use new sse2 version for core i3 - i7 as it's faster
59448         than sse42 version.
59449         (bit_Prefer_PMINUB_for_stringop): New.
59450         * sysdeps/x86_64/rawmemchr.S: Update.
59451         Replace with faster SSE2 version.
59452         * sysdeps/x86_64/memrchr.S: New file.
59453         * sysdeps/x86_64/memchr.S: Update.
59454         Replace with faster SSE2 version.
59456 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59458         * elf/dl-load.c (lose): Add cast to avoid warning.
59460 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59462         * po/ca.po: Update from translation team.
59464         * inet/getnetgrent_r.c: Hook up nscd.
59465         * nscd/Makefile (routines): Add nscd_netgroup.
59466         (nscd-modules): Add netgroupcache.
59467         (CFLAGS-netgroupcache.c): Define.
59468         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59469         (cache_search): Add const to second parameter.
59470         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59471         INNETGR.
59472         (dbs): Add netgrdb entry.
59473         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59474         (verify_persistent_db): Handle netgrdb.
59475         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59476         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59477         GETFDNETGR.
59478         (netgroup_response_header): Define.
59479         (innetgroup_response_header): Define.
59480         (datahead): Add netgroup_response_header and innetgroup_response_header
59481         elements.
59482         * nscd/nscd.conf: Add entries for netgroup cache.
59483         * nscd/nscd.h (dbtype): Add netgrdb.
59484         (_PATH_NSCD_NETGROUP_DB): Define.
59485         (netgroup_iov_disabled): Declare.
59486         (xmalloc, xcalloc, xrealloc): Move declarations here.
59487         (cache_search): Adjust prototype.
59488         Add netgroup-related prototypes.
59489         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59490         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59491         (__nscd_innetgr): Declare.
59492         * nscd/selinux.c (perms): Use access_vector_t as element type and
59493         add netgroup-related initializers.
59494         * nscd/netgroupcache.c: New file.
59495         * nscd/nscd_netgroup.c: New file.
59496         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59497         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59498         For four parameters use innetgr.
59499         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59500         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59501         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59502         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59504         * nscd/connections.c (register_traced_file): Don't register file
59505         for disabled databases.
59507 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59509         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59511         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59512         from tree and freeing node.
59514 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59516         * nss/nsswitch.c (__nss_database_lookup): Handle
59517         nss_parse_service_list out of memory case.
59519 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59521         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59522         out of memory case.
59524 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59526         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59527         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59528         pass it down.
59529         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59530         elf_machine_rela, elf_machine_lazy_rel.
59531         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59532         (ELF_DYNAMIC_DO_REL): Likewise.
59533         (ELF_DYNAMIC_DO_RELA): Likewise.
59534         (ELF_DYNAMIC_RELOCATE): Likewise.
59535         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59536         to ELF_DYNAMIC_DO_REL.
59537         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59538         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59539         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59540         elf_machine_rela.
59541         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59542         skip_ifunc, don't call ifunc function if non-zero.
59543         (elf_machine_rela): Likewise.
59544         (elf_machine_lazy_rel): Likewise.
59545         (elf_machine_lazy_rela): Likewise.
59546         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59547         (elf_machine_lazy_rel): Likewise.
59548         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59549         Likewise.
59550         (elf_machine_lazy_rel): Likewise.
59551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59552         Likewise.
59553         (elf_machine_lazy_rel): Likewise.
59554         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59555         (elf_machine_lazy_rel): Likewise.
59556         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59557         (elf_machine_lazy_rel): Likewise.
59558         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59559         (elf_machine_lazy_rel): Likewise.
59560         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59561         (elf_machine_lazy_rel): Likewise.
59562         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59563         (elf_machine_lazy_rel): Likewise.
59564         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59565         (elf_machine_lazy_rel): Likewise.
59567 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59569         * nss/nss_files/files-init.c (_nss_files_init): Use static
59570         initialization for all the *_traced_file variables.
59572 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59574         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59576 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59578         [BZ #13226]
59579         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59581 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59583         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59584         Reread the line before reparsing it.
59586 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59588         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59590 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59591             Maxim Kuvyrkov  <maxim@codesourcery.com>
59592             Joseph Myers  <joseph@codesourcery.com>
59594         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59595         if needed for __stack_chk_guard.
59597 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59599         * sysdeps/posix/spawni.c (script_execute): Always define it.
59600         It will be optimized away if unused.
59601         (maybe_script_execute): New function.
59602         (__spawni): Call it.
59604         * Makerules: Don't include tls.make.
59605         (config-tls): Always set to thread.
59606         * tls.make.c: File removed.
59608 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59610         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59611         * config.make.in (CPPFLAGS-config): New substituted variable.
59613 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59615         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59617         [BZ #13192]
59618         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59619         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59621 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59623         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59624         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59625         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59626         (CALL_FAIL): Likewise.
59627         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59628         (CALL_FAIL): Macro removed.
59629         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59631 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59633         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59634         for __FINITE_MATH_ONLY__ == 1.
59636 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59638         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59639         __ieee754_sqrt instead of sqrt.
59640         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59641         __ieee754_sqrtf instead of sqrtf.
59642         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59643         __floorf instead of floorf.
59644         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59645         __floorf, __truncf instead of floorf, truncf.
59647 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59649         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59651         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59652         __extern_always_inline.
59653         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59654         32-bit.
59656 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59658         * elf/rtld.c (dl_main): Also relocate in dependency order when
59659         doing symbol dependency testing.
59661 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59664         Always define `refsym'.
59666 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59668         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59669         (__FD_ELT): Renamed from __FDELT.
59670         * misc/bits/select2.h (__FD_ELT): Likewise.
59671         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59672         __FD_MASK instead of __FDELT, __FDMASK.
59673         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59674         Likewise.
59675         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59676         Likewise.
59678         * elf/Makefile (gen-ldd): Fix pattern.
59680         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59681         (init_tls): Likewise.
59683 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59685         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59687 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59689         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59690         `struct cmsghdr *' instead of `void *'.
59691         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59692         Likewise.
59694 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59696         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59697         if non-absolute.
59698         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59699         ldd_rewrite_script.
59701 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59703         * configure.in: Remove --with-tls option.
59704         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59705         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59706         out in case it is missing.
59707         * sysdeps/ia64/elf/configure.in: Likewise.
59708         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59709         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59710         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59711         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59712         * sysdeps/sh/elf/configure.in: Likewise.
59713         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59714         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59715         * sysdeps/x86_64/elf/configure.in: Likewise.
59716         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59717         * sysdeps/mach/hurd/tls.h: Likewise.
59719         [BZ #13067]
59720         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59722         [BZ #13090]
59723         * configure.in: Fix use of AC_INIT.
59725         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59727 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59729         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59730         __set_errno.
59731         * malloc/hooks.c: Likewise.
59733         [BZ #11929]
59734         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59735         variables statically.
59736         (narenas): Initialize.
59737         (list_lock): Initialize.
59738         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59739         initializtion of main_arena and list_lock.  Small cleanups.
59740         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59741         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59742         Add initializers to main_arena and mp_.
59743         (malloc_state): Remove pagesize member.  Change all users to use
59744         GLRO(dl_pagesize).
59746         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59747         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59748         is always initialized.
59750         * malloc/malloc.c: Removed unused configurations and dead code.
59751         * malloc/arena.c: Likewise.
59752         * malloc/hooks.c: Likewise.
59753         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59755         * include/tls.h: Removed.  USE___THREAD must always be defined.
59756         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59757         * elf/dl-libc.c: Likewise.
59758         * elf/dl-tsd.c: Likewise.
59759         * include/errno.h: Likewise.
59760         * include/netdb.h: Likewise.
59761         * include/resolv.h: Likewise.
59762         * inet/herrno-loc.c: Likewise.
59763         * inet/herrno.c: Likewise.
59764         * malloc/arena.c: Likewise.
59765         * malloc/hooks.c: Likewise.
59766         * malloc/malloc.c: Likewise.
59767         * resolv/res-state.c: Likewise.
59768         * resolv/res_libc.c: Likewise.
59769         * sysdeps/i386/dl-machine.h: Likewise.
59770         * sysdeps/ia64/dl-machine.h: Likewise.
59771         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59772         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59773         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59774         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59775         * sysdeps/sh/dl-machine.h: Likewise.
59776         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59777         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59778         * sysdeps/unix/i386/sysdep.S: Likewise.
59779         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59780         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59784         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59785         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59786         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59787         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59789         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59790         * sysdeps/x86_64/dl-machine.h: Likewise.
59791         * tls.make.c: Likewise.
59793         * configure.in: Remove --with-__thread option.  Make tests for
59794         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59795         tls_model attribute fail if no support is available.  Remove
59796         USE_IN_LIBIO.
59797         * Makeconfig: Adjust for dropped configure option.  All features are
59798         now mandatory.
59799         * Makerules: Likewise.
59800         * Versions.def: Likewise.
59801         * argp/argp-fmtstream.c: Likewise.
59802         * argp/argp-fmtstream.h: Likewise.
59803         * argp/argp-help.c: Likewise.
59804         * assert/assert.c: Likewise.
59805         * config.h.in: Likewise.
59806         * config.make.in: Likewise.
59807         * configure: Likewise.
59808         * configure.in: Likewise.
59809         * csu/Versions: Likewise.
59810         * csu/init.c: Likewise.
59811         * elf/tst-audit2.c: Likewise.
59812         * elf/tst-tls10.c: Likewise.
59813         * elf/tst-tls10.h: Likewise.
59814         * elf/tst-tls11.c: Likewise.
59815         * elf/tst-tls12.c: Likewise.
59816         * elf/tst-tls14.c: Likewise.
59817         * elf/tst-tlsmod11.c: Likewise.
59818         * elf/tst-tlsmod12.c: Likewise.
59819         * elf/tst-tlsmod13.c: Likewise.
59820         * elf/tst-tlsmod13a.c: Likewise.
59821         * elf/tst-tlsmod14a.c: Likewise.
59822         * elf/tst-tlsmod15b.c: Likewise.
59823         * elf/tst-tlsmod16a.c: Likewise.
59824         * elf/tst-tlsmod16b.c: Likewise.
59825         * elf/tst-tlsmod7.c: Likewise.
59826         * elf/tst-tlsmod8.c: Likewise.
59827         * elf/tst-tlsmod9.c: Likewise.
59828         * gmon/gmon.c: Likewise.
59829         * grp/fgetgrent_r.c: Likewise.
59830         * grp/putgrent.c: Likewise.
59831         * hurd/fopenport.c: Likewise.
59832         * include/libc-symbols.h: Likewise.
59833         * include/tls.h: Likewise.
59834         * intl/gettextP.h: Likewise.
59835         * intl/loadinfo.h: Likewise.
59836         * locale/global-locale.c: Likewise.
59837         * locale/localeinfo.h: Likewise.
59838         * mach/devstream.c: Likewise.
59839         * malloc/arena.c: Likewise.
59840         * malloc/set-freeres.c: Likewise.
59841         * misc/err.c: Likewise.
59842         * misc/getttyent.c: Likewise.
59843         * misc/mntent_r.c: Likewise.
59844         * posix/getopt.c: Likewise.
59845         * posix/wordexp.c: Likewise.
59846         * pwd/fgetpwent_r.c: Likewise.
59847         * resolv/Versions: Likewise.
59848         * resolv/res_hconf.c: Likewise.
59849         * shadow/fgetspent_r.c: Likewise.
59850         * shadow/putspent.c: Likewise.
59851         * stdio-common/printf_fphex.c: Likewise.
59852         * stdio-common/tmpfile.c: Likewise.
59853         * stdlib/abort.c: Likewise.
59854         * stdlib/fmtmsg.c: Likewise.
59855         * sunrpc/auth_unix.c: Likewise.
59856         * sunrpc/clnt_perr.c: Likewise.
59857         * sunrpc/clnt_tcp.c: Likewise.
59858         * sunrpc/clnt_udp.c: Likewise.
59859         * sunrpc/clnt_unix.c: Likewise.
59860         * sunrpc/openchild.c: Likewise.
59861         * sunrpc/svc_simple.c: Likewise.
59862         * sunrpc/svc_tcp.c: Likewise.
59863         * sunrpc/svc_udp.c: Likewise.
59864         * sunrpc/svc_unix.c: Likewise.
59865         * sunrpc/xdr.c: Likewise.
59866         * sunrpc/xdr_array.c: Likewise.
59867         * sunrpc/xdr_rec.c: Likewise.
59868         * sunrpc/xdr_ref.c: Likewise.
59869         * sunrpc/xdr_stdio.c: Likewise.
59871 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59873         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59875 2011-07-03  Andreas Jaeger  <aj@suse.de>
59877         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59878         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59879         regenerate with gen-libm-tests.pl.
59881 2010-05-12  Petr Baudis  <pasky@suse.cz>
59883         [BZ #11589]
59884         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59885         around j0() zero points by switching to j1().
59886         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59887         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59888         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59889         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59891 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59893         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59894         instead of 0.
59895         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59896         instead of 0.
59897         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59898         Patch in part by Pavel Roskin <proski@gnu.org>.
59900         [BZ #13138]
59901         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59902         realloc.
59903         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59904         Free memory block if necessary.
59906         [BZ #12847]
59907         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59908         be NULL.  Don't lock in this case.
59910 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59912         * elf/elf.h (ELFOSABI_GNU): New macro.
59913         (ELFOSABI_LINUX): Define to that.
59915 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59917         * string/strncat.c (strncat): Undef the symbol in case it has been
59918         defined in bits/string.h.
59920 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59922         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59924         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59925         link map.
59927 2011-08-17  Andreas Jaeger  <aj@suse.de>
59929         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59931 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59932             Ian Lance Taylor  <iant@google.com>
59934         * math/libm-test.inc (lround_test): New testcase.
59935         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59937 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59939         * Makefile: Remove support for automatic cvs check-ins.
59940         * Makerules: Likewise.
59941         * config.make.in: Likewise.
59942         * configure.in: Likewise.
59943         * intl/Makefile: Likewise.
59944         * locale/Makefile: Likewise.
59945         * po/Makefile: Likewise.
59946         * posix/Makefile: Likewise.
59947         * sysdeps/gnu/Makefile: Likewise.
59948         * sysdeps/mach/hurd/Makefile: Likewise.
59949         * sysdeps/sparc/sparc32/Makefile: Likewise.
59951         [BZ #13118]
59952         * posix/Makefile (bug-regex32-ENV): Define.
59953         Patch by John Stanley <jpsinthemix@verizon.net>.
59955         * misc/Makefile (headers): Add bits/select2.h.
59956         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59957         * misc/bits/select2.h: New file.
59958         * include/bits/select2.h: New file.
59959         * debug/Makefile (routines): Add fdelt_chk.
59960         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59961         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59962         FD_ISSET.
59963         * debug/fdelt_chk.c: New file.
59965         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59966         * wcsmbs/test-wmemcmp.c: Likewise.
59967         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59968         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59970 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59972         * string/Makefile (strop-tests): Add memcmp.
59973         * string/test-wmemcmp.c: New file.
59974         * string/test-memcmp.c: Add wmemcmp support.
59976 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59978         [BZ #13153]
59979         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59980         2011-07-19 change.
59982         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59983         garbage value in a __mach_port_mod_refs call in the cases of the
59984         task-self and thread-self ports.
59986 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59988         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59990 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59992         * elf/dl-load.c (lose): Check for non-null L.
59994 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59996         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59998         * elf/dl-libc.c (dlerror_run): Pass back error code from
59999         dl_catch_error.
60001         [BZ #13123]
60002         * elf/dl-load.c (lose): Free l_origin if it is valid.
60004         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60005         names.
60006         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60007         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60008         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60009         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60010         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60011         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60013 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60015         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60016         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60017         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60018         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60019         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60020         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60021         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60022         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60023         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60024         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60026 2011-08-15  Alan Modra  <amodra@gmail.com>
60028         [BZ #13092]
60029         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60030         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60031         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60032         ppc_mcount to static-only-routines.
60033         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60034         __mcount_internal.
60035         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60036         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60038 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60040         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60041         for finite and infinity parameters.
60043 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60045         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60046         and add nop instructions for throughput optimization.
60047         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60049 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60051         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60052         aligned copy for power7 with vector-scalar instructions.
60053         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60055 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60057         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60058         AVX check.
60060 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60062         [BZ #13144]
60063         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60064         last change.
60066 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60068         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60069         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60070         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60071         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60072         clock_gettime.
60074 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60076         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60077         Forgot to demangle the pointer.
60079         * sysdeps/i386/sysdep.h: Define atom_text_section.
60080         * sysdeps/x86_64/sysdep.h: Likewise.
60081         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60082         section with atom_text_section.
60083         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60084         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60085         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60086         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60087         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60089         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60090         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60091         already be defined.  Change to take two parameters and don't assign
60092         result to variable.  Adjust all users.
60093         Define INTERNAL_GETTIME if not already defined.
60094         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60095         call.
60096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60097         HAVE_CLOCK_GETTIME_VSYSCALL.
60098         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60100         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60101         gettimeofday vsyscall, just use time.
60103 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60105         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60106         <errno.h>.
60108 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60110         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60111         syscall on x86-64.
60112         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60113         syscall.
60114         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60115         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60116         syscall if possible.
60118 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60120         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60121         e_ident.  Don't pass to find_mapsXX.
60122         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60124 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60127         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60128         * sysdeps/x86_64/multiarch/strchr.S: Update.
60129         Check bit_slow_BSF bit.
60130         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60131         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60132         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60134 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60136         [BZ #13134]
60137         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60138         before glibc 2.15.
60139         (tryshell): Define.
60140         (__spawni): Change last parameter to be flag.  Test
60141         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60142         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60143         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60144         * posix/spawni.c: Likewise.
60145         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60146         * posix/spawnp.c: Likewise.  Change normal version to use
60147         SPAWN_XFLAGS_USE_PATH.
60148         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60149         SPAWN_XFLAGS_TRY_SHELL.
60151         [BZ #13150]
60152         * posix/glob.h: Remove gcc 1.x support.
60154         [BZ #13068]
60155         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60157 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60160         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60161         strrchr-sse2-bsf
60162         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60163         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60164         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60165         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60166         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60167         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60169 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60171         * sysdeps/x86_64/wcscmp.S: New file.
60173         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60174         wcscmp-c wcscmp-sse2
60175         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60176         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60177         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60178         * wcsmbs/wcscmp.c: Allow renaming.
60180 2011-09-05  David S. Miller  <davem@davemloft.net>
60182         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60183         stack slot, rather than the struct return pointer slot.
60184         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60185         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60187         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60189 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60191         * po/ja.po: Update from translation team.
60193         [BZ #13144]
60194         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60195         kernel in 64-bit binaries.
60197 2011-09-01  David S. Miller  <davem@davemloft.net>
60199         * elf/elf.h (HWCAP_SPARC_*): Move to..
60200         * sysdeps/sparc/sysdep.h: this new file and add new values.
60201         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60202         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60203         _DL_HWCAP_COUNT to 24.
60204         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60205         entries.
60206         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60207         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60208         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60209         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60210         instead of magic constants.
60211         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60213 2011-08-31  David S. Miller  <davem@davemloft.net>
60215         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60217         Reimplement to do errno handling inline.
60218         (SYSCALL_ERROR_HANDLER): New macro.
60219         (__SYSCALL_STRING): Do not do errno handling in asm.
60220         (__CLONE_SYSCALL_STRING): Delete.
60221         (__INTERNAL_SYSCALL_STRING): Delete.
60222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60223         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60224         (PSEUDO): Reimplement to do errno handling inline.
60225         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60226         (SYSCALL_ERROR_HANDLER): New macro.
60227         (__SYSCALL_STRING): Do not do errno handling in asm.
60228         (__CLONE_SYSCALL_STRING): Delete.
60229         (__INTERNAL_SYSCALL_STRING): Delete.
60230         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60231         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60232         i386.
60233         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60234         (inline_syscall*): Add 'err' argument.
60235         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60236         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60237         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60238         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60240         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60241         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60243 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60245         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60247 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60249         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60250         directive.
60252 2011-08-24  David S. Miller  <davem@davemloft.net>
60254         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60256 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60258         * elf/Makefile: Add rules to build and run unload8 test.
60259         * elf/unload8.c: New file.
60260         * elf/unload8mod1.c: New file.
60261         * elf/unload8mod1x.c: New file.
60262         * elf/unload8mod2.c: New file.
60263         * elf/unload8mod3.c: New file.
60265         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60266         it wasn't used.
60268 2011-08-23  David S. Miller  <davem@davemloft.net>
60270         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60271         subtract stack bias.
60272         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60273         %sp not %fp in calculations.
60274         (_JMPBUF_UNWINDS_ADJ): Likewise.
60276         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60277         (aio_suspend): Call it to force an exception region around the
60278         AIO_MISC_WAIT() invocation.
60280 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60282         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60283         backslash.
60285 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60287         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60288         protection macro.
60289         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60290         and <dl-machine.h>.
60291         (Elf64_FuncDesc): Remove.
60293 2011-08-22  David S. Miller  <davem@davemloft.net>
60295         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60296         sigaltstack check, add missing cfi directives.
60297         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60298         missing cfi directives, and sigaltstack handling.
60300 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60302         [BZ #11724]
60303         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60304         object is seen twice.
60305         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60307         * elf/Makefile (distribute): Add tst-initorder2.c.
60308         (tests): Add tst-initorder2.
60309         (modules-names): Add tst-initorder2a tst-initorder2b
60310         tst-initorder2c tst-initorder2d.  Add rules to build them.
60311         ($(objpfx)tst-initorder2.out): New rule.
60312         * elf/tst-initorder2.c: New file.
60313         * elf/tst-initorder2.exp: New file.
60315 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60317         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60319         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60320         dependencies back to end of function.
60322         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60323         $(elfobjdir)/ld.so.
60325 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60327         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60328         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60330         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60331         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60332         of __vdso_gettimeofday.
60333         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60334         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60335         attribute_hidden.
60336         (_libc_vdso_platform_setup): Remove initialization of
60337         __vdso_gettimeofday and __vdso_time.
60339 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60341         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60342         and fgetc_unlocked.
60343         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60344         getc_unlocked.
60346         * elf/dl-open.c (add_to_global): Report additions to the global scope
60347         for LD_DEBUG=scopes.
60348         (dl_open_worker): Also print scope of newly loaded dependencies.
60349         (_dl_show_scope): Indicate if there is no scope.
60351         [BZ #13114]
60352         * stdio-common/Makefile (tests): Add bug24.
60353         * stdio-common/bug24.c: New file.
60355 2011-08-19  Andreas Jaeger  <aj@suse.de>
60357         [BZ #13114]
60358         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60359         non-existant file when using close-on-exec mode.
60361 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60364         the very first instruction.
60366         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60367         the CFI state in the end.
60368         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60369         inclusion of dl-trampoline.h.
60370         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60372 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60374         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60375         expectations for long double.
60377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60378         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60380 2011-08-14  David S. Miller  <davem@davemloft.net>
60382         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60383         artificual limit depends upon the system page size.
60385 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60387         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60388         * resolv/Makefile: Define CFLAGS-libresolv.
60390 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60392         * nss/makedb.c (compute_tables): Make variables used in nested
60393         function static.
60395 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60397         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60398         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60399         if buffer was too small.
60401         * elf/pldd.c (main): Attach to all threads in the process.
60402         Rewrite /proc handling to use *at functions.
60404 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60406         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60407         specifies first scope to show.
60408         (dl_open_worker): Update callers.  Move printing scope of new
60409         object to before the relocation.
60410         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60411         * sysdeps/generic/ldsodefs.h: Update declaration.
60413         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60414         string for the scope number.
60416 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60418         * nscd/servicescache.c (cache_addserv): Make sure written is always
60419         initialized.
60421 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60423         * sysdeps/i386/i486/bits/atomic.h
60424         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60425         statement expression, so as to suppress "set but not used" warning.
60426         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60428         * string/strncat.c (STRNCAT): Use prototype definition.
60430         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60431         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60432         -Iprograms here.
60433         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60434         (localedef-modules): Add localedef.
60435         (locale-modules): Add locale.
60437         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60438         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60439         to avoid a warning.
60441 2011-08-14  David S. Miller  <davem@davemloft.net>
60443         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60444         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60446 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60448         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60449         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60450         * elf/rtld.c (dl_main): Set l_name of vDSO.
60451         Call _dl_show_scope when DL_DEBUG_SCOPES.
60452         (process_dl_debug): Recognize scopes flag and also set it for all.
60453         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60454         Declare _dl_show_scope.
60456         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60457         (do_dlopen): Pass caller_dlopen to dl_open.
60458         (__libc_dlopen_mode): Initialize caller_dlopen.
60460         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60461         of libc.  Make tolower call locale-independent.  Optimize a bit by
60462         using isdigit instead of isalnum.
60463         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60465 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60467         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60468         was a dependency or dynamically loaded.
60470 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60472         * intl/l10nflist.c: Allow architecture-specific pop function.
60473         * sysdeps/x86_64/l10nflist.c: New file.
60475         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60476         classification.
60478 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60480         * include/dirent.h: Add libc_hidden_proto for scandirat and
60481         scandirat64.  Don't declare __scandirat64.
60482         * dirent/scandirat.c: Add libc_hidden_def.
60483         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60484         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60486 2011-08-10  David S. Miller  <davem@davemloft.net>
60488         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60489         enum.
60490         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60492         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60494 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60496         * Versions.def [libc]: Add GLIBC_2.15.
60497         * dirent/Makefile (routines): Add scandirat and scandirat64.
60498         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60499         GLIBC_2.15.
60500         * dirent/dirent.h: Declare scandirat and scandirat64.
60501         * dirent/scandirat.c: New file.
60502         * dirent/scandirat64.c: New file.
60503         * sysdeps/wordsize-64/scandirat.c: New file.
60504         * sysdeps/wordsize-64/scandirat64.c: New file.
60505         * dirent/opendir.c: Define opendirat.
60506         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60507         using scandirat.
60508         * dirent/scandir64.c: Adjust for scandir.c change.
60509         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60510         __scandirat64, and __scandir_cancel_handler.
60511         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60512         additional parameter and use openat instead of open (outside of ld.so).
60513         Add new __opendir as wrapper around __opendirat.
60514         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60515         here without requiring old scandirat implementation.
60517 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60519         * dirent/scandir.c (cancel_handler): Renamed to
60520         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60521         defined.  Adjust users.
60522         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60523         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60525 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60527         * string/test-string.h (IMPL): Use __STRING to expand name and then
60528         stringify it.
60530         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60531         of cleanups.
60533 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60535         * string/Makefile: Update.
60536         (strop-tests): Append strncat.
60537         * string/test-wcscmp.c: New file.
60538         New comprehensive test for wcscmp.
60539         * string/test-strcmp.c: Update.
60540         (WIDE): New define.
60542 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60544         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60545         line.
60547 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60550         encoding to ACE if AI_IDN.
60552 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60554         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60555         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60557 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60559         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60560         Fix overflow bug in strncat.
60561         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60563         * string/test-strncat.c: Update.
60564         Add new tests for checking overflow bugs.
60566 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60569         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60570         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60571         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60572         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60573         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60574         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60575         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60576         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60578         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60579         (USE_AS_STRCAT): Define.
60580         Add strcat and strncat support.
60581         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60583 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60585         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60586         __n bigger than INT_MAX+1.
60587         (__strncmp_g): Likewise.
60589 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60591         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60592         * libio/stido.h: Likewise.
60594         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60595         (AF_NFC): Define.
60596         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60597         (AF_NFC): Define.
60599         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60600         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60601         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60602         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60603         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60605         [BZ #13021]
60606         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60607         installed.
60609         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60610         typo.
60611         (_dl_x86_64_save_sse): Likewise.
60613 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60616         OSXSAVE.
60617         (_dl_x86_64_save_sse): Likewise.
60619         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60621         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60623 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60625         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60626         change.
60627         (_dl_x86_64_save_sse): Use correct AVX check.
60629 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60631         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60632         bug in strncpy/strncat.
60633         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60635 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60637         * string/tester.c (test_strcat): Add tests for different alignments
60638         of source and destination.
60639         (test_strncat): Likewise.
60641 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60643         [BZ #12852]
60644         * posix/glob.c (glob): Check passed in values before using them in
60645         expressions to avoid some overflows.
60646         (glob_in_dir): Likewise.
60648         [BZ #13007]
60649         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60650         check for AVX enablement so that we don't crash with old kernels and
60651         new hardware.
60652         * elf/tst-audit4.c: Add same checks here.
60653         * elf/tst-audit6.c: Likewise.
60655         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60657 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60659         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60661 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60663         * po/cs.po: Update from translation team.
60664         * po/bg.po: Likewise.
60666 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60668         * misc/sys/cdefs.h: Add support for const attribute.
60669         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60670         to gnu_dev_{major,minor,makedev} functions.
60672 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60674         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60676 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60678         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60679         strlen results.
60681 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60683         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60684         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60685         register in order to avoid conflicts with the soft frame pointer
60686         being held in r11 when necessary.
60687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60688         (INTERNAL_VSYSCALL_NCS): Likewise.
60690 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60692         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60693         * elf/dl-fini.c (_dl_fini): Adjust caller.
60694         * elf/dl-close.c (_dl_close_worker): Likewise.
60695         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60697 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60699         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60700         "aux_cache->nlibs < 0".
60702         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60703         in the reload-count case.
60705 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60708         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60709         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60710         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60711         * sysdeps/x86_64/multiarch/strcat.S: New file.
60712         * sysdeps/x86_64/multiarch/strncat.S: New file.
60713         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60714         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60715         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60716         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60717         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60718         (USE_AS_STRCAT): Define.
60719         Add strcat and strncat support.
60720         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60721         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60722         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60723         * string/strncat.c: Update.
60724         (USE_AS_STRNCAT): Define.
60725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60726         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60727         and i7.
60728         * sysdeps/x86_64/multiarch/init-arch.h
60729         (bit_Prefer_PMINUB_for_stringop): New.
60730         (index_Prefer_PMINUB_for_stringop): Likewise.
60731         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60732         bit_Prefer_PMINUB_for_stringop.
60734 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60736         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60737         buffer64.
60738         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60739         of casting of buffer.
60740         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60741         buffer32 and buffer64.
60742         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60743         writes instead of casting of buffer.
60744         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60745         buffer32.
60746         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60747         casting of buffer.
60749 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60751         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60753 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60755         * nscd/nscd.c (termination_handler): Don't do anything for a database
60756         if it has not yet been initialized.
60758 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60760         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60762 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60764         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60766 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60768         * po/nl.po: Update from translation team.
60769         * po/sv.po: Likewise.
60771 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60773         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60774         now disallowed by GCC.
60776         * configure.in (use-default-link): Default to yes if a test -shared
60777         link meets our qualifications.
60778         * configure: Regenerated.
60780         * config.make.in (output-format): New variable.
60781         * configure.in: Check for ld --print-output-format support.
60782         * configure: Regenerated.
60783         * Makerules ($(common-objpfx)format.lds)
60784         [$(output-format) != unknown]: Just use $(output-format),
60785         instead of the linker-script munging.
60787 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60789         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60790         of $(common-objpfx)shlib.lds.
60791         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60793         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60794         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60796         * configure.in (-z relro check): Adjust test code to add a large
60797         writable data section after it.
60798         * configure: Regenerated.
60800 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60802         * configure.in (-z relro check): Fix test code to make the variable
60803         truly const.
60804         * configure: Regenerated.
60806 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60808         * nscd/nscd.h (struct traced_file): Define.
60809         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60810         elements.  Add traced_files.
60811         (inotify_fd): Declare.
60812         (register_traced_file): Declare.
60813         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60814         (inotify_fd): Export.
60815         (resolv_conf_descr): Remove.
60816         (nscd_init): Move inotify descriptor creation to main.
60817         Don't register files for notification here.
60818         (register_traced_file): New function.
60819         (invalidate_cache): Don't use reset_res to determine whether to call
60820         res_init, go through the list of registered files.
60821         (main_loop_poll): The inotify descriptors are now stored in the
60822         structures for the traced files.
60823         (main_loop_epoll): Likewise
60824         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60825         to __nss_disable_nscd.
60826         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60827         for a database anymore.  Check the records for all the registered
60828         files instead.
60829         * nss/Makefile (libnss_files-routines): Add files-init.
60830         (libnss_db-routines): Add db-init.
60831         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60832         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60833         * nss/nss_db/db-init.c: New file.
60834         * nss/nss_files/files-init.c: New file.
60835         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60836         __nss_lookup_function.
60837         (__nss_lookup_function): Call nss_load_library.
60838         (nss_load_all_libraries): New function.
60839         (__nss_disable_nscd): Take parameter with callback function for files
60840         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60841         used for the cached services.
60842         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60843         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60844         options for features to all the files in nscd.
60846         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60848 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60850         * csu/elf-init.c (__libc_csu_init): Comment typo.
60852 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60854         * po/pl.po: Update from translation team.
60855         * po/ja.po: Likewise.
60856         * po/ru.po: Likewise.
60857         * po/ko.po: Likewise.
60858         * po/fr.po: Likewise.
60860 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60862         * configure.in (.ctors/.dtors header and trailer check):
60863         Use an empirical test on a built program.
60864         * configure: Regenerated.
60866         * configure.in (-z relro check): Use an empirical test on a built DSO.
60867         Detect, but do not require, on ia64.
60868         * configure: Regenerated.
60870         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60871         Update tests that use readelf to use $READELF instead.
60872         * configure: Regenerated.
60874 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60876         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60877         if the result is not used.
60879 2011-07-05  Andreas Jaeger  <aj@suse.de>
60881         [BZ#9696]
60882         * stdlib/tst-strtod.c: Add testcase.
60884 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60886         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60887         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60888         The latter has a higher limit.  Take additional parameter to pass to
60889         the new function.
60890         (__pathconf): Pass file to __statfs_link_max.
60891         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60892         __statfs_link_max.
60893         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60894         __statfs_link_max.
60896         [BZ #12868]
60897         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60898         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60899         Handle Lustre.
60900         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60901         (__statfs_filesize_max): Likewise.
60902         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60904 2011-07-05  Andreas Jaeger  <aj@suse.de>
60906         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60908 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60910         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60911         `status' variable.
60912         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60913         Likewise.
60915 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60917         * Makefile (strop-tests): Add strncat.
60918         * string/test-strncat.c: New file.
60920 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60922         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60924 2011-06-21  Andreas Jaeger  <aj@suse.de>
60926         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60927         Copy rule from iconvdata/Makefile.
60929 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60931         [BZ #12922]
60932         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60933         but no long options are defined, just return 'W'.
60935 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60937         [BZ #9696]
60938         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60940 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60942         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60943         netgroups to read.
60944         (innetgr): Likewise.
60946 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60948         * config.make.in (install_root): Default to $(DESTDIR).
60950 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60952         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60954 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60956         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60958         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60959         containing directory rather than embedding absolute directory names.
60961         * scripts/check-local-headers.sh: Rewritten using awk.
60962         Match by word, not by line.  Print error messages for matches.
60963         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60965         * Makerules [shlib-lds-flags empty]:
60966         ($(common-objpfx)libc_pic.opts): New target.
60967         ($(common-objpfx)libc_pic.os.clean): New target.
60968         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60970         * config.make.in (OBJCOPY): New variable.
60971         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60972         * configure: Regenerated.
60974         * config.make.in (use-default-link): New variable.
60975         * configure.in (use_default_link): Grok --with-default-link to set it.
60976         * configure: Regenerated.
60977         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60978         (shlib-lds, shlib-lds-flags): Define to empty.
60980         * Makerules (shlib-lds): New variable.
60981         (shlib-lds-flags): New variable.
60982         (build-shlib, build-moduile, build-module-asneeded): Use it.
60983         ($(common-objpfx)libc.so): Use $(shlib-lds).
60984         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60985         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60987         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60988         DT_FLAGS/DT_FLAGS_1 with zero flags.
60990         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60991         linker script munging.
60993 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60995         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60996         as 128-bit value.
60997         * crypt/sha512.c (sha512_process_block): Perform total addition using
60998         128-bit if possible.
60999         (__sha512_finish_ctx): Likewise.
61000         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61001         as 64-bit value.
61002         * crypt/sha256.c (SWAP64): Define.
61003         (sha256_process_block): Perform total addition using 64-bit if
61004         possible.
61005         (__sha256_finish_ctx): Likewise.
61007 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61009         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61010         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61011         * nscd/hstcache.c (cache_addhst): Likewise.
61012         * nscd/grpcache.c (cache_addgr): Likewise.
61013         * nscd/aicache.c (addhstaiX): Likewise
61014         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61016 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61018         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61019         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61020         * nscd/hstcache.c (cache_addhst): Likewise.
61021         * nscd/grpcache.c (cache_addgr): Likewise.
61022         * nscd/aicache.c (addhstaiX): Likewise
61024 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61026         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61027         domain only when needed.
61029 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61032         is always restored.
61034 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61036         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61037         are re-adding the entry.
61038         * nscd/servicescache.c (cache_addserv): Likewise.
61040 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61042         * sysdeps/generic/dl-irel.h: fix protection against multiple
61043         inclusions.
61044         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61046 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61048         [BZ #12935]
61049         * malloc/memusage.sh: Fix quoting in message.
61050         * debug/xtrace.sh: Likewise.
61052         * configure.in: Remove support for --experimental-malloc option, make
61053         it the default.
61054         * config.make.in: Likewise.
61055         * malloc/Makefile: Likewise.
61057 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61059         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61060         two-byte characters.
61062 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61064         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61065         AC_CACHE_CHECK invocation.
61066         * configure: Regenerated.
61068         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61070 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61072         [BZ #12350]
61073         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61074         bit from old_res_options.
61076         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61078         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61079         value type for setfct.
61081 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61084         __gettimeofday instead of gettimeofday.
61086 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61088         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61090 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61092         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61094         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61095         info.
61097 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61100         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61101         strcpy-sse2-unaligned strncpy-sse2-unaligned
61102         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61103         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61104         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61105         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61106         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61107         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61108         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61109         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61110         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61111         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61112         (STRCPY): Support SSE2 and SSSE3 versions.
61114 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61116         [BZ #12874]
61117         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61118         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61119         kernels which artificially limit size of requests.
61121 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61123         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61124         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61125         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61126         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61127         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61128         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61129         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61130         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61132         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61133         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61134         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61135         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61136         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61137         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61139         Enable unaligned load optimization for Intel Core i3, i5 and i7
61140         processors.
61141         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61142         Define.
61143         (index_Fast_Unaligned_Load): Define.
61144         (HAS_FAST_UNALIGNED_LOAD): Define.
61146 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61148         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61150 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61152         [BZ #12907]
61153         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61154         until it is clear that the information is realy needed.
61155         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61157 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61161 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61164         /sys/devices/system/cpu/online if it is usable.
61166         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61167         reading the information from the /proc filesystem to once a second.
61169 2011-06-21  Andreas Jaeger  <aj@suse.de>
61171         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61172         NULL after inclusion of kernel headers.
61174 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61176         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61177         calls to internal_setent.
61179         [BZ #12885]
61180         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61181         addresses using gethostbyname4_r ignore IPv4 addresses.
61183         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61184         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61186         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61188 2011-06-20  David S. Miller  <davem@davemloft.net>
61190         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61191         inclusions.
61192         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61194         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61195         (elf_irel): Use it.
61196         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61197         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61198         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61199         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61200         * sysdeps/x86_64/dl-irel.h: Likewise.
61202         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61203         * elf/dl-sym.c: Likewise.
61205 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61207         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61208         need to dereference resplen2.
61210 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61212         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61214 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61216         * Makeconfig: Define vardbdir and inst_vardbdir.
61217         * nss/Makefile: Add rules to install db-Makefile.
61219         * nss/nss_db/db-XXX.c: Cleanup.
61221         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61222         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61223         GLIBC_PRIVATE.
61224         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61225         * nss/makedb.c: Implement -g option to specify that value strings
61226         are generated and should not be added to table iterated over for
61227         get*ent calls.
61228         * nss/nss_db/db-initgroups.c: New file.
61230         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61231         interface.
61233         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61234         (internal_getgrouplist): Adjust to name change.
61235         Update use_initgroups_entry if this is not the first call.
61236         * nss/databases.def: Add initgroups entry.
61238         * nss/makedb.c (compute_tables): Check result of multiple hash table
61239         sizes to minimize maximum chain length.
61241 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61243         * Versions.def: Add entry for libnss_db.
61244         * shlib-versions: Likewise.
61245         * nss/Makefile: Add rules to build libnss_db.
61246         * nss/Versions: Add libnss_db information.  Organize libnss_files
61247         entries better.
61248         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61249         makedb progra.  Some minor improvements to generate smaller files.
61250         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61251         here from...
61252         * nss/makedb.c: ...here.
61253         Improve database format to be smaller and require less memory at
61254         runtime.
61255         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61256         db anymore.
61257         * nss/nss_db/db-netgrp.c: Likewise.
61258         * nss/nss_db/db-open.c: Likewise.
61259         * nss/nss_files/flies-XXX.x: Adjust comments.
61260         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61261         * nss/nss_files/files-grp.c: Likewise.
61262         * nss/nss_files/files-hosts.c: Likewise.
61263         * nss/nss_files/files-network.c: Likewise.
61264         * nss/nss_files/files-proto.c: Likewise.
61265         * nss/nss_files/files-pwd.c: Likewise.
61266         * nss/nss_files/files-rpc.c: Likewise.
61267         * nss/nss_files/files-service.c: Likewise.
61268         * nss/nss_files/files-sgrp.c: Likewise.
61269         * nss/nss_files/files-spwd.c: Likewise.
61270         * nss/nss_db/db-alias.c: Removed.
61271         * nss/nss_db/dummy-db.h: Removed.
61273 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61275         * nss/makedb.c: Rewritten to not use database library.
61276         * nss/Makefile: Update to build new makedb program.
61278 2011-06-14  Andreas Jaeger  <aj@suse.de>
61280         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61281         memset declaration.
61283 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61286         tmpbuf.
61288 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61290         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61291         * elf/Makefile ($(objpfx)ld.so): Likewise.
61293         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61294         Don't list ld.so twice in dependencies.
61296         * posix/bug-regex31.c: Include <stdlib.h>.
61298         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61300         * nis/nss_compat/compat-spwd.c
61301         (getspent_next_nss_netgr): Remove unused variable.
61302         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61304         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61305         nonmembers" output to use the right array.
61307         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61309         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61311         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61312         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61313         * catgets/gencat.c (read_input_file): Likewise.
61314         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61316         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61317         variable definition inside #if's controlling its use.
61319         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61321         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61323         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61325         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61326         unreachable code.
61328         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61330         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61331         * configure: Regenerated.
61333         * Makerules: Revert last change.
61334         * elf/Makefile: Likewise.
61336 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61338         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61339         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61340         (reloc-link): Likewise.
61342 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61344         * elf/Makefile: Add rules to build pldd.
61345         * elf/pldd.c: New file.
61346         * elf/pldd-xx.c: New file.
61348 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61350         * version.h: Update for 2.15 development version.
61352 2011-06-07  David S. Miller  <davem@davemloft.net>
61354         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61355         ifuncs.
61356         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61357         elf_machine_lazy_rel): Likewise.
61358         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61359         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61360         elf_machine_lazy_rel): Likewise.
61361         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61362         dl_hwcap via passed in argument.
61363         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61364         Likewise.
61366 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61368         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61370 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61372         [BZ #12849]
61373         * manual/fdl-1.1.texi: New file, verbatim from:
61374         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61375         * manual/lgpl-2.1.texi: New file, verbatim from:
61376         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61377         * manual/Makefile (licenses): New variable, list those new file names.
61378         (texis): Use it.
61379         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61381         * manual/fdl.texi: File removed.
61382         * manual/lesser.texi: File removed.
61383         * manual/libc.texinfo (Copying, Documentation License):
61384         Use new @include file names, put @appendix directive before @include.
61386 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61388         [BZ #12841]
61389         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61390         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61391         (mq_open): Add __NTH.
61393 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61396         Assume Intel Core i3/i5/i7 processor if AVX is available.
61398 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61400         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61401         typo.
61403 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61405         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61406         memory.  Use alloca_account.  Fix memory leak when retrying.
61408 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61410         * version.h (RELEASE): Bump for 2.14 release.
61411         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61413         * config.make.in (RANLIB): Remove entry.
61415 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61417         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61418         (libc.pot): Work around missing support for .ksh extension in xgettext.
61420         [BZ #12684]
61421         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61422         if both request failed.
61423         (send_dg): In case of server errors clear resplen or *resplen2.
61425         [BZ #12454]
61426         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61427         when there are multiple maps.
61428         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61429         (_dl_fini): Remove test here.
61431         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61433 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61435         [BZ #12350]
61436         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61437         bit from old_res_options.
61438         (gaih_inet): Likewise.
61440         [BZ #11099]
61441         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61442         as signed.
61444         * resolv/res_init.c (res_setoptions): Make the code more compact.
61446         [BZ #11558]
61447         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61448         set RES_USEVC.
61450         [BZ #11634]
61451         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61453         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61455         [BZ #11781]
61456         * malloc/malloc.h: Declare malloc hook variables as volatile.
61458         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61459         in last patch.
61461         [BZ #11799]
61462         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61463         raise in the comment.
61464         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61465         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61466         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61468 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61470         [BZ #12811]
61471         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61472         grow the buffers more if it already has to be sufficient.
61473         (build_wcs_upper_buffer): Likewise.
61474         * posix/regexec.c (check_matching): Likewise.
61475         (clean_state_log_if_needed): Likewise.
61476         (extend_buffers): Don't enlarge buffers beyond size of the input
61477         buffer.
61478         Patches mostly by Emil Wojak <emil@wojak.eu>.
61479         * posix/bug-regex32.c: New file.
61480         * posix/Makefile (tests): Add bug-regex32.
61482         * locale/findlocale.c (_nl_find_locale): Return right away if
61483         _nl_explode_name failed.
61484         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61486         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61488         * debug/xtrace.sh: Unify messages.
61489         * malloc/memusage.sh: Likewise.
61491         [BZ #12813]
61492         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61493         time symbol from vDSO.  Substitute with vsyscall if not available.
61494         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61495         __vdso_time.
61497         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61498         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61499         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61500         Add sendmmsg and internal_sendmmsg.
61501         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61502         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61503         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61505         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61506         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61507         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61509 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61511         [BZ #12813]
61512         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61513         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61514         available.
61515         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61516         __vdso_getcpu.
61518         [BZ #12814]
61519         * iconvdata/Makefile (tests): Add bug-iconv9.
61520         * iconvdata/bug-iconv9.c: New file.
61522 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61524         [BZ #12814]
61525         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61527 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61529         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61530         (struct user_regs_struct): Change intcs field back to cs.
61532 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61534         * po/ja.po: Update from translation team.
61536 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61538         [BZ #12795]
61539         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61540         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61542 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61544         * stdlib/longlong.h: Update from GCC.
61546 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61548         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61549         parameter name.
61550         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61551         Add parameter name.
61552         (__sysconf): Pass it down.
61554 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61556         [BZ #12671]
61557         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61558         some situations.
61559         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61560         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61561         add in in __libc_use_alloca calls.  Adjust callers.
61562         (glob): Use malloc in some situations.
61564         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61565         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61566         pltexit.
61568 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61570         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61571         and CLOCK_BOOTTIME_ALARM.
61573         [BZ #12782]
61574         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61575         is returned.
61577         * string/_strerror.c (__strerror_r): Print negative errors as signed
61578         numbers.
61580         [BZ #12777]
61581         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61582         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61583         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61585         * configure.in: Fix typo in redirection and correct removal of test
61586         files in two cases.
61588         [BZ #12788]
61589         * locale/setlocale.c (new_composite_name): Fix test to check for
61590         identical name of all categories.
61592         [BZ #12792]
61593         * libio/filedoalloc.c (local_isatty): New function.
61594         (_IO_file_doallocate): Use local_isatty.
61595         * stdio-common/perror.c (perror): In case a new stream is used
61596         forward the stream error.
61597         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61598         error flag.
61600 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61602         [BZ #11869]
61603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61604         alloca.
61605         * include/alloca.h (extend_alloca_account): Define.
61607         [BZ #11857]
61608         * posix/regex.h: Fix comments with documentation of user-accessible
61609         fields after compilation and describe correct free'ing of pattern
61610         after re_compile_pattern.
61611         Patch by Reuben Thomas <rrt@sc3d.org>.
61613 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61615         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61616         and -mno-altivec to prevent the compiler from using Altivec and/or
61617         VSX instructions when the corresponding registers are not available.
61619 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61621         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61623 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61625         * libio/freopen.c (freopen): Use __dup2, not dup2.
61626         * libio/freopen64.c (freopen64): Likewise.
61628 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61630         [BZ #12775]
61631         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61632         * math/Makefile (tests): Add test-powl.
61633         (CFLAGS-test-powl.c): Define.
61634         * math/test-powl.c: New file.
61636 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61638         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61640 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61642         [BZ #11837]
61643         * iconvdata/gb18030.c: Update to GB18020-2005.
61645 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61647         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61648         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61649         Patch by Aharon Robbins <arnold@skeeve.com>.
61651         [BZ #11892]
61652         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61653         on the stack.
61655         [BZ #11895]
61656         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61657         through underflows.
61659         [BZ #12766]
61660         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61661         point to strings before performing equality test for error_one_per_line
61662         mode.
61664         [BZ #11697]
61665         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61667         [BZ #11820]
61668         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61669         (struct user_fpregs_struct): Avoid __uint*_t types.
61671         [BZ #6420]
61672         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61673         symbol info.  Use it instead of calling _dl_addr locally.
61674         (lock_and_info): New function.
61675         (tr_freehook): Call lock_and_info and pass symbol info as additional
61676         parameter to tr_where.
61677         (tr_mallochook): Likewise.
61678         (tr_reallochook): Likewise.
61679         (tr_memalignhook): Likewise.
61681         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61682         used and couldn't be at all thread-safe.
61684 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61686         * libio/freopen.c (freopen): Don't close old file descriptor
61687         before the new one is opened.  Instead dup the new file descriptor
61688         to the old one after the new stream is created.
61689         * libio/freopen64.c (freopen64): Likewise.
61690         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61691         * libio/fileops.c (_IO_new_file_close_it): Handle new
61692         _IO_FLAGS2_NOCLOSE flag.
61693         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61694         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61695         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61696         _IO_FLAGS2_NOCLOSE flag.
61697         * include/unistd.h: Add hidden_proto for dup3.
61698         Define __have_dup3.
61699         * io/dup3.c: Define hidden symbol.
61700         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61702         [BZ #7101]
61703         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61704         when an incomplete long option is used.
61705         * posix/tst-getopt_long1.c: New file.
61706         * posix/Makefile (tests): Add tst-getopt_long1.
61708         [BZ #10138]
61709         * scripts/config.guess: Update from autoconf-2.68.
61710         * scripts/config.sub: Likewise.
61712         [BZ #10157]
61713         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61714         tests into ...
61715         (has_cpuclock): ...this.  New function.
61716         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61717         macro here based on has_cpuclock code.
61719         [BZ #10149]
61720         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61721         First byte (not low byte) is now always NUL.
61722         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61724         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61725         Use non-cancelable interfaces.
61727         [BZ #9809]
61728         * locale/iso-639.def: Add entry for Sorani.
61730         [BZ #11901]
61731         * include/stdlib.h: Move include protection to the right place.
61732         Define abort_msg_s.  Declare __abort_msg with it.
61733         * stdlib/abort.c (__abort_msg): Adjust type.
61734         * assert/assert.c (__assert_fail_base): New function.  Majority
61735         of code from __assert_fail.  Allocate memory for __abort_msg with
61736         mmap.
61737         (__assert_fail): Now call __assert_fail_base.
61738         * assert/assert-perr.c: Remove bulk of implementation.  Use
61739         __assert_fail_base.
61740         * include/assert.hL Declare __assert_fail_base.
61741         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61742         mmap.
61743         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61745 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61747         [BZ #11952]
61748         [BZ #12453]
61749         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61750         until all modules are registered in the DTV.
61751         * elf/Makefile: Add rules to build and run tst-tls19.
61752         * elf/tst-tls19.c: New file.
61753         * elf/tst-tls19mod1.c: New file.
61754         * elf/tst-tls19mod2.c: New file.
61755         * elf/tst-tls19mod3.c: New file.
61756         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61758         [BZ #12083]
61759         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61760         correctly.
61762         [BZ #12601]
61763         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61764         two-byte sequence errors.
61765         * iconvdata/Makefile (tests): Add bug-iconv8.
61766         * iconvdata/bug-iconv8.c: New file.
61768         [BZ #12626]
61769         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61770         buf2 definition.
61772         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61774         [BZ #12432]
61775         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61776         (dummy_getcfa): New function.
61777         (init): Get _Unwind_GetCFA address, use dummy if not found.
61778         (backtrace_helper): In recursion check, also check whether CFA changes.
61779         (__backtrace): Completely initialize arg.
61781         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61782         storing incomplete byte sequence in state object.  Avoid testing for
61783         guaranteed too small input if we know there is enough data available.
61785 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61787         * Makeconfig (+link-pie): Indent.
61788         * Rules (binaries-pie): Define if $(have-fpie) and
61789         $(build-shared).
61790         (binaries-shared): Also filter out $(binaries-pie).
61791         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61792         * nscd/Makefile (others-pie): Add nscd.
61793         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61794         ($(objpfx)nscd): Remove command override.
61795         * login/Makefile (others-pie): Add pt_chown.
61796         ($(objpfx)pt_chown): Remove command override.
61797         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61798         remove command overrides.
61800 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61802         * libio/tst_putwc.c: Fix error messages.
61804         [BZ #12724]
61805         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61806         currently writing and seek to current position when not.
61807         * libio/Makefile (tests): Add bug-fclose1.
61808         * libio/bug-fclose1.c: New file.
61810 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61812         [BZ #12511]
61813         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61814         don't set DF_1_NODELETE here.
61815         (do_lookup_x): When entering new entry test for copy relocation
61816         and if necessary set DF_1_NODELETE flag.
61817         * elf/tst-unique4.cc: New file.
61818         * elf/tst-unique4.h: New file.
61819         * elf/tst-unique4lib.cc: New file.
61820         * elf/Makefile: Add rules to build and run tst-unique4.
61821         Patch by Piotr Bury <pbury@goahead.com>.
61823 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61825         [BZ #12052]
61826         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61828         [BZ #12625]
61829         * misc/mntent_r.c (addmntent): Flush the stream after the output
61831         [BZ #12393]
61832         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61833         (is_trusted_path_normalize): Skip initial colon.  Append slash
61834         to empty buffer.  Duplicate is_trusted_path code but allow
61835         constructed patch to be prefix.
61836         (is_dst): Allow $ORIGIN followed by /.
61837         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61838         Correct testing of result of is_trusted_path_normalize
61839         (decompose_rpath): Fix warning.
61841 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61843         [BZ #11257]
61844         * grp/initgroups.c (internal_getgrouplist): When we found the service
61845         list through the initgroups entry in nsswitch.conf do not always
61846         continue on a successful lookup.  Don't always use the
61847         __nss_group_database value if it is set.
61848         * nss/nsswitch.conf (initgroups): Change action for successful db
61849         lookup to continue for compatibility.
61851 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61853         [BZ #11532]
61854         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61855         and CP774 modules.
61856         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61857         and CP774 modules.
61858         * iconvdata/tst-tables.sh: Likewise.
61859         * iconvdata/cp770.c: New file.
61860         * iconvdata/cp771.c: New file.
61861         * iconvdata/cp772.c: New file.
61862         * iconvdata/cp773.c: New file.
61863         * iconvdata/cp774.c: New file.
61864         * iconvdata/testdata/CP770: New file.
61865         * iconvdata/testdata/CP770..UTF8: New file.
61866         * iconvdata/testdata/CP771: New file.
61867         * iconvdata/testdata/CP771..UTF8: New file.
61868         * iconvdata/testdata/CP772: New file.
61869         * iconvdata/testdata/CP772..UTF8: New file.
61870         * iconvdata/testdata/CP773: New file.
61871         * iconvdata/testdata/CP773..UTF8: New file.
61872         * iconvdata/testdata/CP774: New file.
61873         * iconvdata/testdata/CP774..UTF8: New file.
61875         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61876         END CHARMAP line.
61877         * iconvdata/gen-8bit-gap.sh: Likewise.
61878         * iconvdata/gen-8bit.sh: Likewise.
61880         * locale/iso-639.def: Add ary entry.
61882         [BZ #11258]
61883         * locale/C-translit.h.in: Add U20A1 transliteration.
61885         [BZ #12178]
61886         * locale/iso-639.def: Add wae entry.
61887         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61889         [BZ #12545]
61890         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61891         for n.
61893         [BZ #12711]
61894         * locale/C-translit.h.in: Add entry for U20B9.
61895         Patch by pravin.d.s@gmail.com.
61897 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61899         [BZ #12713]
61900         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61901         ENAMETOOLONG use generic getcwd.
61902         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61903         in rtld.  Use *stat64.
61904         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61905         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61906         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61907         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61908         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61909         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61910         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61911         __fstatat64 macros.
61912         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61913         * dirent/rewinddir.c: Add libc_hidden_def.
61914         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61915         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61917         * include/dirent.h (__alloc_dir): Add flags parameter.
61918         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61919         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61920         __alloc_dir.
61921         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61922         from fdopendir if O_CLOEXEC is already set.
61924 2011-03-15  Alan Modra  <amodra@gmail.com>
61926         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61927         l_tls_firstbyte_offset non-zero.  Save padding offset in
61928         l_tls_firstbyte_offset for later use.
61929         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61930         freeing static tls block.
61932 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61934         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61935         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61936         being defined by the kernel headers.
61938 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61940         [BZ #12734]
61941         * resolv/resolv.h: Define RES_NOTLDQUERY.
61942         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61943         no-tld-query and set RES_NOTLDQUERY.
61944         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61945         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61946         modern BIND to search name as TLD unless forbidden.
61948 2011-05-07  Petr Baudis  <pasky@suse.cz>
61949             Ulrich Drepper  <drepper@gmail.com>
61951         [BZ #12393]
61952         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61953         (is_trusted_path): ...to here.
61954         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61955         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61956         using is_trusted_path_normalize() in setuid scripts.
61958 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61960         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61961         __BEGIN/__END_DECLS.
61963 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61965         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61966         NSS_STATUS_NOTFOUND if no record was found.
61968 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61970         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61971         (headers-not-in-tirpc): Remove rpc/netdb.h
61972         * resolv/netdb.h: Revert last change.
61974 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61976         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61977         circular dependency between libgcc.a and libc.a.
61979 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61981         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61982         * nis/Makefile: Don't install rpcsvc/*.
61983         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61984         instead of <rpc/types.h>.
61985         (MAXHOSTNAMELEN): Define.
61987 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61989         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61991 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61993         [BZ #12714]
61994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61995         gethostbyname4_r when IPv6 results are possible.
61997 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61999         [BZ #12723]
62000         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62001         _PC_PIPE_BUF handling.
62003 2011-04-30  Bruno Haible  <bruno@clisp.org>
62005         [BZ #12717]
62006         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62007         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62008         to 'int'.
62009         * inet/getnameinfo.c (getnameinfo): Likewise.
62011 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62013         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62014         to groups setting in database lookup.
62015         * nss/nsswitch.conf: Add initgroups entry.
62017 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62019         [BZ #12685]
62020         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62021         mode string.
62022         Patch by Eric Blake <eblake@redhat.com>.
62024 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62026         * sunrpc/Makefile (need-export-routines): Add svc_run.
62027         (routines): Remove svc_run.
62028         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62029         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62030         * sunrpc/svc_run.c (svc_run): Likewise.
62031         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62033 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62035         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62036         problem in reallocation in last patch.
62038 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62040         * sunrpc/Makefile: Move inclusion of Rules.
62042 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62044         * nss/nss_files/files-initgroups.c: New file.
62045         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62046         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62047         _nss_files_initgroups_dyn.
62049 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62051         * elf/elf.h (R_ARM_IRELATIVE): Define.
62053 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62055         * po/ru.po: Update from translation team.
62057 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62059         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62060         dependencies.
62062 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62064         [BZ #12653]
62065         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62066         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62067         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62068         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62069         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62071 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62073         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62074         differing bytes.
62075         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62076         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62077         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62079 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62081         [BZ #12420]
62082         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62083         storing it.
62084         * stdlib/bug-getcontext.c: New file.
62085         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62087 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62089         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62090         instructions into .machine "z9-109".
62091         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62092         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62094 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62096         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62097         between environment variables and auxiliary vector.
62099 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62101         * Makefile: Add rules to build linkobj/libc.so.
62102         * include/libc-symbols.h: Define libc_hidden_nolink.
62103         * include/rpc/auth.h: Mark functions which are to be hidden.
62104         * include/rpc/auth_des.h: Likewise.
62105         * include/rpc/auth_unix.h: Likewise.
62106         * include/rpc/clnt.h: Likewise.
62107         * include/rpc/des_crypt.h: Likewise.
62108         * include/rpc/key_prot.h: Likewise.
62109         * include/rpc/pmap_clnt.h: Likewise.
62110         * include/rpc/pmap_prot.h: Likewise.
62111         * include/rpc/pmap_rmt.h: Likewise.
62112         * include/rpc/rpc_msg.h: Likewise.
62113         * include/rpc/svc.h: Likewise.
62114         * include/rpc/svc_auth.h: Likewise.
62115         * include/rpc/xdr.h: Likewise.
62116         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62117         * nss/Makefile: Likewise.
62118         * sunrpc/Makefile: Don't install headers.  Build library with normal
62119         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62120         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62121         for the compat linking library.  Remove use of INTDEF/INTUSE.
62122         * sunrpc/auth_none.c: Likewise.
62123         * sunrpc/auth_unix.c: Likewise.
62124         * sunrpc/authdes_prot.c: Likewise.
62125         * sunrpc/authuxprot.c: Likewise.
62126         * sunrpc/clnt_gen.c: Likewise.
62127         * sunrpc/clnt_perr.c: Likewise.
62128         * sunrpc/clnt_raw.c: Likewise.
62129         * sunrpc/clnt_simp.c: Likewise.
62130         * sunrpc/clnt_tcp.c: Likewise.
62131         * sunrpc/clnt_udp.c: Likewise.
62132         * sunrpc/clnt_unix.c: Likewise.
62133         * sunrpc/des_crypt.c: Likewise.
62134         * sunrpc/des_soft.c: Likewise.
62135         * sunrpc/get_myaddr.c: Likewise.
62136         * sunrpc/key_call.c: Likewise.
62137         * sunrpc/key_prot.c: Likewise.
62138         * sunrpc/netname.c: Likewise.
62139         * sunrpc/pm_getmaps.c: Likewise.
62140         * sunrpc/pm_getport.c: Likewise.
62141         * sunrpc/pmap_clnt.c: Likewise.
62142         * sunrpc/pmap_prot.c: Likewise.
62143         * sunrpc/pmap_prot2.c: Likewise.
62144         * sunrpc/pmap_rmt.c: Likewise.
62145         * sunrpc/publickey.c: Likewise.
62146         * sunrpc/rpc_cmsg.c: Likewise.
62147         * sunrpc/rpc_common.c: Likewise.
62148         * sunrpc/rpc_dtable.c: Likewise.
62149         * sunrpc/rpc_prot.c: Likewise.
62150         * sunrpc/rpc_thread.c: Likewise.
62151         * sunrpc/rtime.c: Likewise.
62152         * sunrpc/svc.c: Likewise.
62153         * sunrpc/svc_auth.c: Likewise.
62154         * sunrpc/svc_authux.c: Likewise.
62155         * sunrpc/svc_raw.c: Likewise.
62156         * sunrpc/svc_run.c: Likewise.
62157         * sunrpc/svc_simple.c: Likewise.
62158         * sunrpc/svc_tcp.c: Likewise.
62159         * sunrpc/svc_udp.c: Likewise.
62160         * sunrpc/svc_unix.c: Likewise.
62161         * sunrpc/svcauth_des.c: Likewise.
62162         * sunrpc/xcrypt.c: Likewise.
62163         * sunrpc/xdr.c: Likewise.
62164         * sunrpc/xdr_array.c: Likewise.
62165         * sunrpc/xdr_float.c: Likewise.
62166         * sunrpc/xdr_intXX_t.c: Likewise.
62167         * sunrpc/xdr_mem.c: Likewise.
62168         * sunrpc/xdr_rec.c: Likewise.
62169         * sunrpc/xdr_ref.c: Likewise.
62170         * sunrpc/xdr_sizeof.c: Likewise.
62171         * sunrpc/xdr_stdio.c: Likewise.
62173 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62175         [BZ #12650]
62176         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62177         * sysdeps/ia64/dl-tls.h: Likewise.
62178         * sysdeps/powerpc/dl-tls.h: Likewise.
62179         * sysdeps/s390/dl-tls.h: Likewise.
62180         * sysdeps/sh/dl-tls.h: Likewise.
62181         * sysdeps/sparc/dl-tls.h: Likewise.
62182         * sysdeps/x86_64/dl-tls.h: Likewise.
62183         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62185 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62187         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62188         rpath element also skip the following colon.
62189         (expand_dynamic_string_token): Add is_path parameter and pass
62190         down to DL_DST_REQUIRED and _dl_dst_substitute.
62191         (decompose_rpath): Call expand_dynamic_string_token with
62192         non-zero is_path.  Ignore empty rpaths.
62193         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62194         with zero is_path.
62196 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62199         Make cancelable.
62201 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62203         [BZ #12655]
62204         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62205         Patch by Filipe David Manana <fdmanana@apache.org>.
62207 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62209         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62210         Maintain aligned stack.
62211         (CHECK_RSP): Remove unused macro.
62213 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62215         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62216         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62218 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62220         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62222         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62224 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62226         [BZ #12518]
62227         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62228         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62229         * sysdeps/x86_64/memmove.c: New file.
62230         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62231         (memcpy): Renamed to ...
62232         (__new_memcpy): This.
62233         (memcpy): Provide GLIBC_2_14 memcpy.
62234         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62235         (memcpy): Provide GLIBC_2_2_5 memcpy.
62237 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62239         [BZ #12631]
62240         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62242 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62244         * misc/syncfs.c: New file.
62245         * misc/Makefile (routines): Add syncfs.
62246         * posix/unistd.h: Declare syncfs.
62247         * sysdeps/unix/syscalls.list: Add syncfs.
62249 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62251         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62252         open_by_handle_at.
62253         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62254         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62255         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62256         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62258         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62259         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62261 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62263         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62264         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62265         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62267         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62269         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62271         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62272         sync_file_range.c with -fexceptions.
62273         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62274         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62275         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62276         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62277         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62278         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62279         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62280         sync_file_range as cancellation point
62281         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62282         now a wrapper around __call_sync_file_range with cancellation handling.
62283         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62284         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62285         function name to __call_sync_file_range.
62286         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62287         Add call_sync_file_range.
62289 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62292         bits/timex.h.
62294 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62296         * iconv/iconv.h: Fix typo in comment.
62297         * io/fcntl.h: Likewise.
62298         * libio/stdio.h: Likewise.
62299         * posix/spawn.h: Likewise.
62300         * posix/unistd.h: Likewise.
62301         * stdlib/stdlib.h: Likewise.
62302         * time/time.h: Likewise.
62303         * wcsmbs/wchar.h: Likewise.
62305         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62306         open_by_handle): Add.
62307         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62308         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62309         Augment a few comments.
62310         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62312         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62314         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62315         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62316         open_by_handle.
62318         * io/fcntl.h (AT_EMPTY_PATH): Define.
62320 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62322         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62323         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62324         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62325         to...
62326         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62327         * Versions.def: Add GLIBC_2.14.
62328         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62329         Export.
62331 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62333         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62334         round counter.
62335         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62337 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62339         [BZ #12597]
62340         * string/test-strncmp.c (do_page_test): New function.
62341         (check2): Likewise.
62342         (test_main): Call check2.
62343         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62345 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62347         [BZ #12587]
62348         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62349         Handle cache information in CPU leaf 4.
62350         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62352 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62354         [BZ #12583]
62355         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62356         character representation.
62357         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62359 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62361         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62362         END(__isnan) to END(__isnanf) to match function entry point/label
62363         EALIGN(__isnanf,...).
62365 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62367         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62369 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62371         [BZ #12510]
62372         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62373         copy from the symbol referenced in the relocation to initialize the
62374         used variable.
62375         Patch by Piotr Bury <pbury@goahead.com>.
62376         * elf/Makefile: Add rules to build and tst-unique3.
62377         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62378         * elf/tst-unique3.cc: New file.
62379         * elf/tst-unique3.h: New file.
62380         * elf/tst-unique3lib.cc: New file.
62381         * elf/tst-unique3lib2.cc: New file.
62383         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62385 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62387         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62388         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62389         to _start.
62391 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62393         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62394         to-be-loaded object along a path to loader is ld.so.
62396 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62397             Ulrich Drepper  <drepper@gmail.com>
62399         * sysdeps/x86_64/memset.S: After aligning destination, code
62400         branches to different locations depending on the value of
62401         misalignment, when multiarch is enabled. Fix this.
62403 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62405         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62406         Set _x86_64_preferred_memory_instruction for AMD processsors.
62407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62408         Set bit_Prefer_SSE_for_memop for AMD processors.
62410 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62412         * libio/fmemopen.c (fmemopen): Optimize a bit.
62414 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62416         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62418 2011-03-03  Roland McGrath  <roland@redhat.com>
62420         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62422 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62424         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62425         __bzero_ultra1 instead of __memset_ultra1.
62427 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62428             Ulrich Drepper  <drepper@gmail.com>
62430         [BZ #12509]
62431         * include/link.h (struct link_map): Add l_orig_initfini.
62432         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62433         returning unsuccessfully.
62434         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62435         close of a file loaded at startup, restore the original l_initfini
62436         list.
62437         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62438         list, store the pointer.
62439         * elf/Makefile ($(objpfx)noload-mem): New rule.
62440         (noload-ENV): Define.
62441         (tests): Add $(objpfx)noload-mem.
62442         * elf/noload.c: Include <memcheck.h>.
62443         (main): Call mtrace.  Close all opened handles.
62445 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62447         [BZ #12454]
62448         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62449         dependencies are missing.
62451 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62453         Fix __if_freereq crash: Unlike the generic version which uses free,
62454         Hurd needs munmap.
62455         * sysdeps/mach/hurd/ifreq.h: New file.
62457 2011-01-27  Petr Baudis  <pasky@suse.cz>
62458             Ulrich Drepper  <drepper@gmail.com>
62460         [BZ 12445]#
62461         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62462         to extend_alloca().
62463         * stdio-common/bug23.c: New file.
62464         * stdio-common/Makefile (tests): Add bug23.
62466 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62467             Ulrich Drepper  <drepper@gmail.com>
62469         [BZ #12489]
62470         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62471         before performing relro protection.  At old place add assertion
62472         to make sure nothing changed.
62474 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62475             Glauber de Oliveira Costa  <glommer@gmail.com>
62477         * elf/elf.h: Add new ARM TLS relocs.
62479 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62482         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62483         cast from r3.
62484         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62485         'tests' variable.
62486         * sysdeps/wordsize-64/tst-writev.c: New file.
62488 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62490         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62491         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62492         insns in _dl_start to prevent a TOC reference before relocs are
62493         resolved.
62495 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62497         [BZ #12469]
62498         * Makeconfig: Remove RANLIB definition.
62499         * Makerules: Don't use RANLIB.
62500         * aclocal.m4: Remove ranlib test.
62501         * configure.in: No need to check for ranlib.
62502         * elf/rtld-Rules: Don't use RANLIB.
62504 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62506         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62507         protection macro.
62508         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62509         inclusion protection macro.
62511         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62512         SIGRTMIN and SIGRTMAX and print information in that case only when
62513         SIGRTMIN is defined.
62515 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62517         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62518         arginfo fn returning -1.
62520         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62521         and thousands string is zero terminated.
62523 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62525         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62526         sysdeps/unix/sysv/linux/bits/socket.h.
62528 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62530         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62531         (__CPU_COUNT): Remove old macros.
62532         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62533         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62534         (__CPU_ALLOC, __CPU_FREE): Add macros.
62535         (__sched_cpualloc, __sched_cpufree): Add declarations.
62537 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62539         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62540         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62541         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62542         (readdhstai): Return value of addhstaiX call.
62543         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62544         (addgrbyX): Return value returned by cache_addgr.
62545         (readdgrbyname): Return value returned by addgrbyX.
62546         (readdgrbygid): Likewise.
62547         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62548         (addpwbyX): Return value returned by cache_addpw.
62549         (readdpwbyname): Return value returned by addhstbyX.
62550         (readdpwbyuid): Likewise.
62551         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62552         (addservbyX): Return value returned by cache_addserv.
62553         (readdservbyname): Return value returned by addservbyX:
62554         (readdservbyport): Likewise.
62555         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62556         (addhstbyX): Return value returned by cache_addhst.
62557         (readdhstbyname): Return value returned by addhstbyX.
62558         (readdhstbyaddr): Likewise.
62559         (readdhstbynamev6): Likewise.
62560         (readdhstbyaddrv6): Likewise.
62561         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62562         (readdinitgroups): Return value returned by addinitgroupsX.
62563         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62564         (prune_cache): Keep track of timeout value of re-added entries.
62565         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62566         * nscd/nscd.h: Adjust prototypes of readd* functions.
62568 2011-02-04  Roland McGrath  <roland@redhat.com>
62570         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62571         (nis_stats): Likewise.
62572         * nis/nis_modify.c (nis_modify): Likewise.
62573         * nis/nis_remove.c (nis_remove): Likewise.
62574         * nis/nis_add.c (nis_add): Likewise.
62576         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62578         * posix/fnmatch_loop.c: Add some consts.
62580         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62582 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62584         [BZ #12460]
62585         * config.make.in (config-cflags-novzeroupper): Define.
62586         * configure.in: Substitute libc_cv_cc_novzeroupper.
62587         * elf/Makefile (AVX-CFLAGS): Define.
62588         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62589         (CFLAGS-tst-auditmod4a.c): Likewise.
62590         (CFLAGS-tst-auditmod4b.c): Likewise.
62591         (CFLAGS-tst-auditmod6b.c): Likewise.
62592         (CFLAGS-tst-auditmod6c.c): Likewise.
62593         (CFLAGS-tst-auditmod7b.c): Likewise.
62594         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62596 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62598         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62599         function to the callback.
62600         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62602 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62604         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62605         of errno.
62607 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62609         [BZ #11724]
62610         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62611         of constructors.
62612         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62613         of destructors.
62614         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62616         [BZ #11724]
62617         * elf/Makefile: Add rules to build and run new test.
62618         * elf/tst-initorder.c: New file.
62619         * elf/tst-initorder.exp: New file.
62620         * elf/tst-initordera1.c: New file.
62621         * elf/tst-initordera2.c: New file.
62622         * elf/tst-initordera3.c: New file.
62623         * elf/tst-initordera4.c: New file.
62624         * elf/tst-initorderb1.c: New file.
62625         * elf/tst-initorderb2.c: New file.
62626         * elf/tst-order-a1.c: New file.
62627         * elf/tst-order-a2.c: New file.
62628         * elf/tst-order-a3.c: New file.
62629         * elf/tst-order-a4.c: New file.
62630         * elf/tst-order-b1.c: New file.
62631         * elf/tst-order-b2.c: New file.
62632         * elf/tst-order-main.c: New file.
62633         New test case by George Gensure <werkt0@gmail.com>.
62635 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62638         decoding ACE if AI_CANONIDN.
62640 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62642         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62644 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62646         * version.h (RELEASE): Bump for 2.13 release.
62647         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62649         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62651         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62652         MADV_NOHUGEPAGE.
62653         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62654         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62655         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62656         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62657         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62658         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62660         * posix/getconf.c: Update copyright year.
62661         * catgets/gencat.c: Likewise.
62662         * csu/version.c: Likewise.
62663         * debug/catchsegv.sh: Likewise.
62664         * debug/xtrace.sh: Likewise.
62665         * elf/ldconfig.c: Likewise.
62666         * elf/ldd.bash.in: Likewise.
62667         * elf/sprof.c (print_version): Likewise.
62668         * iconv/iconv_prog.c: Likewise.
62669         * iconv/iconvconfig.c: Likewise.
62670         * locale/programs/locale.c: Likewise.
62671         * locale/programs/localedef.c: Likewise.
62672         * malloc/memusage.sh: Likewise.
62673         * malloc/mtrace.pl: Likewise.
62674         * nscd/nscd.c (print_version): Likewise.
62675         * nss/getent.c: Likewise.
62677         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62678         PF_CAIF, and PF_ALG.
62679         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62681 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62683         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62684         (modules-names): Use them.
62685         (ifunc-test-modules, ifunc-pie-tests): Define.
62686         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62687         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62688         (test-extras): Likewise.
62689         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62690         $(compile-command.c).
62691         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62692         (all-built-dso): Define.
62693         (check-textrel.out, check-execstack.out): Depend on it.
62695         * configure.in: Don't override --enable-multi-arch.
62697 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62699         [BZ #6812]
62700         * nscd/hstcache.c (tryagain): Define.
62701         (cache_addhst): Return tryagain not notfound for temporary errors.
62702         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62703         failed.
62705 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62707         [BZ #10563]
62708         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62709         to make the syscall.
62710         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62712         [BZ #12378]
62713         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62714         and fall back to matching as normal character if the string ends before
62715         the matching ']' is found.  This is what POSIX requires.
62716         * posix/testfnm.c: Adjust test result.
62717         * posix/globtest.sh: Adjust test result.  Add new test.
62718         * posix/tst-fnmatch.input: Likewise.
62719         * posix/tst-fnmatch2.c: Add new test.
62721 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62723         * elf/Makefile (check-execstack): Revert last change.  Depend on
62724         check-execstack.h.
62725         (check-execstack.h): New target.
62726         (generated): Add check-execstack.h.
62727         * elf/check-execstack.c: Include "check-execstack.h".
62728         (main): Revert last change.
62729         (handle_file): Return zero if GNU_STACK is absent and
62730         DEFAULT_STACK_PERMS doesn't include PF_X.
62732 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62734         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62735         in child fails because the descriptor is already closed.
62736         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62737         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62738         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62740         [BZ #12397]
62741         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62742         syscall.
62744         [BZ #10484]
62745         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62746         temporary buffer used to handle multi lookups locally.
62747         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62749 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62751         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62752         loader is ld.so.
62754 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62756         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62757         alignment for SSE2.
62759 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62761         [BZ #12394]
62762         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62763         characters.  When rounding increased number of integer digits recompute
62764         number of groups.
62765         * stdio-common/tst-grouping.c: New file.
62766         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62768 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62770         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62771         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62773         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62774         void.
62775         * bits/select.h: Likewise.
62777 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62779         * po/ja.po: Update from translation team.
62781 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62783         [BZ #11155]
62784         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62785         implementation just like for lxstat, fxstatat, et al.
62787 2010-12-27  Jim Meyering  <meyering@redhat.com>
62789         [BZ #12348]
62790         * posix/regexec.c (build_trtable): Return failure indication upon
62791         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62793 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62795         [BZ #12201]
62796         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62797         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62798         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62799         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62801         [BZ #12207]
62802         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62804         [BZ #12204]
62805         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62806         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62808 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62810         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62811         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62812         script has SORT_BY_INIT_PRIORITY.
62813         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62814         NO_CTORS_DTORS_SECTIONS is defined.
62815         * elf/soinit.c: Likewise.
62816         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62817         NO_CTORS_DTORS_SECTIONS is defined.
62818         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62819         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62820         * sysdeps/sh/init-first.c: Likewise.
62821         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62823 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62825         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62826         always use the slow path.
62828 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62830         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62831         similar rule which adds the sysdep directories to the header search in
62832         order to pick up the correct platform stackinfo.h.
62833         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62834         perform test if it is, otherwise return successfully without testing.
62835         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62836         DEFAULT_STACK_PERMS define in stackinfo.h.
62837         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62838         defined in stackinfo.h.
62839         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62840         DEFAULT_STACK_PERMS defined in stackinfo.h.
62841         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62842         * sysdeps/ia64/stackinfo.h: Likewise.
62843         * sysdeps/s390/stackinfo.h: Likewise.
62844         * sysdeps/sh/stackinfo.h: Likewise.
62845         * sysdeps/sparc/stackinfo.h: Likewise.
62846         * sysdeps/x86_64/stackinfo.h: Likewise.
62847         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62848         PF_X for powerpc64.  Retain PF_X for powerpc32.
62850 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62852         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62853         accurately.
62854         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62855         GETDENTS_64BIT_ALIGNED.
62857 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62859         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62861 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62863         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62864         _GNU_SOURCE.
62866         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62867         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62868         Remove __restrict.
62869         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62870         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62872 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62874         [BZ #11655]
62875         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62876         are initialized.
62878 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62880         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62882 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62884         * po/it.po: Update from translation team.
62886 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62888         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62889         unused codes.
62891 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62893         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62895 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62897         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62898         specially.
62899         (gaih_getanswer_slice): Likewise.
62901 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62905 2010-05-31  Petr Baudis  <pasky@suse.cz>
62907         [BZ #11149]
62908         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62909         silently even in the chroot mode.
62911 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62913         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62914         last patch a bit.  Pretty printing
62916 2010-05-31  Petr Baudis <pasky@suse.cz>
62918         [BZ #10085]
62919         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62920         initialization of skip_initgroups_dyn.
62922 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62924         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62925         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62927 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62929         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62931 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62933         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62934         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62935         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62936         ($(objpfx)tst-fnmatch-mem): New rule.
62937         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62938         * posix/tst-fnmatch.c (main): Call mtrace.
62940 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62943         Support Intel processor model 6 and model 0x2c.
62945 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62947         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62948           signed comparison.
62950 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62952         [BZ #12205]
62953         * string/test-strncasecmp.c (check_result): New function.
62954         (do_one_test): Use it.
62955         (check1): New function.
62956         (test_main): Use it.
62957         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62958         Support strcasecmp and strncasecmp.
62960 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62962         [BZ #12194]
62963         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62964         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62966 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62968         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62969         IFUNC support.
62970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62971         memset-x86-64.
62972         * sysdeps/x86_64/multiarch/bzero.S: New file.
62973         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62974         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62975         * sysdeps/x86_64/multiarch/memset.S: New file.
62976         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62978         Set bit_Prefer_SSE_for_memop for Intel processors.
62979         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62980         Define.
62981         (index_Prefer_SSE_for_memop): Define.
62982         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62984 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62986         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62987         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62989 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62991         [BZ #12191]
62992         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62993         (__x86_64_raw_data_cache_size_half): Likewise.
62994         (__x86_64_raw_shared_cache_size): Likewise.
62995         (__x86_64_raw_shared_cache_size_half): Likewise.
62997         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62998         (__x86_64_raw_data_cache_size_half): Likewise.
62999         (__x86_64_raw_shared_cache_size): Likewise.
63000         (__x86_64_raw_shared_cache_size_half): Likewise.
63001         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63002         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63003         and __x86_64_raw_shared_cache_size_half.  Round
63004         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63005         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63006         to multiple of 256 bytes.
63008 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63010         [BZ #12167]
63011         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63012         of inacessible symlinks.  Verify result of symlink before returning it.
63013         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63014         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63016 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63018         * math/math.h (isinf): Fix typo in comment.
63020 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63022         * po/da.po: Update from translation team.
63024 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63026         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63027         is added to the list.
63029 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63030             Ulrich Drepper  <drepper@gmail.com>
63032         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63033         the global list here.  Move code to...
63034         (_dl_add_to_namespace_list): ...here.  New function.
63035         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63036         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63037         * elf/dl-load.c (lose): Don't remove the element from the list.
63038         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63039         (_dl_map_object): Likewise.
63041 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63043         [BZ #12159]
63044         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63045         into all bytes of SSE register.
63046         Patch by Richard Li <richardpku@gmail.com>.
63048 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63050         [BZ #12140]
63051         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63052         perturbing.
63054 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63056         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63057         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63058         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63059         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63061         submachine.
63062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63064 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63066         * include/dlfcn.h (__RTLD_SECURE): Define.
63067         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63068         mode & __RTLD_SECURE instead.
63069         (open_path): Rename preloaded parameter to secure.
63070         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63071         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63072         * elf/dl-deps.c (openaux): Likewise.
63073         * elf/rtld.c (struct map_args): Remove is_preloaded.
63074         (map_doit): Don't use it.
63075         (dl_main): Likewise.
63076         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63077         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63079 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63081         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63082         (sysd-rules-targets): Remove duplicates.
63083         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63084         rtld-%.$o dependency.
63086 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63088         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63089         _dl_map_object do it.
63091 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63093         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63094         fast fma builtins, define the macros in the C99 standard.
63095         (FP_FAST_FMAF): Likewise.
63096         (FP_FAST_FMAL): Likewise.
63097         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63099         * bits/mathdef.h: Update copyright year.
63100         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63102 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63104         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63105         builtins, define the macros in the C99 standard.
63106         (FP_FAST_FMAF): Likewise.
63107         (FP_FAST_FMAL): Likewise.
63108         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63109         multiply/add.
63110         (FP_FAST_FMAF): Likewise.
63112 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63114         [BZ #3268]
63115         * math/libm-test.inc (fma_test): Some new testcases.
63116         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63117         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63118         y and infinite z.  Do multiplication by C already in long double.
63119         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63121         y and infinite z.  Do bitwise or of inexact bit into u.d.
63122         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63123         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63124         * sysdeps/i386/fpu/s_fma.S: Removed.
63125         * sysdeps/i386/fpu/s_fmal.S: Removed.
63127 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63129         [BZ #3268]
63130         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63132         computation is not scheduled after fetestexcept.  Fix value
63133         of minimum denormal long double.
63135 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63137         [BZ #3268]
63138         * math/libm-test.inc (fma_test): Add some more tests.
63139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63140         correctly.
63142 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63144         * scripts/data/localplt-s390-linux-gnu.data: New file.
63145         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63147 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63149         [BZ #3268]
63150         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63151         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63152         instead of dbl-64.
63153         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63154         inlines.
63155         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63157         if one of x and y is very large and the other is subnormal.
63158         * sysdeps/s390/fpu/s_fmaf.c: New file.
63159         * sysdeps/s390/fpu/s_fma.c: New file.
63160         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63161         * sysdeps/powerpc/fpu/s_fma.S: New file.
63162         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63163         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63164         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63166 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63168         [BZ #3268]
63169         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63170         fma tests.
63171         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63172         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63173         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63174         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63175         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63176         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63177         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63179 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63181         [BZ #12078]
63182         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63183         * posix/bug-regex31.input: Add test case.
63185 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63187         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63188         * posix/bug-regex31.input: New file.
63190         [BZ #12078]
63191         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63192         (parse_sub_exp): Fix last change, use postorder.
63194         * posix/bug-regex31.c: New file.
63195         * posix/Makefile: Add rules to build and run bug-regex31.
63197         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63199         [BZ #12078]
63200         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63202         [BZ #12108]
63203         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63204         to have entries in sys_siglist.
63206         [BZ #12093]
63207         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63208         be NULL.
63210 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63212         [BZ #3268]
63213         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63214         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63215         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63216         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63217         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63218         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63219         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63220         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63221         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63222         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63223         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63224         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63225         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63226         * math/ftestexcept.c (fetestexcept): Likewise.
63227         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63228         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63229         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63230         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63231         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63232         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63233         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63235 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63237         [BZ #12107]
63238         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63239         newline.
63241 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63243         * string/bug-strstr1.c: New file.
63244         * string/Makefile: Add rules to build and run bug-strstr1.
63246 2010-10-05  Eric Blake  <eblake@redhat.com>
63248         [BZ #12092]
63249         * string/str-two-way.h (two_way_long_needle): Always clear memory
63250         when skipping input due to the shift table.
63252 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63254         [BZ #12005]
63255         * malloc/mcheck.c: Handle large requests.
63257         [BZ #12077]
63258         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63259         for strncmp and strncasecmp.
63260         * string/stratcliff.c: Add tests for strcmp and strncmp.
63261         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63263 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63265         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63266         __set_fpscr.
63268 2010-09-30  Andreas Jaeger  <aj@suse.de>
63270         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63271         (CGROUP_SUPER_MAGIC): Define.
63272         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63273         Handle btrfs and cgroup file systems.
63274         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63275         Likewise.
63277 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63279         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63280         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63282 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63284         [BZ #12067]
63285         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63286         trying to locate the ELF header.
63288 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63290         [BZ #11611]
63291         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63292         Mask out sign-bit copies when constructing f_fsid.
63294 2010-09-24  Petr Baudis <pasky@suse.cz>
63296         * debug/stack_chk_fail_local.c: Add missing licence exception.
63297         * debug/warning-nop.c: Likewise.
63299 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63301         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63302         implementing getdents64 using getdents syscall, set d_type if
63303         __ASSUME_GETDENTS32_D_TYPE.
63305 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63307         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63308         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63310 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63312         [BZ #12037]
63313         * posix/unistd.h: Undo change of feature selection for ftruncate from
63314         2010-01-11.
63316 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63318         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63319         detection.
63321 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63323         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63324         fanotify_mark.
63325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63327 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63329         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63330         variables after CHECK_SP call.
63331         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63333 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63334             Ulrich Drepper  <drepper@redhat.com>
63336         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63337         re-relocationg ld.so.
63338         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63339         _dl_init_paths call.
63340         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63341         here anymore.
63343 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63345         * resolv/res_init.c (__res_vinit): Count the default server we added.
63347 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63348             Ulrich Drepper  <drepper@redhat.com>
63350         [BZ #11968]
63351         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63352         (____longjmp_chk): Use %ebx for saving value across system call.
63353         Add unwind info.
63355 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63357         * manual/Makefile: Don't mix pattern rules with normal rules.
63359 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63361         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63362         operation.
63363         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63364         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63365         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63366         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63368         Likewise.
63370 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63372         [BZ #11979]
63373         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63374         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63376 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63378         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63379         * sysdeps/x86_64/addmul_1.S: Likewise.
63380         * sysdeps/x86_64/lshift.S: Likewise.
63381         * sysdeps/x86_64/mul_1.S: Likewise.
63382         * sysdeps/x86_64/rshift.S: Likewise.
63383         * sysdeps/x86_64/sub_n.S: Likewise.
63384         * sysdeps/x86_64/submul_1.S: Likewise.
63386 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63388         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63389         Define __sched_param instead of SCHED_* and sched_param when
63390         <bits/sched.h> is included with __need_schedparam defined.
63391         * bits/sched.h [__need_schedparam]
63392         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63393         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63394         (__defined_schedparam): Define to 1.
63395         (__sched_param): New structure, identical to sched_param.
63396         (__need_schedparam): Undefine.
63398 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63400         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63401         (epoll_create1): Declare.
63403         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63405 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63407         [BZ #7066]
63408         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63409         shifting retval into place.
63411 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63413         * nis/rpcsvc/nis.h: Update copyright notice.
63414         * nis/rpcsvc/nis.x: Likewise.
63415         * nis/rpcsvc/nis_callback.h: Likewise.
63416         * nis/rpcsvc/nis_callback.x: Likewise.
63417         * nis/rpcsvc/nis_object.x: Likewise.
63418         * nis/rpcsvc/nis_tags.h: Likewise.
63419         * nis/rpcsvc/yp.h: Likewise.
63420         * nis/rpcsvc/yp.x: Likewise.
63421         * nis/rpcsvc/ypupd.h: Likewise.
63422         * nis/yp_xdr.c: Likewise.
63423         * nis/ypupdate_xdr.c: Likewise.
63425         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63426         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63427         (pmap_getport): Use __libc_rpc_getport.
63428         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63429         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63430         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63432 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63435         fanotify_mark.
63437 2010-08-27  Roland McGrath  <roland@redhat.com>
63439         * sysdeps/i386/i686/multiarch/Makefile
63440         (CFLAGS-varshift.c): New variable.
63442 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63444         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63445         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63447         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63449         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63451 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63453         * sysdeps/x86_64/strlen.S: Unroll the loop.
63454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63455         strlen-sse2 strlen-sse2-bsf.
63456         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63457         __strlen_no_bsf if bit_Slow_BSF is set.
63458         (__strlen_sse42): Removed.
63459         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63460         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63462 2010-08-25  Roland McGrath  <roland@redhat.com>
63464         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63465         * sysdeps/x86_64/multiarch/varshift.c: New file.
63466         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63467         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63468         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63469         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63471 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63473         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63474         strlen-sse2 strlen-sse2-bsf.
63475         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63476         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63477         (__strlen_sse2): Removed.
63478         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63479         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63481         bit_Slow_BSF for Atom.
63482         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63483         (index_Slow_BSF): Define.
63484         (HAS_SLOW_BSF): Define.
63486 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63488         [BZ #10851]
63489         * resolv/res_init.c (__res_vinit): When no server address at all
63490         is given default to loopback.
63492 2010-08-24  Roland McGrath  <roland@redhat.com>
63494         * configure.in: Remove config-name.h generation.
63495         * configure: Regenerated.
63496         * config-name.in: File removed.
63497         * scripts/config-uname.sh: New file.
63498         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63499         ($(objdir)config-name.h): New target.
63501         * sunrpc/rpc_parse.h: Avoid nested comment.
63503 2010-08-24  Richard Henderson  <rth@redhat.com>
63504             Ulrich Drepper  <drepper@redhat.com>
63505             H.J. Lu  <hongjiu.lu@intel.com>
63507         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63509         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63510         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63511         _mm_alignr_epi8 with _mm_loadu_si128.
63512         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63513         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63514         (__m128i_shift_right): Removed.
63515         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63516         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63517         * sysdeps/x86_64/multiarch/varshift.h: New file.
63518         * sysdeps/x86_64/multiarch/varshift.S: New file.
63520 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63522         * configure.in: Move assembler checks to before sysdep dir checking.
63524 2010-08-20  Petr Baudis  <pasky@suse.cz>
63526         * LICENSES: Sync the sunrpc license.
63528 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63530         * sunrpc/auth_des.c: Update copyright notice once again.
63531         * sunrpc/auth_none.c: Likewise.
63532         * sunrpc/auth_unix.c: Likewise.
63533         * sunrpc/authdes_prot.c: Likewise.
63534         * sunrpc/authuxprot.c: Likewise.
63535         * sunrpc/bindrsvprt.c: Likewise.
63536         * sunrpc/clnt_gen.c: Likewise.
63537         * sunrpc/clnt_perr.c: Likewise.
63538         * sunrpc/clnt_raw.c: Likewise.
63539         * sunrpc/clnt_simp.c: Likewise.
63540         * sunrpc/clnt_tcp.c: Likewise.
63541         * sunrpc/clnt_udp.c: Likewise.
63542         * sunrpc/clnt_unix.c: Likewise.
63543         * sunrpc/des_crypt.c: Likewise.
63544         * sunrpc/des_soft.c: Likewise.
63545         * sunrpc/get_myaddr.c: Likewise.
63546         * sunrpc/getrpcport.c: Likewise.
63547         * sunrpc/key_call.c: Likewise.
63548         * sunrpc/key_prot.c: Likewise.
63549         * sunrpc/openchild.c: Likewise.
63550         * sunrpc/pm_getmaps.c: Likewise.
63551         * sunrpc/pm_getport.c: Likewise.
63552         * sunrpc/pmap_clnt.c: Likewise.
63553         * sunrpc/pmap_prot.c: Likewise.
63554         * sunrpc/pmap_prot2.c: Likewise.
63555         * sunrpc/pmap_rmt.c: Likewise.
63556         * sunrpc/rpc/auth.h: Likewise.
63557         * sunrpc/rpc/auth_unix.h: Likewise.
63558         * sunrpc/rpc/clnt.h: Likewise.
63559         * sunrpc/rpc/des_crypt.h: Likewise.
63560         * sunrpc/rpc/key_prot.h: Likewise.
63561         * sunrpc/rpc/netdb.h: Likewise.
63562         * sunrpc/rpc/pmap_clnt.h: Likewise.
63563         * sunrpc/rpc/pmap_prot.h: Likewise.
63564         * sunrpc/rpc/pmap_rmt.h: Likewise.
63565         * sunrpc/rpc/rpc.h: Likewise.
63566         * sunrpc/rpc/rpc_des.h: Likewise.
63567         * sunrpc/rpc/rpc_msg.h: Likewise.
63568         * sunrpc/rpc/svc.h: Likewise.
63569         * sunrpc/rpc/svc_auth.h: Likewise.
63570         * sunrpc/rpc/types.h: Likewise.
63571         * sunrpc/rpc/xdr.h: Likewise.
63572         * sunrpc/rpc_clntout.c: Likewise.
63573         * sunrpc/rpc_cmsg.c: Likewise.
63574         * sunrpc/rpc_common.c: Likewise.
63575         * sunrpc/rpc_cout.c: Likewise.
63576         * sunrpc/rpc_dtable.c: Likewise.
63577         * sunrpc/rpc_hout.c: Likewise.
63578         * sunrpc/rpc_main.c: Likewise.
63579         * sunrpc/rpc_parse.c: Likewise.
63580         * sunrpc/rpc_parse.h: Likewise.
63581         * sunrpc/rpc_prot.c: Likewise.
63582         * sunrpc/rpc_sample.c: Likewise.
63583         * sunrpc/rpc_scan.c: Likewise.
63584         * sunrpc/rpc_scan.h: Likewise.
63585         * sunrpc/rpc_svcout.c: Likewise.
63586         * sunrpc/rpc_tblout.c: Likewise.
63587         * sunrpc/rpc_util.c: Likewise.
63588         * sunrpc/rpc_util.h: Likewise.
63589         * sunrpc/rpcinfo.c: Likewise.
63590         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63591         * sunrpc/rpcsvc/key_prot.x: Likewise.
63592         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63593         * sunrpc/rpcsvc/mount.x: Likewise.
63594         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63595         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63596         * sunrpc/rpcsvc/rex.x: Likewise.
63597         * sunrpc/rpcsvc/rstat.x: Likewise.
63598         * sunrpc/rpcsvc/rusers.x: Likewise.
63599         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63600         * sunrpc/rpcsvc/spray.x: Likewise.
63601         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63602         * sunrpc/rtime.c: Likewise.
63603         * sunrpc/svc.c: Likewise.
63604         * sunrpc/svc_auth.c: Likewise.
63605         * sunrpc/svc_authux.c: Likewise.
63606         * sunrpc/svc_raw.c: Likewise.
63607         * sunrpc/svc_run.c: Likewise.
63608         * sunrpc/svc_simple.c: Likewise.
63609         * sunrpc/svc_tcp.c: Likewise.
63610         * sunrpc/svc_udp.c: Likewise.
63611         * sunrpc/svc_unix.c: Likewise.
63612         * sunrpc/svcauth_des.c: Likewise.
63613         * sunrpc/xcrypt.c: Likewise.
63614         * sunrpc/xdr.c: Likewise.
63615         * sunrpc/xdr_array.c: Likewise.
63616         * sunrpc/xdr_float.c: Likewise.
63617         * sunrpc/xdr_mem.c: Likewise.
63618         * sunrpc/xdr_rec.c: Likewise.
63619         * sunrpc/xdr_ref.c: Likewise.
63620         * sunrpc/xdr_sizeof.c: Likewise.
63621         * sunrpc/xdr_stdio.c: Likewise.
63623         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63624         handling.
63626 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63628         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63630 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63632         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63633         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63634         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63635         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63636         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63637         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63638         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63639         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63640         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63641         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63642         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63643         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63644         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63645         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63647 2010-07-26  Anton Blanchard  <anton@samba.org>
63649         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63650         * malloc/arena.c (heap_trim): Likewise.
63652 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63654         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63655         here.  Not...
63656         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63657         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63659 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63661         * sysdeps/i386/elf/Makefile: New file.
63663 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63665         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63666         from fanotify_init.
63667         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63670 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63672         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63673         of strncasecmp_l.
63674         * sysdeps/multiarch/strcmp.S: Likewise.
63676 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63678         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63679         strncase_l-nonascii.
63680         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63681         Add strncase_l-ssse3.
63682         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63683         * sysdeps/x86_64/strcmp.S: Likewise.
63684         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63685         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63686         * sysdeps/x86_64/strncase.S: New file.
63687         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63688         * sysdeps/x86_64/strncase_l.S: New file.
63689         * string/Makefile (strop-tests): Add strncasecmp.
63690         * string/test-strncasecmp.c: New file.
63692         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63693         warning.
63695         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63696         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63698 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63700         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63702 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63704         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63705         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63706         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63708 2010-05-01  Alan Modra  <amodra@gmail.com>
63710         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63711         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63712         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63713         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63714         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63715         tidying.  Don't tail-call __sigjmp_save for static lib.
63716         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63717         save location.
63718         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63719         (CALL_MCOUNT): Add eh info, and nop after bl.
63720         (TAIL_CALL_SYSCALL_ERROR): New macro.
63721         (PSEUDO_RET): Use it.
63722         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63723         Correct save location of integer regs and cr.
63724         (_dl_profile_resolve): Correct cr save location.  Delete nops
63725         after bl when SHARED.  Reduce cfi size a little by better
63726         placement of cfi directives.
63727         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63728         make a stack frame.  Instead use parm save area as a temp.
63729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63730         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63732         Don't make a stack frame for parent, use parm save area.
63733         Increase child stack frame to 112 bytes.  Don't save unused reg,
63734         and adjust reg usage.  Set up cfi on error recovery and
63735         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63737         (__makecontext): Add dummy nop after jump to exit.
63738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63739         Use correct parm save area and cr save, reduce stack frame.
63740         Correct cfi for possible PSEUDO_RET frame setup.
63741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63742         Branch to local label emitted by PSEUDO_RET rather than
63743         __syscall_error.
63745 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63747         [BZ #11904]
63748         * locale/programs/locale.c (print_assignment): New function.
63749         (show_locale_vars): Use it.
63751 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63753         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63754         field.
63755         (struct statfs64): Likewise.
63756         (_STATFS_F_FLAGS): Define.
63757         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63758         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63759         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63760         (ST_VALID): Define locally.
63761         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63762         __statvfs_getflags, use the provided value.
63763         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63764         __ASSUME_STATFS_F_FLAGS.
63766         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63768         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63769         Add sys/fanotify.h.
63770         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63771         fanotify_mask for GLIBC_2.13.
63772         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63773         fanotify_init and fanotify_mark.
63774         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63775         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63777         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63778         Add prlimit.
63779         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63780         prlimit64 for GLIBC_2.13.
63781         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63782         prlimit64.
63783         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63784         syscall.
63785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63786         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63787         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63788         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63789         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63790         add prlimit alias.
63791         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63793         [BZ #11903]
63794         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63795         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63797         * nss/Makefile: Add rules to build and run tst-nss-test1.
63798         * shlib-versions: Add entry for libnss_test1.
63799         * nss/nss_test1.c: New file.
63800         * nss/tst-nss-test1.c: New file.
63802         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63803         (__nss_configure_lookup): Set appropriate entry in
63804         __nss_configure_lookup to true.
63805         * nss/nsswitch.h: Define enum with indeces of databases in
63806         databases and __nss_database_custom arrays.  Declare
63807         __nss_database_custom.
63808         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63809         to avoid using nscd when custom rules are installed.
63810         * nss/getXXbyYY_r.c: Likewise.
63811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63813         * nss/nss_files/files-parse.c: Whitespace fixes.
63815 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63817         [BZ #11883]
63818         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63819         * posix/fnmatch_loop.c: Likewise.
63821 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63823         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63824         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63825         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63826         * Versions.def [GLIBC_2.13]: Add.
63828 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63830         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63831         Also fail if tpwd after pwuid call is NULL.
63833 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63835         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63836         when converting to ms.
63838 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63840         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63841         EOPNOTSUPP errors with ENOTTY.
63842         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63843         EOPNOTSUPP errors with ENOTTY.
63845 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63847         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63848         Add strcasecmp_l-ssse3.
63849         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63850         strcasecmp.
63851         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63852         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63853         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63855 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63857         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63859         * string/Makefile (strop-tests): Add strcasecmp.
63860         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63861         strcasecmp_l-nonascii.
63862         (gen-as-const-headers): Add locale-defines.sym.
63863         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63864         * sysdeps/x86_64/strcasecmp.S: New file.
63865         * sysdeps/x86_64/strcasecmp_l.S: New file.
63866         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63867         * sysdeps/x86_64/locale-defines.sym: New file.
63868         * string/test-strcasecmp.c: New file.
63870         * string/test-strcasestr.c: Test both ends of the range of characters.
63871         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63873 2010-07-29  Roland McGrath  <roland@redhat.com>
63875         [BZ #11856]
63876         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63878 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63880         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63881         for ld.so.
63883 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63885         * manual/memory.texi (Malloc Tunable Parameters): Document
63886         M_PERTURB.
63888 2010-07-26  Roland McGrath  <roland@redhat.com>
63890         [BZ #11840]
63891         * configure.in (-fgnu89-inline check): Set and substitute
63892         gnu89_inline, not libc_cv_gnu89_inline.
63893         * configure: Regenerated.
63894         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63896 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63898         * string/test-strnlen.c: New file.
63899         * string/Makefile (strop-tests): Add strnlen.
63900         * string/tester.c (test_strnlen): Add a few more test cases.
63901         * string/tst-strlen.c: Better error reporting.
63903         * sysdeps/x86_64/strnlen.S: New file.
63905 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63907         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63908         lower-latency instructions.
63910 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63912         * string/test-strcasestr.c: New file.
63913         * string/test-strstr.c: New file.
63914         * string/Makefile (strop-tests): Add strstr and strcasestr.
63915         * string/str-two-way.h: Don't undefine MAX.
63916         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63918 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63921         strcasestr-nonascii.
63922         (CFLAGS-strcasestr-nonascii.c): Define.
63923         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63924         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63925         Remove unused attribute.
63927 2010-07-20  Roland McGrath  <roland@redhat.com>
63929         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63930         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63931         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63932         like LD_HWCAP_MASK can disable hwcaps.
63934 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63936         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63938 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63940         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63941         call in strcasestr.
63942         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63943         __strcasestr_sse42_nonascii.
63944         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63945         strcasestr-nonascii.c.
63946         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63948 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63950         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63951         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63952         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63953         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63955 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63957         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63958         fcntl.
63960 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63962         [BZ #11577]
63963         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63964         dl_signal_cerror.
63966 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63968         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63969         _PC_PIPE_BUF using F_GETPIPE_SZ.
63971 2010-07-05  Roland McGrath  <roland@redhat.com>
63973         * manual/arith.texi (Rounding Functions): Fix rint description
63974         implicit in round description.
63976 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63978         * elf/Makefile: Fix linking for a few tests to make recent linker
63979         happy.
63981 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63983         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63984         $(common-objpfx)libc_nonshared.a.
63986 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63988         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63989         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63990         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63991         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63992         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63993         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63994         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63995         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64010         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64011         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64012         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64013         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64014         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64015         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64016         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64017         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64018         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64019         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64020         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64021         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64037 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64039         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64040         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64041         * string/memmove.c (memmove): Renamed to ...
64042         (MEMMOVE): ...this.  Default to memmove.
64043         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64044         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64045         (END_CHK): Define.
64046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64047         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64048         mempcpy-ssse3-back memmove-ssse3-back.
64049         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64050         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64051         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64052         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64053         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64054         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64055         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64056         * sysdeps/x86_64/multiarch/memmove.c: New file.
64057         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64058         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64059         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64060         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64061         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64062         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64063         Define.
64064         (index_Fast_Copy_Backward): Define.
64065         (HAS_ARCH_FEATURE): Define.
64066         (HAS_FAST_REP_STRING): Define.
64067         (HAS_FAST_COPY_BACKWARD): Define.
64069 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64071         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64072         Restore proper fallback handling.
64074 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64076         [BZ #11701]
64077         * posix/group_member.c (__group_member): Correct checking loop.
64079         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64080         OOM in getpwuid_r correctly.  Return error number when the caller
64081         should return, otherwise -1.
64082         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64083         call returning > 0 value.
64084         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64086 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64088         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64089         libc_nonshared.a from targets in modules-names.
64091 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64093         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64094         requires it.
64096 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64098         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64099         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64100         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64101         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64103 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64105         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64107 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64109         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64110         and F_GETPIPE_SZ.
64111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64112         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64113         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64115         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64116         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64118 2010-06-14  Roland McGrath  <roland@redhat.com>
64120         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64122 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64124         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64125         __REDIRECT followed by __THROW.
64126         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64127         * posix/getopt.h (getopt): Likewise.
64129 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64131         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64132         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64133         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64134         in AT_FLAGS.
64135         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64136         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64138 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64140         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64142 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64144         [BZ #11640]
64145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64146         Properly check family and model.
64148 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64150         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64152 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64154         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64156 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64158         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64159         symbol reference.
64161 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64163         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64164         symbol reference.
64166 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64168         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64169         and internal_recvmmsg.
64170         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64171         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64172         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64173         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64175         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64176         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64177         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64179 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64181         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64183 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64185         POWER7 optimizations.
64186         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64187         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64189 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64191         * version.h: Update for 2.13 development version.
64193 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64195         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64196         exceptions.  Return 0.
64198 2010-05-07  Roland McGrath  <roland@redhat.com>
64200         * elf/ldconfig.c (main): Add a const.
64202 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64204         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64205         (args_options): Add no-idn option.
64206         (ahosts_keys_int): Add idn_flags to ai_flags.
64207         (parse_option): Handle 'i' option to clear idn_flags.
64209         * malloc/malloc.c (_int_free): Possible race in the most recently
64210         added check.  Only act on the data if no current modification
64211         happened.
64213 See ChangeLog.17 for earlier changes.