Mention 15786 in NEWS
[glibc.git] / ChangeLog
blob287ab2db373da97d1d42cac446528a17460876e0
1 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2             Dmitry V. Levin  <ldv@altlinux.org>
4         [BZ #18877]
5         * posix/Makefile (tests): Add tst-mmap-offset.
6         * posix/tst-mmap.c: New file.
7         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8         offset calculation for negative values.
10 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12         * sysdeps/i386/init-arch.h: New file.
13         * sysdeps/i386/i586/init-arch.h: Likewise.
14         * sysdeps/i386/i686/init-arch.h: Likewise.
15         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17         * sysdeps/x86/cpu-features.h (bit_I586): New.
18         (bit_I686): Likewise.
19         (bit_CX8): Likewise.
20         (bit_CMOV): Likewise.
21         (index_CX8): Likewise.
22         (index_CMOV): Likewise.
23         (index_I586): Likewise.
24         (index_I686): Likewise.
25         (reg_CX8): Likewise.
26         (reg_CMOV): Likewise.
27         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28         available at compile-time.
29         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30         available at compile-time.
31         * sysdeps/x86/init-arch.h (USE_I586): New macro.
32         (USE_I686): Likewise.
34 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
36         * sysdeps/i386/bcopy.S: New file.
37         * sysdeps/i386/bzero.S: Likewise.
38         * sysdeps/i386/memcpy.S: Likewise.
39         * sysdeps/i386/memmove.S: Likewise.
40         * sysdeps/i386/mempcpy.S: Likewise.
41         * sysdeps/i386/memset.S: Likewise.
42         * sysdeps/i386/bzero.c: Removed.
43         * sysdeps/i386/memset.c: Likewise.
44         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
45         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
46         * sysdeps/i386/i586/memset_chk.S: Likewise.
47         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
48         * sysdeps/i386/memcpy_chk.S: Here.
49         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
50         * sysdeps/i386/memmove_chk.S: Here.
51         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
52         * sysdeps/i386/mempcpy_chk.S: Likewise.
53         * sysdeps/i386/i686/memset_chk.S: Moved to ...
54         * sysdeps/i386/memset_chk.S: Likewise.
56 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
58         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
59         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
60         file, move DIAG_POP_NEEDS_COMMENT to end of file.
61         * soft-fp/fmadf4.c: Ditto.
62         * soft-fp/fmatf4.c: Ditto.
64 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
66         * sysdeps/i386/i586/Implies: Removed.
67         * sysdeps/i386/i686/Implies: Likewise.
69 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
71         * sysdeps/i386/i486/strlen.S: Moved to ...
72         * sysdeps/i386/strlen.S: Here.
74 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
76         * sysdeps/i386/i486/strcat.S: Moved to ...
77         * sysdeps/i386/strcat.S: Here.
79 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
81         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
82         * sysdeps/i386/pthread_spin_trylock.S: Here.
83         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
84         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
86 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
88         * sysdeps/i386/i486/string-inlines.c: Moved to ...
89         * sysdeps/i386/string-inlines.c: Here.
91 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
93         * sysdeps/i386/i486/htonl.S: Moved ...
94         * sysdeps/i386/htonl.S: here.
96 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
98         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
99         * sysdeps/i386/bits/atomic.h: Here.
101 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
103         * sysdeps/i386/i486/Versions: Removed.
105 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
107         [BZ #2898]
108         * misc/mktemp.c: Add mkdtemp to the link_warning message.
109         Based on patch by Aurelien Jarno.
111 2015-08-26  Stan Shebs  <stanshebs@google.com>
113         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
114         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
116 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
118         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
119         * sysdeps/powerpc/dl-procinfo.c:
120         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
121         feature so it shows when LD_SHOW_AUXV=1.
123 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
125         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
126         (__arch_compare_and_exchange_val_32_acq): Remove and use common
127         definition.  ISA 2.07B no longer requires full sync.
129 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
131         [BZ #18863]
132         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
133         (si_call_addr): Define.
134         (si_syscall): Define.
135         (si_arch): Define.
137 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
139         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
140         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
141         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
142         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
143         (__memset_zero_constant_len_parameter): New.
144         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
145         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
146         (__memset_zero_constant_len_parameter): Don't define if
147         __memset_chk or USE_AS_BZERO are defined.
149         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
150         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
151         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
153         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
154         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
155         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
156         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
157         comments.
158         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
159         -mno-mmx for $(all-rtld-routines).
160         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
161         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
162         i386.
164 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
166         * sysdeps/generic/unwind.h
167         (_Unwind_Word): Use __mode__(__unwind_word__)
168         instead of __mode__(__word__).
169         (_Unwind_Sword): Likewise.
171         * sysdeps/s390/s390-64/utf8-utf16-z9.c
172         (MAX_NEEDED_INPUT): New define.
173         (MAX_NEEDED_OUTPUT): New define.
175         * NEWS: New item for IBM z13 string optimizations.
177         * sysdeps/s390/multiarch/memrchr-c.c: New File.
178         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
179         * sysdeps/s390/multiarch/memrchr.c: Likewise.
180         * sysdeps/s390/multiarch/Makefile
181         (sysdep_routines): Add memrchr functions.
182         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
183         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
185         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
186         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
187         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
188         * sysdeps/s390/multiarch/Makefile
189         (sysdep_routines): Add wmemcmp functions.
190         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
191         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
192         * benchtests/bench-wmemcmp.c: New File.
193         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
195         * sysdeps/s390/multiarch/wmemset-c.c: New File.
196         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
197         * sysdeps/s390/multiarch/wmemset.c: Likewise.
198         * sysdeps/s390/multiarch/Makefile
199         (sysdep_routines): Add wmemset functions.
200         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
201         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
202         * wcsmbs/wmemset.c: Use WMEMSET if defined.
203         * string/test-memset.c: Add wmemset support.
204         * wcsmbs/test-wmemset.c: New File.
205         * wcsmbs/Makefile (strop-tests): Add wmemset.
206         * benchtests/bench-memset.c: Add wmemset support.
207         * benchtests/bench-wmemset.c: New File.
208         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
210         * sysdeps/s390/multiarch/memccpy-c.c: New File.
211         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
212         * sysdeps/s390/multiarch/memccpy.c: Likewise.
213         * sysdeps/s390/multiarch/Makefile
214         (sysdep_routines): Add memccpy functions.
215         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
216         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
217         * string/memccpy.c: Use MEMCCPY if defined.
219         * sysdeps/s390/multiarch/memchr-vx.S: New File.
220         * sysdeps/s390/multiarch/memchr.c: Likewise.
221         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
222         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
223         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
224         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
225         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
226         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
227         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
228         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
230         and rawmemchr functions.
231         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
232         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
233         and wmemchr.
234         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
235         * string/test-memchr.c: Add wmemchr support.
236         * wcsmbs/test-wmemchr.c: New File.
237         * wcsmbs/Makefile (strop-tests): Add wmemchr.
238         * benchtests/bench-memchr.c: Add wmemchr support.
239         * benchtests/bench-wmemchr.c: New File.
240         * benchtests/Makefile (wcsmbs-bench): wmemchr.
242         * sysdeps/s390/multiarch/strcspn-c.c: New File.
243         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
244         * sysdeps/s390/multiarch/strcspn.c: Likewise.
245         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
246         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
247         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
249         wcscspn functions.
250         * sysdeps/s390/multiarch/ifunc-impl-list.c
251         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
252         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
253         * string/test-strcspn.c: Add wcscspn support.
254         * wcsmbs/test-wcscspn.c: New File.
255         * wcsmbs/Makefile (strop-tests): Add wcscspn.
256         * benchtests/bench-strcspn.c: Add wcscspn support.
257         * benchtests/bench-wcscspn.c: New File.
258         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
260         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
261         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
262         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
263         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
264         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
265         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
267         wcspbrk functions.
268         * sysdeps/s390/multiarch/ifunc-impl-list.c
269         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
270         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
271         * string/test-strpbrk.c: Add wcspbrk support.
272         * wcsmbs/test-wcspbrk.c: New File.
273         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
274         * benchtests/bench-strpbrk.c: Add wcspbrk support.
275         * benchtests/bench-wcspbrk.c: New File.
276         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
278         * sysdeps/s390/multiarch/strspn-c.c: New File.
279         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
280         * sysdeps/s390/multiarch/strspn.c: Likewise.
281         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
282         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
283         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
284         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
286         wcsspn functions.
287         * sysdeps/s390/multiarch/ifunc-impl-list.c
288         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
289         * string/test-strspn.c: Add wcsspn support.
290         * wcsmbs/test-wcsspn.c: New File.
291         * wcsmbs/Makefile (strop-tests): Add wcsspn.
292         * benchtests/bench-strspn.c: Add wcsspn support.
293         * benchtests/bench-wcsspn.c: New File.
294         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
296         * sysdeps/s390/multiarch/strrchr-c.c: New File.
297         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
298         * sysdeps/s390/multiarch/strrchr.c: Likewise.
299         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
300         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
301         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
302         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
303         wcsrchr functions.
304         * sysdeps/s390/multiarch/ifunc-impl-list.c
305         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
306         * benchtests/bench-wcsrchr.c: New File.
307         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
309         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
310         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
311         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
312         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
313         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
314         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
315         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
316         wcschrnul functions.
317         * sysdeps/s390/multiarch/ifunc-impl-list.c
318         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
319         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
320         * string/test-strchr.c: Add wcschrnul support.
321         * wcsmbs/test-wcschrnul.c: New File.
322         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
323         * benchtests/bench-strchr.c: Add wcschrnul support.
324         * benchtests/bench-wcschrnul.c: New File.
325         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
327         * sysdeps/s390/multiarch/strchr-c.c: New File.
328         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
329         * sysdeps/s390/multiarch/strchr.c: Likewise.
330         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
331         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
332         * sysdeps/s390/multiarch/wcschr.c: Likewise.
333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
334         wcschr functions.
335         * sysdeps/s390/multiarch/ifunc-impl-list.c
336         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
337         * string/strchr.c (STRCHR): Define and use macro.
338         * benchtests/bench-wcschr.c: New File.
339         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
341         * sysdeps/s390/multiarch/strncmp-c.c: New File.
342         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
343         * sysdeps/s390/multiarch/strncmp.c: Likewise.
344         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
345         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
346         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
348         wcsncmp functions.
349         * sysdeps/s390/multiarch/ifunc-impl-list.c
350         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
351         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
352         * benchtests/bench-strncmp.c: Add wcsncmp support.
353         * benchtests/bench-wcsncmp.c: New File.
354         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
356         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
357         * sysdeps/s390/multiarch/strcmp.c: Likewise.
358         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
359         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
360         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
361         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
362         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
364         wcscmp functions.
365         * sysdeps/s390/multiarch/ifunc-impl-list.c
366         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
367         * string/strcmp.c (STRCMP): Define and use macro.
368         * benchtests/bench-wcscmp.c: New File.
369         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
370         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
371         instead of _HAVE_STRING_ARCH_memchr.
373         * sysdeps/s390/multiarch/strncat-c.c: New File.
374         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
375         * sysdeps/s390/multiarch/strncat.c: Likewise.
376         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
377         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
378         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
380         wcsncat functions.
381         * sysdeps/s390/multiarch/ifunc-impl-list.c
382         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
383         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
384         * string/test-strncat.c: Add wcsncat support.
385         * wcsmbs/test-wcsncat.c: New File.
386         * wcsmbs/Makefile (strop-tests): Add wcsncat.
387         * benchtests/bench-strncat.c: Add wcsncat support.
388         * benchtests/bench-wcsncat.c: New File.
389         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
391         * sysdeps/s390/multiarch/strcat-c.c: New File.
392         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
393         * sysdeps/s390/multiarch/strcat.c: Likewise.
394         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
395         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
396         * sysdeps/s390/multiarch/wcscat.c: Likewise.
397         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
398         wcscat functions.
399         * sysdeps/s390/multiarch/ifunc-impl-list.c
400         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
401         * string/strcat.c (STRCAT): Define and use macro.
402         * wcsmbs/wcscat.c: Use WCSCAT if defined.
403         * string/test-strcat.c: Add wcscat support.
404         * wcsmbs/test-wcscat.c: New File.
405         * wcsmbs/Makefile (strop-tests): Add wcscat.
406         * benchtests/bench-strcat.c: Add wcscat support.
407         * benchtests/bench-wcscat.c: New File.
408         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
410         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
411         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
412         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
413         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
414         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
415         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
417         wcpncpy functions.
418         * sysdeps/s390/multiarch/ifunc-impl-list.c
419         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
420         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
421         * string/test-stpncpy.c: Add wcpncpy support.
422         * wcsmbs/test-wcpncpy.c: New File.
423         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
424         * benchtests/bench-stpncpy.c: Add wcpncpy support.
425         * benchtests/bench-wcpncpy.c: New File.
426         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
428         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
429         * sysdeps/s390/multiarch/strncpy.c: Likewise.
430         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
431         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
432         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
433         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
434         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
436         wcsncpy functions.
437         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
438         * sysdeps/s390/multiarch/ifunc-impl-list.c
439         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
440         * string/test-strncpy.c: Add wcsncpy support.
441         * wcsmbs/test-wcsncpy.c: New File.
442         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
443         * benchtests/bench-strncpy.c: Add wcsncpy support.
444         * benchtests/bench-wcsncpy.c: New File.
445         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
447         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
448         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
449         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
450         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
451         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
452         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
454         wcpcpy functions.
455         * string/stpcpy.c: Use STPCPY if defined.
456         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
457         * sysdeps/s390/multiarch/ifunc-impl-list.c
458         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
459         * string/test-stpcpy.c: Add wcpcpy support.
460         * wcsmbs/test-wcpcpy.c: New File.
461         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
462         * benchtests/bench-stpcpy.c: Add wcpcpy support.
463         * benchtests/bench-wcpcpy.c: New File.
464         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
466         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
467         * sysdeps/s390/multiarch/strcpy.c: Likewise.
468         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
469         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
470         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
471         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
472         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
473         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
474         wcscpy functions.
475         * sysdeps/s390/multiarch/ifunc-impl-list.c
476         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
477         * benchtests/bench-wcscpy.c: New File.
478         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
480         * sysdeps/s390/multiarch/strnlen-c.c: New File.
481         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
482         * sysdeps/s390/multiarch/strnlen.c: Likewise.
483         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
484         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
485         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
486         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
487         wcsnlen functions.
488         * sysdeps/s390/multiarch/ifunc-impl-list.c
489         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
490         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
491         * string/test-strnlen.c: Add wcsnlen support.
492         * wcsmbs/test-wcsnlen.c: New File.
493         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
494         * benchtests/bench-strnlen.c: Add wcsnlen support.
495         * benchtests/bench-wcsnlen.c: New File.
496         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
498         * sysdeps/s390/multiarch/Makefile: New File.
499         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
500         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
501         * sysdeps/s390/multiarch/strlen.c: Likewise.
502         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
503         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
504         * sysdeps/s390/multiarch/wcslen.c: Likewise.
505         * string/strlen.c (STRLEN): Define and use macro.
506         * sysdeps/s390/multiarch/ifunc-impl-list.c
507         (IFUNC_VX_IMPL): New macro function.
508         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
509         * benchtests/Makefile (wcsmbs-bench): New variable.
510         (string-bench-all): Added wcsmbs-bench.
511         * benchtests/bench-wcslen.c: New File.
513         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
514         s390_vx_libc_ifunc2): New macro function.
516         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
517         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
518         assembler support.
519         * sysdeps/s390/configure: Regenerated.
521         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
522         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
524         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
525         * sysdeps/s390/dl-procinfo.h: Add vector capability.
526         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
528         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
529         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
531         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
532         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
533         (memcmp, bcmp): Use __memcmp_default as alias source.
534         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
535         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
536         Rename to __memcmp_default.
537         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
538         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
539         (memcpy): Use __memcpy_default as alias source.
540         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
541         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
542         Rename to __memcpy_default.
543         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
544         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
545         (memset): Use __memset_default as alias source.
546         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
547         * sysdeps/s390/s390-32/memset.S (__memset_g5):
548         Rename to __memset_default.
549         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
550         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
551         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
552         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
553         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
554         (memcmp, bcmp): Use __memcmp_default as alias source.
555         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
556         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
557         Rename to __memcmp_default.
558         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
559         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
560         (memcpy): Use __memcpy_default as alias source.
561         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
562         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
563         Rename to __memcpy_default.
564         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
565         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
566         (memset): Use __memset_default as alias source.
567         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
568         * sysdeps/s390/s390-64/memset.S (__memset_z900):
569         Rename to __memset_default.
570         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
571         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
573         [BZ #18610]
574         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
575         __ieee_instruction_pointer to __unused.
576         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
577         __ieee_instruction_pointer.
578         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
579         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
580         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
581         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
582         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
583         Mark dxc-field as reserved.
585 2015-08-25  Roland McGrath  <roland@hack.frob.com>
587         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
588         if the weak reference is not null.
590 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
592         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
594         [BZ #11214]
595         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
597 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
599         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
600         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
601         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
602         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
603         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
604         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
605         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
606         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
607         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
608         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
609         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
610         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
611         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
612         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
613         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
614         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
615         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
616         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
618 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
620         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
621         register other than r0 for tabort, it has special meaning.
622         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
623         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
624         transaction before starting syscall.
626 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
628         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
630 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
632         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
634         * sysdeps/x86_64/rtld-memcmp.c: Removed.
635         * sysdeps/x86_64/rtld-memset.S: Likewise.
636         * sysdeps/x86_64/rtld-strchr.S: Likewise.
637         * sysdeps/x86_64/rtld-strlen.S: Likewise.
638         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
639         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
641         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
643 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
645         * debug/strcpy_chk.c: Improve performance.
646         * debug/stpcpy_chk.c: Likewise.
647         * sysdeps/x86_64/strcpy_chk.S: Remove.
648         * sysdeps/x86_64/stpcpy_chk.S: Remove.
650         [BZ #18240]
651         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
653 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
655         [BZ #15128]
656         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
657         ifuncmain8.
658         (modules-names): Add ifuncmod8.
659         ($(objpfx)ifuncmain8): New rule.
660         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
661         <cpuid.h>.
662         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
663         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
664         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
665         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
666         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
667         * sysdeps/x86_64/dl-trampoline.h: Likewise.
668         * sysdeps/x86_64/ifuncmain8.c: New file.
669         * sysdeps/x86_64/ifuncmod8.c: Likewise.
670         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
671         Removed.
672         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
673         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
674         Change rtld_savespace_sse to __glibc_unused2.
675         (RTLD_CHECK_FOREIGN_CALL): Removed.
676         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
677         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
678         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
680 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
682         * sysdeps/aarch64/bzero.S (__bzero): Remove.
684 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
686         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
687         Unconditionally set __fpcr to avoid uninialized warning.
688         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
690 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
692         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
693         is corrupt.
695         * malloc/arena.c (arena_get2): Drop unused argument.
696         (arena_lock): Adjust.
697         (arena_get_retry): Likewise.
699 2015-08-24  Andreas Schwab  <schwab@suse.de>
701         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
702         Don't define.
703         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
704         (__ASSUME_IPC64): Don't undef.
705         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
706         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
707         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
708         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
709         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
710         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
711         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
712         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
713         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
714         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
715         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
716         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
717         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
718         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
719         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
720         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
721         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
722         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
723         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
724         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
725         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
727 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
729         * manual/Makefile (install): Only build manual when perl is available.
731 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
733         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
734         '#undef memcpy' by '#undef memchr'.
736 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
738         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
739         memchr not point to the internal __GI_memchr implementation.
741 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
743         * timezone/Makefile (CFLAGS-zdump.c): Remove
744         -Wno-strict-prototypes.
745         (CFLAGS-zic.c): Likewise.
746         (CFLAGS-ialloc.c): Likewise.
747         (CFLAGS-scheck.c): Likewise.
749         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
750         -Wno-error=undef.
752 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
754         * i386/i686/multiarch/strcasestr-c.c: Removed.
755         * x86_64/multiarch/strcasestr.c: Likewise.
756         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
757         Remove strcasestr.
759 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
761         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
763         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
764         variables for high and low parts before possibly modifying them.
766 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
768         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
769         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
770         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
771         of "multiarch/init-arch.h".
772         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
773         * sysdeps/x86/init-arch.h: This.
775 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
777         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
778         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
780 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
782         [BZ #17787]
783         * manual/macros.texi: Add twoexp macro.
784         * manual/filesys.texi: Fix exponents.
785         * manual/llio.texi: Likewise.
786         * manual/stdio.texi: Likewise.
788 2015-08-20  Florian Weimer  <fweimer@redhat.com>
790         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
791         incorrect use.
793 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
795         [BZ #18370]
796         * math/s_csqrt.c (__csqrt): Force underflow exception for results
797         whose real or imaginary part has small absolute value.
798         * math/s_csqrtf.c (__csqrtf): Likewise.
799         * math/s_csqrtl.c (__csqrtl): Likewise.
800         * math/auto-libm-test-in: Add more tests of csqrt.
801         * math/auto-libm-test-out: Regenerated.
802         * sysdeps/i386/fpu/libm-test-ulps: Update.
804 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
806         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
807         __ppc_set_ppr_very_low): New functions.
808         * manual/platform.texi: Add documentation about
809         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
811 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
813         * string/stpncpy.c (stpncpy): Improve performance using
814         __strnlen/memcpy/memset.
816 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
818         [BZ #18796]
819         * scripts/test-installation.pl: Don't add -lmvec to build options if
820         libmvec wasn't built.
822 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
824         [BZ #14341]
825         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
826         case when there is a gap between DT_REL and DT_JMPREL sections.
827         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
828         (LDFLAGS-tst-split-dynreloc): New.
829         (tst-split-dynreloc-ENV): Likewise.
830         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
831         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
833 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
835         [BZ #18822]
836         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
837         attribute_hidden.
838         (__xstat64_conv): Likewise.
839         (__xstat32_conv): Likewise.
841 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
843         [BZ #18822]
844         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
845         Don't load %ebx when calling __setcontext.  Call __setcontext
846         with HIDDEN_JUMPTARGET.
847         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
848         libc_hidden_def.
850 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
852         * sysdeps/i386/i686/Makefile
853         [$(subdir) == string] (sysdep_routines): Moved to ...
854         * sysdeps/i386/Makefile: Here.
855         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
856         * sysdeps/i386/cacheinfo.c: Here.
857         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
858         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
859         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
860         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
862 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
864         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
865         __i586__ is defined.
866         (HAS_I686): Defined to 1 if __i686__ is defined.
868 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
870         * elf/Makefile [$(have-z-execstack) = yes]
871         (CPPFLAGS-tst-execstack.c): New variable.
873         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
874         conditional to [defined UTMPX || _HAVE_UT_TYPE].
875         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
876         UTMPX || _HAVE_UT_TV].
877         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
878         UTMPX || _HAVE_UT_TV - 0].
880 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
882         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
883         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
884         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
886 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
888         * sysdeps/powerpc/dl-procinfo.c:
889         (_dl_powerpc_cap_flags): Added missing strings for some
890         hwcap features.
891         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
893 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
895         Port the 0x7efe...feff pattern to GCC 6.
896         See Steve Ellcey's bug report in:
897         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
898         * string/memrchr.c (MEMRCHR):
899         * string/rawmemchr.c (RAWMEMCHR):
900         * string/strchr.c (strchr):
901         * string/strchrnul.c (STRCHRNUL):
902         Rewrite code to avoid issues with signed shift overflow.
904 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
906         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
907         whether cpuid is available only if HAS_CPUID is 0.
908         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
909         (HAS_I586): Likewise.
910         (HAS_I686): Likewise.
912 2015-08-18  Zack Weinberg  <zackw@panix.com>
914         * misc/Versions (libc): Add GLIBC_2.23.
916 2015-08-18  Alan Modra  <amodra@gmail.com>
918         [BZ #18421]
919         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
920         .Lp__global.
921         (_start): Load %dp via .Lp__global.
922         [!SHARED]: Use .section .rodata.
924 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
926         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
927         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
929 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
931         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
932         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
934 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
936         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
937         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
939 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
941         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
942         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
944 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
946         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
947         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
949 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
951         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
952         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
954 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
956         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
960         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
961         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
962         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
963         (__ASSUME_LWS_CAS): Delete.
965 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
967         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
968         * sysdeps/hppa/configure: Regenerated.
969         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
970         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
971         * sysdeps/hppa/nptl/tls.h: Likewise.
973 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
975         [BZ #18823]
976         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
977         for scaling up small arguments.
978         * math/s_csqrtf.c (__csqrtf): Likewise.
979         * math/s_csqrtl.c (__csqrtl): Likewise.
980         * math/auto-libm-test-in: Add more tests of csqrt.
981         * math/auto-libm-test-out: Regenerated.
983 2015-08-17  Andreas Schwab  <schwab@suse.de>
985         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
986         version set GLIBC_2.19.
988 2015-08-16  Zack Weinberg  <zackw@panix.com>
990         [BZ #18681]
991         * misc/regexp.h: This interface is no longer supported.
992         Remove all contents, leaving only an #error directive.
993         * misc/regexp.c (loc1, loc2, locs, step, advance):
994         Demote to compatibility symbols.
996 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
998         [BZ #18084]
999         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1000         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1001         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1002         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1003         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1004         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1005         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1006         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1007         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1009 2015-08-15  Zack Weinberg  <zackw@panix.com>
1011         [BZ #18795]
1012         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1013         buffer length is known to be too large, not if it's known to be
1014         small enough.
1015         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1016         overflow at runtime, involving a length parameter, twice: once
1017         with a compile-time constant length parameter, once without.
1019 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
1021         [BZ #18824]
1022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1023         scaling x * y up instead of down.
1024         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1025         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1026         * math/auto-libm-test-in: Add more tests of fma.
1027         * math/auto-libm-test-out: Regenerated.
1029 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1031         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1033 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1035         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1036         unnecessary movq.
1037         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1038         Likewise.
1040 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
1042         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1043         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1044         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1045         and tgamma.
1046         * math/auto-libm-test-out: Regenerated.
1047         * sysdeps/i386/fpu/libm-test-ulps: Update.
1048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1050         [BZ #16520]
1051         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1052         (__tanh): Force underflow exception for arguments with small
1053         absolute value.
1054         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1055         (__tanhf): Force underflow exception for arguments with small
1056         absolute value.
1057         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1058         (__tanhl): Force underflow exception for arguments with small
1059         absolute value.
1060         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1061         (__tanhl): Force underflow exception for arguments with small
1062         absolute value.
1063         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1064         (__tanhl): Force underflow exception for arguments with small
1065         absolute value.
1066         * math/auto-libm-test-in: Add more tests of tanh.
1067         * math/auto-libm-test-out: Regenerated.
1068         * sysdeps/i386/fpu/libm-test-ulps: Update.
1070 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1072         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1073         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1075 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1077         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1078         <cpuid.h>.
1080 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1082         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1083         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1085 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1087         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1088         Remove $(objpfx)init-arch.o.
1089         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1090         init-arch.
1091         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1092         (INIT_ARCH_EXT): Defined as empty.
1093         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1094         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1095         __init_cpu_features call.  Replace HAS_XXX with
1096         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1099         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1100         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1101         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1102         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1103         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1104         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1105         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1107         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1115         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1116         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1117         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1118         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1119         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1120         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1121         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1122         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1125         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1126         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1129         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1130         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1131         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1133 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1135         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1136         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1137         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1138         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1139         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1140         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1141         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1142         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1143         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1144         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1145         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1146         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1147         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1148         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1149         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1150         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1151         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1152         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1153         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1154         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1155         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1156         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1157         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1158         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1159         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1160         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1161         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1162         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1163         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1164         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1165         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1166         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1167         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1168         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1169         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1170         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1171         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1172         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1173         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1174         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1175         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1176         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1177         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1179 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1181         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1182         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1184         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1185         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1186         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1188         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1189         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1190         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1191         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1192         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1193         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1194         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1195         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1196         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1197         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1198         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1199         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1200         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1202         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1203         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1204         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1205         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1206         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1207         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1208         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1209         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1210         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1211         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1212         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1213         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1214         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1215         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1216         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1217         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1218         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1219         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1220         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1221         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1222         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1223         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1225 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1227         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1228         (dl_platform_init): Call init_cpu_features.
1229         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1230         * sysdeps/i386/i686/cacheinfo.c
1231         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1232         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1233         * sysdeps/i386/i686/multiarch/Versions: Removed.
1234         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1235         Removed.
1236         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1237         * sysdeps/unix/sysv/linux/x86/Makefile
1238         (libpthread-sysdep_routines): Remove init-arch.
1239         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1240         <sysdeps/x86_64/dl-procinfo.c> instead of
1241         sysdeps/generic/dl-procinfo.c>.
1242         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1243         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1244         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1245         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1246         [$(subdir) == elf] (tests-static): Add
1247         tst-get-cpu-features-static.
1248         * sysdeps/x86/Versions: New file.
1249         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1250         * sysdeps/x86/cpu-features.c: Likewise.
1251         * sysdeps/x86/cpu-features.h: Likewise.
1252         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1253         * sysdeps/x86/libc-start.c: Likewise.
1254         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1255         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1256         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1257         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1258         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1259         Assume USE_MULTIARCH is defined and don't check it.
1260         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1261         (is_amd): Likewise.
1262         (max_cpuid): Likewise.
1263         (intel_check_word): Likewise.
1264         (__cache_sysconf): Don't call __init_cpu_features.
1265         (__x86_preferred_memory_instruction): Removed.
1266         (init_cacheinfo): Don't call __init_cpu_features. Replace
1267         __cpu_features with GLRO(dl_x86_cpu_features).
1268         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1269         (dl_platform_init): Call init_cpu_features.
1270         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1271         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1272         * sysdeps/x86_64/multiarch/Versions: Removed.
1273         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1274         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1275         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1276         Removed.
1277         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1279 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1281         [BZ #18820]
1282         * libio/Makefile (test-fmemopen-mem): New test.
1283         * libio/test-fmemopen.c (do_bz18820): New test.
1284         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1285         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1287 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1289         [BZ #16734]
1290         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1291         (FREE_BUF): Delete.
1292         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1293         * libio/genops.c (_IO_setb): Use malloc and free directly.
1294         (_IO_default_doallocate, _IO_default_finish): Likewise.
1295         ( _IO_unbuffer_all): Likewise.
1296         ( libc_freeres_fn): Likewise.
1297         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1298         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1299         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1300         (_IO_wdefault_doallocate): Likewise.
1302 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1304         [BZ #18086]
1305         * sysdeps/posix/nice.c (nice): Restore old errno.
1306         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1308 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1312 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1314         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1315         __bcopy and add a weak_alias to bcopy.
1316         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1317         for static build.
1319         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1320         cleanup macro usage.
1321         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1324         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1325         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1326         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1327         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1328         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1329         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1330         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1331         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1332         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1334         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1336         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1337         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1338         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1339         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1341         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1342         libc_hidden_def.
1343         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1345         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1346         (sysdep_routines): Add strstr-ppc64.
1347         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1349 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1351         [BZ #18778]
1352         * elf/Makefile (tests): Add Add tst-nodelete2.
1353         (modules-names): Add tst-nodelete2mod.
1354         (tst-nodelete2mod.so-no-z-defs): New.
1355         ($(objpfx)tst-nodelete2): Likewise.
1356         ($(objpfx)tst-nodelete2.out): Likewise.
1357         (LDFLAGS-tst-nodelete2): Likewise.
1358         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1359         out of loop through all loaded libraries.
1360         * elf/tst-nodelete2.c: New file.
1361         * elf/tst-nodelete2mod.c: Likewise.
1363 2015-08-11  Andreas Schwab  <schwab@suse.de>
1365         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1366         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1367         (__openat64_nocancel): Likewise.
1369 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1371         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1372         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1373         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1374         * math/auto-libm-test-out: Regenerated.
1375         * sysdeps/i386/fpu/libm-test-ulps: Update.
1376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1378 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1380         [BZ #18790]
1381         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1382         threshold for returning +/- 1.
1383         * math/auto-libm-test-in: Add more tests of tanh.
1384         * math/auto-libm-test-out: Regenerated.
1385         * sysdeps/i386/fpu/libm-test-ulps: Update.
1387 2015-08-10  Andreas Schwab  <schwab@suse.de>
1389         [BZ #18781]
1390         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1391         MORE_OFLAGS to oflag.
1392         * io/test-lfs.c (do_test): Test openat64.
1394 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1396         [BZ #18789]
1397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1398         smaller threshold for returning the argument.
1399         * math/auto-libm-test-in: Add more tests of sinh.
1400         * math/auto-libm-test-out: Regenerated.
1401         * sysdeps/i386/fpu/libm-test-ulps: Update.
1403 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1405         [BZ #18674]
1406         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1407         break.
1409 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1411         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1412         (generated): Don't add $(addprefix z.,$(tzfiles)).
1414 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1416         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1417         * scripts/sysd-rules.awk: Likewise.
1419 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1421         * iconvdata/tst-tables.sh: Change echo -n to printf.
1422         * nss/db-Makefile: Likewise.
1423         * posix/tst-getconf.sh: Likewise.
1424         * stdio-common/tst-unbputc.sh: Likewise.
1426 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1428         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1429         MADV_*_PAGES defines behind this feature check.
1431 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1433         [BZ #18480]
1434         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1435         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1436         Define.
1437         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1438         LOAD_REGS_5, LOAD_REGS_6): Update.
1439         (INTERNAL_SYSCALL): Update using new LOAD defines.
1440         (INTERNAL_SYSCALL_NCS): Likewise.
1441         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1443 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1445         [BZ #16734]
1446         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1448 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1450         [BZ #17905]
1451         * catgets/Makefile (tst-catgets-mem): New test.
1452         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1453         * catgets/open_catalog.c (__open_catalog): Likewise.
1454         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1456 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1458         [BZ #18787]
1459         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1460         clobber registers.
1461         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1462         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1463         Cast return to __typeof (oldval).
1465 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1467         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1468         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1469         and delete sys/syscall.h include.
1471 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1473         [BZ #16517]
1474         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1475         (tan): Force underflow exception for arguments with small absolute
1476         value.
1477         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1478         (__kernel_tanf): Force underflow exception for arguments with
1479         small absolute value.
1480         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1481         (__kernel_tanl): Force underflow exception for arguments with
1482         small absolute value.
1483         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1484         (__kernel_tanl): Force underflow exception for arguments with
1485         small absolute value.
1486         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1487         (__kernel_tanl): Force underflow exception for arguments with
1488         small absolute value.
1489         * math/auto-libm-test-in: Add more tests of tan.
1490         * math/auto-libm-test-out: Regenerated.
1492 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1494         Fix sysdeps/i386/fpu/s_scalbn.S build
1496         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1498 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1500         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1502 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1504         Fix gcrt0.o compilation
1506         When static-start-installed-name is different from
1507         start-installed-name, we must not use the shared objects.
1509         * csu/Makefile
1510         (extra-objs): Add gmon-start.o when building shared library and
1511         $(static-start-installed-name) is different from
1512         $(start-installed-name).
1513         $(objpfx)g$(static-start-installed-name): When building shared
1514         library and $(static-start-installed-name) is different from
1515         $(static-start-installed-name), revert to non-shared rule,
1516         i.e. using $(objpfx)% and gmon-start.o.
1518 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1520         [BZ #16519]
1521         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1522         (__ieee754_sinh): Force underflow exception for arguments with
1523         small absolute value.
1524         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1525         (__ieee754_sinhf): Force underflow exception for arguments with
1526         small absolute value.
1527         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1528         (__ieee754_sinhl): Force underflow exception for arguments with
1529         small absolute value.
1530         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1531         (__ieee754_sinhl): Force underflow exception for arguments with
1532         small absolute value.
1533         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1534         (__ieee754_sinhl): Force underflow exception for arguments with
1535         small absolute value.
1536         * math/auto-libm-test-in: Add more tests of sinh.
1537         * math/auto-libm-test-out: Regenerated.
1538         * sysdeps/i386/fpu/libm-test-ulps: Update.
1540 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1542         * libio/oldfileops.c: Include unistd.h.
1544 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1546         * stdlib/isomac.c: Include ctype.h.
1548 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1550         * dirent/tst-seekdir.c (main): Converted to ...
1551         (do_test): ... this.
1552         (TEST_FUNCTION): New macro.
1553         Include test-skeleton.c.
1554         * elf/tst-dlmodcount.c (main): Converted to ...
1555         (do_test): ... this.
1556         (TEST_FUNCTION): New macro.
1557         Include test-skeleton.c.
1558         * elf/tst-order-main.c (main): Converted to ...
1559         (do_test): ... this.
1560         (TEST_FUNCTION): New macro.
1561         Include test-skeleton.c.
1562         * elf/tst-pie2.c (main): Converted to ...
1563         (do_test): ... this.
1564         (TEST_FUNCTION): New macro.
1565         Include test-skeleton.c.
1566         * inet/tst-ether_aton.c (main): Converted to ...
1567         (do_test): ... this.
1568         (TEST_FUNCTION): New macro.
1569         Include test-skeleton.c.
1570         * misc/tst-mntent.c (main): Converted to ...
1571         (do_test): ... this.
1572         (TEST_FUNCTION): New macro.
1573         Include test-skeleton.c.
1574         * misc/tst-tsearch.c (main): Converted to ...
1575         (do_test): ... this.
1576         (TEST_FUNCTION): New macro.
1577         Include test-skeleton.c.
1578         * posix/tst-regexloc.c (main): Converted to ...
1579         (do_test): ... this.
1580         (TEST_FUNCTION): New macro.
1581         Include test-skeleton.c.
1582         * resolv/tst-aton.c (main): Converted to ...
1583         (do_test): ... this.
1584         (TEST_FUNCTION): New macro.
1585         Include test-skeleton.c.
1586         * stdio-common/test-fwrite.c (main): Converted to ...
1587         (do_test): ... this.
1588         (TEST_FUNCTION): New macro.
1589         Include test-skeleton.c.
1590         * stdio-common/tst-ferror.c (main): Converted to ...
1591         (do_test): ... this.
1592         (TEST_FUNCTION): New macro.
1593         Include test-skeleton.c.
1594         * stdio-common/tst-printf.c (main): Converted to ...
1595         (do_test): ... this.
1596         (TEST_FUNCTION): New macro.
1597         Include test-skeleton.c.
1598         * stdio-common/tst-printfsz.c (main): Converted to ...
1599         (do_test): ... this.
1600         (TEST_FUNCTION): New macro.
1601         Include test-skeleton.c.
1602         * stdlib/tst-strtod.c (main): Converted to ...
1603         (do_test): ... this.
1604         (TEST_FUNCTION): New macro.
1605         Include test-skeleton.c.
1606         * string/tst-strlen.c (main): Converted to ...
1607         (do_test): ... this.
1608         (TEST_FUNCTION): New macro.
1609         Include test-skeleton.c.
1610         * string/tst-svc.c (main): Converted to ...
1611         (do_test): ... this.
1612         (TEST_FUNCTION): New macro.
1613         Include test-skeleton.c.
1614         * time/tst-strptime.c (main): Converted to ...
1615         (do_test): ... this.
1616         (TEST_FUNCTION): New macro.
1617         Include test-skeleton.c.
1618         * timezone/tst-timezone.c (main): Converted to ...
1619         (do_test): ... this.
1620         (TEST_FUNCTION): New macro.
1621         Include test-skeleton.c.
1623 2015-08-05  Zack Weinberg  <zackw@panix.com>
1625         * misc/regexp.h: Update comments.
1627 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1629         [BZ #18635]
1630         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1631         before return label.
1633 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1635         [BZ #18661]
1636         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1637         when calling __errno_location.
1638         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1639         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1641 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1643         [BZ #18661]
1644         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1645         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1646         __gettimeofday.
1648 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1650         [BZ #18661]
1651         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1652         (__start_context): Don't use pop to restore %rdi so that stack
1653         is aligned to 16 bytes when calling __setcontext.
1655 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1657         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1658         only for libc.
1659         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1661 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1663         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1664         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1665         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1667 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1669         * string/memccpy.c (memccpy):
1670         Improve performance by using memchr/memcpy/__mempcpy.
1672 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1674         * string/strncpy.c (strncpy):
1675         Improve performance by using __strnlen/memcpy.
1677 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1679         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1680         Optimize to avoid an unnecessary FPCR read.
1682 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1684         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1685         Optimize to reduce FPCR/FPSR accesses.
1687 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1689         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1690         dead->data[category] != NULL.
1692 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1694         [BZ #18647]
1695         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1696         and |x| close to 1, use absolute value of x when computing log.
1697         * math/auto-libm-test-in: Add more tests of pow.
1698         * math/auto-libm-test-out: Regenerated.
1700 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1702         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1703         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1704         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1706 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1708         [BZ #18525]
1709         * locales/km_KH: Remove timezone definition.
1710         * locales/lo_LA: Likewise.
1711         * locales/my_MM: Likewise.
1712         * locales/nan_TW@latin: Likewise.
1713         * locales/th_TH: Likewise.
1714         * locales/uk_UA: Likewise.
1716 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1718         [BZ #18265]
1719         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1720         (wcsncat): Likewise.
1721         (wcscmp): Likewise.
1722         (wcsncmp): Likewise.
1724 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1726         * test-skeleton.c (usage): New function.
1727         (main): Call usage when opt is '?'.
1729 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1731         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1732         before first use.
1734 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1736         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1737         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1738         in there too.
1740 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1742         * version.h (RELEASE): Set to "development".
1743         (VERSION): Set to "2.22.90"
1745         * version.h (RELEASE): Set to "stable".
1746         (VERSION): Set to "2.22"
1747         * include/features.h (__GLIBC_MINOR__): Set to 22.
1749 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1751         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1752         Restructure macro to avoid "value computed is not used" warning.
1753         (atomic_compare_and_exchange_val_acq): Likewise.
1755 2015-08-04  Andreas Schwab  <schwab@suse.de>
1757         [BZ #18635]
1758         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1759         ret.
1760         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1762 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1764         * po/pl.po: Updated translation.
1765         * po/uk.po: Likewise.
1766         * po/fi.po: Likewise.
1767         * po/ko.po: Likewise.
1768         * po/ru.po: Likewise.
1769         * po/vi.po: Likewise.
1771 2015-07-31  Zack Weinberg  <zackw@panix.com>
1773         [BZ #18681]
1774         * regexp.h: Add unconditional #warning stating that this header
1775         will be removed soon.  Revise banner comment to match.
1776         (compile): Consistently use ERROR instead of RETURN to report
1777         errors (partial fix for bz#18681).
1778         * regexp.c: Don't include regexp.h. Remove some unnecessary
1779         declarations.
1781 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1783         * po/libc.pot: Regenerated.
1785 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1787         [BZ #18740]
1788         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1789         float-vlen4-arch-ext-cflags): Removed.
1790         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1791         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1793 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1795         [BZ #14113]
1796         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1797         aligned to __aligned__.
1798         (pthread_cond_t, pthread_rwlock_t): Likewise.
1800 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1802         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1804 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1806         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1807         (struct sigaction): Change sa_flags from a long to an int, and add
1808         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1810 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1812         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1813         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1814         sysdeps/generic/sysdep.h include.
1815         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1816         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1817         sysdeps/hppa/sysdep.h.
1818         (ENTRY, PSEUDO): Undefine before defining.
1820 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1822         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1823         from scratch to use INTERNAL_SYSCALL.
1825 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1827         [BZ #18078]
1828         * scripts/check-localplt.awk: Support alternate relocations.
1829         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1830         sections.
1831         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1832         malloc entries with + REL R_386_GLOB_DAT.
1833         * sysdeps/x86_64/localplt.data: New file.
1835 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1837         [BZ #18731]
1838         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1839         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1840         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1842 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1844         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1846 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1848         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1849         directly in terms of __sync_fetch_and_add and delete (int) cast.
1851 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1853         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1854         the -D_ASM_IA64_CURRENT_H flag.
1856 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1858         [BZ #18641]
1859         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1861 2015-07-27  Andreas Schwab  <schwab@suse.de>
1863         * conform/conformtest.pl (checknamespace): Filter out string
1864         literals while tokenizing.
1866 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1868         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1869         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1870         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1872 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1874         * nptl/tst-join7mod.c: Add #include <string.h>.
1876 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1878         * sysdeps/nios2/libm-test-ulps: Update.
1880 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1882         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1883         Fix order of arguments to the rt_sigprocmask syscall.
1884         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1885         Likewise.
1887 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1889         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1891 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1893         [BZ #18457]
1894         * nptl/Makefile (tests): New test case tst-join7.
1895         (modules-names): New test case module tst-join7mod.
1896         * nptl/tst-join7.c: New file.
1897         * nptl/tst-join7mod.c: New file.
1898         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1899         all translation units in libc.so, libpthread.so and rtld.
1901 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1905 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1907         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1909         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1910         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1912         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1914         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1915         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1916         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1918         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1919         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1920         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1922         implementation.
1924 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1926         [BZ #17711]
1927         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1928         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1929         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1930         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1931         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1932         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1934 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1936         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1937         instead of just saying load lock in the comments.
1939 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1941         * sysdeps/unix/Subdirs: Moved ...
1942         * sysdeps/posix/Subdirs: ... here.
1943         * login/pty.h (struct termios, struct winsize): Add forward decls.
1944         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1945         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1946         * sysdeps/arm/nacl/libc.abilist: Updated.
1947         * sysdeps/nacl/libutil.abilist: New file.
1949         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1950         (SIGWINCH): New macro.
1952         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1953         * sysdeps/arm/nacl/libc.abilist: Add it.
1955 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1957         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1959 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1961         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1962         Swap __glibc_reserved0 and sa_flags order.
1964 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1966         [BZ #18657]
1967         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1968         are pending TLS destructor calls.
1969         * include/link.h (struct link_map): Add concurrency note for
1970         L_TLS_DTOR_COUNT.
1971         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1972         Don't touch the link map flag.  Atomically increment
1973         l_tls_dtor_count.
1974         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1975         Avoid taking the load lock and don't touch the link map flag.
1976         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1977         * stdlib/Makefile (tests): Use it.
1978         * stdlib/tst-tls-atexit.c (do_test): dlopen
1979         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1980         to allow tst-tls-atexit-nodelete test case to use it.
1982 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1984         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1985         to bits/types.h.
1986         (msgqnum_t): New typedef.
1987         (msglen_t): Likewise.
1988         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1989         and msg_qbytes type to msglen_t.
1991 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1993         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1994         pad0 to __glibc_reserved0.
1995         (struct stat64): Likewise.
1997 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1999         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2000         Change sa_flags from a long to an int and add __glibc_reserved0 before
2001         it for padding.
2003 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2005         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2006         anonymous by deleting "siginfo" name.
2008 2015-07-21  Roland McGrath  <roland@hack.frob.com>
2010         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2011         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2012         rather than __nacl_irt_filename.
2013         * sysdeps/nacl/xstat.c (__xstat): Likewise.
2015         * NEWS: New item for arm-nacl port.
2016         * sysdeps/arm/nacl/libc.abilist: New file.
2017         * sysdeps/nacl/ld.abilist: New file.
2018         * sysdeps/nacl/libBrokenLocale.abilist: New file.
2019         * sysdeps/nacl/libanl.abilist: New file.
2020         * sysdeps/nacl/libcrypt.abilist: New file.
2021         * sysdeps/nacl/libdl.abilist: New file.
2022         * sysdeps/nacl/libm.abilist: New file.
2023         * sysdeps/nacl/libpthread.abilist: New file.
2024         * sysdeps/nacl/libresolv.abilist: New file.
2025         * sysdeps/nacl/librt.abilist: New file.
2027 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
2029         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2030         __startcontext to initialize the new context.
2031         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2032         up CFI directive to forbid further backtracing.
2034 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
2036         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2037         reference.
2038         * charmaps/ANSI_X3.4-1968: Likewise.
2039         * charmaps/BS_4730: Likewise.
2040         * charmaps/BS_VIEWDATA: Likewise.
2041         * charmaps/CP1250: Likewise.
2042         * charmaps/CP1251: Likewise.
2043         * charmaps/CP1252: Likewise.
2044         * charmaps/CP1253: Likewise.
2045         * charmaps/CP1254: Likewise.
2046         * charmaps/CP1255: Likewise.
2047         * charmaps/CP1256: Likewise.
2048         * charmaps/CSN_369103: Likewise.
2049         * charmaps/EBCDIC-DK-NO: Likewise.
2050         * charmaps/GB_1988-80: Likewise.
2051         * charmaps/GREEK-CCITT: Likewise.
2052         * charmaps/GREEK7: Likewise.
2053         * charmaps/INIS-8: Likewise.
2054         * charmaps/ISIRI-3342: Likewise.
2055         * charmaps/ISO_2033-1983: Likewise.
2056         * charmaps/ISO_5427-EXT: Likewise.
2057         * locales/POSIX: Likewise.
2058         * locales/ar_SA: Likewise.
2059         * locales/be_BY: Likewise.
2060         * locales/be_BY@latin: Likewise.
2061         * locales/ca_ES: Likewise.
2062         * locales/cs_CZ: Likewise.
2063         * locales/da_DK: Likewise.
2064         * locales/de_BE: Likewise.
2065         * locales/de_CH: Likewise.
2066         * locales/de_LU: Likewise.
2067         * locales/en_AU: Likewise.
2068         * locales/en_BW: Likewise.
2069         * locales/en_CA: Likewise.
2070         * locales/en_DK: Likewise.
2071         * locales/en_GB: Likewise.
2072         * locales/en_IE: Likewise.
2073         * locales/en_NZ: Likewise.
2074         * locales/en_ZA: Likewise.
2075         * locales/en_ZW: Likewise.
2076         * locales/es_AR: Likewise.
2077         * locales/es_BO: Likewise.
2078         * locales/es_CL: Likewise.
2079         * locales/es_CO: Likewise.
2080         * locales/es_DO: Likewise.
2081         * locales/es_EC: Likewise.
2082         * locales/es_ES: Likewise.
2083         * locales/es_HN: Likewise.
2084         * locales/es_MX: Likewise.
2085         * locales/es_PA: Likewise.
2086         * locales/es_PE: Likewise.
2087         * locales/es_PY: Likewise.
2088         * locales/es_SV: Likewise.
2089         * locales/es_US: Likewise.
2090         * locales/es_UY: Likewise.
2091         * locales/es_VE: Likewise.
2092         * locales/et_EE: Likewise.
2093         * locales/fa_IR: Likewise.
2094         * locales/fo_FO: Likewise.
2095         * locales/fr_CA: Likewise.
2096         * locales/fr_CH: Likewise.
2097         * locales/gv_GB: Likewise.
2098         * locales/he_IL: Likewise.
2099         * locales/hr_HR: Likewise.
2100         * locales/id_ID: Likewise.
2101         * locales/is_IS: Likewise.
2102         * locales/it_CH: Likewise.
2103         * locales/iw_IL: Likewise.
2104         * locales/kl_GL: Likewise.
2105         * locales/ko_KR: Likewise.
2106         * locales/kw_GB: Likewise.
2107         * locales/lg_UG: Likewise.
2108         * locales/lt_LT: Likewise.
2109         * locales/lv_LV: Likewise.
2110         * locales/mi_NZ: Likewise.
2111         * locales/nhn_MX: Likewise.
2112         * locales/nl_BE: Likewise.
2113         * locales/pl_PL: Likewise.
2114         * locales/sk_SK: Likewise.
2115         * locales/sl_SI: Likewise.
2116         * locales/sv_FI: Likewise.
2117         * locales/tl_PH: Likewise.
2118         * locales/tr_TR: Likewise.
2119         * locales/vi_VN: Likewise.
2121 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2123         [BZ #17475]
2124         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2125         of tu_IN and bh_IN.
2127 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2129         [BZ #18694]
2130         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2131         bits/wordsize.h.
2132         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2134 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2136         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2137         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2138         (spawn_thread): New function.
2139         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2140         (do_test): ... here.  Use IS_LOADED to test for its
2141         availability.
2143 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2145         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2147 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2149         [BZ #18696]
2150         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2151         si_addr_bnd.
2152         (si_lower): New.
2153         (si_upper): Likewise.
2155 2015-07-16  David S. Miller  <davem@davemloft.net>
2157         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2159 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2161         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2162         buffer.
2163         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2164         fail output information.
2166 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2169         and strstr-ppc64..
2170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2171         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2172         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2173         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2174         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2176 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2178         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2179         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2180         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2181         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2183 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2185         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2186         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2187         rtld_hidden_proto.
2188         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2190 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2192         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2193         the test can fail.
2195         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2197         [BZ #18676]
2198         * elf/tst-nodelete-opened.c: New test case.
2199         * elf/tst-nodelete-opened-lib.c: New test case module.
2200         * elf/Makefile (tests, modules-names): Use them.
2201         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2202         early.
2204 2015-07-15  David S. Miller  <davem@davemloft.net>
2206         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2207         futex-intenal.h
2208         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2209         * sysdeps/sparc/sparc64/Makefile: Likewise.
2210         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2211         Remove space from macro define.
2212         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2214 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2216         [BZ #17475]
2217         * locale/iso-639.def: Update Bhili and Tulu language codes as
2218         per iso639-3.
2220 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2222         * elf/tst-leaks1.c (main): Converted to ...
2223         (do_test): ... this.
2224         (TEST_FUNCTION): New macro.
2225         Include test-skeleton.c.
2226         * localedata/tst-langinfo.c (main): Converted to ...
2227         (do_test): ... this.
2228         (TEST_FUNCTION): New macro.
2229         Include test-skeleton.c.
2230         * math/test-fpucw.c (main): Converted to ...
2231         (do_test): ... this.
2232         (TEST_FUNCTION): New macro.
2233         Include test-skeleton.c.
2234         * math/test-tgmath.c (main): Converted to ...
2235         (do_test): ... this.
2236         (TEST_FUNCTION): New macro.
2237         Include test-skeleton.c.
2238         * math/test-tgmath2.c (main): Converted to ...
2239         (do_test): ... this.
2240         (TEST_FUNCTION): New macro.
2241         Include test-skeleton.c.
2242         * setjmp/tst-setjmp.c (main): Converted to ...
2243         (do_test): ... this.
2244         (TEST_FUNCTION): New macro.
2245         Include test-skeleton.c.
2246         * stdio-common/tst-sscanf.c (main): Converted to ...
2247         (do_test): ... this.
2248         (TEST_FUNCTION): New macro.
2249         Include test-skeleton.c.
2250         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2251         (do_test): ... this.
2252         (TEST_FUNCTION): New macro.
2253         Include test-skeleton.c.
2255         * elf/tst-audit9.c (main): Converted to ...
2256         (do_test): ... this.
2257         (TEST_FUNCTION): New macro.
2258         Include test-skeleton.c.
2260 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2262         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2264 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2266         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2267         New variable.
2269 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2271         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2273 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2275         * sysdeps/generic/dl-fileid.h: New file.
2276         * sysdeps/posix/dl-fileid.h: New file.
2277         * sysdeps/nacl/dl-fileid.h: New file.
2278         * include/link.h: Include <dl-fileid.h>.
2279         (struct link_map): Replace l_dev and l_ino with l_file_id.
2280         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2281         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2282         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2284 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2286         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2288 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2290         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2291         Add iff $CXX is set.
2292         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2293         Likewise.
2294         (tst-nodelete-zmodiff): Likewise.
2295         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2297 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2299         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2301 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2303         * sysdeps/aarch64/fpu/math_private.h
2304         (define math_opt_barrier): Add AArch64 version.
2305         (math_force_eval): Likewise.
2307 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2309         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2311 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2313         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2314         %ld with %jd and cast to intmax_t.
2315         (do_test_length_zero): Likewise.
2317 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2319         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2321 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2323         * sysdeps/tile/libm-test-ulps: Regenerated.
2325         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2326         Comment out the whole function, not just its body.
2328 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2330         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2331         locks.
2333         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2335 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2337         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2338         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2340 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2342         * sysdeps/nptl/futex-internal.h: New file.
2343         * sysdeps/nacl/futex-internal.h: New file.
2344         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2345         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2346         error checking.
2347         (setxid_unmark_thread): Likewise.
2348         (__nptl_setxid): Likewise.
2349         (__wait_lookup_done): Likewise.
2350         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2351         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2352         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2353         * nptl/pthread_once.c (clear_once_control): Likewise.
2354         (__pthread_once_slow): Likewise.
2355         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2356         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2357         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2358         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2359         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2360         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2361         Likewise.
2362         (__pthread_rwlock_rdlock): Likewise.
2363         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2364         Likewise.
2365         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2366         Likewise.
2367         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2368         Likewise.
2369         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2370         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2371         Likewise.
2372         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2373         __ASSUME_PRIVATE_FUTEX check.
2374         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2375         Check that shared futexes are supported.
2376         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2377         wrappers with error checking.
2378         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2379         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2380         * nptl/pthread_barrierattr_setpshared.c
2381         (pthread_barrierattr_setpshared): Check that shared futexes are
2382         supported.
2383         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2384         Likewise.
2385         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2386         Likewise.
2387         * nptl/sem_init.c (futex_private_if_supported): Remove.
2388         (__new_sem_init): Adapt and check that shared futexes are supported.
2389         * nptl/sem_open.c (sem_open): Likewise.
2390         * nptl/sem_post.c (futex_wake): Remove.
2391         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2392         (do_futex_wait): Use futex wrappers with error checking.
2393         * nptl/sem_wait.c: Include lowlevellock.h.
2394         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2395         Use futex_supports_pshared.
2396         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2397         Use futex wrappers with error checking.
2398         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2399         Likewise.
2400         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2401         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2402         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2403         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2404         (futex_wake): Likewise.
2405         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2406         (do_futex_wait): Use futex wrappers with error checking.
2407         (__new_sem_wait_slow): Update EINTR handling.
2408         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2410 2015-07-09  Martin Sebor  <msebor@redhat.com>
2412         [BZ #18435]
2413         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2414         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2415         * nptl/Makefile (test-xfail-tst-once5): Define.
2417 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2419         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2420         * elf/dl-minimal.c: For readability, reorder some definitions and
2421         introduce more page breaks.  Include <stdio.h>.
2422         (__libc_fatal): New function.
2424         * include/unistd.h: Add rtld_hidden_proto for _exit.
2425         * posix/_exit.c: Add rtld_hidden_def.
2426         * sysdeps/mach/hurd/_exit.c: Likewise.
2427         * sysdeps/nacl/_exit.c: Likewise.
2428         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2429         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2431 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2434         bndmov encoding with zero displacement.
2436 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2437             H.J. Lu  <hongjiu.lu@intel.com>
2439         [BZ #18134]
2440         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2441         * sysdeps/i386/configure: Regenerated.
2442         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2443         (_dl_runtime_profile): Save and restore Intel MPX return bound
2444         registers when calling _dl_call_pltexit.  Add
2445         PRESERVE_BND_REGS_PREFIX before return.
2446         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2447         (LRV_BND1_OFFSET): Likewise.
2448         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2449         lrv_bnd1.
2450         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2451         typo in bndmov encoding.
2452         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2453         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2454         branch instructions to preserve bounds.
2456 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2459         [GLIBC_2.22]: Add fmemopen.
2461 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2463         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2464         returns an error, also try to use host port from __mach_host_self for
2465         the __vm_wire call.
2466         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2468 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2470         [BZ #18400]
2471         [BZ #18648]
2472         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2473         Fix pr_uid and pr_gid members.
2474         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2475         definition to elf_greg_t.
2477 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2479         [BZ #18383]
2480         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2481         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2482         * sysdeps/arm/configure: Regenerated.
2483         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2484         (test-xfail-tst-tlsalign-static): Variable removed.
2486         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2487         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2488         rather than explicit 'ln -s'.
2490         * resolv/rpc/netdb.h: New file.
2491         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2493 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2495         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2496         length buffers.
2497         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2498         test-skeleton.c.
2500         [BZ #6544]
2501         [BZ #11216]
2502         [BZ #12836]
2503         [BZ #13151]
2504         [BZ #13152]
2505         [BZ #14292]
2506         * include/stdio.h (fmemopen): Remove hidden prototype.
2507         (__fmemopen): Add new hidden prototype.
2508         * libio/Makefile: Add oldfmemopen object.
2509         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2510         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2511         compliance.
2512         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2513         symbol compatibility.
2514         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2515         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2516         fmemopen.
2517         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2518         on append and read mode.
2519         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2520         fmemopen.
2521         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2522         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2523         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2524         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2525         Likewise.
2526         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2527         [GLIBC_2.22]: Likewise.
2528         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2529         Likewise.
2530         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2531         Likewise.
2532         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2533         [GLIBC_2.22]: Likewise.
2534         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2535         [GLIBC_2.22]: Likewise.
2536         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2537         [GLIBC_2.22]: Likewise.
2538         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2539         [GLIBC_2.22]: Likewise.
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2541         [GLIBC_2.22]: Likewise.
2542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2543         [GLIBC_2.22]: Likewise.
2544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2545         [GLIBC_2.22]: Likewise.
2546         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2547         Likewise.
2548         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2549         Likewise.
2550         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2551         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2552         [GLIBC_2.22]: Likewise.
2553         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2554         [GLIBC_2.22]: Likewise.
2555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2556         [GLIBC_2.22]: Likewise.
2557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2558         [GLIBC_2.22]: Likewise.
2559         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2560         Likewise.
2561         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2562         Likewise.
2563         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2564         Likewise.
2565         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2566         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2568 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2570         [BZ #18643]
2571         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2572         IPV6_PATHMTU, and IPV6_DONTFRAG.
2574 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2576         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2577         and _IO_UNBUFFERED.
2578         * libio/oldfileops.c: Likewise.
2579         * libio/wfileops.c: Likewise.
2581 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2583         * nscd/selinux.c: Delete selinux/flask.h include.
2585 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2587         [BZ #18641]
2588         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2589         (putpwent): Likewise.
2590         (getpwnam): Likewise.
2591         (getpwent_r): Likewise.
2592         (getpwuid_r): Likewise.
2593         (getpwnam_r): Likewise.
2594         (fgetpwent_r): Likewise.
2596 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2598         [BZ #18557]
2599         * inet/rcmd.c (__validuser2_sa): Check user first to
2600         short-circuit host check.
2602 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2603             Mikhail Ilin  <m.ilin@samsung.com>
2605         [BZ #17833]
2606         * elf/Makefile (tests): Add tst-nodelete.
2607         (modules-names): Add tst-nodelete-uniquemod.
2608         (tst-nodelete-uniquemod.so-no-z-defs): New.
2609         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2610         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2611         ($(objpfx)tst-nodelete): Likewise.
2612         ($(objpfx)tst-nodelete.out): Likewise.
2613         (LDFLAGS-tst-nodelete): Likewise.
2614         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2615         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2616         implement forced object deletion.
2617         (_dl_close): Pass false to _dl_close_worker.
2618         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2619         * elf/tst-nodelete.cc: New file.
2620         * elf/tst-nodeletelib.cc: Likewise.
2621         * elf/tst-znodeletelib.cc: Likewise.
2622         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2624 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2626         [BZ #18508]
2627         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2628         Depend on $(libdl).
2629         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2630         is not called infinitely times.
2631         (backtrace_helper): New function.
2632         (trace_arg): New struct.
2633         (st1): Enlarge stack size.
2634         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2635         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2636         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2637         Likewise.
2639 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2641         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2643 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2645         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2646         Include sys/types.h instead of bits/types.h.
2647         Remove inclusion of bits/wordsize.h.
2649 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2651         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2652         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2653         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2654         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2655         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2656         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2658 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2660         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2661         link-defines.sym.
2662         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2663         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2664         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2665         and LR_SIZE.
2666         * sysdeps/i386/link-defines.sym: New file.
2668 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2670         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2671         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2672         ($(objpfx)tst-audit3): New rule.
2673         ($(objpfx)tst-audit3.out): Likewise.
2674         * sysdeps/i386/tst-audit3.c: New file.
2675         * sysdeps/i386/tst-audit3.h: Likewise.
2676         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2677         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2679 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2681         [BZ #18633]
2682         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2683         pointer in C code.
2684         (__strcat_c): Likewise.
2685         (__strcat_g): Likewise.
2687 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2689         [BZ #18592]
2690         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2692 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2694         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2695         New function.  (__ieee754_sqrtf): New function.
2696         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2697         New function.
2698         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2699         New function.
2701 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2703         * sysdeps/ieee754/support.c: Remove unused file.
2705 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2707         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2708         registers instead of d ones so the layout is kernel abi compatible.
2709         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2710         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2711         Likewise.
2713 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2715         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2717 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2719         [BZ #18619]
2720         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2721         and return argument in case of subnormal argument.
2723 2015-07-01  Martin Sebor  <msebor@redhat.com>
2725         [BZ #18435]
2726         * nptl/Makefile: Add tst-once5.cc.
2727         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2728         Remove macro redefinitions.
2729         * nptl/tst-once5.cc: New test.
2731 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2733         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2735         * sysdeps/arm/libm-test-ulps: Regenerated.
2737         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2738         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2740 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2742         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2743         lll_lock_wait_private and lll_futex_wake probes.
2745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2746         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2747         Likewise.
2748         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2749         atomic_spin_nop.
2750         * sysdeps/x86_64/bits/atomic.h: Likewise.
2751         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2752         to atomic_spin_nop and move ...
2753         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2754         ... here and ...
2755         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2756         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2757         atomic_spin_nop instead of BUSY_WAIT_NOP.
2758         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2759         Likewise.
2760         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2761         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2762         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2763         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2764         instead of atomic_delay.
2766 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2768         [BZ #18613]
2769         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2770         X_ADJ not X when adjusting exponent.
2771         (__ieee754_gamma_r): Do intermediate computations in
2772         round-to-nearest then adjust overflowing and underflowing results
2773         as needed.
2774         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2775         of X_ADJ not X when adjusting exponent.
2776         (__ieee754_gammaf_r): Do intermediate computations in
2777         round-to-nearest then adjust overflowing and underflowing results
2778         as needed.
2779         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2780         log of X_ADJ not X when adjusting exponent.
2781         (__ieee754_gammal_r): Do intermediate computations in
2782         round-to-nearest then adjust overflowing and underflowing results
2783         as needed.  Use 1.0L not 1.0f as numerator of division.
2784         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2785         log of X_ADJ not X when adjusting exponent.
2786         (__ieee754_gammal_r): Do intermediate computations in
2787         round-to-nearest then adjust overflowing and underflowing results
2788         as needed.  Use 1.0L not 1.0f as numerator of division.
2789         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2790         of X_ADJ not X when adjusting exponent.
2791         (__ieee754_gammal_r): Do intermediate computations in
2792         round-to-nearest then adjust overflowing and underflowing results
2793         as needed.  Use 1.0L not 1.0f as numerator of division.
2794         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2795         to auto-libm-test-in.
2796         (tgamma_test): Use ALL_RM_TEST.
2797         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2798         tests of tgamma with spurious-overflow.
2799         * math/auto-libm-test-out: Regenerated.
2800         * math/gen-libm-have-vector-test.sh: Do not check for START.
2801         * sysdeps/i386/fpu/libm-test-ulps: Update.
2802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804         [BZ #18612]
2805         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2806         arguments, just return 0.5 times the argument, with underflow
2807         forced as needed.
2808         * math/auto-libm-test-in: Add more tests of j1.
2809         * math/auto-libm-test-out: Regenerated.
2811         [BZ #16559]
2812         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2813         (__ieee754_j1): Force underflow exception for small results.
2814         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2815         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2816         (__ieee754_j1f): Force underflow exception for small results.
2817         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2818         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2819         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2820         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2821         (__ieee754_j1l): Force underflow exception for small results.
2822         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2823         * math/auto-libm-test-in: Add more tests of j1 and jn.
2824         * math/auto-libm-test-out: Regenerated.
2826         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2827         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2828         (PF_MPLS): Likewise.
2829         (AF_IB): Likewise.
2830         (AF_MPLS): Likewise.
2831         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2832         value and macro.
2833         (MS_RMT_MASK): Include MS_LAZYTIME.
2835 2015-06-26  Mel Gorman  <mgorman@suse.de>
2837         [BZ #18502]
2838         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2839         already minimal.
2841 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2843         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2844         (DT_MIPS_NUM): Update.
2845         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2846         DT_MIPS_RLD_MAP_REL.
2848 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2850         [BZ #16559]
2851         [BZ #18602]
2852         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2853         round-to-nearest internally then recompute results that
2854         underflowed to zero in the original rounding mode.
2855         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2856         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2859         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2860         * sysdeps/i386/fpu/libm-test-ulps: Update.
2861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2863 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2865         * NEWS: Fixed description of link with vector math library.
2867 2015-06-25  Andreas Schwab  <schwab@suse.de>
2869         [BZ #18549]
2870         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2871         * libio/test-fmemopen.c (do_test): Add test for it.
2873 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2875         [BZ #17841]
2876         * Makeconfig (no-pie-ldflag): New.
2877         (+link): Set to $(+link-pie) if default to PIE.
2878         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2879         * config.make.in (build-pie-default): New.
2880         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2881         is default.  AC_SUBST.
2882         * configure: Regenerated.
2883         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2885 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2887         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2888         to 'unsigned int'.
2890         * resolv/gai_misc.h (struct waitlist): Change type of field
2891         counterp to 'volatile unsigned int *'.
2892         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2893         FUTEXADDR and OLDVAL.
2894         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2895         Give local variable TOTAL type 'volatile unsigned int'.
2896         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2897         * resolv/gai_suspend.c (gai_suspend):
2898         Give local variable CNTR type 'unsigned int'.
2900         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2901         counterp to 'volatile unsigned int *'.
2902         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2903         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2904         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2905         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2906         Give local variable TOTAL type 'volatile unsigned int'.
2907         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2909 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2911         [BZ #18383]
2912         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2913         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2914         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2915         comment for i386/x86-64.
2916         (test-xfail-tst-tlsalign-extern-static): Removed.
2918 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2920         * math/test-double.h: New file.
2921         * math/test-float.h: Likewise.
2922         * math/test-ldouble.h: Likewise.
2923         * math/test-math-inline.h: Likewise.
2924         * math/test-math-no-inline.h: Likewise.
2925         * math/test-math-scalar.h: Likewise.
2926         * math/test-math-vector.h: Likewise.
2927         * math/test-vec-loop.h: Remove file.  Contents moved into
2928         test-math-vector.h.
2929         * math/libm-test.inc (MATHCONST): Do not document macro.
2930         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2931         and test-math-scalar.h.
2932         (FUNC): Remove macro.
2933         (FUNC_TEST): Likewise.
2934         (FLOAT): Likewise.
2935         (MATHCONST): Likewise.
2936         (PRINTF_EXPR): Likewise.
2937         (PRINTF_XEXPR): Likewise.
2938         (PRINTF_NEXPR): Likewise.
2939         (TEST_DOUBLE): Likewise.
2940         (TEST_MATHVEC): Likewise.
2941         (__NO_MATH_INLINES): Likewise.
2942         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2943         and test-math-scalar.h.
2944         (FUNC): Remove macro.
2945         (FUNC_TEST): Likewise.
2946         (FLOAT): Likewise.
2947         (MATHCONST): Likewise.
2948         (PRINTF_EXPR): Likewise.
2949         (PRINTF_XEXPR): Likewise.
2950         (PRINTF_NEXPR): Likewise.
2951         (TEST_FLOAT): Likewise.
2952         (TEST_MATHVEC): Likewise.
2953         (__NO_MATH_INLINES): Likewise.
2954         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2955         and test-math-scalar.h.
2956         (FUNC): Remove macro.
2957         (FUNC_TEST): Likewise.
2958         (FLOAT): Likewise.
2959         (MATHCONST): Likewise.
2960         (PRINTF_EXPR): Likewise.
2961         (PRINTF_XEXPR): Likewise.
2962         (PRINTF_NEXPR): Likewise.
2963         (TEST_DOUBLE): Likewise.
2964         (TEST_MATHVEC): Likewise.
2965         (TEST_INLINE): Likewise.
2966         (__NO_MATH_INLINES): Likewise.
2967         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2968         test-math-scalar.h.
2969         (FUNC): Remove macro.
2970         (FUNC_TEST): Likewise.
2971         (FLOAT): Likewise.
2972         (MATHCONST): Likewise.
2973         (PRINTF_EXPR): Likewise.
2974         (PRINTF_XEXPR): Likewise.
2975         (PRINTF_NEXPR): Likewise.
2976         (TEST_FLOAT): Likewise.
2977         (TEST_MATHVEC): Likewise.
2978         (TEST_INLINE): Likewise.
2979         (__NO_MATH_INLINES): Likewise.
2980         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2981         and test-math-scalar.h.
2982         (FUNC): Remove macro.
2983         (FUNC_TEST): Likewise.
2984         (FLOAT): Likewise.
2985         (MATHCONST): Likewise.
2986         (PRINTF_EXPR): Likewise.
2987         (PRINTF_XEXPR): Likewise.
2988         (PRINTF_NEXPR): Likewise.
2989         (TEST_LDOUBLE): Likewise.
2990         (TEST_MATHVEC): Likewise.
2991         (TEST_INLINE): Likewise.
2992         (__NO_MATH_INLINES): Likewise.
2993         * math/test-ldouble.c: Include test-ldouble.h,
2994         test-math-no-inline.h and test-math-scalar.h.
2995         (FUNC): Remove macro.
2996         (FUNC_TEST): Likewise.
2997         (FLOAT): Likewise.
2998         (MATHCONST): Likewise.
2999         (PRINTF_EXPR): Likewise.
3000         (PRINTF_XEXPR): Likewise.
3001         (PRINTF_NEXPR): Likewise.
3002         (TEST_LDOUBLE): Likewise.
3003         (TEST_MATHVEC): Likewise.
3004         (__NO_MATH_INLINES): Likewise.
3005         * math/test-double-vlen2.h: Include test-double.h,
3006         test-math-no-inline.h and test-math-vector.h.
3007         (FLOAT): Remove macro.
3008         (FUNC): Likewise.
3009         (MATHCONST): Likewise.
3010         (PRINTF_EXPR): Likewise.
3011         (PRINTF_XEXPR): Likewise.
3012         (PRINTF_NEXPR): Likewise.
3013         (TEST_DOUBLE): Likewise.
3014         (TEST_MATHVEC): Likewise.
3015         (__NO_MATH_INLINES): Likewise.
3016         (CNCT): Likewise.
3017         (CONCAT): Likewise.
3018         (WRAPPER_NAME): Likewise.
3019         (WRAPPER_DECL): Likewise.
3020         (WRAPPER_DECL_ff): Likewise.
3021         (WRAPPER_DECL_fFF): Likewise.
3022         (VECTOR_WRAPPER): Likewise.
3023         (VECTOR_WRAPPER_ff): Likewise.
3024         (VECTOR_WRAPPER_fFF): Likewise.
3025         (VEC_LEN): New macro.
3026         * math/test-double-vlen4.h: Include test-double.h,
3027         test-math-no-inline.h and test-math-vector.h.
3028         (FLOAT): Remove macro.
3029         (FUNC): Likewise.
3030         (MATHCONST): Likewise.
3031         (PRINTF_EXPR): Likewise.
3032         (PRINTF_XEXPR): Likewise.
3033         (PRINTF_NEXPR): Likewise.
3034         (TEST_DOUBLE): Likewise.
3035         (TEST_MATHVEC): Likewise.
3036         (__NO_MATH_INLINES): Likewise.
3037         (CNCT): Likewise.
3038         (CONCAT): Likewise.
3039         (WRAPPER_NAME): Likewise.
3040         (WRAPPER_DECL): Likewise.
3041         (WRAPPER_DECL_ff): Likewise.
3042         (WRAPPER_DECL_fFF): Likewise.
3043         (VECTOR_WRAPPER): Likewise.
3044         (VECTOR_WRAPPER_ff): Likewise.
3045         (VECTOR_WRAPPER_fFF): Likewise.
3046         (VEC_LEN): New macro.
3047         * math/test-double-vlen8.h: Include test-double.h,
3048         test-math-no-inline.h and test-math-vector.h.
3049         (FLOAT): Remove macro.
3050         (FUNC): Likewise.
3051         (MATHCONST): Likewise.
3052         (PRINTF_EXPR): Likewise.
3053         (PRINTF_XEXPR): Likewise.
3054         (PRINTF_NEXPR): Likewise.
3055         (TEST_DOUBLE): Likewise.
3056         (TEST_MATHVEC): Likewise.
3057         (__NO_MATH_INLINES): Likewise.
3058         (CNCT): Likewise.
3059         (CONCAT): Likewise.
3060         (WRAPPER_NAME): Likewise.
3061         (WRAPPER_DECL): Likewise.
3062         (WRAPPER_DECL_ff): Likewise.
3063         (WRAPPER_DECL_fFF): Likewise.
3064         (VECTOR_WRAPPER): Likewise.
3065         (VECTOR_WRAPPER_ff): Likewise.
3066         (VECTOR_WRAPPER_fFF): Likewise.
3067         (VEC_LEN): New macro.
3068         * math/test-float-vlen4.h: Include test-float.h,
3069         test-math-no-inline.h and test-math-vector.h.
3070         (FLOAT): Remove macro.
3071         (FUNC): Likewise.
3072         (MATHCONST): Likewise.
3073         (PRINTF_EXPR): Likewise.
3074         (PRINTF_XEXPR): Likewise.
3075         (PRINTF_NEXPR): Likewise.
3076         (TEST_FLOAT): Likewise.
3077         (TEST_MATHVEC): Likewise.
3078         (__NO_MATH_INLINES): Likewise.
3079         (CNCT): Likewise.
3080         (CONCAT): Likewise.
3081         (WRAPPER_NAME): Likewise.
3082         (WRAPPER_DECL): Likewise.
3083         (WRAPPER_DECL_ff): Likewise.
3084         (WRAPPER_DECL_fFF): Likewise.
3085         (VECTOR_WRAPPER): Likewise.
3086         (VECTOR_WRAPPER_ff): Likewise.
3087         (VECTOR_WRAPPER_fFF): Likewise.
3088         (VEC_LEN): New macro.
3089         * math/test-float-vlen8.h: Include test-float.h,
3090         test-math-no-inline.h and test-math-vector.h.
3091         (FLOAT): Remove macro.
3092         (FUNC): Likewise.
3093         (MATHCONST): Likewise.
3094         (PRINTF_EXPR): Likewise.
3095         (PRINTF_XEXPR): Likewise.
3096         (PRINTF_NEXPR): Likewise.
3097         (TEST_FLOAT): Likewise.
3098         (TEST_MATHVEC): Likewise.
3099         (__NO_MATH_INLINES): Likewise.
3100         (CNCT): Likewise.
3101         (CONCAT): Likewise.
3102         (WRAPPER_NAME): Likewise.
3103         (WRAPPER_DECL): Likewise.
3104         (WRAPPER_DECL_ff): Likewise.
3105         (WRAPPER_DECL_fFF): Likewise.
3106         (VECTOR_WRAPPER): Likewise.
3107         (VECTOR_WRAPPER_ff): Likewise.
3108         (VECTOR_WRAPPER_fFF): Likewise.
3109         (VEC_LEN): New macro.
3110         * math/test-float-vlen16.h: Include test-float.h,
3111         test-math-no-inline.h and test-math-vector.h.
3112         (FLOAT): Remove macro.
3113         (FUNC): Likewise.
3114         (MATHCONST): Likewise.
3115         (PRINTF_EXPR): Likewise.
3116         (PRINTF_XEXPR): Likewise.
3117         (PRINTF_NEXPR): Likewise.
3118         (TEST_FLOAT): Likewise.
3119         (TEST_MATHVEC): Likewise.
3120         (__NO_MATH_INLINES): Likewise.
3121         (CNCT): Likewise.
3122         (CONCAT): Likewise.
3123         (WRAPPER_NAME): Likewise.
3124         (WRAPPER_DECL): Likewise.
3125         (WRAPPER_DECL_ff): Likewise.
3126         (WRAPPER_DECL_fFF): Likewise.
3127         (VECTOR_WRAPPER): Likewise.
3128         (VECTOR_WRAPPER_ff): Likewise.
3129         (VECTOR_WRAPPER_fFF): Likewise.
3130         (VEC_LEN): New macro.
3131         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3132         test-vec-loop.h.
3133         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3134         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3135         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3136         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3137         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3138         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3139         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3141 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3143         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3144         (__getlogin_r): ... this.
3146 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3148         [BZ #18594]
3149         * math/s_ccosh.c (__ccosh): Compare with least normal value
3150         instead of comparing class with FP_SUBNORMAL.
3151         * math/s_ccoshf.c (__ccoshf): Likewise.
3152         * math/s_ccoshl.c (__ccoshl): Likewise.
3153         * math/s_cexp.c (__cexp): Likewise.
3154         * math/s_cexpf.c (__cexpf): Likewise.
3155         * math/s_cexpl.c (__cexpl): Likewise.
3156         * math/s_csin.c (__csin): Likewise.
3157         * math/s_csinf.c (__csinf): Likewise.
3158         * math/s_csinh.c (__csinh): Likewise.
3159         * math/s_csinhf.c (__csinhf): Likewise.
3160         * math/s_csinhl.c (__csinhl): Likewise.
3161         * math/s_csinl.c (__csinl): Likewise.
3162         * math/s_ctan.c (__ctan): Likewise.
3163         * math/s_ctanf.c (__ctanf): Likewise.
3164         * math/s_ctanh.c (__ctanh): Likewise.
3165         * math/s_ctanhf.c (__ctanhf): Likewise.
3166         * math/s_ctanhl.c (__ctanhl): Likewise.
3167         * math/s_ctanl.c (__ctanl): Likewise.
3168         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3169         csin, csinh, ctan and ctanh.
3170         * math/auto-libm-test-out: Regenerated.
3171         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3172         * sysdeps/i386/fpu/libm-test-ulps: Update.
3173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3175 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3177         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3178         return value is wrong, print the expected value too.
3180 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3182         [BZ #18585]
3183         * elf/readlib.c (is_gdb_python_file): New.
3184         (process_file): Don't issue errors on filenames with -gdb.py
3185         suffix.
3187 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3189         * math/auto-libm-test-in: Add more tests of csin and csinh.
3190         * math/auto-libm-test-out: Regenerated.
3191         * math/libm-test.inc (csin_test_data): Remove tests moved to
3192         auto-libm-test-in.
3193         (csinh_test_data): Likewise.
3195         [BZ #18593]
3196         * math/s_csin.c (__csin): Negate before rather than after possibly
3197         overflowing multiplication.
3198         * math/s_csinf.c (__csinf): Likewise.
3199         * math/s_csinh.c (__csinh): Likewise.
3200         * math/s_csinhf.c (__csinhf): Likewise.
3201         * math/s_csinhl.c (__csinhl): Likewise.
3202         * math/s_csinl.c (__csinl): Likewise.
3203         * math/auto-libm-test-in: Add some tests of csin and csinh.
3204         * math/auto-libm-test-out: Regenerated.
3205         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3206         (csinh_test_data): Likewise.
3207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3209         [BZ #18586]
3210         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3211         underflow exception for small results.
3213 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3215         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3216         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3217         variable and included header.
3218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3219         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3221         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3223         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3224         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3226         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3227         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3228         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3229         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3230         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3231         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3232         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3233         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3235 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3237         [BZ #16526]
3238         [BZ #16538]
3239         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3240         (__sin): Force underflow exception for arguments with small
3241         absolute value.
3242         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3243         (__kernel_sinf): Force underflow exception for arguments with
3244         small absolute value.
3245         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3246         (__kernel_sincosl): Force underflow exception for arguments with
3247         small absolute value.
3248         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3249         (__kernel_sinl): Force underflow exception for arguments with
3250         small absolute value.
3251         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3252         (__kernel_sincosl): Force underflow exception for arguments with
3253         small absolute value.
3254         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3255         (__kernel_sinl): Force underflow exception for arguments with
3256         small absolute value.
3257         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3258         (__kernel_sinl): Force underflow exception for arguments with
3259         small absolute value.
3260         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3261         (__kernel_sinf): Force underflow exception for arguments with
3262         small absolute value.
3263         * math/auto-libm-test-in: Add more tests of sin and sincos.
3264         * math/auto-libm-test-out: Regenerated.
3266         [BZ #18245]
3267         [BZ #18583]
3268         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3269         (__kernel_standard_l): Use feholdexcept and fesetenv around
3270         conversion to double instead of special-casing overflow and
3271         underflow.
3272         * math/libm-test.inc (fmod_test_data): Add more tests.
3273         (remainder_test_data): Likewise.
3274         (sqrt_test_data): Likewise.
3276 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3278         [BZ #17403]
3279         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3280         atomic_read_barrier, atomic_write_barrier): Define.
3281         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3282         atomic_read_barrier, atomic_write_barrier): Define.
3284 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3286         * math/Makefile [$(PERL) != no]
3287         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3288         dependency on libm-test.stmp below the inclusion of Rules.
3290 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3292         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3294         and included header.
3295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3296         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3299         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3303         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3304         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3305         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3306         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3307         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3308         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3309         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3310         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3311         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3312         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3313         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3315 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3317         [BZ #18371]
3318         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3319         intermediate but not final result might underflow.
3320         * math/s_csqrtf.c (__csqrtf): Likewise.
3321         * math/s_csqrtl.c (__csqrtl): Likewise.
3322         * math/auto-libm-test-in: Add more tests of csqrt.
3323         * math/auto-libm-test-out: Regenerated.
3324         * sysdeps/i386/fpu/libm-test-ulps: Update.
3326         [BZ #18219]
3327         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3328         threshold on absolute value of exponent for which scaling is used.
3329         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3330         * math/auto-libm-test-in: Add more tests of exp2.
3331         * math/auto-libm-test-out: Regenerated.
3333 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3335         [BZ #17977]
3336         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3337         when initializing interface list, based on the bug analysis
3338         and the patch proposed by Eric Newton.
3339         * resolv/tst-res_hconf_reorder.c: New test.
3340         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3341         tst-res_hconf_reorder.
3342         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3343         and $(shared-thread-library).
3344         (tst-res_hconf_reorder-ENV): New variable.
3346         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3347         in comment.
3349 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3351         [BZ #16353]
3352         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3353         (__expm1): Force underflow exception for arguments with small
3354         absolute value.
3355         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3356         (__expm1f): Force underflow exception for arguments with small
3357         absolute value.
3358         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3359         (__expm1): Force underflow exception for arguments with small
3360         absolute value.
3361         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3362         (__expm1f): Force underflow exception for arguments with small
3363         absolute value.
3364         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3365         Check for small arguments before calling __expm1.
3366         * math/auto-libm-test-in: Do not mark underflow exceptions as
3367         possibly missing for bug 16353.
3368         * math/auto-libm-test-out: Regenerated.
3370 2015-06-22  Andreas Schwab  <schwab@suse.de>
3372         [BZ #18513]
3373         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3374         PTR queries.
3376 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3378         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3380         * string/strcoll_l.c: Remove unused struct element idxnow.
3382 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3384         [BZ #18569]
3385         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3386         underflow and return argument in case of subnormal argument.
3387         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3388         Likewise.
3389         * math/auto-libm-test-in: Add more tests of expm1.
3390         * math/auto-libm-test-out: Regenerated.
3392         [BZ #16361]
3393         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3394         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3395         tiny results.
3396         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3397         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3398         tiny results.
3399         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3400         mark underflow exceptions as possibly missing for bug 16361.
3401         * math/auto-libm-test-out: Regenerated.
3403 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3405         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3406         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3407         Remove variable.
3408         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3409         (test-xfail-XOPEN2K8/utmpx.h/conform).
3411         * conform/conformtest.pl ($xerrors): New variable.
3412         (note_error): New function.
3413         (compiletest): New argument $xfail.  Use not_error.
3414         (runtest): Likewise.
3415         (top level): Handle xfail- lines.  Update calls to compiletest and
3416         runtest.  Handle xfail- and optional- in headers listed with
3417         allow-header.
3418         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3419         (O_EXEC): Likewise.
3420         (O_SEARCH): Likewise.
3421         * conform/data/stropts.h-data (ioctl): Likewise.
3422         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3423         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3424         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3425         (msghdr.msg_controllen): Likewise.
3426         (cmsghdr.cmsg_len): Likewise.
3427         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3428         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3429         variable.
3430         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3431         (test-xfail-XPG4/stropts.h/conform): Likewise.
3432         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3433         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3434         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3435         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3436         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3437         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3438         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3439         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3440         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3441         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3442         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3443         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3444         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3445         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3446         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3447         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3448         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3449         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3450         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3452 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3454         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3455         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3456         definitions for proper unfolding of __MATHDECL_VEC.
3458 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3460         * benchtests/bench-strcoll.c:
3461         Include string.h.
3462         (main): Remove unused variable res.
3464 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3466         * timezone/Makefile (%/UTC %/Universal):
3467         Generate test-result files for UTC and Universal.
3469 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3471         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3473 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3475         [BZ #16350]
3476         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3477         for arguments with small absolute value.
3478         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3479         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3480         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3481         (__asinh): Force underflow exception for arguments with small
3482         absolute value.
3483         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3484         (__asinhf): Force underflow exception for arguments with small
3485         absolute value.
3486         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3487         (__asinhl): Force underflow exception for arguments with small
3488         absolute value.
3489         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3490         (__asinhl): Force underflow exception for arguments with small
3491         absolute value.
3492         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3493         (__asinhl): Force underflow exception for arguments with small
3494         absolute value.
3495         * math/auto-libm-test-in: Do not mark underflow exceptions as
3496         possibly missing for bug 16350.
3497         * math/auto-libm-test-out: Regenerated.
3499         * include/bits/ipc.h: Remove file.
3500         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3501         variable.
3502         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3503         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3504         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3505         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3506         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3507         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3508         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3509         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3510         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3512         * math/auto-libm-test-in: Remove spurious underflow allowance for
3513         tests of cexp.
3514         * math/auto-libm-test-out: Regenerated.
3516         [BZ #18558]
3517         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3518         unconditional definition.
3519         (MCAST_BLOCK_SOURCE): Likewise.
3520         (MCAST_UNBLOCK_SOURCE): Likewise.
3521         (MCAST_LEAVE_GROUP): Likewise.
3522         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3523         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3524         (MCAST_MSFILTER): Likewise.
3525         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3526         Remove variable.
3527         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3528         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3529         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3530         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3531         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3533 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3535         * NEWS: Mention addition of x86_64 vector sincosf.
3536         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3537         * math/test-float-vlen4.h: Likewise.
3538         * math/test-float-vlen8.h: Likewise.
3539         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3540         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3541         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3542         * sysdeps/x86_64/fpu/Versions: New versions added.
3543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3544         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3545         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3546         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3548         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3550         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3552         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3553         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3554         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3555         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3556         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3557         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3558         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3559         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3560         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3561         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3562         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3564         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3565         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3566         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3568         * NEWS: Mention addition of x86_64 vector sincos.
3569         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3570         * math/math.h (__MATHDECL_VEC): New macro.
3571         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3572         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3573         declaration under condition.
3574         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3575         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3576         TEST_VEC_LOOP change.
3577         * math/test-double-vlen4.h: Likewise.
3578         * math/test-double-vlen8.h: Likewise.
3579         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3580         * math/test-float-vlen4.h: Likewise.
3581         * math/test-float-vlen8.h: Likewise.
3582         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3583         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3585         * sysdeps/x86_64/fpu/Versions: New versions added.
3586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3588         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3589         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3590         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3591         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3592         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3595         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3596         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3597         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3598         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3599         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3600         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3601         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3602         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3603         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3604         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3606         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3607         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3608         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3609         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3611         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3612         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3613         redirections for powf.
3614         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3615         * sysdeps/x86_64/fpu/Versions: New versions added.
3616         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3617         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3618         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3619         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3620         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3622         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3624         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3626         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3627         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3628         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3629         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3630         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3631         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3632         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3633         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3634         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3635         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3636         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3638         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3639         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3640         * math/test-float-vlen16.h: Fixed 2 argument macro.
3641         * math/test-float-vlen4.h: Likewise.
3642         * math/test-float-vlen8.h: Likewise.
3643         * NEWS: Mention addition of x86_64 vector powf.
3645 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3647         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3648         and redefine.
3649         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3650         and redefine.
3651         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3652         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3653         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3655         [BZ #18553]
3656         * resource/getpriority.c (getpriority): Rename to __getpriority
3657         and define as weak alias of __getpriority.
3658         * resource/setpriority.c (setpriority): Rename to __setpriority
3659         and define as weak alias of __setpriority.
3660         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3661         __getpriority and define as weak alias of __getpriority.
3662         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3663         __setpriority and define as weak alias of __setpriority.
3664         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3665         strong name.
3666         (setpriority): Use __setpriority as strong name.
3667         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3668         __getpriority and define as weak alias of __getpriority.
3669         * include/sys/resource.h (__getpriority): Declare.  Use
3670         libc_hidden_proto.
3671         (__setpriority): Likewise.
3672         (getpriority): Don't use libc_hidden_proto.
3673         (setpriority): Likewise.
3674         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3675         getpriority.  Call __setpriority instead of setpriority.
3676         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3677         Remove variable.
3679         [BZ #18547]
3680         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3681         as weak alias of __getttynam.  Use prototype function definition.
3682         Call __setttyent, __getttyent and __endttyent instead of
3683         setttyent, getttyent and endttyent.
3684         (getttyent): Rename to __getttyent and define as weak alias of
3685         __getttyent.  Call __setttyent instead of setttyent.  Call
3686         __fgets_unlocked instead of fgets_unlocked.
3687         (setttyent): Rename to __setttyent and define as weak alias of
3688         __setttyent.
3689         (endttyent): Rename to __endttyent and define as weak alias of
3690         __endttyent.
3691         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3692         (__setttyent): Likewise.
3693         (__endttyent): Likewise.
3694         (getttyent): Don't use libc_hidden_proto.
3695         (setttyent): Likewise.
3696         (endttyent): Likewise.
3697         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3698         __endttyent instead of setttyent, getttyent and endttyent.
3699         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3700         Remove variable.
3702         [BZ #18546]
3703         * socket/recv.c (__recv): Use libc_hidden_def.
3704         * socket/socket.c (__socket): Likewise.
3705         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3706         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3707         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3708         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3709         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3710         libc_hidden_def.
3711         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3712         libc_hidden_weak.
3713         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3714         Use libc_hidden_proto.
3715         (__recv): Likewise.
3716         * socket/Versions (libc): Export __recv and __socket at version
3717         GLIBC_PRIVATE.
3718         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3719         instead of recv.
3720         (init_mq_netlink): Call __socket instead of socket.
3721         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3722         Remove variable.
3724         [BZ #18545]
3725         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3726         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3727         hidden_weak.
3728         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3729         define as alias of __mq_timedsend.  Use hidden_weak.
3730         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3731         __mq_timedsend as strong name.
3732         (mq_timedreceive): Use __mq_timedreceive as strong name.
3733         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3734         (__mq_timedreceive): Likewise.
3735         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3736         __mq_timedreceive instead of mq_timedreceive.
3737         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3738         instead of mq_timedsend.
3739         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3740         Remove variable.
3742         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3743         hidden_def and hidden_weak instead of libc_hidden_def and
3744         libc_hidden_weak.
3745         (top level): Refer to hidden_def in comment.
3746         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3747         macro.  Use it instead of libc_hidden_def.
3748         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3749         specify __GI_* name explicitly.
3750         (mq_timedreceive): Likewise.
3751         (mq_setattr): Likewise.
3753         [BZ #18544]
3754         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3755         __pthread_barrier_init and define as weak alias of
3756         __pthread_barrier_init.
3757         * sysdeps/sparc/nptl/pthread_barrier_init.c
3758         (pthread_barrier_init): Likewise.
3759         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3760         __pthread_barrier_wait and define as weak alias of
3761         __pthread_barrier_wait.
3762         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3763         (pthread_barrier_wait): Likewise.
3764         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3765         (pthread_barrier_wait): Likewise.
3766         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3767         (pthread_barrier_wait): Likewise.
3768         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3769         (pthread_barrier_wait): Likewise.
3770         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3771         __pthread_barrier_wait at version GLIBC_PRIVATE.
3772         * include/pthread.h (__pthread_barrier_init): Declare.
3773         (__pthread_barrier_wait): Likewise.
3774         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3775         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3776         (helper_thread): Likewise.
3777         (init_mq_netlink): Call __pthread_barrier_init instead of
3778         pthread_barrier_init.
3780         [BZ #18542]
3781         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3782         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3783         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3784         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3785         vswscanf.
3786         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3787         Remove variable.
3789         [BZ #18540]
3790         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3791         strong alias of _IO_fflush.  Use libc_hidden_def.
3792         * libio/iofflush_u.c (fflush_unlocked): Rename to
3793         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3794         Use libc_hidden_weak.
3795         * include/stdio.h (__fflush_unlocked): Declare.  Use
3796         libc_hidden_proto.
3797         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3798         fflush_unlocked.
3799         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3800         Remove variable.
3802         [BZ #18539]
3803         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3804         define as weak alias of __addseverity.
3805         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3806         Remove variable.
3807         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3808         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3809         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3811         [BZ #18536]
3812         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3813         (__tfind): Likewise.
3814         (__tdelete): Likewise.
3815         (__twalk): Likewise.
3816         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3817         __twalk to GLIBC_PRIVATE.
3818         * include/search.h (__tsearch): Use libc_hidden_proto.
3819         (__tfind): Likewise.
3820         (__tdelete): Likewise.
3821         (__twalk): Likewise.
3822         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3823         Call __tdelete instead of tdelete.
3824         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3825         tfind.  Call __tsearch instead of tsearch.
3826         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3827         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3828         Remove variable.
3829         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3831         [BZ #18534]
3832         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3833         (dprintf): Define as a weak alias of __dprintf, not a strong
3834         alias.
3835         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3836         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3837         dprintf.
3838         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3839         Remove variable.
3840         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3841         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3843         [BZ #18533]
3844         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3845         not a strong alias.
3846         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3847         Remove variable.
3849         [BZ #18532]
3850         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3851         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3852         (in6addr_loopback): Rename to __in6addr_loopback and define as
3853         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3854         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3855         libc_hidden_proto.
3856         (__in6addr_any): Likewise.
3857         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3858         in6addr_any.
3859         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3860         variable.
3861         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3863 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3865         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3866         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3867         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3868         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3869         redirections for pow.
3870         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3871         * sysdeps/x86_64/fpu/Versions: New versions added.
3872         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3873         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3874         build of SSE, AVX2 and AVX512 IFUNC versions.
3875         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3876         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3880         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3882         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3883         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3884         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3885         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3886         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3887         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3888         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3889         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3891         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3892         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3893         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3894         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3895         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3896         * NEWS: Mention addition of x86_64 vector pow.
3898         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3899         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3900         redirections for expf.
3901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3902         * sysdeps/x86_64/fpu/Versions: New versions added.
3903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3905         build of SSE, AVX2 and AVX512 IFUNC versions.
3906         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3908         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3909         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3910         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3911         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3912         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3913         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3914         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3915         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3916         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3917         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3918         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3919         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3920         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3921         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3922         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3923         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3924         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3925         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3926         * NEWS: Mention addition of x86_64 vector expf.
3928         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3929         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3930         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3931         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3932         redirections for exp.
3933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3934         * sysdeps/x86_64/fpu/Versions: New versions added.
3935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3936         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3937         build of SSE, AVX2 and AVX512 IFUNC versions.
3938         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3939         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3940         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3941         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3942         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3944         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3945         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3946         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3947         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3948         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3949         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3950         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3951         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3952         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3954         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3957         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3958         * NEWS: Mention addition of x86_64 vector exp.
3960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3962         redirections for logf.
3963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3964         * sysdeps/x86_64/fpu/Versions: New versions added.
3965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3967         build of SSE, AVX2 and AVX512 IFUNC versions.
3968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3971         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3973         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3974         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3975         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3976         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3977         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3978         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3979         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3980         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3981         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3982         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3983         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3984         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3985         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3986         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3987         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3988         * NEWS: Mention addition of x86_64 vector logf.
3990         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3991         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3992         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3993         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3994         redirections for log.
3995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3996         * sysdeps/x86_64/fpu/Versions: New versions added.
3997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3998         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3999         build of SSE, AVX2 and AVX512 IFUNC versions.
4000         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4001         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4002         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4003         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4004         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4005         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4006         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4007         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4008         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4009         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4010         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4011         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4012         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4013         test.
4014         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4015         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4016         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4017         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4018         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4019         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4020         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4021         * NEWS: Mention addition of x86_64 vector log.
4023 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4025         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4026         cfi_adjust_cfa_offset argument.
4027         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4028         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4030         [BZ #18034]
4031         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4032         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4033         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4034         ordering using ldar.
4035         (_dl_tlsdesc_dynamic): Likewise.
4036         (_dl_tlsdesc_return_lazy): Likewise.
4037         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4038         relaxed atomics instead of volatile and synchronize with release store.
4039         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4040         volatile.
4041         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4043 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
4045         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4046         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4047         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4048         * sysdeps/x86_64/fpu/Versions: New versions added.
4049         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4050         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4051         build of SSE, AVX2 and AVX512 IFUNC versions.
4052         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4053         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4054         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4055         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4056         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4058         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4059         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4060         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4061         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4062         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4063         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4064         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4065         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4066         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4067         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4068         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4069         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4070         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4071         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4072         * NEWS: Mention addition of x86_64 vector sinf.
4074 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4076         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4077         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4078         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4079         Remove variable.
4080         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4081         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4083 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4085         [BZ #18530]
4086         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4087         strong alias of _IO_fputs.  Use libc_hidden_def.
4088         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4089         and define as weak alias of __fputs_unlocked.  Use
4090         libc_hidden_weak.
4091         * include/stdio.h (__fputs_unlocked): Declare.  Use
4092         libc_hidden_proto.
4093         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4094         fputs_unlocked.
4096         [BZ #18529]
4097         * resolv/netdb.h [__USE_POSIX]: Change condition to
4098         [__USE_XOPEN2K].
4099         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4100         not expect.
4101         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4102         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4103         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4104         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4105         [XPG4 || UNIX98] (AI_ALL): Likewise.
4106         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4107         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4108         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4109         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4110         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4111         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4112         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4113         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4114         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4115         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4116         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4117         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4118         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4119         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4120         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4121         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4122         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4123         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4124         [XPG4 || UNIX98] (gai_strerror): Likewise.
4125         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4126         [XPG4 || UNIX98] (getnameinfo): Likewise.
4128         [BZ #18528]
4129         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4130         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4131         __USE_XOPEN2K8].
4132         (getgrent): Likewise.
4133         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4134         expect.
4135         [XPG3 || POSIX2008] (endgrent): Likewise.
4136         [XPG3] (setgrent): Likewise.
4137         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4138         variable.
4139         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4141         [BZ #18527]
4142         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4143         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4144         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4145         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4146         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4147         * include/unistd.h (__getlogin_r): Declare.  Use
4148         libc_hidden_proto.
4149         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4150         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4151         variable.
4152         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4153         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4154         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4156 2015-06-12  Martin Sebor  <msebor@redhat.com>
4158         [BZ #18512]
4159         * Makerules (check-install-supported): New target.
4160         (install): Add check-install-supported as a dependency.
4161         * manual/install.texi (Installing the C Library): Document
4162         that overriding prefix and exec_prefix is not supported.
4163         Mention DESTDIR.
4164         * INSTALL: Regenerate from the above.
4166 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4168         [BZ #18519]
4169         * posix/Versions (libc): Export __libc_pread at version
4170         GLIBC_PRIVATE.
4171         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4172         instead of pread.
4173         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4174         variable.
4176         [BZ #18522]
4177         * misc/efgcvt_r.c
4178         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4179         (cvt_symbol): Use weak_alias instead of strong_alias.
4180         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4181         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4182         Remove variable.
4183         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4184         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4186         [BZ #18520]
4187         * inet/herrno.c (h_errno): Rename to __h_errno.
4188         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4189         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4190         to __h_errno instead of h_errno.
4191         * nptl/herrno.c (h_errno): Rename to __h_errno.
4192         (__h_errno_location): Refer to __h_errno not h_errno.
4193         * resolv/Versions (h_errno): Rename to __h_errno.
4194         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4195         Remove variable.
4196         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4198 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4200         * configure.ac: More strict check for AVX512 assembler support.
4201         * configure: Regenerated.
4203         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4204         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4206         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4208         * sysdeps/x86_64/fpu/Versions: New versions added.
4209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4211         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4212         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4214         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4216         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4218         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4219         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4220         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4221         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4222         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4223         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4224         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4225         test.
4226         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4227         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4229         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4230         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4231         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4232         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4233         * NEWS: Mention addition of x86_64 vector sin.
4235 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4237         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4238         comment.
4240 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4242         [BZ #18479]
4243         * nptl/pt-interp.c: New file.
4244         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4245         Add pt-interp.
4246         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4247         $(common-objpfx)runtime-linker.h.
4249 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4251         * Makeconfig (+interp): Remove unused variable.
4252         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4253         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4254         $(elf-objpfx)runtime-linker.h.
4255         ($(elf-objpfx)runtime-linker.h): Rename to
4256         $(common-objpfx)runtime-linker.h and move ...
4257         * Makerules [$(build-shared) = yes]: ... here.
4258         * elf/interp.c: Include <runtime-linker.h> instead of
4259         <elf/runtime-linker.h>.
4261 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4263         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4264         (__gettimeofday_syscall): Remove vsyscall fallback.
4265         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4266         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4267         Add syscall fallback function.
4268         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4269         if vDSO is not present.
4270         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4271         fallback function.
4272         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4273         present.
4274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4275         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4277 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4279         [BZ #18497]
4280         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4281         of wcscmp.
4282         (wcscmp): Define as weak alias of WCSCMP.
4283         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4284         wcscoll.
4285         (USE_HIDDEN_DEF): Define.
4286         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4287         __wcscoll.  Don't use libc_hidden_weak.
4288         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4289         wcscmp.
4290         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4291         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4292         __GI_wcscmp.
4293         (weak_alias): Undefine and redefine.
4294         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4295         __wcscmp and define as weak alias of __wcscmp.
4296         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4297         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4298         (__wcscoll): Likewise.
4299         (wcscmp): Don't use libc_hidden_proto.
4300         (wcscoll): Likewise.
4301         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4302         wcscoll.
4303         * posix/regexec.c (check_node_accept_bytes): Likewise.
4304         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4305         variable.
4306         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4307         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4309         [BZ #18507]
4310         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4311         __fstatvfs and define as weak alias of __fstatvfs.  Use
4312         libc_hidden_weak.
4313         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4314         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4315         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4316         Define as alias of __fstatvfs, not fstatvfs.
4317         (fstatvfs64): Likewise.
4318         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4319         Define as alias of __statvfs, not statvfs.
4320         (statvfs64): Likewise.
4321         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4322         Remove variable.
4324 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4327         (HAVE_GETCPU_VSYSCALL): Define.
4328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4329         (HAVE_GETCPU_VSYSCALL): Likewise.
4330         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4331         * sysdeps/unix/sysv/linux/sched_getcpu.c
4332         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4333         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4334         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4335         prototype.
4336         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4337         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4338         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4340         Define.
4341         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4342         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4343         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4344         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4346 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4348         * sysdeps/x86_64/fpu/Makefile: New file.
4349         * sysdeps/x86_64/fpu/Versions: New file.
4350         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4351         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4352         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4353         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4354         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4355         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4356         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4359         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4360         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4361         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4362         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4363         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4364         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4365         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4366         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4367         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4368         * sysdeps/x86_64/configure: Regenerated.
4369         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4370         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4371         * manual/install.texi (Configuring and compiling): Document
4372         --disable-mathvec.
4373         * INSTALL: Regenerated.
4374         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4376         * math/Makefile: Added rules for vector tests.
4377         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4378         declaration under condition.
4379         * math/test-double-vlen2.h: New file.
4380         * math/test-double-vlen4.h: New file.
4381         * math/test-double-vlen8.h: New file.
4382         * math/test-vec-loop.h: Added initialization macro.
4383         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4385         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4386         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4387         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4388         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4390         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4391         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4392         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4393         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4396         * sysdeps/x86_64/fpu/Versions: New versions added.
4397         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4398         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4399         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4400         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4401         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4402         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4403         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4404         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4405         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4407         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4408         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4409         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4410         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4411         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4412         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4413         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4414         * NEWS: Mention addition of x86_64 vector cosf.
4416         * math/Makefile: Added CFLAGS for new tests.
4417         * math/test-float-vlen16.h: New file.
4418         * math/test-float-vlen4.h: New file.
4419         * math/test-float-vlen8.h: New file.
4420         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4421         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4423         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4424         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4425         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4426         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4427         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4429         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4430         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4432 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4434         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4435         * locale/programs/ld-ctype.c: Likewise.
4437 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4439         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4440         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4441         bit_ZMM16_31_state): New macro.
4442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4443         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4445 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4447         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4449 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4451         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4453 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4455         [BZ #18498]
4456         * libio/memstream.c (open_memstream): Rename to __open_memstream
4457         and define as weak alias of __open_memstream.
4458         * include/stdio.h (__open_memstream): Declare.  Use
4459         libc_hidden_proto.
4460         (open_memstream): Don't use libc_hidden_proto.
4461         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4462         open_memstream.
4463         * posix/getopt.c (_getopt_internal_r): Likewise.
4464         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4465         variable.
4466         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4467         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4468         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4470         [BZ #18496]
4471         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4472         instead of wcrtomb.
4474         [BZ #18483]
4475         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4476         [__USE_XOPEN2K8].  Remove redundant #endif.
4477         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4478         Remove redundant #if.
4479         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4480         Remove variable.
4481         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4482         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4484         [BZ #18495]
4485         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4486         (__iswlower): Likewise.
4487         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4488         (__iswlower): Likewise.
4489         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4490         instead of towlower.
4491         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4492         instead of iswlower.  Call __towupper instead of towupper.
4493         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4494         instead of iswalnum.
4496 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4498         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4499         errors to stderr.
4501 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4503         [BZ #15661]
4504         [BZ #17322]
4505         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4506         Check for overflow properly.  Check for O_APPEND.  Ignore large
4507         file system block sizes.  Add comments about problems.
4508         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4509         * manual/filesys.texi (Storage Allocation): New node.
4511 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4513         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4514         cancellable syscalls.
4515         (SYS_ify): Add guard to no redefine it.
4516         (INLINE_SYSCALL): Likewise.
4517         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4518         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4519         SYSCALL_CANCEL instead.
4520         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4521         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4522         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4523         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4524         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4525         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4526         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4527         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4528         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4529         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4530         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4531         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4532         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4533         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4534         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4536         Likewise.
4537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4538         (__libc_pread64): Likewise.
4539         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4540         (__libc_preadv): Likewise.
4541         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4542         (__libc_readv64): Likewise.
4543         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4544         (__libc_pwrite): Likewise.
4545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4546         (__libc_pwrite64): Likewise.
4547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4548         (__libc_pwritev): Likewise.
4549         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4550         (__libc_pwritev64): Likewise.
4551         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4552         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4553         (sync_file_range): Likewise.
4554         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4555         Likewise.
4556         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4557         Likewise.
4558         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4559         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4560         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4561         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4562         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4563         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4564         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4565         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4567         Likewise.
4568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4569         (__libc_read64): Likewise.
4570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4571         Likewise.
4572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4575         Likewise.
4576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4577         Likewise.
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4579         (__libc_pread64): Likewise.
4580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4581         Likewise.
4582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4583         (__libc_pwrite64): Likewise.
4584         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4585         (sync_file_range): Likewise.
4586         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4587         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4588         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4589         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4590         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4591         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4592         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4593         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4594         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4595         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4596         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4597         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4598         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4599         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4600         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4601         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4602         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4603         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4604         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4605         Likewise.
4606         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4607         Likewise.
4608         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4609         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4610         Likewise.
4611         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4612         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4613         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4614         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4617         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4618         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4619         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4620         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4622 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4624         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4625         Include dl-vdso.
4626         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4627         Use VDSO routines for gettimeofday, clock_gettime if
4628         available.
4629         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4630         Declare VDSO symbols.
4631         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4632         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4633         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4634         * sysdeps/unix/sysv/linux/arm/Versions: Add
4635         __vdso_clock_gettime.
4637 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4639         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4640         be an inline implementation regardless of library is built within.
4641         (open_not_cancel_2): Likewise.
4642         (__read_nocancel): Likewise.
4643         (__write_nocancel): Likewise.
4644         (openat_not_cancel): Likewise.
4645         (openat_not_cancel_3): Likewise.
4646         (openat64_not_cancel): Likewise.
4647         (openat64_not_cancel_3): Likewise.
4648         (__close_nocancel): Likewise.
4649         (pause_not_cancel): Likewise.
4650         (nanosleep_not_cancel): Likewise.
4651         (sigsuspend_not_cancel): Likewise.
4653 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4655         [BZ #14958]
4656         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4657         wake-up.
4658         (__pthread_rwlock_rdlock_slow): Likewise.
4659         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4660         Likewise.
4661         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4662         Likewise.
4663         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4664         * nptl/tst-rwlock16.c: New file.
4665         * nptl/Makefile (tests): Add new test.
4667 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4669         [BZ #18324]
4670         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4671         missing wake-up of readers.
4672         * nptl/tst-rwlock15.c: New file.
4673         * nptl/Makefile (tests): Add new test.
4675 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4677         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4678         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4679         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4680         and __nacl_supply_interface_rtld.
4681         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4682         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4683         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4684         Add __nacl_supply_interface_rtld.
4685         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4687 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4689         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4690         isfinite.
4691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4692         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4694 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4696         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4697         __signbit* with standard C99 macros.
4698         * math/e_exp10l.c: Likewise.
4699         * math/e_exp2l.c: Likewise.
4700         * math/e_scalb.c: Likewise.
4701         * math/e_scalbf.c: Likewise.
4702         * math/e_scalbl.c: Likewise.
4703         * math/s_ldexp.c: Likewise.
4704         * math/s_ldexpf.c: Likewise.
4705         * math/s_ldexpl.c: Likewise.
4706         * math/w_atan2.c: Likewise.
4707         * math/w_atan2f.c: Likewise.
4708         * math/w_atan2l.c: Likewise.
4709         * math/w_cosh.c: Likewise.
4710         * math/w_coshf.c: Likewise.
4711         * math/w_coshl.c: Likewise.
4712         * math/w_exp10.c: Likewise.
4713         * math/w_exp10f.c: Likewise.
4714         * math/w_exp10l.c: Likewise.
4715         * math/w_exp2.c: Likewise.
4716         * math/w_exp2f.c: Likewise.
4717         * math/w_exp2l.c: Likewise.
4718         * math/w_fmod.c: Likewise.
4719         * math/w_fmodf.c: Likewise.
4720         * math/w_fmodl.c: Likewise.
4721         * math/w_hypot.c: Likewise.
4722         * math/w_hypotf.c: Likewise.
4723         * math/w_hypotl.c: Likewise.
4724         * math/w_jnl.c: Likewise.
4725         * math/w_lgamma.c: Likewise.
4726         * math/w_lgamma_r.c: Likewise.
4727         * math/w_lgammaf.c: Likewise.
4728         * math/w_lgammaf_r.c: Likewise.
4729         * math/w_lgammal.c: Likewise.
4730         * math/w_lgammal_r.c: Likewise.
4731         * math/w_pow.c: Likewise.
4732         * math/w_powf.c: Likewise.
4733         * math/w_powl.c: Likewise.
4734         * math/w_remainder.c: Likewise.
4735         * math/w_remainderf.c: Likewise.
4736         * math/w_remainderl.c: Likewise.
4737         * math/w_scalb.c: Likewise.
4738         * math/w_scalbf.c: Likewise.
4739         * math/w_scalbl.c: Likewise.
4740         * math/w_scalbln.c: Likewise.
4741         * math/w_scalblnf.c: Likewise.
4742         * math/w_scalblnl.c: Likewise.
4743         * math/w_sinh.c: Likewise.
4744         * math/w_sinhf.c: Likewise.
4745         * math/w_sinhl.c: Likewise.
4746         * math/w_tgamma.c: Likewise.
4747         * math/w_tgammaf.c: Likewise.
4748         * math/w_tgammal.c: Likewise.
4749         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4750         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4751         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4752         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4753         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4755         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4756         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4757         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4758         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4759         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4760         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4761         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4762         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4763         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4764         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4765         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4766         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4770         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4771         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4773         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4775         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4776         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4777         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4778         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4779         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4780         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4781         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4782         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4783         * stdio-common/printf_fp.c: Likewise.
4784         * stdio-common/printf_fphex.c: Likewise.
4785         * stdio-common/printf_size.c: Likewise.
4787 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4789         [BZ #18470]
4790         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4791         strnlen.
4792         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4793         Remove variable.
4794         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4795         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4796         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4797         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4798         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4799         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4800         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4801         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4802         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4803         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4805         [BZ #18468]
4806         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4807         weak alias of __wmemchr.  Use libc_hidden_weak.
4808         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4809         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4810         instead of wmemchr.
4812 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4814         [BZ #18383]
4815         * elf/tst-tlsalign-extern.c: New file.
4816         * elf/tst-tlsalign-extern-static.c: New file.
4817         * elf/tst-tlsalign-vars.c: New file.
4818         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4819         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4820         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4821         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4822         (test-xfail-tst-tlsalign-extern-static): New variable.
4824 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4826         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4827         Use variable name _sc_err instead of err.
4828         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4829         instead of ret.
4830         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4831         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4832         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4833         (INLINE_SYSCALL): Likewise.
4835         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4836         * include/string.h (__strnlen): Use libc_hidden_proto.
4837         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4838         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4839         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4840         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4841         (libc_hidden_def): Undefine and redefine.
4842         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4843         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4844         __GI_strnlen.
4845         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4846         libc_hidden_def.
4847         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4849         [BZ #18469]
4850         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4851         weak alias of __towlower.  Use libc_hidden_weak.
4852         (towupper): Rename to __towupper and define as weak alias of
4853         __towupper.  Use libc_hidden_weak.
4854         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4855         (__towupper): Likewise.
4856         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4857         __towlower instead of towlower.
4859 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4861         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4862         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4864 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4866         * sysdeps/aarch64/libm-test-ulps: Update.
4868 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4870         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4871         Define.
4872         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4874         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4875         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4876         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4877         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4878         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4880 2015-06-01  Martin Sebor  <msebor@redhat.com>
4882         [BZ #18116]
4883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4884         (__setcontext): Use extended four-operand version of mtsf whenever
4885         possible.
4886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4887         (__novec_swapcontext): Likewise.
4889 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4891         * benchtests/scripts/compare_bench.py: New file.
4892         * benchtests/scripts/import_bench.py (mean): New function.
4893         (split_list): Likewise.
4894         (do_for_all_timings): Likewise.
4895         (compress_timings): Likewise.
4897         * benchtests/scripts/import_bench.py: New file.
4898         * benchtests/scripts/validate_benchout.py: Import import_bench
4899         instead of jsonschema.
4900         (validate_bench): Remove function.
4901         (main): Use import_bench.
4903 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4905         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4906         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4908 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4912 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4914         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4915         set THREAD_SELF->tid to a magic value and futex-wake it.
4916         Pass its address to the thread_exit system call.
4917         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4918         bit is clear.
4919         * sysdeps/nacl/lowlevellock.h: New file.
4920         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4922         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4923         Add TIMEOUT to current time, don't subtract it.
4925 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4927         [BZ #2981]
4928         [BZ #18422]
4929         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4930         ($(objpfx)tst-audit2.out): Also depend on
4931         $(objpfx)tst-auditmod9b.so.
4932         * elf/tst-audit2.c: Include <dlfcn.h>.
4933         (calloc_called): New.
4934         (calloc): Allow to be called more than once.
4935         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4937 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4939         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4940         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4942 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4944         * stdlib/monetary.h: Fix comment.
4946 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4948         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4949         Avoid using variables in #defines that might cause shadowing.
4950         (INTERNAL_VSYSCALL_CALL): Likewise.
4952 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4954         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4956         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4957         * nptl/lll_timedlock_wait.c: ... to this new file.
4958         * nptl/Makefile (libpthread-routines): Add it.
4959         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4960         * nptl/lll_timedwait_tid.c: ... to this new file.
4961         * nptl/Makefile (libpthread-routines): Add it.
4962         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4963         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4964         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4965         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4966         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4967         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4968         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4969         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4970         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4971         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4973 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4975         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4976         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4977         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4978         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4979         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4981         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4983         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4984         * sysdeps/unix/sysv/linux/tile/sysdep.h
4985         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4986         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4987         using vDSO syscall macro.
4989 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4991         [BZ #17293]
4992         * uk_UA: Fix sorting order for Ukrainian locale
4994 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4996         * stdlib/monetary.h: Fix comment.
4998 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5000         [BZ #18234]
5001         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5002         st_mtim and st_ctim members.
5003         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5004         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5005         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5006         (struct stat64): Likewise.
5007         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5008         (struct stat64): Likewise.
5009         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5010         (struct stat64): Likewise.
5012 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5014         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5015         Define and include sysdep-vdso.h.
5016         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5017         Likewise.
5018         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5019         Likewise.
5020         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5021         Define with VDSO_SYMBOL and use PTR_MANGLE.
5022         (__vdso_clock_gettime): Likewise.
5023         (__vdso_clock_getres): Likewise.
5024         (_libc_vdso_platform_setup): Likewise.
5025         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5026         Likewise.
5027         (_libc_vdso_platform_setup): Likewise.
5028         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5029         Likewise.
5030         (__vdso_clock_gettime): Likewise.
5031         (__vdso_clock_getres): Likewise.
5032         (__vdso_get_tbfreq): Likewise.
5033         (__vdso_getcpu): Likewise.
5034         (__vdso_time): Likewise.
5035         (__vdso_sigtramp_rt64): Likewise.
5036         (__vdso_signtramp32): Likewise.
5037         (__vdso_sigtramp_rt32): Likewise.
5038         (_libc_vdso_platform_setup): Likewise.
5039         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5040         Likewise.
5041         (__vdso_clock_gettime): Likewise.
5042         (__vdso_clock_getres): Likewise.
5043         (_libc_vdso_platform_setup): Likewise.
5044         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5045         Likewise.
5046         (__vdso_clock_gettime): Likewise.
5047         (_libc_vdso_platform_setup): Likewise.
5048         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5049         Likewise.
5050         (__vdso_getcpu): Likewise.
5051         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5052         Use VDSO_SYMBOL macro to define.
5053         (__vdso_clock_gettime): Likewise.
5054         (__vdso_clock_getres): Likewise.
5055         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5056         Likewise.
5057         (__vdso_clock_gettime): Likewise.
5058         (__vdso_clock_getres): Likewise.
5059         (__vdso_get_tbfreq): Likewise.
5060         (__vdso_getcpu): Likewise.
5061         (__vdso_time): Likewise.
5062         (__vdso_sigtramp_rt64): Likewise.
5063         (__vdso_signtramp32): Likewise.
5064         (__vdso_sigtramp_rt32): Likewise.
5065         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5066         Likewise.
5067         (__vdso_clock_gettime): Likewise.
5068         (__vdso_clock_getres): Likewise.
5069         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5070         Likewise.
5071         (__vdso_clock_gettime): Likewise.
5072         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5073         Likewise.
5074         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5075         macro.
5076         (INTERNAL_VSYSCALL): Likewise.
5077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5078         Remove macro.
5079         (INTERNAL_VSYSCALL): Likewise.
5080         (INTERNAL_VSYSCALL_NCS): Likewise.
5081         (INTERNAL_VSYSCALL_CALL): New macro.
5082         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5084         Likewise.
5085         (INTERNAL_VSYSCALL): Likewise.
5086         (INTERNAL_VSYSCALL_NCS): Likewise.
5087         (INTERNAL_VSYSCALL_CALL): New macro.
5088         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5090         (INLINE_VSYSCALL): Remove macro.
5091         (INTERNAL_VSYSCALL): Remove macro.
5092         (INTERNAL_VSYSCALL_NCS): Remove macro.
5093         (INTERNAL_VSYSCALL_CALL): New macro.
5094         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5095         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5096         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5097         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5098         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5100         (INLINE_VSYSCALL): Remove macro.
5101         (INTERNAL_VSYSCALL): Likewise.
5102         (INTERNAL_VSYSCALL_NCS): Likewise.
5103         (INTERNAL_VSYSCALL_CALL): New macro.
5104         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5105         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5106         PTR_DEMANGLE on vDSO pointer.
5107         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5108         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5109         macro.
5110         (INTERNAL_SYSCALL): Likewise.
5111         (INTERNAL_VSYSCALL_NCS): Remove macro.
5112         (INTERNAL_VSYSCALL_CALL): New macro.
5113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5114         Remove macro.
5115         (INTERNAL_VSYSCALL): Likewise.
5116         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5117         sysdep-vdso.h instead of libc-vdso.h.
5118         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5119         definition.
5120         (INLINE_VSYSCALL): Likewise.
5121         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5122         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5123         definition.
5124         (INLINE_VSYSCALL): Likewise.
5125         (INTERNAL_VSYSCALL): Likewise.
5126         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5127         * sysdeps/unix/sysv/linux/timespec_get.c
5128         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5129         (timespec_get): Use ANSI prototype.
5130         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5131         and definition for Linux.
5133 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5135         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5136         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5138 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5140         [BZ #2981]
5141         [BZ #18410]
5142         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5143         for missing DT_PLTRELSZ.
5145 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5147         Remove obsolete aliases that broke 'locale -a'
5148         [BZ #18412]
5149         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5150         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5151         breaking some applications that use 'locale -a' output.
5152         Change the encoding of this file from Latin-1 to ASCII to avoid
5153         other potential problems with people grepping this file.
5155 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5157         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5158         -fasynchronous-unwind-tables.
5159         (CFLAGS-sendto.c): Likewise.
5160         (CFLAGS-sendmsg.c): Likewise.
5161         (CFLAGS-connect.c): Likewise.
5162         (CFLAGS-recvmsg.c): Likewise.
5163         (CFLAGS-recvfrom.c): Likewise.
5164         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5165         (SOCKETCALL): New macro: non-cancellable socketcall.
5166         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5167         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5168         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5169         * sysdeps/unix/sysv/linux/accept.c: New file.
5170         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5171         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5172         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5173         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5174         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5175         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5176         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5177         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5178         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5179         * sysdeps/unix/sysv/linux/send.c: Likewise.
5180         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5181         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5182         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5183         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5184         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5185         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5186         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5187         prototype.
5188         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5189         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5190         instead of __internal_xxx function.
5191         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5192         prototype.
5193         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5194         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5195         instead of __internal_xxx function.
5196         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5197         prototype.
5198         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5199         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5200         instead of __internal_xxx function.
5201         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5202         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5203         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5204         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5205         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5206         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5207         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5208         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5209         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5210         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5211         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5212         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5213         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5214         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5215         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5216         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5217         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5218         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5219         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5220         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5223         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5224         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5225         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5226         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5227         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5228         * sysdeps/unix/sysv/linux/send.S: Likewise.
5229         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5230         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5231         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5232         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5233         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5234         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5235         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5236         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5237         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5238         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5239         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5240         socketcall is implemented in GLIBC.
5242 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5244         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5245         (__fma): Ignore uninitialized warnings around packing.
5246         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5247         (__fmaf): Ignore uninitialized warnings around packing.
5248         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5249         (__fmal): Ignore uninitialized warnings around packing.
5251         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5252         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5253         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5254         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5256         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5257         switch statement into default case.
5258         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5260         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5261         a conditional in forcing "inexact".
5262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5263         Likewise.
5265 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5267         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5268         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5269         for each INTERNAL_SYSCALL use.
5271 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5273         [BZ #438]
5274         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5275         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5276         variable.
5278         [BZ #18444]
5279         * string/basename.c (basename): Rename to __basename and define as
5280         weak alias of __basename.  Use libc_hidden_weak.
5281         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5282         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5283         __basename instead of basename.
5284         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5285         Remove variable.
5286         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5288 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5290         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5291         (_IO_JUMPS_FILE_plus): New.
5292         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5293         _IO_CAST_FIELD_ACCESS.
5294         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5295         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5296         * libio/freopen.c (freopen): Likewise.
5297         * libio/freopen64.c (freopen64): Likewise.
5298         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5299         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5300         * libio/iofwide.c (_IO_fwide): Likewise.
5301         * libio/memstream.c (open_memstream): Likewise.
5302         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5303         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5304         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5306 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5308         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5309         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5310         NADJ.
5311         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5312         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5313         NADJ.
5314         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5315         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5316         NADJ.
5318         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5319         (p == 4) case.
5321         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5322         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5323         Remove variable.
5324         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5325         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5326         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5328 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5330         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5331         Adjust jump table label generation macros.
5333 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5335         * stdio-common/vfprintf.c (vfprintf): Move local variables
5336         args_malloced, specs, specs_malloced, and the code after
5337         do_positional to the printf_positional function.
5338         (printf_positional): New function.
5340 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5342         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5343         function.
5344         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5345         STEP4_TABLE, process_arg): Move macro definitions
5346         out of the vfprintf function.  (Cosmetic change only.)
5348 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5350         * benchtests/Makefile (stdio-common-bench): Define.
5351         (benchset): Add stdio-common-bench.
5352         * sprintf-inputs: New file.
5353         * sprintf-source.c: New file.
5355 2015-05-21  Andreas Schwab  <schwab@suse.de>
5357         [BZ #13028]
5358         [BZ #17053]
5359         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5360         of struct __res_state.
5361         * resolv/res_send.c (__libc_res_nsend): Likewise.
5362         (get_nsaddr): New function.
5363         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5364         statp directly.
5366 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5368         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5369         -D_POSIX_C_SOURCE=199506L.
5371         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5373         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5374         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5375         Do not mention otherwise.
5376         [POSIX] (_XOPEN_VERSION): Do not expect.
5377         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5378         [POSIX] (_POSIX2_C_BIND): Likewise.
5379         [POSIX] (_POSIX2_VERSION): Likewise.
5380         [POSIX] (_XOPEN_XPG2): Likewise.
5381         [POSIX] (_XOPEN_XPG3): Likewise.
5382         [POSIX] (_XOPEN_XPG4): Likewise.
5383         [POSIX] (_XOPEN_UNIX): Likewise.
5384         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5385         [POSIX] (_POSIX_BARRIERS): Likewise.
5386         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5387         [POSIX] (_POSIX_CPUTIME): Likewise.
5388         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5389         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5390         [POSIX] (_POSIX_SHELL): Likewise.
5391         [POSIX] (_POSIX_SPAWN): Likewise.
5392         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5393         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5394         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5395         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5396         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5397         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5398         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5399         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5400         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5401         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5402         [POSIX] (_POSIX2_PBS): Likewise.
5403         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5404         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5405         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5406         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5407         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5408         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5409         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5410         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5411         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5412         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5413         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5414         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5415         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5416         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5417         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5418         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5419         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5420         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5421         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5422         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5423         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5424         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5425         [POSIX] (_SC_2_C_BIND): Likewise.
5426         [POSIX] (_SC_2_C_VERSION): Likewise.
5427         [POSIX] (_SC_2_PBS): Likewise.
5428         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5429         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5430         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5431         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5432         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5433         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5434         [POSIX] (_SC_BARRIERS): Likewise.
5435         [POSIX] (_SC_BASE): Likewise.
5436         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5437         [POSIX] (_SC_DEVICE_IO): Likewise.
5438         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5439         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5440         [POSIX] (_SC_FD_MGMT): Likewise.
5441         [POSIX] (_SC_FIFO): Likewise.
5442         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5443         [POSIX] (_SC_FILE_LOCKING): Likewise.
5444         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5445         [POSIX] (_SC_IOV_MAX): Likewise.
5446         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5447         [POSIX] (_SC_NETWORKING): Likewise.
5448         [POSIX] (_SC_PAGE_SIZE): Likewise.
5449         [POSIX] (_SC_PASS_MAX): Likewise.
5450         [POSIX] (_SC_PIPE): Likewise.
5451         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5452         [POSIX] (_SC_REGEXP): Likewise.
5453         [POSIX] (_SC_SHELL): Likewise.
5454         [POSIX] (_SC_SIGNALS): Likewise.
5455         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5456         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5457         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5458         [POSIX] (_SC_USER_GROUPS): Likewise.
5459         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5460         [POSIX] (_SC_STREAMS): Likewise.
5461         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5462         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5463         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5464         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5465         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5466         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5467         [POSIX] (_PC_FILESIZEBITS): Likewise.
5468         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5469         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5470         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5471         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5472         [POSIX] (uid_t): Likewise.
5473         [POSIX] (gid_t): Likewise.
5474         [POSIX] (off_t): Likewise.
5475         [POSIX] (pid_t): Likewise.
5476         [POSIX] (cuserid): Allow.
5477         (_SC_2_CHAR_TERM): Require constant.
5478         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5479         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5480         variable.
5482 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5484         * sysdeps/nacl/pthread-pids.h: New file.
5485         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5486         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5488         * nptl/pthread-pids.h: New file.
5489         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5490         * nptl/nptl-init.c: Include <pthread-pids.h>.
5491         (__pthread_initialize_minimal_internal):
5492         Call __pthread_initialize_pids instead of set_tid_address syscall.
5494         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5495         * sysdeps/posix/usleep.c: ... here.
5497 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5499         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5500         call_pselect6 object.
5501         [$(subdir) = io]: Remove call_sync_file_range object.
5502         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5503         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5504         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5505         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5507 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5509         * math/s_cproj.c: Add include "math_private.h".
5510         * math/s_cprojf.c: Likewise.
5511         * math/s_cprojl.c: Likewise.
5513 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5515         [BZ #18244]
5516         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5517         high mantissa bit when testing whether P is a NaN.
5518         * math/libm-test.inc (remainder_test_data): Add more tests.
5519         (remquo_test_data): Likewise.
5521         [BZ #18049]
5522         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5523         below -32, return the argument, with underflow if subnormal.
5524         * math/auto-libm-test-in: Add more tests of atanh.
5525         * math/auto-libm-test-out: Regenerated.
5527 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5529         [BZ #18434]
5530         * nptl/tst-sem15.c: New file.
5531         * nptl/Makefile (tests): Add it.
5532         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5533         s/<</>>/ to fix typo in EOVERFLOW check.
5534         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5536 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5538         * manual/strings.texi (envz_remove): Fix typo in safety
5539         annotations.
5541 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5542             Steve Ellcey  <sellcey@imgtec.com>
5544         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5545         in order to avoid strict alias warnings.
5546         (iruserok_af): Ditto for ra.
5548 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5550         [BZ #17581]
5551         * malloc/hooks.c
5552         (magicbyte): Convert to a function and avoid returning 0x01.
5553         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5554         (mem2chunk_check): Fix unsigned comparisons to zero.
5555         Hoist defs of sz and magic.
5557 2015-05-19  Richard Henderson  <rth@redhat.com>
5559         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5561         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5563 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5565         [BZ #16159]
5566         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5567         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5568         (reused_arena): Find a non-corrupt arena.
5569         (heap_trim): Pass arena to unlink.
5570         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5571         malloc_printerr.
5572         (top_check): Likewise.
5573         (free_check): Likewise.
5574         (realloc_check): Likewise.
5575         * malloc/malloc.c (malloc_printerr): Add arena argument.
5576         (unlink): Likewise.
5577         (munmap_chunk): Adjust.
5578         (ARENA_CORRUPTION_BIT): New macro.
5579         (arena_is_corrupt): Likewise.
5580         (set_arena_corrupt): Likewise.
5581         (sysmalloc): Use mmap if there are no usable arenas.
5582         (_int_malloc): Likewise.
5583         (__libc_malloc): Don't fail if arena_get returns NULL.
5584         (_mid_memalign): Likewise.
5585         (__libc_calloc): Likewise.
5586         (__libc_realloc): Adjust for additional argument to
5587         malloc_printerr.
5588         (_int_free): Likewise.
5589         (malloc_consolidate): Likewise.
5590         (_int_realloc): Likewise.
5591         (_int_memalign): Don't touch corrupt arenas.
5592         * malloc/tst-malloc-backtrace.c: New test case.
5594         * Makefile (summarize-tests): Fix return value on success.
5596         * manual/string.texi (Envz Functions): Add envz_remove.
5598 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5600         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5601         (invalid_name): New function, broken out of ...
5602         (__opendirat): ... here.  Call it.
5603         (need_isdir_precheck): New function, broken out of ...
5604         (__opendirat): ... here.  Call it.
5605         Use __fxstatat64, not __xstatat64.
5606         (opendir_oflags): New function, broken out of ...
5607         (__opendirat): ... here.  Call it.
5608         (opendir_tail): New function, broken out of ...
5609         (__opendirat): ... here.  Call it.
5610         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5611         opendir_tail, rather than punting to __opendirat.
5612         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5614 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5616         * .gitignore: Ignore generated *.pyc.
5618 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5620         * include/stdio.h: Define __need_wint_t.
5621         * test-skeleton.c: Avoid `for' loop initial declaration.
5622         * nptl/tst-initializers1.c: Use test-skeleton.c.
5624 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5626         [BZ #18418]
5627         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5629 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5631         [BZ #16352]
5632         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5633         (__ieee754_atanh): Force underflow exception for results with
5634         small absolute value.
5635         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5636         (__ieee754_atanhf): Force underflow exception for results with
5637         small absolute value.
5638         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5639         (__ieee754_atanh): Force underflow exception for results with
5640         small absolute value.
5641         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5642         (__ieee754_atanhf): Force underflow exception for results with
5643         small absolute value.
5644         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5645         (__ieee754_atanhl): Force underflow exception for results with
5646         small absolute value.
5647         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5648         (__ieee754_atanhl): Force underflow exception for results with
5649         small absolute value.
5650         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5651         (__ieee754_atanhl): Force underflow exception for results with
5652         small absolute value.
5653         * math/auto-libm-test-in: Do not allow missing underflow
5654         exceptions from atanh.
5655         * math/auto-libm-test-out: Regenerated.
5657         [BZ #18221]
5658         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5659         2**-28 as threshold for returning x or +/- 1/x.
5660         * math/auto-libm-test-in: Add more tests of tan.
5661         * math/auto-libm-test-out: Regenerated.
5663         [BZ #18220]
5664         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5665         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5666         * math/auto-libm-test-in: Add another test of lgamma.
5667         * math/auto-libm-test-out: Regenerated.
5669 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5671         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5672         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5673         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5674         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5675         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5676         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5677         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5680         (log1): Use fabs.  (my_log2): Use fabs.
5681         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5682         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5683         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5684         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5685         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5686         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5687         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5688         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5689         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5690         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5691         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5693 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5695         [BZ #18217]
5696         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5697         as threshold for returning 1 - x.
5698         * math/auto-libm-test-in: Add more tests of erfc.
5699         * math/auto-libm-test-out: Regenerated.
5701 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5703         [BZ #18196]
5704         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5705         threshold for large arguments.
5706         * math/auto-libm-test-in: Add another test of atan.
5707         * math/auto-libm-test-out: Regenerated.
5709         [BZ #16339]
5710         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5711         (__log1p): Force underflow exception for results with small
5712         absolute value.
5713         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5714         (__log1pf): Force underflow exception for results with small
5715         absolute value.
5716         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5717         (__log1p): Force underflow exception for results with small
5718         absolute value.
5719         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5720         (__log1pf): Force underflow exception for results with small
5721         absolute value.
5722         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5723         (__log1pl): Force underflow exception for results with small
5724         absolute value.
5725         * math/auto-libm-test-in: Do not allow missing underflow
5726         exceptions from log1p.
5727         * math/auto-libm-test-out: Regenerated.
5729 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5730             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5732         [BZ #16704]
5733         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5735 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5737         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5738         (libmvec): New variable.
5739         * configure.ac: Added option for mathvec build.
5740         * configure: Regenerated.
5741         * mathvec/Depend: New file.
5742         * mathvec/Makefile: New file.
5743         * shlib-versions: Added libmvec.
5744         * math/Makefile: Added rule for libm.so installation.
5746         * bits/math-vector.h: New file.
5747         * bits/libm-simd-decl-stubs.h: New header.
5748         * math/Makefile (headers): Added new header
5749         libm-simd-decl-stubs.h.
5750         * math/math.h (__MATHCALL_VEC): New macro.
5752         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5753         for conditions in testing functions.
5754         * math/Makefile: Added call of libm-have-vector-test.sh.
5755         * math/libm-test.inc (HAVE_VECTOR): New macros.
5757         * math/libm-test.inc: START refactored.
5758         * math/test-double.c (TEST_MATHVEC): Add define.
5759         * math/test-float.c: Likewise.
5760         * math/test-idouble.c: Likewise.
5761         * math/test-ifloat.c: Likewise.
5762         * math/test-ildoubl.c: Likewise.
5763         * math/test-ldouble.c: Likewise.
5764         * sysdeps/generic/math-tests-arch.h
5765         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5766         architecture check.
5768         * math/test-double.c (FUNC_TEST): New macro.
5769         * math/test-float.c: Likewise.
5770         * math/test-idouble.c: Likewise.
5771         * math/test-ifloat.c: Likewise.
5772         * math/test-ildoubl.c: Likewise.
5773         * math/test-ldouble.c: Likewise.
5774         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5776 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5778         * sysdeps/nacl/fdopendir.c: New file.
5780         * dirent/scandir-tail.c: New file.
5781         * dirent/scandir64-tail.c: New file.
5782         * dirent/Makefile (routines): Add them.
5783         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5784         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5785         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5786         [!SCANDIR] (SCANDIR_TAIL): New macro.
5787         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5788         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5789         (SCANDIRAT): Macro removed.
5790         (SCANDIR_TAIL): New macro.
5791         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5792         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5793         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5794         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5795         (READDIR): Macro removed.
5796         (SCANDIR_TAIL): New macro.
5797         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5798         (SCANDIR_TAIL): New macro.
5800         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5801         * dirent/scandir-cancel.c: ... to this new file.
5802         * dirent/Makefile (routines): Add it.
5803         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5804         * sysdeps/unix/sysv/linux/i386/scandir64.c
5805         (SKIP_SCANDIR_CANCEL): Macro removed.
5806         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5808         * dirent/tst-scandir.c: New file.
5809         * dirent/tst-scandir64.c: New file.
5810         * dirent/Makefile (tests): Add them.
5812 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5814         [BZ #18409]
5815         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5817 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5819         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5820         list.
5822 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5824         * benchtests/bench-strcoll.c: New benchmark.
5825         * benchtests/Makefile: Generate locales and run benchmark.
5826         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5827         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5828         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5829         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5830         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5831         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5832         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5833         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5834         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5835         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5836         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5837         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5838         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5839         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5840         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5841         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5842         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5843         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5844         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5845         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5846         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5847         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5848         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5849         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5851 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5853         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5854         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5856 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5858         * posix/uname-values.h: New file.
5859         * posix/uname.c: Include that instead of <config-name.h>.
5860         * sysdeps/nacl/uname-values.h: New file.
5861         * sysdeps/arm/nacl/uname-values.h: New file.
5863 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5865         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5866         splitting into fields.
5868 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5870         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5871         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5872         * locale/localeinfo.h: Add enum collation_encoding_type.
5873         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5874         * programs/ld-collate.c (collate_output): Add encoding type info.
5875         * string/strcoll_l.c (STRDIFF): New function.
5876         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5877         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5879 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5881         [BZ #18397]
5882         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5883         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5884         <fpu_control.h> instead of <math/fpu_control.c>.
5885         * sysdeps/mips/mips32/fpu/Makefile: New file.
5887 2015-05-11  Andreas Schwab  <schwab@suse.de>
5889         [BZ #18007]
5890         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5891         nss_endgrent.
5892         (_nss_compat_endgrent): Call nss_endgrent.
5893         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5894         nss_endpwent.
5895         (_nss_compat_endpwent): Call nss_endpwent.
5896         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5897         needent, call nss_setspent only if non-zero.
5898         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5899         (internal_endspent): Don't call nss_endspent.
5900         (_nss_compat_endspent): Call nss_endspent.
5901         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5902         Remove.  All uses removed.
5903         (internal_setent): Remove parameter stayopen, add parameter
5904         stream.  Use it instead of global variable.
5905         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5906         (internal_endent, internal_getent): Add parameter stream.  Use it
5907         instead of global variable.
5908         (CONCAT(_nss_files_end,ENTNAME))
5909         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5910         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5911         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5912         uses removed.
5913         (internal_setent, internal_endent): Add parameter stream.  Use it
5914         instead of global variable.
5915         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5916         stream.
5917         (get_next_alias): Add parameter stream.
5918         (_nss_files_getaliasent_r): Pass global stream.
5919         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5920         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5921         (_nss_files_gethostbyname4_r): Pass local stream to
5922         internal_setent, internal_getent and internal_endent.  Remove
5923         locking.
5925 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5927         * tst-strfmon1.c (tests): Update expected currency symbol.
5929 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5931         * sysdeps/nacl/gethostname.c: New file.
5933 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5935         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5936         and sinh.
5937         * math/auto-libm-test-out: Regenerated.
5938         * sysdeps/i386/fpu/libm-test-ulps: Update.
5939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5941 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5943         [BZ #18125]
5944         * stdlib/tst-setcontext3.c: New file.
5945         * stdlib/tst-setcontext3.sh: New file.
5946         * stdlib/Makefile (tests): Add tst-setcontext3.
5947         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5948         to verify test program created output file.
5949         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5950         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5951         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5952         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5954 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5956         [BZ #18383]
5957         * elf/tst-tlsalign.c: New file.
5958         * elf/tst-tlsalign-static.c: New file.
5959         * elf/tst-tlsalign-lib.c: New file.
5960         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5961         (tests-static): Add tst-tlsalign-static.
5962         (modules-names): Add tst-tlsalign-lib.
5963         (test-xfail-tst-tlsalign): New variable.
5964         (test-xfail-tst-tlsalign-static): New variable.
5966         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5967         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5969 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5971         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5972         csqrt, erfc, sin and sincos.
5973         * math/auto-libm-test-out: Regenerated.
5974         * sysdeps/i386/fpu/libm-test-ulps: Update.
5975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5977 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5979         * sysdeps/aarch64/libm-test-ulps: Update.
5981 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5983         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5984         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5985         * math/auto-libm-test-out: Regenerated.
5986         * sysdeps/i386/fpu/libm-test-ulps: Update.
5987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5991         [BZ #18265]
5992         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5993         (wcsncpy): Likewise.
5995 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5997         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5998         Assume __ASSUME_FALLOCATE is always true.
5999         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6000         (__posix_fallocate64_l64): Likweise.
6001         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6002         (posix_fallocate): Likewise.
6003         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6004         (__posix_fallocate64_l64): Likewise.
6005         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6006         [!__ASSUME_FALLOCATE]: Add comment.
6008 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6010         * sysdeps/unix/sysv/linux/i386/Makefile
6011         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6012         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6013         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6014         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6015         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6016         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6017         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6019 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
6021         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6022         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6023         tgamma.
6024         * math/auto-libm-test-out: Regenerated.
6025         * sysdeps/i386/fpu/libm-test-ulps: Update.
6026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6028 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6030         * math/auto-libm-test-in: Add more tests of tgamma.
6031         * math/auto-libm-test-out: Regenerated.
6032         * sysdeps/i386/fpu/libm-test-ulps: Update.
6033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035         * math/auto-libm-test-in: Add more tests of tanh.
6036         * math/auto-libm-test-out: Regenerated.
6037         * sysdeps/i386/fpu/libm-test-ulps: Update.
6038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6040         * math/auto-libm-test-in: Add more tests of tan.
6041         * math/auto-libm-test-out: Regenerated.
6042         * sysdeps/i386/fpu/libm-test-ulps: Update.
6043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6045         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6046         * math/auto-libm-test-out: Regenerated.
6047         * sysdeps/i386/fpu/libm-test-ulps: Update.
6048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6050         * math/auto-libm-test-in: Add another test of pow.
6051         * math/auto-libm-test-out: Regenerated.
6052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6054         * math/auto-libm-test-in: Add more tests of lgamma.
6055         * math/auto-libm-test-out: Regenerated.
6056         * sysdeps/i386/fpu/libm-test-ulps: Update.
6057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6059         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6060         log1p.
6061         * math/auto-libm-test-out: Regenerated.
6062         * sysdeps/i386/fpu/libm-test-ulps: Update.
6063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6067         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6068         Elf64_Chdr structs and ELFCOMPRESS constants.
6070 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6072         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6073         expm1.
6074         * math/auto-libm-test-out: Regenerated.
6075         * sysdeps/i386/fpu/libm-test-ulps: Update.
6076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6078         * math/auto-libm-test-in: Add more tests of erf and erfc.
6079         * math/auto-libm-test-out: Regenerated.
6080         * sysdeps/i386/fpu/libm-test-ulps: Update.
6081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6083 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6085         * config.h.in (HAVE_AARCH64_BE): Add.
6087 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6089         * math/auto-libm-test-in: Add more tests of csqrt.
6090         * math/auto-libm-test-out: Regenerated.
6091         * sysdeps/i386/fpu/libm-test-ulps: Update.
6092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6094         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6095         * math/auto-libm-test-out: Regenerated.
6096         * sysdeps/i386/fpu/libm-test-ulps: Update.
6097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6101 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6103         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6104         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6106         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6107         (euidaccess, eaccess): Define as weak aliases.
6109         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6110         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6111         but __suseconds_t is often 'long int' so some sources assume that
6112         type is being used (e.g. they use %ld to print tv_usec).
6114 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6116         [BZ #18007]
6117         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6118         (CVE-2014-8121)
6119         * nss/tst-nss-getpwent.c: New file.
6120         * nss/Makefile (tests): Add new test.
6122 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6124         [BZ #18346]
6125         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6126         exponents less than 48 as cases where high part of mantissa needs
6127         examining to determine whether argument is integral.
6128         * math/libm-test.inc (round_test_data): Add more tests.
6130 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6132         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6134 2015-04-27  David S. Miller  <davem@davemloft.net>
6136         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6137         __tls_get_addr.
6138         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6140 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6142         [BZ#18333]
6143         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6145 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6147         [BZ#18333]
6148         * time/tzset.c (parse_tzname): Return error on memory allocation
6149         failure.
6150         * test-skeleton.c (struct temp_name_list): Change type of name
6151         member to non-const.
6152         (add_temp_file): Create a copy of the file name.
6153         (delete_temp_files): Deallocate memory.
6154         (create_temp_file): Add comment.
6156 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6158         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6159         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6161 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6163         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6164         * sysdeps/arm/configure: Regenerated.
6166 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6168         [BZ #17715]
6169         * time/tzfile.c (__tzfile_read): Check for large values of
6170         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6171         * time/tzset.c (__tzstring_len): New function, based on the old
6172         __tzstring function.
6173         (__tzstring): Call __tzstring_len.
6174         (parse_tzname): New helper function extracted from
6175         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6176         the input string.
6177         (parse_offset): New helper function extracted from
6178         __tzset_parse_tz.  Replace switch with fallthrough with
6179         initialization before sscanf.
6180         (parse_rule): Likewise.
6181         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6182         new-style function definition.
6183         * timezone/Makefile (tests): Add tst-tzset.
6184         (tst-tzset.out): Dependencies on time zone files.
6185         (tst-tzset-ENV): Set TZDIR.
6186         (testdata/XT%): Copy crafted time zone files.
6187         * timezone/README: Mention crafted time zone files.
6188         * timezone/testdata/XT1, timezone/testdata/XT2,
6189         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6190         files.
6191         * timezone/tst-tzset.c: New test.
6193 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6195         * Makeconfig (+gccwarn): Remove -Winline.
6197 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6199         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6201 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6203         * NEWS: Mention sysconf() cache information support for s390.
6204         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6206 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6208         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6209         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6210         (__nearbyint): Likewise.
6211         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6212         (copysignl): Likewise.
6214 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6216         [BZ #18287]
6217         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6218         based on padding.  (CVE-2015-1781)
6220 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6222         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6223         libc-vdso.h.
6224         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6225         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6226         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6227         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6228         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6229         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6230         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6231         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6232         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6233         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6234         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6235         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6236         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6237         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6238         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6239         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6240         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6242         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6243         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6244         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6245         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6246         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6248 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6250         * stdlib/setenv.c (__add_to_environ):
6251         Dump core quickly if setenv (..., NULL, ...) is called.
6252         This time, do it the right way, and pacify GCC with a pragma.
6254 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6256         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6257         IMAP->l_prev cannot be null, and #if out the code for the contrary
6258         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6259         believe that NS (&_dl_ns[NSID]) could point outside the array.
6261         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6262         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6263         before using NSID as an index.
6265 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6267         [BZ #17825]
6268         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6269         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6270         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6272 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6274         Add preliminary port to Google Native Client on ARM.
6275         * abi-tags (.*-.*-nacl.*): New entry.
6276         * sysdeps/arm/nacl: New directory.
6277         * sysdeps/nacl: New directory.
6279 2015-04-16  David S. Miller  <davem@davemloft.net>
6281         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6282         lowlevellock-futex.h
6284 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6286         * sysdeps/tile/configure.ac: New file.
6287         * sysdeps/tile/configure: Regenerated.
6289 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6291         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6292         conditionals for weak_alias and libc_hidden_weak.
6293         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6294         libc_hidden_weak and weak_alias.
6295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6296         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6297         and weak_alias for static one.
6299 2015-04-15  David S. Miller  <davem@davemloft.net>
6301         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6303 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6305         [BZ #18206]
6306         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6307           Use signed comparision instead of substraction to avoid
6308           overflow bug.
6309         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6310           Take the sign of ret.
6311         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6312           Do not expect precise return values. Only the sign matters.
6313         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6314         * wcsmbs/test-wcsncmp.c: New File.
6315         * string/test-strncmp.c: Add wcsncmp support.
6317 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6319         [BZ #6792]
6320         * math/w_log1p.c: New file.
6321         * math/w_log1pf.c: Likewise.
6322         * math/w_log1pl.c: Likewise.
6323         * math/Makefile (libm-calls): Add w_log1p.
6324         * math/s_log1pl.c (log1pl): Remove weak_alias.
6325         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6326         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6327         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6328         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6329         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6330         [NO_LONG_DOUBLE] (log1pl): Likewise.
6331         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6332         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6333         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6334         (log1p): Remove long_double_symbol.
6335         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6336         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6337         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6338         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6339         remove weak_alias for corresponding log1p function.
6340         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6341         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6342         * sysdeps/ia64/fpu/w_log1p.c: New file.
6343         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6344         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6345         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6347 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6349         [BZ #18247]
6350         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6351         decimal exponent by 1.
6352         * stdlib/tst-strtod-round-data: Add more tests.
6353         * stdlib/tst-strtod-round.c (tests): Regenerated.
6355 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6357         * math/auto-libm-test-in: Add more tests of clog and clog10.
6358         * math/auto-libm-test-out: Regenerated.
6359         * sysdeps/i386/fpu/libm-test-ulps: Update.
6360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6362 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6364         * Makeconfig (module-cppflags): Exclude all .v.i files.
6365         (skip-module-cppflags): Variable removed.
6367         * configure.ac (libc_config_ok): Initialize before reading
6368         preconfigure scripts, not after.
6369         * configure: Regenerated.
6371         * test-skeleton.c (TIMEOUT): Move #define to top level.
6372         (main): Grok environment variable TEST_DIRECT.  If set, print
6373         test expectation details into that file and then behave as if
6374         given --direct.
6376 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6378         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6379         warning on 32-bit.
6381 2015-04-08  David S. Miller  <davem@davemloft.net>
6383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6385 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6387         * math/auto-libm-test-in: Add more tests of atanh.
6388         * math/auto-libm-test-out: Regenerated.
6389         * sysdeps/i386/fpu/libm-test-ulps: Update.
6390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6392         * math/auto-libm-test-in: Add more tests of atan.
6393         * math/auto-libm-test-out: Regenerated.
6394         * sysdeps/i386/fpu/libm-test-ulps: Update.
6395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6397 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6399         * elf/pldd.c (main): Rewrite to use struct
6400         scratch_buffer instead of extend_alloca.
6401         * elf/pldd-xx.c (find_maps): Likewise.
6402         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6403         <alloca.h>.
6404         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6405         scratch_buffer instead of extend_alloca.
6406         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6407         grp/compat-initgroups.c.
6408         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6409         Rewrite to use struct scratch_buffer instead of extend_alloca.
6410         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6411         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6413 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6415         * math/auto-libm-test-in: Add more tests of cbrt.
6416         * math/auto-libm-test-out: Regenerated.
6417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6419         * math/auto-libm-test-in: Add more tests of cabs.
6420         * math/auto-libm-test-out: Regenerated.
6421         * sysdeps/i386/fpu/libm-test-ulps: Update.
6422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6424         [BZ #18210]
6425         [BZ #18211]
6426         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6427         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6428         computations.
6429         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6430         clog10.
6431         * math/auto-libm-test-out: Regenerated.
6432         * sysdeps/i386/fpu/libm-test-ulps: Update.
6433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6435         [BZ #18197]
6436         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6437         (atan): Set FE_TONEAREST mode for internal computations.
6438         * math/auto-libm-test-in: Add more tests of atan.
6439         * math/auto-libm-test-out: Regenerated.
6441 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6443         [BZ #17930]
6444         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6446 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6448         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6450 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6452         * include/scratch_buffer.h: New file.
6453         * malloc/scratch_buffer_grow.c: Likewise.
6454         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6455         * malloc/scratch_buffer_set_array_size.c: Likewise.
6456         * malloc/tst-scratch_buffer.c: Likewise.
6457         * malloc/Makefile (routines): Add scratch_buffer_grow.
6458         (tests): Add test case.
6459         * malloc/Versions (GLIBC_PRIVATE): Export
6460         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6461         __libc_scratch_buffer_set_array_size.
6463 2015-04-06  Richard Henderson  <rth@redhat.com>
6465         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6466         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6468         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6469         unsigned int before printing.
6471 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6473         [BZ #17596]
6474         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6475         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6477 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6479         * include/libc-internal.h (libc_max_align_t): Define.
6481 2015-04-02  Andreas Schwab  <schwab@suse.de>
6483         [BZ #16850]
6484         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6486 2015-04-02  Mel Gorman  <mgorman@suse.de>
6488         [BZ #17195]
6489         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6490         as well as the main arena.
6492 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6494         [BZ #18185]
6495         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6496         sharing L2 cache to 2 for Silvermont/Knights Landing.
6498 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6500         [BZ #17711]
6501         * config.make.in (have-protected-data): New.
6502         * configure.ac: Check linker support for protected data symbol.
6503         * configure: Regenerated.
6504         * elf/Makefile (modules-names): Add tst-protected1moda and
6505         tst-protected1modb if $(have-protected-data) is yes.
6506         (tests): Add tst-protected1a and tst-protected1b if
6507         $(have-protected-data) is yes.
6508         ($(objpfx)tst-protected1a): New.
6509         ($(objpfx)tst-protected1b): Likewise.
6510         (tst-protected1modb.so-no-z-defs): Likewise.
6511         * elf/tst-protected1a.c: New file.
6512         * elf/tst-protected1b.c: Likewise.
6513         * elf/tst-protected1mod.h: Likewise.
6514         * elf/tst-protected1moda.c: Likewise.
6515         * elf/tst-protected1modb.c: Likewise.
6517 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6519         [BZ #17711]
6520         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6521         indicates it is called from do_lookup_x on relocation against
6522         protected data, skip the data definion in the executable from
6523         copy reloc.
6524         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6525         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6526         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6527         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6528         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6529         otherwise to 0.
6530         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6531         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6532         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6533         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6534         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6535         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6537 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6539         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6540         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6542 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6544         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6545         THREAD_SETMEM_NC.
6546         * sysdeps/x86_64/nptl/tls.h: Ditto.
6548 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6550         * dlfcn/tststatic.c (main): Converted to ...
6551         (do_test): ... this.
6552         (TEST_FUNCTION): New macro.
6553         Include test-skeleton.c.
6555 2015-03-26  Alan Modra  <amodra@gmail.com>
6557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6558         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6559         zero for undefined weak.
6560         (elf_machine_plt_conflict): Similarly.
6562 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6564         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6565         atanh.
6566         * math/auto-libm-test-out: Regenerated.
6567         * sysdeps/i386/fpu/libm-test-ulps: Update.
6568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6570         * math/auto-libm-test-in: Add another test of asin.
6571         * math/auto-libm-test-out: Regenerated.
6572         * sysdeps/i386/fpu/libm-test-ulps: Update.
6573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6575         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6576         Remove macro.
6577         (LLL_EBX_REG): Likewise.
6578         (LLL_ENTER_KERNEL): Likewise.
6580         * math/auto-libm-test-in: Add more tests of asin.
6581         * math/auto-libm-test-out: Regenerated.
6582         * sysdeps/i386/fpu/libm-test-ulps: Update.
6583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6585         [BZ #18138]
6586         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6587         libc_do_syscall_args): New structure.
6588         (INTERNAL_SYSCALL_MAIN_0): New macro.
6589         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6590         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6591         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6592         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6593         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6594         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6595         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6596         Replace conditional definitions by conditional definitions of ....
6597         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6598         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6599         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6600         (libpthread-sysdep_routines): Add libc-do-syscall.
6601         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6603         to __NR_futex not 240.
6605 2015-03-25  Alan Modra  <amodra@gmail.com>
6607         * NEWS: Advertise TLS optimization.
6608         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6609         (DT_PPC_NUM): Increment.
6610         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6611         (CHECK_STATIC_TLS): Use here.
6612         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6613         TLS descriptors.
6614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6615         * sysdeps/powerpc/dl-tls.c: New file.
6616         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6617         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6618         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6619         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6624 2015-03-25  Alan Modra  <amodra@gmail.com>
6626         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6627         for overlapping .opd entries" to "support...".
6628         * sysdeps/powerpc/powerpc64/configure: Regenerate
6630 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6632         * math/auto-libm-test-in: Add more tests of acos.
6633         * math/auto-libm-test-out: Regenerated.
6634         * sysdeps/i386/fpu/libm-test-ulps: Update.
6635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6637         * math/auto-libm-test-in: Add more tests of expm1.
6638         * math/auto-libm-test-out: Regenerated.
6639         * sysdeps/i386/fpu/libm-test-ulps: Update.
6640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6642 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6644         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6645         * math/auto-libm-test-out: Regenerated.
6646         * sysdeps/i386/fpu/libm-test-ulps: Update.
6647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6649         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6652         * math/auto-libm-test-in: Add more tests of log2.
6653         * math/auto-libm-test-out: Regenerated.
6654         * sysdeps/i386/fpu/libm-test-ulps: Update.
6655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6657 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6659         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6660         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6661         _IO_IS_APPENDING bit in READ_WRITE instead.
6663 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6665         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6666         (__determine_cpumask_size): Replace extend_alloca with a
6667         variable-length array.  Do not treat res == 0 as an error.
6669 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6671         [BZ #18100]
6672         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6673         and integer overflow.
6674         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6675         (main): Add integer overflow tests.
6676         * manual/pattern.texi (Calling Wordexp): Document additional use
6677         for WRDE_SYNTAX.
6679 2015-03-23  Alan Modra  <amodra@gmail.com>
6681         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6682         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6683         and false branch of conditional.
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6685         Likewise.
6687 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6689         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6690         libc-modules.h
6691         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6692         unused declaration of _hurd_intr_rpc_msg_in_trap.
6693         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6694         defined instead of whether it is non-zero.
6695         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6696         input constraint instead of both input and output constraint.  Use ecx
6697         clobber instead of %ecx.
6698         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6699         mutex_unlock): Use a statement expression instead of an expression list.
6700         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6701         type to vm_size_t instead of vm_address_t.
6702         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6703         defined instead of whether it is non-zero.
6704         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6705         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6706         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6707         comparisons with mapaddr.
6708         * nscd/nscd-client.h: Include <time.h>.
6709         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6710         9th parameter to __vm_region instead of int.
6711         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6712         * scripts/check-local-headers.sh (exclude): Add device/,
6713         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6714         cthreads.h.
6716 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6718         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6719         to account for alignment padding.
6720         * sysdeps/arm/memmove.S: Likewise.
6722 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6724         * sysdeps/unix/sysv/linux/generic/README: New file.
6726 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6728         [BZ #18138]
6729         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6730         (futex_abstimed_wait)
6731         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6732         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6733         of lll_futex_timed_wait.
6735 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6737         [BZ #17542]
6738         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6740 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6742         [BZ #17090]
6743         [BZ #17620]
6744         [BZ #17621]
6745         [BZ #17628]
6746         * NEWS: Update.
6747         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6748         entries with Static TLS too.  Skip entries past the end of the
6749         allocated DTV, from Alan Modra.
6750         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6751         Static TLS DTV entry set up from...
6752         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6753         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6754         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6755         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6756         for Static TLS.
6757         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6758         that the slot we find is associated with the given map before
6759         using its generation count.
6760         * nptl_db/db_info.c: Include ldsodefs.h.
6761         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6762         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6763         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6764         (link_map::l_tls_offset): New struct field.
6765         (dtv_t::counter): Likewise.
6766         (rtld_global): New struct.
6767         (_rtld_global): New rtld variable.
6768         (dl_tls_dtv_slotinfo_list): New rtld global field.
6769         (dtv_slotinfo_list): New struct.
6770         (dtv_slotinfo): Likewise.
6771         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6772         (td_lookup): Rename to...
6773         (td_mod_lookup): ... this.  Use new mod parameter instead of
6774         LIBPTHREAD_SO.
6775         * nptl_db/td_thr_tlsbase.c: Include link.h.
6776         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6777         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6778         addresses even if the DTV is out of date or missing them.
6779         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6780         index zero-length arrays.
6781         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6782         (td_lookup): Make it a macro implemented in terms of...
6783         (td_mod_lookup): ... this declaration.
6784         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6785         (DB_MAIN_VARIABLE): Likewise.
6787 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6789         [BZ #18134]
6790         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6792 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6794         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6796 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6798         [BZ #18128]
6799         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6800         (atomic_add, atomic_increment_and_test)
6801         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6803 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6805         * stdlib/setenv.c (__add_to_environ):
6806         Dump core quickly if setenv (..., NULL, ...) is called.
6808 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6810         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6811         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6812         all the necessary asm magic in one place.
6813         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6814         using those.
6816 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6818         [BZ #14906]
6819         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6820         traced file mtime. Use consistent log message.
6821         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6822         (register_traced_file): Call install_watches. Always set mtime.
6823         (invalidate_cache): Iterate over all trace files. Call install_watches.
6824         (inotify_check_files): Don't inline. Handle watching parent
6825         directories and configuration file movement in and out.
6826         (handle_inotify_events): New function.
6827         (main_loop_poll): Call handle_inotify_events.
6828         (main_loop_epoll): Likewise.
6829         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6830         (struct traced_file): Use array of inotify fds. Add parent directory,
6831         and basename.
6832         (struct database_dyn): Remove unused file_mtime.
6833         (init_traced_file): New inline function.
6834         (define_traced_file): New macro.
6835         * nss/nss_db/db-init.c: Use define_traced_file.
6836         (_nss_db_init): Use init_traced_file.
6837         * nss/nss_files/files-init.c: Use define_traced_file.
6838         (_nss_files_init): Use init_traced_file.
6840 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6842         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6843         [_LIBC]: Do not include <stdlib.h>.
6844         [!_LIBC] (abort): Remove declaration.
6845         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6846         _FP_STATIC_ASSERT instead of conditionally calling abort.
6847         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6848         (_FP_EXTEND_CNAN): Likewise.
6849         (FP_TRUNC): Likewise.
6850         (__FP_CLZ): Likewise.
6851         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6853 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6855         * manual/string.texi (XPG basename): Fix prototype.
6857 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6859         [BZ #18080]
6860         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6861         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6862         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6863         (__setcontext): Likewise.
6864         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6865         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6866         Call rt_sigprocmask syscall one time to set new signal mask
6867         and retrieve the current signal mask instead of two calls.
6868         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6869         (__swapcontext): Likewise.
6870         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6871         * stdlib/tst-setcontext2.c: New file.
6873 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6875         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6877 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6879         [BZ #18093]
6880         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6881         the wrong size.
6883 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6885         [BZ #18043]
6886         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6888 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6890         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6891         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6892         Remove define.
6893         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6894         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6895         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6896         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6897         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6898         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6899         define.
6900         * nptl_db/td_symbol_list.c (td_lookup): Remove
6901         HAVE_ASM_GLOBAL_DOT_NAME code.
6902         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6903         HAVE_ASM_GLOBAL_DOT_NAME check.
6904         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6905         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6906         (DOT_LABEL): Remove define.
6907         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6908         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6909         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6910         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6911         (__TLS_GET_ADDR): Likewise.
6912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6913         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6915 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6917         [BZ #18111]
6918         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6919         (_FPU_SETCW): Initialize cw from fpsr before storing.
6920         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6921         (fesetexceptflag): Rewrite using fpu_control.h.
6922         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6924 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6926         [BZ #18110]
6927         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6928         asms.
6929         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6931 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6933         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6934         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6935         abort.
6936         (_FP_FMA): Likewise.
6937         (_FP_DIV): Likewise.
6939 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6941         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6942         with 0 in that case.
6943         * Makefile (summarize-tests): New canned sequence, factored out of
6944         commands for targets tests and xtests.  Display summary lines that
6945         don't start with PASS: or XFAIL: rather than ones that do start with
6946         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6947         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6948         do start with ERROR: or FAIL:.
6949         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6950         (except for [$(build-shared) = yes]).
6951         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6952         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6953         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6954         * nptl/Makefile: Revert 2015-03-04 changes.
6955         [$(CXX) empty] (tests-unsupported): New variable.
6956         * debug/Makefile: Likewise.
6958         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6959         gnulib file.  Replace __attribute with __attribute__ throughout.
6961 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6963         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6965 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6967         [BZ #18104]
6968         * math/auto-libm-test-in: Add another test of pow.
6969         * math/auto-libm-test-out: Regenerated.
6971 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6973         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6974         $(config-cflags-nofma).
6976 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6978         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6979         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6980         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6981         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6982         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6983         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6984         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6985         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6986         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6987         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6988         Add comment on closing #endif.
6990 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6992         * posix/wordexp.c (CHAR_IN_SET): New macro.
6993         (parse_param): Use it.
6995 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6997         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6999 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7001         [BZ #18043]
7002         * posix/wordexp.c (parse_param): Fix buffer overflow.
7003         * posix/wordexp-test.c (test_case): Add test case.
7005 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7007         [BZ #18042]
7008         * posix/wordexp.c (parse_backtick): Fix off-by-one.
7009         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7011 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7013         [BZ #18043]
7014         * posix/wordexp-test.c (test_case): Add test for BZ #18043
7015         (do_bz18043): Delete.
7016         (at_page_end): New.
7017         (testit): Refactor to have words at the edge of unreadable page.
7019 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7021         [BZ #16734]
7022         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7023         Cleanup read-only streams as well.
7024         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7026 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7028         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7029         <bits/libc-lockP.h>
7031 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
7033         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
7034         on [__KERNEL__].
7035         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7036         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7037         * soft-fp/op-common.h (_FP_DECL): Likewise.
7039 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7041         * elf/ifuncdep2.c (global): Replace
7042         __attribute__((visibility("protected"))) with
7043         asm (".protected global").
7044         * elf/ifuncmod1.c (global): Likewise.
7045         * elf/ifuncmod5.c (global): Likewise.
7047 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
7049         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7050         <asm/sfp-machine.h> instead of <sfp-machine.h>.
7052 2015-03-06  Roland McGrath  <roland@hack.frob.com>
7054         * manual/install.texi (Configuring and compiling):
7055         Document test-wrapper-env-only.
7056         * INSTALL: Regenerated.
7058 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7060         [BZ #18043]
7061         * posix/wordexp.c (parse_param): Fix buffer overflow.
7062         * posix/wordexp-test.c (do_bz18043): Add test case.
7064 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7066         * time/tst-strptime2.c (do_test): Ensure failing tests are
7067         reported correctly.
7068         * time/tst-strptime3.c (do_test): Likewise.
7070 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7072         Fix aio_error thread-safety.
7073         * sysdeps/pthread/aio_error.c: New file
7074         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7075         synchronization.
7077 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7079         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7080         (group_number, vfprintf): Use it.
7081         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7082         (JUMP, REF): Use it.
7083         (WORK_BUFFER_SIZE): New enum constant.
7084         (process_arg, vfprintf): Use it.
7086 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7088         * manual/errno.texi (Error Messages): Complete example function
7089         by adding missing #define.
7090         (program_invocation_name): Add statement indicating GNU
7091         extension and reference which header file declares the variable.
7092         (program_invocation_short_name): Likewise.
7094 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7096         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7097         compatibility note.
7099 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7101         * Makeconfig (test-wrapper-env-only): New variable.
7102         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7103         then use that with $(test-wrapper-env-only) rather than using
7104         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7106 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7108         [BZ #18082]
7109         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7110         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7111         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7112         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7113         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7114         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7115         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7116         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7117         Likewise.
7118         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7119         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7120         Likewise.
7121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7122         Likewise.
7123         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7124         Likewise.
7125         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7126         Likewise.
7127         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7128         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7129         Likewise.
7130         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7131         Likewise.
7132         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7133         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7135 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7137         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7138         (ETH_ALEN): New macro.
7139         (struct ether_addr): Use it for length of ether_addr_octet.
7141         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7142         (setdb): Don't call __nss_configure_lookup for "rpc".
7143         (do_test): Don't call test_rpc.
7144         (output_rpcent, test_rpc): Functions moved ...
7145         * sunrpc/test-rpcent.c: ... to this new file.
7146         * sunrpc/Makefile (tests): Add it.
7148         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7149         __xpg_sigpause.
7150         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7151         * nptl/tst-signal6.c: Likewise.
7152         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7153         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7155         * configure.ac (libc_cv_cxx_link_ok): New check.
7156         Reset CXX to empty if it fails to link.
7157         * configure: Regenerated.
7158         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7159         bug-atexit3-lib only if $(CXX) is nonempty.
7160         * nptl/Makefile (tests): Likewise for tst-cancel24.
7161         (tests, tests-static): Likewise for tst-cancel24-static.
7162         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7163         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7164         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7165         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7167 2015-03-04  Andreas Schwab  <schwab@suse.de>
7169         [BZ #17631]
7170         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7171         for non-GCC compilers.
7172         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7173         Likewise.
7175 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7177         [BZ #17776]
7178         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7179         integer before bitwise and assembly operations.
7180         (feclearexcept): Likewise.
7181         * math/test-fenvinline.c: New file.
7182         * math/Makefile: Add test-fenvinline test.
7184 2015-03-03  Alan Modra  <amodra@gmail.com>
7186         [BZ #16512]
7187         * scripts/localplt.awk: Strip off symbol version.
7188         * NEWS: Mention bug fix.
7190 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7192         * sysdeps/pthread/timer_routines.c
7193         (timer_free_list, thread_free_list, thread_active_list): Make static.
7195 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7197         [BZ #17779]
7198         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7199         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7200         Undefine.
7201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7202         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7203         Likewise.
7204         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7205         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7206         Likewise.
7208 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7210         [BZ #18036]
7211         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7212         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7214 2015-03-02  Andreas Schwab  <schwab@suse.de>
7216         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7217         variable name.
7219 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7221         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7222         Return error status.
7224 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7226         [BZ #15969]
7227         * locale/findlocale.c (_nl_find_locale): Introduce const
7228         version of loc_name and drop unsafe type casts.
7230 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7232         * dlfcn/tststatic2.c (main): Converted to ...
7233         (do_test): ... this.
7234         (TEST_FUNCTION): New macro.
7235         Include test-skeleton.c.
7237 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7239         [BZ #17711]
7240         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7241         (tests-pie): Add vismain.
7242         (CFLAGS-vismain.c): New.
7243         * elf/vismain.c: Add comments for PIE requirement.
7245 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7247         [BZ #18046]
7248         [BZ #18047]
7249         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7250         0x1p-56L as threshold for just returning the argument.
7251         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7252         0x1p-32L as threshold for just returning the argument.
7253         * math/auto-libm-test-in: Add more tests of atanh.
7254         * math/auto-libm-test-out: Regenerated.
7255         * sysdeps/i386/fpu/libm-test-ulps: Update.
7256         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7258 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7260         * string/bcopy.c (bcopy): Call memmove for performance.
7262 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7264         * string/bzero.c (__bzero): Call memset for performance.
7266 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7268         [BZ #18068]
7269         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7270         to 00100000.
7272 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7274         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7276 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7278         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7279         (__kernel_standard): Use CSTR macro when setting exc.name.
7280         * sysdeps/ieee754/Makefile [$(subdir) = math]
7281         (CFLAGS-k_standard.c): Remove variable.
7283         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7284         setting p and q from "else if" to "else".
7285         (qzero): Likewise.
7286         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7287         (qone): Likewise.
7288         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7289         (qzerof): Likewise.
7290         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7291         (qonef): Likewise.
7292         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7293         (qzero): Likewise.
7294         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7295         (qone): Likewise.
7297         [BZ #18038]
7298         [BZ #18039]
7299         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7300         return pi/2 for arguments below 0x1p-113L.
7301         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7302         return pi/2 for arguments below 0x1p-106L.
7303         * math/auto-libm-test-in: Add more tests of acos.
7304         * math/auto-libm-test-out: Regenerated.
7306         [BZ #16351]
7307         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7308         (MO): New macro.
7309         (__ieee754_asin): Force underflow exception for results with small
7310         absolute value.
7311         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7312         (MO): New macro.
7313         (__ieee754_asinf): Force underflow exception for results with
7314         small absolute value.
7315         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7316         (__ieee754_asin): Force underflow exception for results with small
7317         absolute value.
7318         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7319         (__ieee754_asinf): Force underflow exception for results with
7320         small absolute value.
7321         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7322         (__ieee754_asinl): Force underflow exception for results with
7323         small absolute value.
7324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7325         (__ieee754_asinl): Force underflow exception for results with
7326         small absolute value.
7327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7328         (__ieee754_asinl): Force underflow exception for results with
7329         small absolute value.
7330         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7331         Include <math.h>.
7332         * math/auto-libm-test-in: Do not mark underflow exceptions as
7333         possibly missing for bug 16351.
7334         * math/auto-libm-test-out: Regenerated.
7336         [BZ #18030]
7337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7338         of power of 2 down when low part has opposite sign.
7339         * math/libm-test.inc (logb_test_data): Add more tests.
7341 2015-02-26  Andreas Schwab  <schwab@suse.de>
7343         [BZ #18032]
7344         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7345         over collating symbol inside a bracket expression.  Minor cleanup.
7346         * posix/tst-fnmatch3.c (do_test): Add test case.
7348 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7350         [BZ #18029]
7351         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7352         Adjust exponent of power of 2 down when low part has opposite
7353         sign.
7354         * math/libm-test.inc (ilogb_test_data): Add more tests.
7356 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7358         [BZ #15969]
7359         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7360         the previous change.
7362         [BZ #15969]
7363         * locale/findlocale.c (_nl_find_locale): Retry archive search
7364         after alias expansion.
7366 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7368         * iconv/tst-iconv3.c (main): Converted to ...
7369         (do_test): ... this.
7370         (TEST_FUNCTION): New macro.
7371         Include test-skeleton.c.
7373         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7374         (convert): Make function static.
7375         (test_unalign): Likewise.  Add const to argument pointee types.
7376         (main): Replace with static function do_test.
7377         Print "Succeeded." only if RET is zero.
7378         (TEST_FUNCTION): New macro.
7379         Include test-skeleton.c.
7381         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7382         returns a null pointer.
7384 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7386         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7387         to __memcpy_ppc only for static builds.
7389 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7391         [BZ #18020]
7392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7393         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7394         * math/auto-libm-test-in: Add more tests of asinh.
7395         * math/auto-libm-test-out: Regenerated.
7396         * sysdeps/i386/fpu/libm-test-ulps: Update.
7397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7399 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7401         [BZ #15850]
7402         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7403         and ip6_mtuinfo definitions here.
7404         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7405         in this define too.  Update comment.
7407 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7409         * elf/sprof.c (load_shobj): Tweak error message to match others.
7411 2015-02-24  Kevin Easton  <kevin@guarana.org>
7413         [BZ #16145] (partial fix)
7414         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7415         to reduce lock contention.
7417 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7419         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7420         (struct timex): Update time comment.
7421         (ADJ_SETOFFSET): Define.
7423 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7425         [BZ #18019]
7426         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7427         2**56 not 2**28 as threshold for log (2x) formula.
7428         * math/auto-libm-test-in: Add more tests of acosh.
7429         * math/auto-libm-test-out: Regenerated.
7430         * sysdeps/i386/fpu/libm-test-ulps: Update.
7431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7433 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7435         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7436         parenthesis around the buf assignment.
7437         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7439 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7441         [BZ #16783]
7442         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7443         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7444         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7445         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7446         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7447         * math/libm-test.inc (scalb_test_data): Add more tests.
7449 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7451         [BZ #17916]
7452         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7453         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7455 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7457         [BZ #17523]
7458         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7459         * io/bits/fcntl2.h (open): Use it.
7460         (openat): Likewise.
7461         * io/open.c (__libc_open): Likewise.
7462         * io/open64.c (__libc_open64): Likewise.
7463         * io/open64_2.c (__open64_2): Likewise.
7464         * io/open_2.c (__open_2): Likewise.
7465         * io/openat.c (__openat): Likewise.
7466         * io/openat64.c (__openat64): Likewise.
7467         * io/openat64_2.c (__openat64_2): Likewise.
7468         * io/openat_2.c (__openat_2): Likewise.
7469         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7470         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7471         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7472         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7473         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7474         (__open_nocancel): Likewise.
7475         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7476         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7477         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7479 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7481         [BZ #14841]
7482         * resolv/gethnamaddr.c (getanswer): Skip logging if
7483         RES_USE_DNSSEC is set.
7484         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7486 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7488         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7490 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7492         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7493         201304L, for Unicode 7.
7495 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7497         [BZ #17836]
7498         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7499         shared library.  Add gmon-start.os otherwise.
7500         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7501         $(objpfx)gmon-start.os if builing shared library.
7502         ($(objpfx)g$(static-start-installed-name)): Likewise.
7504 2015-02-23  Andreas Schwab  <schwab@suse.de>
7506         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7508 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7510         [BZ #17269]
7511         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7512         (enlarge_userbuf): Likewise.
7514 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7516         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7517         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7518         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7519         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7521 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7523         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7524         expression inside statement expression.
7526 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7528         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7529         <sysdeps/nptl/lowlevellock.h> and remove macros and
7530         functions that are now defined there.
7531         (SYS_futex): Remove.
7532         (lll_compare_and_swap): Remove.
7533         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7535 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7537         [BZ #17999]
7538         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7539         instead of scandirat.
7540         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7541         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7542         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7543         __scandirat.
7544         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7545         (__scandirat): Declare.  Use libc_hidden_proto.
7546         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7547         Remove variable.
7548         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7550 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7552         [BZ #15319]
7553         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7554         (MO): New macro.
7555         (__ieee754_atan2): For results with small absolute value, force
7556         underflow exception and remove excess range and precision from
7557         return value.
7558         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7559         (MO): New macro.
7560         (__ieee754_atan2f): For results with small absolute value, force
7561         underflow exception and remove excess range and precision from
7562         return value.
7563         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7564         (MO): New macro.
7565         (__atan): For results with small absolute value, force underflow
7566         exception and remove excess range and precision from return value.
7567         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7568         (MO): New macro.
7569         (__atanf): For results with small absolute value, force underflow
7570         exception and remove excess range and precision from return value.
7571         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7572         <math.h>.
7573         (__ieee754_atan2): Force underflow exception for results with
7574         small absolute value.
7575         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7576         <math_private.h>.
7577         (atan): Force underflow exception for results with small absolute
7578         value.
7579         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7580         (__atanf): Force underflow exception for results with small
7581         absolute value.
7582         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7583         <math.h>.
7584         (__atanl): Force underflow exception for results with small
7585         absolute value.
7586         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7587         (__atanl): Force underflow exception for results with small
7588         absolute value.
7589         * sysdeps/x86/fpu/bits/mathinline.h
7590         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7591         (__ieee754_atan2): Only define inline for long double.
7592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7593         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7594         * math/auto-libm-test-in: Do not mark underflow exceptions as
7595         possibly missing for bug 15319.  Add more tests of atan2.
7596         * math/auto-libm-test-out: Regenerated.
7597         * math/libm-test.inc (casin_test_data): Do not mark underflow
7598         exceptions as possibly missing for bug 15319.
7599         (casinh_test_data): Likewise.
7600         * sysdeps/i386/fpu/libm-test-ulps: Update.
7602 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7604         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7605         * sysdeps/mips/bits/endian.h: Fix comments.
7607 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7609         [BZ #17996]
7610         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7611         (hdestroy_r): Likewise.
7612         (hsearch_r): Likewise.
7613         (__hcreate_r): Declare and use libc_hidden_proto.
7614         (__hdestroy_r): Likewise.
7615         (__hsearch_r): Likewise.
7616         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7617         (hcreate): Call __hcreate_r instead of hcreate_r.
7618         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7619         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7620         as weak alias of __hcreate_r.
7621         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7622         __hdestroy_r.
7623         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7624         __hsearch_r.
7625         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7626         Remove variable.
7627         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7628         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7629         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7630         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7632 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7634         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7635         arena_lock into a single arena_get.
7637 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7639         * dl-reloc.c: Inlucde libc-internal.h.
7640         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7641         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7642         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7643         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7644         (grow_heap): Likewise.
7645         * malloc/malloc.c: Include libc-internal.h.
7646         (do_check_malloc): Call powerof2.
7647         (sysmalloc): Use pagesize. Call ALIGN_UP.
7648         (systrim): Use pagesize.
7649         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7650         (__libc_valloc): Use pagesize.
7651         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7653 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7655         [BZ #17991]
7656         * include/sys/resource.h (__getrlimit64): Declare.  Use
7657         libc_hidden_proto.
7658         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7659         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7660         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7661         getrlimit64.
7662         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7663         __getrlimit64.
7664         [!getrlimit64] (getrlimit64): Define as weak alias of
7665         __getrlimit64.  Use libc_hidden_weak.
7666         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7667         using __getrlimit64 not __new_getrlimit64.
7668         (__GI_getrlimit64): Likewise.
7669         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7670         Likewise.
7671         (__GI_getrlimit64): Likewise.
7672         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7674         (getrlimit): Add __getrlimit64 alias.
7675         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7676         Likewise.
7677         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7678         Remove variable.
7679         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7680         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7682 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7684         * libio/fileops.c: Add missing sys/mman.h
7685         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7687 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7689         * manual/math.texi (Errors in Math Functions): Clarify goals
7690         regarding inexact and underflow exceptions.
7692 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7694         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7695         * sysdeps/mips/memset.S: Ditto.
7697 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7699         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7701 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7703         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7704         (__v1longjmp): Remove versioned symbol.
7705         (__v1siglongjmp): Remove alias and versioned symbol.
7706         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7707         (__v2siglongjmp): Likewise.
7709 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7711         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7713 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7715         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7717 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7719         [BZ #17987]
7720         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7721         zero result does not depend on the sign resulting from
7722         subtraction.
7723         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7724         Likewise.
7725         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7726         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7727         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7728         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7729         * math/libm-test.inc (remquo_test_data): Add more tests.
7731 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7733         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7734         Problem reported by J William Piggott.
7736 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7738         [BZ #17978]
7739         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7740         products 4 * y and 2 * y where those would overflow.
7741         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7742         Likewise.
7743         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7744         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7745         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7746         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7747         * math/libm-test.inc (remquo_test_data): Add more tests.
7749         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7751         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7752         [defined _COMPILING_NEWLIB].
7753         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7754         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7756         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7757         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7759 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7761         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7762         acquired.
7764 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7766         [BZ #17792]
7767         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7768         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7769         HOST_STACK_END_ADDR): Likewise.
7771 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7773         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7774         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7775         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7777 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7779         * sysdeps/generic/c++-types.data: New file.
7780         * sysdeps/generic/ld.abilist: New file.
7781         * sysdeps/generic/libBrokenLocale.abilist: New file.
7782         * sysdeps/generic/libanl.abilist: New file.
7783         * sysdeps/generic/libc.abilist: New file.
7784         * sysdeps/generic/libcrypt.abilist: New file.
7785         * sysdeps/generic/libdl.abilist: New file.
7786         * sysdeps/generic/libm.abilist: New file.
7787         * sysdeps/generic/libpthread.abilist: New file.
7788         * sysdeps/generic/libresolv.abilist: New file.
7789         * sysdeps/generic/librt.abilist: New file.
7791 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7793         [BZ #17569]
7794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7795         Compute absolute value of x as modified by fmod, not original
7796         value of x.
7797         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7798         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7799         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7800         RUN_TEST_ffI_f1_mod8.
7801         (remquo_test_data): Add more tests.
7803 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7805         * sysdeps/init_array/pt-crti.S: New file.
7807 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7809         [BZ #17967]
7810         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7811         __builtin_fmaf instead of relying on contraction of a * b + c.
7813 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7815         [BZ #17969]
7816         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7817         node.
7819 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7821         [BZ #17964]
7822         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7823         __builtin_fma instead of relying on contraction of a * b + c.
7825 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7827         * Makeconfig (ASFLAGS): Add -Werror=undef.
7828         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7829         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7830         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7832         * Makeconfig (after-link): New variable.
7833         (+link-pie, +link-pie-tests): Use it.
7834         (+link-static, +link-static-tests): Likewise.
7835         (+link, +link-tests): Likewise.
7836         * Makerules (build-module, build-module-asneeded): Likewise.
7837         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7838         Likewise.
7839         * elf/Makefile ($(objpfx)ld.so): Likewise.
7841 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7843         [BZ #17965]
7844         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7845         both struct timeval and struct timespec.
7847 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7849         [BZ #16560]
7850         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7851         and redefine.
7852         (__ieee754_exp2l): Do not multiply small fractional parts by
7853         M_LN2l.
7854         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7855         small argument.
7856         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7857         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7858         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7859         * math/auto-libm-test-in: Add more tests of exp2.
7860         * math/auto-libm-test-out: Regenerated.
7862 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7864         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7865         unaligned path.
7867 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7869         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7870         little endian.
7872 2015-02-12  Andreas Schwab  <schwab@suse.de>
7874         [BZ #15790]
7875         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7876         Filter out elision flags from value returned in kind.
7877         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7878         * nptl/tst-pthread-mutexattr.c: New file.
7880 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7882         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7883         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7884         into gnu-gnu, and update comment to refer to abi-tags.
7886 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7888         [BZ #15467]
7889         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7890         (__sincos): Set errno to EDOM for infinite argument.
7891         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7892         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7893         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7894         (__sincosl): Set errno to EDOM for infinite argument.
7895         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7896         (__sincosl): Set errno to EDOM for infinite argument.
7897         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7898         (__sincosl): Set errno to EDOM for infinite argument.
7899         * math/libm-test.inc (sincos_test_data): Test errno setting.
7901 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7903         * string/strxfrm_l.c: Remove #define STRCMP.
7904         * string/strcoll_l.c: Remove #define STRLEN.
7905         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7906         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7908 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7910         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7911         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7912         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7913         * sysdeps/mips/mips64/Makefile: ... here.
7914         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7915         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7916         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7917         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7918         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7919         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7920         * sysdeps/mips/mips64/n64/Implies: Likewise.
7922 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7924         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7925         <sys/time.h>, <string.h>, and <errno.h>.
7926         (dest_offset, dest_address, value, zero): Remove unused variables.
7927         (ldouble): Remove typedef.
7928         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7929         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7930         1).  Fix code style.
7931         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7932         (check): Function removed.
7933         (CHECK): New macro.
7934         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7935         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7936         Don't call set_sigaction_FP and remove_sigaction_FP here.
7937         (ldouble_test): Just use 'long double' as macro argument, no need for
7938         the 'ldouble' typedef.
7939         (do_test): Set up SIGFPE handler at start, using plain signal rather
7940         than sigaction.  Fix code style.
7942 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7944         [BZ #17949]
7945         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7946         jump label.
7948 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7950         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7951         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7953         * sysdeps/powerpc/configure.ac: Remove file.
7954         * sysdeps/powerpc/configure: Likewise.
7956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7957         [sysdep_routines]: Remove wordcopy-power6 object.
7958         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7959         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7960         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7961         (__memmove_ppc32): Likewise.
7962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7963         file.
7964         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7966         Remove preprocessor.
7968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7969         [sysdep_routines]: Remove wide chars objects.
7970         [wcsmbs]: New rule for wide char objects.
7972         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7973         Remove wordcopy-power6 obejct.
7974         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7975         Use local call for wordcopy and memcpy symbols.
7976         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7977         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7978         implementation for loader.
7979         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7981         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7982         Remove wordcopy-power7 object.
7983         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7985         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7986         (_wordcopy_fwd_dest_aligned): Likewise.
7987         (_wordcopy_bwd_aligned): Likewise.
7988         (_wordcopy_bwd_dest_aligned): Likewise.
7990         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7991         Rewrite to call __memmove_ppc instead of include default
7992         implementation.
7994         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7995         Remove wide chars objects.
7996         [wcsmbs]: New rule for wide char objects.
7998 2015-02-09  Andreas Schwab  <schwab@suse.de>
8000         [BZ #17912]
8001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8002         in terms of __O_DIRECTORY.
8004 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8006         * time/getdate.c: Include <stdbool.h>.
8007         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8008         call PTR_MANGLE.
8009         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8010         PTR_DEMANGLE.
8012 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8014         Add ersatz _Static_assert on older C hosts
8015         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8016         pre-C11 C platform that is not known to support _Static_assert.
8018 2015-02-07  Richard Braun  <rbraun@sceen.net>
8020         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8021         sigstate.
8022         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8024 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8026         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8027         priority against unexistent AIO_PRIO_DELTA_MAX.
8028         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8029         instead of int.
8030         * misc/fchflags.c (fchflags): Likewise.
8031         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8032         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8033         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8034         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8035         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8036         Declare macros.
8037         [__USE_MISC] (chflags, fchflags): Declare functions.
8038         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8039         EINVAL when nfds is greater than FD_SETSIZE.
8040         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8041         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8042         45.
8043         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8044         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8045         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8046         MACH_RCV_TIMED_OUT.
8047         * hurd/hurd/signal.h (_hurd_self_sigstate,
8048         _hurd_critical_section_lock, _hurd_critical_section_unlock):
8049         Explicit casts from void *.
8050         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8051         * abi-tags: Rename gnu-gnu os into gnu.
8053         [BZ #4719]
8054         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8055         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8056         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8057         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8058         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8059         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8061         [BZ #17944]
8062         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8063         duplicates ADDR->sun_path with sockaddr LEN limitation.
8064         * sysdeps/mach/hurd/connect.c: Include <string.h>
8065         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8066         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8067         * sysdeps/mach/hurd/sendto.c: Likewise.
8068         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8069         implementing it by hand.
8071 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8073         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8074         Use sfi_breg on ldr.
8075         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8076         Likewise.
8078         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8079         it's defined.
8080         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8081         Test SIGSETXID only if it's defined.
8083         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8085         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8086         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8088         * nptl/tst-align2.c: Moved ...
8089         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8090         * nptl/Makefile (tests): Remove tst-align2.
8091         * sysdeps/unix/sysv/linux/Makefile
8092         [$(subdir) = nptl] (tests): Add tst-align-clone.
8093         * nptl/tst-getpid1.c: Moved ...
8094         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8095         * nptl/tst-getpid2.c: Moved ...
8096         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8097         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8098         * sysdeps/unix/sysv/linux/Makefile
8099         [$(subdir) = nptl] (tests): ... here.
8100         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8101         * sysdeps/unix/sysv/linux/Makefile
8102         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8104         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8105         Drop trailing \n from perror argument.  Use return rather than exit.
8107         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8108         on [SA_SIGINFO].
8109         * nptl/tst-cancel21.c (do_test): Likewise.
8110         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8111         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8112         [!SA_SIGINFO]: Make it a stub test.
8114         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8115         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8117         * posix/tst-getlogin.c: Move to ...
8118         * login/tst-getlogin.c: ... here.
8119         * posix/Makefile (tests): Move tst-getlogin to ...
8120         * login/Makefile (tests): ... here.
8122         * libio/tst-atime.c (do_test): Move local variables SV and E
8123         inside [ST_NOATIME] conditional.
8125         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8127         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8129         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8130         (wait_code): New function replaces macro.
8131         Call nanosleep rather than syscall.
8133         * nptl/pt-system.c: Rewritten.  Put everything under
8134         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8135         Use IFUNC to redirect when possible.
8137         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8138         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8139         Use IFUNC to redirect when possible.
8141         * nptl/pt-fork.c: Rewritten.  Put everything under
8142         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8143         Use IFUNC to redirect when possible.
8144         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8146         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8147         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8148         unconditionally nowadays.  This included the only reference to
8149         __vdso_clock_gettime that appears outside libc proper.
8150         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8151         Remove version set (containing only __vdso_clock_gettime).
8152         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8153         Add attribute_hidden.
8154         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8155         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8156         libc_hidden_data_def.
8157         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8158         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8160         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8161         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8162         setrpcent, and getrpcport to ...
8163         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8164         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8165         getrpcbynumber_r, and getrpcent_r to ...
8166         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8167         * inet/getrpcbyname.c: Moved ...
8168         * sunrpc/getrpcbyname.c: ... here.
8169         * inet/getrpcbyname_r.c: Moved ...
8170         * sunrpc/getrpcbyname_r.c: ... here.
8171         * inet/getrpcbynumber.c: Moved ...
8172         * sunrpc/getrpcbynumber.c: ... here.
8173         * inet/getrpcbynumber_r.c: Moved ...
8174         * sunrpc/getrpcbynumber_r.c: ... here.
8175         * inet/getrpcent.c: Moved ...
8176         * sunrpc/getrpcent.c: ... here.
8177         * inet/getrpcent_r.c: Moved ...
8178         * sunrpc/getrpcent_r.c: ... here.
8179         * inet/Makefile (routines): Move those to ...
8180         * sunrpc/Makefile (routines): ... here.
8181         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8182         the $(subdirs) list.
8183         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8184         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8185         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8186         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8188         * elf/Makefile (routines): Include $(all-dl-routines), not just
8189         $(dl-routines).
8190         (rtld-routines): Likewise.  Use = rather than :=.
8191         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8192         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8193         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8194         * sysdeps/arm/Makefile: Likewise.
8195         * sysdeps/i386/Makefile: Likewise.
8196         * sysdeps/x86_64/Makefile: Likewise.
8197         * sysdeps/hppa/Makefile [$(subdir) = elf]
8198         (sysdep_routines, sysdep-rtld-routines): Don't add
8199         $(sysdep-dl-routines) to these.
8200         * sysdeps/ia64/Makefile: Likewise.
8201         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8202         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8203         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8204         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8205         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8206         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8207         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8208         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8209         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8210         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8211         these; sysdep-dl-routines alone is enough.
8213 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8215         [BZ #17932]
8216         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8217         where multiplication results in zero and third argument is finite
8218         and nonzero.
8219         * math/auto-libm-test-in: Add more tests of fma.
8220         * math/auto-libm-test-out: Regenerated.
8222         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8223         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8224         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8225         (_FP_CMP_EQ): Likewise.
8226         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8228         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8229         extra argument CHECK_NAN.  Redefine as wrapper around
8230         _FP_EXTEND_CNAN.
8232 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8234         * version.h (RELEASE): Set to "stable".
8235         (VERSION): Set to "2.21"
8236         * include/features.h (__GLIBC_MINOR__): Set to 21.
8238         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8240 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8241             Paul Eggert  <eggert@cs.ucla.edu>
8243         [BZ #16618]
8244         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8245         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8246         size in bytes. Store needed elements in wpmax. Use needed size
8247         in bytes for extend_alloca.
8249 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8251         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8252         binutls 2.25, and texinfo 5.2.
8253         * INSTALL: Regenerate.
8254         * sysdeps/nios2/configure: Regenerate.
8255         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8256         * manual/contrib.texi: Update.
8257         * po/be.po: Update.
8258         * po/bg.po: Update.
8259         * po/ca.po: Update.
8260         * po/cs.po: Update.
8261         * po/da.po: Update.
8262         * po/de.po: Update.
8263         * po/el.po: Update.
8264         * po/eo.po: Update.
8265         * po/es.po: Update.
8266         * po/fi.po: Update.
8267         * po/fr.po: Update.
8268         * po/gl.po: Update.
8269         * po/hr.po: Update.
8270         * po/hu.po: Update.
8271         * po/ia.po: Update.
8272         * po/id.po: Update.
8273         * po/it.po: Update.
8274         * po/ja.po: Update.
8275         * po/ko.po: Update.
8276         * po/lt.po: Update.
8277         * po/nb.po: Update.
8278         * po/nl.po: Update.
8279         * po/pl.po: Update.
8280         * po/pt_BR.po: Update.
8281         * po/ru.po: Update.
8282         * po/rw.po: Update.
8283         * po/sk.po: Update.
8284         * po/sl.po: Update.
8285         * po/sv.po: Update.
8286         * po/tr.po: Update.
8287         * po/uk.po: Update.
8288         * po/vi.po: Update.
8289         * po/zh_CN.po: Update.
8290         * po/zh_TW.po: Update.
8292         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8293         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8294         * sysdeps/hppa/dl-irel.h: Remove #warning.
8295         * sysdeps/hppa/entry.h: Provide prototype for
8296         __canonicalize_funcptr_for_compare and cast argument.
8297         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8298         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8299         * sysdeps/hppa/sotruss-lib.c: New file.
8300         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8301         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8302         (atomic_compare_and_exchange_bool_acq): Likewise.
8303         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8304         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8306         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8307         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8308         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8310 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8312         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8313         called function in non-PIC case.
8315 2015-01-31  David S. Miller  <davem@davemloft.net>
8317         * sysdeps/sparc/sparc32/bits/atomic.h
8318         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8319         unlock not after it.
8320         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8321         volatile register usage warnings from the compiler.
8323         * sysdeps/sparc/nptl/sem_init.c: Delete.
8324         * sysdeps/sparc/nptl/sem_post.c: Delete.
8325         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8326         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8327         * sysdeps/sparc/sparc32/sem_init.c: New file.
8328         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8329         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8330         padding explicitly initialized.
8331         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8332         padding for in-semaphore spinlock.
8333         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8334         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8335         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8336         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8337         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8338         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8339         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8340         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8341         version.
8342         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8343         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8345 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8347         [BZ #17801]
8348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8349         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8350         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8351         New.
8352         (index_AVX_Fast_Unaligned_Load): Likewise.
8353         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8354         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8355         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8356         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8357         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8358         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8359         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8360         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8361         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8363 2015-01-29  Andreas Schwab  <schwab@suse.de>
8365         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8367 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8369         [BZ #17892]
8370         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8372 2015-01-28  Martin Sebor  <msebor@redhat.com>
8374         * math/README.libm-test: Clarify. Add "How to read the test output."
8376 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8378         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8379         Define to 0.
8381 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8383         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8384         (__HAVE_64B_ATOMICS): Define to 0.
8386 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8388         [BZ #17885]
8389         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8390         value to set as new flag.
8392         [BZ #16576]
8393         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8394         and use _ARCH_PPCSQ instead.
8395         (__ieee754_sqrt): Likewise.
8396         (__ieee754_sqrtf): Likewise.
8397         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8398         _ARCH_PPCSQ is defined.
8399         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8400         fsqrt instruction.
8401         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8402         _ARCH_PPCSQ is defined.
8403         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8404         fsqrts instruction.
8405         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8407 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8409         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8410         bug (GCC BZ #64739).
8412 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8414         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8415         Mark _retval as used.
8416         (lll_futex_wake_unlock): Likewise.
8417         (lll_futex_timed_wait_requeue_pi): Likewise.
8419         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8420         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8421         register variables.
8423         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8424         libm_hidden_def.
8426         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8427         (__bswap_64): Mark as __always_inline.
8429 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8431         [BZ #15378]
8432         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8433         when none of the search directories exist.
8435 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8437         [BZ #17869]
8438         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8439         power8 in .machine directive.
8441         [BZ #17868]
8442         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8443         set dependency from opd value.
8445 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8448         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8449         architecture.
8451 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8453         [BZ #17870]
8454         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8455         with uint64_t.
8456         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8457         (uint64_t) 1.
8458         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8459         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8460         Replace 1UL with (uint64_t) 1.
8461         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8462         int with uint64_t.
8464 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8466         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8467         (if_freenameindex): Likewise.
8469         * resource/getrlimit64.c: Add missing libc_hidden_def.
8471 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8473         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8474         __label__.
8475         (_FP_FMA): Likewise.
8476         (_FP_TO_INT_ROUND): Likewise.
8477         (_FP_FROM_INT): Likewise.
8479 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8481         [BZ #16418]
8482         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8483         Make code racy and cancel safe.
8485 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8487         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8488         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8489         attribution.
8491         * pwd/tst-getpw.c: Rewrite.
8493         [BZ #17702]
8494         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8495         (modules-names): Add moddummy1 and moddummy2.
8496         ($(objpfx)tst-rec-dlopen): Define.
8497         * dlfcn/moddummy1.c: New file.
8498         * dlfcn/moddummy2.c: New file.
8499         * dlfcn/tst-rec-dlopen.c: New file.
8500         * elf/dl-cache.c (_dl_load_cache_lookup):
8501         Return char*. Copy result with alloca/strcpy/strdup.
8502         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8503         returns char*. Free cached. If not saving realname
8504         free cached.
8505         * elf/dl-open.c (dl_open_worker): Do not assert that
8506         _r_debug->r_state is RT_CONSISTENT.
8507         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8508         returns char*.
8510 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8511             Carlos O'Donell  <carlos@redhat.com>
8513         [BZ #12674]
8514         * nptl/sem_waitcommon.c: New file.
8515         * nptl/sem_wait.c: Include sem_waitcommon.c.
8516         (__sem_wait_cleanup, do_futex_wait): Remove.
8517         (__new_sem_wait): Adapt.
8518         (__new_sem_trywait): New function.
8519         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8520         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8521         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8522         (sem_timedwait): Adapt.
8523         * nptl/sem_post.c (__new_sem_post): Adapt.
8524         (futex_wake): New function.
8525         (__old_sem_post): Add release MO fence.
8526         * nptl/sem_open.c (sem_open): Adapt.
8527         * nptl/sem_init.c (__new_sem_init): Adapt.
8528         (futex_private_if_supported): New function.
8529         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8530         (__old_sem_getvalue): Add using previous code.
8531         * sysdeps/nptl/internaltypes.h: Adapt.
8532         * nptl/tst-sem13.c (do_test): Adapt.
8533         * nptl/tst-sem11.c (main): Adapt.
8534         * nptl/sem_trywait.c: Remove.
8535         * nptl/DESIGN-sem.txt: Remove.
8536         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8537         (gen-as-const-headers): Remove structsem.sym.
8538         * nptl/structsem.sym: Remove.
8539         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8540         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8541         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8542         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8543         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8544         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8545         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8546         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8547         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8548         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8549         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8550         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8551         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8552         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8553         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8554         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8555         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8556         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8557         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8558         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8559         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8560         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8562 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8564         * INSTALL: Regenerated.
8566         * po/libc.pot: Regenerated.
8568 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8569             Sandra Loosemore  <sandra@codesourcery.com>
8570             Andrew Jenner  <andrew@codesourcery.com>
8571             Joseph Myers  <joseph@codesourcery.com>
8572             Nathan Sidwell  <nathan@codesourcery.com>
8574         * NEWS: Mention new Nios II port.
8575         * sysdeps/nios2/Implies: New file.
8576         * sysdeps/nios2/Makefile: New file.
8577         * sysdeps/nios2/Subdirs: New file.
8578         * sysdeps/nios2/Versions: New file.
8579         * sysdeps/nios2/__longjmp.S: New file.
8580         * sysdeps/nios2/abort-instr.h: New file.
8581         * sysdeps/nios2/backtrace.c: New file.
8582         * sysdeps/nios2/bits/endian.h: New file.
8583         * sysdeps/nios2/bits/fenv.h: New file.
8584         * sysdeps/nios2/bits/link.h: New file.
8585         * sysdeps/nios2/bits/setjmp.h: New file.
8586         * sysdeps/nios2/bsd-_setjmp.S: New file.
8587         * sysdeps/nios2/bsd-setjmp.S: New file.
8588         * sysdeps/nios2/configure: New generated file.
8589         * sysdeps/nios2/configure.ac: New file.
8590         * sysdeps/nios2/crti.S: New file.
8591         * sysdeps/nios2/crtn.S: New file.
8592         * sysdeps/nios2/dl-init.c: New file.
8593         * sysdeps/nios2/dl-machine.h: New file.
8594         * sysdeps/nios2/dl-sysdep.h: New file.
8595         * sysdeps/nios2/dl-tls.h: New file.
8596         * sysdeps/nios2/dl-trampoline.S: New file.
8597         * sysdeps/nios2/gccframe.h: New file.
8598         * sysdeps/nios2/gmp-mparam.h: New file.
8599         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8600         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8601         * sysdeps/nios2/ldsodefs.h: New file.
8602         * sysdeps/nios2/libc-tls.c: New file.
8603         * sysdeps/nios2/libm-test-ulps: New file.
8604         * sysdeps/nios2/machine-gmon.h: New file.
8605         * sysdeps/nios2/math-tests.h: New file.
8606         * sysdeps/nios2/math_private.h: New file.
8607         * sysdeps/nios2/memusage.h: New file.
8608         * sysdeps/nios2/nptl/Makefile: New file.
8609         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8610         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8611         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8612         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8613         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8614         * sysdeps/nios2/nptl/tls.h: New file.
8615         * sysdeps/nios2/preconfigure: New file.
8616         * sysdeps/nios2/s_fma.c: New file.
8617         * sysdeps/nios2/s_fmaf.c: New file.
8618         * sysdeps/nios2/setjmp.S: New file.
8619         * sysdeps/nios2/sfp-machine.h: New file.
8620         * sysdeps/nios2/sotruss-lib.c: New file.
8621         * sysdeps/nios2/stackguard-macros.h: New file.
8622         * sysdeps/nios2/stackinfo.h: New file.
8623         * sysdeps/nios2/start.S: New file.
8624         * sysdeps/nios2/sysdep.h: New file.
8625         * sysdeps/nios2/tls-macros.h: New file.
8626         * sysdeps/nios2/tst-audit.h: New file.
8627         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8628         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8629         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8630         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8631         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8632         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8633         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8634         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8635         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8636         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8637         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8638         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8639         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8640         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8641         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8642         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8643         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8644         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8645         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8646         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8647         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8648         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8649         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8650         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8651         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8652         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8653         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8654         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8655         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8656         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8657         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8658         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8659         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8660         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8661         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8662         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8663         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8664         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8665         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8666         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8667         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8668         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8669         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8670         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8672 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8674         [BZ #17844]
8675         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8676         (getutent): Use weak_alias in non SHARED case
8677         and default_symbol_version in SHARED case.
8678         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8679         (getutent_r, pututline): Likewise.
8680         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8681         (getutid): Likewise.
8682         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8683         (getutid_r): Likewise.
8684         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8685         (getutline): Likewise.
8686         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8687         (getutline_r): Likewise.
8688         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8689         (updwtmp): Likewise.
8691 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8693         [BZ #17848]
8694         * sysdeps/s390/s390-32/memcmp.S
8695         (memcmp_g5): Rename to __memcmp_g5.
8696         * sysdeps/s390/s390-32/memcpy.S
8697         (memcpy_g5): Rename to __memcpy_g5.
8698         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8699         (memcpy_mvcle) Rename to __memcpy_mvcle.
8700         * sysdeps/s390/s390-32/memset.S
8701         (memset_g5): Rename to __memset_g5.
8702         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8703         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8704         and use prefixed functions.
8705         * sysdeps/s390/s390-32/multiarch/memcmp.S
8706         (memcmp_z196): Rename to __memcmp_z196.
8707         (memcmp_z10): Rename to __memcmp_z10.
8708         (memcmp): Set alias to __memcmp_g5.
8709         (bcmp): Set alias to __memcmp_g5.
8710         * sysdeps/s390/s390-32/multiarch/memcpy.S
8711         (memcpy_z196): Rename to __memcpy_z196.
8712         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8713         (memcpy_z10): Rename to __memcpy_z10.
8714         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8715         (memcpy): Set alias to __memcpy_g5.
8716         * sysdeps/s390/s390-32/multiarch/memset.S
8717         (memset_z196): Rename to __memset_z196.
8718         Jump to __memset_mvcle instead of memset_mvcle.
8719         (memset_z10): Rename to __memset_z10.
8720         Jump to __memset_mvcle instead of memset_mvcle.
8721         (memset_mvcle) Rename to __memset_mvcle.
8722         (memset): Set alias to __memset_g5.
8723         * sysdeps/s390/s390-64/memcmp.S
8724         (memcmp_z900): Rename to __memcmp_z900.
8725         * sysdeps/s390/s390-64/memcpy.S
8726         (memcpy_z900): Rename to __memcpy_z900.
8727         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8728         (memcpy_mvcle) Rename to __memcpy_mvcle.
8729         * sysdeps/s390/s390-64/memset.S
8730         (memset_z900): Rename to __memset_z900.
8731         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8732         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8733         and use prefixed functions.
8734         * sysdeps/s390/s390-64/multiarch/memcmp.S
8735         (memcmp_z196): Rename to __memcmp_z196.
8736         (memcmp_z10): Rename to __memcmp_z10.
8737         (memcmp): Set alias to __memcmp_z900.
8738         (bcmp): Set alias to __memcmp_z900.
8739         * sysdeps/s390/s390-64/multiarch/memcpy.S
8740         (memcpy_z196): Rename to __memcpy_z196.
8741         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8742         (memcpy_z10): Rename to __memcpy_z10.
8743         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8744         (memcpy): Set alias to __memcpy_z900.
8745         * sysdeps/s390/s390-64/multiarch/memset.S
8746         (memset_z196): Rename to __memset_z196.
8747         Jump to __memset_mvcle instead of memset_mvcle.
8748         (memset_z10): Rename to __memset_z10.
8749         Jump to __memset_mvcle instead of memset_mvcle.
8750         (memset_mvcle) Rename to __memset_mvcle.
8751         (memset): Set alias to __memset_z900.
8753 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8755         [BZ #17748]
8756         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8757         __fesetenv instead of fesetenv.
8759 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8761         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8762         macro.
8764 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8766         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8767         regression on LE.
8769         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8770         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8771         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8772         strncmp-power8 object.
8773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8774         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8775         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8776         * NEWS: Update.
8778 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8779             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8781         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8782         trailing byte check.
8784 2015-01-13  David S. Miller  <davem@davemloft.net>
8786         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8788 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8790         * login/logout.c (logout): Use memset rather than bzero.
8791         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8792         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8793         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8794         (_gethtbyaddr): Likewise.
8795         * locale/programs/simple-hash.c (bcopy): Macro removed.
8797 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8799         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8800         Add strcmp-power8 object.
8801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8802         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8803         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8804         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8805         __strcmp_power8 implementation.
8806         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8807         * NEWS: Update.
8809         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8810         Add strncpy-power8 and stpncpy-power8 objects.
8811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8812         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8813         implementations.
8814         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8815         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8816         __stpncpy_power8 implementation.
8817         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8818         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8819         __strncpy_power8 implementation.
8820         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8821         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8822         * NEWS: Update.
8824         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8825         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8826         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8829         strncat-power8 object.
8830         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8831         __strcat_power8 implementation.
8832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8833         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8834         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8835         optimized strcat for power8.
8837         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8838         strcpy-power8 and stpcpy-power8 objects.
8839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8840         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8841         implementations.
8842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8843         multiarch stpcpy implementation for POWER8.
8844         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8845         multiarch strcpy implementation for POWER8.
8846         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8847         __strcpy_power8 function.
8848         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8849         stpcpy for POWER8.
8850         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8851         strcpy for POWER8.
8852         * NEWS: Update.
8854 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8856         [BZ #16009]
8857         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8858         weights and rules. Use do_xfrm_cached if data fits in cache,
8859         do_xfrm otherwise.  Moved former main loop to...
8860         * (do_xfrm_cached): New function.
8861         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8862         find_idx, find_position and stack_push.
8863         * (find_idx): New function.
8864         * (find_position): Likewise.
8865         * localedata/sort-test.sh: Added test run for do_xfrm.
8866         * localedata/xfrm-test.c (main): Added command line option
8867         -nocache to run the test with strings that are too large for
8868         the STRXFRM cache.
8870 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8872         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8873         variable to lll_futex_wake call, not the value itself.
8875 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8877         [BZ #17803]
8878         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8879         twom64.  Adjust value to 0x1p-64L.
8880         (__scalblnl): Only return standard underflowing result for K <=
8881         -64 not K <= -63; adjust exponent for underflowing result by 64
8882         not 63.
8883         * math/libm-test.inc (scalbn_test_data): Add more tests.
8884         (scalbln_test_data): Likewise.
8886         [BZ #17834]
8887         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8888         0x1p63L.
8889         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8890         not HX.
8891         * math/libm-test.inc (scalbn_test_data): Add more tests.
8892         (scalbln_test_data): Likewise.
8894 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8895             Stefani Seibold  <stefani@seibold.net>
8897         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8898         (sysdep_routines): Add dl-vdso here, ...
8899         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8900         (sysdep_routines): ... not here.
8901         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8902         fallback when vDSO is not presented.
8903         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8904         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8905         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8906         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8907         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8908         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8909         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8910         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8911         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8913         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8914         fallback configurable symbol when vDSO is not available.
8915         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8916         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8917         be able to redefine fallback symbol when vDSO is not available.
8918         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8919         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8921 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8923         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8924         (TLS_INIT_TP): Add tm_capable initialization.
8925         (TLS_DEFINE_INIT_TP): Likewise.
8926         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8927         TCB.
8928         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8929         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8930         calculation.
8931         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8932         transactoion is lock elision is built and TCB tm_capable is set.
8933         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8935         (INTERNAL_SYSCALL_NCS): Likewise.
8936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8937         (INTERNAL_SYSCALL_NCS): Likewise.
8938         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8940         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8941         for powerpc.
8942         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8943         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8944         and remove it for 32 bits case.
8945         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8947         initialization.
8948         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8949         Disable lock elision with rdlocks if elision is not available.
8951         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8952         (sysdep_routines): Add lock elision objects.
8953         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8954         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8955         [pthread_mutex_t] (__elision): Add field.
8956         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8957         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8958         elision definitions for powerpc.
8959         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8960         implementation of lock elision for powerpc.
8961         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8962         implementation of timed lock elision for powerpc.
8963         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8964         implementation of trylock with lock elision for powerpc.
8965         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8966         implementaion of unlock for lock elision for powerpc.
8967         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8968         automatic enable lock elision for mutexes.
8969         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8970         transaction execution definitions for powerpc.
8971         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8972         definitions.
8973         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8974         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8975         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8976         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8977         * NEWS: Update.
8979 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8981         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8982         for #include of <shm-directory.h>.
8984 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8986         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8987         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8989 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8991         [BZ #17791]
8992         * NEWS: Mention bug fix.
8993         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8994         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8995         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8997 2015-01-09  Torvald Riegel <triegel@redhat.com>
8999         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9001 2015-01-09  Torvald Riegel <triegel@redhat.com>
9003         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9005 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9007         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9008         pointer and cast to uintptr_t.
9010 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9012         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9013         removed.
9014         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9016 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9018         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9019         of 0.
9021 2015-01-08  Roland McGrath  <roland@hack.frob.com>
9023         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9024         <nptl/pthreadP.h> instead.
9025         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9027         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9028         already defined.
9029         [__SIGRTMIN] (init): Function removed.
9030         [__SIGRTMIN] (initialized): Variable removed.
9031         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9032         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9033         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9034         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9035         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9036         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9037         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9038         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9039         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9040         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9041         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9042         * sysdeps/nptl/allocrtsig.c: New file.
9043         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9044         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9045         * sysdeps/generic/testrtsig.h: File removed.
9047         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9048         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9050         * nptl/nptl-init.c (pthread_functions): Conditionalize
9051         .ptr__nptl_setxid initialization on [SIGSETXID].
9053         * sysdeps/nptl/sys/procfs.h: New file.
9054         * nptl_db/Makefile (headers): Add it.
9055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9057         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9058         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9059         * nptl/pthread_attr_setaffinity.c: Include it.
9060         * nptl/pthread_setattr_default_np.c: Likewise.
9061         * nptl/check-cpuset.h: New file.
9063 2015-01-08  Richard Henderson  <rth@redhat.com>
9065         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9066         (CFLAGS-tst-execstack-prog.c): Likewise.
9067         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9069 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9070             Sandra Loosemore  <sandra@codesourcery.com>
9071             Andrew Jenner  <andrew@codesourcery.com>
9072             Joseph Myers  <joseph@codesourcery.com>
9073             Nathan Sidwell  <nathan@codesourcery.com>
9075         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9076         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9077         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9078         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9079         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9080         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9081         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9082         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9083         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9084         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9085         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9086         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9087         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9088         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9089         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9090         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9091         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9093 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9095         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9096         timespec struct member in syscall macro.
9097         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9098         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9099         first timeval struct member in syscall macro.
9100         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9102 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9104         [BZ #17748]
9105         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9106         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9107         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9108         __feupdateenv and define as weak alias of __feupdateenv.  Use
9109         libm_hidden_weak.
9110         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9111         libm_hidden_def.
9112         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9113         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9114         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9115         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9116         libm_hidden_def.
9117         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9118         __feupdateenv and define as weak alias of __feupdateenv.  Use
9119         libm_hidden_weak.
9120         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9121         libm_hidden_def.
9122         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9123         __feupdateenv and define as weak alias of __feupdateenv.  Use
9124         libm_hidden_weak.
9125         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9126         libm_hidden_def.
9127         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9128         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9129         (__feupdateenv): Likewise.
9130         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9131         __feupdateenv and define as weak alias of __feupdateenv.  Use
9132         libm_hidden_weak.
9133         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9134         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9135         libm_hidden_def.
9136         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9137         function.
9138         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9139         libm_hidden_def.
9140         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9141         __feupdateenv instead of feupdateenv.
9142         (default_libc_feupdateenv_test): Likewise.
9143         (libc_feresetround_ctx): Likewise.
9145 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9147         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9148         prototype.
9150 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9152         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9153         COLL_SYM in a couple of places to avoid uninitialized variable
9154         wanings on tilegx gcc 4.8.2.
9156 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9158         * sysdeps/aarch64/strcpy.S: New file.
9159         * sysdeps/aarch64/stpcpy.S: New file.
9160         * NEWS: Updated.
9162 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9164         * sysdeps/aarch64/strrchr.S: New file.
9165         * NEWS: Updated.
9167 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9169         [BZ #17658]
9170         * stdlib/setenv.c: Fix memory leak when setting large,
9171         duplicate string.
9173 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9175         [BZ #17273]
9176         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9177         and tabs from buffer before parsing fstab entry.
9178         * misc/tst-mntent.c (main): Add test for mount entry with
9179         trailing spaces and tabs.
9181 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9183         [BZ #17748]
9184         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9185         * math/fesetround.c (fesetround): Rename to __fesetround and
9186         define as weak alias of __fesetround.  Use libm_hidden_weak.
9187         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9188         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9189         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9190         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9191         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9192         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9193         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9194         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9195         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9196         __fesetround_inline.
9197         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9198         __fesetround_inline instead of __fesetround.
9199         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9200         __fesetround and define as weak alias of __fesetround.  Use
9201         libm_hidden_weak.  Call __fesetround_inline instead of
9202         __fesetround.
9203         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9204         __fesetround and define as weak alias of __fesetround.  Use
9205         libm_hidden_weak.
9206         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9207         Likewise.
9208         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9209         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9210         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9211         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9212         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9213         __fesetround and define as weak alias of __fesetround.  Use
9214         libm_hidden_weak.
9215         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9216         __fesetround instead of fesetround.
9217         (default_libc_feholdexcept_setround): Likewise.
9218         (libc_feholdsetround_ctx): Likewise.
9219         (libc_feholdsetround_noex_ctx): Likewise.
9221         [BZ #17748]
9222         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9223         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9224         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9225         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9226         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9227         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9228         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9229         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9230         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9231         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9232         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9233         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9234         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9235         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9236         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9237         libm_hidden_def.
9238         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9239         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9240         Likewise.
9241         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9242         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9243         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9244         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9245         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9246         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9247         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9248         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9249         __fesetenv instead of fesetenv.
9250         (libc_feresetround_noex_ctx): Likewise.
9251         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9252         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9253         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9254         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9255         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9256         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9257         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9258         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9259         (__feupdateenv): Likewise.
9260         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9261         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9262         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9263         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9265 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9267         [BZ #17806]
9268         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9269         addresses have been freed.
9271 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9273         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9274         and nservall.
9276 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9278         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9279         Clean up check_pf allocation pattern. addresses
9281 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9283         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9284         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9285         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9286         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9287         * nptl/pthread_join.c (pthread_join): Likewise.
9288         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9289         * sysdeps/posix/waitid.c (__waitid): Likewise.
9290         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9291         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9292         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9293         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9295         Likewise.
9296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9297         (__libc_pread64): Likewise.
9298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9299         (__libc_pwrite): Likewise.
9300         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9301         (__libc_pwrite64): Likewsie.
9302         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9303         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9304         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9305         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9306         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9307         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9308         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9310         Likewise.
9311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9312         (__libc_pread64): Likewise.
9313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9314         Likewise.
9315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9316         (__libc_pwrite64): Likewise.
9317         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9318         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9319         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9320         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9321         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9322         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9323         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9324         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9325         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9326         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9327         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9328         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9329         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9330         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9331         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9332         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9333         Likewise.
9335 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9337         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9338         (CFLAGS-test-double.c): Likewise.
9339         (CFLAGS-test-ldouble.c): Likewise.
9340         (CPPFLAGS-test-ifloat.c): Likewise.
9341         (CPPFLAGS-test-idouble.c): Likewise.
9342         (CPPFLAGS-test-ildoubl.c): Likewise.
9343         (CFLAGS-test-test-fenv.c): Remove variable.
9344         (CFLAGS-test-misc.c): Likewise.
9346 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9348         [BZ #17797]
9349         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9350         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9351         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9352         CLOCKS_PER_SEC == 1000000.
9353         * time/clocktest.c (main): Replace %ld with %jd and cast to
9354         intmax_t.
9356 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9358         * sysdeps/generic/unwind-resume.h: New file.
9359         * sysdeps/gnu/unwind-resume.c: Include it.
9360         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9361         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9362         argument list.
9363         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9364         global rather than static.
9365         (_Unwind_Resume): Update user.
9366         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9367         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9368         rather than static.  Add __attribute__ ((cold)).
9369         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9370         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9371         * sysdeps/arm/arm-unwind-resume.S: New file.
9372         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9373         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9374         * sysdeps/arm/Makefile [$(subdir) = csu]
9375         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9376         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9377         Add rt-arm-unwind-resume.
9378         [$(subdir) = nptl]
9379         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9380         Add pt-arm-unwind-resume.
9381         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9382         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9384 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9386         [BZ #17748]
9387         * include/fenv.h (__feholdexcept): Declare.  Use
9388         libm_hidden_proto.
9389         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9390         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9391         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9392         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9393         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9394         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9395         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9396         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9397         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9398         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9399         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9400         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9401         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9402         (feholdexcept): Likewise.
9403         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9404         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9405         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9406         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9407         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9408         __feholdexcept instead of feholdexcept.
9409         (default_libc_feholdexcept_setround): Likewise.
9411 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9413         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9414         to avoid using stl/str to align destination.
9416 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9418         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9420 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9422         [BZ #17796]
9423         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9424         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9425         Define as weak alias not strong alias.
9427 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9429         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9430         bltzal with addiupc.
9431         (RTLD_START): Ditto.
9433 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9435         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9436         for __vdso_* functions in declarations.
9437         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9438         definitions.
9439         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9440         INTERNAL_VSYSCALL): Use struct return types to check for error.
9442         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9443         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9444         function with cast from llround().
9445         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9446         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9447         Define.
9449 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9451         [BZ #17793]
9452         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9453         Define as weak alias not strong alias.
9455         [BZ #17635]
9456         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9457         ...
9458         * ctype/ctype-extn.c: ... here.
9459         (__isblank_l): Move to ...
9460         * ctype/ctype-c99_l.c: ... here.  New file.
9461         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9462         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9463         Remove variable.
9464         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9465         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9466         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9467         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9468         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9470         [BZ #17777]
9471         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9472         (posix_fadvise64): Define as weak alias not strong alias.
9473         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9474         (posix_fallocate64): Likewise.
9475         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9476         Remove variable.
9477         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9478         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9479         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9480         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9481         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9483 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9485         [BZ #16191]
9486         * NEWS: Mention bug fix.
9487         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9488         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9489         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9490         (HOST_STACK_END_ADDR): Likewise.
9492 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9494         [BZ #17748]
9495         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9496         * math/fegetround.c (fegetround): Rename to __fegetround and
9497         define as weak alias of __fegetround.  Use libm_hidden_weak.
9498         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9499         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9500         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9501         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9502         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9503         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9504         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9505         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9506         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9507         Undefine after rather than before function definition; use
9508         parentheses around function name in definition.
9509         (__fegetround): Also undefine macro after function definition.
9510         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9511         __fegetround and define as weak alias of __fegetround.  Use
9512         libm_hidden_weak.  Do not undefine as macro.
9513         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9514         Likewise.
9515         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9516         __fegetround and define as weak alias of __fegetround.  Use
9517         libm_hidden_weak.
9518         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9519         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9520         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9521         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9522         __fegetround and define as weak alias of __fegetround.  Use
9523         libm_hidden_weak.
9524         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9525         __fegetround instead of fegetround.
9527         [BZ #17782]
9528         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9529         Condition macro definition on [__USE_MISC].
9531         [BZ #17781]
9532         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9533         (struct sigaction): Change type of sa_flags field to int.
9535         [BZ #17780]
9536         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9537         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9538         __glibc_reserved0.
9540         * nptl/version.c (banner): Use single year in copyright notice.
9542         * NEWS: Update copyright dates.
9543         * catgets/gencat.c (print_version): Likewise.
9544         * csu/version.c (banner): Likewise.
9545         * debug/catchsegv.sh: Likewise.
9546         * debug/pcprofiledump.c (print_version): Likewise.
9547         * debug/xtrace.sh (do_version): Likewise.
9548         * elf/ldconfig.c (print_version): Likewise.
9549         * elf/ldd.bash.in: Likewise.
9550         * elf/pldd.c (print_version): Likewise.
9551         * elf/sotruss.sh: Likewise.
9552         * elf/sprof.c (print_version): Likewise.
9553         * iconv/iconv_prog.c (print_version): Likewise.
9554         * iconv/iconvconfig.c (print_version): Likewise.
9555         * locale/programs/locale.c (print_version): Likewise.
9556         * locale/programs/localedef.c (print_version): Likewise.
9557         * login/programs/pt_chown.c (print_version): Likewise.
9558         * malloc/memusage.sh (do_version): Likewise.
9559         * malloc/memusagestat.c (print_version): Likewise.
9560         * malloc/mtrace.pl: Likewise.
9561         * manual/libc.texinfo: Likewise.
9562         * nptl/version.c (banner): Likewise.
9563         * nscd/nscd.c (print_version): Likewise.
9564         * nss/getent.c (print_version): Likewise.
9565         * nss/makedb.c (print_version): Likewise.
9566         * posix/getconf.c (main): Likewise.
9567         * scripts/test-installation.pl: Likewise.
9568         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9570 2015-01-02  Will Newton  <will.newton@linaro.org>
9572         * sysdeps/arm/armv7/configure: Removed.
9573         * sysdeps/arm/armv7/configure.ac: Likewise.
9575 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9577         * All files with FSF copyright notices: Update copyright dates
9578         using scripts/update-copyrights.
9579         * intl/plural.c: Regenerated.
9580         * locale/programs/charmap-kw.h: Likewise.
9581         * locale/programs/locfile-kw.h: Likewise.
9583 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9585         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9587 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9589         [BZ #17748]
9590         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9591         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9592         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9593         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9594         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9595         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9596         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9597         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9598         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9599         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9600         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9601         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9602         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9603         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9604         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9605         libm_hidden_def.
9606         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9607         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9608         Likewise.
9609         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9610         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9611         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9612         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9613         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9614         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9615         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9616         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9617         __fegetenv instead of fegetenv.
9618         (libc_feholdsetround_noex_ctx): Likewise.
9620 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9622         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9623         (Elf_MIPS_ABIFlags_v0): New structure.
9624         (EF_MIPS_FP64): Define.
9625         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9626         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9627         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9628         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9629         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9630         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9631         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9632         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9633         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9634         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9635         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9636         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9637         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9638         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9639         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9640         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9641         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9642         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9643         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9644         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9645         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9646         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9647         field.
9648         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9649         EF_MIPS_FP64.
9650         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9651         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9652         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9653         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9654         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9655         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9656         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9657         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9658         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9659         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9660         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9661         record the current FP ABI extension.
9662         (mips-mode-switch): Define to show if kernel headers support mode
9663         switching.
9664         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9665         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9666         supported SYSV ABI version to 3.
9667         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9668         feature.
9670 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9671             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9673         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9674         path.
9675         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9677 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9679         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9680         __fegetround and redefine to call __fegetround.  Remove condition
9681         on [!__NO_MATH_INLINES].
9682         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9683         function.
9684         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9686         Remove macro.
9687         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9688         instead of <fenv_libc.h>.
9689         (__llrintl): Call fegetround instead of __fegetround.
9690         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9691         instead of <fenv_libc.h>.
9692         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9693         (__lrintl): Call fegetround instead of __fegetround.
9694         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9695         instead of <fenv_libc.h>.
9696         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9697         (__rintl): Call fegetround instead of __fegetround.
9699 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9701         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9702         arrays.
9704 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9706         [BZ #17775]
9707         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9708         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9709         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9711 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9713         * sysdeps/i386/tls-macros.h: Include <features.h>.
9714         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9715         (TLS_IE): Likewise.
9716         (TLS_LD): Likewise.
9717         (TLS_GD): Likewise.
9718         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9719         define for GCC >= 5.0.
9721 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9723         * math/test-fenv.c (test_single_exception, set_single_exc,
9724         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9725         feexcp_mask_test, feenable_test, fe_single_test): Add
9726         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9727         case where they are not used.
9728         * math/libm-test.inc: Likewise.
9729         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9730         unused in the absence of FP rounding/exception support.
9731         * stdio-common/tst-printf-round.c: Likewise.
9732         * stdlib/tst-strtod-round.c: Likewise.
9733         * stdlib/tst-strtod-underflow.c: Likewise.
9735 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9737         [BZ #17723]
9738         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9739         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9740         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9741         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9742         libm_hidden_weak.
9743         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9744         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9745         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9746         libm_hidden_def.
9747         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9748         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9749         libm_hidden_weak.
9750         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9751         Likewise.
9752         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9753         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9754         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9755         libm_hidden_weak.
9756         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9757         libm_hidden_def.
9758         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9759         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9760         (__feraiseexcept): Likewise.
9761         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9762         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9763         libm_hidden_weak.
9764         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9765         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9766         libm_hidden_def.
9767         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9768         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9769         Use libm_hidden_def.
9770         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9771         libm_hidden_def.
9772         (feraiseexcept): Define as weak not strong alias.  Use
9773         libm_hidden_weak.
9774         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9775         New inline function.  Factored out of ...
9776         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9777         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9778         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9779         feraiseexcept.
9780         * math/w_acos.c (__acos): Likewise.
9781         * math/w_asin.c (__asin): Likewise.
9782         * math/w_ilogb.c (__ilogb): Likewise.
9783         * math/w_j0.c (y0): Likewise.
9784         * math/w_j1.c (y1): Likewise.
9785         * math/w_jn.c (yn): Likewise.
9786         * math/w_log.c (__log): Likewise.
9787         * math/w_log10.c (__log10): Likewise.
9788         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9789         * sysdeps/aarch64/fpu/math_private.h
9790         (libc_feupdateenv_test_aarch64): Likewise.
9791         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9792         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9793         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9794         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9795         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9796         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9797         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9798         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9799         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9800         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9802 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9804         [BZ #17732]
9805         * io/test-utime.c (main): Replace %ld with %jd and cast to
9806         intmax_t.
9807         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9808         * nptl/tst-mutex5.c: Include <stdint.h>.
9809         (do_test): Replace %ld with %jd and cast to intmax_t.
9810         * posix/tst-regex.c (run_test): Likewise.
9811         (run_test_backwards): Likewise.
9812         * rt/tst-clock.c: Include <stdint.h>.
9813         (clock_test): Replace %ld with %jd and cast to intmax_t.
9814         * rt/tst-cpuclock1.c: Include <stdint.h>.
9815         (do_test): Replace %lu with %ju and cast to uintmax_t.
9816         * rt/tst-cpuclock2.c: Include <stdint.h>.
9817         (do_test): Replace %lu with %ju and cast to uintmax_t.
9818         * rt/tst-mqueue1.c: Include <stdint.h>.
9819         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9820         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9821         intmax_t.
9822         * rt/tst-mqueue4.c (do_test): Likewise.
9823         * rt/tst-timer4.c: Include <stdint.h>.
9824         (check_ts): Replace %ld with %jd and cast to intmax_t.
9825         (do_test): Likewise.
9826         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9827         and cast to intmax_t.
9828         * sysdeps/pthread/tst-timer.c (main): Likewise.
9829         * time/clocktest.c (main): Likewise.
9830         * time/tst-posixtz.c (do_test): Likewise.
9831         * timezone/tst-timezone.c (main): Likewise.
9833 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9834             H.J. Lu  <hongjiu.lu@intel.com>
9836         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9837         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9838         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9839         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9840         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9841         version if bit_Fast_Unaligned_Load is set.
9842         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9843         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9844         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9845         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9846         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9847         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9849         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9850         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9851         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9852         to 4.
9853         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9854         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9855         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9856         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9858 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9860         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9861         instead of #if to avoid a Wundef warning.
9862         * stdlib/tst-limits.c (do_test): Likewise.
9864         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9865         parallel other exception macros.
9866         (fegetenv): Convert from macro to extern inline so that it applies
9867         retroactively to inline functions already seen by the compiler.
9868         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9870         * posix/Makefile (before-compile): Use $(objpfx) for
9871         posix-conf-vars-def.h.
9873 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9875         * posix/getconf.c (main): Use size_t for type of I.
9876         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9877         NSPEC.
9879         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9880         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9881         * posix/posix-envs.def: Likewise.
9882         * sysdeps/posix/sysconf.c: Likewise.
9883         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9884         (specs): Remove array.
9885         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9886         array.
9888         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9889         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9890         (__sysconf): Use CONF_IS_* macros.
9892         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9893         ($(objpfx)posix-conf-vars-def.h): New target.
9894         * posix/posix-conf-vars.list: New file.
9895         * posix/posix-conf-vars.h: New file.
9896         * posix/confstr.c: Include posix-conf-vars.h.
9897         (confstr): Use CONF_IS_* macros.
9898         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9899         CONF_IS_* macros.
9900         * scripts/gen-posix-conf-vars.awk: New file.
9902 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9904         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9905         fegetround): Add no-op macros to avoid linknamespace issues.
9907         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9908         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9910         * sysdeps/unix/sysv/linux/tile/sysdep.h
9911         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9912         assembly-specific section to avoid a redefinition warning.
9914         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9915         long before casting to pointer to avoid a cast warning.
9917 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9919         * sysdeps/tile/tilegx/Implies: New file.
9921 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9923         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9925 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9927         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9929 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9931         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9932         not define.
9933         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9934         <kernel-features.h>.
9935         (__utimes) [__NR_utimes]: Make code unconditional.
9936         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9937         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9938         (__ASSUME_UTIMES): Do not undefine.
9939         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9940         (__ASSUME_UTIMES): Likewise.
9941         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9942         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9943         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9944         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9946 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9948         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9950 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9952         [BZ #17747]
9953         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9954         alias to weak alias for j0l, y0l.
9955         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9956         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9958         [BZ #17746]
9959         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9960         conversion.
9962 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9964         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9965         to zero if not already defined.
9967 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9969         [BZ #17724]
9970         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9971         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9972         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9973         (char *) casts added.
9974         * sysdeps/ieee754/k_standardf.c: New file.
9975         * sysdeps/ieee754/k_standardl.c: Likewise.
9976         * math/Makefile (libm-support): Remove k_standard.
9977         (libm-calls): Add k_standard.
9979 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9981         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9982         Optimize to avoid an unnecessary FPCR read.
9984 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9986         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9987         Optimize to reduce FPCR/FPSR accesses.
9989 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9991         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9992         Call libc_fetestexcept_aarch64.
9994 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9996         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9997         Call libc_fesetround_aarch64.
9999 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10001         [BZ #17733]
10002         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10003         (__bind): Do not define as weak alias.
10004         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10005         define.
10006         (__getsockname): Do not define as weak alias.
10008 2014-12-22  Will Newton  <will.newton@linaro.org>
10010         * manual/install.texi: Document that we require bison 2.7
10011         or above.
10012         * INSTALL: Regenerate.
10013         * configure.ac: Use AC_CHECK_PROG_VER instead of
10014         AC_PATH_PROG when checking for bison and check for
10015         version 2.7 or above.
10016         * configure: Regenerate.
10018 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
10020         [BZ #17745]
10021         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10022         * sysdeps/tile/ffsll.c (ffsll): To here.
10024         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10026 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10028         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10029         if not defined.
10030         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10031         definition.
10032         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10033         hidden ___tls_get_addr.
10034         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10035         hidden __tls_get_addr.
10036         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10037         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10038         Likewise.
10040 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10042         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10043         _dl_init call.
10045 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10047         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10048         from "call _dl_init@PLT".
10049         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10051 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
10053         * manual/search.texi: (Array Sort Function): Clarify stable sorting
10054         guarantees.
10056 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
10058         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10060 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10062         [BZ #17744]
10063         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10064         strnlen.
10066 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10068         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10069         of multu on MIPSr6.
10070         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10071         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10072         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10073         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10074         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10076 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10078         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10079         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10080         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10081         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10082         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10083         mips32r6/mips64r6.
10084         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10086 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10088         * string/strncat.c (STRNCAT): Simplify implementation.
10090 2014-12-19  David S. Miller  <davem@davemloft.net>
10092         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10093         access the quad as both a long double and as a series of 4 words.
10095         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10096         link_map->l_info array access.
10098 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10100         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10102         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10103         * math/atest-exp2.c (TIMEOUT): Likewise.
10104         * math/atest-sincos.c (TIMEOUT): Likewise.
10106 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10108         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10109         -Wno-error with -fno-builtin-lround.
10111 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10113         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10114         Contains futex constants and functions moved over from ...
10115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10116         <lowlevellock-futex.h>.
10117         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10118         (lll_timedwait_tid): Add comments and parentheses around macro
10119         arguments.
10121 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10123         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10124         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10125         (__lll_private_flag): Remove.
10126         (lll_futex_wait): Likewise.
10127         (lll_futex_timed_wait): Likewise.
10128         (lll_futex_wake): Likewise.
10129         (lll_futex_requeue): Likewise.
10130         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10131         (__lll_timedwait_tid): Spell out argument names.
10132         (lll_timedwait_tid): Add comments and parentheses around macro
10133         arguments.
10134         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10135         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10137 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10139         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10140         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10142         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10143         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10144         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10145         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10146         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10147         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10148         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10149         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10150         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10151         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10152         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10153         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10154         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10155         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10156         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10157         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10159 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10161         * sysdeps/x86_64/x32/Makefile: New file.
10163 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10165         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10166         1L with (mp_limb_t) 1.
10168 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10170         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10171         * nptl/libc_pthread_init.c: ... here.
10172         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10173         * nptl/register-atfork.c: ... here.
10175         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10176         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10177         Use assert_perror to check its return value.
10178         (__gai_create_helper_thread): Likewise.
10180         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10182         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10184 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10186         [BZ #17725]
10187         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10188         __profil_counter.
10189         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10190         Likewise.
10191         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10192         Likewise.
10193         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10194         Likewise.
10195         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10196         (profil_counter): Likewise.
10197         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10198         (profil_counter): Likewise.
10199         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10200         Likewise.
10201         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10202         Likewise.
10203         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10204         (profil_counter): Likewise.
10205         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10206         Likewise.
10207         [!__profil_counter] (profil_counter): Define as weak alias of
10208         __profil_counter.
10209         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10210         (profil_counter): Rename to __profil_counter.
10211         [!__profil_counter] (profil_counter): Define as weak alias of
10212         __profil_counter.
10213         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10214         (profil_counter): Rename to __profil_counter.
10215         [!__profil_counter] (profil_counter): Define as weak alias of
10216         __profil_counter.
10217         * sysdeps/posix/profil.c: Update comment referring to
10218         profil_counter.
10219         (__profil): Use __profil_counter instead of profil_counter.
10220         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10221         __profil_counter.  Use __profil_counter_ushort and
10222         __profil_counter_uint in definitions.
10223         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10224         instead of profil_counter_uint and profil_counter_ushort.
10226         [BZ #17722]
10227         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10228         define as weak alias of __inet_makeaddr.
10229         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10230         as weak alias of __inet_addr.
10231         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10232         as weak alias of __inet_pton.  Use libc_hidden_weak.
10233         * include/arpa/inet.h (__inet_pton): Declare.  Use
10234         libc_hidden_proto.
10235         (inet_makeaddr): Don't use libc_hidden_proto.
10236         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10237         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10238         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10239         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10240         Remove variable.
10241         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10242         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10244 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10246         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10248 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10250         * stdio-common/bug-vfprintf-nargs.c (do_test):
10251         Cast value to intptr_t to avoid format warning
10252         for usage with PRIdPTR printing macro.
10254 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10256         * libio/tst-widetext.c (do_test):
10257         Use format type %td instead of %Zd for ptrdiff_t
10258         in order to avoid format warning.
10260 2014-12-17  Andreas Schwab  <schwab@suse.de>
10262         * nscd/mem.c (gc): Add size_t cast to match printf format.
10264 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10266         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10267         (init): Apply PTR_MANGLE to pointers before storing them.
10268         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10269         before using them.
10271 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10273         [BZ #17719]
10274         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10275         define as weak alias of __memrchr.
10276         (__memrchr): Do not define as strong alias of memrchr.
10277         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10278         Remove variable.
10279         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10280         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10281         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10283         [BZ #17717]
10284         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10285         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10286         (if_indextoname): Rename to __if_indextoname and define as weak
10287         alias of __if_indextoname.  Use libc_hidden_weak.
10288         (if_freenameindex): Rename to __if_freenameindex and define as
10289         weak alias of __if_freenameindex.
10290         (if_nameindex): Rename to __if_nameindex and define as weak alias
10291         of __if_nameindex.
10292         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10293         __if_nametoindex and define as weak alias of __if_nametoindex.
10294         Use libc_hidden_weak.
10295         (if_freenameindex): Rename to __if_freenameindex and define as
10296         weak alias of __if_freenameindex.
10297         (if_nameindex): Rename to __if_nameindex and define as weak alias
10298         of __if_nameindex.
10299         (if_indextoname): Rename to __if_indextoname and define as weak
10300         alias of __if_indextoname.  Use libc_hidden_weak.
10301         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10302         __if_nametoindex and define as weak alias of __if_nametoindex.
10303         Use libc_hidden_weak.
10304         (if_freenameindex): Rename to __if_freenameindex and define as
10305         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10306         (if_nameindex_netlink): Use __if_freenameindex instead of
10307         if_freenameindex.
10308         (if_nameindex): Rename to __if_nameindex and define as weak alias
10309         of __if_nameindex.  Use libc_hidden_weak.
10310         (if_indextoname): Rename to __if_indextoname and define as weak
10311         alias of __if_indextoname.  Use libc_hidden_weak.
10312         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10313         libc_hidden_proto.
10314         [!_ISOMAC] (__if_freenameindex): Likewise.
10315         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10316         if_nametoindex.
10317         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10318         variable.
10319         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10320         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10321         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10322         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10323         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10324         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10325         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10327         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10328         Remove variable.
10329         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10330         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10332 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10334         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10335         subscript above bounds'
10337         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10338         bounds.
10340 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10342         * libio/tst-fopenloc.c: Use test-skeleton.c.
10344         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10345         (entry): Rename to ITEM.
10346         (do_test, comp): Adjust.
10348         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10350 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10352         * string/tester.c: Include <libc-internal.h>.
10353         (test_memset): Ignore -Wmemset-transposed-args.
10355 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10357         * misc/tst-mntent2.c (do_test): Fix warning.
10359 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10361         * elf/tst-unique4lib.cc(a): Mark as used.
10363 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10365         [BZ #17630]
10366         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10367         names.
10369 2014-12-16  Allan McRae  <allan@archlinux.org>
10371         * stdio-common/Makefile (tests): Re-add bug26.
10373 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10375         [BZ #17657]
10376         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10377         static array.
10379 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10381         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10382         (__lll_lock_wait): Likewise.
10383         (__lll_timedlock_wait): Likewise.
10384         (__lll_timedwait_tid): Likewise.
10385         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10386         (__lll_robust_timedlock_wait): Likewise.
10387         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10388         (lll_cond_trylock): Likewise.
10389         (__lll_lock): Likewise.
10390         (__lll_robust_lock): Likewise.
10391         (__lll_cond_lock): Likewise.
10392         (lll_robust_cond_lock): Likewise.
10393         (__lll_timedlock): Likewise.
10394         (__lll_robust_timedlock): Likewise.
10395         (__lll_unlock): Likewise.
10396         (__lll_robust_unlock): Likewise.
10397         (lll_wait_tid): Likewise.
10398         (lll_timedwait_tid): Likewise.
10400 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10402         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10404 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10406         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10408 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10410         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10411         * stdio-common/tst-sprintf.c: Likewise.
10413 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10415         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10417 2014-12-15  Jeff Law  <law@redhat.com>
10419         [BZ #16617]
10420         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10421         on the heap.  (CVE-2012-3406)
10422         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10423         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10424         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10426 2014-12-15  Will Newton  <will.newton@linaro.org>
10428         * manual/install.texi: Bump required version of texinfo
10429         to 4.7 from 4.5.
10430         * INSTALL: Regenerated.
10431         * configure.ac: Check for makeinfo version 4.7 and above.
10432         * configure: Regenerated.
10434 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10436         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10437         PREFIX, string constant to insert between directory and name.
10438         * sysdeps/posix/shm_open.c: Update caller.
10439         * sysdeps/posix/shm_unlink.c: Likewise.
10440         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10441         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10442         (SEM_SHM_PREFIX): New macro.
10443         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10444         [$(have-thread-library) = no].
10445         * nptl/Makefile (libpthread-routines): Add shm-directory.
10446         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10447         * sysdeps/nptl/shm-directory.h: New file.
10448         * sysdeps/posix/shm-directory.c
10449         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10450         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10451         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10452         INTERNAL_SYSCALL.
10453         (__where_is_shmfs): Function removed.
10454         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10455         Variables removed.
10456         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10457         Use SHM_GET_NAME.
10458         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10460         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10461         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10462         unconditional for use inside libpthread.
10463         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10465 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10467         * nptl/pthread_getaffinity.c: New file.
10468         * nptl/pthread_setaffinity.c: New file.
10469         * nptl/pthread_getname.c: New file.
10470         * nptl/pthread_setname.c: New file.
10472         * nptl/pthread_create.c (START_THREAD_DEFN)
10473         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10475 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10476             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10478         * resolv/res_send.c (send_vc): Disable warning resplen may
10479         be used uninitialized.
10481 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10483         * nptl/tst-mutex6.c
10484         (ATTR_NULL): New define checks ATTR against NULL.
10485         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10486         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10488 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10490         [BZ #17581]
10491         * malloc/hooks.c
10492         (mem2mem_check): Revert my previous change.
10493         (malloc_check_get_size): Revert my previous change.
10494         (mem2chunk_check): Revert my previous change.
10496 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10498         * sysdeps/posix/shm-directory.c: New file.
10499         * sysdeps/posix/shm-directory.h: New file.
10500         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10501         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10502         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10503         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10504         Transmute EPERM to EACCES.
10505         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10506         from ...
10507         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10508         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10510 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10512         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10513         pointer and cast to uintptr_t.
10514         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10515         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10516         Add cast to avoid warning.
10517         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10519 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10521         * nptl/semaphore.h: Move to ...
10522         * sysdeps/pthread/semaphore.h: ... here.
10523         * Makefile (installed-headers): Change nptl/semaphore.h to
10524         sysdeps/pthread/semaphore.h.
10526 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10528         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10529         generated error format strings.
10531         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10532         -Wformat-extra-args warnings for scanf formats.
10533         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10534         test of zero-length format (duh).
10535         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10536         corner-case scanf format test.
10537         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10538         generated fprintf format string.
10539         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10540         corner-case sprintf format tests.
10541         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10542         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10543         -Wformat-extra-args warnings throughout.
10544         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10545         (CFLAGS-scanf4.c): Likewise.
10546         (CFLAGS-scanf7.c): Likewise.
10547         (CFLAGS-tst-sprintf.c): Likewise.
10548         (CFLAGS-tst-printf.c): Likewise.
10549         (CFLAGS-tst-printfsz.c): Likewise.
10551 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10553         * include/cpio.h: New file.
10554         * include/fmtmsg.h: Likewise.
10556         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10557         corresponding format argument to size_t.
10558         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10559         arguments.
10560         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10561         corresponding format argument to size_t.
10562         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10563         arguments.
10564         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10565         corresponding format argument to size_t.
10566         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10567         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10568         (CFLAGS-tst-mbswcs2.c): Likewise.
10569         (CFLAGS-tst-mbswcs3.c): Likewise.
10570         (CFLAGS-tst-mbswcs4.c): Likewise.
10571         (CFLAGS-tst-mbswcs5.c): Likewise.
10572         (CFLAGS-tst-trans.c): Likewise
10574 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10576         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10577         rather than assuming they won't contain any '%'s.
10579 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10581         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10582         inhibit_loop_to_libcall to avoid recursive calls.
10583         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10584         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10586 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10588         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10589         prototype.
10591 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10593         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10594         integer value instead of boolean.
10596 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10598         * malloc/malloc.c: Fix powerof2 check.
10600 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10602         * locale/programs/locfile.h (maybe_swap_uint32):
10603         Remove inline and add unused attribute.
10605 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10607         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10608         Truncating assembler expression to a .long expression.
10610 2014-12-11  Andreas Schwab  <schwab@suse.de>
10612         * elf/rtld.c (struct map_args): Constify str member.
10613         (do_preload): Constify fname argument.
10615 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10617         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10618         constants definition.
10620 2014-12-11  Andreas Schwab  <schwab@suse.de>
10622         [BZ #16657]
10623         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10624         FORCE_ELISION instead of DO_ELISION.
10625         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10626         Remove.
10627         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10628         Likewise.
10630         * iconvdata/gconv-modules: Remove duplicate entry.
10632 2014-12-11  Will Newton  <will.newton@linaro.org>
10634         Merge gettext 0.19.3 into intl/.
10636         This involves a number of cosmetic changes to comments
10637         and ANSI function definitions and prototypes throughout
10638         all the files. The gettext copyright header is used but
10639         with the date ranges taken from the glibc copy.
10641         * NEWS: Add gettext merge to 2.21.
10642         * intl/bindtextdom.c: Switch to gettext copyright.
10643         Use ANSI definitions and prototypes.
10644         Use gl_* locking primitives rather than __libc_* ones.
10645         Use __builtin_expect rather than __glibc_likely/unlikely.
10646         * intl/dcgettext.c: Switch to gettext copyright.
10647         Use ANSI definitions and prototypes.
10648         * intl/dcigettext.c: Switch to gettext copyright.
10649         Use ANSI definitions and prototypes.
10650         (INTDIV0_RAISES_SIGFPE): New define.
10651         Use gl_* locking primitives rather than __libc_* ones.
10652         Include eval-plural.h instead of plural-eval.c.
10653         Use __builtin_expect rather than __glibc_likely/unlikely.
10654         * intl/dcngettext.c: Switch to gettext copyright.
10655         Use ANSI definitions and prototypes.
10656         * intl/dgettext.c: Likewise.
10657         * intl/dngettext.c: Likewise.
10658         * intl/plural-eval.c: Renamed to...
10659         * intl/eval-plural.h: ...this.
10660         * intl/explodename.c: Switch to gettext copyright.
10661         Use ANSI definitions and prototypes.
10662         (_nl_explode_name): Use strchr instead of __rawmemchr.
10663         * intl/finddomain.c: Switch to gettext copyright.
10664         Use ANSI definitions and prototypes.
10665         Use gl_* locking primitives rather than __libc_* ones.
10666         (_nl_find_domain): Use malloc rather than alloca for
10667         allocation of temporary locale name.
10668         * intl/gettext.c: Switch to gettext copyright.
10669         Use ANSI definitions and prototypes.
10670         * intl/gettextP.h: Switch to gettext copyright.
10671         Use ANSI definitions and prototypes.
10672         Use gl_* locking primitives rather than __libc_* ones.
10673         * intl/gmo.h: Switch to gettext copyright.
10674         (struct sysdep_string): Move struct segment_pair outside of
10675         struct definition.
10676         * intl/hash-string.c: Use ANSI definitions and prototypes.
10677         * intl/hash-string.h: Switch to gettext copyright.
10678         Use ANSI definitions and prototypes.
10679         * intl/l10nflist.c: Switch to gettext copyright.
10680         Use ANSI definitions and prototypes.
10681         (_nl_normalize_codeset): Avoid integer overflow.
10682         * intl/loadinfo.h: Switch to gettext copyright.
10683         Use ANSI definitions and prototypes.
10684         (LIBINTL_DLL_EXPORTED): New define.
10685         (PATH_SEPARATOR): New define.
10686         * intl/loadmsgcat.c: Switch to gettext copyright.
10687         * intl/localealias.c: Switch to gettext copyright.
10688         Use ANSI definitions and prototypes.
10689         (_nl_expand_alias): Use PATH_SEPARATOR.
10690         * intl/ngettext.c: Switch to gettext copyright.
10691         Use ANSI definitions and prototypes.
10692         * intl/plural-exp.c: Likewise.
10693         * intl/plural-exp.h: Switch to gettext copyright.
10694         Use ANSI definitions and prototypes.
10695         (struct expression): Move definition of enum operator outside
10696         of struct definition.
10697         * intl/plural.c: Regenerate.
10698         * intl/plural.y: Switch to gettext copyright.
10699         Use ANSI definitions and prototypes.
10700         Port to bison 3.0.
10701         * intl/textdomain.c: Switch to gettext copyright.
10702         Use ANSI definitions and prototypes.
10703         Use gl_* locking primitives rather than __libc_* ones.
10705 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10707         * debug/warning-nop.c: Add used atrribute.
10709 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10711         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10713         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10714         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10715         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10717 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10718             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10720         [BZ #17634]
10721         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10722         Undefine after defining function.  Define as weak alias of
10723         __wcschr.  Use libc_hidden_weak.
10724         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10725         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10726         (libc_hidden_def): Also define __GI___wcschr alias.
10727         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10728         __wcschr and define as weak alias of __wcschr.
10729         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10730         __wcschr.
10731         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10732         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10733         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10734         libc_hidden_weak.  Do not use libc_hidden_def.
10735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10736         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10737         __GI___wcschr alias.
10738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10739         [IS_IN (libc)] (wcschr): Define as macro expanding to
10740         __redirect_wcschr.
10741         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10742         [IS_IN (libc)] (__wcschr_power6): Likewise.
10743         [IS_IN (libc)] (__wcschr_power7): Likewise.
10744         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10745         instead of wcschr.
10746         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10747         __libc_wcschr.
10748         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10749         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10750         __wcschr and define as weak alias of __wcschr.  Use
10751         libc_hidden_builtin_def.
10752         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10753         as weak alias of __wcschr.  Use libc_hidden_weak.
10754         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10755         wcschr.
10756         * time/era.c (_nl_init_era_entries): Likewise.
10757         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10758         variable.
10759         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10760         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10762 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10764         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10765         format for long int variable.
10767 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10769         [BZ #10672]
10770         * manual/search.texi: (Array Sort Function): Remove claim how to make
10771         qsort stable.
10773 2014-12-10  Andreas Schwab  <schwab@suse.de>
10775         [BZ #12847]
10776         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10777         user-controlled locks.
10779 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10781         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10782         register.
10784 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10786         * configure.ac (--disable-werror): New configure option.
10787         (enable_werror): New AC_SUBST.
10788         * configure: Regenerated.
10789         * config.make.in (enable-werror): New variable.
10790         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10791         -Wno-error=undef.
10792         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10793         * manual/install.texi (Configuring and compiling): Document
10794         --disable-werror.
10795         * INSTALL: Regenerated.
10796         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10797         (CFLAGS-tst-chk2.c): Likewise.
10798         (CFLAGS-tst-chk3.c): Likewise.
10799         (CFLAGS-tst-chk4.cc): Likewise.
10800         (CFLAGS-tst-chk5.cc): Likewise.
10801         (CFLAGS-tst-chk6.cc): Likewise.
10802         (CFLAGS-tst-lfschk1.c): Likewise.
10803         (CFLAGS-tst-lfschk2.c): Likewise.
10804         (CFLAGS-tst-lfschk3.c): Likewise.
10805         (CFLAGS-tst-lfschk4.cc): Likewise.
10806         (CFLAGS-tst-lfschk5.cc): Likewise.
10807         (CFLAGS-tst-lfschk6.cc): Likewise.
10809         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10810         (main): Disable -Wdeprecated-declarations around calls to
10811         register_printf_function.
10813         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10814         (do_test): Disable -Wdiv-by-zero around some calls to
10815         fwrite_unlocked and fread_unlocked.
10817         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10818         (DIAG_POP_NEEDS_COMMENT): Likewise.
10819         (_DIAG_STR1): Likewise.
10820         (_DIAG_STR): Likewise.
10821         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10822         * stdio-common/bug21.c: Include <libc-internal.h>.
10823         (do_test): Disable -Wformat around call to sscanf.
10824         * stdio-common/scanf14.c: Include <libc-internal.h>.
10825         (main): Disable -Wformat around some calls to scanf functions.
10827 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10829         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10831 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10833         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10834         stack variable alignment.
10836 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #17682]
10839         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10840         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10841         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10842         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10843         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10844         __getrlimit instead of getrlimit.
10845         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10846         __gettimeofday instead of gettimeofday.
10847         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10848         Likewise.
10849         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10850         Likewise.
10851         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10852         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10853         Remove variable.
10854         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10855         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10857 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10859         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10860         for wide-character tests.
10862 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10864         * io/openat64.c: #include <libc-internal.h>
10865         (__openat64): Prototypify.  Use ignore_value on MODE.
10866         * io/openat.c: Likewise.
10867         * misc/reboot.c: #include <libc-internal.h>
10868         (reboot): Prototypify.  Use ignore_value on HOWTO.
10869         * misc/ptrace.c: #include <libc-internal.h>
10870         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10872 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10874         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10875         XPG4, UNIX98 and XOPEN2K.
10876         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10877         Remove variable.
10878         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10880 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10882         * libio/fileops.c: Use ISO C style for function definitions.
10883         * libio/iofopen.c: Likewise.
10884         * libio/wfileops.c: Likewise.
10886         [BZ #17653]
10887         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10888         offset on EOF.
10889         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10890         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10891         (fgets_func): Function pointer to fgets and fgetws.
10892         (do_ftell_test): Add test to verify ftell value after read
10893         EOF.
10894         (do_test): Set fgets_func.
10896         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10897         O_TRUNC flag for w and w+ modes.
10898         (do_rewind_test): Likewise.
10899         (do_ftell_test): Likewise.
10900         (do_write_test): Likewise.
10902         [BZ #17647]
10903         * libio/fileops.c (do_ftell): Seek only when there are
10904         unflushed writes.
10905         * libio/wfileops.c (do_ftell_wide): Likewise.
10906         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10907         test case.
10908         (do_one_test): Call it.
10910 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10912         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10913         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10914         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10915         Remove variable.
10916         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10917         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10918         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10920 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10922         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10923         Remove variable.
10924         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10926         [BZ #17668]
10927         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10928         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10929         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10930         __freeifaddrs.  Use libc_hidden_weak.
10931         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10932         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10933         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10934         __freeifaddrs.  Use libc_hidden_weak.
10935         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10936         __getifaddrs and define as weak alias of __getifaddrs.  Use
10937         libc_hidden_weak.
10938         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10939         __freeifaddrs.  Use libc_hidden_weak.
10940         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10941         Remove variable.
10942         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10943         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10945 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10947         [BZ #17601]
10948         * sysdeps/mips/start.S (__start): Use indirect jump to call
10949         __libc_start_main.
10951 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10953         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10955         * nptl/tst-mutex1.c: Include <stdbool.h>.
10956         [!ATTR] (ATTR_NULL): New macro.
10957         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10958         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10959         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10961         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10962         to char *.
10964         [BZ #17665]
10965         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10966         Change conditional to [__USE_MISC].
10968         [BZ #17664]
10969         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10970         fgets_unlocked.
10971         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10972         __fgets_unlocked.
10973         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10974         fgets_unlocked.
10975         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10976         Remove variable.
10977         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10978         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10979         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10980         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10981         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10982         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10983         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10984         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10985         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10987         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10989 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10992         Remove strpbrk objects.
10993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10994         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10995         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10996         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10997         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10998         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11000         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11001         Remove strcspn objects.
11002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11003         (__libc_ifunc_impl_list): Remove strcspn implementation.
11004         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11005         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11006         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11007         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11009         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11010         Remove strspn objetcs.
11011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11012         (__libc_ifunc_impl_list): Remove strspn implementation.
11013         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11014         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11015         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11016         * sysdeps/powerpc/powerpc64/strspn.S: New file.
11018 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
11020         [BZ #17581]
11021         * malloc/hooks.c
11022         (mem2mem_check): Add a terminator to the chain of checking blocks.
11023         (malloc_check_get_size): Use it here.
11024         (mem2chunk_check): Ditto.
11026 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11028         * sysdeps/powerpc/powerpc64/strtok.S: New file.
11029         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11031 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
11033         * bits/ioctl-types.h: Indent preprocessor directives correctly.
11035         * nptl/nptl-init.c: Include libc-internal.h.
11036         (__pthread_initialize_minimal_internal): Use ROUND_UP.
11038         * elf/ldconfig.c (search_dir): Expand comment.
11040 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
11042         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11043         variable.
11044         (linknamespace-symlist-stdlibs-tests): Likewise.
11045         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11046         instead of $(objpfx)symlist-stdlibs.
11047         (linknamespace-libs-isoc): New variable.
11048         (linknamespace-libs): Use $(linknamespace-libs-isoc).
11049         (linknamespace-libs-ISO): New variable.
11050         (linknamespace-libs-ISO99): Likewise.
11051         (linknamespace-libs-ISO11): Likewise.
11052         (linknamespace-libs-XPG3): Likewise.
11053         (linknamespace-libs-XPG4): Likewise.
11054         (linknamespace-libs-POSIX): Likewise.
11055         (linknamespace-libs-UNIX98): Likewise.
11056         (linknamespace-libs-XOPEN2K): Likewise.
11057         (linknamespace-libs-POSIX2008): Likewise.
11058         (linknamespace-libs-XOPEN2K8): Likewise.
11059         ($(objpfx)symlist-stdlibs): Replace by
11060         $(linknamespace-symlist-stdlibs-tests).  Use
11061         $(linknamespace-libs-$*) as set of libraries.
11062         ($(linknamespace-header-tests)): Update dependencies.  Use
11063         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11064         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11065         * conform/linknamespace.pl: Remove comment about considering
11066         definitions of symbols from irrelevant libraries.
11068 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11070         [BZ #13862]
11071         * elf/dl-tls.c: Include <atomic.h>.
11072         (oom): Remove #ifdef SHARED/#endif.
11073         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11074         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11075         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11076         big enough.
11077         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11078         * nptl/Makefile (tests): Add tst-stack4.
11079         (modules-names): Add tst-stack4mod.
11080         ($(objpfx)tst-stack4): New.
11081         (tst-stack4mod.sos): Likewise.
11082         ($(objpfx)tst-stack4.out): Likewise.
11083         ($(tst-stack4mod.sos)): Likewise.
11084         (clean): Likewise.
11085         * nptl/tst-stack4.c: New file.
11086         * nptl/tst-stack4mod.c: Likewise.
11088 2014-11-27  J. Brown  <jb999@gmx.de>
11090         * sysdeps/x86/bits/string.h: Add recent CPUs.
11092 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11094         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11095         sigblock.
11097         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11098         feof.
11100         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11101         variable.
11103 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11105         * nscd/connections.c: Include libc-internal.h because of macro
11106         usage ignore_value.
11108 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11110         * string/bits/string3.h (__warn_memset_zero_len): Don't
11111         declare for gcc newer than 5.0.
11112         (memset): Don't test for zero-length __LEN for gcc newer than
11113         5.0.
11115 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11117         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11118         size_t for %zu format.
11120         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11121         difference, not %ju.
11123 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11125         * include/libc-internal.h (ignore_value): New macro.
11126         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11127         with ignore_value.
11129         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11130         definition.
11132         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11133         pthread_cleanup_push to void *.
11135         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11136         Undefine.
11138         [BZ #16619]
11139         [BZ #16740]
11140         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11141         instead of 1L << 52.
11143         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11144         * libio/bug-rewind2.c (do_test): Likewise.
11146         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11147         * debug/test-strcpy_chk-ifunc.c: Likewise.
11148         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11149         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11150         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11151         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11152         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11153         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11154         * Rules [$(multi-arch) = no] (tests): Do not filter out
11155         $(tests-ifunc).
11156         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11157         * debug/Makefile (tests-ifunc): Remove variable.
11158         (tests): Do not add $(tests-ifunc).
11159         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11160         (tests): Do not add $(tests-ifunc).
11161         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11162         [TEST_IFUNC]: Remove conditionals.
11163         * string/test-string.h (TEST_IFUNC): Remove macro.
11164         [TEST_IFUNC]: Remove conditionals.
11166         * string/test-strchr.c [!WIDE] (L): New macro.
11167         [WIDE] (L): Likewise.
11168         (check1): Use CHAR instead of char.  Use L on string and character
11169         constants.
11171 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11173         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11174         tests.
11175         * sysdeps/powerpc/bits/atomic.h
11176         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11177         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11178         (atomic_exchange_and_add_acq): Likewise.
11179         (atomic_exchange_and_add_rel): Likewise.
11180         * sysdeps/powerpc/powerpc32/bits/atomic.h
11181         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11182         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11183         * sysdeps/powerpc/powerpc64/bits/atomic.h
11184         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11185         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11187 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11189         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11190         Change synchronization of __sched_fifo_min_prio and
11191         __sched_fifo_max_prio.
11192         * nptl/pthread_mutexattr_getprioceiling.c
11193         (pthread_mutexattr_getprioceiling): Likewise.
11194         * nptl/pthread_mutexattr_setprioceiling.c
11195         (pthread_mutexattr_setprioceiling): Likewise.
11196         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11197         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11198         Likewise.
11200 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11202         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11203         void.
11205 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11207         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11208         third argument const.
11210 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11212         fnmatch: work around GCC compiler warning bug with uninit var
11213         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11214         This works around a bug with x86-64 GCC 4.9.2 and earlier
11215         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11216         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11217         used uninitialized in this function [-Wmaybe-uninitialized]".
11219 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11221         * posix/bug-regex31.c (main): Return RES not 0.
11223 2014-11-25  Anton Blanchard <anton@samba.org>
11225         * sysdeps/powerpc/bits/atomic.h
11226         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11228 2014-11-24  Sterling Augustine  <saugustine@google.com>
11230         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11232 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11234         [BZ #17608]
11235         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11237 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11239         [BZ #17633]
11240         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11241         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11242         variable.
11243         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11244         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11246 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11248         * string/strncpy.c (strncpy): Improve performance by using memset.
11250 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11252         * string/strcpy.c (strcpy):
11253         Improve performance by using strlen and memcpy.
11255 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11257         * string/strcoll_l.c (get_next_seq): __always_inline.
11258         * string/strcoll_l.c (do_compare): __always_inline.
11260 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11262         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11263         defined.
11264         * include/mqueue.h: Likewise.
11265         * include/stdlib.h: Likewise.
11267         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11268         (get_null_defines): Adjust.
11269         * sunrpc/Makefile: Adjust comment.
11270         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11271         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11272         (CFLAGS-interp.c): Likewise.
11273         (CFLAGS-ldconfig.c): Likewise.
11274         (CPPFLAGS-.os): Likewise.
11275         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11276         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11277         * extra-modules.mk (extra-modules.mk): Likewise.
11278         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11279         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11280         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11281         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11282         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11283         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11284         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11285         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11286         * iconvdata/Makefile (CPPFLAGS): Likewise.
11287         (cpp-srcs-left): Add libof for all iconvdata routines.
11288         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11289         * include/assert.h: Likewise.
11290         * include/ctype.h: Likewise.
11291         * include/errno.h: Likewise.
11292         * include/libc-symbols.h: Likewise.
11293         * include/math.h: Likewise.
11294         * include/netdb.h: Likewise.
11295         * include/resolv.h: Likewise.
11296         * include/stdio.h: Likewise.
11297         * include/stdlib.h: Likewise.
11298         * include/string.h: Likewise.
11299         * include/sys/stat.h: Likewise.
11300         * include/wctype.h: Likewise.
11301         * intl/l10nflist.c: Likewise.
11302         * libidn/idn-stub.c: Likewise.
11303         * libio/libioP.h: Likewise.
11304         * nptl/libc_multiple_threads.c: Likewise.
11305         * nptl/pthreadP.h: Likewise.
11306         * posix/regex_internal.h: Likewise.
11307         * resolv/res_hconf.c: Likewise.
11308         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11309         * sysdeps/arm/memmove.S: Likewise.
11310         * sysdeps/arm/sysdep.h: Likewise.
11311         * sysdeps/generic/_itoa.h: Likewise.
11312         * sysdeps/generic/symbol-hacks.h: Likewise.
11313         * sysdeps/gnu/errlist.awk: Likewise.
11314         * sysdeps/gnu/errlist.c: Likewise.
11315         * sysdeps/i386/i586/memcpy.S: Likewise.
11316         * sysdeps/i386/i586/memset.S: Likewise.
11317         * sysdeps/i386/i686/memcpy.S: Likewise.
11318         * sysdeps/i386/i686/memmove.S: Likewise.
11319         * sysdeps/i386/i686/mempcpy.S: Likewise.
11320         * sysdeps/i386/i686/memset.S: Likewise.
11321         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11322         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11323         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11324         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11325         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11326         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11327         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11328         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11329         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11330         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11331         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11332         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11333         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11334         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11335         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11336         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11337         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11338         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11339         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11340         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11341         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11342         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11343         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11344         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11345         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11346         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11347         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11348         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11349         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11350         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11351         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11352         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11353         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11354         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11355         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11356         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11357         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11358         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11359         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11360         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11361         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11362         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11363         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11364         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11365         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11366         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11367         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11368         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11369         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11370         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11371         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11372         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11373         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11374         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11375         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11376         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11377         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11378         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11379         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11380         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11381         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11382         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11383         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11384         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11385         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11386         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11387         * sysdeps/posix/closedir.c: Likewise.
11388         * sysdeps/posix/opendir.c: Likewise.
11389         * sysdeps/posix/readdir.c: Likewise.
11390         * sysdeps/posix/rewinddir.c: Likewise.
11391         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11392         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11393         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11394         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11396         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11397         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11398         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11402         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11403         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11404         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11405         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11406         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11407         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11408         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11409         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11411         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11412         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11413         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11414         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11415         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11419         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11427         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11428         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11429         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11430         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11431         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11432         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11433         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11434         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11435         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11436         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11437         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11438         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11439         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11440         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11441         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11442         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11443         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11445         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11446         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11448         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11449         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11450         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11452         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11453         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11454         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11455         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11456         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11457         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11458         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11459         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11460         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11461         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11462         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11463         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11464         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11465         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11466         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11467         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11468         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11469         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11470         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11471         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11472         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11473         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11474         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11475         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11476         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11477         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11478         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11479         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11480         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11481         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11482         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11483         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11487         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11488         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11489         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11490         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11491         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11492         * sysdeps/unix/alpha/sysdep.S: Likewise.
11493         * sysdeps/unix/alpha/sysdep.h: Likewise.
11494         * sysdeps/unix/make-syscalls.sh: Likewise.
11495         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11497         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11498         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11499         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11500         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11501         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11502         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11503         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11504         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11505         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11506         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11507         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11508         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11509         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11510         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11511         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11512         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11513         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11514         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11515         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11516         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11517         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11518         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11519         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11520         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11521         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11524         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11525         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11526         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11527         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11529         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11533         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11534         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11535         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11536         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11537         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11538         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11542         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11545         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11546         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11547         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11548         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11551         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11553         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11554         * sysdeps/x86_64/memcpy.S: Likewise.
11555         * sysdeps/x86_64/memmove.c: Likewise.
11556         * sysdeps/x86_64/memset.S: Likewise.
11557         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11558         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11559         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11560         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11561         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11562         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11563         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11564         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11565         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11566         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11567         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11568         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11569         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11570         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11571         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11572         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11573         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11574         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11575         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11576         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11577         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11578         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11579         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11580         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11581         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11582         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11583         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11584         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11585         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11586         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11587         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11588         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11589         * sysdeps/x86_64/strcmp.S: Likewise.
11591         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11593         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11594         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11595         * elf/rtld-Rules: Likewise.
11596         * elf/setup-vdso.h: Likewise.
11597         * include/assert.h: Likewise.
11598         * include/bits/stdlib-float.h: Likewise.
11599         * include/errno.h: Likewise.
11600         * include/sys/stat.h: Likewise.
11601         * include/unistd.h: Likewise.
11602         * sysdeps/aarch64/setjmp.S: Likewise.
11603         * sysdeps/alpha/setjmp.S: Likewise.
11604         * sysdeps/arm/__longjmp.S: Likewise.
11605         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11606         * sysdeps/arm/setjmp.S: Likewise.
11607         * sysdeps/arm/sysdep.h: Likewise.
11608         * sysdeps/generic/_itoa.h: Likewise.
11609         * sysdeps/generic/dl-sysdep.h: Likewise.
11610         * sysdeps/generic/ldsodefs.h: Likewise.
11611         * sysdeps/i386/dl-tls.h: Likewise.
11612         * sysdeps/i386/setjmp.S: Likewise.
11613         * sysdeps/m68k/setjmp.c: Likewise.
11614         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11615         * sysdeps/mach/hurd/opendir.c: Likewise.
11616         * sysdeps/posix/getcwd.c: Likewise.
11617         * sysdeps/posix/opendir.c: Likewise.
11618         * sysdeps/posix/profil.c: Likewise.
11619         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11620         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11621         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11622         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11623         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11624         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11625         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11626         * sysdeps/s390/dl-tls.h: Likewise.
11627         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11628         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11629         * sysdeps/sh/sh3/setjmp.S: Likewise.
11630         * sysdeps/sh/sh4/setjmp.S: Likewise.
11631         * sysdeps/unix/alpha/sysdep.h: Likewise.
11632         * sysdeps/unix/arm/sysdep.S: Likewise.
11633         * sysdeps/unix/i386/sysdep.S: Likewise.
11634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11635         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11636         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11638         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11639         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11640         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11641         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11642         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11643         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11644         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11645         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11646         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11649         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11652         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11654         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11657         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11658         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11659         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11661         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11662         * sysdeps/x86_64/setjmp.S: Likewise.
11664         * include/math.h: Use IS_IN instead of IS_IN_libm.
11665         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11666         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11667         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11668         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11670         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11671         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11672         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11673         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11675         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11676         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11677         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11678         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11679         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11680         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11681         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11682         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11683         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11684         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11685         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11686         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11687         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11688         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11689         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11690         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11691         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11692         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11693         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11694         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11695         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11696         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11697         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11699         Likewise.
11700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11701         Likewise.
11702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11703         Likewise.
11704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11705         Likewise.
11706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11707         Likewise.
11708         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11709         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11710         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11711         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11712         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11713         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11719         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11720         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11721         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11722         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11723         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11724         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11725         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11726         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11727         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11728         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11729         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11732         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11734         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11736         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11737         * nptl/pthreadP.h: Likewise.
11738         * nptl_db/structs.def: Likewise.
11739         * sysdeps/arm/sysdep.h: Likewise.
11740         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11741         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11742         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11743         * sysdeps/unix/alpha/sysdep.h: Likewise.
11744         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11745         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11746         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11747         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11748         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11749         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11751         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11752         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11753         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11754         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11755         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11756         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11757         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11761         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11762         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11765         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11766         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11767         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11768         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11769         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11771         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11772         * nptl/pthreadP.h: Likewise.
11773         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11774         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11775         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11776         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11777         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11778         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11779         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11780         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11781         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11782         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11783         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11784         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11786         Likewise.
11787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11788         Likewise.
11789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11791         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11792         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11793         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11794         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11795         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11796         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11798         * dlfcn/dladdr.c: Use IS_IN.
11799         * dlfcn/dladdr1.c: Likewise.
11800         * dlfcn/dlclose.c: Likewise.
11801         * dlfcn/dlerror.c: Likewise.
11802         * dlfcn/dlinfo.c: Likewise.
11803         * dlfcn/dlmopen.c: Likewise.
11804         * dlfcn/dlopen.c: Likewise.
11805         * dlfcn/dlsym.c: Likewise.
11806         * dlfcn/dlvsym.c: Likewise.
11808         * include/ifaddrs.h: Use IS_IN.
11809         * inet/check_pf.c: Likewise.
11810         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11811         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11813         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11814         IS_IN_ldconfig.
11815         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11816         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11818         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11819         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11820         IS_IN (libc).
11822         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11824         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11825         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11826         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11827         * include/libc-symbols.h (IS_IN_LIB): New macro.
11828         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11829         * include/netdb.h: Likewise.
11830         * include/stap-probe.h: Remove all uses of IN_LIB.
11832         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11833         instead of IN_MODULE.
11834         * include/libc-symbols.h (IN_MODULE): Define using
11835         MODULE_NAME.
11836         (PASTE_NAME, PASTE_NAME1): New macros.
11837         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11838         of IN_LIB.
11839         (STAP_PROBE_ASM): Likewise.
11841 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11843         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11844         __mach_init in dlopened libc.
11846 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11848         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11849         * sysdeps/arm/preconfigure: Regenerate.
11851 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11853         * nptl/pthread_create.c (__pthread_create_2_1): Set
11854         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11855         when copying values from IATTR into PD.
11857 2014-11-21  Will Newton  <will.newton@linaro.org>
11858             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11860         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11861         Refactor inline-asm.  Also add comment.
11863         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11864         ElfW macro instead of hardcoded Elf64 types.
11865         (la_aarch64_gnu_pltenter): Likewise.
11866         * sysdeps/aarch64/dl-machine.h
11867         (elf_machine_runtime_setup): Use ElfW(Addr).
11869         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11870         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11871         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11872         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11873         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11874         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11875         (R_AARCH64_TLS_DTPMOD): This.
11876         (R_AARCH64_TLS_DTPREL64): Rename to ...
11877         (R_AARCH64_TLS_DTPREL): This.
11878         (R_AARCH64_TLS_TPREL64): Rename to ...
11879         (R_AARCH64_TLS_TPREL): This.
11880         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11881         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11882         R_AARCH64_TLS_TPREL64.
11883         (elf_machine_rela): Likewise.
11885 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11887         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11888         by setting it to 0.  64b atomics are not supported currently.
11890 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11892         [BZ #16469]
11893         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11894         search domain names.
11896 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11898         [BZ #16469]
11899         * NEWS: Update.
11900         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11901         trailing dot.
11902         * posix/tst-getaddrinfo5.c: New.
11903         * posix/Makefile (tests): Add it.
11905 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11907         [BZ #14498]
11908         * NEWS: Fixed.
11909         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11910         after parsing line but before break_if_match.
11911         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11912         if there is a protocol mismatch.
11914 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11916         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11917         because the potential race is on the user-supplied stream.
11919 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11921         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11922         string literal if not passed a buffer.
11923         * manual/job.texi (ctermid): Update reasoning, note deviation
11924         from posix, suggest mtasurace when not passed a buffer, for
11925         future non-preliminary safety notes.
11927 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11929         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11930         of not passing it a buffer.
11931         Reported by Peng Haitao.
11933 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11935         * manual/Makefile ($(objpfx)stamp-summary): Require
11936         check-safety.sh to pass.
11937         * manual/check-safety.sh: Wish for verification that every
11938         @deftypefn and @deftypefun is followed by a @safety remark.
11940 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11942         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11944         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11945         PTHREAD_CANCEL_ASYNCHRONOUS.
11946         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11947         send SIGCANCEL.
11949         * nptl/default-sched.h: New file.
11950         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11951         * nptl/pthread_create.c: Include it.
11952         (__pthread_create_2_1): Use collect_default_sched instead of making
11953         Linux syscalls here directly.
11955 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11957         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11958         __pthread_once): Use C11 atomics.
11960 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11962         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11964 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11966         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11967         atomic_thread_fence_acquire, atomic_thread_fence_release,
11968         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11969         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11970         atomic_compare_exchange_weak_relaxed,
11971         atomic_compare_exchange_weak_acquire,
11972         atomic_compare_exchange_weak_release,
11973         atomic_exchange_acquire, atomic_exchange_release,
11974         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11975         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11976         atomic_fetch_and_acquire,
11977         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11979 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11981         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11982         USE_ATOMIC_COMPILER_BUILTINS): Define.
11983         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11985         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11987         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11989         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11991         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11993         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11995         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11997         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11999         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12001         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12003         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12005         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12007         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12009         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12011         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12013         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12015         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12017         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12018         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12019         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12021         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12024 2014-11-19  Roland McGrath  <roland@hack.frob.com>
12026         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12027         the sched_priority value here.  It was already checked when the user
12028         called pthread_attr_setschedparam.
12030         * nptl/tst-bad-schedattr.c: New file.
12031         * nptl/Makefile (tests): Add it.
12033 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
12034             Florian Weimer  <fweimer@redhat.com>
12035             Joseph Myers  <joseph@codesourcery.com>
12036             Adam Conrad  <adconrad@0c3.net>
12037             Andreas Schwab  <schwab@suse.de>
12038             Brooks  <bmoses@google.com>
12040         [BZ #17625]
12041         * wordexp-test.c (__dso_handle): Add prototype.
12042         (__register_atfork): Likewise.
12043         (__app_register_atfork): New function.
12044         (registered_forks): New global.
12045         (register_fork): New function.
12046         (test_case): Add 3 new tests for WRDE_CMDSUB.
12047         (main): Call __app_register_atfork.
12048         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12049         fork count is non-zero fail the test.
12050         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12051         is set.
12052         (parse_dollars): Remove check for WRDE_NOCMD.
12053         (parse_dquote): Likewise.
12055 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12057         * Makeconfig (built-modules): List non-library modules to be
12058         built.
12059         (module-cppflags): Include libc-modules.h for
12060         everything except shlib-versions.v.i.
12061         (CPPFLAGS): Use it.
12062         (before-compile): Add libc-modules.h.
12063         ($(common-objpfx)libc-modules.h,
12064         $(common-objpfx)libc-modules.stmp): New targets.
12065         (common-generated): Add libc-modules.h and libc-modules.stmp.
12066         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12067         * include/libc-symbols.h: Don't include libc-modules.h.
12068         * include/libc-modules.h: Remove file.
12069         * scripts/gen-libc-modules.awk: New script to generate
12070         libc-modules.h.
12071         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12072         Depend on libc-modules.stmp.
12074         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12076         * Makeconfig (in-module): Get value of libof set for the
12077         translation unit.
12078         (CPPFLAGS): Use $(in-module).
12079         * Makerules: Don't suffix routine names for nonlib.
12080         * include/libc-modules.h: New file.
12081         * include/libc-symbols.h: Include libc-modules.h
12082         (IS_IN): New macro to replace IS_IN_* macros.
12083         * elf/Makefile: Set libof-* for each routine.
12084         * elf/rtld-Rules: Likewise.
12085         * extra-modules.mk: Likewise.
12086         * iconv/Makefile: Likewise.
12087         * iconvdata/Makefile: Likewise.
12088         * locale/Makefile: Likewise.
12089         * malloc/Makefile: Likewise.
12090         * nss/Makefile: Likewise.
12091         * sysdeps/gnu/Makefile: Likewise.
12092         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12093         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12094         * sysdeps/s390/s390-64/Makefile: Likewise.
12095         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12096         CPPFLAGS for nscd instead of nonlib.
12098 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12100         * nptl/createthread.c: New file.
12102         * nptl/createthread.c: Moved ...
12103         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12105         * nptl/createthread.c: Add proper top-line comment.
12106         (do_clone): Folded into ...
12107         (create_thread): ... here.  Take new arguments STOPPED_START and
12108         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12109         increment __nptl_threads, do event-reporting logic, do
12110         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12111         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12112         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12113         just send SIGCANCEL.
12114         * nptl/pthread_create.c: Forward-declare create_thread before
12115         including createthread.c.
12116         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12117         declaration, and new macro START_THREAD_SELF to replace argument.
12118         Remove return statement.
12119         (report_thread_creation): New function.
12120         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12121         synchronization logic, and __nptl_nthreads increment here, around
12122         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12123         PD->parent_cancelhandling here, before create_thread.  When
12124         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12125         __deallocate_stack, and ENOMEM translation here.
12127 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12129         [BZ #17616]
12130         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12131         (mptwo): Rename to __mptwo.
12132         (__inv): Use __mptwo instead of mptwo.
12133         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12134         (mptwo): Rename to __mptwo.
12135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12136         of mpone and __mptwo instead of mptwo.
12137         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12138         instead of mpone.
12139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12140         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12141         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12142         of mpone and __mptwo instead of mptwo.
12143         (__mpranred): Use __mpone instead of mpone.
12144         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12145         variable.
12146         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12147         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12148         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12149         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12150         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12151         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12152         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12153         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12154         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12155         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12156         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12157         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12158         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12159         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12160         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12161         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12162         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12163         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12164         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12166 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12168         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12169         replace BSD Handler xref with BSD Signal Handling.
12171 2014-11-17  Richard Henderson  <rth@redhat.com>
12173         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12174         (_FP_PACK_RAW_2): Remove.
12175         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12176         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12177         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12178         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12179         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12180         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12181         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12182         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12183         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12184         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12185         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12186         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12187         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12188         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12189         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12190         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12192 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12194         * signal/signal.h [__USE_MISC]
12195         (struct sigvec): Remove type.
12196         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12197         (sigvec): Remove declaration.
12198         * sysdeps/posix/sigvec.c: Moved ...
12199         * signal/sigvec.c: ... here, replacing old file.
12200         (struct sigvec): New type, copied from old signal.h definition.
12201         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12202         (__sigvec): Convert definition to prototype.
12203         (sigvec): Replace weak_alias with compat_symbol.
12204         * signal/Versions (libc: GLIBC_2.21): New version set.
12205         * include/signal.h: Remove __sigvec declaration.
12206         * sysdeps/unix/bsd/sigvec.c: Remove file.
12207         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12208         * manual/signal.texi (BSD Handler): Remove subsection.
12209         Move siginterrupt up to ...
12210         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12211         (Blocking in BSD): Fold subsection into its parent.
12212         * NEWS: Mention sigvec removal.
12214 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12216         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12217         (DLA_FMS): Make definition conditional only on [__FMA4__].
12218         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12219         definition.
12221         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12222         Make definition conditional only on [PROF].
12223         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12224         definition.
12225         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12226         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12228         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12229         !__GNUC__].
12230         * include/signal.h (__sigpause): Move declaration above call to
12231         libc_hidden_proto.
12232         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12233         variable.
12234         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12235         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12237 2014-11-14  David S. Miller  <davem@davemloft.net>
12239         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12240         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12242 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12244         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12245         * configure: Regenerated.
12246         * manual/install.texi (Tools for Compilation): Document a
12247         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12248         compiler verified to work.
12249         * INSTALL: Regenerated.
12251         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12252         redeclare with asm name.
12253         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12254         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12255         including <string.h>.
12256         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12257         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12258         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12259         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12260         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12261         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12262         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12264 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12266         * stdlib/strtol.c (__strtol): Use prototype definition.
12268         [BZ #17594]
12269         * stdlib/strtol.c (SYM__): New macro.
12270         (SYM__1): Likewise.
12271         (__strtol): Likewise.
12272         (strtol): Rename to __strtol and define as weak alias of
12273         __strtol.  Use libc_hidden_weak.
12275 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12277         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12278         Use numbered labels in inline assembly.
12280 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12282         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12283         Add setjmp LIBC_PROBE.
12284         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12285         Likewise.
12286         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12287         Add longjmp, longjmp_target LIBC_PROBE.
12288         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12289         Likewise.
12291 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12293         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12294         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12295         to get rid of unused variable warning.
12297 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12299         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12300         Check for unwind_backtrace ==  NULL only in SHARED case.
12301         (__backchain_backtrace): Compile only in SHARED case.
12302         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12303         Likewise.
12304         (__backchain_backtrace): Declare as static.
12306 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12308         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12309         (__libc_multiple_threads_ptr): Variable moved ...
12310         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12312 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12314         * conform/GlibcConform.pm: New file.
12315         * conform/conformtest.pl: Use GlibcConform module.
12316         * conform/linknamespace.pl: New file.
12317         * conform/list-header-symbols.pl: Likewise.
12318         * conform/Makefile (linknamespace-symlists-base): New variable.
12319         (linknamespace-symlists-tests): Likewise.
12320         (linknamespace-header-base): Likewise.
12321         (linknamespace-header-tests): Likewise.
12322         (tests-special): Add new tests.
12323         ($(linknamespace-symlists-tests)): New rule.
12324         (linknamespace-libs): New variable.
12325         ($(objpfx)symlist-stdlibs): New rule.
12326         ($(linknamespace-header-tests)): Likewise.
12327         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12328         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12329         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12330         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12331         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12332         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12333         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12334         (test-xfail-ISO/math.h/linknamespace): Likewise.
12335         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12336         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12337         (test-xfail-ISO/time.h/linknamespace): Likewise.
12338         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12339         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12340         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12341         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12342         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12343         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12344         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12345         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12346         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12347         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12348         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12349         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12350         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12351         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12352         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12353         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12354         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12355         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12356         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12357         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12358         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12359         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12360         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12361         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12362         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12363         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12364         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12365         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12366         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12367         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12368         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12369         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12370         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12371         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12372         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12373         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12374         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12375         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12376         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12377         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12378         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12379         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12380         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12381         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12382         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12383         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12384         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12385         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12386         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12387         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12388         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12389         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12390         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12391         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12392         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12393         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12394         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12395         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12396         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12397         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12398         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12399         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12400         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12401         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12402         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12403         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12404         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12405         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12406         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12407         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12408         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12409         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12410         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12411         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12412         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12413         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12414         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12415         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12416         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12417         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12418         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12419         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12420         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12421         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12422         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12423         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12424         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12425         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12426         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12427         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12428         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12429         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12430         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12431         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12432         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12433         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12434         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12435         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12436         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12437         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12438         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12439         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12440         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12441         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12442         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12443         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12444         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12445         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12446         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12447         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12448         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12449         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12450         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12451         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12452         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12453         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12454         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12455         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12456         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12457         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12458         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12459         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12460         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12461         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12462         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12463         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12464         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12465         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12466         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12467         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12468         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12469         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12470         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12471         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12472         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12473         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12474         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12475         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12476         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12477         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12478         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12479         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12480         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12481         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12482         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12483         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12484         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12485         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12486         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12487         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12489         [BZ #17589]
12490         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12491         of fgets_unlocked.
12493         [BZ #17585]
12494         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12495         (memmem): Rename to __memmem and define as weak alias of
12496         __memmem.  Use libc_hidden_weak.
12497         (__memmem): Use libc_hidden_def.
12498         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12499         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12500         memmem.
12502         [BZ #17582]
12503         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12504         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12505         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12506         and define as weak alias of __fgets_unlocked.  Use
12507         libc_hidden_weak.
12508         (__fgets_unlocked): Use libc_hidden_def.
12509         * include/stdio.h (__fgets_unlocked): Declare.  Use
12510         libc_hidden_proto.
12511         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12512         __fgets_unlocked instead of fgets_unlocked.
12513         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12514         (GET_NPROCS_CONF_PARSER): Likewise.
12515         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12516         (GET_NPROCS_CONF_PARSER): Likewise.
12518         [BZ #17574]
12519         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12520         weak alias of __wmemset.  Use libc_hidden_weak.
12521         (__wmemset): Use libc_hidden_def.
12522         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12523         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12524         of wmemset.
12526         [BZ #17573]
12527         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12528         with asm name __mempcpy.
12529         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12531         [BZ #17572]
12532         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12533         and define as weak alias of __rawmemchr.
12534         (__rawmemchr): Do not define as strong alias of rawmemchr.
12536         [BZ #17571]
12537         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12538         alias of __qsort_r.
12539         (qsort): Call __qsort_r instead of qsort_r.
12540         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12541         (__qsort_r): Declare.  Call libc_hidden_proto.
12542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12543         instead of qsort_r.
12544         * nscd/gai.c (__qsort_r): Define to qsort_r.
12545         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12546         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12547         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12549         [BZ #17570]
12550         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12551         define as weak alias of __malloc_info.
12553         [BZ #17584]
12554         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12555         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12556         (__rewinddir): Use libc_hidden_def.
12557         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12558         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12559         (__rewinddir): Use libc_hidden_def.
12560         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12561         weak alias of __rewinddir.  Don't use libc_hidden_def.
12562         (__rewinddir): Use libc_hidden_def.
12563         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12564         (__rewinddir): Use libc_hidden_proto.
12565         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12566         rewinddir.
12567         (__getcwd): Use __rewinddir instead of rewinddir.
12569         [BZ #17583]
12570         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12571         alias of __fileno.  Use libc_hidden_weak.
12572         (__fileno): Use libc_hidden_def.
12573         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12574         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12575         alias of __ftello.
12576         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12577         __ftello.
12578         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12579         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12580         libc_hidden_def.
12581         (fread_unlocked): Don't use libc_hidden_ver.
12582         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12583         and define as weak alias of __fread_unlocked.  Don't use
12584         libc_hidden_def.
12585         (__fread_unlocked): Use libc_hidden_def.
12586         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12587         (ftello): Don't use libc_hidden_proto.
12588         (__ftello): Declare.  Use libc_hidden_proto.
12589         (fread_unlocked): Don't use libc_hidden_proto.
12590         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12591         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12592         and __ftello instead of fileno, fread_unlocked and ftello.
12594 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12596         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12597         GOT12.
12598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12599         Likewise.
12600         (_dl_start_user): Likewise.
12601         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12603 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12604             Siddhesh Poyarekar  <siddhesh@redhat.com>
12606         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12607         Move argv and envp down instead of moving argc up.
12608         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12610 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12612         [BZ #17506]
12613         * test-skeleton.c (main): Return successful if one of
12614         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12615         * string/tst-strcoll-overflow.c: Define expected status.
12617 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12619         [BZ #17475]
12620         * locale/iso-639.def: Define Bhili and Tulu language codes.
12622 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12624         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12626 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12628         [BZ #17555]
12629         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12631 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12633         * configure.ac: Updated check of minimal required version to
12634         2.22.
12635         * manual/install.texi (Tools for Compilation): Updated version
12636         number.
12637         * configure: Regenerated.
12638         * INSTALL: Likewise.
12640 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12642         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12643         __tls_get_addr.
12645 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12647         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12648         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12649         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12650         libc_hidden_weak.
12651         (waitpid): Define as alias of __waitpid.
12652         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12653         __waitpid.
12654         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12655         libc_hidden_weak.
12656         (waitpid): Define as alias of __waitpid.
12657         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12658         __libc_waitpid alias.
12659         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12660         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12661         Likewise.
12662         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12663         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12664         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12665         alias.
12666         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12667         __waitpid.
12668         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12669         libc_hidden_weak.
12670         (waitpid): Define as alias of __waitpid.
12672 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12674         * manual/llio.texi: Add comment that write safety has been
12675         fixed in Linux.
12677         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12678         (localplt-build-dso): Add elf/ld.so.
12679         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12680         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12681         and free for ld.so.
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12683         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12685         Likewise.
12686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12687         Likewise.
12688         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12689         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12690         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12691         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12692         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12693         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12694         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12695         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12696         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12697         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12698         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12700 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12702         [BZ #14132]
12703         * include/libc-symbols.h (INTUSE): Remove macro.
12704         (INTDEF): Likewise.
12705         (INTVARDEF): Likewise.
12706         (_INTVARDEF): Likewise.
12707         (INTDEF2): Likewise.
12708         (INTVARDEF2): Likewise.
12709         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12710         rtld_hidden_def instead of INTVARDEF.
12711         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12712         (_dl_starting_up_internal): Remove declaration.
12713         (_dl_starting_up): Use rtld_hidden_proto.
12714         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12715         declaration.
12716         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12717         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12718         _dl_starting_up.
12719         * elf/dl-writev.h (_dl_writev): Likewise.
12720         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12721         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12722         _dl_starting_up_internal.
12724 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12726         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12727         test-skeleton.c.
12729 2014-11-05  Will Newton  <will.newton@linaro.org>
12731         * benchtests/Makefile: (bench-malloc): Add malloc thread
12732         scalability benchmark.
12733         * benchtests/bench-malloc-threads.c: New file.
12735 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12737         * sysdeps/aarch64/strchrnul.S: New file.
12739 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12741         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12742         definition.
12743         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12744         Likwise.
12745         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12746         Likewise.
12747         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12748         Likewise.
12749         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12750         Likewise.
12751         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12752         Likewise.
12754 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12756         * catgets/test-gencat.c: Use test-skeleton.c.
12757         * catgets/tst-catgets.c: Likewise.
12758         * csu/tst-empty.c: Likewise.
12759         * elf/tst-audit2.c: Likewise.
12760         * elf/tst-global1.c: Likewise.
12761         * elf/tst-pathopt.c: Likewise.
12762         * elf/tst-piemod1.c: Likewise.
12763         * elf/tst-tls10.c: Likewise.
12764         * elf/tst-tls11.c: Likewise.
12765         * elf/tst-tls12.c: Likewise.
12766         * gnulib/tst-gcc.c: Likewise.
12767         * iconvdata/tst-e2big.c: Likewise.
12768         * iconvdata/tst-loading.c: Likewise.
12769         * iconv/tst-iconv1.c: Likewise.
12770         * iconv/tst-iconv2.c: Likewise.
12771         * inet/test-inet6_opt.c: Likewise.
12772         * inet/tst-gethnm.c: Likewise.
12773         * inet/tst-network.c: Likewise.
12774         * inet/tst-ntoa.c: Likewise.
12775         * intl/tst-codeset.c: Likewise.
12776         * intl/tst-gettext2.c: Likewise.
12777         * intl/tst-gettext3.c: Likewise.
12778         * intl/tst-ngettext.c: Likewise.
12779         * intl/tst-translit.c: Likewise.
12780         * io/test-stat.c: Likewise.
12781         * libio/test-fmemopen.c: Likewise.
12782         * libio/tst-freopen.c: Likewise.
12783         * libio/tst-sscanf.c: Likewise.
12784         * libio/tst-ungetwc1.c: Likewise.
12785         * libio/tst-ungetwc2.c: Likewise.
12786         * libio/tst-widetext.c: Likewise.
12787         * localedata/tst-ctype.c: Likewise.
12788         * localedata/tst-digits.c: Likewise.
12789         * localedata/tst-leaks.c: Likewise.
12790         * localedata/tst-mbswcs1.c: Likewise.
12791         * localedata/tst-mbswcs2.c: Likewise.
12792         * localedata/tst-mbswcs3.c: Likewise.
12793         * localedata/tst-mbswcs4.c: Likewise.
12794         * localedata/tst-mbswcs5.c: Likewise.
12795         * localedata/tst-setlocale.c: Likewise.
12796         * localedata/tst-trans.c: Likewise.
12797         * localedata/tst-wctype.c: Likewise.
12798         * localedata/tst-xlocale1.c: Likewise.
12799         * login/tst-grantpt.c: Likewise.
12800         * malloc/tst-calloc.c: Likewise.
12801         * malloc/tst-malloc.c: Likewise.
12802         * malloc/tst-mallocstate.c: Likewise.
12803         * malloc/tst-mcheck.c: Likewise.
12804         * malloc/tst-mtrace.c: Likewise.
12805         * malloc/tst-obstack.c: Likewise.
12806         * math/atest-exp2.c: Likewise.
12807         * math/atest-exp.c: Likewise.
12808         * math/atest-sincos.c: Likewise.
12809         * math/test-matherr.c: Likewise.
12810         * math/test-misc.c: Likewise.
12811         * math/test-powl.c: Likewise.
12812         * math/tst-definitions.c: Likewise.
12813         * misc/tst-dirname.c: Likewise.
12814         * misc/tst-efgcvt.c: Likewise.
12815         * misc/tst-fdset.c: Likewise.
12816         * misc/tst-hsearch.c: Likewise.
12817         * misc/tst-mntent2.c: Likewise.
12818         * nptl/tst-sem7.c: Likewise.
12819         * nptl/tst-sem8.c: Likewise.
12820         * nptl/tst-sem9.c: Likewise.
12821         * nss/test-netdb.c: Likewise.
12822         * posix/tst-fnmatch.c: Likewise.
12823         * posix/tst-getlogin.c: Likewise.
12824         * posix/tst-gnuglob.c: Likewise.
12825         * posix/tst-mmap.c: Likewise.
12826         * pwd/tst-getpw.c: Likewise.
12827         * resolv/tst-inet_ntop.c: Likewise.
12828         * rt/tst-timer.c: Likewise.
12829         * stdio-common/test-fseek.c: Likewise.
12830         * stdio-common/test-popen.c: Likewise.
12831         * stdio-common/test-vfprintf.c: Likewise.
12832         * stdio-common/tst-cookie.c: Likewise.
12833         * stdio-common/tst-fileno.c: Likewise.
12834         * stdio-common/tst-gets.c: Likewise.
12835         * stdio-common/tst-obprintf.c: Likewise.
12836         * stdio-common/tst-perror.c: Likewise.
12837         * stdio-common/tst-sprintf2.c: Likewise.
12838         * stdio-common/tst-sprintf3.c: Likewise.
12839         * stdio-common/tst-sprintf.c: Likewise.
12840         * stdio-common/tst-swprintf.c: Likewise.
12841         * stdio-common/tst-tmpnam.c: Likewise.
12842         * stdio-common/tst-unbputc.c: Likewise.
12843         * stdio-common/tst-wc-printf.c: Likewise.
12844         * stdlib/tst-environ.c: Likewise.
12845         * stdlib/tst-fmtmsg.c: Likewise.
12846         * stdlib/tst-limits.c: Likewise.
12847         * stdlib/tst-rand48-2.c: Likewise.
12848         * stdlib/tst-rand48.c: Likewise.
12849         * stdlib/tst-random2.c: Likewise.
12850         * stdlib/tst-random.c: Likewise.
12851         * stdlib/tst-strtol.c: Likewise.
12852         * stdlib/tst-strtoll.c: Likewise.
12853         * stdlib/tst-tls-atexit.c: Likewise.
12854         * stdlib/tst-xpg-basename.c: Likewise.
12855         * string/test-ffs.c: Likewise.
12856         * string/tst-bswap.c: Likewise.
12857         * string/tst-inlcall.c: Likewise.
12858         * string/tst-strtok.c: Likewise.
12859         * string/tst-strxfrm.c: Likewise.
12860         * sysdeps/x86_64/tst-audit10.c: Likewise.
12861         * sysdeps/x86_64/tst-audit3.c: Likewise.
12862         * sysdeps/x86_64/tst-audit4.c: Likewise.
12863         * sysdeps/x86_64/tst-audit5.c: Likewise.
12864         * time/tst-ftime_l.c: Likewise.
12865         * time/tst-getdate.c: Likewise.
12866         * time/tst-mktime3.c: Likewise.
12867         * time/tst-mktime.c: Likewise.
12868         * time/tst-posixtz.c: Likewise.
12869         * time/tst-strptime2.c: Likewise.
12870         * time/tst-strptime3.c: Likewise.
12871         * wcsmbs/tst-btowc.c: Likewise.
12872         * wcsmbs/tst-mbrtowc.c: Likewise.
12873         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12874         * wcsmbs/tst-wchar-h.c: Likewise.
12875         * wcsmbs/tst-wcpncpy.c: Likewise.
12876         * wcsmbs/tst-wcrtomb.c: Likewise.
12877         * wcsmbs/tst-wcsnlen.c: Likewise.
12878         * wcsmbs/tst-wcstof.c: Likewise.
12880 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12882         [BZ #14132]
12883         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12884         INTDEF.
12885         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12886         declaration.
12887         (_dl_mcount): Use rtld_hidden_proto.
12888         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12889         _dl_mcount.
12890         * elf/rtld.c (_rtld_global_ro): Likewise.
12892         [BZ #14132]
12893         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12894         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12895         of _dl_init_internal.
12896         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12897         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12898         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12899         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12900         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12901         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12902         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12903         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12904         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12905         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12906         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12907         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12908         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12909         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12910         * sysdeps/tile/dl-start.S (_start): Likewise.
12911         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12912         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12914         [BZ #14132]
12915         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12916         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12917         (rtld_progname): Make macro definition unconditional.
12918         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12919         INTDEF.
12920         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12921         (dl_main): Likewise.
12922         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12923         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12924         instead of _dl_argv_internal.
12925         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12926         __GI__dl_argv instead of INTUSE(_dl_argv).
12927         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12928         __GI__dl_argv instead of _dl_argv_internal.
12930         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12931         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12932         macro.
12933         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12934         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12935         New macro.
12936         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12937         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12938         macro.
12939         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12940         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12942 2014-11-04  Andreas Schwab  <schwab@suse.de>
12944         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12946 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12948         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12949         mtvsrd instruction in binary form.
12951 2014-11-03  Andreas Schwab  <schwab@suse.de>
12953         [BZ #17522]
12954         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12955         for less than MB_LEN_MAX use a local buffer of that size.
12956         * libio/tst-fputws.c: New file.
12957         * libio/Makefile (tests): Add tst-fputws.
12959 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12961         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12962         the size of the fpu_fr.fpu_dregs[] array.
12964 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12966         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12967         (__nanosleep): Do not define as alias.
12968         (nanosleep): Define as alias of __nanosleep.
12969         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12970         __libc_nanosleep name.
12972 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12974         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12975         install.texi in comment.
12977 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12979         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12980         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12981         ... add here and use lwsync or sync ...
12982         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12983         ... and add here using lwsync.
12985 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12987         * elf/dl-machine-reject-phdr.h: New file.
12988         * elf/dl-load.c: #include that.
12989         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12990         if that returned true.
12992 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12994         [BZ #17496]
12995         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12996         gen-as-const-headers chunk.  Add a big scare comment after the last
12997         safe place to touch before-compile.
12999 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13001         * manual/install.texi (Tools for Compilation): Update autoconf
13002         version requirements.
13003         * INSTALL: Regenerated.
13005         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13006         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13007         (__libc_pselect): Likewise.
13009         [BZ #14138]
13010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13015 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13017         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13018         correct barrier instruction.
13019         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13020         Likewise.
13021         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13022         Likewise.
13024 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13026         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13027         after defining inlines.  Instead, just use parens to defeat macro
13028         expansion of __isctype in its declaration.
13030 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13032         * include/sys/uio.h (__libc_readv): Remove declaration.
13033         (__libc_writev): Likewise.
13034         * misc/readv.c (__libc_readv): Rename to __readv.
13035         (__readv): Do not define as alias.
13036         (readv): Define as alias of __readv.
13037         * misc/writev.c (__libc_writev): Rename to __writev.
13038         (__writev): Do not define as alias.
13039         (writev): Define as alias of __writev.
13040         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13041         (__readv): Do not define as alias.
13042         (readv): Define unconditionally as alias of __readv.
13043         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13044         (__writev): Do not define as alias.
13045         (writev): Define unconditionally as alias of __writev.
13046         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13047         name.
13048         (writev): Do not define __libc_writev name.
13050 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13052         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13053         (convert_charseq): New function, broken out of ...
13054         (use_from_charmap): ... here.  Call it.
13055         (use_to_charmap): Use convert_charseq and free instead of duplicating
13056         its code with a variable-length stack struct.
13058 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13060         * include/fcntl.h (__libc_creat): Remove declaration.
13061         * io/creat.c (__libc_creat): Rename to creat.
13062         (creat): Do not define as alias.
13063         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13064         of creat instead of __libc_creat.
13065         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13066         to creat.
13067         (creat): Do not define as alias.
13068         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13069         __libc_creat.
13070         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13071         __libc_creat name.
13072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13073         Likewise.
13075 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13077         * manual/llio.texi: Add comments discussing why write() may be
13078         considered MT-unsafe on Linux.
13080 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13082         * dl-load.c (local_strdup): Remove.
13083         (expand_dynamic_string_token): Use __strdup.
13084         (decompose_rpath): Likewise.
13085         (_dl_map_object): Likewise.
13087 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #14132]
13090         * sysdeps/generic/unwind-dw2-fde.c
13091         (__register_frame_info_bases_internal): Do not declare.
13092         (__register_frame_info_table_bases_internal): Likewise.
13093         (__deregister_frame_info_bases_internal): Likewise.
13094         (__register_frame_info_bases): Declare and use hidden_proto before
13095         definition.  Use hidden_def instead of INTDEF.
13096         (__register_frame_info_table_bases): Likewise.
13097         (__deregister_frame_info_bases): Likewise.
13098         (__register_frame_info): Do not use INTUSE.
13099         (__register_frame): Likewise.
13100         (__register_frame_info_table): Likewise.
13101         (__register_frame_table): Likewise.
13102         (__deregister_frame_info): Likewise.
13103         (__deregister_frame): Likewise.
13105 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13107         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13108         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13109         not undefine.
13110         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13111         Likewise.
13112         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13113         Likewise.
13115 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13117         [BZ #14138]
13118         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13119         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13120         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13121         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13122         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13123         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13124         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13125         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13126         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13127         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13128         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13129         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13130         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13131         syscall.
13132         (setfsuid): Likewise.
13133         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13134         (setfsuid): Likewise.
13135         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13136         (setfsuid): Likewise.
13137         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13138         Likewise.
13139         (setfsuid): Likewise.
13140         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13141         (setfsuid): Likewise.
13142         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13143         Likewise.
13144         (setfsuid): Likewise.
13146 2014-10-27  Andreas Schwab  <schwab@suse.de>
13148         [BZ #17501]
13149         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13150         check for Slow_SSE4_2 feature bit.
13151         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13152         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13153         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13154         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13156 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13158         * configure.ac: Validate compiler version with a empirical test of
13159         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13160         $CC -v output.
13161         * configure: Regenerated.
13163         * inet/htons.c (htons): Prototypify.
13164         * inet/htonl.c (htonl): Likewise.
13166 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13168         * string/strncat.c (strncat): Improve performance by using strlen.
13170 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13172         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13174 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13176         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13177         Call libc_fetestexcept_aarch64.
13179 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13181         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13182         Call libc_feholdexcept_aarch64.
13184 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13186         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13187         Call get_rounding_mode.
13189 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13191         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13192         Simplify logic.
13194 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13196         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13197         Simplify logic.
13199 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13201         [BZ #14138]
13202         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13203         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13204         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13205         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13206         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13207         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13208         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13209         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13210         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13211         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13212         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13213         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13214         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13215         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13216         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13217         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13218         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13219         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13220         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13221         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13222         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13223         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13224         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13225         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13226         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13227         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13228         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13229         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13230         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13231         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13232         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13233         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13234         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13235         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13236         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13237         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13238         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13239         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13240         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13241         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13242         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13243         syscall.
13244         (geteuid): Likewise.
13245         (getgid): Likewise.
13246         (getuid): Likewise.
13247         (getresgid): Likewise.
13248         (getresuid): Likewise.
13249         (getgroups): Likewise.
13250         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13251         (geteuid): Likewise.
13252         (getgid): Likewise.
13253         (getuid): Likewise.
13254         (getresgid): Likewise.
13255         (getresuid): Likewise.
13256         (getgroups): Likewise.
13257         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13258         (geteuid): Likewise.
13259         (getgid): Likewise.
13260         (getuid): Likewise.
13261         (getresgid): Likewise.
13262         (getresuid): Likewise.
13263         (getgroups): Likewise.
13264         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13265         Likewise.
13266         (geteuid): Likewise.
13267         (getgid): Likewise.
13268         (getuid): Likewise.
13269         (getresgid): Likewise.
13270         (getresuid): Likewise.
13271         (getgroups): Likewise.
13272         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13273         (geteuid): Likewise.
13274         (getgid): Likewise.
13275         (getuid): Likewise.
13276         (getresgid): Likewise.
13277         (getresuid): Likewise.
13278         (getgroups): Likewise.
13279         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13280         Likewise.
13281         (geteuid): Likewise.
13282         (getgid): Likewise.
13283         (getuid): Likewise.
13284         (getgroups): Likewise.
13286         [BZ #14138]
13287         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13288         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13289         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13290         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13291         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13292         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13293         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13294         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13295         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13296         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13297         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13298         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13299         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13300         __chown.
13301         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13302         (lchown): Likewise.
13303         (fchown): Likewise.
13304         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13305         Likewise.
13306         (lchown): Likewise.
13307         (fchown): Likewise.
13308         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13309         (lchown): Likewise.
13310         (fchown): Likewise.
13311         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13312         Likewise.
13313         (lchown): Likewise.
13314         (fchown): Likewise.
13316 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13318         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13319         Simplify logic.
13321 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13323         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13324         Cleanup logic.
13326 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13328         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13329         Remove unused include.
13331 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13333         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13334         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13335         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13336         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13338 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13339             Helge Deller <deller@gmx.de>
13341         [BZ #17508]
13342         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13343         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13344         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13346 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13348         [BZ #14132]
13349         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13350         Remove macro definition.
13351         (__ashrdi3_v_glibc20): Likewise.
13352         (__lshrdi3_v_glibc20): Likewise.
13353         (__cmpdi2_v_glibc20): Likewise.
13354         (__ucmpdi2_v_glibc20): Likewise.
13355         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13356         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13357         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13358         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13359         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13360         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13362 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13364         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13365         old GNU extension [0] syntax.
13366         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13367         alloca rather than an array member with variable length.
13368         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13369         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13370         (parse_opt): ... here.  Likewise use alloca there.
13371         Validate the -i argument before checking for rootness.
13372         (send_shutdown): New function, broken out of ...
13373         (parse_opt): ... here.
13375 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13377         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13378         macro to get at the _rt_local_ro field.
13379         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13380         ([PIC] case) or _dl_hwcap ([!PIC] case).
13381         * sysdeps/arm/setjmp.S: Likewise.
13383         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13384         * sysdeps/arm/configure.ac: New check to define it.
13385         * sysdeps/arm/configure: Regenerated.
13386         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13387         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13388         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13389         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13390         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13391         Use move/movt pair instead of a load.
13392         (LDST_GLOBAL): Macro removed.
13393         (LDR_GLOBAL): New macro replaces it.
13394         (LDR_HIDDEN): New macro.
13395         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13396         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13398         * setjmp/tst-setjmp-static.c: New file.
13399         * setjmp/Makefile (tests): Add it.
13400         (tests-static): New variable.
13402 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13404         [BZ #17485]
13405         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13407 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13409         [BZ #14132]
13410         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13412 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13414         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13416 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13418         * io/fts.c (dirent_not_directory): New function.
13419         (fts_build): Call it.
13421 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13423         * nptl/version.c (__nptl_main): Use normal __write rather than
13424         INTERNAL_SYSCALL.
13425         (banner): Update copyright years.
13427         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13428         gettimeofday.
13429         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13430         * nptl/pthread_cond_timedwait.c: Likewise.
13431         * nptl/pthread_mutex_timedlock.c: Likewise.
13432         * nptl/sem_timedwait.c: Likewise.
13434         * sysdeps/nptl/bits/libc-lock.h
13435         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13436         (__libc_lock_init_recursive): Return void, not 0.
13437         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13438         (__libc_rwlock_init): Likewise.
13439         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13441 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13443         [BZ #15215]
13444         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13445         (__pthread_once_slow): ... here.
13446         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13447         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13449 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13451         [BZ #15215]
13452         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13453         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13454         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13455         * nptl/pthread_once.c (__pthread_once): Likewise.
13456         Update comments.
13458 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13460         [BZ #14138]
13461         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13462         name.
13463         (writev): Use __libc_writev as strong name.
13464         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13465         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13467 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13469         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13471         * sysdeps/i386/nptl/tls.h
13472         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13473         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13474         New macros.
13475         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13476         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13477         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13478         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13479         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13480         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13482         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13483         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13484         on [__NR_futex].
13485         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13486         broken out of ...
13487         (__pthread_mutex_init): ... here.  Call it.
13488         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13489         Conditionalize PI cases on [__NR_futex].
13490         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13491         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13492         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13494         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13495         conditional on [SIGSETXID].
13496         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13497         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13498         is defined.  Likewise for SIGSETXID.
13499         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13500         Conditionalize definitions on [SIGSETXID].
13501         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13502         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13503         unblocking on [SIGCANCEL].
13505         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13506         [__NR_set_robust_list].
13508 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13510         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13511         (do_compare): Likewise.
13513 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13515         [BZ #15884]
13516         * string/strcoll_l.c: Don't include stdio.h.
13517         (coll_seq): Remove members idxarr and rulearr.
13518         (get_next_seq_cached): Remove function.
13519         (get_next_seq): Likewise.
13520         (get_next_seq_nocache): Rename to get_next_seq.
13521         (do_compare): Remove function.
13522         (do_compare_nocache): Rename to do_compare.
13523         (STRCOLL): Remove weight and rules cache.
13525 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13527         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13528         * sysdeps/arm/sfp-machine.h: ... to here.
13529         * sysdeps/arm/Implies: Remove arm/soft-fp.
13531 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13533         * conform/data/sys/utsname.h-data (*_t): Allow.
13534         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13535         [POSIX] (WEXITED): Do not expect constant.
13536         [POSIX] (WSTOPPED): Likewise.
13537         [POSIX] (WNOHANG): Likewise.
13538         [POSIX] (WNOWAIT): Likewise.
13539         [POSIX] (siginfo_t): Do not expect type or elements.
13540         [POSIX] (pid_t): Do not expect type.
13541         [POSIX] (signal.h): Do not allow header.
13542         [POSIX] (sys/resource.h): Likewise.
13543         [POSIX] (si_*): Do not allow pattern.
13544         [POSIX] (W*): Likewise.
13545         [POSIX] (P_*): Likewise.
13546         [POSIX] (BUS_*): Likewise.
13547         [POSIX] (CLD_*): Likewise.
13548         [POSIX] (FPE_*): Likewise.
13549         [POSIX] (ILL_*): Likewise.
13550         [POSIX] (POLL_*): Likewise.
13551         [POSIX] (SEGV_*): Likewise.
13552         [POSIX] (SI_*): Likewise.
13553         [POSIX] (TRAP_*): Likewise.
13554         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13555         variable.
13557 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13559         [BZ #12926]
13560         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13561         infinite loop when __recvmsg returns 0.
13563 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13565         * CANCEL-FCT-WAIVE: Remove file.
13566         * CANCEL-FILE-WAIVE: Likewise.
13568         [BZ #14132]
13569         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13570         instead of INTVARDEF.
13571         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13572         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13573         rtld_hidden_data_def instead of INTVARDEF.
13574         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13575         * elf/dl-deps.c (expand_dst): Likewise.
13576         * elf/dl-load.c (_dl_dst_count): Likewise.
13577         (_dl_dst_substitute): Likewise.
13578         (decompose_rpath): Likewise.
13579         (_dl_init_paths): Likewise.
13580         (open_path): Likewise.
13581         (_dl_map_object): Likewise.
13582         * elf/rtld.c (dl_main): Likewise.
13583         (process_dl_audit): Likewise.
13584         (process_envvars): Likewise.
13585         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13586         Remove declaration.
13587         (__libc_enable_secure): Use rtld_hidden_proto.
13589 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13591         * elf/dl-load.c
13592         (add_path): New function broken out of _dl_rtld_di_serinfo.
13593         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13595 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13597         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13598         parentheses around macro arguments.
13599         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13602         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13603         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13606         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13610         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13611         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13612         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13614         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13615         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13620         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13624         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13628         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13629         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13630         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13632         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13633         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13634         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13635         Likewise.
13636         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13643         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13644         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13645         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13647         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13648         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13653         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13657         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13658         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13660         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13661         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13662         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13663         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13664         (_FP_FRAC_SRS_1): Likewise.
13665         (_FP_FRAC_CLZ_1): Likewise.
13666         (_FP_MUL_MEAT_1_imm): Likewise.
13667         (_FP_MUL_MEAT_1_wide): Likewise.
13668         (_FP_MUL_MEAT_1_hard): Likewise.
13669         (_FP_SQRT_MEAT_1): Likewise.
13670         (_FP_FRAC_ASSEMBLE_1): Likewise.
13671         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13672         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13673         (__FP_CLZ_2): Likewise.
13674         (_FP_MUL_MEAT_2_wide): Likewise.
13675         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13676         (_FP_MUL_MEAT_2_gmp): Likewise.
13677         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13678         (_FP_SQRT_MEAT_2): Likewise.
13679         (_FP_FRAC_ASSEMBLE_2): Likewise.
13680         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13681         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13682         (_FP_FRAC_CLZ_4): Likewise.
13683         (_FP_MUL_MEAT_4_wide): Likewise.
13684         (_FP_MUL_MEAT_4_gmp): Likewise.
13685         (_FP_SQRT_MEAT_4): Likewise.
13686         (_FP_FRAC_ASSEMBLE_4): Likewise.
13687         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13688         * soft-fp/op-common.h (_FP_CMP): Likewise.
13689         (_FP_CMP_EQ): Likewise.
13690         (_FP_CMP_UNORD): Likewise.
13691         (_FP_TO_INT): Likewise.
13692         (_FP_FROM_INT): Likewise.
13693         [!__FP_CLZ] (__FP_CLZ): Likewise.
13694         (_FP_DIV_HELP_imm): Likewise.
13695         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13696         Likewise.
13697         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13698         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13700         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13701         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13703         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13705         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13708         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13709         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13710         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13711         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13712         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13713         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13718         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13722         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13723         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13726         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13727         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13728         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13729         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13730         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13731         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13732         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13733         (FP_UNPACK_RAW_SP): Likewise.
13734         (FP_PACK_RAW_S): Likewise.
13735         (FP_PACK_RAW_SP): Likewise.
13736         (FP_UNPACK_S): Likewise.
13737         (FP_UNPACK_SP): Likewise.
13738         (FP_UNPACK_SEMIRAW_S): Likewise.
13739         (FP_UNPACK_SEMIRAW_SP): Likewise.
13740         (FP_PACK_S): Likewise.
13741         (FP_PACK_SP): Likewise.
13742         (FP_PACK_SEMIRAW_S): Likewise.
13743         (FP_PACK_SEMIRAW_SP): Likewise.
13744         (_FP_SQRT_MEAT_S): Likewise.
13745         (FP_CMP_S): Likewise.
13746         (FP_CMP_EQ_S): Likewise.
13747         (FP_CMP_UNORD_S): Likewise.
13748         (FP_TO_INT_S): Likewise.
13749         (FP_FROM_INT_S): Likewise.
13751         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13753         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13754         (FP_EX_INVALID_IMZ): Likewise.
13755         (FP_EX_INVALID_IMZ_FMA): Likewise.
13756         (FP_EX_INVALID_ISI): Likewise.
13757         (FP_EX_INVALID_ZDZ): Likewise.
13758         (FP_EX_INVALID_IDI): Likewise.
13759         (FP_EX_INVALID_SQRT): Likewise.
13760         (FP_EX_INVALID_CVI): Likewise.
13761         (FP_EX_INVALID_VC): Likewise.
13762         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13763         "invalid" exceptions.
13764         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13765         (_FP_ADD_INTERNAL): Likewise.
13766         (_FP_MUL): Likewise.
13767         (_FP_FMA): Likewise.
13768         (_FP_DIV): Likewise.
13769         (_FP_CMP_CHECK_NAN): Likewise.
13770         (_FP_SQRT): Likewise.
13771         (_FP_TO_INT): Likewise.
13772         (FP_EXTEND): Likewise.
13774 2014-10-09  Allan McRae  <allan@archlinux.org>
13776         * po/fr.po: Update French translation from translation project.
13778 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13780         [BZ #14132]
13781         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13782         of INTDEF.
13783         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13784         (__cxa_atexit): Use libc_hidden_proto.
13785         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13787         [BZ #14132]
13788         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13789         declaration.
13790         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13791         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13792         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13793         [!_ISOMAC] (__iswctype_internal): Likewise.
13794         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13795         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13796         alias.
13797         (fcntl): Remove __fcntl_internal alias.
13798         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13799         __connect_internal alias.
13800         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13801         Likewise.
13803         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13804         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13805         FP_DENORM_ZERO.
13806         (_FP_CHECK_FLUSH_ZERO): New macro.
13807         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13808         (_FP_CMP): Likewise.
13809         (_FP_CMP_EQ): Likewise.
13810         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13811         FP_DENORM_ZERO.
13812         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13813         (FP_TRUNC): Likewise.
13815         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13816         treated as invalid conversion, not as normal exponent.
13818         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13819         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13820         (_FP_CMP_EQ): Likewise.
13821         (_FP_CMP_UNORD): Likewise.
13822         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13823         (FP_CMP_EQ_D): Likewise.
13824         (FP_CMP_UNORD_D): Likewise.
13825         * soft-fp/extended.h (FP_CMP_E): Likewise.
13826         (FP_CMP_EQ_E): Likewise.
13827         (FP_CMP_UNORD_E): Likewise.
13828         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13829         (FP_CMP_EQ_Q): Likewise.
13830         (FP_CMP_UNORD_Q): Likewise.
13831         * soft-fp/single.h (FP_CMP_S): Likewise.
13832         (FP_CMP_EQ_S): Likewise.
13833         (FP_CMP_UNORD_S): Likewise.
13834         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13835         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13836         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13837         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13838         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13839         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13840         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13841         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13842         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13843         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13844         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13845         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13846         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13847         to FP_CMP_Q.
13848         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13849         FP_CMP_Q.
13850         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13851         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13852         FP_CMP_EQ_Q.
13853         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13854         FP_CMP_Q.
13855         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13856         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13857         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13858         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13859         FP_CMP_EQ_Q.
13860         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13861         FP_CMP_Q.
13862         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13863         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13864         FP_CMP_EQ_Q.
13865         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13866         FP_CMP_Q.
13867         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13868         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13869         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13870         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13871         FP_CMP_EQ_Q.
13873         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13874         a subnormal result, set the underflow exception if trapping on
13875         underflow is enabled.
13876         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13877         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13878         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13879         redefine to 0.
13880         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13881         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13882         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13883         * soft-fp/extendxftf2.c (__extendxftf2): Use
13884         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13886         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13887         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13888         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13889         FP_HANDLE_EXCEPTIONS.
13890         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13891         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13892         FP_HANDLE_EXCEPTIONS.
13893         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13894         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13895         FP_HANDLE_EXCEPTIONS.
13896         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13897         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13898         FP_HANDLE_EXCEPTIONS.
13900 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13902         [BZ #14132]
13903         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13904         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13905         use INTUSE.
13906         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13907         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13908         Remove alias.
13909         (__adjtimex): Define using libc_hidden_ver.
13910         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13911         Remove declaration.
13912         (ntp_gettime): Call __adjtimex directly.
13913         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13914         Remove declaration.
13915         (ntp_gettimex): Call __adjtimex directly.
13916         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13917         __adjtimex_internal alias.
13919 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13921         [BZ #17460]
13922         * nscd/nscd.c (more_help): Rewrite list of tables collection
13923         using xstrdup and asprintf.
13925         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13927 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13928             Roland McGrath  <roland@hack.frob.com>
13930         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13931         (do_lookup_unique): ... local function 'enter' here; update callers.
13933 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13935         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13936         compat_symbol calls on [SHARED].
13937         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13938         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13939         Remove.
13940         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13941         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13942         (oldsetrlimit): Remove.
13943         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13945         (lchown): New syscall entry.
13946         (oldsetrlimit): Remove.
13947         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13948         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13949         (oldsetrlimit): Remove.
13950         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13952         [BZ #14138]
13953         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13954         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13955         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13956         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13957         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13958         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13959         (fchown): Likewise.
13960         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13961         (fchown): Likewise.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13963         Likewise.
13965 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13968         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13969         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13970         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13971         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13972         Likewise.
13973         (__old_sem_post): Likewise.
13975 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13977         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13978         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13979         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13980         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13981         Use INLINE_VSYSCALL macro.
13982         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13983         __vdso_clock_gettime.
13984         * sysdeps/unix/sysv/linux/tile/init-first.c
13985         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13986         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13987         __vdso_clock_gettime.
13989         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13990         to set up frame more cleanly.
13992         * sysdeps/tile/memcmp.c: New file.
13994         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13996         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13997         * sysdeps/tile/tilegx/strcasestr.c: New file.
13998         * sysdeps/tile/tilegx/strnlen.c: New file.
13999         * sysdeps/tile/tilegx/strstr.c: New file.
14001         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14003 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
14005         * nptl/tst-setuid3.c: Write errors to stdout.
14007 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14009         * elf/dl-deps.c
14010         (preload): New functions broken out of _dl_map_object_deps.
14011         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14013 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
14015         [BZ #14138]
14016         * sysdeps/unix/sysv/linux/execve.c: Remove file.
14017         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14019 2014-10-01  Steve Ellcey  <sellcey@mips.com>
14021         * sysdeps/mips/strcmp.S: New.
14023 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
14025         [BZ #14138]
14026         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14027         (linkat): Likewise.
14028         (mkdirat): Likewise.
14029         (readlinkat): Likewise.
14030         (renameat): Likewise.
14031         (symlinkat): Likewise.
14032         (unlinkat): Likewise.
14033         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14034         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14035         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14036         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14037         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14038         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14039         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14041 2014-09-30  Will Newton  <will.newton@linaro.org>
14043         * math/math.h: Define long double math functions if
14044         _LIBC_TEST is defined.
14045         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14047         * localedata/Makefile: Move assignment to tests-special
14048         into an ifdef testing run-built-tests.
14049         * timezone/Makefile: Likewise.
14051 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
14053         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14054         with $(BASH) not $(SHELL).
14056 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
14057             Matthew LeGendre  <legendre1@llnl.gov>
14059         [BZ #17411]
14060         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14061         l_reloc_result.
14063 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14065         * stdio-common/printf_fp.c
14066         (hack_digit): New function, broken out of ...
14067         (__printf_fp): ... local function here.  Update call sites.
14068         hack_digit now takes an additional parameter that is a pointer
14069         to a struct of the referenced locals.  Those locals moved inside
14070         the struct and references updated.
14072 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14074         * aclocal.m4: Require autoconf 2.69.
14075         * configure: Regenerated.
14076         * sysdeps/aarch64/configure: Likewise.
14077         * sysdeps/alpha/configure: Likewise.
14078         * sysdeps/arm/armv7/configure: Likewise.
14079         * sysdeps/arm/configure: Likewise.
14080         * sysdeps/ia64/configure: Likewise.
14081         * sysdeps/mach/configure: Likewise.
14082         * sysdeps/mips/configure: Likewise.
14083         * sysdeps/s390/configure: Likewise.
14084         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14087         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14088         file.
14089         * sysdeps/ia64/configure.ac: Likewise.
14091 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14094         specify symbol version for ld.so.  Do not include entry for
14095         libpthread.
14096         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14097         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14098         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14100         [BZ #14171]
14101         * Makeconfig [$(build-shared) = yes]
14102         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14103         makefiles.
14104         [$(build-shared) = yes && $(soversions.mk-done) = t]
14105         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14106         [$(build-shared) = yes && $(soversions.mk-done) = t]
14107         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14108         to Makerules.
14109         [$(build-shared) = yes && $(soversions.mk-done) = t]
14110         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14111         here.
14112         [$(build-shared) = yes && $(soversions.mk-done) = t]
14113         (common-generated): Don't append gnu/lib-names.h and
14114         gnu/lib-names.stmp here.
14115         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14116         (lib-names-h-abi): New variable.
14117         [$(build-shared) = yes && $(soversions.mk-done) = t]
14118         (lib-names-stmp-abi): Likewise.
14119         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14120         abi-variants] (before-compile): Append
14121         $(common-objpfx)$(lib-names-h-abi).
14122         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14123         abi-variants] (common-generated): Append gnu/lib-names.h.
14124         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14125         abi-variants] (install-others-nosubdir): Depend on
14126         $(inst_includedir)/$(lib-names-h-abi).
14127         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14128         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14129         [$(build-shared) = yes && $(soversions.mk-done) = t]
14130         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14131         [$(build-shared) = yes && $(soversions.mk-done) = t]
14132         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14133         [$(build-shared) = yes && $(soversions.mk-done) = t]
14134         (common-generated): Append $(lib-names-h-abi) and
14135         $(lib-names-stmp-abi).
14136         * scripts/lib-names.awk: Do not handle multi being set.
14137         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14138         Remove variable.
14139         (abi-lp64_be-ld-soname): Likewise.
14140         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14141         Likewise.
14142         (abi-hard-ld-soname): Likewise.
14143         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14144         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14145         Remove variable.
14146         (abi-o32_hard-ld-soname): Likewise.
14147         (abi-o32_soft_2008-ld-soname): Likewise.
14148         (abi-o32_hard_2008-ld-soname): Likewise.
14149         (abi-n32_soft-ld-soname): Likewise.
14150         (abi-n32_hard-ld-soname): Likewise.
14151         (abi-n32_soft_2008-ld-soname): Likewise.
14152         (abi-n32_hard_2008-ld-soname): Likewise.
14153         (abi-n64_soft-ld-soname): Likewise.
14154         (abi-n64_hard-ld-soname): Likewise.
14155         (abi-n64_soft_2008-ld-soname): Likewise.
14156         (abi-n64_hard_2008-ld-soname): Likewise.
14157         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14158         Likewise.
14159         (abi-64-v2-ld-soname): Likewise.
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14161         ld.so entries.
14162         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14163         variable.
14164         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14165         entry.
14166         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14167         variable.
14168         (abi-64-ld-soname): Likewise.
14169         (abi-x32-ld-soname): Likewise.
14170         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14171         entry.
14172         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14174 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14176         [BZ #14138]
14177         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14178         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14179         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14180         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14181         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14182         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14183         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14184         syscall entry for GLIBC_2.2 symbol version.
14185         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14186         Likewise.
14187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14188         (setrlimit): Likewise.
14189         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14190         Likewise.
14192 2014-09-23  Will Newton  <will.newton@linaro.org>
14194         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14195         _LINUX_ARM_SYSDEP_H include guard too.
14196         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14197         define.
14199 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14201         * sysdeps/unix/sysv/linux/eventfd.c:
14202         Make first argument unsigned.
14203         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14204         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14206 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14208         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14209         * socket/sys/socket.h: Likewise
14210         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14212 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14214         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14216 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14218         * time/tst-ftime.c: New test.
14219         * time/Makefile (tests): Add tst-ftime.
14221 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14223         * soft-fp/extended.h: Fix comment formatting.
14224         * soft-fp/op-1.h: Likewise.
14225         * soft-fp/op-2.h: Likewise.
14226         * soft-fp/op-4.h: Likewise.
14227         * soft-fp/op-8.h: Likewise.
14228         * soft-fp/op-common.h: Likewise.
14229         * soft-fp/soft-fp.h: Likewise.
14231         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14233 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14235         [BZ #6652]
14236         * Makeconfig (soversions-default-setname): Remove variable.
14237         ($(common-objpfx)soversions.i): Don't pass default_setname to
14238         soversions.awk.
14239         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14240         oldest_abi to abi-versions.awk.
14241         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14242         * config.make.in (oldest-abi): Remove variable.
14243         * configure.ac (--enable-oldest-abi): Remove configure option.
14244         * configure: Regenerated.
14245         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14246         text.
14247         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14248         * scripts/soversions.awk: Do not handle default_setname variable.
14249         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14250         variable.
14251         * sysdeps/mach/hurd/configure: Regenerated.
14252         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14253         variable.
14254         * sysdeps/unix/sysv/linux/configure: Regenerated.
14256 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14258         * elf/Makefile (CFLAGS-interp.c): Remove.
14259         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14260         path string.
14261         * elf/interp.c: Include generated runtime-linker.h
14263         * Makerules (lib%.so): Don't include $(+interp) in
14264         prerequisites.
14265         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14266         * dlfcn/eval.c: Remove file.
14268         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14269         macros.
14271         [BZ #17266]
14272         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14273         4.2 and newer.
14275         [BZ #17370]
14276         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14278 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14279             Jakub Jelinek  <jakub@redhat.com>
14281         [BZ #17266]
14282         * libio/stdio.h: Check definition of __fortify_function
14283         instead of __extern_always_inline to include bits/stdio2.h.
14284         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14285         check if __extern_always_inline is defined.
14286         [__USE_MISC || __USE_XOPEN]: Likewise.
14287         [__USE_ISOC99] Likewise.
14288         * misc/sys/cdefs.h (__fortify_function): Define only if
14289         __extern_always_inline is defined.
14290         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14291         __extern_always_inline and __extern_inline only for g++-4.3
14292         and newer or a compatible gcc.
14294 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14296         [BZ #17371]
14297         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14298         last change to handle zero prefix length.
14300 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14302         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14303         _SC_REGEX_VERSION.
14305         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14306         _POSIX_RAW_SOCKETS.
14308 2014-09-13  Allan McRae  <allan@archlinux.org>
14310         * po/ru.po: Update Russian translation from translation project.
14312 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14314         * locale/programs/locale.c (show_locale_vars): Inline local function
14315         into its sole call site.  Clean up some style nits.
14316         (print_item): New function, broken out of ...
14317         (show_info): ... local function here.  Clean up style nits.
14319         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14320         out of ...
14321         (set_class_defaults): ... local function set_default here.
14322         Define set_default as a macro locally to pass constant parameters.
14323         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14324         rather than a shared local.
14326         * stdlib/rpmatch.c (try): New function, broken out of ...
14327         (rpmatch): ... local function here.  Also, prototypify definition.
14329 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14331         * scripts/soversions.awk: Do not handle configuration names.
14332         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14333         vendor and os variables to soversions.awk.
14334         * configure.ac: Do not modify gnu-* host_os.
14335         * configure: Regenerated
14336         * shlib-versions: Remove first column with configuration names.
14337         * nptl/shlib-versions: Likewise.
14338         * nptl_db/shlib-versions: Likewise.
14339         * sysdeps/hppa/shlib-versions: Likewise.
14340         * sysdeps/m68k/shlib-versions: Likewise.
14341         * sysdeps/mach/hurd/shlib-versions: Likewise.
14342         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14343         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14344         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14345         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14346         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14347         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14348         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14349         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14351         Likewise.
14352         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14353         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14354         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14355         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14356         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14357         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14358         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14359         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14362         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14364         Regenerated.
14365         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14367         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14369         * shlib-versions: Remove OS-specific entries.  Moved to files in
14370         sysdeps.
14371         * sysdeps/mach/hurd/shlib-versions: New file.
14372         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14374         * nptl/shlib-versions: Remove architecture-specific entries.
14375         Moved to files in sysdeps.
14376         * shlib-versions: Likewise.
14377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14378         file.
14379         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14380         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14381         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14382         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14384         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14385         (UDP_NO_CHECK6_RX): Likewise.
14387 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14389         * sysdeps/posix/sysconf.c (__sysconf): Spell
14390         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14392 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14394         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14395         loading.
14396         * iconv/Versions (__gconv_transliterate): Export for use from
14397         gconv modules.
14398         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14399         (struct __gconv_trans_data, __gconv_trans_fct,
14400         __gconv_trans_context_fct, __gconv_trans_query_fct,
14401         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14402         definitions.
14403         (struct __gconv_step_data): Remove __trans member.
14404         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14405         longer hidden.  Remove unused trans_data argument.
14406         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14407         (__gconv_translit_find): Remove declaration.
14408         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14409         prototype.
14410         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14411         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14412         trans_data argument.  Add hidden definition.
14413         (__gconv_translit_find): Remove.
14414         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14415         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14416         * iconv/skeleton.c: Remove transliteration initialization.
14417         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14418         __gconv_step_data initialization.
14419         * libio/iofwide.c (__libio_translit_): Remove.
14420         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14421         * wcsmbs/btowc.c (__btowc): Likewise.
14422         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14423         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14424         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14425         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14426         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14427         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14428         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14429         * wcsmbs/wctob.c (wctob): Likewise.
14431 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433         [BZ #16194]
14434         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14435         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14436         register usage.
14437         * sysdeps/x86/Makefile: Adjust.
14439 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14440             Roland McGrath  <roland@hack.frob.com>
14442         * locale/weight.h: Add include guard.
14443         (findidx): Make static rather than auto; take new parameters
14444         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14445         * locale/weightwc.h: Likewise.
14446         * posix/fnmatch_loop.c
14447         (FCT): Change type of EXTRA from int32_t to wint_t.
14448         Don't include either header inside the function.
14449         Call FINDIDX rather than findidx, and pass new arguments.
14450         #undef FINDIDX at the end of the file.
14451         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14452         FINDIDX before including fnmatch_loop.c for the non-wide version.
14453         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14454         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14455         for the wide version.
14456         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14457         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14458         Pass new arguments to findidx.
14459         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14460         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14461         Don't #include it inside the function.  Pass new arguments to findidx.
14462         * posix/regex_internal.h
14463         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14464         (re_string_elem_size_at): Don't #include it inside the function.
14465         Pass new arguments to findidx.
14466         * string/strcoll_l.c: #include WEIGHT_H at top level.
14467         (get_next_seq): Don't #include it inside the function.
14468         Pass new arguments to findidx.
14469         (get_next_seq_nocache): Likewise.
14470         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14471         (STRXFRM): Don't #include it inside the function.
14472         Pass new arguments to findidx.
14474 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14476         [BZ #17344]
14477         * malloc/malloc.c (unlink): Turn asserts into a call to
14478         malloc_printerr.
14480 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14482         [BZ #17370]
14483         * libio/wfileops (do_ftell_wide): Free OUT.
14485 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14487         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14489 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14491         [BZ #17363]
14492         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14493         group if the current group is empty.
14495 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14497         * benchtests/bench-memset.c (test_main): Add more test from size
14498         from 32 to 512 bytes.
14499         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14500         Add POWER8 memset object.
14501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14502         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14503         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14504         implementation.
14505         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14506         Likewise.
14507         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14508         multiarch POWER8 memset optimization.
14509         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14510         POWER8 memset optimization.
14512         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14513         Remove bzero multiarch objects.
14514         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14517         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14518         Remove define.
14519         [__bzero]: Redefine to specific name.
14520         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14521         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14522         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14523         define.
14524         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14525         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14527 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14529         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14530         warnings into errors.
14532         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14533         __cxa_thread_atexit_impl prototype.
14535 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14537         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14538         Fix capitalization of error message.
14540 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14542         * sysdeps/mips/preconfigure: Modify ABI tests.
14544 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14546         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14548 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14549             Carlos O'Donell  <carlos@systemhalted.org>
14551         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14552         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14553         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14554         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14555         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14556         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14557         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14558         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14559         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14560         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14561         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14562         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14563         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14564         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14565         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14566         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14567         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14568         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14569         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14570         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14571         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14572         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14573         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14574         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14575         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14576         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14577         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14578         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14579         Deconditionalize the code that was previously under [RESET_PID].
14580         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14581         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14582         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14583         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14584         include sysdep.h.
14586 2014-09-08  Allan McRae  <allan@archlinux.org>
14588         * version.h (RELEASE): Set to "development".
14589         (VERSION): Set to "2.20.90"
14591 2014-09-07  Allan McRae  <allan@archlinux.org
14593         * version.h (RELEASE): Set to "stable".
14594         (VERSION): Set to "2.20"
14595         * include/features.h (__GLIBC_MINOR__): Set to 20.
14597         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14598         Liebler.
14600         * po/ko.po: Update Korean translation from translation project.
14602 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14604         [BZ #17354]
14605         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14606         macro for handling signed relocations.
14608 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14610         [BZ #17325]
14611         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14612         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14613         assert.
14614         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14615         * iconvdata/ibm935.c (BODY): Likewise.
14616         * iconvdata/ibm937.c (BODY): Likewise.
14617         * iconvdata/ibm939.c (BODY): Likewise.
14618         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14619         assert.
14620         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14621         script.
14622         * iconvdata/run-iconv-test.sh: New test loop for checking for
14623         decoder crashers.
14625 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14627         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14628         libm_hidden_ver.
14630 2014-09-01  Allan McRae  <allan@archlinux.org>
14632         * po/eo.po: Update Esperanto translation from translation project.
14634         * po/ca.po: Update Catalan translation from translation project.
14636 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14638         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14639         __proc_dostop call.
14641 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14643         [BZ #17319]
14644         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14645         to call set_thread_area instead of hand written asm.
14646         (__NR_set_thread_area): Removed define.
14647         (TLS_FLAG_WRITABLE): Likewise.
14648         (__ASSUME_SET_THREAD_AREA): Remove check.
14649         (TLS_EBX_ARG): Remove define.
14650         (TLS_LOAD_EBX): Likewise.
14652 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14654         Simplify atomicity of socket creation in bind.
14656         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14657         looking up the name after linking the file.
14659 2014-08-27  Allan McRae  <allan@archlinux.org>
14661         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14663 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14665         [BZ #17187]
14666         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14667         trans_compare, open_translit, __gconv_translit_find):
14668         Remove module loading code.
14670 2014-08-26  Allan McRae  <allan@archlinux.org>
14672         * po/vi.po: Update Vietnamese translation from translation project.
14674         * po/uk.po: Update Ukrainian translation from translation project.
14676         * po/fr.po: Update French translation from translation project.
14678         * po/ru.po: Update Russian translation from translation project.
14680         * po/pl.po: Update Polish translation from translation project.
14682         * po/cs.po: Update Czech translation from translation project.
14684         * po/de.po: Update German translation from translation project.
14686         * po/bg.po: Update Bulgarian translation from translation project.
14688         * po/sv.po: Update Sweedish translation from translation project.
14690         * po/nl.po: Update Dutch translation from translation project.
14692         * po/es.po: Update Spanish translation from translation project.
14694 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14696         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14698         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14699         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14700         (CPPFLAGS-iconvconfig): Likewise.
14701         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14703         * include/libc-symbols.h: Remove unnecessary check for
14704         NOT_IN_libc.
14705         * nptl/pthreadP.h: Likewise.
14706         * sysdeps/aarch64/setjmp.S: Likewise.
14707         * sysdeps/alpha/setjmp.S: Likewise.
14708         * sysdeps/arm/sysdep.h: Likewise.
14709         * sysdeps/i386/setjmp.S: Likewise.
14710         * sysdeps/m68k/setjmp.c: Likewise.
14711         * sysdeps/posix/getcwd.c: Likewise.
14712         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14713         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14714         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14715         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14716         * sysdeps/sh/sh3/setjmp.S: Likewise.
14717         * sysdeps/sh/sh4/setjmp.S: Likewise.
14718         * sysdeps/unix/alpha/sysdep.h: Likewise.
14719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14721         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14722         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14727         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14730         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14731         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14732         * sysdeps/x86_64/setjmp.S: Likewise.
14734 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14736         [BZ #17263]
14737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14738         <stdint.h>.
14739         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14740         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14742 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14744         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14746         [BZ #17262]
14747         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14748         and __x86_64__ when disabling x87 inline functions.
14750 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14752         [BZ #17259]
14753         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14754         asm statement with __cpuid_count.
14756 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14758         * configure.ac: Change __ehdr_start code to dereference the struct.
14759         Run readelf on the output to look for relocations.
14760         * configure: Regenerated.
14762 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14764         [BZ #17261]
14765         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14766         value to 0.
14767         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14769 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14771         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14773 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14775         [BZ #16892]
14776         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14777         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14779 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14781         * malloc/malloc.c: Fix typo in comment.
14783 2014-08-09  Allan McRae  <allan@archlinux.org>
14785         * Regenerate libc.po.
14787 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14789         * intl/tst-gettext2.sh: Check every lang file for creation.
14791 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14793         * sysdeps/aarch64/fpu/math_private.h
14794         (libc_feholdsetround_noex_aarch64_ctx): New function.
14796 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14798         * sysdeps/arm/armv6/strcpy.S (strcpy):
14799         Fix performance issue in misaligned cases.
14801 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14803         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14804         Move definition from termios.h.
14805         (struct termio): Likewise.
14806         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14807         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14808         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14809         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14810         Likewise.
14811         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14812         Move definition to ioctl-types.h
14813         (struct termio): Likewise.
14814         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14815         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14816         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14817         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14818         Likewise.
14820 2014-08-05  Richard Henderson  <rth@redhat.com>
14822         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14823         exceptions.
14824         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14825         Add fraiseexcpt.
14826         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14827         Use __feraiseexcept.
14828         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14829         Protect libm symbols with IS_IN_libm.
14831         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14833 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14835         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14837 2014-08-04  Will Newton  <will.newton@linaro.org>
14839         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14840         file.
14842 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14844         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14845         variants for each function.
14847 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14849         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14850         appended ...
14851         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14852         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14853         appended ...
14854         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14855         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14856         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14857         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14858         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14859         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14860         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14861         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14862         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14863         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14864         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14865         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14866         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14867         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14868         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14869         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14870         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14871         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14872         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14873         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14874         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14875         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14876         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14877         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14878         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14879         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14880         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14881         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14882         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14883         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14884         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14885         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14886         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14887         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14888         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14889         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14890         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14891         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14892         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14893         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14894         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14895         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14896         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14897         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14898         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14899         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14900         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14901         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14902         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14904         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14905         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14906         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14907         Update #include.
14908         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14909         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14911 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14913         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14914         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14915         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14916         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14917         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14918         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14920 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14922         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14923         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14924         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14925         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14927 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14929         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14930         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14931         (__libc_vfork): Define function under this name.
14932         (__vfork): Define as an alias.
14933         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14934         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14936 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14938         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14939         that was previously under [RESET_PID].
14940         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14942 2014-08-04  Andreas Schwab  <schwab@suse.de>
14944         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14946 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14948         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14949         (main): Likewise.
14951 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14953         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14955 2014-08-01  Richard Henderon  <rth@redhat.com>
14957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14958         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14959         typo in exact zero test.
14960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14961         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14964 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14966         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14967         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14968         * sysdeps/arm/sysdep.h: ... here.
14969         [!__ASSEMBLER__]: Include <stdint.h>.
14971 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14973         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14974         (HAVE_WCTYPE_H): Likewise.
14975         (HAVE_ISWCTYPE): Likewise.
14976         (ENABLE_NLS): Likewise.
14977         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14978         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14980         * posix/regex_internal.c: Check if DEBUG is defined and is
14981         set.
14983         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14984         (HAVE_MBSRTOWCS): Likewise.
14985         * posix/fnmatch.c: Include string.h unconditionally.
14987 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14989         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14990         reversal.
14992 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14994         * sysdeps/generic/safe-fatal.h: New file.
14995         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14996         * nptl/forward.c: Include it.
14997         (__pthread_unwind): Use __safe_fatal as default action, rather
14998         than a bogus use of INTERNAL_SYSCALL that could never work.
15000         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15001         * configure.ac (libc_cv_builtin_trap): New test.
15002         * configure: Regenerated.
15003         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15004         (ABORT_INSTRUCTION): Define using __builtin_trap.
15006         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15007         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15008         * sysdeps/nptl/nptl-signals.h: New file.
15009         * nptl/pthreadP.h: Include <nptl-signals.h>.
15011 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15013         * sysdeps/s390/s390-64/utf16-utf32-z9.c
15014         (ONE_DIRECTION): Define.
15015         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15016         (ONE_DIRECTION): Define.
15017         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15018         (ONE_DIRECTION): Define.
15020 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15022         * sysdeps/s390/Makefile: Delete file.
15023         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15024         * sysdeps/s390/__longjmp.c: Delete file.
15025         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15026         Remove fields __flags and __reserved.
15027         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15028         and add versioning.
15029         * sysdeps/s390/rtld-__longjmp.c: Delete file.
15030         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15031         * sysdeps/s390/rtld-setjmp.S: Likewise.
15032         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15033         * sysdeps/s390/s390-32/__longjmp.c: ... here.
15034         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15035         * sysdeps/s390/s390-32/setjmp.S: ... here.
15036         Add versioning.
15037         (__sigsetjmp): Remove setting __flags field.
15038         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15039         * sysdeps/s390/s390-64/__longjmp.c: ... here.
15040         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15041         * sysdeps/s390/s390-64/setjmp.S: ... here.
15042         Add versioning.
15043         (__sigsetjmp): Remove setting __flags field.
15044         * sysdeps/s390/setjmp.S: Delete file.
15045         * sysdeps/s390/sigjmp.c: Likewise.
15046         * sysdeps/s390/v1-longjmp.c: Likewise.
15047         * sysdeps/s390/v1-setjmp.h: Likewise.
15048         * sysdeps/s390/v1-sigjmp.c: Likewise.
15049         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15050         Remove v1-longjmp_chk.
15051         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15052         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15053         Include debug/longjmp_chk.c and add versioning.
15054         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15055         Include nptl/pt-longjmp.c and add versioning.
15056         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15057         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15058         Include __longjmp.c.
15059         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15060         Move to ...
15061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15062         (__getcontext): Remove setting __flags field.
15063         Add versioning.
15064         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15065         Don't restore upper high grps.
15066         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15067         Likewise.
15068         (__swapcontext): Remove setting uc_flags field.
15069         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15070         Delete file.
15071         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15072         Include __longjmp.c.
15073         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15074         Move to ...
15075         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15076         (__getcontext): Remove setting __flags field.
15077         Add versioning.
15078         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15079         (__swapcontext): Remove setting uc_flags field.
15080         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15081         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15082         Remove fields uc_high_gprs and __reserved.
15083         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15084         New file with reverted content.
15085         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15086         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15087         Regenerated.
15088         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15089         Regenerated.
15091 2014-07-31  Andreas Schwab  <schwab@suse.de>
15093         * config.h.in (HAVE_IFUNC): Define to 0.
15094         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15095         definedness.
15097 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15100         memmove-avx-unaligned, memcpy-avx-unaligned and
15101         mempcpy-avx-unaligned.
15102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15103         Add tests for AVX memcpy functions.
15104         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15105         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15106         memcpy_chk.
15107         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15108         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15109         memmove_chk.
15110         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15111         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15112         mempcpy_chk.
15113         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15114         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15115         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15117 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15119         [BZ #17213]
15120         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15121         powerpc64le.
15123 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15125         [BZ #16839]
15126         * manual/llio.texi: Add section about open file description locks.
15127         * manual/examples/ofdlocks.c: Example of open file description
15128         lock usage.
15129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15130         F_OFD_SETLK, and F_OFD_SETLKW.
15132 2014-07-23  Allan McRae  <allan@archlinux.org>
15134         * po/es.po: Update Spanish translation from translation project.
15136 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15138         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15140 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15142         [BZ #17078]
15143         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15144         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15145         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15147 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15149         [BZ #17088]
15150         * math/fesetenv.c (__fesetenv)
15151         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15152         * math/feupdateenv.c (__feupdateenv)
15153         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15155         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15156         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15157         (__ASSUME_SOCKETCALL): Do not define.
15159         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15160         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15161         (__ASSUME_SOCKETCALL): Do not define.
15162         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15163         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15164         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15165         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15166         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15167         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15169         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15171         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15172         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15173         (__ASSUME_SOCKETCALL): Do not define.
15174         (__ASSUME_IPC64): Define unconditionally.
15175         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15176         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15177         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15178         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15179         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15180         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15181         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15182         Likewise.
15184         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15185         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15186         (__ASSUME_SOCKETCALL): Do not define.
15187         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15188         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15189         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15190         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15191         (__ASSUME_REQUEUE_PI): Define unconditionally.
15192         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15193         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15194         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15195         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15196         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15197         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15199         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15200         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15201         (__ASSUME_SOCKETCALL): Do not define.
15202         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15203         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15204         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15205         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15206         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15207         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15209         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15210         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15211         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15212         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15213         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15214         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15215         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15216         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15217         (__ASSUME_GETCPU_SYSCALL): Likewise.
15219         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15220         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15221         cases for individual architectures.
15222         * sysdeps/gnu/configure: Regenerated.
15223         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15224         LIBC_SLIBDIR_RTLDDIR.
15225         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15226         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15227         LIBC_SLIBDIR_RTLDDIR.
15228         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15230         LIBC_SLIBDIR_RTLDDIR.
15231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15232         Regenerated.
15233         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15234         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15235         file.
15236         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15237         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15238         file.
15239         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15240         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15241         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15242         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15244         * sysdeps/aarch64/shlib-versions: Move to ...
15245         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15246         * sysdeps/alpha/shlib-versions: Move to ...
15247         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15248         * sysdeps/arm/shlib-versions: Move to ...
15249         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15250         * sysdeps/hppa/shlib-versions: Move all contents except for
15251         libgcc_s entry to ...
15252         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15253         entry from ...
15254         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15255         * sysdeps/ia64/shlib-versions: Move to ...
15256         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15257         entry from ...
15258         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15259         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15260         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15261         * sysdeps/microblaze/shlib-versions: Move to ...
15262         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15263         * sysdeps/mips/shlib-versions: Move to ...
15264         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15265         entry from ...
15266         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15267         * sysdeps/tile/shlib-versions: Move to ...
15268         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15269         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15270         from ...
15271         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15272         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15273         entry from ...
15274         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15276 2014-07-17  Will Newton  <will.newton@linaro.org>
15278         * sysdeps/arm/bits/atomic.h
15279         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15280         (__arch_compare_and_exchange_bool_16_int): Likewise.
15281         (__arch_compare_and_exchange_bool_64_int): Likewise.
15283         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15284         into an #else block.
15286 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15288         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15289         just Linux configurations.  Test empirically that the compiler sets
15290         __ARM_EABI__, rather than using the tuple to decide.
15291         * sysdeps/arm/preconfigure: Regenerated.
15292         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15293         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15294         contents appended ...
15295         * sysdeps/arm/configure.ac: ... here.
15296         * sysdeps/arm/configure: Regenerated.
15298 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15300         * nptl/pthread_kill.c: New file.
15301         * nptl/pthread_sigmask.c: New file.
15302         * nptl/pthread_sigqueue.c: New file.
15304         * sysdeps/nptl/lowlevellock.h: New file.
15305         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15306         * sysdeps/nptl/lowlevellock-futex.h: New file.
15308         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15309         Remove dead declarations.
15311 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15313         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15314         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15315         config-cflags-avx2.
15316         * sysdeps/x86_64/configure.ac: Likewise.
15317         * sysdeps/i386/configure: Regenerated.
15318         * sysdeps/x86_64/configure: Likewise.
15319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15320         memset-avx2 only if config-cflags-avx2 is yes.
15321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15322         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15323         defined.
15324         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15325         only if HAVE_AVX2_SUPPORT is defined.
15326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15328 2014-07-14  Alan Modra  <amodra@gmail.com>
15330         [BZ #17153]
15331         * elf/elf.h (DT_PPC64_NUM): Correct value.
15332         * NEWS: Add to fixed bug list.
15334 2014-07-13  Jim Meyering  <meyering@fb.com>
15336         [BZ 17150]
15337         regex: don't deref NULL upon heap allocation failure
15338         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15339         failure in one more place.
15340         To trigger the segfault, configure grep -with-included-regex,
15341         build it, and run these commands:
15342         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15344 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15346         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15348 2014-07-11  Richard Henderson  <rth@redhat.com>
15350         * sysdeps/aarch64/libm-test-ulps: Update.
15352 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15354         [BZ #17135]
15355         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15356         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15357         (__nptl_setxid): Initialize error member.  Call
15358         __nptl_setxid_error.
15359         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15360         * nptl/descr.h (struct xid_command): Add error member.
15361         * nptl/tst-setuid3.c: New file.
15362         * nptl/Makefile (tests): Add it.
15364 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15367         New define.
15368         (__lll_trylock): Use __lll_base_trylock.
15369         (__lll_cond_trylock): Likewise.
15371 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15373         * nptl/pthread_create.c (start_thread): Use atomic_or and
15374         lll_futex_wake directly rather than lll_robust_dead.
15375         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15376         (lll_robust_dead): Macro removed.
15377         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15378         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15379         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15380         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15382         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15383         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15384         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15385         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15386         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15387         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15388         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15389         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15390         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15393         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15394         Use atomic_compare_and_exchange_val_acq directly rather than
15395         lll_robust_trylock.
15396         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15397         (__lll_robust_trylock, lll_robust_trylock): Removed.
15398         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15399         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15400         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15401         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15402         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15403         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15404         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15405         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15406         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15407         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15408         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15409         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15410         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15411         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15413 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15415         * manual/locale.texi (Locale Names): New section documenting
15416         locale name syntax.  Adjust menu and node chaining accordingly.
15417         (Choosing Locale): Reference Locale Names, Locale Categories.
15418         Mention setting LC_ALL=C.  Reflect that name syntax is now
15419         documented.
15420         (Locale Categories): New section title.  Reference Locale Names.
15421         LC_ALL is an environment variable, but not a category.
15422         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15423         description, now in Locale Name.  Reference that section.  Locale
15424         name syntax is now documented.
15426 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15428         [BZ #17137]
15429         * locale/findlocale.c (name_present, valid_locale_name): New
15430         functions.
15431         (_nl_find_locale): Use the loc_name variable to store name
15432         candidates.  Call name_present and valid_locale_name to check and
15433         validate locale names.  Return an error if the locale is invalid.
15435 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15437         * locale/setlocale.c (setlocale): Use strdup for allocating
15438         composite name copy.
15440 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15442         Sync up with gnulib.
15443         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15444         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15445         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15446         and _GL_ARG_NONNULL.
15447         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15448         [!_LIBC]: Include code for Windows and Cygwin.
15449         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15450         Include prototype for int strerror_r.
15451         [!_LIBC] (is_open): New function.
15452         (flush_stdout): New function.
15453         (print_errno_message): Use it.
15454         (error): Likewise.
15455         (error_at_line): Likewise.
15456         (error_tail) Add function attribute macros.  Use
15457         __builtin_expect.
15459         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15461         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15463         * io/ftw.c: Include sys/param.h unconditionally.
15465         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15467         [BZ #17125]
15468         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15469         libc_freeres_ptr.
15470         (freecache): New function to free CACHE on exit.
15472         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15473         initialization.
15475 2014-07-09  David S. Miller  <davem@davemloft.net>
15477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15479         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15480         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15481         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15482         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15483         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15484         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15485         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15486         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15487         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15488         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15489         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15490         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15491         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15493 2014-07-09  Andreas Schwab  <schwab@suse.de>
15495         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15496         output.
15497         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15498         (do_test): Likewise.
15500         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15502 2014-07-09  Will Newton  <will.newton@linaro.org>
15504         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15505         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15506         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15507         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15508         * sysdeps/hppa/start.S (_start): Likewise.
15510 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15512         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15514         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15515         defined.
15517 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15519         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15520         after checking that it is non-NULL.
15522         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15524 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15526         * sysdeps/powerpc/memmove.c: Remove file.
15527         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15528         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15529         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15530         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15532         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15533         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15534         string memmove instead of removed powerpc one.
15536         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15537         [weak_alias]: Fix compiler warning due trailing data.
15538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15539         [weak_alias]: Likewise.
15540         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15541         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15544         (__libc_ifunc_impl_list): Add memmove functions.
15546 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15548         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15549         Remove code.
15550         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15551         Likewise
15552         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15553         Likewise
15554         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15555         Likewise
15556         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15557         Likewise
15558         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15559         Likewise
15560         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15561         Likewise
15562         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15563         Likewise
15564         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15565         Likewise
15566         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15567         Likewise
15568         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15569         Likewise
15570         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15571         Likewise
15572         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15573         Likewise
15574         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15575         Likewise
15576         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15577         Likewise
15578         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15579         Likewise
15580         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15581         Likewise
15583 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15585         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15586         to avoid alignment traps in non-cacheable memory.
15587         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15590         multiarch objects.
15591         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15592         file: multiarch power7 memmove.
15593         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15594         multiarch default memmove.
15595         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15596         multiarch memove for powerpc32/power4.
15598         * string/bcopy.c: Use full path to include memmove.c.
15599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15600         multiarch objects.
15601         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15602         bcopy for powerpc64.
15603         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15604         bcopy for powerpc64.
15605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15606         and memmove implementations.
15607         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15608         optimized multiarch memmove for POWER7/powerpc64.
15609         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15610         default multiarch memmove for powerpc64.
15611         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15612         multiarch for powerpc64.
15613         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15614         for POWER7/powerpc64.
15615         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15616         memmove for POWER7/powerpc64.
15618         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15619         glibc default one.
15621         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15622         __ELF_NATIVE_CLASS equal to 64.
15624 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15626         * sysdeps/nptl/lowlevellock.h: File removed.
15628         * NEWS: NPTL is no longer an add-on!
15629         * nptl/internaltypes.h: Moved ...
15630         * sysdeps/nptl/internaltypes.h: ... here.
15631         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15632         * sysdeps/nptl/fork.c: Likewise.
15633         * sysdeps/nptl/gai_misc.h: Likewise.
15634         * sysdeps/nptl/librt-cancellation.c: Likewise.
15635         * sysdeps/nptl/jmp-unwind.c: Likewise.
15636         * sysdeps/nptl/setxid.h: Likewise.
15637         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15638         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15639         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15640         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15641         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15642         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15643         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15644         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15645         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15646         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15647         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15648         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15649         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15650         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15651         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15652         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15653         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15654         * nptl/Makeconfig: Moved ...
15655         * sysdeps/nptl/Makeconfig: ... here.
15656         * nptl/configure: File removed.
15657         * nptl/ANNOUNCE: File removed.
15658         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15659         * sysdeps/unix/sysv/linux/configure: Regenerated.
15661         * nptl/Makefile (routines): Add libc_pthread_init,
15662         libc_multiple_threads, register-atfork and unregister-atfork.
15663         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15664         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15665         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15666         pthread-pi-defines.sym, structsem.sym.
15667         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15668         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15669         [$(subdir) = nptl] (tests): Add tst-setgetname.
15670         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15671         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15672         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15673         [!LIBC_SIGACTION]: Remove aliases.
15674         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15675         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15676         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15677         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15678         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15679         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15680         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15681         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15682         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15683         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15684         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15685         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15686         __libc_allocate_rtsig_private.
15687         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15688         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15689         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15690         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15691         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15692         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15693         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15694         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15695         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15696         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15697         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15698         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15699         * nptl/internaltypes.h: ... here.
15700         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15701         * sysdeps/nptl/jmp-unwind.c: ... here.
15702         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15703         * nptl/libc-lowlevellock.c: ... here.
15704         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15705         * nptl/libc_multiple_threads.c: ... here.
15706         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15707         * nptl/libc_pthread_init.c: ... here.
15708         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15709         * nptl/lowlevelbarrier.sym: ... here.
15710         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15711         * nptl/lowlevelcond.sym: ... here.
15712         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15713         * nptl/lowlevellock.c: ... here.
15714         * nptl/lowlevellock.h: Moved ...
15715         * sysdeps/nptl/lowlevellock.h: ... here.
15716         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15717         * nptl/lowlevelrobustlock.c: ... here.
15718         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15719         * nptl/lowlevelrobustlock.sym: ... here.
15720         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15721         * nptl/lowlevelrwlock.sym: ... here.
15722         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15723         * nptl/pt-fork.c: ... here.
15724         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15725         * nptl/pthread-pi-defines.sym: ... here.
15726         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15727         * nptl/pthread_attr_getaffinity.c: ... here.
15728         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15729         * nptl/pthread_attr_setaffinity.c: ... here.
15730         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15731         * nptl/pthread_mutex_cond_lock.c: ... here.
15732         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15733         Update #include.
15734         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15735         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15736         * nptl/pthread_once.c: ... here, replacing old file.
15737         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15738         * nptl/pthread_yield.c: ... here.
15739         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15740         * nptl/register-atfork.c: ... here.
15741         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15742         * nptl/sem_post.c: ... here.
15743         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15744         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15745         * nptl/sem_timedwait.c: ... here.
15746         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15747         * nptl/sem_trywait.c: ... here.
15748         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15749         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15750         * nptl/sem_wait.c: ... here.
15751         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15752         * nptl/structsem.sym: ... here.
15753         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15754         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15755         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15756         * nptl/unregister-atfork.c: ... here.
15757         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15758         * nptl/unwindbuf.sym: ... here.
15759         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15760         * sysdeps/nptl/fork.c: ... here.
15761         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15762         * sysdeps/nptl/fork.h: ... here.
15763         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15764         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15765         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15766         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15767         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15768         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15769         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15770         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15771         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15772         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15773         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15774         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15775         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15776         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15777         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15778         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15779         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15780         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15781         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15782         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15783         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15784         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15785         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15786         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15787         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15788         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15789         * sysdeps/unix/sysv/linux/raise.c: ... here.
15790         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15791         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15792         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15793         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15794         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15795         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15796         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15797         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15798         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15799         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15800         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15801         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15802         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15803         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15804         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15806 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15808         * sysdeps/generic/memcopy.h: Add comment for
15809         MEMCPY_OK_FOR_FWD_MEMMOVE.
15811 2014-07-04  Will Newton  <will.newton@linaro.org>
15813         * string/memchr.c: Merge from gnulib.
15814         [_LIBC]: Remove conditionals.
15815         (__ptr_t): Remove define.
15816         (LONG_MAX_32_BITS): Likewise.
15817         (LONG_MAX): Likewise.
15818         (MEMCHR): Use ANSI prototype and optimize algorithm.
15820         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15822 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15824         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15825         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15827         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15828         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15829         in a bare environment with no <stdlib.h> installed.
15830         * sysdeps/nptl/configure: Regenerated.
15832         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15834         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15835         AC_EGREP_CPP for kernel header checks, so they only succeed if
15836         including <linux/version.h> actually works right.
15837         * sysdeps/unix/sysv/linux/configure: Regenerated.
15839         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15840         value so it's not diagnosed as unused.
15842         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15843         thing) with "ifeq ($(subdir),rt)".
15845 2014-07-03  Richard Henderson  <rth@redhat.com>
15847         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15848         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15849         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15851         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15852         (math_force_eval): New.
15854         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15855         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15857         * sysdeps/alpha/fpu/s_round.c: Remove file.
15858         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15860         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15861         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15862         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15863         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15864         (_dl_start, print_statistics): Likewise.
15865         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15866         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15868         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15869         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15870         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15871         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15872         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15873         (HP_SMALL_TIMING_AVAIL): Define.
15874         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15875         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15876         (HP_SMALL_TIMING_AVAIL): Define.
15877         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15878         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15880         * sysdeps/aarch64/hp-timing.h: New file.
15882         * sysdeps/generic/hp-timing.h: Remove dead comment.
15883         * sysdeps/generic/hp-timing-common.h: New file.
15884         * sysdeps/alpha/hp-timing.h: Include it.
15885         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15886         * sysdeps/i386/i686/hp-timing.h: Likewise.
15887         * sysdeps/ia64/hp-timing.h: Likewise.
15888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15889         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15891         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15892         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15893         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15894         (hp_timing_t): New.
15896         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15897         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15898         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15899         * elf/rtld.c (_dl_start_final): Likewise.
15900         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15901         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15902         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15903         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15904         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15906         (HP_TIMING_DIFF_INIT): Remove.
15907         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15908         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15909         (HP_TIMING_DIFF_INIT): Remove.
15910         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15911         * sysdeps/i386/i686/hp-timing.c: Remove file.
15912         * sysdeps/x86_64/hp-timing.c: Remove file.
15913         * sysdeps/ia64/hp-timing.c: Remove file.
15914         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15915         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15917         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15919         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15920         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15921         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15922         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15923         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15924         (HP_TIMING_ACCUM): Remove.
15925         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15927         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15929         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15930         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15931         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15932         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15933         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15934         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15935         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15936         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15938         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15940 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15942         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15944 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15946         Sync up with gettext.
15947         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15948         [_MSC_VER]: Include malloc.h
15949         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15950         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15951         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15952         TEMP_FAILURE_RETRY.  Cast return of alloca.
15953         [!_LIBC] Call gl_rwlock_init.
15954         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15956 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15958         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15959         before checking its value.
15961 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15963         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15965         * debug/memcpy_chk.c: Don't include pagecopy.h.
15966         * debug/mempcpy_chk.c: Likewise.
15967         * string/memcpy.c: Likewise.
15968         * string/memmove.c: Likewise.
15969         * sysdeps/powerpc/memmove.c: Likewise.
15970         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15971         definition of PAGE_COPY_FWD_MAYBE here...
15972         * sysdeps/generic/pagecopy.h: ... from here.
15973         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15975 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15976             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15978         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15980         optimizations.
15981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15982         (__libc_ifunc_impl_list): Likewise.
15983         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15984         multiarch strcat for PPC64.
15985         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15986         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15988 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15990         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15992 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15994         * intl/loadmsgcat.c: Remove declaration of
15995         get_sysdep_segment_value.
15996         (get_sysdep_segment_value): Use ISO C style.
15997         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15998         semicolon.  Fix typo and formatting in comment.
15999         (_nl_unload_domain): Use ISO C style.
16001         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16003 2014-07-02  Will Newton  <will.newton@linaro.org>
16005         * malloc/obstack.c: Merge from gnulib master.
16006         [HAVE_CONFIG_H]: Remove conditional code.
16007         [!_LIBC]: Include config.h.
16008         [!ELIDE_CODE]: Don't include inttypes.h, include
16009         stdint.h unconditionally.
16010         (print_and_abort): Mark as _Noreturn.
16011         (_obstack_allocated_p): Mark as __attribute_pure__.
16012         (obstack_free): Rename to __obstack_free.
16013         [!__attribute__]: Remove conditional code.
16014         * malloc/obstack.h: Merge from gnulib master.
16015         [__cplusplus]: Move conditional down.
16016         [!__attribute_pure__]: Define __attribute_pure__ here
16017         if it is not already defined.
16018         (_obstack_memory_used): Mark as __attribute_pure__.
16019         [!__obstack_free]: Define as obstack_free.
16020         [__GNUC__]: Remove check for ancient NeXT gcc.
16022 2014-07-02  Will Newton  <will.newton@linaro.org>
16023             Paul Eggert  <eggert@cs.ucla.edu>
16025         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16027 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16029         * resolv/gethnamaddr.c: Add comment warning that the file is
16030         not maintained.
16032 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
16034         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16035         entries.
16037         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16038         entry for aio_cancel and aio_cancel64.
16039         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16040         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16041         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16042         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16043         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16044         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16045         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16046         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16047         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16048         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16049         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16050         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16051         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16053 2014-07-01  Roland McGrath  <roland@hack.frob.com>
16055         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16056         * nptl/pthread_mutex_lock.c: Likewise.
16057         * nptl/pthread_mutex_timedlock.c: Likewise.
16058         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16060 2014-07-01  Richard henderson  <rth@redhat.com>
16062         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16063         (__isnan, __isnanl): Remove.
16064         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16066         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16068 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16070         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16072 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16074         * resolv/nss_dns/dns-host.c (getanswer_r)
16075         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16077 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16080         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16081         undefine.
16082         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16083         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16085 2014-07-01  Roland McGrath <roland@hack.frob.com>
16087         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16088         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16090         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16091         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16093         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16094         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16095         ... here.
16096         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16097         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16099         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16100         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16101         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16102         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16104         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16105         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16106         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16107         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16108         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16109         Moved ...
16110         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16111         ... here.
16112         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16113         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16114         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16115         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16116         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16117         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16118         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16119         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16120         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16121         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16122         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16123         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16124         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16125         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16126         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16127         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16128         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16129         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16130         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16131         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16132         ... here.
16133         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16134         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16135         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16136         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16137         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16138         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16139         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16140         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16142 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16144         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16145         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16146         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16147         Add sysdep.
16149 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16153 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16155         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16156         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16158         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16160         * sysdeps/arm/libm-test-ulps: Regenerated.
16162 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16163             Roland McGrath <roland@hack.frob.com>
16165         * test-skeleton.c (signal_handler): Kill the whole process group
16166         before killing the child individually.
16167         (main): Report any failure on `setpgid'.
16169 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16171         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16172         from _TLS_H to _ARM_NPTL_TLS_H.
16173         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16174         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16176 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16178         [BZ #16539]
16179         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16180         (__expm1l): Return argument unchanged when small but not
16181         subnormal.
16183         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16184         include macro name.
16185         (_FP_UNPACK_RAW_1_P): Likewise.
16186         (_FP_PACK_RAW_1): Likewise.
16187         (_FP_PACK_RAW_1_P): Likewise.
16188         (_FP_MUL_MEAT_1_wide): Likewise.
16189         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16190         (_FP_MUL_MEAT_1_hard): Likewise.
16191         (_FP_DIV_MEAT_1_imm): Likewise.
16192         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16193         (_FP_DIV_MEAT_1_udiv): Likewise.
16194         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16195         (_FP_UNPACK_RAW_2): Likewise.
16196         (_FP_UNPACK_RAW_2_P): Likewise.
16197         (_FP_PACK_RAW_2): Likewise.
16198         (_FP_PACK_RAW_2_P): Likewise.
16199         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16200         (_FP_MUL_MEAT_2_wide): Likewise.
16201         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16202         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16203         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16204         (_FP_MUL_MEAT_2_gmp): Likewise.
16205         (_FP_DIV_MEAT_2_udiv): Likewise.
16206         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16207         (_FP_FRAC_SRL_4): Likewise.
16208         (_FP_FRAC_SRST_4): Likewise.
16209         (_FP_FRAC_SRS_4): Likewise.
16210         (_FP_UNPACK_RAW_4): Likewise.
16211         (_FP_UNPACK_RAW_4_P): Likewise.
16212         (_FP_PACK_RAW_4): Likewise.
16213         (_FP_PACK_RAW_4_P): Likewise.
16214         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16215         (_FP_MUL_MEAT_4_wide): Likewise.
16216         (_FP_MUL_MEAT_4_gmp): Likewise.
16217         (umul_ppppmnnn): Likewise.
16218         (_FP_DIV_MEAT_4_udiv): Likewise.
16219         (__FP_FRAC_ADD_4): Likewise.
16220         (__FP_FRAC_SUB_3): Likewise.
16221         (__FP_FRAC_SUB_4): Likewise.
16222         (__FP_FRAC_DEC_3): Likewise.
16223         (__FP_FRAC_DEC_4): Likewise.
16224         (__FP_FRAC_ADDI_4): Likewise.
16225         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16226         (_FP_FRAC_SRL_8): Likewise.
16227         (_FP_FRAC_SRS_8): Likewise.
16229         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16230         include macro name.
16231         (FP_UNPACK_RAW_EP): Likewise.
16232         (FP_PACK_RAW_E): Likewise.
16233         (FP_PACK_RAW_EP): Likewise.
16234         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16235         (_FP_ISSIGNAN): Likewise.
16236         (_FP_ADD_INTERNAL): Likewise.
16237         (_FP_FMA): Likewise.
16238         (_FP_CMP): Likewise.
16239         (_FP_SQRT): Likewise.
16240         (_FP_TO_INT): Likewise.
16241         (_FP_FROM_INT): Likewise.
16242         (FP_EXTEND): Likewise.
16243         (_FP_DIV_MEAT_N_loop): Likewise.
16245 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16247         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16248         throughout.
16250 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16252         [BZ #17097]
16253         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16254         result with correct sign in case of exponents that produce
16255         overflow except for X very close to 1.
16257 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16259         mktime: merge #if/#ifdef usage from glibc
16260         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16261         as that works with both Glibc's and Gnulib's style.
16262         See thread starting at Siddhesh Poyarekar's bug report at:
16263         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16265 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16267         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16268         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16269         * sysdeps/tile/tilegx/memmove.c: Remove file.
16271 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16273         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16274         abi-name definition.
16275         * scripts/soversions.awk: Do not handle or generate ABI lines.
16276         * shlib-versions: Remove ABI entries.
16277         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16278         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16280 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16283         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16284         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16285         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16287         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16289         Moved ...
16290         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16291         ... here.
16292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16293         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16295         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16297         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16299         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16301         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16303         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16305         Moved ...
16306         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16308         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16310         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16312         Moved ...
16313         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16315         Moved ...
16316         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16320         Moved ...
16321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16323         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16325         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16327         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16329         Moved ...
16330         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16332         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16333         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16334         Moved ...
16335         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16337         Moved ...
16338         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16340         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16342         Moved ...
16343         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16344         ... here.
16345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16346         Identical file removed.
16347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16348         Moved ...
16349         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16350         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16351         Identical file removed.
16352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16353         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16355         Moved ...
16356         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16358         Identical file removed.
16359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16360         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16361         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16362         Identical file removed.
16363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16364         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16366         Identical file removed.
16367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16368         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16370         Identical file removed.
16371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16372         Moved ...
16373         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16374         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16375         Identical file removed.
16376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16377         Moved ...
16378         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16380         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16382         Identical file removed.
16383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16384         Moved ...
16385         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16386         ... here.
16387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16388         Identical file removed.
16389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16390         Moved ...
16391         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16393         Identical file removed.
16394         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16395         Moved ...
16396         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16398         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16400         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16402         Moved ...
16403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16404         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16405         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16407         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16408         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16409         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16410         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16411         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16413 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16415         [BZ #17092]
16416         * nscd/nscd.c (monitor_child): Return exit status of child
16417         instead of return value from wait syscall.
16419 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16421         * configure.ac (libc_commonpagesize): Remove variable.
16422         (libc_relro_required): Likewise.
16423         (libc_cv_z_relro): Remove configure test.
16424         * configure: Regenerated.
16425         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16426         variable.
16427         (libc_relro_required): Likewise.
16428         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16429         (libc_relro_required): Likewise.
16430         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16431         (libc_relro_required): Likewise.
16432         * sysdeps/arm/preconfigure: Regenerated.
16433         * sysdeps/ia64/preconfigure: Remove file.
16434         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16435         variable.
16436         (libc_relro_required): Likewise.
16438         [BZ #16561]
16439         [BZ #16562]
16440         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16441         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16442         recompute overflowing results in original rounding mode.
16443         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16444         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16445         recompute overflowing results in original rounding mode.
16446         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16447         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16448         recompute overflowing results in original rounding mode.
16449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16450         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16451         recompute overflowing results in original rounding mode.
16452         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16453         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16454         recompute overflowing results in original rounding mode.
16455         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16456         (libc_feholdsetround_ctx): New macro.
16457         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16458         * sysdeps/i386/fpu/libm-test-ulps: Update.
16459         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16461 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16463         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16464         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16465         corresponding .cpsetup call.
16467 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16469         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16470         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16471         * sysdeps/arm/Makefile [$(subdir) = csu]
16472         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16473         (static-only-routines): Add aeabi_read_tp here.
16474         (shared-only-routines): Add libc-aeabi_read_tp here.
16475         (CFLAGS-libc-start.c): Add -fexceptions here.
16476         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16477         (sysdep_routines, static-only-routines, shared-only-routines):
16478         Don't add to these here.
16479         (CFLAGS-libc-start.c): Likewise.
16481         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16482         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16483         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16484         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16485         * sysdeps/arm/Makefile [$(subdir) = rt]
16486         (librt-sysdep_routines, librt-shared-only-routines):
16487         Append rt-aeabi_unwind_cpp_pr1 here.
16488         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16489         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16490         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16491         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16492         Append nptl-aeabi_unwind_cpp_pr1 here.
16493         (tests): Filter out tst-cleanupx4 here.
16494         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16495         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16496         Don't do those here.
16498 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16500         * scripts/list-sources.sh: Do not handle ports specially.
16502 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16504         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16505         * sysdeps/arm/feupdateenv.c: Likewise.
16507         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16509 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16511         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16512         trailing whitespace removed.
16513         * scripts/config.guess: Update to version 2014-03-23.
16514         * scripts/config.sub: Update to version 2014-05-01
16515         * scripts/install-sh: Update to version 2013-12-25.23.
16516         * scripts/move-if-change: Update from gnulib.
16518 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16520         * debug/memmove_chk.c: Remove pagecopy.h include.
16522 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16524         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16525         identical to gnulib mktime.
16527 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16529         * configure.ac: Do not test for machine being rs6000.  Do not test
16530         for powerpc*-*soft.
16531         * configure: Regenerated.
16533         [BZ #11505]
16534         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16535         test.
16536         * configure: Regenerated.
16537         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16538         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16539         Remove configure test.
16540         * sysdeps/arm/configure: Regenerated.
16541         * sysdeps/nptl/configure.ac: Do not check
16542         libc_cv_asm_cfi_directives.
16543         * sysdeps/nptl/configure: Regenerated.
16544         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16545         * sysdeps/x86_64/nptl/configure: Remove generated file.
16546         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16547         unconditional.
16548         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16550 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16552         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16553         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16554         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16555         it is defined.
16557         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16558         instead of whether it is defined.
16559         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16560         * sysdeps/hppa/dl-machine.h: Likewise.
16561         * sysdeps/ia64/dl-machine.h: Likewise.
16562         * sysdeps/m68k/dl-machine.h: Likewise.
16563         * sysdeps/microblaze/dl-machine.h: Likewise.
16564         * sysdeps/mips/dl-machine.: Likewise.
16565         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16566         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16567         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16568         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16569         * sysdeps/sh/dl-machine.h: Likewise.
16570         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16571         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16572         * sysdeps/tile/dl-machine.h: Likewise.
16573         * sysdeps/x86_64/dl-machine.h: Likewise.
16575         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16576         code.
16577         (verify_persistent_db): Likewise.
16579 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16582         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16584         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16586         Moved ...
16587         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16588         ... here.
16589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16590         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16592         Identical file removed.
16593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16594         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16596         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16598         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16600         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16602         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16604         Moved ...
16605         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16607         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16609         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16611         Moved ...
16612         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16614         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16616         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16618         Identical file removed.
16619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16620         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16622         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16624         Moved ...
16625         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16626         ... here.
16627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16628         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16630         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16632         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16634         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16636         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16638         Moved ...
16639         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16641         Moved ...
16642         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16644         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16646         Moved ...
16647         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16649         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16651         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16652         folded into ...
16653         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16654         * sysdeps/unix/sysv/linux/s390/Versions
16655         (libpthread: GLIBC_2.19): New version set.
16656         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16657         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16658         (librt: GLIBC_2.3.3): New version set.
16659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16660         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16661         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16662         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16663         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16664         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16665         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16666         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16667         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16668         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16669         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16670         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16671         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16672         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16673         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16674         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16675         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16676         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16677         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16678         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16679         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16681         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16683         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16685         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16689         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16690         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16695         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16697         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16699         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16701         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16705         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16706         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16707         (__libc_vfork): Define the function under this name.
16708         [!NOT_IN_libc] (__vfork): Make this an alias.
16709         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16711         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16712         (__libc_vfork): Define the function under this name.
16713         [!NOT_IN_libc] (__vfork): Make this an alias.
16714         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16715         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16716         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16717         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16719         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16721         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16722         code that was previously under [RESET_PID].
16723         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16724         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16727         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16728         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16729         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16730         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16731         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16732         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16733         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16734         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16735         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16736         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16737         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16738         Moved ...
16739         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16740         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16741         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16742         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16743         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16744         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16745         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16746         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16747         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16748         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16750         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16751         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16752         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16753         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16754         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16755         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16756         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16757         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16758         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16759         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16760         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16761         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16762         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16763         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16764         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16765         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16767         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16769 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16771         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16772         that was previously under [RESET_PID].
16773         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16775 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16777         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16778         not undefine and redefine.
16779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16780         [O_CLOEXEC]: Make code unconditional.
16781         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16782         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16783         <kernel-features.h>.
16784         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16785         conditional variable definition.
16786         (shm_open) [O_CLOEXEC]: Make code unconditional.
16787         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16788         code.
16790         * configure.ac (USE_REGPARMS): Don't define here.
16791         * configure: Regenerated.
16792         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16793         * sysdeps/i386/configure: Regenerated.
16795         * nptl/createthread.c: Don't include kernel-features.h.
16796         * nptl/pthread_cancel.c: Likewise.
16797         * nptl/pthread_condattr_setclock.c: Likewise.
16798         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16799         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16800         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16801         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16802         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16803         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16804         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16807         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16808         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16809         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16810         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16811         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16812         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16813         * nscd/gai.c: Likewise.
16814         * nss/nss_db/db-open.c: Likewise.
16815         * sysdeps/generic/ldsodefs.h: Likewise.
16816         * sysdeps/sh/nptl/tls.h: Likewise.
16817         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16818         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16819         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16820         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16821         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16822         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16823         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16824         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16826         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16827         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16828         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16829         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16830         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16831         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16832         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16833         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16834         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16835         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16836         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16839         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16840         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16845         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16846         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16847         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16848         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16849         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16850         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16851         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16852         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16853         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16854         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16855         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16856         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16857         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16858         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16859         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16860         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16861         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16862         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16863         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16864         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16865         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16866         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16867         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16868         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16869         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16870         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16871         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16872         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16873         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16897         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16898         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16899         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16900         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16901         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16902         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16904         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16905         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16906         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16907         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16908         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16909         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16910         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16911         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16912         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16913         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16914         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16915         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16916         * sysdeps/unix/sysv/linux/system.c: Likewise.
16917         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16918         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16919         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16920         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16921         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16922         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16923         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16925         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16926         * configure: Regenerated.
16927         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16929         * configure.ac (base_machine): Do not set specially for particular
16930         machines here.
16931         * configure: Regenerated.
16932         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16933         settings from configure.ac.
16934         * sysdeps/i386/preconfigure: New file.
16935         * sysdeps/s390/preconfigure: Likewise.
16936         * sysdeps/sh/preconfigure: Likewise.
16937         * sysdeps/sparc/preconfigure: Likewise.
16939 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16941         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16942         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16943         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16944         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16945         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16946         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16947         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16948         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16949         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16950         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16951         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16952         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16953         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16954         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16958         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16959         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16961         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16962         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16963         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16964         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16965         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16966         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16967         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16968         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16969         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16970         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16971         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16972         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16973         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16974         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16975         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16976         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16977         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16978         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16979         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16980         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16982         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16984         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16988         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16992         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16994         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16996         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16997         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16998         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17001         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17003         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17005         Moved ...
17006         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17007         ... here.
17008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17009         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17011         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17013         Moved ...
17014         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17016         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17018         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17020         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17022         Moved ...
17023         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17025         Moved ...
17026         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17028         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17030         Moved ...
17031         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17033         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17035         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17037         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17039         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17041         Moved ...
17042         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17043         ... here.
17044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17045         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17047         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17049         Moved ...
17050         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17052         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17054         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17056         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17058         Moved ...
17059         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17061         Moved ...
17062         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17064         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17066         Moved ...
17067         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17069         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17071         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17073 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17075         * timezone/checktab.awk: Update from tzcode 2014e.
17076         * timezone/private.h: Likewise.
17077         * timezone/tzfile.h: Likewise.
17078         * timezone/zdump.c: Likewise.
17079         * timezone/zic.c: Likewise.
17081         * sysdeps/unix/sysv/linux/kernel-features.h
17082         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17083         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17084         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17085         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17086         Remove conditional code.
17088 2014-06-25  Will Newton  <will.newton@linaro.org>
17090         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17091         (_dl_arm_cap_flags): Add HWCAP2 values.
17092         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17093         (_DL_HWCAP_COUNT): Increase to 37.
17094         (_DL_HWCAP_LAST): New define.
17095         (_DL_HWCAP2_LAST): New define.
17096         (_dl_procinfo): Add support for printing
17097         AT_HWCAP2 entries.
17098         (_dl_string_hwcap): Use _dl_hwcap_string.
17100 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17104 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17106         * README: Do not mention ports directory.
17108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17109         Remove macro.
17110         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17111         <kernel-features.h>.
17112         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17113         conditional variable definition.
17114         (__futimes): Update comment.
17115         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17116         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17118         [BZ #16560]
17119         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17120         arguments close to 0.
17121         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17122         Likewise.
17123         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17124         Likewise.
17125         * math/auto-libm-test-in: Add more tests of exp10.
17126         * math/auto-libm-test-out: Regenerated.
17127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17129         * sysdeps/unix/sysv/linux/kernel-features.h
17130         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17131         * sysdeps/unix/sysv/linux/readv.c: Do not include
17132         <kernel-features.h>.
17133         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17134         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17135         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17136         unconditional.
17137         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17138         conditional code.
17139         * sysdeps/unix/sysv/linux/writev.c: Do not include
17140         <kernel-features.h>.
17141         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17142         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17143         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17144         unconditional.
17145         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17146         conditional code.
17148 2014-06-25  Will Newton  <will.newton@linaro.org>
17150         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17151         comment changes throughout the file.  Remove checks
17152         for HAVE_*_H definitions that are not required.
17153         (__gen_tempname): Call abort if an unknown kind value is
17154         passed.
17156 2014-06-25  Andreas Schwab  <schwab@suse.de>
17158         [BZ #17086]
17159         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17160         scalbln, scalblnf, scalblnl in libc.
17162 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17164         [BZ #17086]
17165         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17166         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17167         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17169 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17171         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17172         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17173         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17174         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17175         Update #include.
17176         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17177         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17178         Update #include.
17179         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17180         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17181         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17182         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17183         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17184         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17185         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17186         * sysdeps/x86/bits/semaphore.h: ... here.
17187         * sysdeps/x86/nptl/elide.h: Moved ...
17188         * sysdeps/x86/elide.h: ... here.
17189         * sysdeps/x86_64/nptl/Implies: File removed.
17190         * sysdeps/i386/nptl/Implies: File removed.
17192 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17194         [BZ #16539]
17195         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17196         return the argument for normal arguments with exponent below -64.
17197         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17198         Likewise.
17199         * math/auto-libm-test-in: Add another test of expm1.
17200         * math/auto-libm-test-out: Regenerated.
17202         [BZ #16287]
17203         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17204         calling __erfcl for arguments at least 16.
17205         * math/auto-libm-test-in: Add more tests of erf.
17206         * math/auto-libm-test-out: Regenerated.
17208         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17209         individual architectures.
17210         * sysdeps/unix/sysv/linux/configure: Regenerated.
17211         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17212         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17213         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17214         (ldd_rewrite_script): Define variable.
17215         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17217         file.
17218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17219         generated file.
17220         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17221         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17222         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17223         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17224         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17225         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17226         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17227         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17229 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17231         [BZ #17084]
17232         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17233         Rename member __data.d to __data.__elision_data.
17235 2014-06-24  Wilco  <wdijkstr@arm.com>
17237         * NEWS: Add 16918 to fixed bug list.
17239 2014-06-24  Wilco  <wdijkstr@arm.com>
17241         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17243 2014-06-24  Wilco  <wdijkstr@arm.com>
17245         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17246         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17247         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17248         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17249         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17250         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17251         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17252         Use _FPU_MASK_RM.
17254 2014-06-24  Wilco  <wdijkstr@arm.com>
17256         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17258 2014-06-24  Wilco  <wdijkstr@arm.com>
17260         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17261         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17262         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17263         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17265 2014-06-24  Wilco  <wdijkstr@arm.com>
17267         [BZ #16918]
17268         * sysdeps/arm/feupdateenv.c (feupdateenv):
17269         Rewrite to reduce FPSCR accesses and fix return value.
17271 2014-06-24  Wilco  <wdijkstr@arm.com>
17273         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17274         Optimize to avoid unnecessary FPSCR writes.
17275         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17276         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17277         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17278         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17280 2014-06-24  Wilco  <wdijkstr@arm.com>
17282         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17283         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17284         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17285         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17286         Call libc_fetestexcept_vfp.
17287         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17288         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17289         __SOFTFP__ ifdef so that they can be built for softfp.
17291 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17293         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17294         argument type signed char.
17296         * Makerules (check-abi): Dump diff of symlist if the test
17297         fails.
17299 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17301         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17302         using abort.
17304         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17305         Remove unused variable ST.
17307 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17309         [BZ #16354]
17310         [BZ #17061]
17311         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17312         small arguments before calling __expm1.
17313         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17314         small arguments before calling __expm1f.
17315         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17316         small arguments before calling __expm1l.
17317         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17318         Likewise.
17319         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17320         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17321         spurious underflow for some cosh tests.
17322         * math/auto-libm-test-out: Regenerated.
17323         * sysdeps/i386/fpu/libm-test-ulps: Update.
17325         [BZ #17050]
17326         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17327         (__ieee754_y1): Set errno if return value overflows.
17328         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17329         (__ieee754_y1f): Set errno if return value overflows.
17330         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17331         (__ieee754_y1l): Set errno if return value overflows.
17332         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17333         (__ieee754_y1l): Set errno if return value overflows.
17334         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17335         * math/auto-libm-test-out: Regenerated.
17337         * math/gen-auto-libm-tests.c: Document use of
17338         ignore-zero-inf-sign.
17339         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17340         (input_flags): Add ignore-zero-inf-sign.
17341         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17342         * math/gen-libm-test.pl (generate_testfile): Handle
17343         ignore-zero-inf-sign.
17344         * math/auto-libm-test-in: Mark some cpow tests with
17345         ignore-zero-inf-sign and some with xfail-rounding.
17346         * math/auto-libm-test-out: Regenerated.
17347         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17348         * sysdeps/i386/fpu/libm-test-ulps: Update.
17349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17351         [BZ #16315]
17352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17353         overflowing or underflowing operations take place with sign of
17354         result.
17355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17356         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17357         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17358         (__ieee754_pow): Recompute overflowing and underflowing results in
17359         original rounding mode.
17360         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17361         (__powl_helper): Allow negative argument X and scale negated value
17362         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17363         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17364         overflowing or underflowing operations take place with sign of
17365         result.
17366         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17367         Include <math.h>.
17368         * math/auto-libm-test-in: Add more tests of pow.
17369         * math/auto-libm-test-out: Regenerated.
17370         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17371         (pow_tonearest_test_data): Remove.
17372         (pow_test_tonearest): Likewise.
17373         (pow_towardzero_test_data): Likewise.
17374         (pow_test_towardzero): Likewise.
17375         (pow_downward_test_data): Likewise.
17376         (pow_test_downward): Likewise.
17377         (pow_upward_test_data): Likewise.
17378         (pow_test_upward): Likewise.
17379         (main): Don't call removed functions.
17380         * sysdeps/i386/fpu/libm-test-ulps: Update.
17381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17383 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17386         Moved ...
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17389         Moved ...
17390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17392         Moved ...
17393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17395         Moved ...
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17398         File removed.
17399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17400         File removed.
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17402         File removed.
17403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17404         File removed.
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17406         File removed.
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17408         File removed.
17409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17410         File removed.
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17412         File removed.
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17414         File removed.
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17416         File removed.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17418         File removed.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17420         File removed.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17422         Moved ...
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17425         Moved ...
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17427         ... here.
17428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17429         Moved ...
17430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17432         Moved ...
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17435         Moved ...
17436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17438         Moved ...
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17441         Moved ...
17442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17444         Moved ...
17445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17447         Moved ...
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17451         ... here.
17452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17453         Moved ...
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17456         Moved ...
17457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17458         ... here.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17460         Moved ...
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17462         ... here.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17464         Moved ...
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17466         ... here.
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17468         Moved ...
17469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17471         Moved ...
17472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17476         Moved ...
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17478         ... here.
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17480         Moved ...
17481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17482         ... here.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17484         Moved ...
17485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17487         Moved ...
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17490         Moved ...
17491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17493         Moved ...
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17496         Moved ...
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17498         ... here.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17500         Moved ...
17501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17503         Moved ...
17504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17506         Moved ...
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17509         Moved ...
17510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17514         Moved ...
17515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17517         Moved ...
17518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17520         Moved ...
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17522         ... here.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17524         Moved ...
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17526         ... here.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17528         Moved ...
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17530         ... here.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17532         Moved ...
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17535         Moved ...
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17538         Moved ...
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17541         Moved ...
17542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17543         ... here.
17544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17545         Moved ...
17546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17547         ... here.
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17549         Moved ...
17550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17551         ... here.
17552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17553         Moved ...
17554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17556         Moved ...
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17559 2014-06-23  Will Newton  <will.newton@linaro.org>
17560             Wilco  <wdijkstr@arm.com>
17562         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17563         implementation.  Include get-rounding-mode.h.
17564         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17565         [!libc_feholdsetround_noex_ctx]: Define
17566         libc_feholdsetround_noex_ctx.
17567         [!libc_feholdsetround_noexf_ctx]: Define
17568         libc_feholdsetround_noexf_ctx.
17569         [!libc_feholdsetround_noexl_ctx]: Define
17570         libc_feholdsetround_noexl_ctx.
17571         (libc_feholdsetround_ctx): New function.
17572         (libc_feresetround_ctx): New function.
17573         (libc_feholdsetround_noex_ctx): New function.
17574         (libc_feresetround_noex_ctx): New function.
17576 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17578         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17579         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17580         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17581         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17582         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17583         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17585         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17586         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17587         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17588         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17589         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17590         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17592         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17593         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17594         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17596         Moved ...
17597         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17598         ... here.
17599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17600         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17602         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17604         Moved ...
17605         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17607         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17609         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17610         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17611         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17613         Moved ...
17614         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17616         Moved ...
17617         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17619         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17621         Moved ...
17622         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17624         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17625         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17626         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17627         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17628         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17629         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17630         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17632         Moved ...
17633         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17634         ... here.
17635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17636         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17638         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17640         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17642         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17644         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17646         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17648         Moved ...
17649         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17651         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17653         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17654         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17655         Moved ...
17656         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17658         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17659         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17660         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17662         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17663         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17664         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17665         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17666         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17667         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17668         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17669         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17671         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17672         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17673         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17674         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17675         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17676         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17677         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17678         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17679         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17680         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17681         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17682         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17683         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17684         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17685         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17686         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17687         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17688         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17689         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17691 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17694         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17695         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17696         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17697         (IPV6_PMTUDISC_INTERFACE): Likewise.
17698         (IPV6_PMTUDISC_OMIT): Likewise.
17700 2014-06-23  Andreas Schwab  <schwab@suse.de>
17702         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17703         Remove unused errout label.
17705 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17707         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17708         macro: hardware supports Vector Crypto instructions.
17710 2014-06-23  Will Newton  <will.newton@linaro.org>
17712         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17713         rather than __builtin_expect.
17715         * elf/dl-lookup.c (undefined_msg): Remove variable.
17716         (_dl_lookup_symbol_x): Replace undefined_msg with string
17717         literal.
17719         * elf/dl-lookup.c (do_lookup_unique): New function.
17720         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17721         to a separate function.
17723 2014-06-23  Andreas Schwab  <schwab@suse.de>
17725         [BZ #17079]
17726         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17727         before reading the next line.
17729 2014-06-23  Will Newton  <will.newton@linaro.org>
17731         * test-skeleton.c (signal_handler): Use printf and %m
17732         rather than perror.  Use printf rather than fprintf to
17733         stderr.  Use puts rather than fputs to stderr.
17734         (main): Likewise.
17736 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17738         * nscd/nscd.c (thread_info_t): Remove typedef.
17739         (thread_info): Remove variable.
17741 2014-06-21  Allan McRae  <allan@archlinux.org>
17743         * NEWS: Mention CVE-2014-4043.
17745 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17747         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17748         * nptl/smp.h: ... here.
17750         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17752         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17753         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17754         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17755         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17757         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17758         * nptl/stack-aliasing.h: New file.
17759         * sysdeps/i386/i686/stack-aliasing.h: New file.
17760         * sysdeps/i386/i686/nptl/Makefile: File removed.
17761         * sysdeps/x86_64/stack-aliasing.h: New file.
17762         * sysdeps/x86_64/nptl/Makefile
17763         (CFLAGS-pthread_create.c): Variable removed.
17765         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17766         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17767         old file.
17768         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17769         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17770         old file.
17772 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17774         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17775         (__ASSUME_SIGFRAME_V2): Remove macro.
17776         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17777         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17778         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17779         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17780         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17781         Declare as function.  Remove conditional macro definitions.
17782         (__default_rt_sa_restorer): Likewise.
17783         (__default_sa_restorer_v1): Remove declaration.
17784         (__default_sa_restorer_v2): Likewise.
17785         (__default_rt_sa_restorer_v1): Likewise.
17786         (__default_rt_sa_restorer_v2): Likewise.
17787         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17788         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17789         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17791 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17793         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17794         (libpthread-routines): Add sysdep.
17795         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17796         * sysdeps/unix/sysv/linux/sparc/Versions
17797         (libpthread: GLIBC_2.3.3): New version set.
17798         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17799         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17800         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17801         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17802         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17803         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17804         Moved ...
17805         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17806         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17807         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17808         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17809         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17810         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17811         * sysdeps/sparc/nptl/sem_init.c: ... here.
17812         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17813         * sysdeps/sparc/nptl/sem_post.c: ... here.
17814         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17815         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17817         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17819         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17820         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17821         (libpthread-routines): Add cpu_relax.
17822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17823         File removed.
17824         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17825         (librt: GLIBC_2.3.3): New version set.
17826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17827         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17828         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17829         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17832         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17834         Moved ...
17835         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17837         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17839         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17841         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17843         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17845         Moved ...
17846         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17847         Update #include.
17848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17849         Moved ...
17850         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17851         Update #include.
17852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17853         Moved ...
17854         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17855         Update #include.
17856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17857         Moved ...
17858         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17859         Update #include.
17860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17861         Moved ...
17862         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17863         Update #include.
17864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17865         Moved ...
17866         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17867         Update #include.
17868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17869         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17871         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17875         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17877         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17879         Moved ...
17880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17882         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17884         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17886 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17888         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17889         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17890         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17891         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17892         * nscd/nscd.c: Likewise.
17893         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17894         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17895         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17896         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17898         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17899         <kernel-features.h>.
17900         (init_mq_netlink): Remove conditional have_sock_cloexec
17901         definitions.  Remove code conditional on have_sock_cloexec < 0.
17902         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17903         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17904         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17905         <kernel-features.h>.
17906         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17907         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17909 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17912         Add tests for memset_chk and memset.
17914         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17915         with AVX2_Usable.
17917 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17919         [BZ #16046]
17920         * elf/tst-dl-iter-static.c: New file.
17921         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17923         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17924         error.
17926 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17928         * sysdeps/unix/sysv/linux/kernel-features.h
17929         (__ASSUME_F_GETOWN_EX): Remove macro.
17930         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17931         <kernel-features.h>.
17932         (miss_F_GETOWN_EX): Remove variable or macro.
17933         (do_fcntl): Do not check miss_F_GETOWN_EX.
17934         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17937         Remove macro.
17938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17939         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17940         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17942         * sysdeps/unix/sysv/linux/kernel-features.h
17943         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17944         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17945         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17946         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17948 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17950         [BZ #17075]
17951         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17952         Fix calculation of the symbol's value.
17953         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17954         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17955         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17956         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17957         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17958         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17959         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17960         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17961         (modules-names): Add `tst-armtlsdescmod',
17962         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17963         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17964         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17965         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17966         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17967         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17968         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17969         ($(objpfx)tst-armtlsdescloc): New dependency.
17970         ($(objpfx)tst-armtlsdescextnow): Likewise.
17971         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17972         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17973         TLS scheme support.
17974         * sysdeps/arm/configure: Regenerate.
17976 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17978         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17979         (__atfct_seterrno_2): Likewise.
17980         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17981         <kernel-features.h>.
17982         (__ASSUME_ATFCTS): Do not undefine and redefine.
17983         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17984         (__have_atfcts): Remove conditional definition.
17985         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17986         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17987         unreachable if [__ASSUME_ATFCTS].
17988         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17989         not undefine and redefine.
17990         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17991         <kernel-features.h>.
17992         (faccessat) [__NR_faccessat]: Make code unconditional.
17993         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17994         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17995         <kernel-features.h>.
17996         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17997         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17998         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17999         <kernel-features.h>.
18000         (fchownat) [__NR_fchownat]: Make code unconditional.
18001         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18002         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18003         <kernel-features.h>.
18004         (futimesat) [__NR_futimesat]: Make code unconditional.
18005         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18006         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18007         <kernel-features.h>.
18008         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18009         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18010         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18011         <kernel-features.h>.
18012         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18013         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18014         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18015         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18016         <kernel-features.h>.
18017         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18018         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18019         * sysdeps/unix/sysv/linux/linkat.c: Do not include
18020         <kernel-features.h>.
18021         (linkat) [__NR_linkat]: Make code unconditional.
18022         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18023         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18024         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18025         <kernel-features.h>.
18026         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18027         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18028         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18029         <kernel-features.h>.
18030         (mkdirat) [__NR_mkdirat]: Make code unconditional.
18031         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18032         * sysdeps/unix/sysv/linux/openat.c: Do not include
18033         <kernel-features.h>.
18034         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18035         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18036         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18037         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18038         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18039         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18040         <kernel-features.h>.
18041         (readlinkat) [__NR_readlinkat]: Make code unconditional.
18042         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
18043         result of INLINE_SYSCALL directly, not via int variable.
18044         * sysdeps/unix/sysv/linux/renameat.c: Do not include
18045         <kernel-features.h>.
18046         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18047         (renameat) [__NR_renameat]: Make code unconditional.
18048         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18049         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18050         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18051         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18052         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18053         (__ASSUME_ATFCTS): Do not undefine and redefine.
18054         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18055         <kernel-features.h>.
18056         (symlinkat) [__NR_symlinkat]: Make code unconditional.
18057         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18058         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18059         <kernel-features.h>.
18060         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18061         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18062         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18063         (__ASSUME_ATFCTS): Do not undefine and redefine.
18064         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18065         <kernel-features.h>.
18066         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18067         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18068         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18069         <kernel-features.h>.
18070         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18071         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18073 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18075         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18077 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18079         [BZ #17069]
18080         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18081         constructed tree before returning error.
18082         * posix/bug-regexp36.c: Expand test case.
18084 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18086         [BZ #6803]
18087         * math/libm-test.inc (scalbln_test_date):
18088         Add errno expectations.
18089         * math/w_scalblnf.c: New File.
18090         Add wrapper which checks for setting errno to ERANGE.
18091         Add weak_alias for corresponding scalbln function.
18092         * math/w_scalbln.c: Likewise.
18093         * math/w_scalblnl.c: Likewise.
18094         * math/Makefile (libm-calls): Add w_scalbln.
18095         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18096         Remove weak_alias for corresponding scalbln function.
18097         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18098         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18100         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18101         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18102         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18103         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18104         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18105         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18106         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18107         Remove long_double_symbol for scalblnl function in libm, libc.
18108         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18109         Add wrapper which checks for setting errno to ERANGE.
18110         Add long_double_symbol for scalblnl function in libm, libc.
18111         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18112         Remove long_double_symbol for scalblnl in libm.
18113         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18114         Add wrapper which checks for setting errno to ERANGE.
18115         Add long_double_symbol for scalblnl function in libm.
18116         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18117         Do not use wrapper because of own implementation.
18119 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18121         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18122         3 bytes for __pad1 for x32.
18123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18125 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18126             H.J. Lu  <hongjiu.lu@intel.com>
18128         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18129         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18130         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18131         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18132         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18134 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18136         [BZ #17069]
18137         * posix/regcomp.c (parse_expression): Deallocate partially
18138         constructed tree before returning error.
18139         * posix/Makefile.c (tests): Add bug-regex36.
18140         (generated): Add bug-regex36.mtrace.
18141         (tests-special): Add $(objpfx)bug-regex36-mem.out
18142         (bug-regex36-ENV): New variable.
18143         ($(objpfx)bug-regex36-mem.out): New rule.
18144         * posix/bug-regex36.c: New file.
18146 2014-06-19  Will Newton  <will.newton@linaro.org>
18148         * malloc/malloc.c (systrim): If extra is zero then return
18149         early.
18151 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18153         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18155 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18157         * sysdeps/aarch64/strchr.S: New file.
18159 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18161         [BZ #17022]
18162         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18163         from arguments -2 or below.
18164         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18165         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18167 2014-06-18  Andreas Schwab  <schwab@suse.de>
18169         [BZ #17062]
18170         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18171         of a bracket expr not to run off the end of the string.
18172         * posix/Makefile (tests): Add tst-fnmatch3.
18173         * posix/tst-fnmatch3.c: New file.
18175 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18177         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18178         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18179         [$(cross-compiling) = no]: Likewise.
18180         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18181         [$(cross-compiling) = no]: Likewise.
18183 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18185         [BZ #17031]
18186         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18187         double, adjusted for any remainder from the high double.
18188         * math/libm-test.inc (nearbyint): Add tests.
18189         (rint): Likewise.
18191 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18193         * nptl/sysdeps/powerpc/Makefile: Moved ...
18194         * sysdeps/powerpc/nptl/Makefile: ... here.
18195         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18196         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18197         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18198         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18199         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18200         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18201         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18202         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18203         * nptl/sysdeps/powerpc/tls.h: Moved ...
18204         * sysdeps/powerpc/nptl/tls.h: ... here.
18206 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18208         [BZ #16681]
18209         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18210         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18211         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18212         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18213         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18214         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18215         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18216         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18217         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18219 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18221         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18223 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18225         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18226         defined operator.
18228         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18229         $TIMEOUTFACTOR.
18231 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18233         [BZ #17058]
18234         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18235         non-executed part of the test.
18237 2014-06-16  Andreas Schwab  <schwab@suse.de>
18239         * string/bits/string2.h (strdup, strndup): Update feature guard.
18241 2014-06-14  David S. Miller  <davem@davemloft.net>
18243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18245 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18247         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18248         that was previously under [RESET_PID].
18249         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18251         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18252         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18253         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18254         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18255         (__libc_vfork): New strong alias.
18256         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18258 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18260         * sysdeps/generic/elide.h: New file.
18262 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18264         * Makefile (installed-headers): Adjust path of pthread.h header.
18266 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18268         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18269         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18270         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18271         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18273         * nptl/sysdeps/s390/Makefile: Moved ...
18274         * sysdeps/s390/nptl/Makefile: ... here.
18275         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18276         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18277         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18278         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18279         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18280         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18281         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18282         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18283         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18284         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18285         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18286         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18287         * nptl/sysdeps/s390/tls.h: Moved ...
18288         * sysdeps/s390/nptl/tls.h: ... here.
18290         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18291         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18293 2014-06-13  David S. Miller  <davem@davemloft.net>
18295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18298         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18302         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18303         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18304         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18305         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18306         Remove RESET_PID cpp guards.
18307         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18308         Remove RESET_PID cpp guards.
18309         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18311 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18313         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18314         __sp to uintptr_t.
18316 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18319         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18324         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18328         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18339         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18340         (pthread_rwlock_rdlock): Add elision.
18341         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18342         (pthread_rwlock_wrlock): Add elision.
18343         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18344         (pthread_rwlock_trywrlock): Add elision.
18345         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18346         (pthread_rwlock_tryrdlock): Add elision.
18347         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18348         (pthread_rwlock_tryrdlock): Add elision unlock.
18349         * nptl/sysdeps/pthread/pthread.h:
18350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18351         (PTHREAD_RWLOCK_INITIALIZER,
18352         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18353         Handle new elision field.
18354         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18355         * sysdeps/arm/nptl/bits/pthreadtypes.h
18356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18357         * sysdeps/sh/nptl/bits/pthreadtypes.h
18358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18359         * sysdeps/tile/nptl/bits/pthreadtypes.h
18360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18361         * sysdeps/a/nptl/bits/pthreadtypes.h
18362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18363         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18365         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18367         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18369         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18371         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18373         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18375         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18377         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18379         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18380         (elision_init): Set try_xbegin to zero when no RTM.
18381         * sysdeps/x86/nptl/bits/pthreadtypes.h
18382         (pthread_rwlock_t): Change __pad1 to __rwelision.
18383         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18385 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18387         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18388         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18389         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18390         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18392 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18394         [BZ #16996]
18395         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18396         that the cached result has been set before returning it.
18398 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18400         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18401         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18402         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18403         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18404         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18405         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18407         * nptl/sysdeps/sparc/Makefile: Moved ...
18408         * sysdeps/sparc/nptl/Makefile: ... here.
18409         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18410         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18411         * nptl/sysdeps/sparc/tls.h: Moved ...
18412         * sysdeps/sparc/nptl/tls.h: ... here.
18413         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18414         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18415         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18416         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18417         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18418         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18419         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18420         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18421         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18422         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18423         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18424         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18425         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18426         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18427         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18428         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18429         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18430         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18431         Update #include.
18432         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18433         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18434         Update #include.
18435         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18437         Update #include.
18438         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18440         Update #include.
18442         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18444         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18445         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18447         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18448         (struct list_links): Type removed.
18449         (struct thread_node, struct timer_node): Replace struct list_links
18450         with struct list_head.
18451         (list_unlink_ip): Likewise.
18452         * sysdeps/pthread/timer_routines.c
18453         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18454         (list_append, list_insbefore): Likewise.
18455         (list_init): Function removed.
18456         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18457         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18458         * sysdeps/pthread/Makefile: ... here, new file.
18460         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18461         * sysdeps/nptl/Implies: ... here.
18462         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18463         * nptl/sysdeps/pthread/list.h: Moved ...
18464         * include/list.h: ... here.
18465         * nptl/sysdeps/pthread/createthread.c: Moved ...
18466         * nptl/createthread.c: ... here.
18467         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18468         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18469         * nptl/pt-longjmp.c: ... here.
18470         * nptl/sysdeps/pthread/Makefile: Moved ...
18471         * sysdeps/nptl/Makefile: ... here.
18472         * nptl/sysdeps/pthread/Subdirs: Moved ...
18473         * sysdeps/nptl/Subdirs: ... here.
18474         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18475         * sysdeps/nptl/aio_misc.h: ... here.
18476         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18477         * sysdeps/nptl/bits/libc-lock.h: ... here.
18478         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18479         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18480         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18481         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18482         * nptl/sysdeps/pthread/configure: Moved ...
18483         * sysdeps/nptl/configure: ... here.
18484         * nptl/sysdeps/pthread/configure.ac: Moved ...
18485         * sysdeps/nptl/configure.ac: ... here.
18486         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18487         * sysdeps/nptl/gai_misc.h: ... here.
18488         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18489         * sysdeps/nptl/librt-cancellation.c: ... here.
18490         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18491         * sysdeps/nptl/malloc-machine.h: ... here.
18492         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18493         * sysdeps/nptl/pthread-functions.h: ... here.
18494         * nptl/sysdeps/pthread/pthread.h: Moved ...
18495         * sysdeps/nptl/pthread.h: ... here.
18496         * nptl/sysdeps/pthread/setxid.h: Moved ...
18497         * sysdeps/nptl/setxid.h: ... here.
18498         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18499         * sysdeps/nptl/sigfillset.c: ... here.
18500         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18501         * sysdeps/nptl/tcb-offsets.h: ... here.
18502         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18503         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18504         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18505         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18506         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18507         * sysdeps/pthread/allocalim.h: ... here.
18508         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18509         * sysdeps/pthread/bits/sigthread.h: ... here.
18510         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18511         * sysdeps/pthread/flockfile.c: ... here.
18512         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18513         * sysdeps/pthread/ftrylockfile.c: ... here.
18514         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18515         * sysdeps/pthread/funlockfile.c: ... here.
18516         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18517         * sysdeps/pthread/posix-timer.h: ... here.
18518         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18519         * sysdeps/pthread/timer_create.c: ... here.
18520         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18521         * sysdeps/pthread/timer_delete.c: ... here.
18522         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18523         * sysdeps/pthread/timer_getoverr.c: ... here.
18524         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18525         * sysdeps/pthread/timer_gettime.c: ... here.
18526         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18527         * sysdeps/pthread/timer_routines.c: ... here.
18528         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18529         * sysdeps/pthread/timer_settime.c: ... here.
18530         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18531         * sysdeps/pthread/tst-timer.c: ... here.
18532         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18533         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18535         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18536         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18538         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18539         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18540         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18541         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18542         Update #include target.
18543         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18544         * sysdeps/i386/i686/nptl/Makefile: ... here.
18545         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18546         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18547         Update #include target.
18548         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18549         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18550         * nptl/sysdeps/i386/Makefile: Moved ...
18551         * sysdeps/i386/nptl/Makefile: ... here.
18552         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18553         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18554         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18555         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18556         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18557         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18558         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18559         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18560         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18561         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18562         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18563         * nptl/sysdeps/i386/tls.h: Moved ...
18564         * sysdeps/i386/nptl/tls.h: ... here.
18566         * sysdeps/sh/Makefile [$(subdir) = csu]
18567         (gen-as-const-headers): Add tcb-offsets.sym.
18568         * nptl/sysdeps/sh/Makefile: File removed.
18569         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18570         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18571         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18572         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18573         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18574         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18575         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18576         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18577         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18578         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18579         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18580         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18581         * nptl/sysdeps/sh/tls.h: Moved ...
18582         * sysdeps/sh/nptl/tls.h: ... here.
18583         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18584         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18585         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18586         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18587         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18588         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18589         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18590         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18591         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18592         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18593         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18594         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18596         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18598         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18600         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18602         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18604         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18606         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18608         Moved ...
18609         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18611         Moved ...
18612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18616         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18617         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18618         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18619         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18620         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18621         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18622         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18623         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18624         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18625         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18626         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18627         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18628         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18629         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18630         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18632 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18634         * posix/spawn_faction_addopen.c: Include string.h.
18636 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18638         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18639         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18640         * nptl/sysdeps/x86_64/Makefile: Moved ...
18641         * sysdeps/x86_64/nptl/Makefile: ... here.
18642         * nptl/sysdeps/x86_64/configure: Moved ...
18643         * sysdeps/x86_64/nptl/configure: ... here.
18644         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18645         * sysdeps/x86_64/nptl/configure.ac: ... here.
18646         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18647         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18648         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18649         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18650         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18651         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18652         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18653         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18654         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18655         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18656         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18657         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18658         * nptl/sysdeps/x86_64/tls.h: Moved ...
18659         * sysdeps/x86_64/nptl/tls.h: ... here.
18660         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18661         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18662         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18663         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18665         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18667 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18671 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18673         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18674         type.
18675         [POSIX] (off_t): Likewise.
18676         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18677         [POSIX] (S_ISBLK): Require macro.
18678         [POSIX] (S_ISCHR): Likewise.
18679         [POSIX] (S_ISDIR): Likewise.
18680         [POSIX] (S_ISFIFO): Likewise.
18681         [POSIX] (S_ISREG): Likewise.
18682         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18683         optional-macro.
18684         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18685         type.
18686         [POSIX] (time_t): Likewise.
18687         [POSIX] (timer_t): Likewise.
18689 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18691         [BZ #17048]
18692         * posix/spawn_int.h (struct __spawn_action): Make the path string
18693         non-const to support deallocation.
18694         * posix/spawn_faction_addopen.c
18695         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18696         * posix/spawn_faction_destroy.c
18697         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18698         path in all spawn_do_open actions.
18699         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18700         posix_spawn_file_actions_addopen.
18702 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18704         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18705         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18706         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18707         conditional code always true.
18708         (__libc_vfork): New alias.
18710 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18712         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18713         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18715         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18717         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18718         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18720         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18721         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18723         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18724         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18726 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18728         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18729         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18730         multiarch strcmp for PPC64.
18731         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18732         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18734         multiarch optimizations.
18735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18736         (__libc_ifunc_impl_list): Likewise.
18738 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18740         * benchtests/scripts/validate_benchout.py: New script.
18741         * benchtests/Makefile (bench-func): Call it.
18742         * benchtests/scripts/benchout.schema.json: New file.
18744 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18746         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18747         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18748         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18749         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18750         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18751         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18752         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18753         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18754         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18755         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18756         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18757         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18758         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18759         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18760         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18761         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18763         Moved ...
18764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18765         ... here.
18766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18767         Moved ...
18768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18770         Moved ...
18771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18772         ... here.
18773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18774         Moved ...
18775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18776         ... here.
18777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18778         Moved ...
18779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18781         Moved ...
18782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18783         ... here.
18784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18785         Moved ...
18786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18787         ... here.
18788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18789         Moved ...
18790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18792         Moved ...
18793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18794         ... here.
18795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18796         Moved ...
18797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18798         ... here.
18799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18800         Moved ...
18801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18802         ... here.
18803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18804         Moved ...
18805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18807         Moved ...
18808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18809         ... here.
18810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18811         Moved ...
18812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18813         ... here.
18814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18815         Moved ...
18816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18817         ... here.
18818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18819         Moved ...
18820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18822         Moved ...
18823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18824         ... here.
18825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18826         Moved ...
18827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18828         ... here.
18829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18830         Moved ...
18831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18833         Moved ...
18834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18835         ... here.
18836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18837         Moved ...
18838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18840         Moved ...
18841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18843         Moved ...
18844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18845         ... here.
18846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18847         Moved ...
18848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18849         ... here.
18850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18851         Moved ...
18852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18853         ... here.
18854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18855         Moved ...
18856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18858         Moved ...
18859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18860         ... here.
18861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18862         Moved ...
18863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18864         ... here.
18865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18866         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18868         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18870         Moved ...
18871         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18872         ... here.
18873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18874         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18876         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18878         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18880         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18882         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18884         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18886         Moved ...
18887         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18888         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18889         Moved ...
18890         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18892         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18894         Moved ...
18895         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18897         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18898         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18899         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18900         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18901         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18903 2014-06-10  Wilco  <wdijkstr@arm.com>
18905         * math/test-fenv-return.c: New file.
18906         * math/Makefile: Add new test test-fenv-return.
18908 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18910         [BZ #17042]
18911         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18912         when x - 1 is zero.
18913         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18914         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18915         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18916         0.0L for an argument of 1.0L.
18917         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18918         Likewise.
18919         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18920         value when x - 1 is zero.
18921         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18922         * sysdeps/i386/fpu/libm-test-ulps: Update.
18923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18927         [BZ #15119]
18928         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18930 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18932         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18933         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18935 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18937         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18938         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18940         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18941         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18943         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18944         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18946         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18947         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18949         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18950         if not already defined.
18951         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18952         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18953         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18954         (TLS_INIT_TP): Use it.
18955         (TLS_DEFINE_INIT_TP): New macro.
18956         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18958 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18960         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18961         constant.
18962         [POSIX] (IXANY): Likewise.
18963         [POSIX] (OLCUC): Likewise.
18964         [POSIX || POSIX2008] (CBAUD): Do not allow.
18965         [POSIX || POSIX2008] (DEFECHO): Likewise.
18966         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18967         [POSIX || POSIX2008] (ECHOKE): Likewise.
18968         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18969         [POSIX || POSIX2008] (EXTA): Likewise.
18970         [POSIX || POSIX2008] (EXTB): Likewise.
18971         [POSIX || POSIX2008] (FLUSHO): Likewise.
18972         [POSIX || POSIX2008] (LOBLK): Likewise.
18973         [POSIX || POSIX2008] (PENDIN): Likewise.
18974         [POSIX || POSIX2008] (SWTCH): Likewise.
18975         [POSIX || POSIX2008] (VDISCARD): Likewise.
18976         [POSIX || POSIX2008] (VDSUSP): Likewise.
18977         [POSIX || POSIX2008] (VLNEXT): Likewise.
18978         [POSIX || POSIX2008] (VREPRINT): Likewise.
18979         [POSIX || POSIX2008] (VSTATUS): Likewise.
18980         [POSIX || POSIX2008] (VWERASE): Likewise.
18981         (B*): Change to B[0123456789]*.
18982         * conform/data/time.h-data [POSIX || UNIX98]
18983         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18984         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18985         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18986         [POSIX] (tm_*): Do not allow.
18988 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18990         * Makefile (install): Don't set LANGUAGE.
18991         * Makefile.in (install): Likewise.
18992         * assert/Makefile (test-assert-ENV): Remove variable.
18993         (test-assert-perr-ENV): Likewise.
18994         * elf/Makefile (neededtest4-ENV): Likewise.
18995         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18996         [$(cross-compiling) = no]: Don't set LANGUAGE.
18997         * io/ftwtest-sh (LANG): Remove variable.
18998         * libio/Makefile (tst-widetext-ENV): Likewise.
18999         * manual/install.texi (Running make install): Don't refer to
19000         environment settings for make install.
19001         * INSTALL: Regenerated.
19002         * nptl/tst-tls6.sh: Don't set LANG.
19003         * posix/globtest.sh (LANG): Remove variable.
19004         * string/Makefile (tester-ENV): Likewise.
19005         (inl-tester-ENV): Likewise.
19006         (noinl-tester-ENV): Likewise.
19007         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19008         [$(cross-compiling) = no]: Don't set LANGUAGE.
19009         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19010         without explicit environment settings.
19012 2014-06-06  Roland McGrath  <roland@hack.frob.com>
19014         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19015         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19016         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19017         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19019 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
19021         * crypt/crypt-private.h [DOS]: Add some includes taken from the
19022         other files in the crypt directory.
19023         * crypt/crypt.c: Remove duplicate includes.
19024         * crypt/crypt-entry.c: Likewise.
19025         * crypt/crypt_util.c: Likewise.
19027 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
19029         * Makeconfig (run-program-env): New variable.
19030         (run-program-prefix-before-env): Likewise.
19031         (run-program-prefix-after-env): Likewise.
19032         (run-program-prefix): Define in terms of new variables.
19033         (built-program-cmd-before-env): New variable.
19034         (built-program-cmd-after-env): Likewise.
19035         (built-program-cmd): Define in terms of new variables.
19036         (test-program-prefix-before-env): New variable.
19037         (test-program-prefix-after-env): Likewise.
19038         (test-program-prefix): Define in terms of new variables.
19039         (test-program-cmd-before-env): New variable.
19040         (test-program-cmd-after-env): Likewise.
19041         (test-program-cmd): Define in terms of new variables.
19042         * Rules (make-test-out): Use $(run-program-env).
19043         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19044         (help): Do not mention environment variables.  Mention
19045         --timeoutfactor option.
19046         (timeoutfactor): New variable.
19047         (blacklist_exports): Remove function.
19048         (exports): Remove variable.
19049         (command): Do not include ${exports}.
19050         * manual/install.texi (Configuring and compiling): Do not mention
19051         test wrappers preserving environment variables.  Mention that last
19052         assignment to a variable must take precedence.
19053         * INSTALL: Regenerated.
19054         * benchtests/Makefile (run-bench): Use $(run-program-env).
19055         * catgets/Makefile ($(objpfx)test1.cat): Use
19056         $(built-program-cmd-before-env), $(run-program-env) and
19057         $(built-program-cmd-after-env).
19058         ($(objpfx)test2.cat): Do not specify environment variables
19059         explicitly.
19060         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19061         $(run-program-env) and $(built-program-cmd-after-env).
19062         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19063         $(run-program-env) and $(test-program-cmd-after-env).
19064         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19065         explicitly.
19066         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19067         run_program_env and test_program_cmd_after_env arguments.
19068         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19069         * elf/tst-pathopt.sh: Use run_program_env argument.
19070         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19071         $(test-wrapper-env) and $(run-program-env).
19072         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19073         run_program_env arguments.
19074         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19075         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19076         $(test-program-prefix-before-env), $(run-program-env) and
19077         $(test-program-prefix-after-env).
19078         ($(objpfx)tst-gettext2.out): Likewise.
19079         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19080         run_program_env and test_program_prefix_after_env arguments.
19081         * intl/tst-gettext2.sh: Likewise.
19082         * intl/tst-gettext4.sh: Do not set environment variables
19083         explicitly.
19084         * intl/tst-gettext6.sh: Likewise.
19085         * intl/tst-translit.sh: Likewise.
19086         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19087         $(test-program-prefix-before-env), $(run-program-env) and
19088         $(test-program-prefix-after-env).
19089         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19090         run_program_env and test_program_prefix_after_env arguments.
19091         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19092         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19093         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19094         explicitly with each use of ${test_wrapper_env}.
19095         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19096         $(test-program-prefix-before-env), $(run-program-env) and
19097         $(test-program-prefix-after-env).
19098         * posix/tst-getconf.sh: Do not set environment variables
19099         explicitly.
19100         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19101         run_program_env and test_program_prefix_after_env arguments.
19102         * stdio-common/tst-printf.sh: Do not set environment variables
19103         explicitly.
19104         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19105         $(test-program-prefix-before-env), $(run-program-env) and
19106         $(test-program-prefix-after-env).
19107         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19108         run_program_env and test_program_prefix_after_env arguments.
19109         Split $test calls into $test_pre and $test.
19110         * timezone/Makefile (build-testdata): Use
19111         $(built-program-cmd-before-env), $(run-program-env) and
19112         $(built-program-cmd-after-env).
19114 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19116         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19117         strlen for non SHARED builds.
19119 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19121         * nptl/allocatestack.c (check_list): Inlined function...
19122         (__reclaim_stacks): ... here.
19124 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19126         [BZ #15698]
19127         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19128         memory overrun.
19130 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19132         * Rules (make-test-out): Include
19133         LOCPATH=$(common-objpfx)localedata in default environment.
19134         * debug/Makefile (tst-chk1-ENV): Remove variable.
19135         (tst-chk2-ENV): Likewise.
19136         (tst-chk3-ENV): Likewise.
19137         (tst-chk4-ENV): Likewise.
19138         (tst-chk5-ENV): Likewise.
19139         (tst-chk6-ENV): Likewise.
19140         (tst-lfschk1-ENV): Likewise.
19141         (tst-lfschk2-ENV): Likewise.
19142         (tst-lfschk3-ENV): Likewise.
19143         (tst-lfschk4-ENV): Likewise.
19144         (tst-lfschk5-ENV): Likewise.
19145         (tst-lfschk6-ENV): Likewise.
19146         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19147         (tst-iconv7-ENV): Likewise.
19148         * intl/Makefile (LOCPATH-ENV): Likewise.
19149         (tst-codeset-ENV): Likewise.
19150         (tst-gettext3-ENV): Likewise.
19151         (tst-gettext5-ENV): Likewise.
19152         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19153         (tst-fopenloc-ENV): Likewise.
19154         (tst-fgetws-ENV): Remove variable.
19155         (tst-ungetwc1-ENV): Likewise.
19156         (tst-ungetwc2-ENV): Likewise.
19157         (bug-ungetwc2-ENV): Likewise.
19158         (tst-swscanf-ENV): Likewise.
19159         (bug-ftell-ENV): Likewise.
19160         (tst-fgetwc-ENV): Likewise.
19161         (tst-fseek-ENV): Likewise.
19162         (tst-ftell-partial-wide-ENV): Likewise.
19163         (tst-ftell-active-handler-ENV): Likewise.
19164         (tst-ftell-append-ENV): Likewise.
19165         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19166         (tst-regexloc-ENV): Likewise.
19167         (bug-regex1-ENV): Likewise.
19168         (tst-regex-ENV): Likewise.
19169         (tst-regex2-ENV): Likewise.
19170         (bug-regex5-ENV): Likewise.
19171         (bug-regex6-ENV): Likewise.
19172         (bug-regex17-ENV): Likewise.
19173         (bug-regex18-ENV): Likewise.
19174         (bug-regex19-ENV): Likewise.
19175         (bug-regex20-ENV): Likewise.
19176         (bug-regex22-ENV): Likewise.
19177         (bug-regex23-ENV): Likewise.
19178         (bug-regex25-ENV): Likewise.
19179         (bug-regex26-ENV): Likewise.
19180         (bug-regex30-ENV): Likewise.
19181         (bug-regex32-ENV): Likewise.
19182         (bug-regex33-ENV): Likewise.
19183         (bug-regex34-ENV): Likewise.
19184         (bug-regex35-ENV): Likewise.
19185         (tst-rxspencer-ENV): Likewise.
19186         (tst-rxspencer-no-utf8-ENV): Likewise.
19187         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19188         (tst-sscanf-ENV): Likewise.
19189         (tst-swprintf-ENV): Likewise.
19190         (tst-swscanf-ENV): Likewise.
19191         (test-vfprintf-ENV): Likewise.
19192         (scanf13-ENV): Likewise.
19193         (bug14-ENV): Likewise.
19194         (tst-grouping-ENV): Likewise.
19195         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19196         (tst-strtod3-ENV): Likewise.
19197         (tst-strtod4-ENV): Likewise.
19198         (tst-strtod5-ENV): Likewise.
19199         (testmb2-ENV): Likewise./
19200         * string/Makefile (tst-strxfrm-ENV): Likewise.
19201         (tst-strxfrm2-ENV): Likewise.
19202         (bug-strcoll1-ENV): Likewise.
19203         (test-strcasecmp-ENV): Likewise.
19204         (test-strncasecmp-ENV): Likewise.
19205         * time/Makefile (tst-strptime-ENV): Likewise.
19206         (tst-ftime_l-ENV): Likewise.
19207         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19208         (tst-mbrtowc-ENV): Likewise.
19209         (tst-wcrtomb-ENV): Likewise.
19210         (tst-mbrtowc2-ENV): Likewise.
19211         (tst-c16c32-1-ENV): Likewise.
19212         (tst-mbsnrtowcs-ENV): Likewise.
19214 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19216         * manual/resource.texi (How to get information about the memory
19217         subsystem?): Fix typo.
19218         Reported by Peon de la Parra Ivan <peon@keba.com>
19220 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19222         [BZ #16882]
19223         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19224         (pthread_spin_lock): Branch out of spin loop to proper location.
19225         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19226         (pthread_spin_lock): Likewise.
19228         * nptl/tst-spin4.c: New test.
19229         * nptl/Makefile (tests): Add tst-spin4.
19231 2014-06-03  Andreas Schwab  <schwab@suse.de>
19233         [BZ #15946]
19234         * resolv/res_send.c (send_dg): Reload file descriptor after
19235         calling reopen.
19237 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19239         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19241 2014-06-03  Richard Henderson  <rth@redhat.com>
19243         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19244         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19245         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19246         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19247         in the SAVE_PID block.
19248         (__libc_vfork): New alias.
19249         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19251         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19252         child in registers, not on the stack.  Remove RESET_PID conditionals.
19253         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19255 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19257         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19259 2014-06-03  Wilco  <wdijkstr@arm.com>
19261         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19262         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19263         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19264         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19265         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19266         Likewise.
19268 2014-06-03  Wilco  <wdijkstr@arm.com>
19270         * sysdeps/aarch64/fpu/math_private.h
19271         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19272         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19273         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19274         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19275         Fix declarations.
19277 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19279         * crypt/crypt-private.h: Include ufc-crypt.h.
19280         (__b64_from_24bit): Declare extern.
19281         * crypt/crypt_util.c(__b64_from_24bit): New function.
19282         (b64t): New static const variable.
19283         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19284         (b64t): Remove variable.
19285         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19286         * crypt/sha256-crypt.c: Include crypt-private.h.
19287         (b64t): Remove variable.
19288         (__sha256_crypt_r): Remove b64_from_24bit and replace
19289         with __b64_from_24bit.
19290         * crypt/sha512-crypt.c: Likewise.
19292 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19294         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19295         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19296         Label the code __libc_vfork rather than __vfork.
19297         [!NOT_IN_libc] (vfork): Define as weak alias.
19298         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19299         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19300         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19302 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19304         * malloc/malloc.c (malloc_info): Fix format specifier for
19305         n_mmaps.
19307 2014-06-02  Wilco  <wdijkstr@arm.com>
19309         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19310         FPCR write.
19312 2014-06-02  Wilco  <wdijkstr@arm.com>
19314         [BZ #17009]
19315         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19316         Rewrite to reduce FPCR/FPSR accesses.
19318 2014-06-01  David S. Miller  <davem@davemloft.net>
19320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19322 2014-05-31  David S. Miller  <davem@davemloft.net>
19324         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19325         to occur in round to nearest mode when |x| >= 2.0
19327 2014-05-30  Richard Henderson  <rth@twiddle.net>
19329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19330         (PSEUDO_RET_NOERRNO): Remove.
19331         (ret): Don't redefine.
19332         (ret_NOERRNO): Define in terms of ret.
19333         (ret_ERRVAL): Likewise.
19335         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19336         use of PSEUDO_RET; perform the error check directly.
19338 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19340         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19341         with __int128_t.
19343 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19345         * malloc/malloc (malloc_info): Fix formatting.
19347 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19348             Roland McGrath  <roland@hack.frob.com>
19350         * malloc/malloc (malloc_info): Also print mmapped statistics.
19352 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19354         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19355         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19357 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19359         * malloc/malloc.c (malloc_info): Inline mi_arena.
19361 2014-05-29  Richard Henderson  <rth@twiddle.net>
19363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19364         Remove comma before expanding ASM_ARGS_##nr.
19365         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19366         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19367         of ASM_ARGS_##nr.
19368         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19369         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19370         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19371         (ASM_ARGS_1): Add leading comma.
19373         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19374         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19375         to __errno_location.
19376         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19377         Remove the expected plt for __errno_location.
19379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19380         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19381         call to __read_tp.
19383         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19384         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19385         it and break it down.
19386         (DOCARGS_0, DOCARGS_1): Do nothing.
19387         (DOCARGS_2): Update to store into the new stack frame.
19388         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19389         (UNDOCARGS_1): Update to restore from the new stack frame.
19390         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19391         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19394         (SINGLE_THREAD_P): New parameter for result regno.
19395         (PSEUDO): Update to match; use cbz instead of beq.
19397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19398         Use ENTRY to define the _nocancel entry point.  Share the syscall
19399         and syscall error check paths with the cancel path.
19400         (PSEUDO_END): New.
19402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19403         whitespace; tabs before and after asm mnemonics.
19405 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19407         [BZ #15132]
19408         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19409         Call fstat64 or stat64 internally, depending on arguments passed.
19410         Replace stat buffer argument with file descriptor argument.
19411         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19412         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19413         Pass fd to __internal_statvfs instead of calling fstat64.
19414         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19415         Pass fd to __internal_statvfs64 instead of calling fstat64.
19416         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19417         Pass -1 to __internal_statvfs instead of calling stat64.
19418         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19419         Pass -1 to __internal_statvfs64 instead of calling stat64.
19421 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19423         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19424         that was previously under [RESET_PID].
19425         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19427         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19428         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19430 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19432         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19434         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19435         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19437 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19439         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19441 2014-05-27  Andreas Schwab  <schwab@suse.de>
19443         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19444         TLS_INIT_TP macro.
19445         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19446         * elf/rtld.c (init_tls, dl_main): Likewise.
19447         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19448         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19449         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19450         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19451         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19452         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19453         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19454         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19455         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19456         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19457         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19458         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19459         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19460         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19461         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19462         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19463         * sysdeps/generic/tls.h: Update description.
19465 2014-05-27  Will Newton  <will.newton@linaro.org>
19467         [BZ #16990]
19468         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19469         and restore r2 rather than just restoring.
19471 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19473         [BZ #16724]
19474         * libio/tst-ftell-append.c: New test case.
19475         * libio/Makefile (tests): Add test case.
19476         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19477         append mode.
19478         * libio/wfileops.c (do_ftell_wide): Likewise.
19480 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19484         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19485         ...
19486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19488         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19489         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19490         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19491         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19492         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19493         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19495         Moved ...
19496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19498         Moved ...
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19500         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19501         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19502         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19503         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19504         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19505         ...
19506         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19507         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19508         Moved ...
19509         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19510         here.
19511         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19512         ...
19513         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19514         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19515         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19517         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19518         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19520         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19523         merge into ...
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19526         ...
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19529         ...
19530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19532         Moved ...
19533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19534         here.
19535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19536         Moved ...
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19539         Moved ...
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19543         conditional [RESET_PID].
19544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19546         removed.
19547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19548         removed.
19550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19551         <tcb-offsets.h>.
19552         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19553         (__libc_vfork): New strong alias.
19554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19555         removed.
19556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19557         Removed.
19559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19560         <tcb-offsets.h>.
19561         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19562         (__libc_vfork): New strong alias.
19563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19564         removed.
19565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19566         removed.
19568 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19570         * malloc/malloc.c (mi_arena): New function.
19571         (malloc_info): Remove nested function mi_arena. Call non-nosted
19572         function mi_arena.
19574 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19576         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19577         by insrwi.
19578         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19579         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19580         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19581         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19582         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19583         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19584         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19586 2014-05-26  Andreas Schwab  <schwab@suse.de>
19588         [BZ #16984]
19589         * locale/programs/repertoire.c (repertoire_read): Add slash
19590         between I18NPATH element and file name.
19591         * locale/programs/locfile.c (locfile_read): Likewise.
19593 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19595         * nptl/pthread_mutexattr_settype.c
19596         (__pthread_mutexattr_settype):
19597         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19599 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19601         * nptl/tst-mutex5 (do_test):
19602         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19604 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19606         * benchtests/README: Document 'init' directive.
19607         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19608         BENCH_INIT.
19609         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19610         (parse_file): Recognize 'init' directive.
19612 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19614         [BZ #16796]
19615         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19616         alignment of struct pthread.
19618 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19620         [BZ #16878]
19621         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19622         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19623         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19624         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19626 2014-05-25  Richard Henderson  <rth@twiddle.net>
19628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19629         (SINGLE_THREAD_P_PIC): Remove.
19630         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19631         (SINGLE_THREAD_P_PIC): Remove.
19633         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19634         branch to syscall error ...
19635         (PSEUDO): ... here.
19636         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19637         from __local_syscall_error to .Lsyscall_error.
19638         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19639         (SYSCALL_ERROR): Update label name.
19641         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19642         Do not use DOARGS/UNDOARGS.
19643         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19644         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19645         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19646         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19647         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19650         block comment.
19652         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19653         define if !NOT_IN_libc.
19654         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19655         define with non-default symbol versions.
19657 2014-05-23  Richard Henderson  <rth@twiddle.net>
19659         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19660         (vfork, __vfork): Define via compat_symbol.
19662         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19663         [!HAVE_IFUNC] (vfork_compat): Remove.
19664         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19666 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19668         [BZ #16978]
19669         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19670         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19671         variable.
19673 2014-05-23  Richard Henderson  <rth@twiddle.net>
19675         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19676         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19677         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19678         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19680         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19681         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19682         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19683         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19684         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19685         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19686         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19687         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19688         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19689         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19690         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19691         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19692         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19693         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19694         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19695         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19696         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19697         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19698         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19699         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19700         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19701         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19702         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19703         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19704         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19705         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19706         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19707         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19708         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19709         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19710         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19711         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19712         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19713         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19714         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19715         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19716         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19717         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19718         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19719         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19720         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19721         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19722         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19723         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19724         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19725         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19727         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19729         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19731         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19733         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19735         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19737         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19738         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19739         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19740         before exiting on error.
19741         (__libc_vfork): New strong alias.
19742         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19743         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19745         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19746         that was previously under [RESET_PID].
19747         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19749         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19751 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19753         [BZ #16977]
19754         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19755         value when x - 1 is zero.
19756         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19757         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19758         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19759         0.0L for an argument of 1.0L.
19760         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19761         Likewise.
19762         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19763         value when x - 1 is zero.
19764         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19765         * sysdeps/i386/fpu/libm-test-ulps: Update.
19766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19770         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19771         alphasort and versionsort.
19773 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19775         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19776         macro.
19777         [copysignf]: Likewise.
19779 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19781         * crypt/md5-crypt.c: Fix formatting.
19783 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19785         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19786         (b64_from_24bit): New function.
19788 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19791         libc_hidden_builtin_def to ifunc.
19792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19793         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19795 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19797         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19798         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19800 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19802         * nscd/Depend (linuxthreads): Remove.
19803         (nptl): Add.
19804         * resolv/Depend (linuxthreads): Remove.
19805         * rt/Depend (linuxthreads): Remove.
19807         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19808         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19809         $(common-objpfx)elf/.
19810         (link-libc-before-gnulib): Likewise.
19811         (elfobjdir): Remove variable.
19812         * Makefile (install): Use $(elf-objpfx) instead of
19813         $(common-objpfx)elf/.
19814         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19815         $(elfobjdir)/.
19816         (link-libc-deps): Likewise.
19817         ($(common-objpfx)libc.so): Likewise.
19818         ($(common-objpfx)linkobj/libc.so): Likewise.
19819         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19820         instead of $(common-objpfx)elf/.
19821         (symbolic-link-list): Likewise.
19822         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19823         [$(cross-compiling) = no]: Likewise.
19824         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19825         $(elfobjdir)/.
19826         (static-gnulib-arch): Likewise.
19827         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19828         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19829         $(common-objpfx)elf/.
19831 2014-05-21  Richard Henderson  <rth@redhat.com>
19833         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19834         (SINGLE_THREAD_P): Use the correct width load.  Fold
19835         into the ldr offset.
19837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19838         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19840 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19842         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19843         (libgcc_s_resume): Use __attribute_used__.
19844         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19845         Likewise.
19847 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19849         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19850         optimization when used with float constants.
19852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19854 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19856         [BZ #16915]
19857         * locale/nl_langinfo_l.c: Make direct reference to every
19858         _nl_current_CATEGORY symbol.
19859         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19860         (tests-static): Add tst-langinfo-static.
19861         (tests-special): Add tst-langinfo-static.out.
19862         ($(objpfx)tst-langinfo.out): Redirect output.
19863         ($(objpfx)tst-langinfo-static.out): New.
19864         * localedata/tst-langinfo.sh: Send output to stdout.
19865         * localedata/tst-langinfo-static.c: New file.
19867         [BZ #16965]
19868         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19869         when the shift amount is modulo the limb size.
19871 2014-05-20  Richard Henderson  <rth@redhat.com>
19873         [BZ #16967]
19874         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19875         Change type of sa_flags from unsigned int to int.
19877         [BZ #16966]
19878         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19880         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19882 2014-05-20  Will Newton  <will.newton@linaro.org>
19884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19885         Test the return value of the system call in the nocancel case.
19887 2014-05-20  Will Newton  <will.newton@linaro.org>
19888             Yvan Roux  <yvan.roux@linaro.org>
19890         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19891         #include of asm/ptrace.h.
19892         (PTRACE_GET_THREAD_AREA): Remove #undef.
19893         (PTRACE_GETHBPREGS): Likewise.
19894         (PTRACE_SETHBPREGS): Likewise.
19895         (struct user_regs_struct): New structure.
19896         (struct user_fpsimd_struct): New structure.
19897         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19898         #include of asm/ptrace.h and second #include of sys/user.h.
19899         (PTRACE_GET_THREAD_AREA): Remove #undef.
19900         (PTRACE_GETHBPREGS): Likewise.
19901         (PTRACE_SETHBPREGS): Likewise.
19902         (ELF_NGREG): Use new struct user_regs_struct.
19903         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19905 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19907         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19910 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19912         [BZ #16958]
19913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19914         membar to avoid block loads/stores to overlap previous stores.
19916 2014-05-17  Richard Henderson  <rth@redhat.com>
19918         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19919         Create the __##syscall_name##_nocancel entry point.
19920         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19921         Remove; let the sysdep-cancel.h code create it.
19923 2014-05-17  David S. Miller  <davem@davemloft.net>
19925         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19926         Protect with __USE_GNU.
19927         (TIOCSET_TEMPT): Likewise.
19928         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19929         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19930         these are already provided in bits/ioctl-types.h
19932 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19934         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19935         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19937         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19938         Use wait4 regardless of [__NR_waitpid].
19940 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19942         PR libgcc/60166
19943         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19944         (_FP_NANSIGN_Q): Set the quiet bit.
19946 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19948         * benchtests/Makefile
19949         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19950         not $(common-objpfx)math/libm.so.
19951         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19952         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19953         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19954         $(common-objpfx)dlfcn/libdl.so.
19955         ($(objpfx)tst-audit8): Depend on $(libm), not
19956         $(common-objpfx)math/libm.so.
19957         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19958         not $(common-objpfx)dlfcn/libdl.so.
19959         * math/Makefile
19960         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19961         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19962         [$(build-shared) = yes].
19963         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19964         $(common-objpfx)nptl/libpthread.so.
19965         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19966         $(common-objpfx)math/libm.so$(libm.so-version) or
19967         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19968         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19969         $(common-objpfx)dlfcn/libdl.so.
19970         * setjmp/Makefile (link-libm): Remove variable.
19971         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19972         * stdio-common/Makefile (link-libm): Remove variable.
19973         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19974         * stdlib/Makefile (link-libm): Remove variable.
19975         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19976         ($(objpfx)tst-strtod-round): Likewise.
19977         ($(objpfx)tst-tininess): Likewise.
19978         ($(objpfx)tst-strtod-underflow): Likewise.
19979         ($(objpfx)tst-strtod6): Likewise.
19980         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19981         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19982         $(common-objpfx)dlfcn/libdl.so.
19984 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19987         BSD terminal modes definitions.
19989 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19991         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19992         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19994         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19995         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19996         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19997         Don't do #include_next.
19998         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19999         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20000         Don't do #include_next.
20001         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20002         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20003         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20004         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20006 2014-05-16  Allan McRae  <allan@archlinux.org>
20008         * po/sv.po: Update Swedish translation from translation project.
20010         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20011         in sed expression.
20013 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
20015         [BZ #16917]
20016         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20017         errno if the TIOCGPTN ioctl fails with an error different than
20018         EINVAL.
20019         * login/tst-ptsname.c: New file.
20020         * login/Makefile (tests): Add tst-ptsname.
20022         [BZ #16943]
20023         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20024         and prlimit64.
20026 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20028         [BZ #16849]
20029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20030         herrno to return EAI_AGAIN.
20032 2014-05-14  Roland McGrath  <roland@hack.frob.com>
20034         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20035         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20036         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20037         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20038         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20039         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20040         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20041         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20042         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20043         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20044         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20045         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20046         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20047         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20048         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20049         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20050         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20051         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20052         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20053         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20054         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20055         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20056         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20057         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20058         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20059         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20060         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20061         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20062         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20063         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20065         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20067         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20069         Moved ...
20070         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20072         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20074         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20076         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20078         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20080         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20082         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20084         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20086         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20088         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20090         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20092         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20094         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20096         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20098         Moved ...
20099         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20101         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20105         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20107         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20111         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20113         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20115         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20117         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20119         Moved ...
20120         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20122         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20124         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20125         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20126         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20127         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20128         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20129         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20130         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20131         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20132         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20133         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20134         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20135         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20136         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20137         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20138         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20139         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20140         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20141         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20142         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20143         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20144         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20145         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20146         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20147         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20148         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20149         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20150         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20151         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20152         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20153         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20154         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20156         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20157         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20159         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20160         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20161         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20162         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20163         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20165         Moved ...
20166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20168         Moved ...
20169         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20171         Moved ...
20172         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20174         Moved ...
20175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20176         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20177         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20179         Moved ...
20180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20181         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20182         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20184         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20185         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20186         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20187         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20188         Moved ...
20189         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20191         Moved ...
20192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20193         ... here.
20194         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20195         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20196         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20197         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20199         Moved ...
20200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20201         ... here.
20202         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20203         Moved ...
20204         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20205         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20206         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20207         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20208         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20210         Moved ...
20211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20213         Moved ...
20214         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20216         Moved ...
20217         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20219         Moved ...
20220         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20221         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20222         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20224         Moved ...
20225         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20226         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20227         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20230         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20231         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20232         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20233         Moved ...
20234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20236         Moved ...
20237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20238         ... here.
20239         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20240         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20241         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20242         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20244         Moved ...
20245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20246         ... here.
20247         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20248         Moved ...
20249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20250         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20251         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20252         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20253         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20254         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20256         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20257         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20259         Moved ...
20260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20261         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20262         Moved ...
20263         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20265         Moved ...
20266         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20268         Moved ...
20269         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20270         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20271         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20272         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20273         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20274         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20275         Moved ...
20276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20277         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20278         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20280         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20281         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20282         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20283         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20284         Moved ...
20285         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20286         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20287         Moved ...
20288         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20289         ... here.
20290         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20291         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20292         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20293         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20295         Moved ...
20296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20297         ... here.
20298         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20299         Moved ...
20300         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20301         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20302         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20303         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20304         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20305         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20306         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20307         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20308         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20309         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20310         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20312         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20313         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20315         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20316         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20318         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20319         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20320         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20321         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20322         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20323         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20324         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20325         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20326         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20327         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20328         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20329         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20331         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20332         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20334         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20336         Moved ...
20337         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20341         Moved ...
20342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20346         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20347         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20348         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20350         Moved ...
20351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20353         Moved ...
20354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20358         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20359         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20360         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20361         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20362         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20363         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20364         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20365         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20366         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20367         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20368         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20369         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20370         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20372         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20373         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20374         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20375         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20376         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20378         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20379         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20380         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20381         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20382         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20383         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20384         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20385         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20386         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20387         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20392         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20393         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20394         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20395         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20396         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20397         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20398         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20399         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20400         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20401         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20402         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20403         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20405         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20407         Update #include.
20408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20409         Likewise.
20410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20411         Likewise.
20412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20413         Likewise.
20414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20415         Likewise.
20416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20417         Likewise.
20418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20419         Likewise.
20420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20421         Likewise.
20422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20423         Likewise.
20424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20425         Likewise.
20426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20431         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20436         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20437         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20442         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20443         that was previously under [RESET_PID].
20444         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20445         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20446         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20448         * sysdeps/i386/nptl/Implies: New file.
20449         * sysdeps/x86_64/nptl/Implies: New file.
20450         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20451         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20452         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20453         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20455         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20456         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20457         (__libc_vfork): New strong alias.
20458         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20459         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20461         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20462         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20463         (__libc_vfork): New strong alias.
20464         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20465         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20467         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20468         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20469         (__libc_vfork): New strong alias.
20470         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20471         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20472         * nptl/pt-vfork.c: New file.
20473         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20474         (libpthread: GLIBC_2.20): New version set (empty).
20476 2014-05-14  Will Newton  <will.newton@linaro.org>
20478         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20479         rather than #if.
20481 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20483         [BZ #16564]
20484         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20485         arguments with exponent 65 or above.
20486         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20487         arguments 0x1p113L or above.
20488         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20489         to arguments 0x1p107L or above.
20490         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20491         positive arguments with exponent 65 or above.
20492         * math/auto-libm-test-in: Add more tests of log1p.
20493         * math/auto-libm-test-out: Regenerated.
20495         [BZ #16928]
20496         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20497         non-finite arguments is +0.
20498         * math/s_cacosf.c (__cacosf): Likewise.
20499         * math/s_cacosl.c (__cacosl): Likewise.
20500         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20501         * sysdeps/i386/fpu/libm-test-ulps: Update.
20502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20504         [BZ #16927]
20505         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20506         value.
20507         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20508         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20509         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20510         for explicit high bit of mantissa when testing for argument equal
20511         to 1.
20512         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20513         * sysdeps/i386/fpu/libm-test-ulps: Update.
20514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20516         [BZ #16516]
20517         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20518         (__erf): Scale by 16 instead of 8 in potentially underflowing
20519         case.  Ensure exception if result actually underflows.
20520         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20521         (__erff): Scale by 16 instead of 8 in potentially underflowing
20522         case.  Ensure exception if result actually underflows.
20523         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20524         (efx8): Remove variable.
20525         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20526         case.  Ensure exception if result actually underflows.
20527         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20528         (efx8): Remove variable.
20529         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20530         case.  Ensure exception if result actually underflows.
20531         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20532         (efx8): Remove variable.
20533         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20534         case.  Ensure exception if result actually underflows.
20535         * math/auto-libm-test-in: Add more tests of erf.
20536         * math/auto-libm-test-out: Regenerated.
20538 2014-05-14  Andreas Schwab  <schwab@suse.de>
20540         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20541         Remove code conditionalized on USE___THREAD.
20543         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20544         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20545         not definedness.
20547 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20550         Define unconditionally.
20551         (__ASSUME_O_CLOEXEC): Likewise.
20552         (__ASSUME_SOCK_CLOEXEC): Likewise.
20553         (__ASSUME_IN_NONBLOCK): Likewise.
20554         (__ASSUME_PIPE2): Likewise.
20555         (__ASSUME_EVENTFD2): Likewise.
20556         (__ASSUME_SIGNALFD4): Likewise.
20557         (__ASSUME_DUP3): Likewise.
20558         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20559         (__ASSUME_DUP3): Do not define.
20560         (__ASSUME_EVENTFD2): Likewise.
20561         (__ASSUME_IN_NONBLOCK): Likewise.
20562         (__ASSUME_O_CLOEXEC): Likewise.
20563         (__ASSUME_PIPE2): Likewise.
20564         (__ASSUME_SIGNALFD4): Likewise.
20565         (__ASSUME_SOCK_CLOEXEC): Likewise.
20566         (__ASSUME_UTIMES): Undefine.
20567         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20568         (__ASSUME_UTIMES): Do not define.
20569         (__ASSUME_O_CLOEXEC): Likewise.
20570         (__ASSUME_SOCK_CLOEXEC): Likewise.
20571         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20572         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20573         0x020621].
20574         (__ASSUME_PIPE2): Likewise.
20575         (__ASSUME_EVENTFD2): Likewise.
20576         (__ASSUME_SIGNALFD4): Likewise.
20577         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20578         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20579         Do not define.
20580         (__ASSUME_EVENTFD2): Likewise.
20581         (__ASSUME_SIGNALFD4): Likewise.
20582         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20583         (__ASSUME_32BITUIDS): Likewise.
20584         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20585         (__ASSUME_IPC64): Likewise.
20586         (__ASSUME_ST_INO_64_BIT): Likewise.
20587         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20588         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20589         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20590         (__ASSUME_UTIMES): Do not define.
20591         (__ASSUME_PSELECT): Likewise.
20592         (__ASSUME_PPOLL): Likewise.
20593         (__ASSUME_O_CLOEXEC): Likewise.
20594         (__ASSUME_SOCK_CLOEXEC): Likewise.
20595         (__ASSUME_IN_NONBLOCK): Likewise.
20596         (__ASSUME_PIPE2): Likewise.
20597         (__ASSUME_EVENTFD2): Likewise.
20598         (__ASSUME_SIGNALFD4): Likewise.
20599         (__ASSUME_DUP3): Likewise.
20600         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20601         (__ASSUME_UTIMES): Likewise.
20602         (__ASSUME_O_CLOEXEC): Likewise.
20603         (__ASSUME_SOCK_CLOEXEC): Likewise.
20604         (__ASSUME_IN_NONBLOCK): Likewise.
20605         (__ASSUME_PIPE2): Likewise.
20606         (__ASSUME_EVENTFD2): Likewise.
20607         (__ASSUME_SIGNALFD4): Likewise.
20608         (__ASSUME_DUP3): Likewise.
20609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20610         (__ASSUME_UTIMES): Likewise.
20611         (__ASSUME_O_CLOEXEC): Likewise.
20612         (__ASSUME_SOCK_CLOEXEC): Likewise.
20613         (__ASSUME_IN_NONBLOCK): Likewise.
20614         (__ASSUME_PIPE2): Likewise.
20615         (__ASSUME_EVENTFD2): Likewise.
20616         (__ASSUME_SIGNALFD4): Likewise.
20617         (__ASSUME_DUP3): Likewise.
20618         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20619         Likewise.
20620         (__ASSUME_UTIMES): Likewise.
20621         (__ASSUME_EVENTFD2): Likewise.
20622         (__ASSUME_SIGNALFD4): Likewise.
20623         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20624         (__ASSUME_O_CLOEXEC): Likewise.
20625         (__ASSUME_SOCK_CLOEXEC): Likewise.
20626         (__ASSUME_IN_NONBLOCK): Likewise.
20627         (__ASSUME_PIPE2): Likewise.
20628         (__ASSUME_EVENTFD2): Likewise.
20629         (__ASSUME_SIGNALFD4): Likewise.
20630         (__ASSUME_DUP3): Likewise.
20631         (__ASSUME_UTIMES): Undefine.
20633         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20634         feclearexcept.  Remove symbol versioning code.
20635         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20636         symbol versioning code.
20637         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20638         symbol versioning code.
20639         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20640         feupdateenv.  Remove symbol versioning code.
20641         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20642         fegetexceptflag.  Remove symbol versioning code.
20643         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20644         fesetexceptflag.  Remove symbol versioning code.
20645         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20646         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20647         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20648         (__posix_fadvise64_l32): Remove prototype.
20649         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20650         code.
20652 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20654         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20655         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20656         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20657         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20659 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20661         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20662         current working directory
20664 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20666         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20667         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20668         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20669         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20670         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20671         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20672         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20673         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20674         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20675         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20676         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20677         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20678         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20679         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20680         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20681         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20682         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20683         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20684         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20685         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20686         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20687         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20688         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20689         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20690         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20691         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20692         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20693         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20694         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20695         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20696         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20697         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20698         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20699         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20700         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20701         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20702         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20703         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20704         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20705         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20706         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20707         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20709         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20710         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20712         * sysdeps/unix/sysv/linux/arm/Makefile
20713         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20714         Add rt-aeabi_unwind_cpp_pr1.
20715         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20716         Add nptl-aeabi_unwind_cpp_pr1.
20717         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20718         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20719         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20720         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20721         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20722         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20724         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20725         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20726         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20727         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20729         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20730         Deconditionalize the code that was previously under [RESET_PID].
20731         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20733         * sysdeps/generic/exit-thread.h: New file.
20734         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20735         * include/unistd.h (__exit_thread): Remove declaration.
20736         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20737         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20738         * csu/libc-start.c: Include <exit-thread.h>.
20739         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20740         * nptl/pthread_create.c: Include <exit-thread.h>.
20741         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20742         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20743         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20744         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20745         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20746         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20747         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20748         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20749         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20750         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20751         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20752         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20753         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20754         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20755         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20756         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20757         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20759 2014-05-13  Andreas Schwab  <schwab@suse.de>
20761         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20763 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20765         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20766         (__ASSUME_UTIMES): Do not condition on kernel version.
20767         (__ASSUME_PSELECT): Define unconditionally.
20768         (__ASSUME_PPOLL): Likewise.
20769         (__ASSUME_ATFCTS): Likewise.
20770         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20771         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20772         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20773         (__ASSUME_UTIMENSAT): Define unconditionally.
20774         (__ASSUME_PRIVATE_FUTEX): Likewise.
20775         (__ASSUME_FALLOCATE): Likewise.
20776         (__ASSUME_O_CLOEXEC): Likewise.
20777         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20778         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20779         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20780         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20781         (__ASSUME_IN_NONBLOCK): Likewise.
20782         (__ASSUME_PIPE2): Likewise.
20783         (__ASSUME_EVENTFD2): Likewise.
20784         (__ASSUME_SIGNALFD4): Likewise.
20785         (__ASSUME_DUP3): Likewise.
20786         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20787         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20788         (__ASSUME_AT_RANDOM): Likewise.
20789         (__ASSUME_PREADV): Likewise.
20790         (__ASSUME_PWRITEV): Likewise.
20791         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20792         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20793         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20794         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20795         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20797         (__ASSUME_O_CLOEXEC): Define unconditionally.
20798         (__ASSUME_PSELECT): Do not undefine conditionally.
20799         (__ASSUME_PPOLL): Likewise.
20800         (__ASSUME_ATFCTS): Likewise.
20801         (__ASSUME_SET_ROBUST_LIST): Likewise.
20802         (__ASSUME_UTIMENSAT): Likewise.
20803         (__ASSUME_FDATASYNC): Define unconditionally.
20804         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20805         (__ASSUME_SIGFRAME_V2): Likewise.
20806         )__ASSUME_EVENTFD2): Likewise.
20807         (__ASSUME_SIGNALFD4): Likewise.
20808         (__ASSUME_PSELECT): Do not undefine conditionally.
20809         (__ASSUME_PPOLL): Likewise.
20810         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20811         (__ASSUME_PSELECT): Define unconditionally.
20812         (__ASSUME_PPOLL): Likewise.
20813         (__ASSUME_O_CLOEXEC): Likewise.
20814         (__ASSUME_SOCK_CLOEXEC): Likewise.
20815         (__ASSUME_IN_NONBLOCK): Likewise.
20816         (__ASSUME_PIPE2): Likewise.
20817         (__ASSUME_EVENTFD2): Likewise.
20818         (__ASSUME_SIGNALFD4): Likewise.
20819         (__ASSUME_DUP3): Likewise.
20820         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20821         (__ASSUME_O_CLOEXEC): Likewise.
20822         (__ASSUME_SOCK_CLOEXEC): Likewise.
20823         (__ASSUME_IN_NONBLOCK): Likewise.
20824         (__ASSUME_PIPE2): Likewise.
20825         (__ASSUME_EVENTFD2): Likewise.
20826         (__ASSUME_SIGNALFD4): Likewise.
20827         (__ASSUME_DUP3): Likewise.
20828         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20829         (__ASSUME_EVENTFD2): Likewise.
20830         (__ASSUME_SIGNALFD4): Likewise.
20831         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20833 2014-05-12  Andreas Schwab  <schwab@suse.de>
20835         [BZ #16932]
20836         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20837         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20838         than maximum RPC packet size.
20839         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20840         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20841         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20842         (_nss_nis_getservbyport_r): Likewise.
20844 2014-05-12  Will Newton  <will.newton@linaro.org>
20846         * malloc/Makefile (tests): Add tst-mallopt.
20847         * malloc/tst-mallopt.c: New file.
20849 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20851         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20852         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20854 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20856         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20857         (tst-tlsmod6.so): Likewise.
20859 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20861         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20863 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20865         [BZ #16064]
20866         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20867         and <dl-procinfo.h>.
20868         (__fegetenv): Save SSE state in envp->__eip if supported.
20869         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20870         envp->__eip if supported.
20871         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20872         and <dl-procinfo.h>.
20873         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20874         __data_offset and __data_selector in environment to 0.  Set SSE
20875         state if supported.
20876         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20877         test-fenv-sse.
20878         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20879         -mfpmath=sse.
20880         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20882 2014-05-09  Will Newton  <will.newton@linaro.org>
20884         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20885         and libc_relro_required for ARM.
20886         * sysdeps/arm/preconfigure: Regenerate.
20888 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20889             Stefan Liebler  <stli@linux.vnet.ibm.com>
20891         * config.make.in (enable-lock-elision): New Makefile variable.
20892         * configure.ac: Likewise.
20893         * configure: Regenerate.
20894         * sysdeps/s390/configure.ac:
20895         Add check for gcc transactions support.
20896         * sysdeps/s390/configure: Regenerate.
20897         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20898         Build elision files if enabled.
20899         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20900         Add lock elision support for s390.
20901         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20902         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20903         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20904         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20905         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20906         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20908         Likewise.
20909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20910         Likewise.
20911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20912         Likewise.
20913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20914         Likewise.
20915         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20916         (__lll_timedlock_elision, __lll_lock_elision)
20917         (__lll_unlock_elision, __lll_trylock_elision)
20918         (lll_timedlock_elision, lll_lock_elision)
20919         (lll_unlock_elision, lll_trylock_elision): Add.
20920         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20921         (pthread_mutex_t): Add lock elision support for s390.
20923 2014-05-14  Wilco  <wdijkstr@arm.com>
20925         * sysdeps/arm/fclrexcpt.c: Cleanup.
20926         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20927         * sysdeps/arm/feenablxcpt.c: Cleanup.
20928         * sysdeps/arm/fegetenv.c: Cleanup.
20929         * sysdeps/arm/fegetexcept.c: Cleanup.
20930         * sysdeps/arm/fegetround.c: Cleanup.
20931         * sysdeps/arm/feholdexcpt.c: Cleanup.
20932         * sysdeps/arm/fesetenv.c: Cleanup.
20933         * sysdeps/arm/fesetround.c: Cleanup.
20934         * sysdeps/arm/feupdateenv.c: Cleanup.
20935         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20936         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20937         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20938         * sysdeps/arm/ftestexcept.c: Cleanup.
20939         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20940         * sysdeps/arm/setfpucw.c: Cleanup.
20942 2014-05-09  Will Newton  <will.newton@linaro.org>
20944         * sysdeps/arm/armv7/strcmp.S: New file.
20945         * NEWS: Mention addition of ARMv7 optimized strcmp.
20947 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20949         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20950         look for %.ac rather than %.in.
20952         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20953         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20954         * sysdeps/mach/hurd/configure: Regenerated.
20955         * sysdeps/unix/sysv/linux/configure: Regenerated.
20957         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20959 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20961         [BZ# 16922]
20962         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20963         (LONG_SUB): Ditto.
20964         (PTR_SUB): Ditto.
20966 2014-05-07  Andreas Schwab  <schwab@suse.de>
20968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20969         when skipping over non-matching result from nscd.
20971 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20973         [BZ #16876]
20974         * nptl/sockperf.c (client): Check socket return value.
20976         [BZ #16877]
20977         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20978         nscd security class.
20980 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20982         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20983         * sysdeps/arm/unwind.h: ... here.
20985 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20987         [BZ# 16916]
20988         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20989         Define.
20991 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20993         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20994         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20995         multiarch strncpy for PPC64.
20996         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20997         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20999         multiarch optimizations.
21000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21001         (__libc_ifunc_impl_list): Likewise.
21002         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21004         multiarch stpncpy for PPC64.
21005         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21008 2014-05-06  Andreas Schwab  <schwab@suse.de>
21010         [BZ #16912]
21011         * gmon/mcount.c (_MCOUNT_DECL): Use
21012         atomic_compare_and_exchange_bool_acq instead of
21013         catomic_compare_and_exchange_bool_acq.
21015 2014-05-05  Roland McGrath  <roland@hack.frob.com>
21017         * elf/Makefile (others, install-bin): Remove pldd.
21018         (pldd-modules): Variable removed.
21019         ($(objpfx)pldd): Target removed.
21020         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21021         (others, install-bin): Append pldd here.
21022         ($(objpfx)pldd): New target.
21024         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21025         to 0, so the first #if test emitted later doesn't see it undefined.
21026         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21027         * sysdeps/gnu/errlist.c: Regenerated.
21029 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21031         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21032         [libc_hidden_builtin_def]: Define to empty value.
21033         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21034         [libc_hidden_builtin_def]: Likewise.
21035         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21036         [libc_hidden_builtin_def]: Likewise.
21037         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21038         [libc_hidden_builtin_def]: Likewise.
21039         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21040         __redirect_memcpy and define ifunc as default hidden symbol.
21041         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21042         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21044 2014-05-04  Adam Conrad  <adconrad@0c3.net>
21046         * locale/iso-4217.def: Reintroduce XDR currency.
21048 2014-05-04  Allan McRae  <allan@archlinux.org>
21050         * po/eo.po: Update Esperanto translation from translation project.
21052 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
21054         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21055         and FEATURE_INDEX_MAX to 1.
21056         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21058 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21060         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21061         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21062         * iconvdata/big5.c (ONE_DIRECTION): Define.
21063         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21064         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21065         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21066         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21067         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21068         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21069         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21070         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21071         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21072         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21073         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21074         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21075         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21076         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21077         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21078         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21079         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21080         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21081         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21082         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21083         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21084         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21085         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21086         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21087         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21088         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21089         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21090         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21091         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21092         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21093         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21094         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21095         * iconvdata/johab.c (ONE_DIRECTION): Define.
21096         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21097         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21098         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21099         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21100         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21101         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21102         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21103         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21104         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21105         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21107 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21109         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21110         (_IO_JUMPS_OFFSET): Define to 0.
21112         * nptl/sysdeps/pthread/bits/libc-lock.h
21113         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21114         (__libc_lock_define_initialized_recursive): Always define using
21115         initializer.  Modern compilers treat uninitialized (implicit zero) and
21116         explicit zero initializers the same (i.e. put the datum in bss).
21118 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21120         * nscd/nscd-client.h: Include <string.h>.
21122 2014-05-01  David S. Miller  <davem@davemloft.net>
21124         [BZ #16885]
21125         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21126         multiple zero bytes exist at the end of a string.
21127         Reported by Aurelien Jarno <aurelien@aurel32.net>
21129         * string/test-strcmp.c (check): Add explicit test for situations where
21130         there are multiple zero bytes after the first.
21132 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21134         [BZ #16890]
21135         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21136         when compiling wprintf.
21137         * stdio-common/tstdiomisc.c (t3): New function.
21138         (main): Call it.
21140 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21142         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21143         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21144         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21145         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21147 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21149         * stdlib/longlong.h: Updated from GCC.
21151 2014-05-01  Will Newton  <will.newton@linaro.org>
21152             Bernard Ogden  <bernie.ogden@linaro.org>
21154         * NEWS: Update fixed bug list.
21156         [BZ #15119]
21157         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21159 2014-04-30  David S. Miller  <davem@davemloft.net>
21161         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21162         (libc_feholdexcept_setround_sparc_ctx): New function.
21163         (libc_fesetenv_sparc_ctx): Likewise.
21164         (libc_feupdateenv_sparc_ctx): Likewise.
21165         (libc_feholdsetround_sparc_ctx): Likewise.
21166         (libc_feholdexcept_setround_ctx): Define.
21167         (libc_feholdexcept_setroundf_ctx): Likewise.
21168         (libc_feholdexcept_setroundl_ctx): Likewise.
21169         (libc_fesetenv_ctx): Likewise.
21170         (libc_fesetenvf_ctx): Likewise.
21171         (libc_fesetenvl_ctx): Likewise.
21172         (libc_feupdateenv_ctx): Likewise.
21173         (libc_feupdateenvf_ctx): Likewise.
21174         (libc_feupdateenvl_ctx): Likewise.
21175         (libc_feresetround_ctx): Likewise.
21176         (libc_feresetroundf_ctx): Likewise.
21177         (libc_feresetroundl_ctx): Likewise.
21178         (libc_feholdsetround_ctx): Likewise.
21179         (libc_feholdsetroundf_ctx): Likewise.
21180         (libc_feholdsetroundl_ctx): Likewise.
21182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21183         with __USE_GNU instead of XOPEN cpp guards.
21185         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21186         0.
21188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21189         with XOPEN cpp guards.
21191 2014-04-30  Julian Brown  <julian@codesourcery.com>
21193         [BZ #16888]
21194         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21195         handling.
21197 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21199         [BZ #9894]
21200         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21201         Change to 2.6.32.
21202         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21203         * sysdeps/unix/sysv/linux/configure: Regenerated.
21204         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21205         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21206         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21207         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21208         * README: Update reference to required Linux kernel version.
21209         * manual/install.texi (Linux): Update reference to required Linux
21210         kernel headers version.
21211         * INSTALL: Regenerated.
21213         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21214         header inclusion.
21215         [POSIX] (limits.h): Likewise.
21216         [POSIX] (math.h): Likewise.
21217         [POSIX] (sys/wait.h): Likewise.
21218         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21219         function.
21220         [POSIX] (stddef.h): Do not allow header inclusion.
21222 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21224         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21226 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21228         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21229         Return immediately after lll_futex_wake.
21231 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21233         [BZ #16791]
21234         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21235         structure.
21236         (datahead_init_pos): Call datahead_init_common early.
21237         (datahead_init_neg): Likewise.
21239         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21240         datahead_init_neg): New functions.
21241         * nscd/aicache.c (addhstaiX): Use them.
21242         * nscd/grpcache.c (cache_addgr): Likewise.
21243         * nscd/hstcache.c (cache_addhst): Likewise.
21244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21245         * nscd/netgroupcache.c (do_notfound): Likewise.
21246         (addgetnetgrentX): Likewise.
21247         (addinnetgrX): Likewise.
21248         * nscd/pwdcache.c (cache_addpw): Likewise.
21249         * nscd/servicescache.c (cache_addserv): Likewise.
21251 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21252             Atsushi Onoe  <atsushi@onoe.org>
21254         [BZ #14308]
21255         [BZ #12994]
21256         [BZ #13651]
21257         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21258         one response is valid.
21259         * resolv/res_send.c (send_dg): Check for validity of other
21260         response if the current response is a referral.
21262 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21264         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21266 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21268         [BZ #16823]
21269         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21270         Always divide by positive zero when computing -Inf result.
21271         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21272         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21274 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21276         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21277         FPSCR if value do not change.
21278         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21279         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21280         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21281         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21282         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21283         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21284         function.
21286 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21288         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21289         * sysdeps/unix/sysv/linux/hppa: Move directory from
21290         ports/systeps/unix/sysv/linux/hppa.
21291         * README: Update listing for hppa-*-linux-gnu.
21293 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21295         [BZ #16754]
21296         * manual/stdio.texi (Hook functions): Fix types of stream hook
21297         functions.
21298         [BZ #16854]
21299         * socket/sys/socket.h: Fix typo in comment.
21301 2014-04-28  Wilco  <wdijkstr@arm.com>
21303         * sysdeps/arm/fenv_private.h: New file.
21304         * sysdeps/arm/math_private.h: New file.
21305         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21307 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21309         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21310         with __int128_t.
21311         (La_x86_64_retval): Likewise.
21313 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21315         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21316         fpsr if value didn't change.
21317         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21318         to fpcr if value didn't change.
21319         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21320         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21321         fpsr or fpcr if value didn't change.
21322         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21323         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21324         fpcr if value didn't change.
21325         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21326         to fpsr if value didn't change.
21328 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21330         * nptl/tst-sem3.c: Use test-skeleton.c
21331         (main): Rename to do_test.  Use return instead of
21332         exit.
21333         * nptl/tst-sem4.c: Use test-skeleton.c
21334         (main): Rename to do_test.
21336 2014-04-22  David S. Miller  <davem@davemloft.net>
21338         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21339         (struct sigaction): New struct member __glibc_reserved0, change
21340         type of sa_flags to int.
21342 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21344         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21345         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21347 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21349         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21350         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21352 2014-04-22  Will Newton  <will.newton@linaro.org>
21353             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21355         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21356         (__longjmp): Add longjmp and longjmp_target SystemTap
21357         probes.
21358         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21359         (__sigsetjmp): Add setjmp SystemTap probe.
21361 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21363         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21364         match manual order.
21366 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21368         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21370         * sysdeps/powerpc/fpu/fenv_private.h
21371         (libc_feholdexcept_setroundl_ctx): Define to
21372         libc_feholdexcept_setround_ppc_ctx.
21373         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21374         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21375         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21376         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21378 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21380         * sysdeps/aarch64/math-tests.h: New file.
21382 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21384         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21385         New.
21386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21387         Check and set bit_AVX2_Usable.
21388         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21389         macro.
21390         (bit_AVX2): Likewise.
21391         (index_AVX2_Usable): Likewise.
21392         (CPUID_AVX2): Likewise.
21393         (HAS_AVX2): Likewise.
21395 2014-04-17  Will Newton  <will.newton@linaro.org>
21397         * manual/setjmp.texi (System V contexts): Add note that
21398         calling setcontext on a context created by a call to a
21399         signal handler is undefined.  Update text to note that
21400         setcontext from a signal handler is possible but not
21401         recommended.
21403         [BZ #16629]
21404         * stdlib/tst-setcontext.c: Include signal.h.
21405         (main): Check that the signal stack before and
21406         after swapcontext is the same.
21408         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21409         Re-implement to restore registers in user code and avoid
21410         rt_sigreturn system call.
21412 2014-04-17  Wilco  <wdijkstr@arm.com>
21414         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21415         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21416         * math/test-fenv.c: Skip exception trap tests on targets which only
21417         support non-stop mode.
21419 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21420             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21422         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21423         (libc_feholdsetround_aarch64_ctx)
21424         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21425         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21426         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21427         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21428         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21429         (libc_feresetround_noexl_ctx): Define.
21431 2014-04-16  Richard Henderson  <rth@redhat.com>
21433         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21435         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21436         unwind tables.
21438         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21439         const from the non-libc, non-ldso copy.
21441         * sysdeps/alpha/libm-test-ulps: Regenerate.
21443 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21444             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21446         * sysdeps/aarch64/fpu/math_private.h: New file.
21448 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21450         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21452 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21454         [BZ #16275]
21455         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21456         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21458         Intel MPX bound registers before _dl_profile_fixup.
21459         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21460         registers after _dl_profile_fixup.  Save and restore bound
21461         registers bnd0/bnd1 when calling _dl_call_pltexit.
21462         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21463         (LR_BND_OFFSET): Likewise.
21464         (LRV_BND0_OFFSET): Likewise.
21465         (LRV_BND1_OFFSET): Likewise.
21467 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21469         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21470         to...
21471         * sysdeps/mach/hurd/i386/tls.h: ... here.
21472         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21473         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21474         fields.
21476 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21478         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21480 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21482         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21484 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21486         [BZ #14770]
21487         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21488         * sysdeps/s390/configure: Regenerate.
21490         [BZ #16824]
21491         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21492         Set round-to-nearest internally to reduce error accumulation.
21494 2014-04-16  Alan Modra  <amodra@gmail.com>
21496         [BZ #16740]
21497         [BZ #16619]
21498         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21499         * math/libm-test.inc (frexp_test_data): Add tests.
21500         * NEWS: Update fixed bug list.
21502 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21504         * benchtests/Makefile: Depend on libraries in build directory.
21505         (bench-math): Separate out math tests.
21506         (bench-pthread): Separate out pthread tests.
21507         (bench): Include math and pthread tests.
21509 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21511         [BZ #16831]
21512         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21513         _dl_debug_initialize.
21515         * configure.ac: Remove SELinux header check.
21516         * configure: Regenerate.
21517         * nscd/selinux.c (perms): Array of const char* to permission names.
21518         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21519         default policy. Call string_to_security_class and string_to_av_perm to
21520         translate strings. Enforce default policy and call avs_has_perm with
21521         results of translated strings.
21523 2014-04-13  David S. Miller  <davem@davemloft.net>
21525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21527 2014-04-12  Allan McRae  <allan@archlinux.org>
21529         [BZ #16838]
21530         * manual/string.texi (Collation Functions): Fix qsort argument
21531         order in example.
21532         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21534 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21536         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21537         Make the test a no-op if there are no exceptions defined.
21539 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21541         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21542         enable-hardcoded-path-in-tests
21544 2014-04-11  Will Newton  <will.newton@linaro.org>
21546         * benchtests/Makefile (extra-objs): Add json-lib.o.
21547         (bench-func): Tidy up JSON output.
21548         * benchtests/bench-skeleton.c: Include json-lib.h.
21549         (main): Use JSON library functions to do output of
21550         benchmark results.
21551         * benchtests/bench-timing-type.c (main): Output the
21552         timing type simply, leaving formatting to the user.
21553         * benchtests/json-lib.c: New file.
21554         * benchtests/json-lib.h: Likewise.
21556 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21558         [BZ #15215]
21559         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21560         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21561         memory barriers.  Add comments.
21562         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21563         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21564         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21565         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21566         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21567         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21569 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21571         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21572         * sysdeps/s390/s390-64/configure.ac: ... this ...
21573         * sysdeps/s390/configure.ac: ... to here.
21574         * sysdeps/s390/s390-32/configure: Delete file.
21575         * sysdeps/s390/s390-64/configure: Delete file.
21576         * sysdeps/s390/configure: Regenerate.
21578 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21580         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21582 2014-04-11  Will Newton  <will.newton@linaro.org>
21584         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21585         to zero if it is not defined elsewhere.  (mtrim): Test
21586         the value of MALLOC_DEBUG with #if rather than #ifdef.
21588 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21590         * benchtests/pthread_once-inputs: New file.
21591         * benchtests/pthread_once-source.c: New file.
21592         * benchtests/README: Update documentation.
21594 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21595             H.J. Lu  <hongjiu.lu@intel.com>
21597         [BZ #16275]
21598         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21599         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21600         * sysdeps/x86_64/configure: Regenerated.
21601         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21602         macro.
21603         (REGISTER_SAVE_RAX): Likewise.
21604         (REGISTER_SAVE_RCX): Likewise.
21605         (REGISTER_SAVE_RDX): Likewise.
21606         (REGISTER_SAVE_RSI): Likewise.
21607         (REGISTER_SAVE_RDI): Likewise.
21608         (REGISTER_SAVE_R8): Likewise.
21609         (REGISTER_SAVE_R9): Likewise.
21610         (REGISTER_SAVE_BND0): Likewise.
21611         (REGISTER_SAVE_BND1): Likewise.
21612         (REGISTER_SAVE_BND2): Likewise.
21613         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21614         bound registers when calling _dl_fixup.
21616 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21618         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21619         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21620         of its definition.
21621         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21622         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21623         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21624         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21625         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21626         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21627         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21629 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21631         [BZ #15514]
21632         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21633         pathconf(_PC_NAME_MAX).
21635 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21637         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21638         Remove macro usage.
21639         (__PTHREAD_SPINS): Move definition to ...
21640         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21641         (__PTHREAD_SPINS): ... here.
21642         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21643         (__PTHREAD_SPIN): Likewise.
21644         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21645         (__PTHREAD_SPIN): Likewise.
21646         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21647         (__PTHREAD_SPIN): Likewise.
21648         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21649         (__PTHREAD_SPIN): Likewise.
21650         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21651         (__PTHREAD_SPIN): Likewise.
21652         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21653         (__PTHREAD_SPIN): Likewise.
21654         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21655         (__PTHREAD_SPIN): Likewise.
21656         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21657         (__PTHREAD_SPIN): Likewise.
21658         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21659         (__PTHREAD_SPIN): Likewise.
21660         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21661         (__PTHREAD_SPIN): Likewise.
21662         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21663         (__PTHREAD_SPIN): Likewise.
21664         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21665         (__PTHREAD_SPIN): Likewise.
21667         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21668         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21669         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21670         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21671         imply folder.
21672         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21673         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21674         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21675         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21676         correct imply path.
21677         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21678         strlen symbol for non multi-arch builds.
21679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21680         missing hidden_def and weak_alias.
21682 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21684         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21686 2014-04-07  Will Newton  <will.newton@linaro.org>
21688         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21689         and contents.  [!_LIBC] Remove #ifndef and contents.
21690         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21691         * string/memccpy.c (__memccpy): Use ANSI prototype.
21692         * string/memfrob.c (memfrob): Likewise.
21693         * string/strcoll.c (STRCOLL): Likewise.
21694         * string/strlen.c (strlen): Likewise.
21695         * string/strtok.c (STRTOK): Likewise.
21696         * string/strcat.c: Remove unused #include of memcopy.h.
21697         (strcat): Use ANSI prototype.
21698         * string/strchr.c: Remove unused #include of memcopy.h.
21699         (strchr): Use ANSI prototype.
21700         * string/strcmp.c: Remove unused #include of memcopy.h.
21701         (strcmp): Use ANSI prototype.
21702         * string/strcpy.c: Remove unused #include of memcopy.h.
21703         (strcpy): Use ANSI prototype.
21705 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21707         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21708         * config.make.in (config-extra-cppflags): Set it from
21709         libc_extra_cppflags.
21710         * configure.ac (libc_extra_cflags): Make it accumulate over
21711         configure fragments.
21712         (libc_extra_cppflags): New flag.
21713         * configure. Regenerate.
21714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21715         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21716         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21719         [BZ #16815]
21720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21721         result for FE_DOWNWARD rounding mode.
21722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21723         Likewise.
21724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21726 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21728         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21729         in function argument name.
21731 2014-04-03  David Svoboda  <svoboda@cert.org>
21733         [BZ #5666]
21734         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21735         explicitly.
21737 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21739         * elf/dl-unmap-segments.h: New file.
21740         * sysdeps/generic/ldsodefs.h
21741         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21742         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21743         * elf/dl-fptr.c: Likewise.
21744         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21745         * sysdeps/aarch64/tlsdesc.c: Likewise.
21746         * sysdeps/arm/tlsdesc.c: Likewise.
21747         * sysdeps/i386/tlsdesc.c: Likewise.
21748         * sysdeps/tile/dl-runtime.c: Likewise.
21749         * sysdeps/x86_64/tlsdesc.c: Likewise.
21750         * elf/dl-load.h: New file.
21751         * elf/dl-load.c: Include it.
21752         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21753         Macros moved to dl-load.h.
21754         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21755         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21756         Use _dl_unmap_segments in place of __munmap.
21757         Break out segment-mapping loop into ...
21758         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21760 2014-04-03  Will Newton  <will.newton@linaro.org>
21762         * elf/dl-lookup.c (do_lookup_x): Remove comment
21763         referring to nested function and move variable
21764         declarations down to before first use.
21766 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21768         [BZ #16799]
21769         [BZ #16800]
21770         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21771         with 0 numerator.
21772         * math/s_catanf.c (__catanf): Likewise.
21773         * math/s_catanh.c (__catanh): Likewise.
21774         * math/s_catanhf.c (__catanhf): Likewise.
21775         * math/s_catanhl.c (__catanhl): Likewise.
21776         * math/s_catanl.c (__catanl): Likewise.
21777         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21778         by positive zero when computing -Inf result.
21779         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21780         (catanh_test): Likewise.
21781         * sysdeps/i386/fpu/libm-test-ulps: Update.
21782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21784         [BZ #16789]
21785         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21786         instead of using underflowing value in computing result.
21787         * math/s_clog10.c (__clog10): Likewise.
21788         * math/s_clog10f.c (__clog10f): Likewise.
21789         * math/s_clog10l.c (__clog10l): Likewise.
21790         * math/s_clogf.c (__clogf): Likewise.
21791         * math/s_clogl.c (__clogl): Likewise.
21792         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21793         (clog10_test): Likewise.
21794         * sysdeps/i386/fpu/libm-test-ulps: Update.
21795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21797 2014-04-02  Alan Modra  <amodra@gmail.com>
21799         [BZ #16739]
21800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21801         output when value is near a power of two.  Use int64_t for lx and
21802         remove casts.  Use decimal rather than hex exponent constants.
21803         Don't use long double multiplication when double will suffice.
21804         * math/libm-test.inc (nextafter_test_data): Add tests.
21805         * NEWS: Add 16739 and 16786 to bug list.
21807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21809         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21811 2014-04-01  Will Newton  <will.newton@linaro.org>
21813         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21814         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21816 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21818         [BZ #13347]
21819         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21820         * nptl/tst-setuid2.c: New file.
21821         * nptl/Makefile (xtests): Add tst-setuid2.
21823 2014-04-01  Alan Modra  <amodra@gmail.com>
21825         [BZ #16786]
21826         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21828 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21830         [BZ #6803]
21831         [BZ #6804]
21832         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21833         set errno as appropriate.
21834         * math/w_scalbf.c (__scalbf): Likewise.
21835         * math/w_scalbl.c (__scalbl): Likewise.
21836         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21837         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21838         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21839         Add more NaN tests.
21841         [BZ #16349]
21842         * math/w_atan2.c: Include <errno.h>.
21843         (__atan2): Set errno for result underflowing to zero.
21844         * math/w_atan2f.c: Include <errno.h>.
21845         (__atan2f): Set errno for result underflowing to zero.
21846         * math/w_atan2l.c: Include <errno.h>.
21847         (__atan2l): Set errno for result underflowing to zero.
21848         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21849         tests.
21850         * math/auto-libm-test-out: Regenerated.
21852 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21854         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21855         Encode instruction correctly in little endian.
21856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21857         Likewise.
21858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21859         Likewise.
21860         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21861         Likewise.
21862         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21863         Likewise.
21865 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21867         [BZ #9894]
21868         * sysdeps/unix/sysv/linux/kernel-features.h
21869         [__sparc__ && !__arch64__ && !__sparc_v9__]
21870         (__ASSUME_SET_ROBUST_LIST): Do not define.
21871         [__sparc__ && !__arch64__ && !__sparc_v9__]
21872         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21873         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21874         Likewise.
21875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21876         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21877         (__ASSUME_REQUEUE_PI): Likewise.
21878         (__ASSUME_SET_ROBUST_LIST): Likewise.
21879         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21880         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21881         Undefine.
21882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21883         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21884         Likewise.
21885         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21886         Likewise.
21887         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21888         Likewise.
21889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21890         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21891         Undefine.
21892         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21893         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21894         Likewise.
21896         [BZ #16648]
21897         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21898         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21899         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21901 2014-03-31  Will Newton  <will.newton@linaro.org>
21903         * benchtests/Makefile (bench): Add ffs and ffsll to list
21904         of tests.
21905         * benchtests/ffs-inputs: New file.
21906         * benchtests/ffsll-inputs: Likewise.
21908 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21910         [BZ #16770]
21911         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21912         too large before casting to int.
21913         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21914         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21915         * math/libm-test.inc (scalb_test_data): Add more tests.
21917 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21919         * benchtests/Makefile (DETAILED_OPT): New make option.
21920         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21921         set.
21922         * benchtests/bench-skeleton.c: Include stdbool.h.
21923         (main): Store and print timings per input.
21924         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21925         member to each argument value.
21926         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21927         (_print_arg_data): Initialize per-input timing to 0.
21929         * benchtests/Makefile (timing-type): New binary.
21930         (bench-clean): Also remove bench-timing-type.
21931         (bench): New target for timing-type.
21932         (bench-func): Print output in JSON format.
21933         * benchtests/bench-skeleton.c (main): Print output in JSON
21934         format.
21935         * benchtests/bench-timing-type.c: New file.
21936         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21937         (TIMING_PRINT_STATS): Remove.
21938         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21939         name separately.
21941         * benchtests/bench-modf.c: Remove.
21942         * benchtests/modf-inputs: New inputs file.
21944 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21946         [BZ #16362]
21947         * math/s_clog10.c (M_PI_LOG10E): New macro.
21948         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21949         imaginary parts are 0.
21950         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21951         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21952         imaginary parts are 0.
21953         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21954         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21955         imaginary parts are 0.
21956         * math/libm-test.inc (clog10_test_data): Update expected results
21957         for when real and imaginary parts are 0.
21959 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21961         * elf/dl-load.c: Finish conversion of __builtin_expect into
21962         __glibc_{un}likely.
21964 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21966         [BZ #16348]
21967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21968         1+x for argument with exponent below -67.
21969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21970         Likewise.
21971         * math/auto-libm-test-in: Add more tests of exp.
21972         * math/auto-libm-test-out: Regenerated.
21974 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21976         [BZ #16759]
21977         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21978         (nscd_getnetgrent): Use it.
21980         [BZ #16760]
21981         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21982         of stpcpy.
21984 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21986         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21987         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21988         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21989         (lll_robust_unlock): Remove out of line section. Use cfi
21990         intrinsics.
21991         (LLL_STUB_UNWIND_INFO*): Remove.
21992         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21993         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21994         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21995         (lll_robust_unlock): Remove out of line section. Use cfi
21996         intrinsics.
21997         (LLL_STUB_UNWIND_INFO*): Remove.
21999 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22001         [BZ #16758]
22002         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22003         blank values.
22005 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22007         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22009 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
22011         [BZ #16198]
22012         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22013         fnstenv.
22014         * math/test-fenv-preserve.c: New file.
22015         * math/Makefile (tests): Add test-fenv-preserve.
22017 2014-03-26  Will Newton <will.newton@linaro.org>
22019         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22021 2014-03-25  Roland McGrath  <roland@hack.frob.com>
22023         * scripts/versionlist.awk: Partition the version sets and emit all
22024         GLIBC_* (sorted) before all others (sorted).
22026 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22028         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22029         GLIBC_2.2.5 version.
22031 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22033         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22034         calls.
22036         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22037         previous change.
22039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22041 2014-03-25  Andreas Schwab  <schwab@suse.de>
22043         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22044         label to be used after in6ailist is initialized.
22046 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22048         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22049         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22051 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22053         [BZ #16357]
22054         [BZ #16599]
22055         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22056         min_plus_half.
22057         (fp_formats): Update initializers.
22058         (init_fp_formats): Initialize new field.
22059         (output_for_one_input_case): Allow underflow for results up to
22060         min_plus_half.
22061         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22062         * math/auto-libm-test-in: Don't mark some underflows from asin and
22063         atanh as spurious.
22064         * math/auto-libm-test-out: Regenerated.
22065         * sysdeps/i386/fpu/libm-test-ulps: Update.
22066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22068 2014-03-25  Andreas Schwab  <schwab@suse.de>
22070         * libio/Makefile (tst-ftell-partial-wide-ENV)
22071         (tst-ftell-active-handler-ENV): Define.
22073 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22075         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22077 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22079         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22081 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22083         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22084         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22085         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22087 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22089         [BZ #16634]
22090         * elf/dl-load.c (open_verify): Add mode parameter.
22091         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22092         (open_path): Change from boolean 'secure' to complete flag 'mode'
22093         (_dl_map_object): Adjust.
22094         * elf/Makefile (tests): Add tst-dlopen-aout.
22095         * elf/tst-dlopen-aout.c: New test.
22097 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22099         [BZ #16714]
22100         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22101         (struct stat): Rename member pad0 to __glibc_reserved0.
22103         [BZ #16712]
22104         * sysdeps/s390/s390-32/bits/wordsize.h
22105         (__WORDSIZE32_SIZE_ULONG): New define.
22106         * sysdeps/s390/s390-64/bits/wordsize.h
22107         (__WORDSIZE32_SIZE_ULONG): Likewise.
22108         * sysdeps/generic/stdint.h (SIZE_MAX):
22109         Define as UL if __WORDSIZE32_SIZE_ULONG.
22111         [BZ #16713]
22112         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22113         (__glibc_reserved0): New variable.
22114         (sa_flags): Change type to int.
22116         * posix/Makefile (before-compile): Use += before-compile instead
22117         of a :=.
22119         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22120         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22122 2014-03-20  Andreas Schwab  <schwab@suse.de>
22124         [BZ #16743]
22125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22126         non-matching result from nscd.
22128 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22130         * scripts/bench.py: Moved to ...
22131         * benchtests/scripts/bench.py: ... here.
22132         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22134 2014-03-24  Andreas Schwab  <schwab@suse.de>
22136         [BZ #16002]
22137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22138         alloca_account and account alloca use for struct in6ailist.
22140 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22142         [BZ #16284]
22143         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22144         rounding mode to recompute results that overflow to infinity or
22145         underflow to zero.
22146         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22147         bug 16284.
22148         * math/auto-libm-test-out: Regenerated.
22149         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22150         (ccosh_test): Likewise.
22151         (csin_test_data): Use plus_oflow.
22152         (csin_test): Use ALL_RM_TEST.
22153         (csinh_test_data): Use plus_oflow.
22154         (csinh_test): Use ALL_RM_TEST.
22155         * sysdeps/i386/fpu/libm-test-ulps: Update.
22156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22158 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22160         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22161         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22162         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22164         [BZ #16731]
22165         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22166         when x - 1 is zero.
22167         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22168         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22169         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22171         argument is 1.
22172         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22173         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22174         zero.
22175         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22176         * sysdeps/i386/fpu/libm-test-ulps: Update.
22177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22179 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22181         * scripts/bench.pl: Remove file.
22182         * scripts/bench.py: New benchmark script.
22183         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22184         * benchtests/README: Mention python dependency.
22185         * scripts/pylintrc: New file.
22186         * scripts/pylint: New file.
22188         * bits/mathdef.h: Use #ifdef instead of #if.
22189         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22190         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22191         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22192         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22193         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22194         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22196 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22197             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22199         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22201         and strpbrk-ppc64 objects.
22202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22203         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22204         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22205         multiarch strpbrk for POWER7.
22206         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22207         multiarch strpbrk for PPC64.
22208         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22209         ifunc selector.
22210         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22211         strpbrk for POWER7.
22213 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22215         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22216         (atan_test): Likewise.
22217         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22218         (atanh_test): Use ALL_RM_TEST.
22219         (atan2_test_data): Likewise.
22220         (cabs_test): Likewise.
22221         (cacosh_test): Likewise.
22222         (carg_test): Likewise.
22223         (casin_test): Likewise.
22224         (casinh_test): Likewise.
22225         (cbrt_test): Likewise.
22226         (csqrt_test): Likewise.
22227         (erf_test): Likewise.
22228         (erfc_test): Likewise.
22229         (pow10_test): Likewise.
22230         (exp2_test): Likewise.
22231         (hypot_test): Likewise.
22232         (j0_test): Likewise.
22233         (j1_test): Likewise.
22234         (lgamma_test): Likewise.
22235         (gamma_test): Likewise.
22236         (sincos_test): Likewise.
22237         (tanh_test): Likewise.
22238         (y0_test): Likewise.
22239         (y1_test): Likewise.
22240         * sysdeps/i386/fpu/libm-test-ulps: Update.
22241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22245         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22247         and strcspn-ppc64 objects.
22248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22249         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22250         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22251         multiarch strcspn for POWER7.
22252         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22253         multiarch strcspn for PPC64.
22254         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22255         ifunc selector.
22256         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22257         strcspn for POWER7.
22259 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22261         * math/gen-libm-test.pl (generate_testfile): Expect only function
22262         name as argument to AUTO_TESTS_* and pass results for all rounding
22263         modes to parse_args.
22264         (parse_auto_input): Separate inputs of automatic tests from
22265         outputs before storing in %auto_tests.
22266         * math/libm-test.inc (acos_test_data): Update call to
22267         AUTO_TESTS_f_f.
22268         (acos_test): Use ALL_RM_TEST.
22269         (acos_tonearest_test_data): Remove.
22270         (acos_test_tonearest): Likewise.
22271         (acos_towardzero_test_data): Likewise.
22272         (acos_test_towardzero): Likewise.
22273         (acos_downward_test_data): Likewise.
22274         (acos_test_downward): Likewise.
22275         (acos_upward_test_data): Likewise.
22276         (acos_test_upward): Likewise.
22277         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22278         (asin_test_data): Likewise.
22279         (asin_test): Use ALL_RM_TEST.
22280         (asin_tonearest_test_data): Remove.
22281         (asin_test_tonearest): Likewise.
22282         (asin_towardzero_test_data): Likewise.
22283         (asin_test_towardzero): Likewise.
22284         (asin_downward_test_data): Likewise.
22285         (asin_test_downward): Likewise.
22286         (asin_upward_test_data): Likewise.
22287         (asin_test_upward): Likewise.
22288         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22289         (atan_test_data): Likewise.
22290         (atanh_test_data): Likewise.
22291         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22292         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22293         (carg_test_data): Likewise.
22294         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22295         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22296         (ccosh_test_data): Likewise.
22297         (cexp_test_data): Likewise.
22298         (clog_test_data): Likewise.
22299         (clog10_test_data): Likewise.
22300         (cos_test_data): Update call to AUTO_TESTS_f_f.
22301         (cos_test): Use ALL_RM_TEST.
22302         (cos_tonearest_test_data): Remove.
22303         (cos_test_tonearest): Likewise.
22304         (cos_towardzero_test_data): Likewise.
22305         (cos_test_towardzero): Likewise.
22306         (cos_downward_test_data): Likewise.
22307         (cos_test_downward): Likewise.
22308         (cos_upward_test_data): Likewise.
22309         (cos_test_upward): Likewise.
22310         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22311         (cosh_test): Use ALL_RM_TEST.
22312         (cosh_tonearest_test_data): Remove.
22313         (cosh_test_tonearest): Likewise.
22314         (cosh_towardzero_test_data): Likewise.
22315         (cosh_test_towardzero): Likewise.
22316         (cosh_downward_test_data): Likewise.
22317         (cosh_test_downward): Likewise.
22318         (cosh_upward_test_data): Likewise.
22319         (cosh_test_upward): Likewise.
22320         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22321         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22322         (ctan_test_data): Likewise.
22323         (ctan_test): Use ALL_RM_TEST.
22324         (ctan_tonearest_test_data): Remove.
22325         (ctan_test_tonearest): Likewise.
22326         (ctan_towardzero_test_data): Likewise.
22327         (ctan_test_towardzero): Likewise.
22328         (ctan_downward_test_data): Likewise.
22329         (ctan_test_downward): Likewise.
22330         (ctan_upward_test_data): Likewise.
22331         (ctan_test_upward): Likewise.
22332         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22333         (ctanh_test): Use ALL_RM_TEST.
22334         (ctanh_tonearest_test_data): Remove.
22335         (ctanh_test_tonearest): Likewise.
22336         (ctanh_towardzero_test_data): Likewise.
22337         (ctanh_test_towardzero): Likewise.
22338         (ctanh_downward_test_data): Likewise.
22339         (ctanh_test_downward): Likewise.
22340         (ctanh_upward_test_data): Likewise.
22341         (ctanh_test_upward): Likewise.
22342         (erf_test_data): Update call to AUTO_TESTS_f_f.
22343         (erfc_test_data): Likewise.
22344         (exp_test_data): Likewise.
22345         (exp_test): Use ALL_RM_TEST.
22346         (exp_tonearest_test_data): Remove.
22347         (exp_test_tonearest): Likewise.
22348         (exp_towardzero_test_data): Likewise.
22349         (exp_test_towardzero): Likewise.
22350         (exp_downward_test_data): Likewise.
22351         (exp_test_downward): Likewise.
22352         (exp_upward_test_data): Likewise.
22353         (exp_test_upward): Likewise.
22354         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22355         (exp10_test): Use ALL_RM_TEST.
22356         (exp10_tonearest_test_data): Remove.
22357         (exp10_test_tonearest): Likewise.
22358         (exp10_towardzero_test_data): Likewise.
22359         (exp10_test_towardzero): Likewise.
22360         (exp10_downward_test_data): Likewise.
22361         (exp10_test_downward): Likewise.
22362         (exp10_upward_test_data): Likewise.
22363         (exp10_test_upward): Likewise.
22364         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22365         (expm1_test_data): Likewise.
22366         (expm1_test): Use ALL_RM_TEST.
22367         (expm1_tonearest_test_data): Remove.
22368         (expm1_test_tonearest): Likewise.
22369         (expm1_towardzero_test_data): Likewise.
22370         (expm1_test_towardzero): Likewise.
22371         (expm1_downward_test_data): Likewise.
22372         (expm1_test_downward): Likewise.
22373         (expm1_upward_test_data): Likewise.
22374         (expm1_test_upward): Likewise.
22375         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22376         (fma_test): Use ALL_RM_TEST.
22377         (fma_towardzero_test_data): Remove.
22378         (fma_test_towardzero): Likewise.
22379         (fma_downward_test_data): Likewise.
22380         (fma_test_downward): Likewise.
22381         (fma_upward_test_data): Likewise.
22382         (fma_test_upward): Likewise.
22383         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22384         (j0_test_data): Update call to AUTO_TESTS_f_f.
22385         (j1_test_data): Likewise.
22386         (jn_test_data): Update call to AUTO_TESTS_if_f.
22387         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22388         (log_test_data): Update call to AUTO_TESTS_f_f.
22389         (log10_test_data): Likewise.
22390         (log1p_test_data): Likewise.
22391         (log2_test_data): Likewise.
22392         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22393         (pow_tonearest_test_data): Likewise.
22394         (sin_test_data): Update call to AUTO_TESTS_f_f.
22395         (sin_test): Use ALL_RM_TEST.
22396         (sin_tonearest_test_data): Remove.
22397         (sin_test_tonearest): Likewise.
22398         (sin_towardzero_test_data): Likewise.
22399         (sin_test_towardzero): Likewise.
22400         (sin_downward_test_data): Likewise.
22401         (sin_test_downward): Likewise.
22402         (sin_upward_test_data): Likewise.
22403         (sin_test_upward): Likewise.
22404         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22405         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22406         (sinh_test): Use ALL_RM_TEST.
22407         (sinh_tonearest_test_data): Remove.
22408         (sinh_test_tonearest): Likewise.
22409         (sinh_towardzero_test_data): Likewise.
22410         (sinh_test_towardzero): Likewise.
22411         (sinh_downward_test_data): Likewise.
22412         (sinh_test_downward): Likewise.
22413         (sinh_upward_test_data): Likewise.
22414         (sinh_test_upward): Likewise.
22415         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22416         (sqrt_test): Use ALL_RM_TEST.
22417         (sqrt_tonearest_test_data): Remove.
22418         (sqrt_test_tonearest): Likewise.
22419         (sqrt_towardzero_test_data): Likewise.
22420         (sqrt_test_towardzero): Likewise.
22421         (sqrt_downward_test_data): Likewise.
22422         (sqrt_test_downward): Likewise.
22423         (sqrt_upward_test_data): Likewise.
22424         (sqrt_test_upward): Likewise.
22425         (tan_test_data): Update call to AUTO_TESTS_f_f.
22426         (tan_test): Use ALL_RM_TEST.
22427         (tan_tonearest_test_data): Remove.
22428         (tan_test_tonearest): Likewise.
22429         (tan_towardzero_test_data): Likewise.
22430         (tan_test_towardzero): Likewise.
22431         (tan_downward_test_data): Likewise.
22432         (tan_test_downward): Likewise.
22433         (tan_upward_test_data): Likewise.
22434         (tan_test_upward): Likewise.
22435         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22436         (tgamma_test_data): Likewise.
22437         (y0_test_data): Likewise.
22438         (y1_test_data): Likewise.
22439         (yn_test_data): Update call to AUTO_TESTS_if_f.
22440         (main): Do not call removed functions.
22442 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22444         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22445         (ldexp_test_data): Remove.
22446         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22447         scalbn_test_data.
22448         (scalb_test): Use ALL_RM_TEST.
22450 2014-03-19  Andreas Schwab  <schwab@suse.de>
22452         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22454 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22456         [BZ #16649]
22457         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22458         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22461         (__ASSUME_PREADV): Undefine.
22462         (__ASSUME_PWRITEV): Likewise.
22464 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22466         * bits/mman-linux.h: Add comment about non-Linux use.
22467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22468         bits/mman-linux.h resting place.
22470         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22471         * bits/mman-linux.h: ... here.
22473 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22475         * conform/conformtest.pl: Add standard definition when calling C
22476         preprocessor on data files.
22477         (checknamespace): Remove unused variable.
22479 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22481         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22482         minus_oflow, plus_uflow and minus_uflow in expected results.
22483         * math/libm-test.inc (scalbn_test_data): Add more tests of
22484         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22485         minus_uflow.
22486         (scalbn_test): Use ALL_RM_TEST.
22487         (scalbln_test_data): Add more tests of negative arguments.  Use
22488         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22489         (scalbln_test): Use ALL_RM_TEST.
22491 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22493         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22495 2014-03-18  Will Newton  <will.newton@linaro.org>
22497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22498         inaccurate comment.
22500 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22502         * Makerules [!subdir] (check-abi): Exit with error status if a
22503         test failed.
22505 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22507         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22508         for rint.  Include results for all rounding modes.
22509         (nearbyint_test): Use ALL_RM_TEST.
22510         (rint_test_data): Include all tests used for nearbyint.
22512 2014-03-17  Will Newton  <will.newton@linaro.org>
22514         * nptl/sysdeps/pthread/pthread.h: Revert previous
22515         change.
22517         * sysdeps/generic/ldsodefs.h: Revert previous
22518         change.
22520         * libio/genops.c: Revert previous change.
22521         * libio/libioP.h: Likewise.
22522         * stdio-common/vfprintf.c: Likewise.
22524         * sysdeps/generic/math_private.h: Revert previous
22525         change.
22527         * sysdeps/generic/math_private.h: Check whether
22528         HAVE_RM_CTX is defined with #ifdef rather
22529         than #if.
22531         * argp/argp-fmtstream.h: Check whether
22532         __STRICT_ANSI__ is defined with #ifdef rather
22533         than #if.
22534         * argp/argp.h: Likewise.
22536         * libio/genops.c: Check whether
22537         _IO_JUMPS_OFFSET is defined with #ifdef rather
22538         than #if.
22539         * libio/libioP.h: Likewise.
22540         * stdio-common/vfprintf.c: Likewise.
22542         * sysdeps/generic/ldsodefs.h: Check whether
22543         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22544         than #if.
22546         * nptl/sysdeps/pthread/pthread.h: Check
22547         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22548         its value.
22550 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22552         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22553         setting O_APPEND.
22554         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22555         test case.
22557         [BZ #16680]
22558         * libio/fileops.c (_IO_file_open): Seek to end of file but
22559         don't cache the offset.
22560         (get_file_offset): Remove function.
22561         (do_ftell): Use cached offset when available.
22562         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22563         don't cache the offset.
22564         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22565         case.
22566         (do_one_test): Call it.
22567         (do_ftell_test): Fix up expected old offset for a+ mode.
22568         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22569         available.
22571         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22572         up test status with function return status.
22573         (do_write_test): Likewise.
22574         (do_append_test): Likewise.
22576         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22577         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22578         Remove.
22580 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22582         * math/gen-libm-test.pl (parse_args): Handle results specified for
22583         each rounding mode separately.
22584         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22585         tests and results from lrint_tonearest_test_data,
22586         lrint_towardzero_test_data, lrint_downward_test_data and
22587         lrint_upward_test_data.
22588         (lrint_test): Use ALL_RM_TEST.
22589         (lrint_tonearest_test_data): Remove.
22590         (lrint_test_tonearest): Likewise.
22591         (lrint_towardzero_test_data): Likewise.
22592         (lrint_test_towardzero): Likewise.
22593         (lrint_downward_test_data): Likewise.
22594         (lrint_test_downward): Likewise.
22595         (lrint_upward_test_data): Likewise.
22596         (lrint_test_upward): Likewise.
22597         (llrint_test_data): Merge in per-rounding-mode tests and results
22598         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22599         llrint_downward_test_data and llrint_upward_test_data.
22600         (llrint_test): Use ALL_RM_TEST.
22601         (llrint_tonearest_test_data): Remove.
22602         (llrint_test_tonearest): Likewise.
22603         (llrint_towardzero_test_data): Likewise.
22604         (llrint_test_towardzero): Likewise.
22605         (llrint_downward_test_data): Likewise.
22606         (llrint_test_downward): Likewise.
22607         (llrint_upward_test_data): Likewise.
22608         (llrint_test_upward): Likewise.
22609         (rint_test_data): Merge in per-rounding-mode tests and results
22610         from rint_tonearest_test_data, rint_towardzero_test_data,
22611         rint_downward_test_data and rint_upward_test_data.  Add
22612         per-rounding-mode results for tests not in those arrays.
22613         (rint_test): Use ALL_RM_TEST.
22614         (rint_tonearest_test_data): Remove.
22615         (rint_test_tonearest): Likewise.
22616         (rint_towardzero_test_data): Likewise.
22617         (rint_test_towardzero): Likewise.
22618         (rint_downward_test_data): Likewise.
22619         (rint_test_downward): Likewise.
22620         (rint_upward_test_data): Likewise.
22621         (rint_test_upward): Likewise.
22622         (main): Don't call removed functions.
22624 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22626         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22627         "Compiled on ..." crapola.  It is anti-useful.
22629 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22631         * scripts/evaluate-test.sh: Handle fourth argument to determine
22632         whether test run should stop on failure.
22633         * Makeconfig (stop-on-test-failure): New variable.
22634         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22635         $(stop-on-test-failure).
22636         * Makefile (tests): Give a summary of results from testing and
22637         exit with failure status if they include an ERROR or FAIL.
22638         (xtests): Likewise.
22639         * manual/install.texi (Configuring and compiling): Mention
22640         stop-on-test-failure=y.
22641         * INSTALL: Regenerated.
22643 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22645         * scripts/versionlist.awk: New file.
22646         * Makerules [$(build-shared) = yes]
22647         (postclean-generated): Add Versions.def, not Versions.def.v and
22648         Versions.def.v.i.
22649         ($(common-objpfx)Versions.def.v.i): Target removed.
22650         ($(common-objpfx)Versions.def): New target.
22651         ($(common-objpfx)Versions.all): Depend on that rather that
22652         $(common-objpfx)Versions.def.v.
22653         * Versions.def: File removed.
22655         * Makeconfig (+gccwarn): Add -Wundef.
22656         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22657         a dl-sysdep.h breaking its contract.
22658         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22659         * include/stackinfo.h: New file.
22660         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22661         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22662         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22663         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22664         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22665         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22666         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22667         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22668         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22669         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22670         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22671         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22672         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22673         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22674         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22676 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22678         [BZ #16707]
22679         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22680         implementation.
22681         * math/libm-test.inc (round_test_data): Add more tests.
22683         [BZ #16706]
22684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22685         implementation.
22686         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22688         [BZ #16701]
22689         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22690         implementation.
22691         * math/libm-test.inc (ceil_test_data): Add more tests.
22693         * math/libm-test.inc (trunc_test_data): Add more tests related to
22694         BZ#16414.
22696 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22698         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22699         with #if rather than #ifdef.
22700         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22702 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22704         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22705         first.  Disable AVX-512 GCC support if assembler doesn't support
22706         it.
22707         * sysdeps/x86_64/configure: Regenerated.
22709 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22711         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22712         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22713         (__old_pthread_attr_setstack): Likewise.
22714         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22715         [!_STACK_GROWS_DOWN]: Likewise.
22717 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22719         * config.make.in (have-bash2): Delete.
22720         * configure.ac (libc_cv_have_bash2): Delete.
22721         * configure: Regenerate.
22722         * elf/Makefile (common-ldd-rewrite): Rename to ...
22723         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22724         (sh-ldd-rewrite): Delete.
22725         (bash-ldd-rewrite): Delete.
22726         (have-bash2): Delete checks.
22727         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22728         ldd-rewrite.
22730         * config.make.in (have-ksh): Delete.
22731         (KSH): Delete.
22732         * configure.ac (libc_cv_have_ksh): Delete.
22733         * configure: Regenerate.
22735         * elf/Makefile: Delete $(have-ksh) check.
22736         ($(objpfx)sotruss): Change KSH to BASH.
22737         * elf/sotruss.ksh: Rename to ...
22738         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22739         function style to match POSIX.  Drop ksh vim mode setting.
22741         * manual/time.texi (Specifying the Time Zone with TZ): Change
22742         Tuesday to Thursday.
22744         * debug/tst-longjmp_chk2.c: Update header comment.
22745         (stackoverflow_handler): Add comment.  Call assert on pass value.
22747 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22749         [BZ #16194]
22750         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22751         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22752         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22753         (La_x86_64_vector): Add zmm.
22754         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22755         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22756         ($(objpfx)tst-audit10): New target.
22757         ($(objpfx)tst-audit10.out): Likewise.
22758         (tst-audit10-ENV): New.
22759         (AVX512-CFLAGS): Likewise.
22760         (CFLAGS-tst-audit10.c): Likewise.
22761         (CFLAGS-tst-auditmod10a.c): Likewise.
22762         (CFLAGS-tst-auditmod10b.c): Likewise.
22763         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22764         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22765         * sysdeps/x86_64/configure: Regenerated.
22766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22767         AVX-512 zmm register support.
22768         (_dl_x86_64_save_sse): Likewise.
22769         (_dl_x86_64_restore_sse): Likewise.
22770         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22771         size vector registers.
22772         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22773         (ZMM_SIZE): Likewise.
22774         * sysdeps/x86_64/tst-audit10.c: New file.
22775         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22776         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22778 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22780         * configure.ac (HAVE_EHDR_START): New check.
22781         * configure: Regenerated.
22782         * config.h.in (HAVE_EHDR_START): New #undef.
22783         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22784         assuming the lowest-addressed segment maps the start of the file.
22786 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22788         * INSTALL: Regenerated.
22790 2014-03-13  Will Newton  <will.newton@linaro.org>
22792         * manual/setjmp.texi (System V contexts): Improve
22793         clarity and grammar of documentation.
22795 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22797         [BZ #16381]
22798         * elf/Makefile (tests): Add tst-pie2.
22799         (tests-pie): Add tst-pie2.
22800         * elf/tst-pie2.c: New file.
22801         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22802         for ET_EXEC.
22803         * elf/rtld.c (map_doit): Load executable as lt_executable.
22804         (dl_main): Likewise.
22806 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22808         [BZ #16642]
22809         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22810         (__ASSUME_PSELECT): Undefine.
22812 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22814         [BZ #16689]
22815         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22816         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22817         static build.
22818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22819         selector for static builds.
22821 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22823         [BZ #16695]
22824         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22825         key in the buffer.
22827 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22829         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22830         IFUNC selector for static builds.
22832 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22834         * sysdeps/mips/math_private.h [__mips_hard_float]
22835         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22836         libc_feresetround_mips_ctx.
22837         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22838         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22839         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22841         [BZ #16677]
22842         * math/s_nextafter.c (__nextafter): Do not return value from
22843         overflowing computation.
22844         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22845         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22846         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22847         Likewise.
22848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22849         Likewise.
22850         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22851         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22853 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22855         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22856         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22857         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22858         the new mov targetting sp.
22860 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22862         [BZ #16683]
22863         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22864         Define it for static builds as well.
22865         (NO_BZERO_IMPL): Likewise.
22867 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22869         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22870         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22871         multiarch strspn for PPC64.
22872         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22873         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22875         (__libc_ifunc_impl_list): Likewise.
22876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22877         multiarch optimizations
22878         * string/strspn.c (strspn): Using macro to redefine symbol name.
22880 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22881             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22883         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22884         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22885         multiarch strncat for PPC64.
22886         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22887         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22889         (__libc_ifunc_impl_list): Likewise.
22890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22891         multiarch optimizations
22893 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22895         [BZ #16639]
22896         * nscd/nscd.service: Make service type forking.
22898 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22900         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22901         sign in non default rounding modes.
22902         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22904 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22906         * math/libm-test.inc (ALL_RM_TEST): New macro.
22907         (ceil_test): Use ALL_RM_TEST.
22908         (cimag_test): Likewise.
22909         (conj_test): Likewise.
22910         (copysign_test): Likewise.
22911         (cproj_test): Likewise.
22912         (creal_test): Likewise.
22913         (fabs_test): Likewise.
22914         (floor_test): Likewise.
22915         (fmax_test): Likewise.
22916         (fmin_test): Likewise.
22917         (fmod_test): Likewise.
22918         (fpclassify_test): Likewise.
22919         (frexp_test): Likewise.
22920         (ilogb_test): Likewise.
22921         (isfinite_test): Likewise.
22922         (finite_test): Likewise.
22923         (isgreater_test): Likewise.
22924         (isgreaterequal_test): Likewise.
22925         (isinf_test): Likewise.
22926         (isless_test): Likewise.
22927         (islessequal_test): Likewise.
22928         (islessgreater_test): Likewise.
22929         (isnan_test): Likewise.
22930         (isnormal_test): Likewise.
22931         (issignaling_test): Likewise.
22932         (isunordered_test): Likewise.
22933         (logb_test): Likewise.
22934         (logb_downward_test_data): Remove.
22935         (logb_test_downward): Likewise.
22936         (lround_test): Use ALL_RM_TEST.
22937         (llround_test): Likewise.
22938         (modf_test): Likewise.
22939         (nexttoward_test): Likewise.
22940         (remainder_test): Likewise.
22941         (drem_test): Likewise.
22942         (remainder_tonearest_test_data): Likewise.
22943         (remainder_test_tonearest): Likewise.
22944         (drem_test_tonearest): Likewise.
22945         (remainder_towardzero_test_data): Likewise.
22946         (remainder_test_towardzero): Likewise.
22947         (drem_test_towardzero): Likewise.
22948         (remainder_downward_test_data): Likewise.
22949         (remainder_test_downward): Likewise.
22950         (drem_test_downward): Likewise.
22951         (remainder_upward_test_data): Likewise.
22952         (remainder_test_upward): Likewise.
22953         (drem_test_upward): Likewise.
22954         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22955         (round_test): Use ALL_RM_TEST.
22956         (signbit_test): Likewise.
22957         (trunc_test): Likewise.
22958         (significand_test): Likewise.
22959         (main): Don't call removed functions.
22961 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22963         [BZ #16674]
22964         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22965         || __USE_XOPEN2K8].
22966         (ILL_ILLOPN): Likewise.
22967         (ILL_ILLADR): Likewise.
22968         (ILL_ILLTRP): Likewise.
22969         (ILL_PRVOPC): Likewise.
22970         (ILL_PRVREG): Likewise.
22971         (ILL_COPROC): Likewise.
22972         (ILL_BADSTK): Likewise.
22973         (FPE_INTDIV): Likewise.
22974         (FPE_INTOVF): Likewise.
22975         (FPE_FLTDIV): Likewise.
22976         (FPE_FLTOVF): Likewise.
22977         (FPE_FLTUND): Likewise.
22978         (FPE_FLTRES): Likewise.
22979         (FPE_FLTINV): Likewise.
22980         (FPE_FLTSUB): Likewise.
22981         (SEGV_MAPERR): Likewise.
22982         (SEGV_ACCERR): Likewise.
22983         (BUS_ADRALN): Likewise.
22984         (BUS_ADRERR): Likewise.
22985         (BUS_OBJERR): Likewise.
22986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22987         (TRAP_TRACE): Likewise.
22988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22989         __USE_XOPEN2K8].
22990         (CLD_KILLED): Likewise.
22991         (CLD_DUMPED): Likewise.
22992         (CLD_TRAPPED): Likewise.
22993         (CLD_STOPPED): Likewise.
22994         (CLD_CONTINUED): Likewise.
22995         (POLL_IN): Likewise.
22996         (POLL_OUT): Likewise.
22997         (POLL_MSG): Likewise.
22998         (POLL_ERR): Likewise.
22999         (POLL_PRI): Likewise.
23000         (POLL_HUP): Likewise.
23001         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23002         Likewise.
23003         (ILL_ILLOPN): Likewise.
23004         (ILL_ILLADR): Likewise.
23005         (ILL_ILLTRP): Likewise.
23006         (ILL_PRVOPC): Likewise.
23007         (ILL_PRVREG): Likewise.
23008         (ILL_COPROC): Likewise.
23009         (ILL_BADSTK): Likewise.
23010         (FPE_INTDIV): Likewise.
23011         (FPE_INTOVF): Likewise.
23012         (FPE_FLTDIV): Likewise.
23013         (FPE_FLTOVF): Likewise.
23014         (FPE_FLTUND): Likewise.
23015         (FPE_FLTRES): Likewise.
23016         (FPE_FLTINV): Likewise.
23017         (FPE_FLTSUB): Likewise.
23018         (SEGV_MAPERR): Likewise.
23019         (SEGV_ACCERR): Likewise.
23020         (BUS_ADRALN): Likewise.
23021         (BUS_ADRERR): Likewise.
23022         (BUS_OBJERR): Likewise.
23023         (BUS_MCEERR_AR): Likewise.
23024         (BUS_MCEERR_AO): Likewise.
23025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23026         (TRAP_TRACE): Likewise.
23027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23028         __USE_XOPEN2K8].
23029         (CLD_KILLED): Likewise.
23030         (CLD_DUMPED): Likewise.
23031         (CLD_TRAPPED): Likewise.
23032         (CLD_STOPPED): Likewise.
23033         (CLD_CONTINUED): Likewise.
23034         (POLL_IN): Likewise.
23035         (POLL_OUT): Likewise.
23036         (POLL_MSG): Likewise.
23037         (POLL_ERR): Likewise.
23038         (POLL_PRI): Likewise.
23039         (POLL_HUP): Likewise.
23040         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23041         (ILL_ILLOPN): Likewise.
23042         (ILL_ILLADR): Likewise.
23043         (ILL_ILLTRP): Likewise.
23044         (ILL_PRVOPC): Likewise.
23045         (ILL_PRVREG): Likewise.
23046         (ILL_COPROC): Likewise.
23047         (ILL_BADSTK): Likewise.
23048         (FPE_INTDIV): Likewise.
23049         (FPE_INTOVF): Likewise.
23050         (FPE_FLTDIV): Likewise.
23051         (FPE_FLTOVF): Likewise.
23052         (FPE_FLTUND): Likewise.
23053         (FPE_FLTRES): Likewise.
23054         (FPE_FLTINV): Likewise.
23055         (FPE_FLTSUB): Likewise.
23056         (SEGV_MAPERR): Likewise.
23057         (SEGV_ACCERR): Likewise.
23058         (BUS_ADRALN): Likewise.
23059         (BUS_ADRERR): Likewise.
23060         (BUS_OBJERR): Likewise.
23061         (BUS_MCEERR_AR): Likewise.
23062         (BUS_MCEERR_AO): Likewise.
23063         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23064         (TRAP_TRACE): Likewise.
23065         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23066         __USE_XOPEN2K8].
23067         (CLD_KILLED): Likewise.
23068         (CLD_DUMPED): Likewise.
23069         (CLD_TRAPPED): Likewise.
23070         (CLD_STOPPED): Likewise.
23071         (CLD_CONTINUED): Likewise.
23072         (POLL_IN): Likewise.
23073         (POLL_OUT): Likewise.
23074         (POLL_MSG): Likewise.
23075         (POLL_ERR): Likewise.
23076         (POLL_PRI): Likewise.
23077         (POLL_HUP): Likewise.
23078         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23079         Likewise.
23080         (ILL_ILLOPN): Likewise.
23081         (ILL_ILLADR): Likewise.
23082         (ILL_ILLTRP): Likewise.
23083         (ILL_PRVOPC): Likewise.
23084         (ILL_PRVREG): Likewise.
23085         (ILL_COPROC): Likewise.
23086         (ILL_BADSTK): Likewise.
23087         (ILL_BADIADDR): Likewise.
23088         (ILL_BREAK): Likewise.
23089         (FPE_INTDIV): Likewise.
23090         (FPE_INTOVF): Likewise.
23091         (FPE_FLTDIV): Likewise.
23092         (FPE_FLTOVF): Likewise.
23093         (FPE_FLTUND): Likewise.
23094         (FPE_FLTRES): Likewise.
23095         (FPE_FLTINV): Likewise.
23096         (FPE_FLTSUB): Likewise.
23097         (FPE_DECOVF): Likewise.
23098         (FPE_DECDIV): Likewise.
23099         (FPE_DECERR): Likewise.
23100         (FPE_INVASC): Likewise.
23101         (FPE_INVDEC): Likewise.
23102         (SEGV_MAPERR): Likewise.
23103         (SEGV_ACCERR): Likewise.
23104         (SEGV_PSTKOVF): Likewise.
23105         (BUS_ADRALN): Likewise.
23106         (BUS_ADRERR): Likewise.
23107         (BUS_OBJERR): Likewise.
23108         (BUS_MCEERR_AR): Likewise.
23109         (BUS_MCEERR_AO): Likewise.
23110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23111         (TRAP_TRACE): Likewise.
23112         (TRAP_BRANCH): Likewise.
23113         (TRAP_HWBKPT): Likewise.
23114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23115         __USE_XOPEN2K8].
23116         (CLD_KILLED): Likewise.
23117         (CLD_DUMPED): Likewise.
23118         (CLD_TRAPPED): Likewise.
23119         (CLD_STOPPED): Likewise.
23120         (CLD_CONTINUED): Likewise.
23121         (POLL_IN): Likewise.
23122         (POLL_OUT): Likewise.
23123         (POLL_MSG): Likewise.
23124         (POLL_ERR): Likewise.
23125         (POLL_PRI): Likewise.
23126         (POLL_HUP): Likewise.
23127         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23128         (ILL_ILLOPN): Likewise.
23129         (ILL_ILLADR): Likewise.
23130         (ILL_ILLTRP): Likewise.
23131         (ILL_PRVOPC): Likewise.
23132         (ILL_PRVREG): Likewise.
23133         (ILL_COPROC): Likewise.
23134         (ILL_BADSTK): Likewise.
23135         (FPE_INTDIV): Likewise.
23136         (FPE_INTOVF): Likewise.
23137         (FPE_FLTDIV): Likewise.
23138         (FPE_FLTOVF): Likewise.
23139         (FPE_FLTUND): Likewise.
23140         (FPE_FLTRES): Likewise.
23141         (FPE_FLTINV): Likewise.
23142         (FPE_FLTSUB): Likewise.
23143         (SEGV_MAPERR): Likewise.
23144         (SEGV_ACCERR): Likewise.
23145         (BUS_ADRALN): Likewise.
23146         (BUS_ADRERR): Likewise.
23147         (BUS_OBJERR): Likewise.
23148         (BUS_MCEERR_AR): Likewise.
23149         (BUS_MCEERR_AO): Likewise.
23150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23151         (TRAP_TRACE): Likewise.
23152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23153         __USE_XOPEN2K8].
23154         (CLD_KILLED): Likewise.
23155         (CLD_DUMPED): Likewise.
23156         (CLD_TRAPPED): Likewise.
23157         (CLD_STOPPED): Likewise.
23158         (CLD_CONTINUED): Likewise.
23159         (POLL_IN): Likewise.
23160         (POLL_OUT): Likewise.
23161         (POLL_MSG): Likewise.
23162         (POLL_ERR): Likewise.
23163         (POLL_PRI): Likewise.
23164         (POLL_HUP): Likewise.
23165         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23166         (ILL_ILLOPN): Likewise.
23167         (ILL_ILLADR): Likewise.
23168         (ILL_ILLTRP): Likewise.
23169         (ILL_PRVOPC): Likewise.
23170         (ILL_PRVREG): Likewise.
23171         (ILL_COPROC): Likewise.
23172         (ILL_BADSTK): Likewise.
23173         (FPE_INTDIV): Likewise.
23174         (FPE_INTOVF): Likewise.
23175         (FPE_FLTDIV): Likewise.
23176         (FPE_FLTOVF): Likewise.
23177         (FPE_FLTUND): Likewise.
23178         (FPE_FLTRES): Likewise.
23179         (FPE_FLTINV): Likewise.
23180         (FPE_FLTSUB): Likewise.
23181         (SEGV_MAPERR): Likewise.
23182         (SEGV_ACCERR): Likewise.
23183         (BUS_ADRALN): Likewise.
23184         (BUS_ADRERR): Likewise.
23185         (BUS_OBJERR): Likewise.
23186         (BUS_MCEERR_AR): Likewise.
23187         (BUS_MCEERR_AO): Likewise.
23188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23189         (TRAP_TRACE): Likewise.
23190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23191         __USE_XOPEN2K8].
23192         (CLD_KILLED): Likewise.
23193         (CLD_DUMPED): Likewise.
23194         (CLD_TRAPPED): Likewise.
23195         (CLD_STOPPED): Likewise.
23196         (CLD_CONTINUED): Likewise.
23197         (POLL_IN): Likewise.
23198         (POLL_OUT): Likewise.
23199         (POLL_MSG): Likewise.
23200         (POLL_ERR): Likewise.
23201         (POLL_PRI): Likewise.
23202         (POLL_HUP): Likewise.
23203         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23204         (ILL_ILLOPN): Likewise.
23205         (ILL_ILLADR): Likewise.
23206         (ILL_ILLTRP): Likewise.
23207         (ILL_PRVOPC): Likewise.
23208         (ILL_PRVREG): Likewise.
23209         (ILL_COPROC): Likewise.
23210         (ILL_BADSTK): Likewise.
23211         (FPE_INTDIV): Likewise.
23212         (FPE_INTOVF): Likewise.
23213         (FPE_FLTDIV): Likewise.
23214         (FPE_FLTOVF): Likewise.
23215         (FPE_FLTUND): Likewise.
23216         (FPE_FLTRES): Likewise.
23217         (FPE_FLTINV): Likewise.
23218         (FPE_FLTSUB): Likewise.
23219         (SEGV_MAPERR): Likewise.
23220         (SEGV_ACCERR): Likewise.
23221         (BUS_ADRALN): Likewise.
23222         (BUS_ADRERR): Likewise.
23223         (BUS_OBJERR): Likewise.
23224         (BUS_MCEERR_AR): Likewise.
23225         (BUS_MCEERR_AO): Likewise.
23226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23227         (TRAP_TRACE): Likewise.
23228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23229         __USE_XOPEN2K8].
23230         (CLD_KILLED): Likewise.
23231         (CLD_DUMPED): Likewise.
23232         (CLD_TRAPPED): Likewise.
23233         (CLD_STOPPED): Likewise.
23234         (CLD_CONTINUED): Likewise.
23235         (POLL_IN): Likewise.
23236         (POLL_OUT): Likewise.
23237         (POLL_MSG): Likewise.
23238         (POLL_ERR): Likewise.
23239         (POLL_PRI): Likewise.
23240         (POLL_HUP): Likewise.
23241         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23242         (ILL_ILLOPN): Likewise.
23243         (ILL_ILLADR): Likewise.
23244         (ILL_ILLTRP): Likewise.
23245         (ILL_PRVOPC): Likewise.
23246         (ILL_PRVREG): Likewise.
23247         (ILL_COPROC): Likewise.
23248         (ILL_BADSTK): Likewise.
23249         (ILL_DBLFLT): Likewise.
23250         (ILL_HARDWALL): Likewise.
23251         (FPE_INTDIV): Likewise.
23252         (FPE_INTOVF): Likewise.
23253         (FPE_FLTDIV): Likewise.
23254         (FPE_FLTOVF): Likewise.
23255         (FPE_FLTUND): Likewise.
23256         (FPE_FLTRES): Likewise.
23257         (FPE_FLTINV): Likewise.
23258         (FPE_FLTSUB): Likewise.
23259         (SEGV_MAPERR): Likewise.
23260         (SEGV_ACCERR): Likewise.
23261         (BUS_ADRALN): Likewise.
23262         (BUS_ADRERR): Likewise.
23263         (BUS_OBJERR): Likewise.
23264         (BUS_MCEERR_AR): Likewise.
23265         (BUS_MCEERR_AO): Likewise.
23266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23267         (TRAP_TRACE): Likewise.
23268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23269         __USE_XOPEN2K8].
23270         (CLD_KILLED): Likewise.
23271         (CLD_DUMPED): Likewise.
23272         (CLD_TRAPPED): Likewise.
23273         (CLD_STOPPED): Likewise.
23274         (CLD_CONTINUED): Likewise.
23275         (POLL_IN): Likewise.
23276         (POLL_OUT): Likewise.
23277         (POLL_MSG): Likewise.
23278         (POLL_ERR): Likewise.
23279         (POLL_PRI): Likewise.
23280         (POLL_HUP): Likewise.
23281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23282         (ILL_ILLOPN): Likewise.
23283         (ILL_ILLADR): Likewise.
23284         (ILL_ILLTRP): Likewise.
23285         (ILL_PRVOPC): Likewise.
23286         (ILL_PRVREG): Likewise.
23287         (ILL_COPROC): Likewise.
23288         (ILL_BADSTK): Likewise.
23289         (FPE_INTDIV): Likewise.
23290         (FPE_INTOVF): Likewise.
23291         (FPE_FLTDIV): Likewise.
23292         (FPE_FLTOVF): Likewise.
23293         (FPE_FLTUND): Likewise.
23294         (FPE_FLTRES): Likewise.
23295         (FPE_FLTINV): Likewise.
23296         (FPE_FLTSUB): Likewise.
23297         (SEGV_MAPERR): Likewise.
23298         (SEGV_ACCERR): Likewise.
23299         (BUS_ADRALN): Likewise.
23300         (BUS_ADRERR): Likewise.
23301         (BUS_OBJERR): Likewise.
23302         (BUS_MCEERR_AR): Likewise.
23303         (BUS_MCEERR_AO): Likewise.
23304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23305         (TRAP_TRACE): Likewise.
23306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23307         __USE_XOPEN2K8].
23308         (CLD_KILLED): Likewise.
23309         (CLD_DUMPED): Likewise.
23310         (CLD_TRAPPED): Likewise.
23311         (CLD_STOPPED): Likewise.
23312         (CLD_CONTINUED): Likewise.
23313         (POLL_IN): Likewise.
23314         (POLL_OUT): Likewise.
23315         (POLL_MSG): Likewise.
23316         (POLL_ERR): Likewise.
23317         (POLL_PRI): Likewise.
23318         (POLL_HUP): Likewise.
23319         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23320         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23322         [BZ #16670]
23323         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23324         before #include of <time.h>.
23325         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23326         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23327         (test-xfail-UNIX98/sched.h/conform): Likewise.
23329 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23331         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23332         error absence of trapping exception support.
23333         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23335 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23337         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23338         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23339         * timezone/Makefile (testdata): Move definition above include of
23340         Rules.
23341         (test-zones): New variable.
23342         (tests-special): Add zone files.
23343         (build-testdata): Use $(evaluate-test).
23345         * elf/Makefile (tests-special): Rename tests to end with .out.
23346         ($(objpfx)noload-mem): Likewise.
23347         ($(objpfx)tst-leaks1-mem): Likewise.
23348         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23349         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23350         $(objpfx)test-iconvconfig.out.
23351         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23352         set -e inside subshell and redirect output to file.
23353         * iconvdata/Makefile (generated): Rename tests to end with .out.
23354         Correct type.
23355         (tests-special): Rename tests to end with .out.
23356         ($(objpfx)mtrace-tst-loading): Likewise.
23357         * intl/Makefile (generated): Likewise.
23358         (tests-special): Likewise.
23359         ($(objpfx)mtrace-tst-gettext): Likewise.
23360         * misc/Makefile (generated): Likewise.
23361         (tests-special): Likewise.
23362         ($(objpfx)tst-error1-mem): Likewise.
23363         * nptl/Makefile (tests-special): Likewise.
23364         ($(objpfx)tst-stack3-mem): Likewise.
23365         (generated): Likewise.
23366         * posix/Makefile (generated): Likewise.
23367         (tests-special): Likewise.
23368         (xtests-special): Likewise.
23369         ($(objpfx)tst-fnmatch-mem): Likewise.
23370         ($(objpfx)bug-regex2-mem): Likewise.
23371         ($(objpfx)bug-regex14-mem): Likewise.
23372         ($(objpfx)bug-regex21-mem): Likewise.
23373         ($(objpfx)bug-regex31-mem): Likewise.
23374         ($(objpfx)tst-vfork3-mem): Likewise.
23375         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23376         ($(objpfx)tst-pcre-mem): Likewise.
23377         ($(objpfx)tst-boost-mem): Likewise.
23378         ($(objpfx)bug-ga2-mem): Likewise.
23379         ($(objpfx)bug-glob2-mem): Likewise.
23380         * resolv/Makefile (generate): Likewise.
23381         (tests-special): Likewise.
23382         (xtests-special): Likewise.
23383         (generated): Likewise.
23384         ($(objpfx)mtrace-tst-leaks): Likewise.
23385         ($(objpfx)mtrace-tst-leaks2): Likewise.
23387         * scripts/merge-test-results.sh: New file.
23388         * Makefile (tests-special-notdir): New variable.
23389         (tests): Run merge-test-results.sh.
23390         (xtests): Likewise.
23391         * Rules (tests-special-notdir): New variable.
23392         (xtests-special-notdir): Likewise.
23393         (tests): Run merge-test-results.sh
23394         (xtests): Likewise.
23396         * Makeconfig (test-xfail-name): New variable.
23397         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23398         compute variable name for expected failures.
23399         * conform/Makefile (conformtest-headers-data): New variable.
23400         (conformtest-standards): Likewise.
23401         (conformtest-headers-ISO): Likewise.
23402         (conformtest-headers-ISO99): Likewise.
23403         (conformtest-headers-ISO11): Likewise.
23404         (conformtest-headers-POSIX): Likewise.
23405         (conformtest-headers-XPG3): Likewise.
23406         (conformtest-headers-XPG4): Likewise.
23407         (conformtest-headers-UNIX98): Likewise.
23408         (conformtest-headers-XOPEN2K): Likewise.
23409         (conformtest-headers-POSIX2008): Likewise.
23410         (conformtest-headers-XOPEN2K8): Likewise.
23411         (conformtest-header-list-base): Likewise.
23412         (conformtest-header-list-tests): Likewise.
23413         (conformtest-header-base): Likewise.
23414         (conformtest-header-tests): Likewise.
23415         (tests-special): Add $(conformtest-header-list-tests).  If
23416         [$(fast-check) && !$(cross-compiling)], add
23417         $(conformtest-header-tests) instead of
23418         $(objpfx)run-conformtest.out.
23419         (generated): Add $(conformtest-header-list-base).  If
23420         [$(fast-check) && !$(cross-compiling)], add
23421         $(conformtest-header-base).  Remove previous setting.
23422         ($(conformtest-header-list-tests)): New target.
23423         (test-xfail-run-conformtest): Remove variable.
23424         ($(objpfx)run-conformtest.out): Remove target.
23425         (test-xfail-ISO11/complex.h/conform): New variable.
23426         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23427         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23428         (test-xfail-XPG3/varargs.h/conform): Likewise.
23429         (test-xfail-XPG4/varargs.h/conform): Likewise.
23430         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23431         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23432         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23433         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23434         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23435         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23436         (test-xfail-XPG3/ftw.h/conform): Likewise.
23437         (test-xfail-XPG3/grp.h/conform): Likewise.
23438         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23439         (test-xfail-XPG3/limits.h/conform): Likewise.
23440         (test-xfail-XPG3/pwd.h/conform): Likewise.
23441         (test-xfail-XPG3/search.h/conform): Likewise.
23442         (test-xfail-XPG3/signal.h/conform): Likewise.
23443         (test-xfail-XPG3/stdio.h/conform): Likewise.
23444         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23445         (test-xfail-XPG3/string.h/conform): Likewise.
23446         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23447         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23448         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23449         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23450         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23451         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23452         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23453         (test-xfail-XPG3/termios.h/conform): Likewise.
23454         (test-xfail-XPG3/time.h/conform): Likewise.
23455         (test-xfail-XPG3/unistd.h/conform): Likewise.
23456         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23457         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23458         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23459         (test-xfail-XPG4/netdb.h/conform): Likewise.
23460         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23461         (test-xfail-XPG4/signal.h/conform): Likewise.
23462         (test-xfail-XPG4/stdio.h/conform): Likewise.
23463         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23464         (test-xfail-XPG4/stropts.h/conform): Likewise.
23465         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23466         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23467         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23468         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23469         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23470         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23471         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23472         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23473         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23474         (test-xfail-XPG4/termios.h/conform): Likewise.
23475         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23476         (test-xfail-XPG4/unistd.h/conform): Likewise.
23477         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23478         (test-xfail-POSIX/sched.h/conform): Likewise.
23479         (test-xfail-POSIX/signal.h/conform): Likewise.
23480         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23481         (test-xfail-POSIX/tar.h/conform): Likewise.
23482         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23483         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23484         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23485         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23486         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23487         (test-xfail-UNIX98/sched.h/conform): Likewise.
23488         (test-xfail-UNIX98/signal.h/conform): Likewise.
23489         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23490         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23491         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23492         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23493         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23494         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23495         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23496         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23497         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23498         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23499         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23500         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23501         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23502         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23503         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23504         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23505         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23506         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23507         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23508         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23509         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23510         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23511         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23512         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23513         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23514         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23515         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23516         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23517         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23518         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23519         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23520         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23521         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23522         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23523         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23524         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23525         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23526         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23527         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23528         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23529         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23530         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23531         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23532         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23533         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23534         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23535         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23536         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23537         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23538         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23539         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23540         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23541         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23542         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23543         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23544         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23545         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23546         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23547         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23548         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23549         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23550         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23551         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23552         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23553         (conformtest-cc-flags): Likewise.
23554         ($(conformtest-header-tests): New target.
23555         * conform/check-header-lists.sh: New file.
23556         * conform/run-conformtest.sh: Remove.
23558         * conform/conformtest.pl: Allow ' and \ in values given for
23559         constants.
23560         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23561         inclusion.
23562         [POSIX] (sys/types.h): Likewise.
23563         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23564         inclusion.
23565         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23566         inclusion.
23567         * conform/data/signal.h-data (SIGIO): Remove expectation.
23568         [XPG3] (SIGBUS): Do not expect.
23569         [POSIX || XPG3] (SIGPOLL): Likewise.
23570         [POSIX || XPG3] (SIGPROF): Likewise.
23571         [POSIX || XPG3] (SIGSYS): Likewise.
23572         [XPG3] (SIGTRAP): Likewise.
23573         [POSIX || XPG3] (SIGURG): Likewise.
23574         [POSIX || XPG3] (SIGVTALRM): Likewise.
23575         [POSIX || XPG3] (SIGXCPU): Likewise.
23576         [POSIX || XPG3] (SIGXFSZ): Likewise.
23577         [POSIX] (SA_SIGINFO): Expect.
23578         [XPG3] (siginfo_t): Do not expect type or contents.
23579         [POSIX] (si_pid): Do not expect element.
23580         [POSIX] (si_uid): Likewise.
23581         [POSIX] (si_addr): Likewise.
23582         [POSIX] (si_status): Likewise.
23583         [POSIX] (si_band): Likewise.
23584         [XPG4] (si_value): Likewise.
23585         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23586         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23587         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23588         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23589         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23590         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23591         [POSIX || XPG3] (ILL_COPROC): Likewise.
23592         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23593         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23594         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23595         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23596         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23597         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23598         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23599         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23600         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23601         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23602         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23603         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23604         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23605         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23606         [POSIX || XPG3] (CLD_EXITED): Likewise.
23607         [POSIX || XPG3] (CLD_KILLED): Likewise.
23608         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23609         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23610         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23611         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23612         [POSIX || XPG3] (POLL_IN): Likewise.
23613         [POSIX || XPG3] (POLL_OUT): Likewise.
23614         [POSIX || XPG3] (POLL_MSG): Likewise.
23615         [POSIX || XPG3] (POLL_ERR): Likewise.
23616         [POSIX || XPG3] (POLL_PRI): Likewise.
23617         [POSIX || XPG3] (POLL_HUP): Likewise.
23618         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23619         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23620         (SIG*): Do not allow.
23621         [XPG3] (si_*): Likewise.
23622         [XPG3] (SI_*): Likewise.
23623         [XPG3 || XPG4] (sigev_*): Likewise.
23624         [XPG3 || XPG4] (SIGEV_*): Likewise.
23625         [XPG3 || XPG4] (sival_*): Likewise.
23626         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23627         [POSIX || XPG3] (BUS_*): Likewise.
23628         [POSIX || XPG3] (CLD_*): Likewise.
23629         [POSIX || XPG3] (FPE_*): Likewise.
23630         [POSIX || XPG3] (ILL_*): Likewise.
23631         [POSIX || XPG3] (POLL_*): Likewise.
23632         [POSIX || XPG3] (SEGV_*): Likewise.
23633         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23634         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23635         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23636         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23637         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23638         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23639         Specify type and value.
23640         (TVERSLEN): Likewise.
23641         (REGTYPE): Likewise.
23642         (AREGTYPE): Likewise.
23643         (LNKTYPE): Likewise.
23644         (SYMTYPE): Likewise.
23645         (CHRTYPE): Likewise.
23646         (BLKTYPE): Likewise.
23647         (DIRTYPE): Likewise.
23648         (FIFOTYPE): Likewise.
23649         (CONTTYPE): Likewise.
23650         (TSUID): Likewise.
23651         (TSGID): Likewise.
23652         (TSVTX): Likewise.
23653         (TUREAD): Likewise.
23654         (TUWRITE): Likewise.
23655         (TUEXEC): Likewise.
23656         (TGREAD): Likewise.
23657         (TGWRITE): Likewise.
23658         (TGEXEC): Likewise.
23659         (TOREAD): Likewise.
23660         (TOWRITE): Likewise.
23661         (TOEXEC): Likewise.
23662         [POSIX] (TSVTX): Expect constant.
23664 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23666         * Makefile (tests): Change dependencies to ....
23667         (tests-special): ... additions to this variable.
23668         (tests): Depend on $(tests-special).
23669         * Makerules (check-abi-list): New variable.
23670         (check-abi): Depend on $(check-abi-list).
23671         [$(subdir) = elf] (tests-special): Add
23672         $(objpfx)check-abi-libc.out.
23673         [$(build-shared) = yes && subdir] (tests-special): Add
23674         $(check-abi-list).
23675         [$(build-shared) = yes && subdir] (tests): Do not depend on
23676         check-abi.
23677         * Rules (tests): Depend on $(tests-special).
23678         (xtests): Depend on $(xtests-special).
23679         * catgets/Makefile (tests): Change dependencies to ....
23680         (tests-special): ... additions to this variable.
23681         * conform/Makefile (tests): Change dependencies to ....
23682         (tests-special): ... additions to this variable.
23683         * elf/Makefile (tests): Change dependencies to ....
23684         (tests-special): ... additions to this variable.
23685         * grp/Makefile (tests): Change dependencies to ....
23686         (tests-special): ... additions to this variable.
23687         * iconv/Makefile (xtests): Change dependencies to ....
23688         (xtests-special): ... additions to this variable.
23689         * iconvdata/Makefile (tests): Change dependencies to ....
23690         (tests-special): ... additions to this variable.
23691         * intl/Makefile (tests): Change dependencies to ....
23692         (tests-special): ... additions to this variable.  Also add
23693         $(objpfx)tst-gettext.out.
23694         * io/Makefile (tests): Change dependencies to ....
23695         (tests-special): ... additions to this variable.
23696         * libio/Makefile (tests): Change dependencies to ....
23697         (tests-special): ... additions to this variable.
23698         * malloc/Makefile (tests): Change dependencies to ....
23699         (tests-special): ... additions to this variable.
23700         * misc/Makefile (tests): Change dependencies to ....
23701         (tests-special): ... additions to this variable.
23702         * nptl/Makefile (tests): Change dependencies to ....
23703         (tests-special): ... additions to this variable.
23704         * nptl_db/Makefile (tests): Change dependencies to ....
23705         (tests-special): ... additions to this variable.
23706         * posix/Makefile (tests): Change dependencies to ....
23707         (tests-special): ... additions to this variable.
23708         (xtests): Change dependencies to ....
23709         (xtests-special): ... additions to this variable.
23710         * resolv/Makefile (tests): Change dependencies to ....
23711         (tests-special): ... additions to this variable.
23712         (xtests): Change dependencies to ....
23713         (xtests-special): ... additions to this variable.
23714         * stdio-common/Makefile (tests): Change dependencies to ....
23715         (tests-special): ... additions to this variable.
23716         (do-tst-unbputc): Remove target.
23717         (do-tst-printf): Likewise.
23718         * stdlib/Makefile (tests): Change dependencies to ....
23719         (tests-special): ... additions to this variable.
23720         * string/Makefile (tests): Change dependencies to ....
23721         (tests-special): ... additions to this variable.
23722         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23723         (tests-special): ... additions to this variable.
23725         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23726         whole file.
23727         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23728         whole file.
23729         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23730         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23732         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23733         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23734         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23735         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23736         * conform/data/libgen.h-data [XPG3]: Likewise.
23737         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23738         * conform/data/ndbm.h-data [XPG3]: Likewise.
23739         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23740         * conform/data/netdb.h-data [XPG3]: Likewise.
23741         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23742         * conform/data/poll.h-data [XPG3]: Likewise.
23743         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23744         * conform/data/strings.h-data [XPG3]: Likewise.
23745         * conform/data/stropts.h-data [XPG3]: Likewise.
23746         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23747         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23748         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23749         Likewise.
23750         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23751         * conform/data/sys/time.h-data [XPG3]: Likewise.
23752         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23753         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23754         * conform/data/sys/un.h-data [XPG3]: Likewise.
23755         * conform/data/syslog.h-data [XPG3]: Likewise.
23756         * conform/data/ucontext.h-data [XPG3]: Likewise.
23757         * conform/data/utmpx.h-data [XPG3]: Likewise.
23758         * conform/data/varargs.h-data [UNIX98]: Enable file.
23760         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23762         * math/libm-test.inc (struct test_f_f_data): Move expected results
23763         into structure for each rounding mode.
23764         (struct test_ff_f_data): Likewise.
23765         (struct test_ff_f_data_nexttoward): Likewise.
23766         (struct test_fi_f_data): Likewise.
23767         (struct test_fl_f_data): Likewise.
23768         (struct test_if_f_data): Likewise.
23769         (struct test_fff_f_data): Likewise.
23770         (struct test_c_f_data): Likewise.
23771         (struct test_f_f1_data): Likewise.
23772         (struct test_fF_f1_data): Likewise.
23773         (struct test_ffI_f1_data): Likewise.
23774         (struct test_c_c_data): Likewise.
23775         (struct test_cc_c_data): Likewise.
23776         (struct test_f_i_data): Likewise.
23777         (struct test_ff_i_data): Likewise.
23778         (struct test_f_l_data): Likewise.
23779         (struct test_f_L_data): Likewise.
23780         (struct test_fFF_11_data): Likewise.
23781         (RM_): New macro.
23782         (RM_FE_DOWNWARD): Likewise.
23783         (RM_FE_TONEAREST): Likewise.
23784         (RM_FE_TOWARDZERO): Likewise.
23785         (RM_FE_UPWARD): Likewise.
23786         (RUN_TEST_LOOP_f_f): Update references to expected results.
23787         (RUN_TEST_LOOP_2_f): Likewise.
23788         (RUN_TEST_LOOP_fff_f): Likewise.
23789         (RUN_TEST_LOOP_c_f): Likewise.
23790         (RUN_TEST_LOOP_f_f1): Likewise.
23791         (RUN_TEST_LOOP_fF_f1): Likewise.
23792         (RUN_TEST_LOOP_fI_f1): Likewise.
23793         (RUN_TEST_LOOP_ffI_f1): Likewise.
23794         (RUN_TEST_LOOP_c_c): Likewise.
23795         (RUN_TEST_LOOP_cc_c): Likewise.
23796         (RUN_TEST_LOOP_f_i): Likewise.
23797         (RUN_TEST_LOOP_f_i_tg): Likewise.
23798         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23799         (RUN_TEST_LOOP_f_b): Likewise.
23800         (RUN_TEST_LOOP_f_b_tg): Likewise.
23801         (RUN_TEST_LOOP_f_l): Likewise.
23802         (RUN_TEST_LOOP_f_L): Likewise.
23803         (RUN_TEST_LOOP_fFF_11): Likewise.
23804         * math/gen-libm-test.pl (parse_args): Output four copies of
23805         expected results for each test.
23807         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23808         (__ASSUME_UTIMES): Remove.
23809         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23810         (__ASSUME_UTIMES): Likewise.
23812         * math/gen-auto-libm-tests.c: Update comment on output format.
23813         (output_for_one_input_case): Generate before-rounding and
23814         after-rounding information as conditions on output flags not
23815         floating-point format.
23816         * math/auto-libm-test-out: Regenerated.
23817         * math/gen-libm-test.pl (cond_value): New function.
23818         (or_cond_value): Use cond_value.
23819         (generate_testfile): Handle conditional exceptions.
23821 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23823         * math/libm-test.inc (max_valid_error): New variable.
23824         (init_max_error): Take new argument specifying whether function
23825         results are exactly determined.  Set max_valid_error and bound
23826         other variables for errors based on this argument.
23827         (set_max_error): Do not record results above max_valid_error.
23828         (check_float_internal): Only accept errors of up to 0.5ulps if
23829         also at most max_valid_error.
23830         (START): Take new argument EXACT and pass it to init_max_error.
23831         (acos_test): Update call to START.
23832         (acos_test_tonearest): Likewise.
23833         (acos_test_towardzero): Likewise.
23834         (acos_test_downward): Likewise.
23835         (acos_test_upward): Likewise.
23836         (acosh_test): Likewise.
23837         (asin_test): Likewise.
23838         (asin_test_tonearest): Likewise.
23839         (asin_test_towardzero): Likewise.
23840         (asin_test_downward): Likewise.
23841         (asin_test_upward): Likewise.
23842         (asinh_test): Likewise.
23843         (atan_test): Likewise.
23844         (atanh_test): Likewise.
23845         (atan2_test): Likewise.
23846         (cabs_test): Likewise.
23847         (cacos_test): Likewise.
23848         (cacosh_test): Likewise.
23849         (carg_test): Likewise.
23850         (casin_test): Likewise.
23851         (casinh_test): Likewise.
23852         (catan_test): Likewise.
23853         (catanh_test): Likewise.
23854         (cbrt_test): Likewise.
23855         (ccos_test): Likewise.
23856         (ccosh_test): Likewise.
23857         (ceil_test): Likewise.
23858         (cexp_test): Likewise.
23859         (cimag_test): Likewise.
23860         (clog_test): Likewise.
23861         (clog10_test): Likewise.
23862         (conj_test): Likewise.
23863         (copysign_test): Likewise.
23864         (cos_test): Likewise.
23865         (cos_test_tonearest): Likewise.
23866         (cos_test_towardzero): Likewise.
23867         (cos_test_downward): Likewise.
23868         (cos_test_upward): Likewise.
23869         (cosh_test): Likewise.
23870         (cosh_test_tonearest): Likewise.
23871         (cosh_test_towardzero): Likewise.
23872         (cosh_test_downward): Likewise.
23873         (cosh_test_upward): Likewise.
23874         (cpow_test): Likewise.
23875         (cproj_test): Likewise.
23876         (creal_test): Likewise.
23877         (csin_test): Likewise.
23878         (csinh_test): Likewise.
23879         (csqrt_test): Likewise.
23880         (ctan_test): Likewise.
23881         (ctan_test_tonearest): Likewise.
23882         (ctan_test_towardzero): Likewise.
23883         (ctan_test_downward): Likewise.
23884         (ctan_test_upward): Likewise.
23885         (ctanh_test): Likewise.
23886         (ctanh_test_tonearest): Likewise.
23887         (ctanh_test_towardzero): Likewise.
23888         (ctanh_test_downward): Likewise.
23889         (ctanh_test_upward): Likewise.
23890         (erf_test): Likewise.
23891         (erfc_test): Likewise.
23892         (exp_test): Likewise.
23893         (exp_test_tonearest): Likewise.
23894         (exp_test_towardzero): Likewise.
23895         (exp_test_downward): Likewise.
23896         (exp_test_upward): Likewise.
23897         (exp10_test): Likewise.
23898         (exp10_test_tonearest): Likewise.
23899         (exp10_test_towardzero): Likewise.
23900         (exp10_test_downward): Likewise.
23901         (exp10_test_upward): Likewise.
23902         (pow10_test): Likewise.
23903         (exp2_test): Likewise.
23904         (expm1_test): Likewise.
23905         (expm1_test_tonearest): Likewise.
23906         (expm1_test_towardzero): Likewise.
23907         (expm1_test_downward): Likewise.
23908         (expm1_test_upward): Likewise.
23909         (fabs_test): Likewise.
23910         (fdim_test): Likewise.
23911         (floor_test): Likewise.
23912         (fma_test): Likewise.
23913         (fma_test_towardzero): Likewise.
23914         (fma_test_downward): Likewise.
23915         (fma_test_upward): Likewise.
23916         (fmax_test): Likewise.
23917         (fmin_test): Likewise.
23918         (fmod_test): Likewise.
23919         (fpclassify_test): Likewise.
23920         (frexp_test): Likewise.
23921         (hypot_test): Likewise.
23922         (ilogb_test): Likewise.
23923         (isfinite_test): Likewise.
23924         (finite_test): Likewise.
23925         (isgreater_test): Likewise.
23926         (isgreaterequal_test): Likewise.
23927         (isinf_test): Likewise.
23928         (isless_test): Likewise.
23929         (islessequal_test): Likewise.
23930         (islessgreater_test): Likewise.
23931         (isnan_test): Likewise.
23932         (isnormal_test): Likewise.
23933         (issignaling_test): Likewise.
23934         (isunordered_test): Likewise.
23935         (j0_test): Likewise.
23936         (j1_test): Likewise.
23937         (jn_test): Likewise.
23938         (ldexp_test): Likewise.
23939         (lgamma_test): Likewise.
23940         (gamma_test): Likewise.
23941         (lrint_test): Likewise.
23942         (lrint_test_tonearest): Likewise.
23943         (lrint_test_towardzero): Likewise.
23944         (lrint_test_downward): Likewise.
23945         (lrint_test_upward): Likewise.
23946         (llrint_test): Likewise.
23947         (llrint_test_tonearest): Likewise.
23948         (llrint_test_towardzero): Likewise.
23949         (llrint_test_downward): Likewise.
23950         (llrint_test_upward): Likewise.
23951         (log_test): Likewise.
23952         (log10_test): Likewise.
23953         (log1p_test): Likewise.
23954         (log2_test): Likewise.
23955         (logb_test): Likewise.
23956         (logb_test_downward): Likewise.
23957         (lround_test): Likewise.
23958         (llround_test): Likewise.
23959         (modf_test): Likewise.
23960         (nearbyint_test): Likewise.
23961         (nextafter_test): Likewise.
23962         (nexttoward_test): Likewise.
23963         (pow_test): Likewise.
23964         (pow_test_tonearest): Likewise.
23965         (pow_test_towardzero): Likewise.
23966         (pow_test_downward): Likewise.
23967         (pow_test_upward): Likewise.
23968         (remainder_test): Likewise.
23969         (drem_test): Likewise.
23970         (remainder_test_tonearest): Likewise.
23971         (drem_test_tonearest): Likewise.
23972         (remainder_test_towardzero): Likewise.
23973         (drem_test_towardzero): Likewise.
23974         (remainder_test_downward): Likewise.
23975         (drem_test_downward): Likewise.
23976         (remainder_test_upward): Likewise.
23977         (drem_test_upward): Likewise.
23978         (remquo_test): Likewise.
23979         (rint_test): Likewise.
23980         (rint_test_tonearest): Likewise.
23981         (rint_test_towardzero): Likewise.
23982         (rint_test_downward): Likewise.
23983         (rint_test_upward): Likewise.
23984         (round_test): Likewise.
23985         (scalb_test): Likewise.
23986         (scalbn_test): Likewise.
23987         (scalbln_test): Likewise.
23988         (signbit_test): Likewise.
23989         (sin_test): Likewise.
23990         (sin_test_tonearest): Likewise.
23991         (sin_test_towardzero): Likewise.
23992         (sin_test_downward): Likewise.
23993         (sin_test_upward): Likewise.
23994         (sincos_test): Likewise.
23995         (sinh_test): Likewise.
23996         (sinh_test_tonearest): Likewise.
23997         (sinh_test_towardzero): Likewise.
23998         (sinh_test_downward): Likewise.
23999         (sinh_test_upward): Likewise.
24000         (sqrt_test): Likewise.
24001         (sqrt_test_tonearest): Likewise.
24002         (sqrt_test_towardzero): Likewise.
24003         (sqrt_test_downward): Likewise.
24004         (sqrt_test_upward): Likewise.
24005         (tan_test): Likewise.
24006         (tan_test_tonearest): Likewise.
24007         (tan_test_towardzero): Likewise.
24008         (tan_test_downward): Likewise.
24009         (tan_test_upward): Likewise.
24010         (tanh_test): Likewise.
24011         (tgamma_test): Likewise.
24012         (trunc_test): Likewise.
24013         (y0_test): Likewise.
24014         (y1_test): Likewise.
24015         (yn_test): Likewise.
24016         (significand_test): Likewise.
24018         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24019         individual tests in comment.
24020         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24021         (prev_max_error): New variable.
24022         (prev_real_max_error): Likewise.
24023         (prev_imag_max_error): Likewise.
24024         (compare_ulp_data): Don't refer to test names in comment.
24025         (find_test_ulps): Remove function.
24026         (find_function_ulps): Likewise.
24027         (find_complex_function_ulps): Likewise.
24028         (init_max_error): Take function name as argument.  Look up ulps
24029         for that function.
24030         (print_ulps): Remove function.
24031         (print_max_error): Use prev_max_error instead of calling
24032         find_function_ulps.
24033         (print_complex_max_error): Use prev_real_max_error and
24034         prev_imag_max_error instead of calling find_complex_function_ulps.
24035         (check_float_internal): Take max_ulp parameter instead of calling
24036         find_test_ulps.  Don't call print_ulps.
24037         (check_float): Update call to check_float_internal.
24038         (check_complex): Update calls to check_float_internal.
24039         (START): Pass argument to init_max_error.
24040         * math/gen-libm-test.pl (%results): Don't include "kind"
24041         information.
24042         (parse_ulps): Don't handle ulps of individual tests.
24043         (print_ulps_file): Likewise.
24044         (output_ulps): Likewise.
24045         * math/README.libm-test: Update.
24046         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24047         individual tests.
24048         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24049         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24050         * sysdeps/arm/libm-test-ulps: Likewise.
24051         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24052         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24053         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24054         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24055         * sysdeps/microblaze/libm-test-ulps: Likewise.
24056         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24057         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24058         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24059         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24060         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24061         * sysdeps/sh/libm-test-ulps: Likewise.
24062         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24063         * sysdeps/tile/libm-test-ulps: Likewise.
24064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24066 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24068         * math/libm-test.inc (print_complex_max_error): Check separately
24069         whether real and imaginary errors are within allowed range and
24070         pass 0 to print_complex_function_ulps instead of value within
24071         allowed range.
24073 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24075         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24076         formatting.
24077         (get_handles_fopen): Likewise.
24078         (do_write_test): Likewise.
24080         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24082         * libio/fileops.c (do_ftell): Use cached offset when
24083         available.
24084         * libio/iofwide.c (do_ftell_wide): Likewise.
24085         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24086         _IO_file_attach.
24087         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24089         [BZ #16532]
24090         * libio/libioP.h (get_file_offset): New function.
24091         * libio/fileops.c (get_file_offset): Likewise.
24092         (do_ftell): Likewise.
24093         (_IO_new_file_seekoff): Split out ftell logic.
24094         * libio/wfileops.c (do_ftell_wide): Likewise.
24095         (_IO_wfile_seekoff): Split out ftell logic.
24096         * libio/tst-ftell-active-handler.c: New test case.
24097         * libio/Makefile (tests): Add it.
24099 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24101         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24102         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24104 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24106         [BZ #16639]
24107         * nscd/connections.c (nscd_init): Call do_exit.
24108         (start_threads): Call do_exit and notify_parent.
24109         (begin_drop_privileges): Call do_exit.
24110         (finish_drop_privileges): Likewise.
24111         * nscd/selinux.c (preserve_capabilities): Likewise.
24112         (install_real_capabilities): Likewise.
24113         (nscd_selinux_enabled): Likewise.
24114         (avc_create_thread): Likewise.
24115         (avc_alloc_lock): Likewise.
24116         (nscd_avc_init): Likewise.
24117         * nscd/nscd.c (parent_fd): New static variable.
24118         (main): Create a pipe between parent and child processes.
24119         Skip closing parent_fd.
24120         (monitor_child): New function.
24121         (do_exit): Likewise.
24122         (notify_parent): Likewise.
24123         * nscd/nscd.h (notify_parent): Likewise.
24124         (do_exit): Likewise.
24126 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24128         * malloc/malloc.c (__libc_calloc): Revert last change.
24130 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24134 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24136         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24138         implementation.
24139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24140         (__libc_ifunc_impl_list): Likewise.
24141         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24142         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24143         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24144         * string/strrchr.c: Define STRRCHR.
24146 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24148         * benchtest/bench-strtok.c (simple_strtok): Delete.
24149         (strtok_string): Use as benchmark.
24150         * string/strtok (STRTOK): New macro.
24152 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24154         * manual/threads.texi: Add header and standard comments to all
24155         functions.
24157         * elf/dl-lookup.c (check_match): New function.
24158         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24159         (do_lookup_x): Remove nested function check_match. Use non-nested
24160         function check_match.
24162 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24164         * csu/Makefile (generated, before-compile): Use += rather than =.
24165         * catgets/Makefile (generated, generated-dirs): Likewise.
24166         * debug/Makefile (generated): Likewise.
24167         * dlfcn/Makefile (generated): Likewise.
24168         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24169         * iconvdata/Makefile (before-compile, generated): Likewise.
24170         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24171         * libio/Makefile (generated): Likewise.
24172         * malloc/Makefile (generated): Likewise.
24173         * manual/Makefile (generated, generated-dirs): Likewise.
24174         * misc/Makefile (generated): Likewise.
24175         * posix/Makefile (generated): Likewise.
24176         * resolv/Makefile (generated): Likewise.
24177         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24178         * timezone/Makefile (generated, generated-dirs): Likewise.
24180         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24182 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24185         power8 implementation.
24186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24187         file: POWER8 llround ifunc implementation.
24188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24189         (__lllround): Add POWER8 implementation.
24190         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24191         POWER8 llround implementation.
24193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24194         power8 implementation.
24195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24196         file: POWER8 llrint ifunc implementation.
24197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24198         Add POWER8 implementation.
24199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24200         POWER8 llrint implementation.
24202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24203         power8 implementation.
24204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24205         file: POWER8 finite ifunc implementation.
24206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24207         Add POWER8 implementation.
24208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24209         Likewise.
24210         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24211         POWER8 finite implementation.
24212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24215         power8 implementation.
24216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24217         file: POWER8 isinf ifunc implementation.
24218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24219         POWER8 implementation.
24220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24221         Likewise.
24222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24223         isinf implementation.
24224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24226         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24227         (INIT_ARCH): Add hwcap2 initialization.
24228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24229         power8 implementation.
24230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24231         file: POWER8 isnan ifunc implementation.
24232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24233         POWER8 implementation.
24234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24235         Likewise.
24236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24237         isnan implementation.
24238         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24240 2014-02-27  Joey Ye  <joey.ye@arm.com>
24242         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24243         (_FP_NANFRAC_Q): Set to zero.
24245 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24247         [BZ #16623]
24248         * math/auto-libm-test-in: New test inputs.
24249         * math/auto-libm-test-out: Regenerate.
24250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24251         and DA.
24252         (__cos): Likewise.
24253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24255 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24257         * scripts/evaluate-test.sh: Take new argument indicating whether
24258         failure is expected.
24259         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24260         indicating whether failure is expected.
24261         * conform/Makefile (test-xfail-run-conformtest): New variable.
24262         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24263         level.
24264         * posix/Makefile (test-xfail-annexc): New variable.
24265         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24267 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24269         * argp/Makefile: Include Makeconfig immediately after defining
24270         subdir.
24271         * assert/Makefile: Likewise.
24272         * benchtests/Makefile: Likewise.
24273         * catgets/Makefile: Likewise.
24274         * conform/Makefile: Likewise.
24275         * crypt/Makefile: Likewise.
24276         * csu/Makefile: Likewise.
24277         (all): Remove target.
24278         * ctype/Makefile: Include Makeconfig immediately after defining
24279         subdir.
24280         * debug/Makefile: Likewise.
24281         * dirent/Makefile: Likewise.
24282         * dlfcn/Makefile: Likewise.
24283         * gmon/Makefile: Likewise.
24284         * gnulib/Makefile: Likewise.
24285         * grp/Makefile: Likewise.
24286         * gshadow/Makefile: Likewise.
24287         * hesiod/Makefile: Likewise.
24288         * hurd/Makefile: Likewise.
24289         (all): Remove target.
24290         * iconvdata/Makefile: Include Makeconfig immediately after
24291         defining subdir.
24292         * inet/Makefile: Likewise.
24293         * intl/Makefile: Likewise.
24294         * io/Makefile: Likewise.
24295         * libio/Makefile: Likewise.
24296         (all): Remove target.
24297         * locale/Makefile: Include Makeconfig immediately after defining
24298         subdir.
24299         * login/Makefile: Likewise.
24300         * mach/Makefile: Likewise.
24301         (all): Remove target.
24302         * malloc/Makefile: Include Makeconfig immediately after defining
24303         subdir.
24304         (all): Remove target.
24305         * manual/Makefile: Include Makeconfig immediately after defining
24306         subdir.
24307         * math/Makefile: Likewise.
24308         * misc/Makefile: Likewise.
24309         * nis/Makefile: Likewise.
24310         * nss/Makefile: Likewise.
24311         * po/Makefile: Likewise.
24312         (all): Remove target.
24313         * posix/Makefile: Include Makeconfig immediately after defining
24314         subdir.
24315         * pwd/Makefile: Likewise.
24316         * resolv/Makefile: Likewise.
24317         * resource/Makefile: Likewise.
24318         * rt/Makefile: Likewise.
24319         * setjmp/Makefile: Likewise.
24320         * shadow/Makefile: Likewise.
24321         * signal/Makefile: Likewise.
24322         * socket/Makefile: Likewise.
24323         * soft-fp/Makefile: Likewise.
24324         * stdio-common/Makefile: Likewise.
24325         * stdlib/Makefile: Likewise.
24326         * streams/Makefile: Likewise.
24327         * string/Makefile: Likewise.
24328         * sunrpc/Makefile: Likewise.
24329         (all): Remove target.
24330         * sysvipc/Makefile: Include Makeconfig immediately after defining
24331         subdir.
24332         * termios/Makefile: Likewise.
24333         * time/Makefile: Likewise.
24334         * timezone/Makefile: Likewise.
24335         (all): Remove target.
24336         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24337         subdir.
24338         * wctype/Makefile: Likewise.
24340 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24342         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24343         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24344         (libc_feholdexcept_setround_mips): Ditto.
24345         (libc_feholdsetround): New.
24346         (libc_feholdsetroundf): New.
24347         (libc_feholdsetroundl): New.
24348         (libc_feupdateenv_test_mips): New.
24349         (libc_feupdateenv_test): New.
24350         (libc_feupdateenv_testf): New.
24351         (libc_feupdateenv_testl): New.
24352         (libc_feresetround): New.
24353         (libc_feresetroundf): New.
24354         (libc_feresetroundl): New.
24355         (libc_fetestexcept_mips): New.
24356         (libc_fetestexcept): New.
24357         (libc_fetestexceptf): New.
24358         (libc_fetestexceptl): New.
24359         (HAVE_RM_CTX): New.
24360         (libc_feholdexcept_setround_mips_ctx): New.
24361         (libc_feholdexcept_setround_ctx): New.
24362         (libc_feholdexcept_setroundf_ctx): New.
24363         (libc_feholdexcept_setroundl_ctx): New.
24364         (libc_fesetenv_mips_ctx): New.
24365         (libc_fesetenv_ctx): New.
24366         (libc_fesetenv_ctxf): New.
24367         (libc_fesetenv_ctxl): New.
24368         (libc_feupdateenv_mips_ctx): New.
24369         (libc_feupdateenv_ctx): New.
24370         (libc_feupdateenvf_ctx): New.
24371         (libc_feupdateenvl_ctx): New.
24372         (libc_feholdsetround_mips_ctx): New.
24373         (libc_feholdsetround_ctx): New.
24374         (libc_feholdsetroundf_ctx): New.
24375         (libc_feholdsetroundl_ctx): New.
24376         (libc_feresetround_mips_ctx): New.
24377         (libc_feresetround_ctx): New.
24378         (libc_feresetroundf_ctx): New.
24379         (libc_feresetroundl_ctx): New.
24381 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24383         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24385         * manual/ipc.texi: New file.
24386         * manual/Makefile (chapters): Add ipc.
24387         * manual/job.texi: Add "Inter-Process Communication" to next.
24388         * manual/process.texi: Add "Inter-Process Communication" to prev.
24390 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24394 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24396         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24398         * manual/arith.texi: Fix spaces after sentences.
24399         * manual/charset.texi: Likewise.
24400         * manual/errno.texi: Likewise.
24401         * manual/install.texi: Likewise.
24402         * manual/llio.texi: Likewise.
24403         * manual/locale.texi: Likewise.
24404         * manual/maint.texi: Likewise.
24405         * manual/math.texi: Likewise.
24406         * manual/memory.texi: Likewise.
24407         * manual/message.texi: Likewise.
24408         * manual/probes.texi: Likewise.
24409         * manual/resource.texi: Likewise.
24410         * manual/signal.texi: Likewise.
24411         * manual/socket.texi: Likewise.
24412         * manual/stdio.texi: Likewise.
24413         * manual/string.texi: Likewise.
24414         * manual/time.texi: Likewise.
24415         * manual/users.texi: Likewise.
24417 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24419         [BZ #16632]
24420         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24421         _DEFAULT_SOURCE is defined.
24423 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24424             Carlos O'Donell  <carlos@redhat.com>
24426         [BZ #16613]
24427         * elf/dl-tls.c (_dl_count_modids): New function.
24428         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24429         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24430         audit library and increment generation counter.
24431         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24432         * elf/tst-audit9.c: New file.
24433         * elf/tst-auditmod9a.c: New file.
24434         * elf/tst-auditmod9b.c: New file.
24435         * elf/Makefile: Add rules to build and run tst-audit9.
24437 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24439         [BZ #15347]
24440         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24442 2014-02-25  Will Newton  <will.newton@linaro.org>
24444         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24445         (__longjmp): Restore sp and lr before restoring callee
24446         saved registers.  Add longjmp and longjmp_target
24447         SystemTap probe point.
24448         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24449         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24450         Define to zero to match jmpbuf layout.
24451         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24452         (__sigsetjmp): Save sp and lr before saving callee
24453         saved registers.  Add setjmp SystemTap probe point.
24455 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24459 2014-02-24  Andreas Schwab  <schwab@suse.de>
24461         [BZ #15804]
24462         * elf/pldd.c (wait_for_ptrace_stop): New function.
24463         (main): Call it after attaching.
24465 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24467         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24468         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24469         Versions files is now verboten.
24470         * hurd/Versions (libc: GLIBC_2.0):
24471         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24472         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24473         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24474         * mach/Versions: Likewise.
24476         * csu/Versions: Remove unused %include.
24477         * resolv/Versions: Likewise.
24479 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24481         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24482         ($(objpfx)check-local-headers.out): Likewise.
24483         ($(objpfx)begin-end-check.out): Likewise.
24484         * Makerules (check-abi-%.out): Likewise.
24485         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24486         ($(objpfx)test2.cat): Likewise.
24487         ($(objpfx)de/libc.cat): Likewise.
24488         ($(objpfx)test-gencat.out): Likewise.
24489         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24490         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24491         ($(objpfx)noload-mem): Likewise.
24492         ($(objpfx)tst-pathopt.out): Likewise.
24493         ($(objpfx)tst-rtld-load-self.out): Likewise.
24494         ($(objpfx)tst-array1-cmp.out): Likewise.
24495         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24496         ($(objpfx)tst-array2-cmp.out): Likewise.
24497         ($(objpfx)tst-array3-cmp.out): Likewise.
24498         ($(objpfx)tst-array4-cmp.out): Likewise.
24499         ($(objpfx)tst-array5-cmp.out): Likewise.
24500         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24501         ($(objpfx)check-textrel.out): Likewise.
24502         ($(objpfx)check-execstack.out): Likewise.
24503         ($(objpfx)check-localplt.out): Likewise.
24504         ($(objpfx)order2-cmp.out): Likewise.
24505         ($(objpfx)tst-leaks1-mem): Likewise.
24506         ($(objpfx)tst-leaks1-static-mem): Likewise.
24507         ($(objpfx)tst-initorder-cmp.out): Likewise.
24508         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24509         ($(objpfx)tst-unused-dep.out): Likewise.
24510         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24511         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24512         * iconv/Makefile (test-iconvconfig): Likewise.
24513         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24514         ($(objpfx)iconv-test.out): Likewise.
24515         ($(objpfx)tst-tables.out): Likewise.
24516         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24517         ($(objpfx)tst-gettext.out): Likewise.
24518         ($(objpfx)tst-translit.out): Likewise.
24519         ($(objpfx)tst-gettext2.out): Likewise.
24520         ($(objpfx)tst-gettext4.out): Likewise.
24521         ($(objpfx)tst-gettext6.out): Likewise.
24522         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24523         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24524         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24525         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24526         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24527         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24528         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24529         ($(objpfx)wordexp-tst.out): Likewise.
24530         ($(objpfx)annexc.out): Likewise.
24531         ($(objpfx)tst-fnmatch-mem): Likewise.
24532         ($(objpfx)bug-regex2-mem): Likewise.
24533         ($(objpfx)bug-regex14-mem): Likewise.
24534         ($(objpfx)bug-regex21-mem): Likewise.
24535         ($(objpfx)bug-regex31-mem): Likewise.
24536         ($(objpfx)tst-vfork3-mem): Likewise.
24537         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24538         ($(objpfx)tst-pcre-mem): Likewise.
24539         ($(objpfx)tst-boost-mem): Likewise.
24540         ($(objpfx)tst-getconf.out): Likewise.
24541         ($(objpfx)bug-ga2-mem): Likewise.
24542         ($(objpfx)bug-glob2-mem): Likewise.
24543         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24544         ($(objpfx)mtrace-tst-leaks2): Likewise.
24545         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24546         ($(objpfx)tst-printf.out): Likewise.
24547         ($(objpfx)tst-setvbuf1.out): Likewise.
24548         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24549         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24550         ($(objpfx)tst-fmtmsg.out): Likewise.
24551         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24552         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24554         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24555         * bits/sigaction.h [__USE_MISC]: Likewise.
24556         * bits/waitstatus.h: Update #endif comments.
24557         * ctype/ctype.h: Likewise.
24558         * dirent/dirent.h: Likewise.
24559         [__USE_MISC]: Remove redundant conditionals.
24560         * grp/grp.h: Update #endif comments.
24561         [__USE_GNU]: Remove redundant conditionals.
24562         [__USE_MISC]: Likewise.
24563         * inet/netinet/in.h [__USE_GNU]: Likewise.
24564         * io/sys/stat.h [__USE_MISC]: Likewise.
24565         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24566         * libio/bits/stdio.h: Update #endif comments.
24567         [__USE_MISC]: Remove redundant conditionals.
24568         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24569         * libio/stdio.h: Update #endif comments.
24570         [__USE_MISC]: Remove redundant conditionals.
24571         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24572         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24573         * math/math.h: Update #else and #endif comments.
24574         [__USE_MISC]: Remove redundant conditionals.
24575         * misc/sys/uio.h: Update #endif comments.
24576         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24577         * posix/glob.h [__USE_MISC]: Likewise.
24578         * posix/sys/types.h: Update #endif comments.
24579         [__USE_MISC]: Remove redundant conditionals.
24580         * posix/sys/wait.h: Update #endif comments.
24581         [__USE_MISC]: Remove redundant conditionals.
24582         * posix/unistd.h: Update #endif comments.
24583         [__USE_MISC]: Remove redundant conditionals.
24584         * pwd/pwd.h [__USE_GNU]: Likewise.
24585         [__USE_MISC]: Likewise.
24586         * resolv/netdb.h [__USE_GNU]: Likewise.
24587         * signal/signal.h: Update #endif comments.
24588         [__USE_MISC]: Remove redundant conditionals.
24589         * stdlib/stdlib.h: Update #else and #endif comments.
24590         [__USE_MISC]: Remove redundant conditionals.
24591         [__USE_GNU]: Likewise.
24592         * string/bits/string2.h [__USE_MISC]: Likewise.
24593         * string/string.h: Update #endif comments.
24594         [__USE_MISC]: Remove redundant conditionals.
24595         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24596         Likewise.
24597         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24598         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24599         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24600         Likewise.
24601         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24602         Likewise.
24603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24604         comments.
24605         [__USE_MISC]: Remove redundant conditionals.
24606         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24607         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24608         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24609         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24610         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24611         Likewise.
24612         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24613         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24614         Likewise.
24615         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24616         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24617         Likewise.
24618         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24619         Likewise.
24620         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24621         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24622         Likewise.
24623         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24624         Likewise.
24625         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24626         * sysdeps/x86/bits/string.h: Update #endif comments.
24627         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24628         conditionals.
24629         * time/sys/time.h: Update #endif comments.
24630         * time/time.h: Likewise.
24631         [__USE_MISC]: Remove redundant conditionals.
24633 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24635         [BZ #16600]
24636         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24638 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24640         * Versions.def (librt): Add GLIBC_2.17.
24642 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24644         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24645         synonym for _SYS_AUXV_H to allow direct inclusion.
24646         * sysdeps/sparc/bits/hwcap.h: Likewise.
24647         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24648         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24649         * sysdeps/sparc/sysdep.h: Likewise.
24651 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24653         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24655 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24657         * benchtests/bench-strrchr.c: Print length instead of position.
24659 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24661         [BZ #16611]
24662         * sysdeps/unix/sysv/linux/kernel-features.h
24663         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24664         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24665         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24666         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24667         Likewise.
24668         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24669         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24670         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24671         (__ASSUME_SENDMMSG): Define instead of using previous
24672         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24674         (__ASSUME_SENDMMSG_SYSCALL): Define.
24675         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24676         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24677         Likewise.
24678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24679         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24680         Likewise.
24681         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24682         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24683         Likewise.
24684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24685         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24686         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24687         [__ASSUME_SENDMMSG]: Change conditionals to
24688         [__ASSUME_SENDMMSG_SOCKETCALL].
24689         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24690         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24691         Define.
24692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24693         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24694         Likewise.
24695         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24696         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24697         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24698         [!__ASSUME_SENDMMSG]: Change conditional to
24699         [!__ASSUME_SENDMMSG_SOCKETCALL].
24700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24701         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24702         Define.
24704         [BZ #16610]
24705         * sysdeps/unix/sysv/linux/kernel-features.h
24706         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24707         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24708         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24709         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24710         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24711         [__i386__ || __sparc__]
24712         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24713         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24714         (__ASSUME_RECVMMSG): Define instead of using previous
24715         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24717         (__ASSUME_RECVMMSG_SYSCALL): Define.
24718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24720         Likewise.
24721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24723         Likewise.
24724         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24725         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24726         Likewise.
24727         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24728         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24729         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24730         [__ASSUME_RECVMMSG]: Change condition to
24731         [__ASSUME_RECVMMSG_SOCKETCALL].
24732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24734         Define.
24735         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24738         Likewise.
24739         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24740         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24741         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24742         [!__ASSUME_RECVMMSG]: Change condition to
24743         [!__ASSUME_RECVMMSG_SOCKETCALL].
24744         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24745         (__ASSUME_RECVMMSG_SYSCALL): Define.
24747         [BZ #16609]
24748         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24749         __powerpc__ || __s390__ || __sh__ || __sparc__]
24750         (__ASSUME_SOCKETCALL): Define.
24751         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24752         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24753         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24754         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24755         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24756         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24757         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24758         (__ASSUME_ACCEPT4): Define instead of using previous
24759         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24760         __powerpc__ || __sparc__ || __s390__)] condition.
24761         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24762         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24763         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24764         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24765         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24766         [!__ASSUME_ACCEPT4]: Change condition to
24767         [!__ASSUME_ACCEPT4_SOCKETCALL].
24768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24769         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24770         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24772         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24773         __ASSUME_ACCEPT4_SYSCALL.
24774         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24775         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24776         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24777         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24778         __ASSUME_ACCEPT4_SYSCALL.
24779         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24780         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24781         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24782         [__ASSUME_ACCEPT4]: Change condition to
24783         [__ASSUME_ACCEPT4_SOCKETCALL].
24784         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24785         (__ASSUME_SOCKETCALL): Define.
24786         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24788         (__ASSUME_SOCKETCALL): Define.
24789         (__ASSUME_ACCEPT4): Remove.
24790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24791         Define.
24792         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24793         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24794         Likewise.
24795         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24796         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24798         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24799         macro.
24800         (HWCAP_ARM_LPAE): Likewise.
24801         (HWCAP_ARM_EVTSTRM): Likewise.
24802         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24803         Add vpfd32, lpae and evtstrm.
24804         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24805         Increase to 22.
24807 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24809         * math/auto-libm-test-in: Add tests of clog10.
24810         * math/auto-libm-test-out: Regenerated.
24811         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24812         * sysdeps/i386/fpu/libm-test-ulps: Update.
24813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24815 2014-02-18  Andreas Schwab  <schwab@suse.de>
24817         [BZ #16574]
24818         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24819         Store non-zero if the second buffer was newly allocated.
24820         (send_dg): Likewise.
24821         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24822         to send_vc and send_dg.
24823         (res_nsend): Pass NULL for ansp2_malloced.
24824         * resolv/res_query.c (__libc_res_nquery): Add parameter
24825         answerp2_malloced and pass it down to __libc_res_nsend.
24826         (res_nquery): Pass additional NULL to __libc_res_nquery.
24827         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24828         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24829         second answer buffer if answerp2_malloced was set.
24830         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24831         (__libc_res_nquerydomain): Add parameter
24832         answerp2_malloced and pass it down to __libc_res_nquery.
24833         (res_nquerydomain): Pass additional NULL to
24834         __libc_res_nquerydomain.
24835         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24836         additional NULL to __libc_res_nsend and __libc_res_nquery.
24837         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24838         additional NULL to __libc_res_nsearch.
24839         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24840         parameter of __libc_res_nsearch to check for separately allocated
24841         second buffer.
24842         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24843         __libc_res_nquery.
24844         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24845         additional NULL to __libc_res_nquery.
24846         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24847         __libc_res_nsearch.
24848         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24849         * include/resolv.h: Update prototypes of __libc_res_nquery,
24850         __libc_res_nsearch, __libc_res_nsend.
24852 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24854         * math/auto-libm-test-in: Add tests of fma.
24855         * math/auto-libm-test-out: Regenerated.
24856         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24857         (fma_towardzero_test_data): Likewise.
24858         (fma_downward_test_data): Likewise.
24859         (fma_upward_test_data): Likewise.
24860         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24861         mpc_mode.
24862         (rounding_modes): Add values for new field.
24863         (func_calc_method): Add value mpfr_fff_f.
24864         (func_calc_desc): Add mpfr_fff_f union field.
24865         (test_function): Add field exact_args.
24866         (FUNC): Add macro argument EXACT_ARGS.
24867         (FUNC_mpfr_f_f): Update call to FUNC.
24868         (FUNC_mpfr_f_f): Likewise.
24869         (FUNC_mpfr_ff_f): Likewise.
24870         (FUNC_mpfr_if_f): Likewise.
24871         (FUNC_mpc_c_f): Likewise.
24872         (FUNC_mpc_c_c): Likewise.
24873         (test_functions): Add fma.  Update calls to FUNC.
24874         (handle_input_arg): Add argument exact_args.
24875         (add_test): Update call to handle_input_arg.
24876         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24877         (output_for_one_input_case): Update call to calc_generic_results.
24878         Recalculate exact zero results in each rounding mode.
24880         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24881         non-negative before setting low bit.
24882         * math/auto-libm-test-in: Mark one asin test possibly having
24883         spurious underflow.
24884         * math/auto-libm-test-out: Regenerated.
24885         * sysdeps/i386/fpu/libm-test-ulps: Update.
24886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24888 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24890         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24891         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24892         ports/sysdeps/unix/sysv/linux/microblaze.
24893         * README: Add missing listing for microblaze*-*-linux-gnu.
24895 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24898         duplicate code
24900 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24902         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24903         * sysdeps/unix/sysv/linux/ia64: Move directory from
24904         ports/sysdeps/unix/sysv/linux/ia64.
24905         * README: Update listing for ia64-*-linux-gnu.
24907 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24908             Joseph Myers  <joseph@codesourcery.com>
24910         * Makeconfig (test-name): New variable.
24911         (evaluate-test): Likewise.
24912         * Makerules (do-test-clean): Remove .test-result files.
24913         (common-mostlyclean): Likewise.
24914         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24915         * scripts/evaluate-test.sh: New file.
24917 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24919         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24920         separate $(objpfx)tst-fopenloc-cmp.out and
24921         $(objpfx)tst-fopenloc-mem.out targets.
24922         (tests): Update dependencies.
24923         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24924         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24925         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24926         (tst-rxspencer-no-utf8-ARGS): New variable.
24927         (tst-rxspencer-no-utf8-ENV): Likewise.
24928         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24929         instead of $(objpfx)tst-rxspencer-mem.
24930         ($(objpfx)tst-rxspencer-mem): Change target to
24931         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24932         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24933         * posix/tst-rxspencer-no-utf8.c: New file.
24935         * elf/Makefile ($(objpfx)order.out): Remove rule.
24936         [$(run-built-tests) = yes] (tests): Depend on
24937         $(objpfx)order-cmp.out.
24938         ($(objpfx)order-cmp.out): New rule.
24939         [$(run-built-tests) = yes] (tests): Depend on
24940         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24941         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24942         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24943         $(objpfx)tst-array5-static-cmp.out.
24944         ($(objpfx)tst-array1.out): Remove rule.
24945         ($(objpfx)tst-array1-cmp.out): New rule.
24946         ($(objpfx)tst-array1-static.out): Remove rule.
24947         ($(objpfx)tst-array1-static-cmp.out): New rule.
24948         ($(objpfx)tst-array2.out): Remove rule.
24949         ($(objpfx)tst-array2-cmp.out): New rule.
24950         ($(objpfx)tst-array3.out): Remove rule.
24951         ($(objpfx)tst-array3-cmp.out): New rule.
24952         ($(objpfx)tst-array4.out): Remove rule.
24953         ($(objpfx)tst-array4-cmp.out): New rule.
24954         ($(objpfx)tst-array5.out): Remove rule.
24955         ($(objpfx)tst-array5-cmp.out): New rule.
24956         ($(objpfx)tst-array5-static.out): Remove rule.
24957         ($(objpfx)tst-array5-static-cmp.out): New rule.
24958         [$(run-built-tests) = yes] (tests): Depend on
24959         $(objpfx)order2-cmp.out.
24960         ($(objpfx)order2.out): Remove rule.
24961         ($(objpfx)order2-cmp.out): New rule.
24962         ($(objpfx)tst-initorder.out): Remove rule.
24963         [$(run-built-tests) = yes] (tests): Depend on
24964         $(objpfx)tst-initorder-cmp.out.
24965         ($(objpfx)tst-initorder-cmp.out): New rule.
24966         ($(objpfx)tst-initorder2.out): Remove rule.
24967         [$(run-built-tests) = yes] (tests): Depend on
24968         $(objpfx)tst-initorder2-cmp.out.
24969         ($(objpfx)tst-initorder2-cmp.out): New rule.
24970         [$(run-built-tests) = yes] (tests): Depend on
24971         $(objpfx)tst-unused-dep-cmp.out.
24972         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24973         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24974         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24975         on $(objpfx)tst-setvbuf1-cmp.out.
24976         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24977         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24978         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24979         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24980         ($(objpfx)tst-svc.out): Remove rule.
24981         ($(objpfx)tst-svc-cmp.out): New rule.
24983 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24985         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24986         * ctype/ctype.h [__USE_MISC]: Likewise.
24987         * dirent/dirent.h [__USE_MISC]: Likewise.
24988         * grp/grp.h [__USE_MISC]: Likewise.
24989         * io/fcntl.h [__USE_MISC]: Likewise.
24990         * io/sys/stat.h [__USE_MISC]: Likewise.
24991         * libio/stdio.h [__USE_MISC]: Likewise.
24992         * posix/unistd.h [__USE_MISC]: Likewise.
24993         * pwd/pwd.h [__USE_MISC]: Likewise.
24994         * stdlib.h [__USE_MISC]: Likewise.
24995         * string/bits/string2.h [__USE_MISC]: Likewise.
24996         * string/string.h [__USE_MISC]: Likewise.
24997         * time/time.h [__USE_MISC]: Likewise.
24999 2014-02-13  Andreas Schwab  <schwab@suse.de>
25001         [BZ #16574]
25002         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25003         second answer buffer if it was separately allocated.
25005 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
25007         * sysdeps/mips/math-tests.h: Include <features.h>.
25008         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25009         (ROUNDING_TESTS_long_double): Do not define.
25010         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25011         (EXCEPTION_TESTS_long_double): Likewise.
25012         * sysdeps/mips/mips64/libm-test-ulps: Update.
25014         * include/features.h (__USE_BSD): Remove macro definitions.
25015         (__USE_SVID): Likewise.
25016         (_BSD_SOURCE): Likewise.
25017         (_SVID_SOURCE): Likewise.
25018         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25019         from definition of _DEFAULT_SOURCE.
25020         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25021         [_DEFAULT_SOURCE].
25022         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25023         * bits/mman.h [__USE_BSD]: Likewise.
25024         * bits/termios.h [__USE_BSD]: Likewise.
25025         * bits/waitstatus.h [__USE_BSD]: Likewise.
25026         * ctype/ctype.h [__USE_SVID]: Likewise.
25027         * dirent/dirent.h [__USE_BSD]: Likewise.
25028         * grp/grp.h [__USE_SVID]: Likewise.
25029         [__USE_BSD]: Likewise.
25030         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25031         * io/fcntl.h [__USE_BSD]: Likewise.
25032         * io/ftw.h [__USE_BSD]: Likewise.
25033         * io/sys/stat.h [__USE_BSD]: Likewise.
25034         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25035         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25036         * libio/stdio.h [__USE_SVID]: Likewise.
25037         [__USE_BSD]: Likewise.
25038         * math/math.h [__USE_SVID]: Likewise.
25039         [__USE_BSD]: Likewise.
25040         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25041         * misc/bits/syslog.h [__USE_BSD]: Likewise.
25042         * misc/search.h [__USE_SVID]: Likewise.
25043         * misc/sys/mman.h [__USE_BSD]: Likewise.
25044         * misc/sys/syslog.h [__USE_BSD]: Likewise.
25045         * misc/sys/uio.h [__USE_BSD]: Likewise.
25046         * posix/bits/unistd.h [__USE_BSD]: Likewise.
25047         * posix/glob.h [__USE_BSD]: Likewise.
25048         * posix/regex.h [__USE_BSD]: Likewise.
25049         * posix/sys/types.h [__USE_BSD]: Likewise.
25050         [__USE_SVID]: Likewise.
25051         * posix/sys/utsname.h [__USE_SVID]: Likewise.
25052         * posix/sys/wait.h [__USE_BSD]: Likewise.
25053         [__USE_SVID]: Likewise.
25054         * posix/unistd.h [__USE_BSD]: Likewise.
25055         [__USE_SVID]: Likewise.
25056         * pwd/pwd.h [__USE_SVID]: Likewise.
25057         * resolv/netdb.h [__USE_BSD]: Likewise.
25058         * setjmp/setjmp.h [__USE_BSD]: Likewise.
25059         * signal/signal.h [__USE_BSD]: Likewise.
25060         [__USE_SVID]: Likewise.
25061         * socket/sys/socket.h [__USE_BSD]: Likewise.
25062         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25063         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25064         [__USE_SVID]: Likewise.
25065         * string/bits/string2.h [__USE_BSD]: Likewise.
25066         [__USE_SVID]: Likewise.
25067         * string/bits/string3.h [__USE_BSD]: Likewise.
25068         * string/endian.h [__USE_BSD]: Likewise.
25069         * string/string.h [__USE_SVID]: Likewise.
25070         [__USE_BSD]: Likewise.
25071         * string/strings.h [__USE_BSD]: Likewise.
25072         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25073         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25074         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25075         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25076         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25077         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25078         Likewise.
25079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25080         Likewise.
25081         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25082         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25083         Likewise.
25084         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25085         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25086         Likewise.
25087         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25088         Likewise.
25089         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25090         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25091         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25092         Likewise.
25093         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25094         Likewise.
25095         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25096         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25097         * termios/termios.h [__USE_BSD]: Likewise.
25098         * time/sys/time.h [__USE_BSD]: Likewise.
25099         * time/time.h [__USE_BSD]: Likewise.
25100         [__USE_SVID]: Likewise.
25102         * Makefile (subdir_targets): Remove subdir_lint.out.
25104         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25105         (do-tst-printf): Likewise.
25106         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25107         $(objpfx)tst-printf.out.
25109         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25111         * Makerules (check-abi-%): Change target to
25112         $(objpfx)check-abi-%.out.
25113         (check-abi target): Update dependencies.
25114         (check-abi-pattern variable): Redirect output of diff to $@.
25115         (check-abi variable): Likewise.
25116         * elf/Makefile (check-abi): Update dependencies.
25118         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25119         unused.
25120         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25121         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25122         subnormal range.
25123         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25124         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25125         value has largest subnormal exponent.
25126         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25127         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25128         * sysdeps/aarch64/soft-fp/sfp-machine.h
25129         (_FP_TININESS_AFTER_ROUNDING): New macro.
25130         * sysdeps/alpha/soft-fp/sfp-machine.h
25131         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25132         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25133         Likewise.
25134         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25135         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25136         * sysdeps/mips/soft-fp/sfp-machine.h
25137         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25138         * sysdeps/powerpc/soft-fp/sfp-machine.h
25139         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25140         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25141         Likewise.
25142         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25143         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25144         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25145         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25146         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25147         Likewise.
25149 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25151         [BZ #16545]
25152         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25153         model 1.
25155 2014-02-12  Richard Henderson  <rth@redhat.com>
25157         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25158         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25159         * sysdeps/unix/sysv/linux/alpha: Move directory from
25160         ports/sysdeps/unix/sysv/linux/alpha.
25161         * README: Update listing for alpha-*-linux-gnu.
25163 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25165         * include/features.h: Update comment documenting feature test
25166         macros.
25167         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25168         _DEFAULT_SOURCE.
25169         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25170         (_SVID_SOURCE): Likewise.
25171         (_DEFAULT_SOURCE): Update description of default features.
25172         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25173         with _GNU_SOURCE.
25174         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25175         (S_ISVTX): Likewise.
25176         * manual/math.texi (Mathematical Constants): Likewise.
25177         * manual/signal.texi (Interrupted Primitives): Likewise.
25178         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25179         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25180         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25181         Don't refer to _SVID_SOURCE in warning text.
25183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25185         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25186         already defined.
25187         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25188         * sysdeps/mips/dl-lookup.c: Remove.
25189         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25191 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25193         [BZ #16447]
25194         * math/auto-libm-test-in: Add testcase for expl.
25195         * math/auto-libm-test-out: Regenerate.
25196         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25197         calculation of unsafe.
25198         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25200 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25202         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25203         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25204         ports/sysdeps/unix/sysv/linux/aarch64.
25205         * README: Update listing for aarch64*-*-linux-gnu.
25207 2014-02-11  Will Newton  <will.newton@linaro.org>
25209         * manual/probes.texi (Mathematical Function Probes): Use
25210         "triggered" instead of "hit".
25212         * manual/probes.texi (Internal Probes): Add documentation
25213         of setjmp, longjmp and longjmp_target probes.
25215         * include/stap-probe.h: Add comment about probe argument
25216         format.
25218         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25219         definition.  (tr_where, tr_freehook, tr_mallochook,
25220         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25222 2014-02-11  David S. Miller  <davem@davemloft.net>
25224         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25225         processing int_tests.
25227 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25229         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25230         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25231         * sysdeps/unix/sysv/linux/mips: Move directory from
25232         ports/sysdeps/unix/sysv/linux/mips.
25233         * README: Update listing for mips-*-linux-gnu and
25234         mips64-*-linux-gnu.
25236 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25238         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25239         * sysdeps/unix/sysv/linux/m68k: Move directory from
25240         ports/sysdeps/unix/sysv/linux/m68k.
25241         * README: Update listing for m68k-*-linux-gnu.
25243 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25245         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25246         * sysdeps/unix/sysv/linux/generic: Move directory from
25247         ports/sysdeps/unix/sysv/linux/generic.
25248         * sysdeps/unix/sysv/linux/tile: Move directory from
25249         ports/sysdeps/unix/sysv/linux/tile.
25250         * README: Update listing for tile*-*-linux-gnu.
25252 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25254         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25255         __builtin_expect.
25256         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25257         * catgets/open_catalog.c (__open_catalog): Likewise.
25258         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25259         * debug/confstr_chk.c: Likewise.
25260         * debug/fread_chk.c (__fread_chk): Likewise.
25261         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25262         * debug/getgroups_chk.c: Likewise.
25263         * debug/mbsnrtowcs_chk.c: Likewise.
25264         * debug/mbsrtowcs_chk.c: Likewise.
25265         * debug/mbstowcs_chk.c: Likewise.
25266         * debug/memcpy_chk.c: Likewise.
25267         * debug/memmove_chk.c: Likewise.
25268         * debug/mempcpy_chk.c: Likewise.
25269         * debug/memset_chk.c: Likewise.
25270         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25271         * debug/strcat_chk.c (__strcat_chk): Likewise.
25272         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25273         * debug/strncat_chk.c (__strncat_chk): Likewise.
25274         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25275         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25276         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25277         * debug/wcpncpy_chk.c: Likewise.
25278         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25279         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25280         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25281         * debug/wcsncpy_chk.c: Likewise.
25282         * debug/wcsnrtombs_chk.c: Likewise.
25283         * debug/wcsrtombs_chk.c: Likewise.
25284         * debug/wcstombs_chk.c: Likewise.
25285         * debug/wmemcpy_chk.c: Likewise.
25286         * debug/wmemmove_chk.c: Likewise.
25287         * debug/wmempcpy_chk.c: Likewise.
25288         * debug/wmemset_chk.c: Likewise.
25289         * dirent/scandirat.c (SCANDIRAT): Likewise.
25290         * dlfcn/dladdr1.c (dladdr1): Likewise.
25291         * dlfcn/dladdr.c (dladdr): Likewise.
25292         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25293         * dlfcn/dlerror.c (__dlerror): Likewise.
25294         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25295         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25296         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25297         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25298         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25299         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25300         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25301         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25302         Likewise.
25303         * elf/dl-conflict.c: Likewise.
25304         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25305         * elf/dl-dst.h: Likewise.
25306         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25307         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25308         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25309         * elf/dl-init.c (call_init, _dl_init): Likewise.
25310         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25311         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25312         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25313         Likewise.
25314         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25315         Likewise.
25316         * elf/dl-minimal.c (__libc_memalign): Likewise.
25317         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25318         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25319         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25320         * elf/dl-sym.c (do_sym): Likewise.
25321         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25322         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25323         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25324         * elf/dl-writev.h (_dl_writev): Likewise.
25325         * elf/ldconfig.c (search_dir): Likewise.
25326         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25327         (dl_main): Likewise.
25328         * elf/setup-vdso.h (setup_vdso): Likewise.
25329         * grp/compat-initgroups.c (compat_call): Likewise.
25330         * grp/fgetgrent.c (fgetgrent): Likewise.
25331         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25332         * grp/putgrent.c (putgrent): Likewise.
25333         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25334         Likewise.
25335         * hurd/hurdinit.c: Likewise.
25336         * iconvdata/8bit-gap.c (struct): Likewise.
25337         * iconvdata/ansi_x3.110.c : Likewise.
25338         * iconvdata/big5.c : Likewise.
25339         * iconvdata/big5hkscs.c : Likewise.
25340         * iconvdata/cp1255.c: Likewise.
25341         * iconvdata/cp1258.c : Likewise.
25342         * iconvdata/cp932.c : Likewise.
25343         * iconvdata/euc-cn.c: Likewise.
25344         * iconvdata/euc-jisx0213.c : Likewise.
25345         * iconvdata/euc-jp.c: Likewise.
25346         * iconvdata/euc-jp-ms.c : Likewise.
25347         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25348         * iconvdata/gb18030.c : Likewise.
25349         * iconvdata/gbbig5.c (const): Likewise.
25350         * iconvdata/gbgbk.c: Likewise.
25351         * iconvdata/gbk.c : Likewise.
25352         * iconvdata/ibm1364.c : Likewise.
25353         * iconvdata/ibm930.c : Likewise.
25354         * iconvdata/ibm932.c: Likewise.
25355         * iconvdata/ibm933.c : Likewise.
25356         * iconvdata/ibm935.c : Likewise.
25357         * iconvdata/ibm937.c : Likewise.
25358         * iconvdata/ibm939.c : Likewise.
25359         * iconvdata/ibm943.c: Likewise.
25360         * iconvdata/iso_11548-1.c: Likewise.
25361         * iconvdata/iso-2022-cn.c : Likewise.
25362         * iconvdata/iso-2022-cn-ext.c : Likewise.
25363         * iconvdata/iso-2022-jp-3.c: Likewise.
25364         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25365         * iconvdata/iso-2022-kr.c : Likewise.
25366         * iconvdata/iso646.c (gconv_end): Likewise.
25367         * iconvdata/iso_6937-2.c : Likewise.
25368         * iconvdata/iso_6937.c : Likewise.
25369         * iconvdata/iso8859-1.c: Likewise.
25370         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25371         * iconvdata/shift_jisx0213.c : Likewise.
25372         * iconvdata/sjis.c : Likewise.
25373         * iconvdata/t.61.c : Likewise.
25374         * iconvdata/tcvn5712-1.c : Likewise.
25375         * iconvdata/tscii.c: Likewise.
25376         * iconvdata/uhc.c : Likewise.
25377         * iconvdata/unicode.c (gconv_end): Likewise.
25378         * iconvdata/utf-16.c (gconv_end): Likewise.
25379         * iconvdata/utf-32.c (gconv_end): Likewise.
25380         * iconvdata/utf-7.c (base64): Likewise.
25381         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25382         * iconv/gconv_close.c (__gconv_close): Likewise.
25383         * iconv/gconv_open.c (__gconv_open): Likewise.
25384         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25385         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25386         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25387         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25388         (ucs4le_internal_loop_single): Likewise.
25389         * iconv/iconv.c (iconv): Likewise.
25390         * iconv/iconv_close.c: Likewise.
25391         * iconv/loop.c (SINGLE): Likewise.
25392         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25393         * include/atomic.h: Likewise.
25394         * inet/inet6_option.c (option_alloc): Likewise.
25395         * intl/bindtextdom.c (set_binding_values): Likewise.
25396         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25397         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25398         * intl/localealias.c (read_alias_file): Likewise.
25399         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25400         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25401         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25402         * libio/fmemopen.c (fmemopen): Likewise.
25403         * libio/iofgets.c (_IO_fgets): Likewise.
25404         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25405         * libio/iofgetws.c (fgetws): Likewise.
25406         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25407         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25408         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25409         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25410         * locale/findlocale.c (_nl_find_locale): Likewise.
25411         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25412         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25413         Likewise.
25414         * locale/setlocale.c (setlocale): Likewise.
25415         * login/programs/pt_chown.c (main): Likewise.
25416         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25417         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25418         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25419         (mmap, mmap64, mremap, munmap): Likewise.
25420         * math/e_exp2l.c: Likewise.
25421         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25422         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25423         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25424         * math/s_catan.c (__catan): Likewise.
25425         * math/s_catanf.c (__catanf): Likewise.
25426         * math/s_catanh.c (__catanh): Likewise.
25427         * math/s_catanhf.c (__catanhf): Likewise.
25428         * math/s_catanhl.c (__catanhl): Likewise.
25429         * math/s_catanl.c (__catanl): Likewise.
25430         * math/s_ccosh.c (__ccosh): Likewise.
25431         * math/s_ccoshf.c (__ccoshf): Likewise.
25432         * math/s_ccoshl.c (__ccoshl): Likewise.
25433         * math/s_cexp.c (__cexp): Likewise.
25434         * math/s_cexpf.c (__cexpf): Likewise.
25435         * math/s_cexpl.c (__cexpl): Likewise.
25436         * math/s_clog10.c (__clog10): Likewise.
25437         * math/s_clog10f.c (__clog10f): Likewise.
25438         * math/s_clog10l.c (__clog10l): Likewise.
25439         * math/s_clog.c (__clog): Likewise.
25440         * math/s_clogf.c (__clogf): Likewise.
25441         * math/s_clogl.c (__clogl): Likewise.
25442         * math/s_csin.c (__csin): Likewise.
25443         * math/s_csinf.c (__csinf): Likewise.
25444         * math/s_csinh.c (__csinh): Likewise.
25445         * math/s_csinhf.c (__csinhf): Likewise.
25446         * math/s_csinhl.c (__csinhl): Likewise.
25447         * math/s_csinl.c (__csinl): Likewise.
25448         * math/s_csqrt.c (__csqrt): Likewise.
25449         * math/s_csqrtf.c (__csqrtf): Likewise.
25450         * math/s_csqrtl.c (__csqrtl): Likewise.
25451         * math/s_ctan.c (__ctan): Likewise.
25452         * math/s_ctanf.c (__ctanf): Likewise.
25453         * math/s_ctanh.c (__ctanh): Likewise.
25454         * math/s_ctanhf.c (__ctanhf): Likewise.
25455         * math/s_ctanhl.c (__ctanhl): Likewise.
25456         * math/s_ctanl.c (__ctanl): Likewise.
25457         * math/w_pow.c: Likewise.
25458         * math/w_powf.c: Likewise.
25459         * math/w_powl.c: Likewise.
25460         * math/w_scalb.c (sysv_scalb): Likewise.
25461         * math/w_scalbf.c (sysv_scalbf): Likewise.
25462         * math/w_scalbl.c (sysv_scalbl): Likewise.
25463         * misc/error.c (error_tail): Likewise.
25464         * misc/pselect.c (__pselect): Likewise.
25465         * nis/nis_callback.c (__nis_create_callback): Likewise.
25466         * nis/nis_call.c (__nisfind_server): Likewise.
25467         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25468         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25469         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25470         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25471         * nis/nis_lookup.c (nis_lookup): Likewise.
25472         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25473         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25474         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25475         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25476         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25477         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25478         * nis/nss_compat/compat-initgroups.c (add_group)
25479         (internal_getgrent_r): Likewise.
25480         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25481         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25482         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25483         (internal_getspnam_r): Likewise.
25484         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25485         (_nss_nis_getaliasbyname_r): Likewise.
25486         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25487         (_nss_nis_getntohost_r): Likewise.
25488         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25489         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25490         (_nss_nis_getgrgid_r): Likewise.
25491         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25492         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25493         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25494         (_nss_nis_gethostbyname4_r): Likewise.
25495         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25496         (initgroups_netid): Likewise.
25497         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25498         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25499         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25500         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25501         (_nss_nis_getprotobynumber_r): Likewise.
25502         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25503         (_nss_nis_getsecretkey): Likewise.
25504         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25505         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25506         (_nss_nis_getpwuid_r): Likewise.
25507         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25508         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25509         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25510         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25511         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25512         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25513         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25514         Likewise.
25515         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25516         (_nss_nisplus_getntohost_r): Likewise.
25517         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25518         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25519         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25520         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25521         Likewise.
25522         * nis/nss_nisplus/nisplus-initgroups.c
25523         (_nss_nisplus_initgroups_dyn): Likewise.
25524         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25525         (_nss_nisplus_getnetbyaddr_r): Likewise.
25526         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25527         (_nss_nisplus_getprotobynumber_r): Likewise.
25528         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25529         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25530         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25531         Likewise.
25532         * nis/nss_nisplus/nisplus-service.c
25533         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25534         (_nss_nisplus_getservbyport_r): Likewise.
25535         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25536         (_nss_nisplus_getspnam_r): Likewise.
25537         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25538         Likewise.
25539         * nscd/aicache.c (addhstaiX): Likewise.
25540         * nscd/cache.c (cache_search, prune_cache): Likewise.
25541         * nscd/connections.c (register_traced_file, send_ro_fd)
25542         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25543         (main_loop_epoll): Likewise.
25544         * nscd/grpcache.c (addgrbyX): Likewise.
25545         * nscd/hstcache.c (addhstbyX): Likewise.
25546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25547         * nscd/mem.c (gc, mempool_alloc): Likewise.
25548         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25549         (addinnetgrX): Likewise.
25550         * nscd/nscd-client.h (__nscd_acquire_maplock)
25551         (__nscd_drop_map_ref): Likewise.
25552         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25553         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25554         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25555         Likewise.
25556         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25557         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25558         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25559         (__nscd_get_map_ref): Likewise.
25560         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25561         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25562         Likewise.
25563         * nscd/pwdcache.c (addpwbyX): Likewise.
25564         * nscd/selinux.c (preserve_capabilities): Likewise.
25565         * nscd/servicescache.c (addservbyX): Likewise.
25566         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25567         * posix/fnmatch.c (fnmatch): Likewise.
25568         * posix/getopt.c (_getopt_internal_r): Likewise.
25569         * posix/glob.c (glob, glob_in_dir): Likewise.
25570         * posix/wordexp.c (exec_comm_child): Likewise.
25571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25572         (getanswer_r, gaih_getanswer_slice): Likewise.
25573         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25574         * resolv/res_init.c: Likewise.
25575         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25576         * resolv/res_query.c (__libc_res_nquery): Likewise.
25577         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25578         Likewise.
25579         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25580         * stdio-common/perror.c (perror): Likewise.
25581         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25582         * stdio-common/tmpnam.c (tmpnam): Likewise.
25583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25584         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25585         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25586         Likewise.
25587         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25588         * stdlib/putenv.c (putenv): Likewise.
25589         * stdlib/setenv.c (__add_to_environ): Likewise.
25590         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25591         * stdlib/strtol_l.c (INTERNAL): Likewise.
25592         * string/memmem.c (memmem): Likewise.
25593         * string/strerror.c (strerror): Likewise.
25594         * string/strnlen.c (__strnlen): Likewise.
25595         * string/test-memmem.c (simple_memmem): Likewise.
25596         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25597         * sunrpc/pm_getport.c (__get_socket): Likewise.
25598         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25599         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25600         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25601         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25602         Likewise.
25603         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25604         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25605         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25606         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25607         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25608         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25609         Likewise.
25610         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25611         Likewise.
25612         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25613         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25614         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25615         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25616         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25618         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25619         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25620         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25621         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25622         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25623         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25624         Likewise.
25625         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25626         Likewise.
25627         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25628         Likewise.
25629         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25631         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25632         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25633         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25634         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25635         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25636         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25638         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25639         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25640         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25641         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25642         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25643         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25644         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25645         Likewise.
25646         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25647         Likewise.
25648         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25649         Likewise.
25650         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25651         Likewise.
25652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25654         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25655         Likewise.
25656         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25657         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25658         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25659         * sysdeps/posix/sleep.c: Likewise.
25660         * sysdeps/posix/tempname.c: Likewise.
25661         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25662         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25663         Likewise.
25664         * sysdeps/powerpc/powerpc32/dl-machine.h
25665         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25666         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25668         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25669         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25670         Likewise.
25671         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25672         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25673         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25674         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25675         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25676         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25677         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25678         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25679         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25680         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25681         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25682         (elf_machine_lazy_rel): Likewise.
25683         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25684         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25685         (elf_machine_lazy_rel): Likewise.
25686         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25687         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25688         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25689         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25690         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25691         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25692         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25694         Likewise.
25695         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25696         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25697         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25698         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25699         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25700         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25701         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25702         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25703         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25704         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25705         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25706         Likewise.
25707         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25708         (__posix_fallocate64_l64): Likewise.
25709         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25710         (posix_fallocate): Likewise.
25711         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25712         Likewise.
25713         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25714         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25715         (getifaddrs_internal): Likewise.
25716         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25717         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25718         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25719         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25720         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25721         (__posix_fallocate64_l64): Likewise.
25722         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25723         Likewise.
25724         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25726         (__get_clockfreq): Likewise.
25727         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25728         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25729         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25732         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25733         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25734         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25735         Likewise.
25736         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25737         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25738         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25739         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25740         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25741         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25742         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25743         Likewise.
25744         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25745         (posix_fallocate): Likewise.
25746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25747         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25748         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25749         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25750         (elf_machine_rela, elf_machine_rela_relative)
25751         (elf_machine_lazy_rel): Likewise.
25752         * time/asctime.c (asctime_internal): Likewise.
25753         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25754         * time/tzset.c (__tzset_parse_tz): Likewise.
25755         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25756         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25757         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25758         * wcsmbs/wcsmbsload.h: Likewise.
25760         [BZ #15894]
25761         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25763         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25764         (arena_get2): Remove THREAD_STATS conditionals.
25765         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25766         (__malloc_stats, int): Likewise.
25768 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25770         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25771         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25773         * manual/setjmp.texi: Fix typos/grammar errors.
25775         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25776         Only return early when n is <= 0.  Delete unused return statement.
25778         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25779         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25780         * debug/tst-longjmp_chk3.c: New file.
25782         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25783         (test_main): Replace code with set_fortify_handler call.
25784         * debug/test-strcpy_chk.c: Likewise.
25785         * debug/tst-chk1.c: Likewise.
25786         * debug/tst-longjmp_chk.c: Likewise.
25787         * test-skeleton.c: Include fcntl.h & paths.h
25788         (set_fortify_handler): Define.
25790         * debug/tst-longjmp_chk.c: Add header comment and include
25791         ../test-skeleton.c.
25792         (do_test): Mark static.
25793         (TEST_FUNCTION): Define.
25795         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25796         (IP_PMTUDISC_INTERFACE): Likewise.
25797         (IP_MULTICAST_IF): Likewise.
25798         (IP_MULTICAST_TTL): Likewise.
25799         (IP_MULTICAST_LOOP): Likewise.
25800         (IP_ADD_MEMBERSHIP): Likewise.
25801         (IP_DROP_MEMBERSHIP): Likewise.
25802         (IP_UNBLOCK_SOURCE): Likewise.
25803         (IP_BLOCK_SOURCE): Likewise.
25804         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25805         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25806         (IP_MSFILTER): Likewise.
25807         (MCAST_JOIN_GROUP): Likewise.
25808         (MCAST_BLOCK_SOURCE): Likewise.
25809         (MCAST_UNBLOCK_SOURCE): Likewise.
25810         (MCAST_LEAVE_GROUP): Likewise.
25811         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25812         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25813         (MCAST_MSFILTER): Likewise.
25814         (IP_MULTICAST_ALL): Likewise.
25815         (IP_UNICAST_IF): Likewise.
25817         * timezone/Makefile: Delete $(have-ksh) check.
25818         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25819         * timezone/tzselect.ksh: Add +x mode bits.
25821         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25822         (ANON_INODE_FS_MAGIC): Likewise.
25823         (BDEVFS_MAGIC): Likewise.
25824         (BINFMTFS_MAGIC): Likewise.
25825         (BTRFS_TEST_MAGIC): Likewise.
25826         (CRAMFS_MAGIC_WEND): Likewise.
25827         (DEBUGFS_MAGIC): Likewise.
25828         (ECRYPTFS_SUPER_MAGIC): Likewise.
25829         (EXT3_SUPER_MAGIC): Likewise.
25830         (EXT4_SUPER_MAGIC): Likewise.
25831         (FUTEXFS_SUPER_MAGIC): Likewise.
25832         (HOSTFS_SUPER_MAGIC): Likewise.
25833         (HUGETLBFS_MAGIC): Likewise.
25834         (MINIX3_SUPER_MAGIC): Likewise.
25835         (MTD_INODE_FS_MAGIC): Likewise.
25836         (NILFS_SUPER_MAGIC): Likewise.
25837         (OPENPROM_SUPER_MAGIC): Likewise.
25838         (PIPEFS_MAGIC): Likewise.
25839         (PSTOREFS_MAGIC): Likewise.
25840         (QNX6_SUPER_MAGIC): Likewise.
25841         (RAMFS_MAGIC): Likewise.
25842         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25843         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25844         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25845         (SECURITYFS_MAGIC): Likewise.
25846         (SELINUX_MAGIC): Likewise.
25847         (SMACK_MAGIC): Likewise.
25848         (SOCKFS_MAGIC): Likewise.
25849         (SQUASHFS_MAGIC): Likewise.
25850         (STACK_END_MAGIC): Likewise.
25851         (TMPFS_MAGIC): Likewise.
25852         (USBDEVICE_SUPER_MAGIC): Likewise.
25853         (V9FS_MAGIC): Likewise.
25854         (XENFS_SUPER_MAGIC): Likewise.
25855         (CRAMFS_MAGIC): Fix typo in comment.
25856         (EXT2_SUPER_MAGIC): Update comment.
25857         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25859 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25861         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25862         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25863         * sysdeps/unix/sysv/linux/arm: Move directory from
25864         ports/sysdeps/unix/sysv/linux/arm.
25865         * README: Update listing for arm-*-linux-gnueabi.
25867         * README: Remove mention of am33.
25869 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25871         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25872         than the comma operator, to avoid "rhs of comma has no effect"
25873         compiler warnings.
25874         (__sigfillset, __sigandset, __sigorset): Likewise.
25875         * include/signal.h (__sigemptyset): Likewise.
25876         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25878 2014-02-07  Allan McRae  <allan@archlinux.org>
25880         * version.h (RELEASE): Set to "development".
25881         (VERSION): Set to "2.19.90"
25882         * NEWS: Add 2.20 section.
25884 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25886         [BZ #16529]
25887         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25889 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25891         * manual/contrib.texi: Update entry for Carlos O'Donell,
25892         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25894 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25896         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25898         * sysdeps/unix/sysv/linux/kernel-features.h
25899         [__LINUX_KERNEL_VERSION >= 0x020621]
25900         (__ASSUME_PROC_PID_TASK_COMM): Define.
25902 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25904         [BZ #16398]
25905         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25906         conversion when destination buffer does not have enough space.
25907         * libio/tst-ftell-partial-wide.c: New test case.
25908         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25910         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25911         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25912         Leonard and Allan McRae.
25914 2014-02-04  David S. Miller  <davem@davemloft.net>
25916         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25917         32-bit.
25919 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25922         New file
25923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25924         New file
25925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25926         New file.
25927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25928         New file.
25929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25930         New file.
25931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25932         New file.
25933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25934         New file.
25935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25936         New file.
25937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25938         New file.
25939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25940         New file.
25941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25942         New file.
25943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25944         New file.
25945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25946         New file.
25948 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25950         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25951         * shlib-versions: Likewise.
25953 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25956         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25957         (abilist-pattern): New variable, set to %-le.abilist.
25959         * Makerules (abilist-pattern): New variable.
25960         (vpath): Use $(abilist-pattern) in place of %.abilist.
25961         (check-abi-% pattern rule): Likewise.
25962         (check-abi, update-abi): Likewise.
25964 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25968 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25970         * manual/startup.texi: Add next, previous, and top entries for
25971         the `Program Arguments' and `Environment Variables' nodes.
25973 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25975         * manual/macros.texi: Add comments before MTASC-safety macros.
25977         * manual/users.texi: Document MTASC-safety properties.
25979         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25980         (pthread_getspecific, pthread_setspecific): Format with
25981         @deftypefun, and add @safety note.
25982         * manual/signal.texi: Move comments that analyze the above
25983         functions to their home place.
25985 2014-02-03  Allan McRae  <allan@archlinux.org>
25987         * po/sl.po: Update Slovenian translation from translation project.
25989 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25991         * manual/time.texi (timegm): Add missing blank after @c.
25992         Reported by Joseph Myers <joseph@codesourcery.com>.
25994 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25996         * manual/check-safety.sh: New.
25997         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25999         * manual/terminal.texi: Document MTASC-safety properties.
26001         * manual/filesys.texi: Document MTASC-safety properties.
26003         * manual/errno.texi: Document MTASC-safety properties.
26005         * manual/intro.texi: Document safety identifiers and
26006         conditionals.
26008         * manual/string.texi (wcstok): Fix prototype.
26009         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26011         * manual/time.texi: Document MTASC-safety properties.
26013         * manual/string.texi: Document MTASC-safety properties.
26015         * manual/threads.texi: Document MTASC-safety properties.
26017         * manual/stdio.texi: Document MTASC-safety properties.
26019         * manual/syslog.texi: Document MTASC-safety properties.
26021         * manual/sysinfo.texi: Document MTASC-safety properties.
26023         * manual/startup.texi: Document MTASC-safety properties.
26025         * manual/socket.texi: Document MTASC-safety properties.
26027         * manual/signal.texi: Document MTASC-safety properties.
26029 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26031         * manual/setjmp.texi: Document MTASC-safety properties.
26033         * manual/search.texi: Document MTASC-safety properties.
26035         * manual/resource.texi: Document MTASC-safety properties.
26037         * manual/process.texi: Document MTASC-safety properties.
26039         * manual/platform.texi: Document MTASC-safety properties.
26041         * manual/pipe.texi: Document MTASC-safety properties.
26043         * manual/pattern.texi: Document MTASC-safety properties.
26045         * manual/message.texi: Document MTASC-safety properties.
26047         [BZ #12751]
26048         * manual/memory.texi: Document MTASC-safety properties.
26050         * manual/math.texi: Document MTASC-safety properties.
26052         * manual/locale.texi: Document MTASC-safety properties.
26054         * manual/llio.texi: Document MTASC-safety properties.
26056         * manual/libdl.texi: New.
26058         * manual/lang.texi: Document MTASC-safety properties.
26060         * manual/job.texi: Document MTASC-safety properties.
26062         * manual/getopt.texi: Document MTASC-safety properties.
26064         * manual/ctype.texi: Document MTASC-safety properties.
26066 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26068         [BZ #16046]
26069         * csu/libc-tls.c (static_map): Remove variable.
26070         (__libc_setup_tls): Use main executable's link map for TLS data.
26071         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26072         casing for LM_ID_BASE and GL(dl_nns).
26073         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26074         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26075         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26076         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26077         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26078         member.
26079         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26080         l_phnum members.
26082 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26084         * manual/debug.texi: Document MTASC-safety properties.
26086 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26088         [BZ #16510]
26089         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26090         of __x86_64__ when disabling x87 inline functions.
26092 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26094         * manual/charset.texi: Document MTASC-safety properties.
26096         * manual/crypt.texi: Document MTASC-safety properties.
26098         * manual/conf.texi: Document MTASC-safety properties.
26100         * manual/arith.texi: Document MTASC-safety properties.
26102         * manual/argp.texi: Document MTASC-safety properties.
26104         * manual/macros.texi: Introduce macros to document multi
26105         thread, asynchronous signal and asynchronous cancellation
26106         safety properties.
26107         * manual/intro.texi: Introduce the properties themselves.
26109 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26111         * sysdeps/sh/sh4/Makefile: New file.
26113 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26115         * math/gen-libm-test.pl ($srcdir): New variable.
26116         ($auto_input): Use it.
26118 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26120         [BZ #16506]
26121         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26122         access beyond array bounds when parsing netgroups file.
26124         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26125         the old buffer before realloc.
26127 2014-01-27  Allan McRae  <allan@archlinux.org>
26129         * po/fr.po: Update French translation from translation project.
26131 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26133         * sysdeps/sh/libm-test-ulps: Regenerate.
26135 2014-01-24  David S. Miller  <davem@davemloft.net>
26137         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26139 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26141         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26142         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26144 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26146         [BZ #16474]
26147         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26148         string pointers after reallocation.
26150 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26152         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26153         __SH4A__ instead of __SH_FPU_ANY__.
26155 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26157         * sysdeps/sh/fpu_control.h: New file.
26158         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26159         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26160         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26161         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26162         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26163         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26164         * sysdeps/sh/sys/ucontext.h: Remove.
26165         * sysdeps/sh/sys: Remove directory.
26167 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26169         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26170         s390/sys/ucontext.h.
26171         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26174 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26176         [BZ #15605]
26177         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26179 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26181         [BZ#16431]
26182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26183         Adjust the vDSO correctly for internal calls.
26184         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26186 2014-01-20  Allan McRae  <allan@archlinux.org>
26188         * po/ca.po: Update Catalan translation from translation project.
26190 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26192         * sysdeps/s390/sotruss-lib.c: New file.
26194 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26196         [BZ#16430]
26197         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26198         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26199         local calls issues by not having a PLT stub required for IFUNC calls.
26200         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26202 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26204         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26205         * math/test-fpucw-static.c: Likewise.
26207 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26209         [BZ #16453]
26210         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26212 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26214         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26215         implementation for powerpc.
26217 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26219         [BZ #14782]
26220         * sysdeps/posix/system.c (__libc_system): Do not enable
26221         asynchronous cancellation.
26223 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26225         [BZ #16427]
26226         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26227         handling only for numbers special also in the IEEE case.
26229 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26231         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26233 2014-01-11  Allan McRae  <allan@archlinux.org>
26235         * po/bg.po: Update Bulgarian translation from translation project.
26237         * po/de.po: Update German translation from translation project.
26239 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26241         * sysdeps/generic/gcc-compat.h: New file.
26243 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26245         * benchtests/asin-inputs: Correct slow inputs.
26246         * benchtests/acos-inputs: Likewise.
26248 2014-01-10  Allan McRae  <allan@archlinux.org>
26250         * po:sv.po: Update Swedish translation from translation project.
26252         * po/vi.po: Update Vietnamese translation from translation project.
26254         * po/eo.po: Update Esperanto translation from translation project.
26256         * po/cs.po: Update Czech translation from translation project.
26258         * po/nl.po: Update Dutch translation from translation project.
26260         * po/pl.po: Update Polish translation from translation project.
26262         * po/ru.po: Update Russian translation from translation project.
26264         * po/uk.po: Update Ukrainian translation from translation project.
26266 2014-01-08  Brooks Moses  <bmoses@google.com>
26268         * elf/dl-load.c: Fix comment typo.
26270 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26272         * po/header.pot: Rename to...
26273         * po/pot.header: ... this.
26274         * po/Makefile: Use pot.header.
26276 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26277             Maxim Kuvyrkov  <maxim@kugelworks.com>
26279         [BZ #16394]
26280         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26281         SRC and DEST against LEN.
26283 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26285         [BZ #16414]
26286         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26287         implementation.
26288         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26290 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26294 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26296         [BZ #16408]
26297         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26298         for large positive arguments.
26300 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26302         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26304         * math/auto-libm-test-in: Mark various tests with
26305         xfail-rounding:ldbl-128ibm.
26306         * math/auto-libm-test-out: Regenerated.
26308         [BZ #16407]
26309         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26310         Increase overflow threshold.
26312 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26314         [BZ #14286]
26315         * stdio-common/vfprintf.c: Check for integer overflow.
26317 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26319         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26320         the first argument and return value of __tls_get_addr_internal.
26322 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26324         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26325         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26327 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26329         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26330         * sysdeps/s390/rtld-global-offsets.sym: New file.
26331         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26332         GLIBC_2.19 symbol.
26333         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26334         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26335         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26336         ... this.
26337         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26338         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26339         ... this.
26340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26341         Regenerate.
26342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26343         Regenerate.
26344         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26345         halfs of GPRs for high_gprs contexts.
26346         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26347         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26348         field.
26349         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26350         uc_flags field.
26351         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26352         64 bit versions:
26353         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26354         for high GPRs (uc_high_gprs) and for future extensions
26355         (__reserved).
26356         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26357         for future extensions (__reserved).
26358         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26359         64 bit versions:
26360         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26361         SC_HIGHGPRS offset definition.
26362         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26363         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26365         * Versions.def: Add GLIBC_2.19 for libpthread.
26366         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26367         siglongjmp for libpthread with GLIBC_2.19 symver.
26368         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26369         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26370         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26371         * sysdeps/s390/__longjmp.c: New file.
26372         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26373         * sysdeps/s390/longjmp.c: New file.
26374         * sysdeps/s390/setjmp.S: New file.
26375         * sysdeps/s390/sigjmp.S: New file.
26376         * sysdeps/s390/v1-longjmp.c: New file.
26377         * sysdeps/s390/v1-setjmp.h: New file.
26378         * sysdeps/s390/v1-sigjmp.c: New file.
26379         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26380         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26381         GLIBC_2.19 version.
26382         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26383         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26384         versioned symbols for ____longjmp_chk.
26385         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26386         Likewise.
26387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26388         Regenerate.
26389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26390         Regenerate.
26391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26392         Regenerate.
26393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26394         Regenerate.
26395         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26396         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26397         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26398         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26399         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26400         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26401         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26402         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26403         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26404         * sysdeps/s390/rtld-__longjmp.c: New file.
26405         * sysdeps/s390/rtld-setjmp.S: New file.
26407 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26409         [BZ #16400]
26410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26411         Return -__logl (x) for small positive arguments without evaluating
26412         a polynomial.
26414 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26416         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26417         Rename to ...
26418         (__ptrace_peeksiginfo_args): ... this.
26419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26421         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26423 2014-01-06  Allan McRae  <allan@archlinux.org>
26425         * inet/netinet/in.h: Fix typo in comment.
26427 2014-01-05  Andreas Jaeger  <aj@suse.de>
26429         * sysdeps/i386/fpu/libm-test-ulps: Update.
26431 2014-01-05  Allan McRae  <allan@archlinux.org>
26433         * po/libc.pot: Regenerated.
26435         * malloc/memusagestat.c: Fix gettext call formatting.
26437 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26439         * nscd/nscd.c: Improve usage() output.
26441 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26443         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26444         * sysdeps/unix/sysv/linux/configure: Regenerated.
26445         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26446         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26448 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26450         [BZ #16390]
26451         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26452         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26454 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26456         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26457         extra tokens at end of #undef directive.
26458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26459         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26460         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26462 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26464         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26466         * math/auto-libm-test-in: Mark various tests with
26467         xfail-rounding:ldbl-128ibm.
26468         * math/auto-libm-test-out: Regenerated.
26470 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26472         [BZ #16386]
26473         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26474         numbers with subnormal high part when calculating exponent.
26476         [BZ #16385]
26477         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26478         fabs.
26480         [BZ #16384]
26481         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26482         M_LN2l.
26483         (__ieee754_acoshl): Use __log1pl not __log1p.
26485 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26487         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26488         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26489         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26490         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26491         (reused_arena, arena_get2): Convert to GNU style.
26492         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26493         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26494         (memalign_check, __malloc_set_state): Likewise.
26495         * malloc/mallocbug.c (main): Likewise.
26496         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26497         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26498         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26499         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26500         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26501         (__posix_memalign, malloc_info): Likewise.
26502         * malloc/malloc.h: Likewise.
26503         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26504         (mallochook, memalignhook, reallochook, mabort): Likewise.
26505         * malloc/mcheck.h: Likewise.
26506         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26507         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26508         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26509         * malloc/morecore.c (__default_morecore): Likewise.
26510         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26511         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26512         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26513         (print_and_abort): Likewise.
26514         * malloc/obstack.h: Likewise.
26515         * malloc/set-freeres.c (__libc_freeres): Likewise.
26516         * malloc/tst-mallocstate.c (main): Likewise.
26517         * malloc/tst-mtrace.c (main): Likewise.
26518         * malloc/tst-realloc.c (do_test): Likewise.
26520 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26522         [BZ #16366]
26523         * nscd/netgroupcache.c (do_notfound): New function.
26524         (addgetnetgrentX): Use it.
26526         [BZ # 16365]
26527         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26528         NSS_STATUS_NOTFOUND.
26530 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26532         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26535 2014-01-01  Allan McRae  <allan@archlinux.org>
26537         * scripts/update-copyrights: Update configure input file suffix.
26539         * NEWS: Update copyright year.
26540         * catgets/gencat.c: Likewise.
26541         * csu/version.c: Likewise.
26542         * debug/catchsegv.sh: Likewise.
26543         * debug/pcprofiledump.c: Likewise.
26544         * debug/xtrace.sh: Likewise.
26545         * elf/ldconfig.c: Likewise.
26546         * elf/ldd.bash.in: Likewise.
26547         * elf/pldd.c: Likewise.
26548         * elf/sotruss.ksh: Likewise.
26549         * elf/sprof.c: Likewise.
26550         * iconv/iconv_prog.c: Likewise.
26551         * iconv/iconvconfig.c: Likewise.
26552         * locale/programs/locale.c: Likewise.
26553         * locale/programs/localedef.c: Likewise.
26554         * login/programs/pt_chown.c: Likewise.
26555         * malloc/memusage.sh: Likewise.
26556         * malloc/memusagestat.c: Likewise.
26557         * malloc/mtrace.pl: Likewise.
26558         * manual/libc.texinfo: Likewise.
26559         * nscd/nscd.c: Likewise.
26560         * nss/getent.c: Likewise.
26561         * nss/makedb.c: Likewise.
26562         * posix/getconf.c: Likewise.
26563         * scripts/test-installation.pl: Likewise.
26565         * All files with FSF copyright notices: Update copyright dates
26566         using scripts/update-copyrights.
26567         * intl/plural.c: Regenerated.
26568         * locale/programs/charmap-kw.h: Likewise.
26569         * locale/programs/locfile-kw.h: Likewise.
26571 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26573         * sysdeps/unix/sysv/linux/configure: Regenerated.
26574         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26575         the linux/fanotify.h header.
26576         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26577         HAVE_LINUX_FANOTIFY_H is defined.
26579 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26581         * benchtests/cos-inputs: New inputs.
26582         * benchtests/sin-inputs: Likewise.
26584         * benchtests/atan-inputs: New inputs. Fix name of multiple
26585         precision fallback inputs.
26587         * benchtests/atanh-inputs: New inputs.
26588         * benchtests/tanh-inputs: Likewise.
26590         * benchtests/acosh-inputs: New inputs.
26591         * benchtests/asinh-inputs: Likewise.
26593         * benchtests/cosh-inputs: New inputs.
26594         * benchtests/sinh-inputs: Likewise.
26596         * benchtests/acos-inputs: Add more inputs.
26597         * benchtests/asin-inputs: Likewise.
26599 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26601         [BZ #16375]
26602         * manual/arith.texi: Fix spelling.
26603         * manual/charset.texi: Likewise.
26604         * manual/errno.texi: Likewise.
26605         * manual/filesys.texi: Likewise.
26606         * manual/lang.texi: Likewise.
26607         * manual/llio.texi: Likewise.
26608         * manual/locale.texi: Likewise.
26609         * manual/message.texi: Likewise.
26610         * manual/resource.texi: Likewise.
26611         * manual/search.texi: Likewise.
26612         * manual/setjmp.texi: Likewise.
26613         * manual/stdio.texi: Likewise.
26614         * manual/string.texi: Likewise.
26615         * manual/sysinfo.texi: Likewise.
26616         * manual/time.texi: Likewise.
26618 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26620         * po/sl.po: New file.
26622 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26624         * .gitignore: Add core/.gdbinit/.gdb_history.
26626 2013-12-27  Allan McRae  <allan@archlinux.org>
26628         [BZ #16369]
26629         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26630         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26632 2013-12-24  Brooks Moses  <bmoses@google.com>
26634         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26635         all compilers that claim C++98 compliance, not just GCC.
26636         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26637         Likewise.
26639 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26641         * NEWS: Restore accidentally deleted bug-fix entries.
26643 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26644             Ondřej Bílka  <neleai@seznam.cz>
26646         [BZ #15073]
26647         * malloc/malloc.c (_int_free): Perform sanity check only if we
26648         have_lock.
26650 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26652         [BZ #12986]
26653         * manual/stdio.texi (String Input Conversions): Clarify that character
26654         classes are not supported.
26656 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26660 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26662         [BZ #16337]
26663         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26664         Calculate results for small negative arguments directly rather
26665         than using reflection formula with special underflow handling.
26667         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26668         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26669         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26670         (fchflags): Likewise.
26671         (revoke): Likewise.
26672         (setlogin): Likewise.
26673         (sigaltstack): Likewise.
26674         (wait4): Likewise.
26675         (sigblock): Remove.
26676         (sigsetmask): Likewise.
26677         (wait3): Likewise.
26678         (waitpid): Likewise.
26679         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26680         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26681         file.
26682         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26683         * sysdeps/unix/bsd/Makefile: ... here.
26684         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26685         * sysdeps/unix/bsd/Versions: ... here.
26686         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26687         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26688         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26689         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26690         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26691         * sysdeps/unix/bsd/sigblock.c: ... here.
26692         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26693         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26694         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26695         * sysdeps/unix/bsd/sigvec.c: ... here.
26696         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26697         * sysdeps/unix/bsd/tcdrain.c: ... here.
26698         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26699         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26700         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26701         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26702         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26703         * sysdeps/unix/bsd/wait.c: ... here.
26704         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26705         * sysdeps/unix/bsd/wait3.c: ... here.
26706         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26707         * sysdeps/unix/bsd/waitpid.c: ... here.
26709 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26711         [BZ #16356]
26712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26713         round-to-nearest for [!USE_AS_EXPM1L].
26714         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26715         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26716         more tests of exp and exp10.  Expect some exp10 tests to miss
26717         exceptions or fail in directed rounding modes.
26718         * math/auto-libm-test-out: Regenerated.
26719         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26720         (exp10_test_tonearest): New function.
26721         (exp10_towardzero_test_data): New array.
26722         (exp10_test_towardzero): New function.
26723         (exp10_downward_test_data): New array.
26724         (exp10_test_downward): New function.
26725         (exp10_upward_test_data): New array.
26726         (exp10_test_upward): New function.
26727         (main): Call the new functions.
26728         * sysdeps/i386/fpu/libm-test-ulps: Update.
26729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26731 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26733         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26734         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26735         * math/auto-libm-test-out: Regenerated.
26736         * math/libm-test.inc (acosh_test_data): Add more tests.
26737         (atanh_test_data): Likewise.
26738         (ceil_test_data): Likewise.
26739         (copysign_test_data): Likewise.
26740         * sysdeps/i386/fpu/libm-test-ulps: Update.
26741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26743         * timezone/checktab.awk: Update from tzcode 2013i.
26744         * timezone/private.h: Likewise.
26745         * timezone/scheck.c: Likewise.
26746         * timezone/tzfile.h: Likewise.
26747         * timezone/tzselect.ksh: Likewise.
26748         * timezone/zdump.c: Likewise.
26749         * timezone/zic.c: Likewise.
26751         * math/auto-libm-test-in: Add tests of cpow.
26752         * math/auto-libm-test-out: Regenerated.
26753         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26754         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26755         mpc_cc_c.
26756         (func_calc_desc): Add mpc_cc_c union field.
26757         (test_functions): Add cpow.
26758         (special_fill_2pi): New function.
26759         (special_real_inputs): Add 2pi.
26760         (calc_generic_results): Handle mpc_cc_c.
26761         * sysdeps/i386/fpu/libm-test-ulps: Update.
26762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26764         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26765         csqrt, ctan and ctanh.
26766         * math/auto-libm-test-out: Regenerated.
26767         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26768         (TEST_COND_x86): Likewise.
26769         (ccos_test_data): Use AUTO_TESTS_c_c.
26770         (ccosh_test_data): Likewise.
26771         (cexp_test_data): Likewise.
26772         (clog_test_data): Likewise.
26773         (csqrt_test_data): Likewise.
26774         (ctan_test_data): Likewise.
26775         (ctan_tonearest_test_data): Likewise.
26776         (ctan_towardzero_test_data): Likewise.
26777         (ctan_downward_test_data): Likewise.
26778         (ctan_upward_test_data): Likewise.
26779         (ctanh_test_data): Likewise.
26780         (ctanh_tonearest_test_data): Likewise.
26781         (ctanh_towardzero_test_data): Likewise.
26782         (ctanh_downward_test_data): Likewise.
26783         (ctanh_upward_test_data): Likewise.
26784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26785         mpc_c_c.
26786         (func_calc_desc): Add mpc_c_c union field.
26787         (FUNC_mpc_c_c): New macro.
26788         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26789         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26790         ctanh.
26791         (special_fill_min_subnorm_p120): New function.
26792         (special_real_inputs): Add min_subnorm_p120.
26793         (calc_generic_results): Handle mpc_c_c.
26794         * sysdeps/i386/fpu/libm-test-ulps: Update.
26795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26797 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26799         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26800         (do_sin_slow): New functions.
26801         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26802         (cslow2, csloww1, csloww2): Use the new functions.
26804         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26805         Use M to change sign of result instead of X.  Assume X is
26806         positive.
26807         (csloww1): Likewise.
26808         (__sin): Adjust.
26809         (__cos): Adjust.
26811         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26812         arguments A and DA.
26813         (__sin): Adjust.
26814         (__cos): Likewise.
26816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26817         (__cos): Likewise.
26818         (sloww1): Don't adjust sign of DX.
26819         (csloww1): Likewise.
26820         (sloww2): Use X directly and don't adjust sign of DX.
26821         (csloww2): Likewise.
26823 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26825         * math/auto-libm-test-in: Add tests of cabs and carg.
26826         * math/auto-libm-test-out: Regenerated.
26827         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26828         (carg_test_data): Likewise.
26829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26830         mpc_c_f.
26831         (func_calc_desc): Add mpc_c_f union field.
26832         (test_functions): Add cabs and carg.
26833         (calc_generic_results): Handle mpc_c_f.
26835         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26836         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26837         as a macro and a compat symbol.
26838         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26839         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26840         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26841         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26842         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26843         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26844         not use .hidden.
26845         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26846         Likewise.
26847         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26848         Likewise.
26849         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26850         Likewise.
26851         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26852         Likewise.
26853         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26854         Likewise.
26855         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26856         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26857         from GLIBC_2.3.2.
26859 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26863 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26865         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26866         trailing whitespace removed.
26867         * scripts/config.guess: Update to version 2013-11-29.
26868         * scripts/config.sub: Update to version 2013-10-01.
26870         * math/auto-libm-test-in: Add tests of sincos.
26871         * math/auto-libm-test-out: Regenerated.
26872         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26873         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26874         mpfr_f_11.
26875         (func_calc_desc): Add mpfr_f_11 union field.
26876         (test_functions): Add sincos.
26877         (calc_generic_results): Handle mpfr_f_11.
26878         * sysdeps/i386/fpu/libm-test-ulps: Update.
26879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26881 2013-12-19  Andreas Schwab  <schwab@suse.de>
26883         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26884         CALL_MCOUNT.
26885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26886         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26887         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26889 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26891         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26892         * sysdeps/i386/fpu/libm-test-ulps: Update.
26893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26895         [BZ #16293]
26896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26897         round-to-nearest mode when using frndint.
26898         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26899         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26900         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26901         Likewise.
26902         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26903         sinh test to fail.
26904         * math/auto-libm-test-out: Regenerated.
26905         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26906         (TEST_COND_x86): Likewise.
26907         (expm1_tonearest_test_data): New array.
26908         (expm1_test_tonearest): New function.
26909         (expm1_towardzero_test_data): New array.
26910         (expm1_test_towardzero): New function.
26911         (expm1_downward_test_data): New array.
26912         (expm1_test_downward): New function.
26913         (expm1_upward_test_data): New array.
26914         (expm1_test_upward): New function.
26915         (main): Run the new test functions.
26916         * sysdeps/i386/fpu/libm-test-ulps: Update.
26917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26919         * include/features.h: Update comment documenting feature test
26920         macros.  Mention _DEFAULT_SOURCE in comment.
26921         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26922         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26923         _BSD_SOURCE and _SVID_SOURCE.
26924         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26925         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26926         !_SVID_SOURCE]: Likewise.
26927         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26928         (__USE_POSIX_IMPLICITLY): Define.
26929         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26930         (_POSIX_SOURCE): Undefine and redefine.
26931         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26932         (_POSIX_C_SOURCE): Likewise.
26933         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26934         (Feature Test Macros): Update documentation of default features.
26936 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26938         * benchtests/Makefile: Add bench-strtok.
26939         * benchtests/bench-strtok.c: New file: strtok benchtest.
26941 2013-12-19  Allan McRae  <allan@archlinux.org>
26943         * manual/install.texi: Suppress menu for plain text output.
26944         * INSTALL: Regenerated.
26946 2013-12-18  Brooks Moses  <bmoses@google.com>
26948         [BZ #15846]
26949         * misc/getauxval.c: Include errno.h.
26950         (__getauxval): Set errno to ENOENT if the requested type is not
26951         found.
26952         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26953         don't declare with __attribute_const__.
26954         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26955         * manual/startup.texi: Document that getauxval sets errno.
26957 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26959         * math/auto-libm-test-in: Add tests of jn and yn.
26960         * math/auto-libm-test-out: Regenerated.
26961         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26962         (yn_test_data): Likewise.
26963         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26964         mpfr_if_f.
26965         (func_calc_desc): Add mpfr_if_f union field.
26966         (FUNC_mpfr_if_f): New macro.
26967         (test_functions): Add jn and yn.
26968         (calc_generic_results): Assert type of second input for
26969         mpfr_ff_f.  Handle mpfr_if_f.
26970         (output_for_one_input_case): Disable all checking for arguments
26971         fitting floating-point types in case of an integer argument.
26972         * sysdeps/i386/fpu/libm-test-ulps: Update.
26973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26976         Don't expect fegetround reference in libm.so.
26978 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26980         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26981         $(config-cflags-nofma).
26983 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26985         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26986         * math/auto-libm-test-out: Regenerated.
26988         [BZ #16338]
26989         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26990         to determine exponent and adjust argument to have exponent of -1.
26991         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26992         log2.
26993         * math/auto-libm-test-out: Regenerated.
26994         * sysdeps/i386/fpu/libm-test-ulps: Update.
26995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26997 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26999         * manual/probes.texi: Remove cases when per-thread arenas are
27000         disabled.
27002 2013-12-18  Andreas Schwab  <schwab@suse.de>
27004         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27005         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27006         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27007         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27008         * sysdeps/i386/i686/multiarch/Makefile: Update.
27009         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27011 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27013         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27014         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27016 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
27018         [BZ #15968]
27019         Support TZ transition times < 00:00:00.
27020         This is needed for version-3 tz-format files; it supports time
27021         stamps past 2037 for America/Godthab (the only entry in the tz
27022         database for which this change is relevant).
27023         * manual/time.texi (TZ Variable): Document transition times
27024         from -167:59:59 through -00:00:01.
27025         * time/tzset.c (tz_rule): Time of day is now signed.
27026         (__tzset_parse_tz): Parse negative time of day.
27028         Document TZ transition times >= 25:00:00.
27029         * manual/time.texi (TZ Variable): Document transition times from
27030         25:00:00 through 167:59:59.  These are already supported, and this
27031         support will help with version-3 tz-format files.
27033         * manual/time.texi (TZ Variable): Modernize North America example
27034         to reflect current (i.e., 2007-and-later) daylight saving rules.
27036         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27038 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27040         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27041         * sysdeps/unix/bsd/bits/stat.h: Likewise.
27042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27043         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27044         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27045         * sysdeps/unix/bsd/bsdstat.h: Likewise.
27046         * sysdeps/unix/bsd/clock.c: Likewise.
27047         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27048         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27049         * sysdeps/unix/bsd/init-posix.c: Likewise.
27050         * sysdeps/unix/bsd/poll.c: Likewise.
27051         * sysdeps/unix/bsd/ptsname.c: Likewise.
27052         * sysdeps/unix/bsd/seekdir.c: Likewise.
27053         * sysdeps/unix/bsd/setegid.c: Likewise.
27054         * sysdeps/unix/bsd/seteuid.c: Likewise.
27055         * sysdeps/unix/bsd/setgid.c: Likewise.
27056         * sysdeps/unix/bsd/setrgid.c: Likewise.
27057         * sysdeps/unix/bsd/setruid.c: Likewise.
27058         * sysdeps/unix/bsd/setsid.c: Likewise.
27059         * sysdeps/unix/bsd/setuid.c: Likewise.
27060         * sysdeps/unix/bsd/sigaction.c: Likewise.
27061         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27062         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27063         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27064         * sysdeps/unix/bsd/telldir.c: Likewise.
27065         * sysdeps/unix/bsd/times.c: Likewise.
27066         * sysdeps/unix/bsd/usleep.c: Likewise.
27068         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27069         ($(objpfx)libbsd-compat.a): Remove rule.
27071         * include/features.h (__FAVOR_BSD): Do not define.
27072         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27073         features conflicting with POSIX.
27074         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27075         (_BSD_SOURCE): Remove description of not being a subset of other
27076         feature test macros.
27077         * manual/job.texi (getpgrp): Do not document BSD version.
27078         (getpgid): Do not document by reference to BSD getpgrp.
27079         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27080         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27081         * signal/signal.h [__FAVOR_BSD]: Likewise.
27082         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27083         instead of making contents conditional on [__FAVOR_BSD].
27084         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27086 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27090 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27092         [BZ #16314]
27093         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27094         values below 2**-450, not 2**-500.
27095         * math/auto-libm-test-in: Don't allow spurious underflow from
27096         hypot.
27097         * math/auto-libm-test-out: Regenerated.
27099         [BZ #16316]
27100         [BZ #16330]
27101         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27102         values of ha and hb and sort them after adjusting subnormal
27103         arguments.
27104         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27105         Likewise.
27106         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27107         values of ea and eb and sort them after adjusting subnormal
27108         arguments.
27109         * math/auto-libm-test-in: Do not expect some hypot tests of
27110         subnormals to fail.  Add more hypot tests.
27111         * math/auto-libm-test-out: Regenerated.
27113 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27115         [BZ #13304]
27116         * sysdeps/sh/s_fma.c: New file.
27117         * sysdeps/sh/s_fmaf.c: New file.
27118         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27119         version.
27120         * sysdeps/sh/Implies: Add sh/soft-fp.
27122 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27124         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27125         level of indirection to members `objname', `errstring', `malloced'.
27126         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27127         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27128         it as the __longjmp argument (just pass 1 instead).
27129         (_dl_catch_error): Initialize C with argument pointers and address of
27130         volatile local ERRCODE rather than copying values out of C at return.
27132 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27134         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27135         * math/auto-libm-test-out: Regenerated.
27136         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27137         (hypot_test_data): Likewise.
27138         (pow_test_data): Likewise.
27139         (pow_tonearest_test_data): Likewise.
27140         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27141         mpfr_ff_f.
27142         (func_calc_desc): Add mpfr_ff_f union field.
27143         (FUNC_mpfr_ff_f): New macro.
27144         (test_functions): Add atan2, hypot and pow.
27145         (special_fill_min): New function.
27146         (special_fill_minus_min): Likewise.
27147         (special_fill_min_subnorm): Likewise.
27148         (special_fill_minus_min_subnorm): Likewise.
27149         (special_real_inputs): Add min, -min, min_subnorm and
27150         -min_subnorm.
27151         (calc_generic_results): Handle mpfr_ff_f.
27152         * sysdeps/i386/fpu/libm-test-ulps: Update.
27153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27155 2013-12-16  Will Newton  <will.newton@linaro.org>
27157         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27158         (Aligned Memory Blocks): Add documentation for aligned_alloc
27159         and suggest it as an alternative to posix_memalign.
27160         (Hooks for Malloc): Document __memalign_hook is also called
27161         for aligned_alloc.  (Summary of Malloc): Add summary for
27162         aligned alloc.  Document __memalign_hook is also called
27163         for aligned_alloc.
27165 2013-12-16  Will Newton  <will.newton@linaro.org>
27167         * manual/memory.texi (Malloc Examples): Clarify default
27168         alignment documentation.  Suggest posix_memalign rather
27169         than memalign or valloc.
27170         (Aligned Memory Blocks): Remove suggestion to use memalign
27171         or valloc.  Remove obsolete comment about BSD.
27172         Document memalign errno values and mark the function obsolete.
27173         Document posix_memalign returned error codes.  Mark valloc
27174         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27175         called for posix_memalign and valloc.
27176         (Summary of Malloc): Add posix_memalign to function summary.
27177         __memalign_hook is also called for posix_memalign and valloc.
27179 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27181         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27182         TAYLOR_SIN.
27183         (__sin): Adjust.
27184         (__cos): Likewise.
27185         (sloww): Use mynumber union.  Expand ternary operator into
27186         if-else statements.
27187         (cslow): use mynumber union.
27189 2013-12-16  Allan McRae  <allan@archlinux.org>
27191         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27192         * configure: Regenerated.
27194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27196         [BZ #14120]
27197         * configure.ac: Added --enable-maintainer-mode. Check for
27198         autoconf when enabled.
27199         * configure: Regenerated.
27201         * nscd/nscd.service: New file.
27202         * nscd/nscd.tmpfiles: New file.
27204 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27206         [BZ #12100]
27207         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27208         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27209         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27210         (strstr): Add __strstr_sse2_unaligned ifunc.
27211         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27212         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27213         (strcasestr): Remove __strcasestr_sse42 ifunc.
27214         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27218 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27220         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27221         * sysdeps/sh/bits/fenv.h: ... here.
27222         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27224 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27226         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27229         hypotf multiarch implementations.
27230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27233         multiarch hypot for PPC64.
27234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27237         multiarch hypotf for PPC64.
27239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27240         modff multiarch implementations.
27241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27244         multiarch modf for PPC64.
27245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27248         multiarch modff for PPC64.
27250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27251         and logl multiarch implementations.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27255         multiarch logb for PPC64.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27259         multiarch logb for PPC64.
27260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27263         multiarch logb for PPC64.
27265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27266         isinff multiarch implementation.
27267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27268         file.
27269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27271         multiarch isinf for PPC64.
27272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27273         file.
27274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27275         multiarch isinff for PPC64.
27277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27278         finitef multiarch implementation.
27279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27280         file.
27281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27283         multiarch finite for PPC64.
27284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27285         file.
27286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27287         multiarch finitef for PPC64.
27289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27290         lrint multiarch implementation.
27291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27292         file.
27293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27295         multiarch llrint for PPC64.
27296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27297         multiarch lrint for PPC64.
27299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27300         copysignf multiarch implementation.
27301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27302         file.
27303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27304         file.
27305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27306         multiarch copysign for PPC64.
27307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27308         multiarch copysignf for PPC64.
27310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27311         multiarch implementation.
27312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27313         file.
27314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27315         file.
27316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27317         file.
27318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27319         file.
27320         multiarch llround for PPC64.
27321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27322         multiarch trunc for PPC64.
27323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27324         multiarch truncf for PPC64.
27326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27327         multiarch implementation.
27328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27329         file.
27330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27331         file.
27332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27333         file.
27334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27335         file.
27336         multiarch llround for PPC64.
27337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27338         multiarch round for PPC64.
27339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27340         multiarch roundf for PPC64.
27342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27343         multiarch implementation.
27344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27345         file.
27346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27347         file.
27348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27349         file.
27350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27351         file.
27352         multiarch llround for PPC64.
27353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27354         multiarch floor for PPC64.
27355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27356         multiarch floorf for PPC64.
27358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27359         multiarch implementation.
27360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27361         file.
27362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27363         file.
27364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27365         file.
27366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27367         file.
27368         multiarch llround for PPC64.
27369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27370         multiarch ceil for PPC64.
27371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27372         multiarch ceilf for PPC64.
27374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27375         multiarch implementation.
27376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27377         file.
27378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27379         file.
27380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27381         file.
27382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27383         multiarch llround for PPC64.
27384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27385         multiarch lround for PPC64.
27387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27388         multiarch implementation.
27389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27392         file.
27393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27396         multiarch isnan for PPC64.
27397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27398         multiarch isnanf for PPC64.
27400         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27401         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27402         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27403         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27404         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27407         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27408         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27413         multiarch implementations.
27414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27415         (__libc_ifunc_impl_list): Likewise.
27416         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27417         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27418         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27419         multiarch stpcpy for PPC64.
27421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27422         multiarch implementations.
27423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27424         (__libc_ifunc_impl_list): Likewise.
27425         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27426         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27427         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27428         multiarch strcpy for PPC64.
27430         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27431         redefine function name.
27432         (_wordcopy_fwd_dest_aligned): Likewise.
27433         (_wordcopy_bwd_aligned): Likewise.
27434         (_wordcopy_bwd_dest_aligned): Likewise.
27435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27436         multiarch implementations.
27437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27438         (__libc_ifunc_impl_list): Likewise.
27439         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27440         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27441         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27443         multiarch wcscpy for PPC64.
27445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27446         multiarch implementations.
27447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27448         (__libc_ifunc_impl_list): Likewise.
27449         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27450         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27451         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27453         multiarch wcscpy for PPC64.
27455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27456         multiarch implementations.
27457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27458         (__libc_ifunc_impl_list): Likewise.
27459         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27460         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27461         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27462         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27463         multiarch wcsrchr for PPC64.
27465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27466         multiarch implementations.
27467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27468         (__libc_ifunc_impl_list): Likewise.
27469         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27470         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27471         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27472         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27473         multiarch wcschr for PPC64.
27475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27476         multiarch implementations.
27477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27478         (__libc_ifunc_impl_list): Likewise.
27479         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27480         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27481         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27482         multiarch strchrnul for PPC64.
27484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27485         implementations.
27486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27487         (__libc_ifunc_impl_list): Likewise.
27488         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27489         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27490         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27491         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27492         strchr for PPC64.
27494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27495         implementations.
27496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27497         (__libc_ifunc_impl_list): Likewise.
27498         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27499         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27500         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27501         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27502         strncmp for PPC64.
27504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27505         multiarch implementations.
27506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27507         (__libc_ifunc_impl_list): Likewise.
27508         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27509         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27510         strncasecmp for PPC64.
27511         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27512         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27513         multiarch strncasecmp_l for PPC64.
27515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27516         multiarch implementations.
27517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27518         (__libc_ifunc_impl_list): Likewise.
27519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27521         multiarch strcasecmp for PPC64.
27522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27523         file.
27524         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27525         multiarch strcasecmp_l for PPC64.
27527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27528         implementations.
27529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27530         (__libc_ifunc_impl_list): Likewise.
27531         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27532         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27533         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27534         strnlen for PPC64.
27536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27537         implementations.
27538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27539         (__libc_ifunc_impl_list): Likewise.
27540         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27541         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27542         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27543         strlen for PPC64.
27545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27546         implementations.
27547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27548         (__libc_ifunc_impl_list): Likewise.
27549         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27550         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27551         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27552         rawmemrchr for PPC64.
27554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27555         implementation.
27556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27557         (__libc_ifunc_impl_list): Likewise.
27558         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27559         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27560         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27561         memrchr for PPC64.
27563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27564         implementation.
27565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27566         (__libc_ifunc_impl_list): Likewise.
27567         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27568         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27569         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27570         memchr for PPC64.
27572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27573         implementation.
27574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27575         (__libc_ifunc_impl_list): Likewise.
27576         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27578         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27579         mempcpy for PPC64.
27581         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27582         avoid cretion of __bzero symbol.
27583         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27584         Likewise.
27585         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27586         Likewise.
27587         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27588         Likewise.
27589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27590         multiarch implementations.
27591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27592         (__libc_ifunc_impl_list): Likewise.
27593         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27594         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27595         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27596         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27597         bzero for PPC32.
27598         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27599         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27600         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27601         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27602         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27603         memset for PPC64.
27604         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27606         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27608         implementations.
27609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27610         (__libc_ifunc_impl_list): Likewise.
27611         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27612         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27613         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27614         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27615         memcmp for PPC64.
27617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27618         multiarch for POWER/PPC64.
27619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27620         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27623         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27627         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27628         memcpy for PPC64.
27630         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27631         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27632         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27633         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27634         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27635         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27636         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27637         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27638         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27639         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27640         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27641         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27642         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27643         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27644         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27653 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27655         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27657 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27659         * benchtests/Makefile (bench): Add exp2 and log2.
27660         (LDLIBS-bench-exp2): Add -lm.
27661         (LDLIBS-bench-log2): Likewise.
27662         * benchtests/exp2-inputs: New inputs file.
27663         * benchtests/log2-inputs: New inputs file.
27664         * benchtests/log-inputs: Add new inputs.
27665         * benchtests/tan-inputs: Likewise.
27667 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27669         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27670         definition...
27671         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27672         (csloww2): ... from here.
27674         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27675         instead of structures.
27676         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27677         (POLYNOMIAL): Likewise.
27678         (TAYLOR_SLOW): Likewise.
27679         (__sin): Likewise.
27680         (__cos): Likewise.
27681         (slow1): Likewise.
27682         (slow2): Likewise.
27683         (sloww): Likewise.
27684         (sloww1); Likewise.
27685         (sloww2): Likewise.
27686         (bsloww1): Likewise.
27687         (bsloww2): Likewise.
27688         (cslow2): Likewise.
27689         (csloww): Likewise.
27690         (csloww1): Likewise.
27691         (csloww2): Likewise.
27693 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27695         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27696         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27697         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27698         * malloc/hooks.c (realloc_check): Likewise.
27700         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27701         * malloc/arena.c: Remove PER_THREAD conditional.
27702         [!PER_THREAD]: Remove code.
27703         (ptmalloc_unlock_all2): Likewise.
27704         (ptmalloc_init): Likewise.
27705         (_int_new_arena): Likewise.
27706         (arena_get2): Likewise.
27707         * malloc/hooks.c (__malloc_get_state): Likewise.
27708         (__malloc_set_state): Likewise.
27709         * malloc/malloc.c: Likewise.
27710         (struct malloc_state): Likewise.
27711         (struct malloc_par): Likewise.
27712         (__libc_realloc): Likewise.
27713         (__libc_mallopt): Likewise.
27715 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27717         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27719 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27721         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27722         macro to a function.  Check for zero perturb_byte.
27723         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27725         * malloc/malloc.c: (force_reg): Remove.
27726         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27727         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27728         force_reg by atomic_forced_read.
27729         * malloc/arena.c (ptmalloc_init): Likewise.
27730         * malloc/hooks.c (top_check): Likewise.
27732 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27736 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27740 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27742         * math/auto-libm-test-in: Add tests of lgamma.
27743         * math/auto-libm-test-out: Regenerated.
27744         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27745         (M_LOG_2_SQRT_PIl): Likewise.
27746         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27748         mpfr_f_f1.
27749         (func_calc_desc): Add mpfr_f_f1 union field.
27750         (ARGS1): New macro.
27751         (ARGS2): Likewise.
27752         (ARGS3): Likewise.
27753         (ARGS4): Likewise.
27754         (RET1): Likewise.
27755         (RET2): Likewise.
27756         (CALC): Likewise.
27757         (FUNC): Likewise.
27758         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27759         (test_functions): Add lgamma.
27760         (calc_generic_results): Handle mpfr_f_f1.
27761         * sysdeps/i386/fpu/libm-test-ulps: Update.
27762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27766         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27767         __mpn_add_n for PowerPC64/POWER7.
27768         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27769         __mpn_sub_n for PowerPC64/POWER7.
27771         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27772         __mpn_addmul_1 for PowerPC64.
27773         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27774         __mpn_submul_1 for PowerPC64.
27775         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27776         for PowerPC64.
27777         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27778         for PowerPC64.
27780 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27782         [BZ #15089]
27783         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27785 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27787         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27789         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27790         add multiarch folders.
27791         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27792         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27793         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27794         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27795         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27796         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27797         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27798         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27799         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27800         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27801         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27810         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27812         New file.
27813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27814         New file.
27815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27816         multiarch __ieee754_hypot for PowerPC32.
27817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27818         New file.
27819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27820         New file.
27821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27822         multiarch __ieee754_hypotf for PowerPC32.
27824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27825         long_double_symbol only if __logbl is defined.
27826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27827         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27829         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27831         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27832         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27833         path for implementation.
27834         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27835         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27837         logb, and logbl multiarch implementations for PowerPC32.
27838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27839         file.
27840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27841         file.
27842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27843         multiarch logb for PowerPC32.
27844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27845         file.
27846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27847         file.
27848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27849         multiarch logbf for PowerPC32.
27850         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27852         file.
27853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27854         multiarch logbl implementation for PowerPC32.
27856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27857         and modff multiarch implementations.
27858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27859         New file.
27860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27861         New file.
27862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27863         multiarch modf for PowerPC32.
27864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27865         New file.
27866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27867         New file.
27868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27869         multiarch modff for PowerPC32.
27871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27872         and lrintf multiarch implementations.
27873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27874         New file.
27875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27876         New file.
27877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27878         multiarch lrint for PowerPC32.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27880         file: multiarch lrintf for PowerPC32.
27882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27883         and lroundf multiarch implementations.
27884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27885         New file.
27886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27887         New file.
27888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27889         New file.
27890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27891         multiarch lround for PowerPC32.
27892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27893         file: multiarch lroundf for PowerPC32.
27895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27896         copysign and copysignf multiarch implementations.
27897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27898         New file.
27899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27900         New file.
27901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27902         file: multiarch copysign for PowerPC32.
27903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27904         file: multiarch copysignf for PowerPC32.
27906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27907         and truncf multiarch implementations.
27908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27909         New file.
27910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27911         file.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27913         multiarch trunc for PowerPC32.
27914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27915         New file.
27916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27917         New file.
27918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27919         multiarch truncf for PowerPC32.
27921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27922         and roundf multiarch implementations.
27923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27924         New file.
27925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27926         file.
27927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27928         multiarch round for PowerPC32.
27929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27930         New file.
27931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27932         New file.
27933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27934         multiarch roundf for PowerPC32.
27936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27937         and floorf multiarch implementations.
27938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27939         New file.
27940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27941         file.
27942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27943         multiarch floor for PowerPC32.
27944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27945         New file.
27946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27947         New file.
27948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27949         multiarch floorf for PowerPC32.
27951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27952         and ceilf multiarch implementations.
27953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27954         New file.
27955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27956         file.
27957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27958         multiarch ceil for PowerPC32.
27959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27960         New file.
27961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27962         file.
27963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27964         multiarch ceilf for PowerPC32.
27966         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27967         is defined.
27968         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27969         FINITEF is defined.
27970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27971         and finitef multiarch implementations.
27972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27973         New file.
27974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27975         file.
27976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27977         multiarch finite for PowerPC32.
27978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27979         New file.
27980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27981         file: multiarch finitef for PowerPC32.
27983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27984         and isinff multiarch implementations.
27985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27986         file.
27987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27988         file.
27989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27990         multiarch isinf for PowerPC32.
27991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27992         New file.
27993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27994         multiarch isinff for PowerPC32.
27996         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27997         alias when __isnan is defined.
27998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27999         and isnanf multiarch implementations.
28000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28001         file.
28002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28003         file.
28004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28005         file.
28006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28007         file.
28008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28009         multiarch isnan for PowerPC32.
28010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28011         New file.
28012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28013         New file.
28014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28015         multiarch isnanf for PowerPC32.
28017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28018         and sqrtf multiarch implementations.
28019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28020         file.
28021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28022         file.
28023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28024         multiarch sqrt for PowerPC32.
28025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28026         file.
28027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28028         file.
28029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28030         multiarch sqrtf for PowerPC32.
28032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28033         and llroundf multiarch implementations.
28034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28035         New file.
28036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28037         New file.
28038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28039         New file.
28040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28041         file: multiarch llround for PowerPC32.
28042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28043         file: multiarch llroundf for PowerPC32.
28045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28046         multiarch PowerPC32 fpu implementations.
28047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28048         New file.
28049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28050         New file.
28051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28052         multiarch llrint for PowerPC32.
28053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28054         New file.
28055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28056         New file.
28057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28058         file.
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28062         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28063         file.
28064         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28065         file.
28066         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28067         file.
28068         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28069         multiarch wordcopy for PPC32.
28070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28071         wordcopy objects.
28072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28073         (__libc_ifunc_impl_list): Likewise.
28074         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28075         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28076         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28077         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28078         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28079         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28081         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28083         file.
28084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28085         file.
28086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28087         file.
28088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28089         multiarch wcscpy for PPC32.
28090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28091         multiarch objects.
28092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28093         (__libc_ifunc_impl_list): Likewise.
28094         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28095         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28096         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28097         sysdeps/powerpc/power6/wcscpy.c.
28099         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28101         file.
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28103         file.
28104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28105         file.
28106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28107         multiarch wcsrchr for PPC32.
28108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28109         multiarch objects.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28111         (__libc_ifunc_impl_list): Likewise.
28112         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28113         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28114         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28115         sysdeps/powerpc/power6/wcsrchr.c.
28117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28118         file.
28119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28120         file.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28123         multiarch wcschr for PPc32.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28125         multiarch objects.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28127         (__libc_ifunc_impl_list): Likewise.
28128         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28129         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28130         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28131         sysdeps/powerpc/power6/wcschr.c.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28135         file.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28137         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28138         file: multiarch strchr for PPC32.
28139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28140         multiarch objects.
28141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28142         (__libc_ifunc_impl_list): Likewise.
28144         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28145         name.
28146         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28147         file.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28149         file.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28151         multiarch strchrnul for PPC32.
28152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28153         multiarch objects.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28155         (__libc_ifunc_impl_list): Likewise.
28157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28158         file.
28159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28160         multiarch strncasecmp for PPC32.
28161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28162         file.
28163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28164         multiarch strncasecmp_l for PPC32.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28166         strncasecmp multiarch objects.
28167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28168         (__libc_ifunc_impl_list): Likewise.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28171         file.
28172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28173         multiarch strncasecmp for PPC32.
28174         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28175         New file.
28176         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28177         multiarch strcasecmp_l for PPC32.
28178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28179         multiarch objects.
28180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28181         (__libc_ifunc_impl_list): Likewise.
28183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28184         file.
28185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28186         file.
28187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28188         multiarch strncmp for PPC32.
28189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28190         multiarch objects.
28191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28192         (__libc_ifunc_impl_list): Likewise.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28195         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28196         file.
28197         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28198         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28200         multiarch objects.
28201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28202         (__libc_ifunc_impl_list): Likewise.
28204         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28205         file.
28206         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28207         file.
28208         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28210         multiarch objects.
28211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28212         (__libc_ifunc_impl_list): Likewise.
28214         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28215         file.
28216         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28217         file.
28218         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28219         multiarch rawmemchr for PPC32.
28220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28221         multiarch objects.
28222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28223         (__libc_ifunc_impl_list): Likewise.
28225         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28226         file.
28227         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28228         file.
28229         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28230         file: memrchr multiarch for PPC32.
28231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28232         multiarch objects.
28233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28234         (__libc_ifunc_impl_list): Likewise.
28236         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28237         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28238         file.
28239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28240         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28241         multiarch memchr for PPC32.
28242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28243         multiarch objects.
28244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28245         (__libc_ifunc_impl_list): Likewise.
28247         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28248         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28249         file.
28250         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28251         file.
28252         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28253         file: multiarch mempcpy for PPC32.
28254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28255         multiarch objects.
28256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28257         (__libc_ifunc_impl_list): Likewise.
28259         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28260         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28261         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28263         multiarch bzero for PPC32.
28264         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28265         file.
28266         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28267         file.
28268         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28269         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28270         file: multiarch memset for PPC32.
28271         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28273         memset multiarch objects.
28274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28275         (__libc_ifunc_impl_list): Likewise.
28277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28278         file.
28279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28281         memcmp for PPC32.
28282         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28284         multiarch objects.
28285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28286         (__libc_ifunc_impl_list): Likewise.
28288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28291         file.
28292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28293         file.
28294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28295         file.
28296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28297         multiarch memcpy for PPC32.
28298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28299         multiarch objects.
28300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28301         (__libc_ifunc_impl_list): Likewise.
28303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28304         support multiarch for POWER/PPC32.
28305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28306         Likewise.
28307         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28309         Implies file to make multiarch folder appers before the fpu and
28310         default folder for power4 configuration.
28312 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28314         * scripts/bench.pl: Append volatile keyword to type.
28316 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28318         * sysdeps/sh/sotruss-lib.c: New file.
28319         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28321 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28325 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28327         [BZ #6810]
28328         * math/w_tgamma.c: Include <errno.h>.
28329         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28330         * math/w_tgammaf.c: Include <errno.h>.
28331         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28332         * math/w_tgammal.c: Include <errno.h>.
28333         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28334         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28335         underflow.  Add more tgamma tests.
28336         * math/auto-libm-test-out: Regenerated.
28337         * sysdeps/i386/fpu/libm-test-ulps: Update.
28338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28340         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28341         sin, sinh, tan, tanh, tgamma, y0 and y1.
28342         * math/auto-libm-test-out: Regenerated.
28343         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28344         (TEST_COND_x86): Likewise.
28345         (M_E2l): Remove macro.
28346         (M_E3l): Likewise.
28347         (M_2_SQRT_PIl): Likewise.
28348         (M_SQRT_PIl): Likewise.
28349         (M_1_DIV_El): Likewise.
28350         (log_test_data): Use AUTO_TESTS_f_f.
28351         (log10_test_data): Likewise.
28352         (log1p_test_data): Likewise.
28353         (log2_test_data): Likewise.
28354         (sin_test_data): Likewise.
28355         (sin_tonearest_test_data): Likewise.
28356         (sin_towardzero_test_data): Likewise.
28357         (sin_downward_test_data): Likewise.
28358         (sin_upward_test_data): Likewise.
28359         (sinh_test_data): Likewise.
28360         (sinh_tonearest_test_data): Likewise.
28361         (sinh_towardzero_test_data): Likewise.
28362         (sinh_downward_test_data): Likewise.
28363         (sinh_upward_test_data): Likewise.
28364         (tan_test_data): Likewise.
28365         (tan_tonearest_test_data): Likewise.
28366         (tan_towardzero_test_data): Likewise.
28367         (tan_downward_test_data): Likewise.
28368         (tan_upward_test_data): Likewise.
28369         (tanh_test_data): Likewise.
28370         (tgamma_test_data): Likewise.
28371         (y0_test_data): Likewise.
28372         (y1_test_data): Likewise.
28373         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28374         (special_real_inputs): Add pi/4.
28375         * sysdeps/i386/fpu/libm-test-ulps: Update.
28376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28378 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28380         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28381         "longjmp_target" static probes.
28382         (__longjmp): Rename to __longjmp_symbol.
28383         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28384         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28385         on which longjmp to generate.
28386         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28387         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28388         probe.
28389         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28390         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28391         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28392         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28393         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28394         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28396         __longjmp_symbol based on which __longjmp to generate.
28397         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28398         probe.
28399         (setjmp): Rename to setjmp_symbol.
28400         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28401         (_setjmp): Rename to _setjmp_symbol.
28402         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28403         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28404         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28405         which setjmp to generate.
28406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28407         "longjmp_target" static probes.
28409 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28411         * benchtests/README: Add note about output arguments.
28412         * benchtests/bench-sincos.c: Remove file.
28413         * benchtests/sincos-inputs: New file.
28414         * scripts/bench.pl: Identify output arguments and define
28415         static variables for them.
28417         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28419         [BZ #15941]
28420         * Makefile (INSTALL): Add install-plain.texi as the primary
28421         dependency.
28422         * manual/install-plain.texi: New file.
28423         * manual/install.texi: Include node directive only for
28424         non-plaintext output.
28426 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28428         * stdlib/longlong.h: Update from GCC.
28430         [BZ #6807]
28431         [BZ #15901]
28432         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28433         * math/w_j0f.c (y0f): Likewise.
28434         * math/w_j0l.c (__y0l): Likewise.
28435         * math/w_j1.c (y1): Likewise.
28436         * math/w_j1f.c (y1f): Likewise.
28437         * math/w_j1l.c (__y1l): Likewise
28438         * math/w_jn.c (yn): Likewise.
28439         * math/w_jnf.c (ynf): Likewise.
28440         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28441         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28442         value for Bessel function domain errors outside _SVID_ mode.
28443         Adjust sign of return value for yn (negative integer, 0).
28444         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28445         by zero in return for negative x and set sign appropriately for
28446         negative n.
28447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28448         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28449         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28450         expectations in error cases.
28451         (y1_test_data): Likewise.
28452         (yn_test_data): Likewise.
28453         * sysdeps/i386/fpu/libm-test-ulps: Update.
28454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28456 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28458         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28459         "64" to "64-v1".  Add "64-v2".
28460         (abi-64-options): Rename to ...
28461         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28462         (abi-64-condition): Rename to ...
28463         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28464         (abi-64-ld-soname): Rename to ...
28465         (abi-64-v1-ld-soname): ... this.
28466         (abi-64-v2-options): Define.
28467         (abi-64-v2-condition): Likewise.
28468         (abi-64-v2-ld-soname): Likewise.
28469         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28470         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28475 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28476             Alan Modra  <amodra@gmail.com>
28478         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28479         New versions for use with the ELFv2 ABI.
28480         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28481         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28482         declaration.
28483         (struct La_ppc64v2_retval): Likewise.
28484         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28485         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28486         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28487         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28488         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28490         Do not save or restore CR.
28491         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28492         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28493         return values for ELFv2 ABI.  Fix location of FPR return registers.
28494         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28495         updated values for _CALL_ELF == 2.
28496         (La_regs, La_retval, int_retval): Likewise.
28498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28500         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28501         (FRAME_MIN_SIZE_PARM): Likewise.
28502         (FRAME_BACKCHAIN): Likewise.
28503         (FRAME_CR_SAVE): Likewise.
28504         (FRAME_LR_SAVE): Likewise.
28505         (FRAME_TOC_SAVE): Likewise.
28506         (FRAME_PARM_SAVE): Likewise.
28507         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28508         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28509         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28510         (call_mcount_parm_offset): New macro.
28511         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28512         (PROF): Use symbolic stack frame offsets.
28513         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28514         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28515         Redefine in terms of FRAME_MIN_SIZE.
28516         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28517         (_dl_profile_resolve): Likewise.  Update comment.
28518         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28519         symbols stack frame offsets.
28520         (__sigsetjmp): Likewise.
28521         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28522         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28523         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28524         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28527         (FRAME_BACKCHAIN): Remove.
28528         (FRAME_CR_SAVE): Likewise.
28529         (FRAME_LR_SAVE): Likewise.
28530         (FRAME_COMPILER_DW): Likewise.
28531         (FRAME_LINKER_DW): Likewise.
28532         (FRAME_TOC_SAVE): Likewise.
28533         (FRAME_PARM_SAVE): Likewise.
28534         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28535         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28536         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28538         (CHECK_SP): Use symbolic stack frame offsets.
28539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28540         zone" instead of caller's parameter save area for temp storage.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28542         Likewise.  Also, use symbolic stack frame offsets.
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28544         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28545         our own stack frame instead of the caller's.
28546         (__socket): Use symbolic stack frame offsets.
28548 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28549             Alan Modra  <amodra@gmail.com>
28551         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28552         Define.
28553         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28554         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28555         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28556         New function.
28557         (elf_machine_fixup_plt): Call it.
28558         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28559         reloc arguments.
28560         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28561         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28562         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28563         r2 before calling target.
28565 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28566             Alan Modra  <amodra@gmail.com>
28568         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28569         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28570         versions of macros to support ELFv2 ABI.
28571         (LOCALENTRY): New macro.
28572         (ENTRY, EALIGN): Use it.
28573         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28574         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28575         fall through into ENTRY entry point.
28576         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28577         Only define if _CALL_ELF != 2.
28579         (elf_machine_matches_host): Verify ABI version matches.
28580         (RTLD_START): Use LOCALENTRY.
28581         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28582         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28583         (PLT_ENTRY_WORDS): New macro.
28584         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28585         (elf_machine_runtime_setup): Support ELFv2 ABI.
28586         (elf_machine_fixup_plt): Likewise.
28587         (elf_machine_plt_conflict): Likewise.
28588         (resolve_ifunc): Likewise.
28589         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28590         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28591         Likewise.
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28593         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28595         (makecontext): Support ELFv2 ABI.
28596         * elf/elf.h (EF_PPC64_ABI): Define.
28598 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28600         * sysdeps/powerpc/powerpc64/sysdep.h
28601         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28602         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28603         (ENTRY) [ASSEMBLER]: ... but instead here ...
28604         (EALIGN) [ASSEMBLER]: ... and here.
28605         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28606         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28607         (ENTRY_2) [!ASSEMBLER]: Use it.
28608         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28609         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28610         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28611         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28612         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28614         Use PPC64_LOAD_FUNCPTR.
28616         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28618 2013-12-04  Alan Modra  <amodra@gmail.com>
28620         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28621         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28622         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28623         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28626         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28627         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28628         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28629         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28630         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28632 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28635         (__makecontext): Fix incorrect CFI when backtracing out of
28636         context created via makecontext.
28637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28638         (__setcontext): Fix incorrect CFI during switch to new context.
28639         (__novec_setcontext): Likewise.
28641 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28643         [BZ #4772]
28644         * time/strptime_l.c (__strptime_internal): Allow modifiers
28645         in strptime.
28646         * time/tst-strptime.c (day_tests): Add testcase.
28648 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28650         * scripts/bench.pl: Skip over blank lines.
28652 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28654         [BZ #926]
28655         * manual/time.texi (Calendar Time): Clarify what timezone functions
28656         use.
28658 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28662 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28664         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28665         implementation.
28666         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28667         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28668         * debug/memset_chk.c (__memset_chk): Likewise.
28669         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28670         * debug/strncpy_chk.c: Likewise.
28672 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28674         [BZ #15268]
28675         [BZ #15425]
28676         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28677         (__ieee754_exp): For possibly underflowing results, check size of
28678         result and force underflow exception if required.
28679         * math/auto-libm-test-in: Add more tests of exp.
28680         * math/auto-libm-test-out: Regenerated.
28681         * sysdeps/i386/fpu/libm-test-ulps: Update.
28682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28684         [BZ #16283]
28685         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28686         * math/w_exp2f.c (__exp2f): Likewise.
28687         * math/w_exp2l.c (__exp2l): Likewise.
28688         * math/auto-libm-test-in: Do not allow missing errno on exp2
28689         underflow.
28690         * math/auto-libm-test-out: Regenerated.
28692 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28694         [BZ #16274]
28695         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28696         handle filename validation.
28697         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28698         (do_open): Delete.
28700 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28702         [BZ #6786]
28703         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28704         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28705         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28706         <float.h>.
28707         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28709         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28710         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28711         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28713         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28714         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28715         Add more erfc tests.
28716         * math/auto-libm-test-out: Regenerated.
28717         * sysdeps/i386/fpu/libm-test-ulps: Update.
28718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28720         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28721         exp2, expm1, j0 and j1.
28722         * math/auto-libm-test-out: Regenerated.
28723         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28724         (erfc_test_data): Likewise.
28725         (exp_test_data): Likewise.
28726         (exp_tonearest_test_data): Likewise.
28727         (exp_towardzero_test_data): Likewise.
28728         (exp_downward_test_data): Likewise.
28729         (exp_upward_test_data): Likewise.
28730         (exp10_test_data): Likewise.
28731         (exp2_test_data): Likewise.
28732         (expm1_test_data): Likewise.
28733         (j0_test_data): Likewise.
28734         (j1_test_data): Likewise.
28735         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28736         (input_flag_type): Add flag_xfail_rounding.
28737         (input_flags): Add xfail-rounding.
28738         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28739         (output_for_one_input_case): Handle flag_xfail_rounding.
28740         * sysdeps/i386/fpu/libm-test-ulps: Update.
28741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28743 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28745         [BZ #16289]
28746         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28747         division by 0.
28749 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28751         [BZ #16195]
28752         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28753         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28754         (STAP_PROBE0): New macro.
28755         (STAP_PROBE1): Likewise.
28756         (STAP_PROBE2): Likewise.
28757         (STAP_PROBE3): Likewise.
28758         (STAP_PROBE4): Likewise.
28760 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28762         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28764 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28766         * benchtests/Makefile (bench): Add sqrt.
28767         (LDLIBS-bench-sqrt): New.
28768         * benchtests/sqrt-input: New.
28770 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28772         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28773         (GAIH_EAI): Likewise.
28774         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28775         (gaih_inet): Likewise.
28776         (getaddrinfo): Don't use GAIH_EAI.
28778         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28779         (struct gaih): Remove definition.
28781 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28783         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28784         Use HERRNOP directly.
28786 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28790 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28792         * math/gen-auto-libm-tests.c (test_functions): Add more
28793         single-argument functions.
28794         (special_fill_pi_2): New function.
28795         (special_fill_minus_pi_2): Likewise.
28796         (special_fill_pi_6): Likewise.
28797         (special_fill_minus_pi_6): Likewise.
28798         (special_fill_pi_3): Likewise.
28799         (special_fill_2pi_3): Likewise.
28800         (special_fill_e): Likewise.
28801         (special_fill_1_e): Likewise.
28802         (special_fill_e_minus_1): Likewise.
28803         (special_real_inputs): Add more special inputs.
28804         (output_for_one_input_case): Do not require ERANGE on underflow to
28805         zero if round-to-nearest result does not underflow to zero, unless
28806         exact results required.
28807         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28808         atan, atanh, cbrt, cos and cosh.
28809         * math/auto-libm-test-out: Regenerated.
28810         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28811         (acos_tonearest_test_data): Likewise.
28812         (acos_towardzero_test_data): Likewise.
28813         (acos_downward_test_data): Likewise.
28814         (acos_upward_test_data): Likewise.
28815         (acosh_test_data): Likewise.
28816         (asin_test_data): Likewise.
28817         (asin_tonearest_test_data): Likewise.
28818         (asin_towardzero_test_data): Likewise.
28819         (asin_upward_test_data): Likewise.
28820         (asinh_test_data): Likewise.
28821         (atan_test_data): Likewise.
28822         (atanh_test_data): Likewise.
28823         (cbrt_test_data): Likewise.
28824         (cos_test_data): Likewise.
28825         (cos_tonearest_test_data): Likewise.
28826         (cos_towardzero_test_data): Likewise.
28827         (cos_downward_test_data): Likewise.
28828         (cos_upward_test_data): Likewise.
28829         (cosh_test_data): Likewise.
28830         (cosh_tonearest_test_data): Likewise.
28831         (cosh_towardzero_test_data): Likewise.
28832         (cosh_downward_test_data): Likewise.
28833         (cosh_upward_test_data): Likewise.
28834         * sysdeps/i386/fpu/libm-test-ulps: Update.
28835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28837 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28839         [BZ #6787]
28840         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28841         * math/w_exp10f.c (__exp10f): Likewise.
28842         * math/w_exp10l.c (__exp10l): Likewise.
28843         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28844         errno settings in existing tests.
28846         [BZ #14032]
28847         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28848         precision control set to double precision.
28849         * sysdeps/i386/fpu/w_sqrt.c: New file.
28850         * math/auto-libm-test-in: Add more tests.
28851         * math/auto-libm-test-out: Update.
28853         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28854         (sqrt_test_tonearest): New function.
28855         (sqrt_towardzero_test_data): New variable.
28856         (sqrt_test_towardzero): New function.
28857         (sqrt_downward_test_data): New variable.
28858         (sqrt_test_downward): New function.
28859         (sqrt_upward_test_data): New variable.
28860         (sqrt_test_upward): New function.
28861         (main): Call the new functions.
28863         * math/gen-auto-libm-tests.c: New file.
28864         * math/auto-libm-test-in: Likewise.
28865         * math/auto-libm-test-out: New generated file.
28866         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28867         variables.
28868         (%beautify): Add generated representations of zero.
28869         (top level): Set $auto_input and call parse_auto_input.
28870         (beautify): Remove trailing "f" from hex float constants.
28871         (parse_args): Handle XFAIL_TEST.
28872         (convert_condition): New function.
28873         (or_value): Likewise.
28874         (or_cond_value): Likewise.
28875         (generate_testfile): Handle AUTO_TESTS_* lines.
28876         (parse_auto_input): New function.
28877         * math/libm-test.inc (XFAIL_TEST): New macro.
28878         (ERRNO_UNCHANGED): Update value.
28879         (ERRNO_EDOM): Likewise.
28880         (ERRNO_ERANGE): Likewise.
28881         (IGNORE_RESULT): Likewise.
28882         (TEST_COND_flt_32): New macro.
28883         (TEST_COND_dbl_64): Likewise.
28884         (TEST_COND_ldbl_96_intel): Likewise.
28885         (TEST_COND_ldbl_96_m68k): Likewise.
28886         (TEST_COND_ldbl_128): Likewise.
28887         (TEST_COND_ldbl_128ibm): Likewise.
28888         (TEST_COND_long32): Likewise.
28889         (TEST_COND_long64): Likewise.
28890         (TEST_COND_before_rounding): Likewise.
28891         (TEST_COND_after_rounding): Likewise.
28892         (enable_test): Handle XFAIL_TEST flag.
28893         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28894         with finite results.
28895         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28896         auto-libm-test-out.
28898 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28899             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28901         [BZ #16214]
28902         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28903         __tls_get_addr_internal instead of __tls_get_offset in order to
28904         avoid GOT pointer dependency.  Make rtld export
28905         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28906         __tls_get_addr since we are a __tls_get_offset platform.
28907         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28908         GOT pointer being set up before.
28909         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28911 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28913         * manual/math.texi (Errors in Math Functions): Document accuracy
28914         goals.
28916         [BZ #15004]
28917         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28918         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28919         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28920         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28921         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28923         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28924         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28928         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28929         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28930         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28931         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28932         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28934         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28935         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28936         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28937         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28938         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28939         Likewise.
28940         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28941         Likewise.
28942         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28943         Likewise.
28944         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28945         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28946         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28947         atomic-feupdateenv and flt-rounds.
28948         * sysdeps/powerpc/nofpu/Versions (libc): Add
28949         __atomic_feholdexcept, __atomic_feclearexcept,
28950         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28951         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28952         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28953         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28954         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28955         here.
28956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28957         Update.
28959         * manual/arith.texi (FP Exceptions): Document that exceptions may
28960         not be raised when matherr is used.
28961         (Math Error Reporting): Document overflow in directed rounding
28962         modes.  Document that errno may not be set when finite values are
28963         returned on overflow.  Document intent to set errno on underflow
28964         only for underflow to zero.
28966         [BZ #16271]
28967         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28968         round-to-nearest then adjust result for other rounding modes.
28969         * include/fenv.h (fegetround): Use libm_hidden_proto.
28970         * math/fegetround.c (fegetround): Use libm_hidden_def.
28971         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28972         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28973         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28974         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28975         Likewise.
28976         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28977         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28978         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28979         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28981 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28983         [BZ #16077]
28984         * nss/Versions (libnss_files): Add
28985         _nss_files_gethostbyname3_r.
28986         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28987         New function.
28988         (HOST_DB_LOOKUP): Remove macro.
28989         (_nss_files_gethostbyname_r): Implement function without the
28990         HOST_DB_LOOKUP macro.
28991         (_nss_files_gethostbyname2_r): Likewise.
28993 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28995         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28997 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28999         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29000         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29001         warning.
29003 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29005         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29006         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29007         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29008         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29009         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29010         __fe_nomask_env_priv and attribute_hidden.
29011         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29012         (libc_feupdateenv_test_ppc): Likewise.
29013         (libc_feresetround_ppc): Likewise.
29014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29015         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29016         compat_symbol macro.
29017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29018         (__fe_nomask_env): Likewise.
29019         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29021 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29023         * string/Makefile: Remove ifunc tests.
29024         * string/test-string.h: Define TEST_IFUNC.
29025         * string/test-bcopy-ifunc.c: Remove.
29026         * string/test-bzero-ifunc.c: Likewise.
29027         * string/test-memccpy-ifunc.c: Likewise.
29028         * string/test-memchr-ifunc.c: Likewise.
29029         * string/test-memcmp-ifunc.c: Likewise.
29030         * string/test-memcpy-ifunc.c: Likewise.
29031         * string/test-memmem-ifunc.c: Likewise.
29032         * string/test-memmove-ifunc.c: Likewise.
29033         * string/test-mempcpy-ifunc.c: Likewise.
29034         * string/test-memrchr-ifunc.c: Likewise.
29035         * string/test-memset-ifunc.c: Likewise.
29036         * string/test-rawmemchr-ifunc.c: Likewise.
29037         * string/test-stpcpy-ifunc.c: Likewise.
29038         * string/test-stpncpy-ifunc.c: Likewise.
29039         * string/test-strcasecmp-ifunc.c: Likewise.
29040         * string/test-strcasestr-ifunc.c: Likewise.
29041         * string/test-strcat-ifunc.c: Likewise.
29042         * string/test-strchr-ifunc.c: Likewise.
29043         * string/test-strchrnul-ifunc.c: Likewise.
29044         * string/test-strcmp-ifunc.c: Likewise.
29045         * string/test-strcpy-ifunc.c: Likewise.
29046         * string/test-strcspn-ifunc.c: Likewise.
29047         * string/test-strlen-ifunc.c: Likewise.
29048         * string/test-strncasecmp-ifunc.c: Likewise.
29049         * string/test-strncat-ifunc.c: Likewise.
29050         * string/test-strncmp-ifunc.c: Likewise.
29051         * string/test-strncpy-ifunc.c: Likewise.
29052         * string/test-strnlen-ifunc.c: Likewise.
29053         * string/test-strpbrk-ifunc.c: Likewise.
29054         * string/test-strrchr-ifunc.c: Likewise.
29055         * string/test-strspn-ifunc.c: Likewise.
29056         * string/test-strstr-ifunc.c: Likewise.
29058 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29060         * benchtests/Makefile: Remove ifunc tests.
29061         * benchtests/bench-string.h: Define TEST_IFUNC.
29062         * benchtests/bench-bcopy-ifunc.c: Remove.
29063         * benchtests/bench-bzero-ifunc.c: Likewise.
29064         * benchtests/bench-memccpy-ifunc.c: Likewise.
29065         * benchtests/bench-memchr-ifunc.c: Likewise.
29066         * benchtests/bench-memcmp-ifunc.c: Likewise.
29067         * benchtests/bench-memcpy-ifunc.c: Likewise.
29068         * benchtests/bench-memmem-ifunc.c: Likewise.
29069         * benchtests/bench-memmove-ifunc.c: Likewise.
29070         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29071         * benchtests/bench-memrchr-ifunc.c: Likewise.
29072         * benchtests/bench-memset-ifunc.c: Likewise.
29073         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29074         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29075         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29076         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29077         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29078         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29079         * benchtests/bench-strcat-ifunc.c: Likewise.
29080         * benchtests/bench-strchr-ifunc.c: Likewise.
29081         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29082         * benchtests/bench-strcmp-ifunc.c: Likewise.
29083         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29084         * benchtests/bench-strcpy-ifunc.c: Likewise.
29085         * benchtests/bench-strcspn-ifunc.c: Likewise.
29086         * benchtests/bench-strlen-ifunc.c: Likewise.
29087         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29088         * benchtests/bench-strncat-ifunc.c: Likewise.
29089         * benchtests/bench-strncmp-ifunc.c: Likewise.
29090         * benchtests/bench-strncpy-ifunc.c: Likewise.
29091         * benchtests/bench-strnlen-ifunc.c: Likewise.
29092         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29093         * benchtests/bench-strrchr-ifunc.c: Likewise.
29094         * benchtests/bench-strsep-ifunc.c: Likewise.
29095         * benchtests/bench-strspn-ifunc.c: Likewise.
29096         * benchtests/bench-strstr-ifunc.c: Likewise.
29098 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29100         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29102 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29104         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29105         * rt/aio.h: Likewise.
29106         * sysdeps/gnu/bits/utmp.h: Likewise.
29107         * sysdeps/gnu/bits/utmpx.h: Likewise.
29108         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29109         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29110         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29111         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29112         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29113         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29114         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29115         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29116         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29117         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29118         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29119         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29120         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29122         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29123         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29124         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29125         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29126         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29127         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29128         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29129         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29130         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29131         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29132         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29134         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29135         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29136         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29137         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29138         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29139         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29140         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29141         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29142         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29143         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29144         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29145         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29146         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29147         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29148         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29149         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29151 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29153         [BZ #16245]
29154         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29155         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29157 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29159         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29160         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29161         Likewise.
29163 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29166         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29167         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29168         (__fesetround): Remove define.
29169         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29170         rounding and exceptions handling.
29171         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29172         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29173         (__fe_nomask_env): Likewise.
29174         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29175         __fegetround instead of fegetround.
29176         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29177         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29179 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29181         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29182         it's there.
29184         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29186 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29188         [BZ #11157]
29189         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29190         (encrypt_r): Likewise.
29191         * malloc/obstack.h (obstack_free): Likewise.
29192         * posix/unistd.h (encrypt): Likewise.
29194 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29196         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29197         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29198         DL_CALL_DT_FINI() that call the functions directly.
29199         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29200         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29201         * elf/dl-fini.c: Likewise.
29203 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29205         * malloc/hooks.c (memalign_check): Add alignment rounding.
29206         * malloc/malloc.c (_mid_memalign): New function.
29207         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29208         Implement by calling _mid_memalign.
29209         * manual/probes.texi (Memory Allocation Probes): Remove
29210         memory_valloc_retry and memory_pvalloc_retry.
29212 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29214         * locale/programs/locarchive.c (open_archive): Add const
29215         qualifier to ARCHIVEFNAME and copy default fname to
29216         DEFAULT_FNAME.
29218         [BZ #15601]
29219         * libio/tst-widetext.input: Rename Oriya to Odia.
29220         * locale/iso-639.def: Likewise.
29222         * manual/probes.texi (Mathematical Function Probes): Add
29223         documentation for sin, cos, asin and acos probes.
29224         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29225         (__sin32): Add slowasin probe.
29226         (__cos32): Add slowacos probe.
29227         (__mpsin): Add slowsin probe.
29228         (__mpcos): Add slowcos probe.
29230 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29232         [BZ #15483]
29233         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29234         thread-local __sim_exceptions_thread and global
29235         __sim_exceptions_global.
29236         (__sim_disabled_exceptions): Change to thread-local
29237         __sim_disabled_exceptions_thread and global
29238         __sim_disabled_exceptions_global.
29239         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29240         and global __sim_round_mode_global.
29241         (__simulate_exceptions): Use thread-local floating-point state and
29242         set global state from it as needed.
29243         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29244         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29245         __sim_round_mode_thread.
29246         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29247         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29248         and global __sim_exceptions_global.
29249         (__sim_disabled_exceptions): Change to thread-local
29250         __sim_disabled_exceptions_thread and global
29251         __sim_disabled_exceptions_global.
29252         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29253         and global __sim_round_mode_global.
29254         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29255         (SIM_SET_GLOBAL): Likewise.
29256         * sysdeps/powerpc/soft-fp/sfp-machine.h
29257         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29258         __sim_round_mode_thread.
29259         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29260         __sim_disabled_exceptions_thread.
29261         (__sim_exceptions): Change to __sim_exceptions_thread.
29262         (__sim_disabled_exceptions): Change to
29263         __sim_disabled_exceptions_thread.
29264         (__sim_round_mode): Change to __sim_round_mode_thread.
29265         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29266         thread-local floating-point state and set global state from it as
29267         needed.
29268         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29269         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29270         (__sim_disabled_exceptions): Remove extern declaration.
29271         (feenableexcept): Use thread-local floating-point state and set
29272         global state from it as needed.
29273         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29274         extern declaration.
29275         (__sim_disabled_exceptions): Likewise.
29276         (__sim_round_mode): Likewise.
29277         (__fegetenv): Use thread-local floating-point state.
29278         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29279         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29280         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29281         floating-point state and set global state from it as needed.
29282         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29283         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29284         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29285         Likewise.
29286         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29287         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29288         Likewise.
29289         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29290         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29291         Use __sim_round_mode_thread.
29292         * math/test-fenv-tls.c: New file.
29293         * math/Makefile (tests): Add test-fenv-tls.
29294         ($(objpfx)test-fenv-tls): Depend on
29295         $(common-objpfx)nptl/libpthread.so.
29297 2013-11-19  Andreas Schwab  <schwab@suse.de>
29299         * locale/programs/locale.c (show_info): Decode wordarray elements.
29300         * locale/categories.def (LC_MONETARY): Add element for
29301         _NL_MONETARY_CRNCYSTR.
29302         * locale/C-monetary.c (conversion_rate): New variable.
29303         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29304         element.
29306 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29308         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29309         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29311 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29313         * elf/Makefile (tst-auxv): New test.
29314         * elf/tst-auxv.c: New
29315         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29317 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29319         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29320         (hidden_proto): Caller changed.
29321         (hidden_tls_proto): New macro.
29322         (libc_hidden_tls_proto): Likewise.
29323         (rtld_hidden_tls_proto): Likewise.
29324         (libm_hidden_tls_proto): Likewise.
29325         (libresolv_hidden_tls_proto): Likewise.
29326         (librt_hidden_tls_proto): Likewise.
29327         (libdl_hidden_tls_proto): Likewise.
29328         (libnss_files_hidden_tls_proto): Likewise.
29329         (libnsl_hidden_tls_proto): Likewise.
29330         (libnss_nisplus_hidden_tls_proto): Likewise.
29331         (libutil_hidden_tls_proto): Likewise.
29333 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29335         [BZ #10253]
29336         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29337         (decompose_rpath): Defer expansion to fillin_rpath.
29338         (_dl_init_paths): Pass linkmap to fillin_rpath.
29340 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29342         * benchtests/Makefile: Add strsep.
29343         * benchtests/bench-strsep.c: New file: strsep benchtest.
29344         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29346 2013-11-18  Andreas Schwab  <schwab@suse.de>
29348         * locale/programs/locale.c (show_info) [case byte]: Check for
29349         '\377' instead of '\177'.
29350         * locale/C-monetary.c (not_available): Always use "\377".
29351         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29352         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29353         detect unavailable sign_posn locale elements.
29354         * locale/localeconv.c (__localeconv): For grouping and
29355         mon_grouping handle "\177" and "\377" like no grouping.
29356         (INT_ELEM): New macro.  Use it to set all numeric members.
29357         * locale/programs/ld-monetary.c (monetary_read)
29358         <tok_mon_grouping>: Normalize single -1 to the empty string.
29359         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29360         Likewise.
29362 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29364         [BZ #16055]
29365         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29366         when we match (nil).
29367         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29369 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29371         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29372         (NO_TEST_INLINE): Update value.
29373         (ERRNO_UNCHANGED): Likewise.
29374         (ERRNO_EDOM): Likewise.
29375         (ERRNO_ERANGE): Likewise.
29376         (IGNORE_RESULT): Likewise.
29377         (check_float_internal): Check signs of NaN results if
29378         TEST_NAN_SIGN used.
29379         (check_complex): Pass TEST_NAN_SIGN flag through to second
29380         check_float_internal call.
29381         (copysign_test_data): Add tests with quiet NaNs as second
29382         argument.  Use TEST_NAN_SIGN.
29383         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29384         TEST_NAN_SIGN.
29385         (signbit_test_data): Add tests of quiet NaN argument.
29386         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29388         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29389         $ignore_result.
29390         (parse_args): Handle function results specified as IGNORE.
29391         * math/libm-test.inc (IGNORE_RESULT): New macro.
29392         (check_float_internal): Do not check numerical result if flag
29393         IGNORE_RESULT set.
29394         (check_complex): Pass through IGNORE_RESULT to second
29395         check_float_internal call.
29396         (check_int): Do not check numerical result if flag IGNORE_RESULT
29397         set.
29398         (check_long): Likewise.
29399         (check_bool): Likewise.
29400         (check_longlong): Likewise.
29401         (lrint_test_data): Add tests of infinite and NaN arguments.
29402         (lrint_tonearest_test_data): Likewise.
29403         (lrint_towardzero_test_data): Likewise.
29404         (lrint_downward_test_data): Likewise.
29405         (lrint_upward_test_data): Likewise.
29406         (llrint_test_data): Likewise.
29407         (llrint_tonearest_test_data): Likewise.
29408         (llrint_towardzero_test_data): Likewise.
29409         (llrint_downward_test_data): Likewise.
29410         (llrint_upward_test_data): Likewise.
29411         (lround_test_data): Likewise.
29412         (llround_test_data): Likewise.
29414         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29415         (ERRNO_UNCHANGED): Update value.
29416         (ERRNO_EDOM): Likewise.
29417         (ERRNO_ERANGE): Likewise.
29418         (NO_TEST_INLINE_FLOAT): New macro.
29419         (NO_TEST_INLINE_DOUBLE): Likewise.
29420         (enable_test): New function.
29421         (RUN_TEST_f_f): Check enable_test before running test.
29422         (RUN_TEST_2_f): Likewise.
29423         (RUN_TEST_fff_f): Likewise.
29424         (RUN_TEST_c_f): Likewise.
29425         (RUN_TEST_f_f1): Likewise.
29426         (RUN_TEST_fF_f1): Likewise.
29427         (RUN_TEST_fI_f1): Likewise.
29428         (RUN_TEST_ffI_f1): Likewise.
29429         (RUN_TEST_c_c): Likewise.
29430         (RUN_TEST_cc_c): Likewise.
29431         (RUN_TEST_f_i): Likewise.
29432         (RUN_TEST_f_i_tg): Likewise.
29433         (RUN_TEST_ff_i_tg): Likewise.
29434         (RUN_TEST_f_b): Likewise.
29435         (RUN_TEST_f_b_tg): Likewise.
29436         (RUN_TEST_f_l): Likewise.
29437         (RUN_TEST_f_L): Likewise.
29438         (RUN_TEST_fFF_11): Likewise.
29439         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29440         conditionals.
29441         (cosh_test_data): Likewise.
29442         (exp_test_data): Likewise.
29443         (expm1_test_data): Likewise.
29444         (hypot_test_data): Likewise.
29445         (pow_test_data): Likewise.
29446         (sinh_test_data): Likewise.
29447         (tanh_test_data): Likewise.
29448         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29449         flags argument.
29451         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29452         tests with quiet NaN input and output.
29453         (acosh_test_data): Likewise.
29454         (asin_test_data): Likewise.
29455         (asinh_test_data): Likewise.
29456         (atan_test_data): Likewise.
29457         (atanh_test_data): Likewise.
29458         (atan2_test_data): Likewise.
29459         (cbrt_test_data): Likewise.
29460         (cos_test_data): Likewise.
29461         (cosh_test_data): Likewise.
29462         (erf_test_data): Likewise.
29463         (erfc_test_data): Likewise.
29464         (exp_test_data): Likewise.
29465         (exp10_test_data): Likewise.
29466         (exp2_test_data): Likewise.
29467         (expm1_test_data): Likewise.
29468         (hypot_test_data): Likewise.
29469         (j0_test_data): Likewise.
29470         (j1_test_data): Likewise.
29471         (jn_test_data): Likewise.
29472         (lgamma_test_data): Likewise.
29473         (log_test_data): Likewise.
29474         (log10_test_data): Likewise.
29475         (log1p_test_data): Likewise.
29476         (log2_test_data): Likewise.
29477         (pow_test_data): Likewise.
29478         (scalb_test_data): Likewise.
29479         (sin_test_data): Likewise.
29480         (sincos_test_data): Likewise.
29481         (sinh_test_data): Likewise.
29482         (tan_test_data): Likewise.
29483         (tanh_test_data): Likewise.
29484         (tgamma_test_data): Likewise.
29485         (y0_test_data): Likewise.
29486         (y1_test_data): Likewise.
29487         (yn_test_data): Likewise.
29489         [BZ #16167]
29490         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29491         argument being NaN and avoid computations with second argument in
29492         that case.
29493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29494         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29495         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29497 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29499         * locale/iso-639.def: Add Chitwani Tharu (the).
29501 2013-11-14  Andreas Schwab  <schwab@suse.de>
29503         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29504         word instead of empty string.
29506 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29509         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29511         (__fe_nomask_env): Likewise.
29513 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29515         * benchtests/bench-timing.h: Include time.h.
29517 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29519         [BZ #15997]
29520         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29521         to 3.4.0 for x32.
29522         * sysdeps/unix/sysv/linux/configure: Regenerated.
29524 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29526         [BZ #16151]
29527         * stdlib/strtod_l.c (round_and_return): Do not consider
29528         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29529         exponent one less than half the least subnormal exponent.
29530         * stdlib/test-strtod-round-data: Add more tests.
29531         * stdlib/tst-strtod-round.c (tests): Regenerated.
29533 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29535         [BZ #14143]
29536         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29537         (__fe_mask_env): Likewise.
29538         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29539         libm_hidden_proto and add function prototype.
29540         (__fe_mask_env): Add function prototype.
29541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29542         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29544         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29546         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29548 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29550         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29551         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29553 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29555         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29556         of htab_find_slot().
29558 2013-11-11  David S. Miller  <davem@davemloft.net>
29560         [BZ #16150]
29561         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29562         symbol in the non-vis3 case in static builds.
29563         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29564         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29565         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29566         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29568 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29570         [BZ #387]
29571         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29572         it is empty.
29574 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29576         * benchtests/Makefile: Add bench-strtod.
29577         * benchtests/bench-strtod.c: New file: strtod benchtest
29579 2013-11-11  Andreas Schwab  <schwab@suse.de>
29581         [BZ #16153]
29582         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29583         terminating NUL in key length.
29585 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29587         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29588         Add artificial ODP entry for vDSO symbol for PPC64.
29589         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29590         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29592 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29594         [BZ #15374]
29595         * nss/getent.c (services_keys): Recognize services starting with digit.
29597 2013-11-06  David S. Miller  <davem@davemloft.net>
29599         [BZ #15985]
29600         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29601         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29603 2013-11-06  Will Newton  <will.newton@linaro.org>
29605         * manual/memory.texi (Malloc Examples): Remove register
29606         keyword from examples.
29608 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29610         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29612 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29614         [BZ #6981]
29615         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29616         depending on [__GCC_IEC_559 > 0].
29617         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29618         depending on [__GCC_IEC_559_COMPLEX > 0].
29620 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29622         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29623         to iso-639.def.
29625 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29627         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29629 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29631         [BZ #16112]
29632         * malloc/malloc (malloc_info): Do not handle first bin as
29633         special case.
29635 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29637         * locale/iso-639.def: Add Central Nahuatl (nhn).
29639 2013-11-01  Bruno Haible  <bruno@clisp.org>
29641         [BZ #7003]
29642         * manual/math.texi (BSD Random): Specify range upper bound as
29643         in POSIX.
29645 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29647         * locale/iso-639.def: Add Meadow Mari (mhr).
29649 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29651         [BZ #14752], [BZ #15763]
29652         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29653         Validate name.
29654         * rt/tst_shm.c: Add test for escaping directory.
29656 2013-10-31  Andreas Schwab  <schwab@suse.de>
29658         [BZ #15917]
29659         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29660         followed by 'x' as part of digit sequence.
29661         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29663 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29665         [BZ #16037]
29666         * configure.ac: allow GNU Make 4.0 and greater.
29667         * configure: Regenerated.
29669 2013-10-30  Will Newton  <will.newton@linaro.org>
29671         [BZ #16038]
29672         * malloc/hooks.c (memalign_check): Limit alignment to the
29673         maximum representable power of two.
29674         * malloc/malloc.c (__libc_memalign): Likewise.
29675         * malloc/tst-memalign.c (do_test): Add test for very
29676         large alignment values.
29677         * malloc/tst-posix_memalign.c (do_test): Likewise.
29679 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29681         [BZ #11087]
29682         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29683         (munmap_chunk): Likewise.
29684         (mremap_chunk): Likewise.
29686 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29688         [BZ #15799]
29689         * stdlib/div.c (div): Remove obsolete code.
29690         * stdlib/ldiv.c (ldiv): Likewise.
29691         * stdlib/lldiv.c (lldiv): Likewise.
29693 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29695         [BZ #16071]
29696         * nss/nss_files/files-XXX.c (get_contents_ret): New
29697         enumerator.
29698         (get_contents): New function.
29699         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29701 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29703         * configure.in: Moved to ...
29704         * configure.ac: ... here. Change reference to configure.in
29705         to configure.ac.
29706         * sysdeps/arm/preconfigure.ac: ... here.
29707         configure.in to configure.ac.
29708         * sysdeps/gnu/configure.in: Moved to ...
29709         * sysdeps/gnu/configure.ac: ... here.
29710         * sysdeps/i386/configure.in: Moved to ...
29711         * sysdeps/i386/configure.ac: ... here.
29712         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29713         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29714         * sysdeps/mach/configure.in: Moved to ...
29715         * sysdeps/mach/configure.ac: ... here.
29716         * sysdeps/mach/hurd/configure.in: Moved to ...
29717         * sysdeps/mach/hurd/configure.ac: ... here.
29718         * sysdeps/powerpc/configure.in: Moved to ...
29719         * sysdeps/powerpc/configure.ac: ... here.
29720         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29721         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29722         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29723         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29724         * sysdeps/s390/s390-32/configure.in: Moved to ...
29725         * sysdeps/s390/s390-32/configure.ac: ... here.
29726         * sysdeps/s390/s390-64/configure.in: Moved to ...
29727         * sysdeps/s390/s390-64/configure.ac: ... here.
29728         * sysdeps/sh/configure.in: Moved to ...
29729         * sysdeps/sh/configure.ac: ... here.
29730         * sysdeps/sparc/configure.in: Moved to ...
29731         * sysdeps/sparc/configure.ac: ... here.
29732         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29733         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29734         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29735         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29736         * sysdeps/x86_64/configure.in: Moved to ...
29737         * sysdeps/x86_64/configure.ac: ... here.
29738         * sysdeps/x86_64/preconfigure.in: Moved to ...
29739         * sysdeps/x86_64/preconfigure.ac: ... here.
29740         * aclocal.m4: Change reference to configure.in to configure.ac.
29741         * config.h.in: Likewise.
29742         * manual/install.texi: Likewise.
29743         * manual/maint.texi: Likewise.
29744         * Makefile: Likewise.
29745         * malloc/Makefile: Likewise.
29746         * nscd/Makefile: Likewise.
29747         * Makeconfig: Change reference to configure.in and
29748         preconfigure.in to configure.ac and preconfigure.ac
29749         respectively.
29750         * INSTALL: Regenerated.
29751         * configure: Likewise.
29752         * sysdeps/gnu/configure: Likewise.
29753         * sysdeps/i386/configure: Likewise.
29754         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29755         * sysdeps/mach/configure: Likewise.
29756         * sysdeps/mach/hurd/configure: Likewise.
29757         * sysdeps/powerpc/configure: Likewise.
29758         * sysdeps/powerpc/powerpc32/configure: Likewise.
29759         * sysdeps/powerpc/powerpc64/configure: Likewise.
29760         * sysdeps/s390/s390-32/configure: Likewise.
29761         * sysdeps/s390/s390-64/configure: Likewise.
29762         * sysdeps/sh/configure: Likewise.
29763         * sysdeps/sparc/configure: Likewise.
29764         * sysdeps/unix/sysv/linux/configure: Likewise.
29765         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29766         * sysdeps/x86_64/configure: Likewise.
29767         * sysdeps/x86_64/preconfigure: Likewise.
29769 2013-10-29  Andreas Schwab  <schwab@suse.de>
29771         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29773 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29775         * benchtests/pow-inputs: Add new inputs.
29777         * benchtests/exp-inputs: Add new inputs.
29779         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29780         conditional check for return value.
29781         (__cos32): Likewise.
29783 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29785         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29786         to provide a boost for large inputs with word alignment.
29787         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29788         implementation based on optimized PPC64 strcpy.
29789         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29790         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29791         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29792         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29794 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29796         [BZ #2801]
29797         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29799 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29801         [BZ #14876]
29802         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29803         * time/tst-strptime.c (day_tests): Add testcase.
29805 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29807         [BZ #14029]
29808         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29810 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29812         [BZ #16074]
29813         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29814         MAP_FAILED on error.
29816 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29818         [BZ #16072]
29819         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29820         heap for large requests.
29822 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29824         [BZ #9954]
29825         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29826         result if the result has no associated interface.
29827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29828         interface for all 127.X.Y.Z addresses.
29830 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29832         * locale/iso-639.def: Add Ligurian (lij)
29834 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29836         [BZ #15825]
29837         * sunrpc/rpc_main.c: Document rpcgen -5.
29839 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29841         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29843 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29845         [BZ #10278]
29846         * posix/glob.c: Match only directories when trailing slash is present.
29847         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29848         (main): Add testcase.
29850 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29852         [BZ #15670]
29853         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29855 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29857         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29858         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29859         AUTH_DES and cindex for FIPS 140-2.
29860         (DES Encryption): Add cindex FIPS 46-3.
29862         * locale/locarchive.h (struct locarhandle): Add fname.
29863         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29864         if an optional argument was specified to --list-archive,
29865         otherwise NULL.
29866         * locale/programs/locarchive.c (show_archive_content): Take new
29867         argument fname and pass it via ah.fname to open_archive.
29868         * locale/programs/localedef.h: Update decl.
29869         (open_archive): If AH->fname is non-null, open that file
29870         rather than the default file name, and don't ignore ENOENT.
29871         (create_archive): Set AH.fname to NULL.
29872         (delete_locales_from_archive): Likewise.
29873         (add_locales_to_archive): Likewise.
29874         * locale/programs/locfile.c (write_all_categories): Likewise.
29876 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29877             Aldy Hernandez  <aldyh@redhat.com>
29879         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29880         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29881         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29882         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29883         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29884         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29885         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29886         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29887         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29890         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29891         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29892         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29893         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29894         Likewise.
29895         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29896         Likewise.
29897         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29898         Likewise.
29899         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29900         Likewise.
29901         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29902         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29903         Likewise.
29904         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29905         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29906         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29907         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29908         Likewise.
29909         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29910         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29911         * sysdeps/powerpc/preconfigure: Likewise.
29912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29913         Likewise.
29914         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29915         Replace contents of file by #include of <fenv_libc.h>.
29916         * sysdeps/powerpc/soft-fp/sfp-machine.h
29917         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29918         and <sys/prctl.h>.
29919         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29932         Allow copysignl PLT reference to be missing.
29934 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29935             Joseph Myers  <joseph@codesourcery.com
29937         [BZ #15948]
29938         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29939         single character.
29940         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29942 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29944         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29945         * elf/tst-tls1.c: Likewise.
29946         * elf/tst-tls10.h: Likewise.
29947         * elf/tst-tls14.c: Likewise.
29948         * elf/tst-tls2.c: Likewise.
29949         * elf/tst-tls3.c: Likewise.
29950         * elf/tst-tls4.c: Likewise.
29951         * elf/tst-tls5.c: Likewise.
29952         * elf/tst-tls6.c: Likewise.
29953         * elf/tst-tls7.c: Likewise.
29954         * elf/tst-tls8.c: Likewise.
29955         * elf/tst-tls9.c: Likewise.
29956         * elf/tst-tlsmod1.c: Likewise.
29957         * elf/tst-tlsmod13.c: Likewise.
29958         * elf/tst-tlsmod13a.c: Likewise.
29959         * elf/tst-tlsmod14a.c: Likewise.
29960         * elf/tst-tlsmod16a.c: Likewise.
29961         * elf/tst-tlsmod16b.c: Likewise.
29962         * elf/tst-tlsmod2.c: Likewise.
29963         * elf/tst-tlsmod3.c: Likewise.
29964         * elf/tst-tlsmod4.c: Likewise.
29965         * elf/tst-tlsmod5.c: Likewise.
29966         * elf/tst-tlsmod6.c: Likewise.
29968 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29970         [BZ #12486]
29971         * malloc/malloc.c: remove checks for statistics.
29973 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29975         [BZ #15277]
29976         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29977         * inet/tst-network.c: Add testcase.
29979 2013-10-17  Andreas Schwab  <schwab@suse.de>
29981         [BZ #15218]
29982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29983         to determine canonical name.
29985 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29987         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29988         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29989         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29990         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29992         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29993         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29994         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29995         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29996         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29997         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29998         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29999         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30000         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30005         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30006         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30008         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30009         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30010         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30011         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30012         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30013         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30014         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30015         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30016         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30017         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30018         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30019         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30020         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30021         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30022         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30023         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30024         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30025         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30027         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30028         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30029         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30030         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30031         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30032         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30033         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30034         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30035         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30036         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30037         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30038         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30039         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30040         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30042         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30043         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30044         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30046 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
30048         [BZ #16041]
30049         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30050         make result into a quiet NaN.
30052 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
30054         * soft-fp/adddf3.c: Fix horizontal whitespace.
30055         * soft-fp/addsf3.c: Likewise.
30056         * soft-fp/addtf3.c: Likewise.
30057         * soft-fp/divdf3.c: Likewise.
30058         * soft-fp/divsf3.c: Likewise.
30059         * soft-fp/divtf3.c: Likewise.
30060         * soft-fp/double.h: Likewise.
30061         * soft-fp/eqdf2.c: Likewise.
30062         * soft-fp/eqsf2.c: Likewise.
30063         * soft-fp/eqtf2.c: Likewise.
30064         * soft-fp/extenddftf2.c: Likewise.
30065         * soft-fp/extended.h: Likewise.
30066         * soft-fp/extendsfdf2.c: Likewise.
30067         * soft-fp/extendsftf2.c: Likewise.
30068         * soft-fp/extendxftf2.c: Likewise.
30069         * soft-fp/fixdfdi.c: Likewise.
30070         * soft-fp/fixdfsi.c: Likewise.
30071         * soft-fp/fixdfti.c: Likewise.
30072         * soft-fp/fixsfdi.c: Likewise.
30073         * soft-fp/fixsfsi.c: Likewise.
30074         * soft-fp/fixsfti.c: Likewise.
30075         * soft-fp/fixtfdi.c: Likewise.
30076         * soft-fp/fixtfsi.c: Likewise.
30077         * soft-fp/fixtfti.c: Likewise.
30078         * soft-fp/fixunsdfdi.c: Likewise.
30079         * soft-fp/fixunsdfsi.c: Likewise.
30080         * soft-fp/fixunsdfti.c: Likewise.
30081         * soft-fp/fixunssfdi.c: Likewise.
30082         * soft-fp/fixunssfsi.c: Likewise.
30083         * soft-fp/fixunssfti.c: Likewise.
30084         * soft-fp/fixunstfdi.c: Likewise.
30085         * soft-fp/fixunstfsi.c: Likewise.
30086         * soft-fp/fixunstfti.c: Likewise.
30087         * soft-fp/floatdidf.c: Likewise.
30088         * soft-fp/floatdisf.c: Likewise.
30089         * soft-fp/floatditf.c: Likewise.
30090         * soft-fp/floatsidf.c: Likewise.
30091         * soft-fp/floatsisf.c: Likewise.
30092         * soft-fp/floatsitf.c: Likewise.
30093         * soft-fp/floattidf.c: Likewise.
30094         * soft-fp/floattisf.c: Likewise.
30095         * soft-fp/floattitf.c: Likewise.
30096         * soft-fp/floatundidf.c: Likewise.
30097         * soft-fp/floatundisf.c: Likewise.
30098         * soft-fp/floatunditf.c: Likewise.
30099         * soft-fp/floatunsidf.c: Likewise.
30100         * soft-fp/floatunsisf.c: Likewise.
30101         * soft-fp/floatunsitf.c: Likewise.
30102         * soft-fp/floatuntidf.c: Likewise.
30103         * soft-fp/floatuntisf.c: Likewise.
30104         * soft-fp/floatuntitf.c: Likewise.
30105         * soft-fp/fmadf4.c: Likewise.
30106         * soft-fp/fmasf4.c: Likewise.
30107         * soft-fp/fmatf4.c: Likewise.
30108         * soft-fp/gedf2.c: Likewise.
30109         * soft-fp/gesf2.c: Likewise.
30110         * soft-fp/getf2.c: Likewise.
30111         * soft-fp/ledf2.c: Likewise.
30112         * soft-fp/lesf2.c: Likewise.
30113         * soft-fp/letf2.c: Likewise.
30114         * soft-fp/muldf3.c: Likewise.
30115         * soft-fp/mulsf3.c: Likewise.
30116         * soft-fp/multf3.c: Likewise.
30117         * soft-fp/negdf2.c: Likewise.
30118         * soft-fp/negsf2.c: Likewise.
30119         * soft-fp/negtf2.c: Likewise.
30120         * soft-fp/op-1.h: Likewise.
30121         * soft-fp/op-2.h: Likewise.
30122         * soft-fp/op-4.h: Likewise.
30123         * soft-fp/op-8.h: Likewise.
30124         * soft-fp/op-common.h: Likewise.
30125         * soft-fp/quad.h: Likewise.
30126         * soft-fp/single.h: Likewise.
30127         * soft-fp/soft-fp.h: Likewise.
30128         * soft-fp/sqrtdf2.c: Likewise.
30129         * soft-fp/sqrtsf2.c: Likewise.
30130         * soft-fp/sqrttf2.c: Likewise.
30131         * soft-fp/subdf3.c: Likewise.
30132         * soft-fp/subsf3.c: Likewise.
30133         * soft-fp/subtf3.c: Likewise.
30134         * soft-fp/truncdfsf2.c: Likewise.
30135         * soft-fp/trunctfdf2.c: Likewise.
30136         * soft-fp/trunctfsf2.c: Likewise.
30137         * soft-fp/trunctfxf2.c: Likewise.
30138         * soft-fp/unorddf2.c: Likewise.
30139         * soft-fp/unordsf2.c: Likewise.
30140         * soft-fp/unordtf2.c: Likewise.
30142 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30144         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30145         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30147 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30149         * elf/dl-libc.c: Clear initfini list after freeing.
30151 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30153         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30154         * soft-fp/addsf3.c: Likewise.
30155         * soft-fp/addtf3.c: Likewise.
30156         * soft-fp/divdf3.c: Likewise.
30157         * soft-fp/divsf3.c: Likewise.
30158         * soft-fp/divtf3.c: Likewise.
30159         * soft-fp/double.h: Likewise.
30160         * soft-fp/eqdf2.c: Likewise.
30161         * soft-fp/eqsf2.c: Likewise.
30162         * soft-fp/eqtf2.c: Likewise.
30163         * soft-fp/extenddftf2.c: Likewise.
30164         * soft-fp/extended.h: Likewise.
30165         * soft-fp/extendsfdf2.c: Likewise.
30166         * soft-fp/extendsftf2.c: Likewise.
30167         * soft-fp/extendxftf2.c: Likewise.
30168         * soft-fp/fixdfdi.c: Likewise.
30169         * soft-fp/fixdfsi.c: Likewise.
30170         * soft-fp/fixdfti.c: Likewise.
30171         * soft-fp/fixsfdi.c: Likewise.
30172         * soft-fp/fixsfsi.c: Likewise.
30173         * soft-fp/fixsfti.c: Likewise.
30174         * soft-fp/fixtfdi.c: Likewise.
30175         * soft-fp/fixtfsi.c: Likewise.
30176         * soft-fp/fixtfti.c: Likewise.
30177         * soft-fp/fixunsdfdi.c: Likewise.
30178         * soft-fp/fixunsdfsi.c: Likewise.
30179         * soft-fp/fixunsdfti.c: Likewise.
30180         * soft-fp/fixunssfdi.c: Likewise.
30181         * soft-fp/fixunssfsi.c: Likewise.
30182         * soft-fp/fixunssfti.c: Likewise.
30183         * soft-fp/fixunstfdi.c: Likewise.
30184         * soft-fp/fixunstfsi.c: Likewise.
30185         * soft-fp/fixunstfti.c: Likewise.
30186         * soft-fp/floatdidf.c: Likewise.
30187         * soft-fp/floatdisf.c: Likewise.
30188         * soft-fp/floatditf.c: Likewise.
30189         * soft-fp/floatsidf.c: Likewise.
30190         * soft-fp/floatsisf.c: Likewise.
30191         * soft-fp/floatsitf.c: Likewise.
30192         * soft-fp/floattidf.c: Likewise.
30193         * soft-fp/floattisf.c: Likewise.
30194         * soft-fp/floattitf.c: Likewise.
30195         * soft-fp/floatundidf.c: Likewise.
30196         * soft-fp/floatundisf.c: Likewise.
30197         * soft-fp/floatunsidf.c: Likewise.
30198         * soft-fp/floatunsisf.c: Likewise.
30199         * soft-fp/floatuntidf.c: Likewise.
30200         * soft-fp/floatuntisf.c: Likewise.
30201         * soft-fp/floatuntitf.c: Likewise.
30202         * soft-fp/fmadf4.c: Likewise.
30203         * soft-fp/fmasf4.c: Likewise.
30204         * soft-fp/fmatf4.c: Likewise.
30205         * soft-fp/gedf2.c: Likewise.
30206         * soft-fp/gesf2.c: Likewise.
30207         * soft-fp/getf2.c: Likewise.
30208         * soft-fp/ledf2.c: Likewise.
30209         * soft-fp/lesf2.c: Likewise.
30210         * soft-fp/letf2.c: Likewise.
30211         * soft-fp/muldf3.c: Likewise.
30212         * soft-fp/mulsf3.c: Likewise.
30213         * soft-fp/multf3.c: Likewise.
30214         * soft-fp/negdf2.c: Likewise.
30215         * soft-fp/negsf2.c: Likewise.
30216         * soft-fp/negtf2.c: Likewise.
30217         * soft-fp/op-1.h: Likewise.
30218         * soft-fp/op-2.h: Likewise.
30219         * soft-fp/op-4.h: Likewise.
30220         * soft-fp/op-8.h: Likewise.
30221         * soft-fp/op-common.h: Likewise.
30222         * soft-fp/quad.h: Likewise.
30223         * soft-fp/single.h: Likewise.
30224         * soft-fp/soft-fp.h: Likewise.
30225         * soft-fp/sqrtdf2.c: Likewise.
30226         * soft-fp/sqrtsf2.c: Likewise.
30227         * soft-fp/sqrttf2.c: Likewise.
30228         * soft-fp/subdf3.c: Likewise.
30229         * soft-fp/subsf3.c: Likewise.
30230         * soft-fp/subtf3.c: Likewise.
30231         * soft-fp/truncdfsf2.c: Likewise.
30232         * soft-fp/trunctfdf2.c: Likewise.
30233         * soft-fp/trunctfsf2.c: Likewise.
30234         * soft-fp/trunctfxf2.c: Likewise.
30235         * soft-fp/unorddf2.c: Likewise.
30236         * soft-fp/unordsf2.c: Likewise.
30237         * soft-fp/unordtf2.c: Likewise.
30239 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30241         [BZ #15672]
30242         * misc/error.c (error_tail): Fix possible buffer overflow.
30244 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30246         [BZ #13028]
30247         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30248         address.
30250 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30252         [BZ #832]
30253         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30254         testing pipefail option.
30256 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30258         * soft-fp/double.h: Indent preprocessor directives inside #if.
30259         * soft-fp/extended.h: Likewise.
30260         * soft-fp/op-2.h: Likewise.
30261         * soft-fp/op-4.h: Likewise.
30262         * soft-fp/op-common.h: Likewise.
30263         * soft-fp/quad.h: Likewise.
30264         * soft-fp/single.h: Likewise.
30265         * soft-fp/soft-fp.h: Likewise.
30267 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30269         * iconv/iconv_prog.c: Fix typos.
30270         * stdio-common/psiginfo-data.h: Likewise.
30272 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30274         [BZ #15764]
30275         * locale/setlocale.c: Fix typo.
30277 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30279         [BZ #16036]
30280         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30281         signaling NaN arguments.
30282         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30283         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30285         [BZ #14910]
30286         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30287         unordered operands.
30288         * soft-fp/gesf2.c (__gesf2): Likewise.
30289         * soft-fp/getf2.c (__getf2): Likewise.
30290         * soft-fp/ledf2.c (__ledf2): Likewise.
30291         * soft-fp/lesf2.c (__lesf2): Likewise.
30292         * soft-fp/letf2.c (__letf2): Likewise.
30294         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30295         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30296         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30297         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30298         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30299         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30300         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30301         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30302         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30303         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30304         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30305         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30306         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30307         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30308         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30309         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30310         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30311         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30312         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30313         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30314         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30315         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30316         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30317         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30318         * soft-fp/floattidf.c (__floattidf): Likewise.
30319         * soft-fp/floattisf.c (__floattisf): Likewise.
30320         * soft-fp/floattitf.c (__floattitf): Likewise.
30321         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30322         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30323         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30324         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30325         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30326         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30327         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30328         * soft-fp/gesf2.c (__gesf2): Likewise.
30329         * soft-fp/getf2.c (__getf2): Likewise.
30330         * soft-fp/ledf2.c (__ledf2): Likewise.
30331         * soft-fp/lesf2.c (__lesf2): Likewise.
30332         * soft-fp/letf2.c (__letf2): Likewise.
30334         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30335         Undefine and redefine.
30336         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30337         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30338         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30339         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30340         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30341         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30342         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30343         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30344         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30345         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30346         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30347         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30348         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30349         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30350         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30352         [BZ #16032]
30353         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30354         without decrementing exponent if mantissa >= that for the
30355         denominator, not >.
30356         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30357         denominator, not >.  Decrement exponent in < case instead of
30358         incrementing in >= case.
30359         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30360         without decrementing exponent if mantissa >= that for the
30361         denominator, not >.
30363         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30364         computing saturated result for unsigned overflow.
30366 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30367             Jeff Law  <law@redhat.com>
30369         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30370         (atan2Mp): Add systemtap probe marker.
30371         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30372         (__ieee754_log): Add systemtap probe marker.
30373         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30374         (atanMp): Add systemtap probe marker.
30375         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30376         (tanMp): Add systemtap probe marker.
30377         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30378         (__slowexp): Add systemtap probe marker.
30379         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30380         (__slowpow): Add systemtap probe marker.
30381         * manual/probes.texi: Document probes.
30383 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30385         [BZ #15362]
30386         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30387         written.
30388         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30389         written.
30390         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30391         written to buffer but not flushed.
30392         * libio/iofwrite_u.c:  Likewise.
30393         * libio/iopadn.c:  Return bytes returned even if EOF was
30394         encountered.
30395         * libio/iowpadn.c:  Likewise.
30396         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30397         if _IO_padn does not write the whole buffer.
30398         [!COMPILE_WPRINTF] (PAD): Likewise.
30400 2013-10-10  David S. Miller  <davem@davemloft.net>
30402         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30403         directory block.
30405 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30407         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30408         instead of FSF address.
30409         * soft-fp/fixdfti.c: Likewise.
30410         * soft-fp/fixsfti.c: Likewise.
30411         * soft-fp/fixtfti.c: Likewise.
30412         * soft-fp/fixunsdfti.c: Likewise.
30413         * soft-fp/fixunssfti.c: Likewise.
30414         * soft-fp/fixunstfti.c: Likewise.
30415         * soft-fp/floattidf.c: Likewise.
30416         * soft-fp/floattisf.c: Likewise.
30417         * soft-fp/floattitf.c: Likewise.
30418         * soft-fp/floatuntidf.c: Likewise.
30419         * soft-fp/floatuntisf.c: Likewise.
30420         * soft-fp/floatuntitf.c: Likewise.
30421         * soft-fp/trunctfxf2.c: Likewise.
30423         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30424         * soft-fp/fixdfti.c: Likewise.
30425         * soft-fp/fixsfti.c: Likewise.
30426         * soft-fp/fixtfti.c: Likewise.
30427         * soft-fp/fixunsdfti.c: Likewise.
30428         * soft-fp/fixunssfti.c: Likewise.
30429         * soft-fp/fixunstfti.c: Likewise.
30430         * soft-fp/floattidf.c: Likewise.
30431         * soft-fp/floattisf.c: Likewise.
30432         * soft-fp/floattitf.c: Likewise.
30433         * soft-fp/floatuntidf.c: Likewise.
30434         * soft-fp/floatuntisf.c: Likewise.
30435         * soft-fp/floatuntitf.c: Likewise.
30436         * soft-fp/trunctfxf2.c: Likewise.
30438 2013-10-10  David S. Miller  <davem@davemloft.net>
30440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30442 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30444         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30445         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30446         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30447         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30448         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30449         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30450         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30452         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30453         for NaNs before doing comparisons on argument.
30454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30455         Likewise.
30457 2013-10-10  Will Newton  <will.newton@linaro.org>
30459         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30460         passed to _int_memalign does not overflow.
30462 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30464         * scripts/bench.pl: Add include-sources directive.
30465         * benchtests/README: Update documentation.
30467 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30469         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30470         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30471         instead of FP_INIT_ROUNDMODE.
30472         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30473         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30475         [BZ #16034]
30476         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30477         copy class of input value.
30478         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30479         not handle exceptions.
30480         * soft-fp/negsf2.c (__negsf2): Likewise.
30481         * soft-fp/negtf2.c (__negtf2): Likewise.
30482         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30484 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30486         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30487         semicolon.  From Linux kernel.
30489 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30491         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30493 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30495         [BZ #156]
30496         * manual/socket.texi: Added statement about buffer
30497         for gethostbyname2_r.
30499 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30501         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30502         Use .p2align directive instead, throughout.
30503         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30504         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30505         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30508         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30509         * sysdeps/x86_64/strchr.S: Likewise.
30510         * sysdeps/x86_64/strrchr.S: Likewise.
30512 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30514         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30516         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30518         * sysdeps/generic/math_private.h (__mpsin1): Remove
30519         declaration.
30520         (__mpcos1): Likewise.
30521         (__mpsin): New argument __range_reduce.
30522         (__mpcos): Likewise.
30523         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30524         (slow): Use __mpsin and __mpcos.
30525         (slow1): Likewise.
30526         (slow2): Likewise.
30527         (sloww): Likewise.
30528         (sloww1): Likewise.
30529         (sloww2): Likewise.
30530         (bsloww): Likewise.
30531         (bsloww1): Likewise.
30532         (bsloww2): Likewise.
30533         (cslow2): Likewise.
30534         (csloww): Likewise.
30535         (csloww1): Likewise.
30536         (csloww2): Likewise.
30537         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30538         range_reduce.  Merge in __mpsin1.
30539         (__mpcos): Likewise.
30540         (__mpsin1): Remove.
30541         (__mpcos1): Likewise.
30543 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30545         * locale/loadlocale.c (_nl_intern_locale_data): Use
30546         LOCFILE_ALIGNED_P.
30547         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30548         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30549         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30550         obstack data is appropriately aligned.
30551         (obstack_int32_grow_fast): Likewise.
30552         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30553         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30554         (add_locale_uint32_array): Likewise.
30556 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30558         * benchtests/Makefile: Remove ARGLIST and RET variables.
30559         ($(objpfx)bench-%.c): Pass only function name to the script.
30560         * benchtests/README: Update documentation.
30561         * benchtests/acos-inputs: Add new directives.
30562         * benchtests/acosh-inputs: Likewise.
30563         * benchtests/asin-inputs: Likewise.
30564         * benchtests/asinh-inputs: Likewise.
30565         * benchtests/atan-inputs: Likewise.
30566         * benchtests/atanh-inputs: Likewise.
30567         * benchtests/cos-inputs: Likewise.
30568         * benchtests/cosh-inputs: Likewise.
30569         * benchtests/exp-inputs: Likewise.
30570         * benchtests/log-inputs: Likewise.
30571         * benchtests/pow-inputs: Likewise.
30572         * benchtests/rint-inputs: Likewise.
30573         * benchtests/sin-inputs: Likewise.
30574         * benchtests/sinh-inputs: Likewise.
30575         * benchtests/tan-inputs: Likewise.
30576         * benchtests/tanh-inputs: Likewise.
30577         * scripts/bench.pl: Add support for new directives.
30579 2013-10-07  Alan Modra  <amodra@gmail.com>
30581         * README: Fix careless merge.
30583 2013-10-05  Alan Modra  <amodra@gmail.com>
30585         * NEWS: Mention powerpc64le support and bugs fixed.
30586         * README: Both big-endian and little-endian powerpc64 supported.
30588 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30590         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30591         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30592         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30593         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30595 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30597         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30598         match prototype.
30600 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30602         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30603         Move -mhard-float appending from
30604         ports/sysdeps/powerpc/powerpc32/Makefile.
30605         [$(with-fp) = yes] (ASFLAGS): Likewise.
30606         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30607         * sysdeps/powerpc/nofpu: Move directory from
30608         ports/sysdeps/powerpc/nofpu.
30609         * sysdeps/powerpc/soft-fp: Move directory from
30610         ports/sysdeps/powerpc/soft-fp.
30611         * sysdeps/powerpc/powerpc32/405: Move directory from
30612         ports/sysdeps/powerpc/powerpc32/405.
30613         * sysdeps/powerpc/powerpc32/440: Move directory from
30614         ports/sysdeps/powerpc/powerpc32/440.
30615         * sysdeps/powerpc/powerpc32/464: Move directory from
30616         ports/sysdeps/powerpc/powerpc32/464.
30617         * sysdeps/powerpc/powerpc32/476: Move directory from
30618         ports/sysdeps/powerpc/powerpc32/476.
30619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30620         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30622         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30624         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30626         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30629         * README: Update for powerpc-*-linux-gnu software floating point
30630         support in libc.
30632         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30633         case to powerpc/powerpc32*.
30634         * sysdeps/unix/sysv/linux/configure: Regenerated.
30636         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30637         (_FPU_MASK_OM): Define as 0x04.
30638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30640         0x00c10080.
30641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30642         0x0000003c.
30643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30646         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30647         getcontext_e500.
30648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30649         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30650         setcontext_e500.
30651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30652         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30653         and setcontext_e500.
30655 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30657         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30659 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30661         * manual/threads.texi (Default Thread Attributes): Fix typo.
30663 2013-10-04  Will Newton  <will.newton@linaro.org>
30665         * malloc/Makefile: Add tst-memalign.
30666         * malloc/tst-memalign.c: New file.
30668         * malloc/tst-posix_memalign.c: Add comments.
30669         (do_test): Add comments and call free on all potentially
30670         allocated pointers. Add space after cast.
30672         * malloc/tst-pvalloc.c: Add comments.
30673         (do_test): Add comments and call free on all potentially
30674         allocated pointers. Remove duplicate check for NULL pointer.
30675         Add space after cast.
30677         * malloc/tst-valloc.c: Add comments.
30678         (do_test): Add comments and call free on all potentially
30679         allocated pointers. Remove duplicate check for NULL pointer.
30680         Add space after cast.
30682 2013-10-04  Alan Modra  <amodra@gmail.com>
30684         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30685         Use stdint types in rather than __attribute__((mode())).
30686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30688 2013-10-04  Alan Modra  <amodra@gmail.com>
30690         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30691         Correct handling of unaligned relocs for little-endian.
30692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30694 2013-10-04  Alan Modra  <amodra@gmail.com>
30696         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30697         * configure: Regenerate.
30698         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30699         * shlib-versions: Likewise.
30701 2013-10-04  Alan Modra  <amodra@gmail.com>
30703         * string/tester.c (test_memrchr): Increment reported test cycle.
30705 2013-10-04  Alan Modra  <amodra@gmail.com>
30707         * string/test-memcpy.c (do_one_test): When reporting errors, print
30708         string address and don't overrun end of string.
30710 2013-10-04  Alan Modra  <amodra@gmail.com>
30712         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30713         insrdi.  Make better use of reg selection to speed exit slightly.
30714         Schedule entry path a little better.  Remove useless "are we done"
30715         checks on entry to main loop.  Handle wrapping around zero address.
30716         Correct main loop count.  Handle single left-over word from main
30717         loop inline rather than by using loop_small.  Remove extra word
30718         case in loop_small caused by wrong loop count.  Add little-endian
30719         support.
30720         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30721         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30722         cache hint.
30723         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30724         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30725         support.  Avoid rlwimi.
30726         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30728 2013-10-04  Alan Modra  <amodra@gmail.com>
30730         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30731         insrdi.  Formatting.
30732         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30733         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30734         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30735         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30736         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30737         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30739 2013-10-04  Alan Modra  <amodra@gmail.com>
30741         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30743         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30744         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30745         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30746         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30747         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30748         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30749         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30750         use of regs.  Use power7 mtocrf.  Tidy function tails.
30752 2013-10-04  Alan Modra  <amodra@gmail.com>
30754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30755         Formatting.  Consistently use rXXX register defines or rN defines.
30756         Use early exit labels that avoid restoring unused non-volatile regs.
30757         Make cr field use more consistent with rWORDn compares.  Rename
30758         regs used as shift registers for unaligned loop, using rN defines
30759         for short lifetime/multiple use regs.
30760         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30761         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30762         addi 1,1,64 to pop stack frame.  Simplify return value code.
30763         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30765 2013-10-04  Alan Modra  <amodra@gmail.com>
30767         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30768         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30769         rather than rlwimi.
30770         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30771         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30772         little-endian support.  Correct typos.
30773         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30774         rather than rlwimi.
30775         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30776         in loop and entry code to keep "and." results.
30777         (strchr): Add little-endian support.  Comment.  Move cntlzd
30778         earlier in tail.
30779         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30781 2013-10-04  Alan Modra  <amodra@gmail.com>
30783         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30784         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30785         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30786         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30788 2013-10-04  Alan Modra  <amodra@gmail.com>
30790         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30791         (rTMP): Define as r11.
30792         (strcmp): Add little-endian support.  Optimise tail.
30793         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30794         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30795         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30796         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30797         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30798         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30799         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30801 2013-10-04  Alan Modra  <amodra@gmail.com>
30803         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30804         little-endian support.  Remove unnecessary "are we done" tests.
30805         Handle "s" wrapping around zero and extremely large "size".
30806         Correct main loop count.  Handle single left-over word from main
30807         loop inline rather than by using small_loop.  Correct comments.
30808         Delete "zero" tail, use "end_max" instead.
30809         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30811 2013-10-04  Alan Modra  <amodra@gmail.com>
30813         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30814         support.  Don't branch over align.
30815         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30816         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30817         support.  Rearrange tmp reg use to suit.  Comment.
30818         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30820 2013-10-04  Alan Modra  <amodra@gmail.com>
30822         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30824 2013-10-04  Alan Modra  <amodra@gmail.com>
30826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30827         conditional form of branch and link when obtaining pc.
30828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30830 2013-10-04  Alan Modra  <amodra@gmail.com>
30832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30833         HIWORD/LOWORD.
30834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30837 2013-10-04  Alan Modra  <amodra@gmail.com>
30839         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30840         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30841         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30842         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30843         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30844         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30845         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30846         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30847         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30848         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30850 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30851             Alistair Popple <alistair@ozlabs.au.ibm.com>
30852             Alan Modra <amodra@gmail.com>
30854         [BZ #15723]
30855         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30856         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30857         _dl_hwcap access for little-endian.
30858         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30859         destroy vmx regs when saving unaligned.
30860         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30861         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30862         destroy vmx regs when saving unaligned.
30864 2013-10-04  Alan Modra  <amodra@gmail.com>
30866         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30867         Don't use a union to pack hi/low value.
30869 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30871         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30872         for little-endian.
30873         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30875         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30876         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30877         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30879 2013-10-04  Alan Modra  <amodra@gmail.com>
30881         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30882         constants to usual value for .cst8 section, and remove redundant
30883         high address load.
30884         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30885         constant for 0x1p52.  Load little-endian words of double from
30886         correct stack offsets.
30888 2013-10-04  Alan Modra  <amodra@gmail.com>
30890         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30891         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30892         words of double from correct stack offsets.
30893         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30894         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30895         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30896         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30897         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30898         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30899         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30900         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30901         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30905         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30906         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30907         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30908         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30909         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30911 2013-10-04  Alan Modra  <amodra@gmail.com>
30913         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30914         64-bit int/double union.
30915         (_FPU_SETCW): Likewise.
30916         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30917         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30919 2013-10-04  Alan Modra  <amodra@gmail.com>
30921         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30922         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30924 2013-10-04  Alan Modra  <amodra@gmail.com>
30926         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30927         use vector int constants.
30928         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30930 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30932         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30933         array with long long.
30934         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30935         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30936         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30937         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30938         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30939         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30940         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30941         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30942         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30943         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30944         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30945         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30946         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30948 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30950         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30951         (__signbit): Likewise.  Correct for little-endian.
30952         (__signbitl): Call __signbit.
30953         (lrint): Correct for little-endian.
30954         (lrintf): Call lrint.
30956 2013-10-04  Alan Modra  <amodra@gmail.com>
30958         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30959         union 32-bit int array member with 64-bit int array.
30960         (t515, tm256): Double rather than long double.
30961         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30963 2013-10-04  Alan Modra  <amodra@gmail.com>
30965         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30966         Delete.
30967         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30968         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30969         version of math_ldbl.h.
30971 2013-10-04  Alan Modra  <amodra@gmail.com>
30973         [BZ #15734], [BZ #15735]
30974         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30975         all uses of ieee875 long double macros and unions.  Simplify test
30976         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30977         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30978         normalize after ldbl_extract_mantissa, and don't add hidden bit
30979         already handled.  Don't treat low word of ieee854 mantissa like
30980         low word of IBM long double and mask off bit when testing for
30981         zero.
30982         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30983         all uses of ieee875 long double macros and unions.  Simplify tests
30984         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30985         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30986         two1022, instead use their values.  Recognise that tests for large
30987         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30988         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30989         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30990         test for 0.0L and nan.  Correct negation.
30991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30992         ieee875 long double macros and unions.  Correct output for large
30993         magnitude x.  Correct absolute value calculation.
30994         (__erfcl): Likewise.
30995         * math/libm-test.inc: Add tests for errors discovered in IBM long
30996         double versions of fmodl, remainderl, erfl and erfcl.
30998 2013-10-04  Alan Modra  <amodra@gmail.com>
31000         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31001         all uses of ieee854 long double macros and unions.  Simplify tests
31002         for long doubles that are fully specified by the high double.
31003         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31004         Likewise.
31005         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31006         Remove dead code too.
31007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31008         (__ieee754_ynl): Likewise.
31009         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31010         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31011         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31012         Remove dead code too.
31013         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31015         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31016         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31017         Simplify.
31018         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31019         Simplify.
31020         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31022         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31023         Comment on variable precision.
31024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31026         Likewise.
31027         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31030         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31031         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31033 2013-10-04  Alan Modra  <amodra@gmail.com>
31035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31036         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31037         all uses of ieee854 long double macros and unions.
31038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31040         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31041         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31042         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31043         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31044         Likewise.
31045         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31046         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31047         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31048         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31051         Simplify sign and nan test too.
31052         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31053         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31054         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31055         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31056         Likewise.
31057         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31058         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31059         Likewise.
31060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31062         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31063         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31064         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31067 2013-10-04  Alan Modra  <amodra@gmail.com>
31069         * stdio-common/printf_size.c (__printf_size): Don't use
31070         union ieee854_long_double in fpnum union.
31071         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31072         signbit macro to retrieve sign from long double.
31073         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31074         retrieve sign from long double.
31075         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31076         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31077         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31078         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31079         * math/test-misc.c (main): Don't use union ieee854_long_double.
31081 2013-10-04  Alan Modra  <amodra@gmail.com>
31083         [BZ #15680]
31084         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31085         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31086         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31087         calculation.  Remove unnecessary test for denormal exponent.
31088         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31089         Correct handling of denormals.  Avoid undefined shift behaviour.
31090         Correct normalisation of low mantissa when low double is denormal.
31091         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31092         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31093         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31094         Correct normalisation of low mantissa.  Test for overflow of high
31095         mantissa and normalise.
31096         (ldbl_nearbyint): Use more readable constant for two52.
31097         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31098         (__mpn_construct_long_double): Fix test for overflow of high
31099         mantissa and correct normalisation.  Avoid undefined shift.
31101 2013-10-04  Alan Modra  <amodra@gmail.com>
31103         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31104         (union ibm_extended_long_double): Define as an array of ieee754_double.
31105         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31106         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31107         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31108         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31109         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31110         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31112         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31113         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31114         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31115         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31117 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31119         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31120         page size instead of calling getpagesize.
31122         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31123         (LOCFILE_ALIGN_MASK): Likewise.
31124         (LOCFILE_ALIGN_UP): Likewise.
31125         (LOCFILE_ALIGNED_P): Likewise.
31126         * locale/programs/ld-collate.c (collate_output): Use the new
31127         macros instead of __alignof__ (int32_t).
31128         * locale/weight.h (findidx): Likewise.
31130 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31132         [BZ #431]
31133         * manual/string.texi: Fix strncat and wcsncat.
31135 2013-10-03  Brooks Moses  <bmoses@google.com>
31137         [BZ #15915]
31138         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31139         * Makerules: ...here, and adjust associated comments.
31141 2013-10-02  Will Newton  <will.newton@linaro.org>
31143         * malloc/Makefile: Add tst-pvalloc.
31144         * malloc/tst-pvalloc.c: New file.
31146 2013-10-02  Will Newton  <will.newton@linaro.org>
31148         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31149         improve test coverage.
31151 2013-10-02  Will Newton  <will.newton@linaro.org>
31153         * malloc/Makefile: Add tst-posix_memalign.
31154         * malloc/tst-posix_memalign.c: New file.
31156 2013-10-01  Eric Blake  <eblake@redhat.com>
31158         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31159         Use __THROWNL rather than __THROW on static functions.
31161 2013-09-30  Petr Machata  <pmachata@redhat.com>
31163         * elf/elf.h (R_AARCH64_ABS16): New macro.
31164         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31165         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31166         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31167         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31168         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31169         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31170         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31171         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31172         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31173         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31174         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31175         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31176         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31177         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31178         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31179         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31180         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31181         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31182         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31183         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31184         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31185         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31186         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31187         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31188         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31189         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31190         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31191         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31192         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31193         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31194         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31195         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31196         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31197         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31198         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31199         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31200         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31201         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31202         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31203         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31204         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31205         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31206         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31207         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31208         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31209         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31210         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31211         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31212         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31213         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31214         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31215         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31216         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31217         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31218         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31219         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31220         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31221         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31222         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31223         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31224         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31225         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31226         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31227         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31228         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31229         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31230         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31231         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31232         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31233         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31234         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31235         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31236         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31237         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31238         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31239         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31240         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31241         (R_AARCH64_TLSDESC_LDR): Likewise.
31242         (R_AARCH64_TLSDESC_ADD): Likewise.
31243         (R_AARCH64_TLSDESC_CALL): Likewise.
31245 2013-09-30  Andreas Schwab  <schwab@suse.de>
31247         [BZ #15048]
31248         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31249         the nss database lookup.
31250         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31253 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31255         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31257 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31260         ${Bash-specific parameter/pattern/string} parameter expansion.
31261         * sysdeps/unix/make-syscalls.sh: Likewise.
31263 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31265         * sysdeps/sh/stackguard-macros.h: New file.
31267 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31271         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31272         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31273         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31274         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31276 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31278         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31279         Fix thread ID register.
31281 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31283         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31284         [POSIX || UNIX98]: Require rather than permitting all symbols from
31285         <time.h>.
31286         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31287         element of struct sched_param.
31288         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31289         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31290         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31291         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31292         constant.
31294 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31296         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31297         argument calculation.
31299 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31301         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31302         Expect macro.
31303         [POSIX] (pthread_attr_t): Do not require type.
31304         [POSIX] (pthread_cond_t): Likewise.
31305         [POSIX] (pthread_condattr_t): Likewise.
31306         [POSIX] (pthread_key_t): Likewise.
31307         [POSIX] (pthread_mutex_t): Likewise.
31308         [POSIX] (pthread_mutexattr_t): Likewise.
31309         [POSIX] (pthread_once_t): Likewise.
31310         [POSIX] (pthread_t): Likewise.
31311         [POSIX-based standards] (pthread_atfork): Expect function.
31313 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31314             Richard Sandiford  <richard@codesourcery.com>
31316         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31317         (swap_endianness_p): New extern variable.
31318         (set_big_endian): New inline function.
31319         (maybe_swap_uint32): Likewise.
31320         (maybe_swap_uint32_array): Likewise.
31321         (maybe_swap_uint32_obstack): Likewise.
31322         * locale/programs/locfile.c: Include <stdbool.h>.
31323         (swap_endianness_p): New variable.
31324         (add_locale_uint32): Call maybe_swap_uint32.
31325         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31326         (write_locale_data): Call maybe_swap_uint32_array.
31327         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31328         maybe_swap_uint32.
31329         (obstack_int32_grow_fast): Likewise.
31330         (output_weightwc): Call maybe_swap_uint32_obstack.
31331         (collate_output): Likewise.
31332         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31333         (OPT_LITTLE_ENDIAN): Likewise.
31334         (options): Add --little-endian and --big-endian options.
31335         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31336         * locale/programs/locarchive.c: Include "locfile.h".
31337         (GET): New macro.
31338         (SET): Likewise.
31339         (INC): Likewise.
31340         (create_archive): Use the new macros to access fields of
31341         structures directly mapped from or written to locale archives.
31342         (oldlocrecentcmp): Likewise.
31343         (enlarge_archive): Likewise.
31344         (insert_name): Likewise.
31345         (add_alias): Likewise.
31346         (add_locale): Likewise.
31347         (delete_locales_from_archive): Likewise.
31348         (show_archive_content): Likewise.
31349         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31350         locale data.
31352 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31354         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31355         http://www.gnu.org/doc/freemanuals.texi.
31356         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31358 2013-09-24  Will Newton  <will.newton@linaro.org>
31360         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31361         macro.
31363 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31365         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31366         unsigned char.
31368 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31370         * manual/threads.texi (POSIX Threads): Fix a typo.
31372 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31374         [BZ #14547]
31375         * string/tst-strcoll-overflow.c: New test case.
31376         * string/Makefile (xtests): Add tst-strcoll-overflow.
31377         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31378         cache if string sizes may cause integer overflow.
31380         [BZ #14547]
31381         * string/strcoll_l.c (coll_seq): New members rule, idx,
31382         save_idx and back_us.
31383         (get_next_seq_nocache): New function.
31384         (do_compare_nocache): New function.
31385         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31386         when malloc fails.
31388 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31390         [BZ #15754]
31391         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31392         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31393         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31395         [BZ #15754]
31396         * elf/Makefile (tests): Add tst-ptrguard1.
31397         (tests-static): Add tst-ptrguard1-static.
31398         (tst-ptrguard1-ARGS): Define.
31399         (tst-ptrguard1-static-ARGS): Define.
31400         * elf/tst-ptrguard1.c: New file.
31401         * elf/tst-ptrguard1-static.c: New file.
31402         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31403         * sysdeps/i386/stackguard-macros.h: Likewise.
31404         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31405         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31406         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31407         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31408         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31409         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31411 2013-09-23  Hector Marco  <hecmargi@upv.es>
31412             Ismael Ripoll  <iripoll@disca.upv.es>
31413             Carlos O'Donell  <carlos@redhat.com>
31415         [BZ #15754]
31416         * sysdeps/generic/stackguard-macros.h: Define
31417         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31418         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31419         Define __pointer_chk_guard_local.
31420         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31421         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31423 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31425         [BZ #15859]
31426         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31428 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31430         * include/string.h (__ffs): Declare as hidden.
31431         * string/ffs.c (__ffs): Define as hidden.
31432         * sysdeps/i386/ffs.c (__ffs): Likewise.
31433         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31434         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31435         * sysdeps/s390/ffs.c (__ffs): Likewise.
31436         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31438 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31440         * NEWS: Mention malloc probes.
31442         * malloc/arena.c (new_heap): New memory_heap_new probe.
31443         (grow_heap): New memory_heap_more probe.
31444         (shrink_heap): New memory_heap_less probe.
31445         (heap_trim): New memory_heap_free probe.
31446         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31447         (systrim): New memory_sbrk_less probe.
31448         * manual/probes.texi: Document them.
31450         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31451         * manual/probes.texi: Document it.
31453         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31454         (__libc_realloc): Add memory_realloc_retry probe.
31455         (__libc_memalign): Add memory_memalign_retry probe.
31456         (__libc_valloc): Add memory_valloc_retry probe.
31457         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31458         (__libc_calloc): Add memory_calloc_retry probe.
31459         * manual/probes.texi: Document them.
31461         * malloc/arena.c (get_free_list): Add probe
31462         memory_arena_reuse_free_list.
31463         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31464         and memory_arena_reuse.
31465         (arena_get2) [!PER_THREAD]: Likewise.
31466         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31467         memory_arena_reuse_realloc.
31468         * manual/probes.texi: Document them.
31470         * malloc/malloc.c (__libc_free): Add
31471         memory_mallopt_free_dyn_thresholds probe.
31472         (__libc_mallopt): Add multiple memory_mallopt probes.
31473         * manual/probes.texi: Document them.
31475         * malloc/malloc.c: Include stap-probe.h.
31476         (__libc_mallopt): Add memory_mallopt probe.
31477         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31478         * manual/probes.texi: New.
31479         * manual/Makefile (chapters): Add probes.
31480         * manual/threads.texi: Set next node.
31482 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31484         [BZ #15963, #13985]
31485         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31486         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31487         Add `Chinese' to `nan' entry name.
31489 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31491         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31492         (POLYNOMIAL): Likewise.
31493         (TAYLOR_SINCOS): Likewise.
31494         (TAYLOR_SLOW): Likewise.
31495         (__sin): Use TAYLOR_SINCOS.
31496         (__cos): Likewise.
31497         (slow): Use TAYLOR_SLOW.
31498         (sloww): Likewise.
31499         (bsloww): Likewise.
31500         (csloww): Likewise.
31502 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31504         * stdlib/strtod_l.c: Fix buffer overrun.
31506 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31508         * benchtests/Makefile (bench): Add sincos.
31509         * benchtests/bench-sincos.c: New file.
31511         * math/libm-test.inc (cos_test_data): New test inputs.
31512         (sin_test_data): Likewise.
31514         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31515         macro.
31516         (__sin): Use it.
31517         (__cos): Likewise.
31518         (slow1): Likewise.
31519         (slow2): Likewise.
31520         (sloww1): Likewise.
31521         (sloww2): Likewise.
31522         (bsloww1): Likewise.
31523         (bsloww2): Likewise.
31524         (cslow2): Likewise.
31525         (csloww1): Likewise.
31526         (csloww2): Likewise.
31528         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31529         function.
31530         (__sin): Use it.
31531         (__cos): Likewise.
31533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31534         gotos.
31535         (__cos): Likewise.
31537 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31539         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31540         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31541         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31542         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31543         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31544         * elf/cache.c (print_entry): Handle the new cache flags.
31546 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31547             Aldy Hernandez  <aldyh@redhat.com>
31549         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31550         Change condition to [_SOFT_FLOAT].
31551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31563         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31566         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31567         declaration.
31569 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31571         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31572         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31573         (__longjmp): Use LOAD_GP to load saved GPRs.
31574         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31575         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31576         (__sigsetjmp): Use SAVE_GP to save GPRs.
31578         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31579         Do not append -msoft-float.
31580         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31582 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31584         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31586 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31588         [BZ #15966]
31589         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31590         (_FPU_GETCW): Use initial "__" on variable and field names but not
31591         on macro parameter name.
31592         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31593         parentheses around reference to macro parameter.
31595 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31597         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31598         prototype.
31599         (ctype_startup): Use uint32_t in cast and sizeof for
31600         ctype->charnames.
31602 2013-09-11  Jia Liu  <proljc@gmail.com>
31604         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31605         __daddr_t_defined.
31606         [__FreeBSD__]: Likewise.
31608 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31611         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31612         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31613         (strchr): Remove __strchr_sse42 ifunc selection.
31614         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31615         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31617 2013-09-11  Will Newton  <will.newton@linaro.org>
31619         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31620         parameter to RES. Remove hardcoded 1000 value.
31621         * benchtests/bench-skeleton.c (main): Pass RES parameter
31622         to TIMING_INIT and multiply result by 1000.
31624 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31628 2013-09-11  Andreas Schwab  <schwab@suse.de>
31630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31631         if not defined.
31632         (O_TMPFILE) [__USE_GNU]: Define.
31633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31634         Define.
31636 2013-09-11  Will Newton  <will.newton@linaro.org>
31638         [BZ #15857]
31639         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31640         does not overflow.
31642 2013-09-11  Will Newton  <will.newton@linaro.org>
31644         [BZ #15856]
31645         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31646         does not overflow.
31648 2013-09-11  Will Newton  <will.newton@linaro.org>
31650         [BZ #15855]
31651         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31652         does not overflow.
31654 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31656         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31657         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31658         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31659         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31660         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31662 2013-09-10  Allan McRae  <allan@archlinux.org>
31664         [BZ #15748]
31665         * manual/arith.texi (Parsing of Floats): Clarify
31666         cross-reference.
31668         [BZ #15849]
31669         * manual/install.texi (Running make install): Mention
31670         --enable-pt-chown.
31671         * INSTALL: Regenerated.
31673 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31675         * csu/init-first.c (_init): Remove the !SHARED condition around
31676         FPU control word initialization.
31677         * elf/dl-support.c (_dl_fpu_control): New variable.
31678         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31679         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31680         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31681         * math/test-fpucw-static.c: New file.
31682         * math/test-fpucw-ieee.c: New file.
31683         * math/test-fpucw-ieee-static.c: New file.
31684         * math/Makefile (tests): Add `test-fpucw-ieee' and
31685         `$(tests-static)'.
31686         (tests-static): New variable.
31687         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31688         dependency to...
31689         [($(build-shared),yes)]
31690         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31691         ... this.
31692         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31693         New dependency.
31695 2013-09-09  Allan McRae  <allan@archlinux.org>
31697         [BZ #15939]
31698         * manual/string.texi (Collation Functions): Fix typo in
31699         strcoll example.
31700         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31702         [BZ #15893]
31703         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31705         [BZ #15892]
31706         * libio/memstream.c (open_memstream): Fix memory leak.
31707         * libio/wmemstream.c (open_wmemstream): Likewise.
31709         [BZ #15895]
31710         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31712 2013-09-09  Will Newton  <will.newton@linaro.org>
31714         * malloc/Makefile: Add tst-realloc to tests.
31715         * malloc/tst-realloc.c: New file.
31717 2013-09-09  Allan McRae  <allan@archlinux.org>
31719         [BZ #15844]
31720         * COPYING: Update from GNU website to fix FSF address.
31721         * COPYING.LIB: Likewise.
31723 2013-09-06  David S. Miller  <davem@davemloft.net>
31725         * po/zh_TW.po: Update Chinese (traditional) translation from
31726         translation project.
31728 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31729             Joseph Myers  <joseph@codesourcery.com>
31731         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31732         "localeinfo.h".
31733         (obstack_chunk_alloc): New macro.
31734         (obstack_chunk_free): Likewise.
31735         (record_offset): New function.
31736         (init_locale_data): Likewise.
31737         (align_locale_data): Likewise.
31738         (add_locale_empty): Likewise.
31739         (add_locale_raw_data): Likewise.
31740         (add_locale_raw_obstack): Likewise.
31741         (add_locale_string): Likewise.
31742         (add_locale_wstring): Likewise.
31743         (add_locale_uint32): Likewise.
31744         (add_locale_uint32_array): Likewise.
31745         (add_locale_char): Likewise.
31746         (start_locale_structure): Likewise.
31747         (end_locale_structure): Likewise.
31748         (start_locale_prelude): Likewise.
31749         (end_locale_prelude): Likewise.
31750         (write_locale_data): Take locale_file structure rather than an
31751         iovec.
31752         * locale/programs/locfile.h: Include "obstack.h".
31753         (struct locale_file): Change to store locale file contents instead
31754         of header.
31755         (init_locale_data): New prototype.
31756         (align_locale_data): Likewise.
31757         (add_locale_empty): Likewise.
31758         (add_locale_raw_data): Likewise.
31759         (add_locale_raw_obstack): Likewise.
31760         (add_locale_string): Likewise.
31761         (add_locale_wstring): Likewise.
31762         (add_locale_uint32): Likewise.
31763         (add_locale_uint32_array): Likewise.
31764         (add_locale_char): Likewise.
31765         (start_locale_structure): Likewise.
31766         (end_locale_structure): Likewise.
31767         (start_locale_prelude): Likewise.
31768         (end_locale_prelude): Likewise.
31769         (write_locale_data): Update prototype.
31770         * locale/programs/3level.h (struct TABLE): Remove result field.
31771         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31772         Use new locale_file interface.
31773         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31774         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31775         * locale/programs/ld-address.c (address_output): Use new
31776         locale_file interface.
31777         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31778         NO_ADD_LOCALE.
31779         (collate_finish): Don't call collseq_table_finalize.
31780         (collate_output): Use new locale_file interface.
31781         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31782         in file.
31783         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31784         (TABLE): Move defines earlier in file.
31785         (ELEMENT): Likewise.
31786         (DEFAULT): Likewise.
31787         (wctrans_table_add): Move macro and inline function earlier in
31788         file.
31789         (struct wctype_table): Move type earlier in file.
31790         (add_locale_wctype_table): New static prototype.
31791         (struct locale_ctype_t): Use logical types instead of struct iovec
31792         pointers for members.
31793         (ctype_output): Use new locale_file interface.
31794         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31795         new locale_file interface.
31796         (allocate_arrays): Update for use of new locale_file interface.
31797         * locale/programs/ld-identification.c (identification_output): Use
31798         new locale_file interface.
31799         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31800         * locale/programs/ld-messages.c (messages_output): Likewise.
31801         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31802         * locale/programs/ld-name.c (name_output): Likewise.
31803         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31804         * locale/programs/ld-paper.c (paper_output): Likewise.
31805         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31806         * locale/programs/ld-time.c (time_output): Likewise.
31808 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31810         * benchtests/Makefile: Add memrchr benchmark.
31811         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31812         benchmark as memrchr.
31813         * benchtests/bench-memrchr-ifunc.c: New file.
31814         * benchtests/bench-memrchr.c: New file.
31816 2013-09-06   Will Newton  <will.newton@linaro.org>
31818         * benchtests/Makefile (string-bench): Add memcpy.
31820 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31821             Cong Wang  <amwang@redhat.com>
31823         [BZ #15850]
31824         * sysdeps/unix/sysv/linux/bits/in.h
31825         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31826         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31827         before __USE_KERNEL_IPV6_DEFS uses.
31828         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31829         IPPROTO_BEETPH.
31830         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31831         sockaddr_in6, or ipv6_mreq.
31833 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31835         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31836         memory access for final bytes in some large inputs.
31837         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31839 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31841         * string/test-memrchr.c: New file.
31842         * string/test-memrchr-ifunc.c: New file.
31843         * string/Makefile: Add new memrchr testcase.
31845 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31847         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31848         fanotify_init returns EPERM.
31850 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31852         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31853         errors.
31854         (top level): Treat second token from macro or constant entries for
31855         allowed headers as allowed.
31856         * include/complex.h: Condition internal declarations on
31857         [!_ISOMAC].
31858         * include/fenv.h: Condition include of <stdbool.h> and internal
31859         declarations on [!_ISOMAC].
31861 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31863         [BZ #15923]
31864         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31866 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31868         * configure.in (--enable-versioning): Remove configure option.
31869         (libc_cv_asm_symver_directive): Remove configure test.
31870         (libc_cv_ld_version_script_option): Likewise.
31871         (VERSIONING): Remove variable and AC_SUBST.
31872         (DO_VERSIONING): Remove AC_DEFINE.
31873         * configure: Regenerated.
31874         * config.h.in (DO_VERSIONING): Remove macro.
31875         * Makerules [$(versioning) = yes]: Change conditionals to
31876         [$(build-shared) = yes].
31877         * config.make.in (versioning): Remove variable.
31878         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31879         [$(build-shared) = yes].
31880         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31881         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31882         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31883         [$(build-shared) = yes].
31884         * extra-lib.mk [$(versioning) = yes]: Likewise.
31885         * hurd/Makefile [$(versioning) = yes]: Likewise.
31886         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31887         [SHARED].
31888         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31889         [SHARED].
31890         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31891         [SHARED && !NO_HIDDEN].
31892         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31893         [SHARED].
31894         [SHARED && DO_VERSIONING]: Likewise..
31895         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31896         [$(build-shared) = yes].
31897         * manual/install.texi (--disable-versioning): Remove
31898         documentation.
31899         * INSTALL: Regenerated.
31900         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31901         to [SHARED].
31902         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31903         [$(build-shared) = yes].
31904         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31905         * sysdeps/i386/i686/multiarch/strstr-c.c
31906         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31907         [SHARED && !NO_HIDDEN].
31908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31909         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31910         * sysdeps/powerpc/powerpc32/dl-machine.c
31911         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31912         * sysdeps/powerpc/powerpc32/sysdep.h
31913         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31914         to [SHARED && PIC && !NO_HIDDEN].
31915         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31916         conditional to [SHARED].
31918 2013-09-04   Will Newton  <will.newton@linaro.org>
31920         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31921         * benchtests/bench-string.h: Include bench-timing.h instead
31922         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31923         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31924         call to HP_TIMING_DIFF_INIT.
31925         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31926         instead of hp-timing.h macros.
31927         * benchtests/bench-memchr.c: Likewise.
31928         * benchtests/bench-memcmp.c: Likewise.
31929         * benchtests/bench-memcpy.c: Likewise.
31930         * benchtests/bench-memmem.c: Likewise.
31931         * benchtests/bench-memmove.c: Likewise.
31932         * benchtests/bench-memset.c: Likewise.
31933         * benchtests/bench-rawmemchr.c: Likewise.
31934         * benchtests/bench-strcasecmp.c: Likewise.
31935         * benchtests/bench-strcasestr.c: Likewise.
31936         * benchtests/bench-strcat.c: Likewise.
31937         * benchtests/bench-strchr.c: Likewise.
31938         * benchtests/bench-strcmp.c: Likewise.
31939         * benchtests/bench-strcpy.c: Likewise.
31940         * benchtests/bench-strcpy_chk.c: Likewise.
31941         * benchtests/bench-strlen.c: Likewise.
31942         * benchtests/bench-strncasecmp.c: Likewise.
31943         * benchtests/bench-strncat.c: Likewise.
31944         * benchtests/bench-strncmp.c: Likewise.
31945         * benchtests/bench-strncpy.c: Likewise.
31946         * benchtests/bench-strnlen.c: Likewise.
31947         * benchtests/bench-strpbrk.c: Likewise.
31948         * benchtests/bench-strrchr.c: Likewise.
31949         * benchtests/bench-strspn.c: Likewise.
31950         * benchtests/bench-strstr.c: Likewise.
31952 2013-09-04  Will Newton  <will.newton@linaro.org>
31954         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31956 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31958         [BZ #15427]
31959         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31960         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31961         * math/libm-test.inc (lgamma_test_data): Add more tests.
31962         * sysdeps/i386/fpu/libm-test-ulps: Update.
31963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31965 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31967         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31969         Add ifunc.
31970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31971         Add strcmp-sse2-unaligned
31972         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31974 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31976         * Versions.def (libc): Add GLIBC_2.19.
31978 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31980         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31981         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31983 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31985         [BZ #14155]
31986         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31987         intermediate calculations in recurrence.
31988         (__ieee754_ynf): Likewise.
31989         * math/libm-test.inc (jn_test_data): Do not allow spurious
31990         underflow exception.  Add more tests.
31991         (yn_test_data): Add more tests.
31992         * sysdeps/i386/fpu/libm-test-ulps: Update.
31993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31995 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31997         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31999 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32001         * csu/init-first.c: Fix then/than typos.
32002         * locale/programs/ld-collate.c: Likewise.
32003         * locale/programs/linereader.h: Likewise.
32004         * manual/charset.texi: Likewise.
32005         * manual/filesys.texi: Likewise.
32006         * manual/stdio.texi: Likewise.
32007         * manual/string.texi: Likewise.
32008         * stdlib/fmtmsg.c: Likewise.
32009         * sysdeps/i386/stpncpy.S: Likewise.
32010         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32011         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32012         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32013         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32015 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32017         * elf/dl-open.c: Fix typos.
32018         * iconvdata/gbbig5.c: Likewise.
32019         * iconvdata/iso-2022-jp.c: Likewise.
32020         * iconv/gconv_int.h: Likewise.
32021         * iconv/loop.c: Likewise.
32022         * nis/rpcsvc/nis.h: Likewise.
32023         * resolv/ns_name.c: Likewise.
32024         * stdio-common/vfscanf.c: Likewise.
32025         * streams/stropts.h: Likewise.
32026         * sunrpc/rpc_thread.c: Likewise.
32027         * sysdeps/i386/strpbrk.S: Likewise.
32028         * sysdeps/ieee754/k_standard.c: Likewise.
32029         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32030         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32031         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32032         * sysdeps/mach/hurd/profil.c: Likewise.
32033         * sysdeps/s390/dl-procinfo.h: Likewise.
32034         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32035         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32036         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32037         * sysdeps/x86_64/dl-trampoline.S: Likewise.
32038         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32040 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
32042         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32045 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
32047         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32048         aix specific files.
32049         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32051         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32052         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32053         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32054         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32055         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32056         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32058 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32059             Roland McGrath  <roland@hack.frob.com>
32061         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32062         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32064 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32066         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32067         __executable_start symbol instead of _start.
32069 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32071         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32072         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32073         Move macros to...
32074         * sysdeps/gnu/ldsodefs.h: ... this new file.
32076         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32077         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32078         instead of ELFOSABI_LINUX.
32080         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32081         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32082         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32083         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32084         Likewise.
32085         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32086         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32087         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32088         Likewise.
32089         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32090         (ibm_extended_long_double): Add ieee_nan member.
32091         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32092         (do_test): New function.
32094         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32095         TEST_TRUNC.
32096         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32097         functions, renamed from truncdfsf_test, trunctfsf_test,
32098         trunctfdf_test.
32099         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32100         functions.
32101         (do_test): Run all these.
32103 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32105         * argp/argp-help.c: Fix typos.
32106         * argp/argp-parse.c: Likewise.
32107         * debug/backtracesyms.c: Likewise.
32108         * elf/elf.h: Likewise.
32109         * malloc/malloc.c: Likewise.
32110         * nis/nis_print.c: Likewise.
32111         * resolv/res_comp.c: Likewise.
32112         * stdlib/stdlib.h: Likewise.
32113         * sunrpc/clnt_tcp.c: Likewise.
32114         * sunrpc/clnt_udp.c: Likewise.
32115         * sunrpc/clnt_unix.c: Likewise.
32116         * sysdeps/unix/bsd/ptsname.c: Likewise.
32117         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32118         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32120         Likewise.
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32122         Likewise.
32123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32124         Likewise.
32125         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32127 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32129         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32132 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32134         [BZ #15897]
32135         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32136         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32137         ($(objpfx)bug-dl-leaf): New rule.
32138         ($(objpfx)bug-dl-leaf.so): Likewise.
32139         ($(objpfx)bug-dl-leaf.out): Likewise.
32140         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32141         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32142         * dlfcn/bug-dl-leaf.c: New test.
32143         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32144         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32145         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32146         (dlclose): Likewise.
32147         (dlmopen): Likewise.
32149 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32151         * include/netdb.h [!_ISOMAC]:
32152         Don't include <tls.h>.
32153         (h_errno, __libc_h_errno): Move declaration and macros out of
32154         [_LIBC_REENTRANT].
32156         * include/resolv.h [_RESOLV_H_]:
32157         Don't include <tls.h>.
32158         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32159         * resolv/res_libc.c: Don't include <tls.h>.
32160         (_res): Use __attribute__ ((nocommon)) in place of
32161         __attribute__ ((section (".bss"))).
32163         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32164         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32166         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32168         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32169         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32171         * resolv/res_mkquery.c: Include <sys/time.h>.
32173         * inet/ifreq.c: Moved to ...
32174         * sysdeps/unix/ifreq.c: ... here.
32175         * inet/ifreq.c: New file, true stub version.
32177         * socket/sa_len.c: New file.
32178         * socket/Makefile (aux): Add it.
32179         * sysdeps/unix/sysv/linux/Makefile
32180         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32181         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32182         and #include <socket/sa_len.c>.
32183         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32184         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32186         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32187         * bits/socket.h: ... here.
32189         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32190         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32191         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32193 2013-08-27  Andreas Schwab  <schwab@suse.de>
32195         [BZ #15736]
32196         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32197         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32198         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32199         * string/test-strcasecmp.c (test_main): Run tests in several
32200         locales.
32201         * string/test-strncasecmp.c (test_main): Likewise.
32203         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32204         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32205         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32207         (__strncasecmp_ssse3) [PIC]: Likewise.
32209 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32211         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32213         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32214         instead of explicitly declaring xdecrypt.
32215         * nis/nss_nis/nis-publickey.c: Likewise.
32217 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32219         [BZ #15890]
32220         * nscd/aicache.c: Include res_hconf.h.
32221         (addhstaiX): Initialize res_hconf.
32223 2013-08-26  Andreas Schwab  <schwab@suse.de>
32225         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32226         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32228 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32230         * nscd/aicache.c (addhstaiX): Fix indentation.
32232 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32234         * configure.ac: Quote $build_pt_chown test.
32235         * configure: Regenerated.
32237 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32239         [BZ #15532]
32240         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32241         * math/s_cexpf.c (__cexpf): Likewise.
32242         * math/s_cexpl.c (__cexpl): Likewise.
32243         * math/libm-test.inc (cexp_test_data): Correct expected return
32244         value for NaN + i0.  Add another test.
32246 2013-08-22  David S. Miller  <davem@davemloft.net>
32248         * po/ca.po: Update Catalan translation from translation project.
32249         * po/uk.po: Add Ukrainian translations from translation project.
32251 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32253         [BZ #15797]
32254         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32255         is infinite, not alongside NaN test.
32256         * math/s_fdimf.c (__fdimf): Likewise.
32257         * math/s_fdiml.c (__fdiml): Likewise.
32258         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32259         errno is unchanged.
32261 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32263         * argp/argp-help.c: Fix typos.
32264         * crypt/speeds.c: Likewise.
32265         * csu/check_fds.c: Likewise.
32266         * elf/dl-load.c: Likewise.
32267         * elf/dl-open.c: Likewise.
32268         * elf/reldep3.c: Likewise.
32269         * elf/reldep.c: Likewise.
32270         * elf/sprof.c: Likewise.
32271         * iconv/iconv_charmap.c: Likewise.
32272         * iconv/skeleton.c: Likewise.
32273         * iconv/strtab.c: Likewise.
32274         * io/lockf64.c: Likewise.
32275         * libio/libioP.h: Likewise.
32276         * resolv/gai_notify.c: Likewise.
32277         * resolv/ns_name.c: Likewise.
32278         * resolv/ns_samedomain.c: Likewise.
32279         * resolv/res_send.c: Likewise.
32280         * stdlib/random.c: Likewise.
32281         * sunrpc/rpc/xdr.h: Likewise.
32282         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32283         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32284         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32285         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32286         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32290         * sysdeps/mach/hurd/check_fds.c: Likewise.
32291         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32292         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32293         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32294         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32296         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32297         * sysdeps/pthread/aio_notify.c: Likewise.
32298         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32299         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32300         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32301         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32302         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32304 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32306         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32307         version if bit_Slow_SSE4_2 is set.
32308         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32309         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32311 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32313         [BZ #15867]
32314         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32315         trampoline stack frame information.
32316         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32317         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32318         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32319         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32320         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32321         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32322         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32323         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32324         sa_flags value.
32325         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32326         interrupting a syscall and set with option SA_SIGINFO.
32328 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32330         [BZ #15531]
32331         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32332         argument is infinite.
32333         * math/s_cprojf.c (__cprojf): Likewise.
32334         * math/s_cprojl.c (__cprojl): Likewise.
32335         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32336         * math/libm-test.inc (cproj_test_data): Add more tests.
32338         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32340         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32341         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32342         size.  Use __ffs to determine corresponding shift.
32344 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32345             Roland McGrath  <roland@hack.frob.com>
32347         * Makefile (INSTALL): Remove trailing blank lines from output of
32348         makeinfo.
32350 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32352         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32353         Align 32 bit compat elf_greg to 8 bytes.
32355 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32357         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32359 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32361         * string/strcoll_l.c (coll_seq): New structure.
32362         (get_next_seq_cached): New function.
32363         (get_next_seq): New function.
32364         (do_compare): New function.
32365         (STRCOLL): Use GNU style definition.  Simplify implementation
32366         by using get_next_seq, get_next_seq_cached and do_compare.
32368 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32370         [BZ #14699]
32371         CVE-2013-4237
32372         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32373         member.
32374         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32375         member.
32376         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32377         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32378         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32379         conditional.
32380         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32381         GETDENTS_64BIT_ALIGNED.
32382         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32383         * manual/filesys.texi (Reading/Closing Directory): Document
32384         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32385         strongly.
32386         * manual/conf.texi (Limits for Files): Add portability note to
32387         NAME_MAX, PATH_MAX.
32388         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32390 2013-08-13  Andreas Schwab  <schwab@suse.de>
32392         [BZ #15749]
32393         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32394         of fabs.
32395         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32396         LDBL_MAX_EXP >= 16384]: Add tests for it.
32398 2013-08-12  David S. Miller  <davem@davemloft.net>
32400         * version.h (RELEASE): Set to "development".
32401         (VERSION): Set to "2.18.90".
32402         * NEWS: Add 2.19 section.
32404 2013-08-03  David S. Miller  <davem@davemloft.net>
32406         * po/ko.po: Update Korean translation from translation project.
32408 2013-08-01  David S. Miller  <davem@davemloft.net>
32410         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32411         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32412         Bilka.
32414 2013-07-30  David S. Miller  <davem@davemloft.net>
32416         * po/fr.po: Update French translation from translation project.
32418 2013-07-28  David S. Miller  <davem@davemloft.net>
32420         * po/cs.po: Update Czech translation from translation project.
32422         * po/sv.po: Update Swedish translation from translation project.
32424 2013-07-27  David S. Miller  <davem@davemloft.net>
32426         * po/eo.po: Update Esperanto translation from translation project.
32428         * po/vi.po: Update Vietnamese translation from translation project.
32430         * po/de.po: Update German translation from translation project.
32432 2013-07-26  David S. Miller  <davem@davemloft.net>
32434         * po/bg.po: Update Bulgarian translation from translation project.
32436         * po/nl.po: Update Dutch translation from translation project.
32437         * po/pl.po: Update Polish translation from translation project.
32438         * po/ru.po: Update Russian translation from translation project.
32440 2013-07-24  David S. Miller  <davem@davemloft.net>
32442         * po/libc.pot: Update.
32444 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32446         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32447         variable page size.
32448         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32449         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32450         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32452 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32454         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32456 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32457             Andreas Schwab  <schwab@suse.de>
32458             Roland McGrath  <roland@hack.frob.com>
32459             Joseph Myers  <joseph@codesourcery.com>
32460             Carlos O'Donell  <carlos@redhat.com>
32462         [BZ #15755]
32463         * config.h.in: Define HAVE_PT_CHOWN.
32464         * config.make.in (build-pt-chown): New variable.
32465         * configure.in (--enable-pt_chown): New configure option.
32466         * configure: Regenerate.
32467         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32468         build-pt-chown is enabled.
32469         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32470         pt_chown to fix pty ownership.
32471         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32472         CLOSE_ALL_FDS.
32473         * manual/install.texi (Configuring and compiling): Mention
32474         --enable-pt_chown. Add @findex for grantpt.
32475         * INSTALL: Regenerate.
32477 2013-07-20  David S. Miller  <davem@davemloft.net>
32479         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32480         difference between 32-bit and 64-bit.
32482 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32484         [BZ #15711]
32485         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32486         Avoid system header dependency with -ffreestanding.
32487         ($(objpfx)bits/syscall%d): Likewise.
32489 2013-07-13  David S. Miller  <davem@davemloft.net>
32491         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32492         underflows from atanl/atan2l due to bug 15319.
32493         (casinh_test_data): Likewise.
32495 2013-07-07  David S. Miller  <davem@davemloft.net>
32497         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32499 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32501         * sysdeps/i386/fpu/libm-test-ulps: Update.
32502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32504 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32506         * configure.in (--enable-lock-elision): Fix message text.
32507         * INSTALL: Regenerate.
32508         * configure: Regenerate.
32510 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32514 2013-07-03  Andreas Jaeger  <aj@suse.de>
32516         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32517         define.
32518         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32519         (ptrace_peeksiginfo_args): Add.
32520         (__ptrace_peeksiginfo_flags): Add.
32521         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32523         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32525 2013-07-03  Allan McRae  <allan@archlinux.org>
32527         * sysdeps/i386/fpu/libm-test-ulps: Update.
32529 2013-07-02  David S. Miller  <davem@davemloft.net>
32531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32533 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32537 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32539         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32542 2013-07-02  Andi Kleen <ak@linux.intel.com>
32544         * config.h.in (ENABLE_LOCK_ELISION): Add.
32545         * configure.in (--enable-lock-elision): Add option.
32546         * manual/install.texi: Document --enable lock elision.
32547         * configure: Regenerate
32548         * INSTALL: Regenerate.
32550 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32552         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32553         SSE4.2 strcasecmp for libc.a.
32554         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32556 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32558         [BZ #13304]
32559         * soft-fp/op-common.h (_FP_FMA): New macro.
32560         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32561         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32562         (_FP_MUL_MEAT_1_imm): ... here.
32563         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32564         (_FP_MUL_MEAT_1_wide): ... here.
32565         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32566         (_FP_MUL_MEAT_1_hard): ... here.
32567         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32568         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32569         (_FP_MUL_MEAT_2_wide): ... here.
32570         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32571         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32572         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32573         (_FP_MUL_MEAT_2_gmp): ... here.
32574         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32575         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32576         (_FP_MUL_MEAT_4_wide): ... here.
32577         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32578         (_FP_MUL_MEAT_4_gmp): ... here.
32579         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32580         (_FP_WFRACBITS_DW_S): Likewise.
32581         (_FP_WFRACXBITS_DW_S): Likewise.
32582         (_FP_HIGHBIT_DW_S): Likewise.
32583         (FP_FMA_S): Likewise.
32584         (_FP_FRAC_HIGH_DW_S): Likewise.
32585         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32586         (_FP_WFRACBITS_DW_D): Likewise.
32587         (_FP_WFRACXBITS_DW_D): Likewise.
32588         (_FP_HIGHBIT_DW_D): Likewise.
32589         (FP_FMA_D): Likewise.
32590         (_FP_FRAC_HIGH_DW_D): Likewise.
32591         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32592         (_FP_WFRACBITS_DW_E): Likewise.
32593         (_FP_WFRACXBITS_DW_E): Likewise.
32594         (_FP_HIGHBIT_DW_E): Likewise.
32595         (FP_FMA_E): Likewise.
32596         (_FP_FRAC_HIGH_DW_E): Likewise.
32597         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32598         (_FP_WFRACBITS_DW_Q): Likewise.
32599         (_FP_WFRACXBITS_DW_Q): Likewise.
32600         (_FP_HIGHBIT_DW_Q): Likewise.
32601         (FP_FMA_Q): Likewise.
32602         (_FP_FRAC_HIGH_DW_Q): Likewise.
32603         * soft-fp/fmasf4.c: New file.
32604         * soft-fp/fmadf4.c: Likewise.
32605         * soft-fp/fmatf4.c: Likewise.
32607 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32610         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32611         Silvermont.
32612         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32613         macro.
32614         (index_Slow_SSE4_2): Likewise.
32615         (index_Prefer_PMINUB_for_stringop): Likewise.
32616         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32617         bit_Slow_SSE4_2 is set.
32618         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32619         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32621 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32623         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32624         rtld_global._dl_hwcap2.
32625         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32626         POWER8.
32627         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32628         POWER8 feature descriptions defined in _dl_hwcap2.
32629         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32630         string handling for POWER8 feature bits.
32631         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32632         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32633         _dl_powerpc_cap_flags.
32634         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32635         * sysdeps/powerpc/rtld-global-offsets.sym
32636         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32637         _dl_hwcap2 in the rtld_global_ro structure.
32639 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32641         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32642         hardware capabilities in support of AT_HWCAP2.
32643         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32644         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32645         GLRO(dl_hwcap2).
32646         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32647         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32648         explicitly the unknown a_type display mechanism is used.
32649         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32650         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32651         struct member.
32652         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32653         to macro prototype for AT_HWCAP2 support.
32654         * sysdeps/i386/dl-procinfo.h: Likewise.
32655         * sysdeps/s390/dl-procinfo.h: Likewise.
32656         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32657         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32658         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32659         return -1 for unknown a_type display fallback.
32660         * sysdeps/sparc/dl-procinfo.h: Likewise.
32661         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32662         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32664 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32666         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32667         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32669 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32671         [BZ #12492]
32672         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32673         mprotect making __stack_prot writable.
32675 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32676             Joseph Myers  <joseph@codesourcery.com>
32678         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32679         as being properly aligned.
32681 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32683         * dlfcn/modstatic5.c: New file.
32684         * dlfcn/tststatic5.c: New file.
32685         * dlfcn/Makefile (tests): Add tststatic5.
32686         (tests-static): Likewise.
32687         (modules-names): Add modstatic5.
32688         (tststatic5-ENV): New variable.
32689         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32691         [BZ #15022]
32692         * elf/dl-support.c (_dl_main_map): New variable.
32693         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32694         (_dl_nns, _dl_load_adds): Set to 1.
32695         (_dl_initial_searchlist): Refer to _dl_main_map.
32696         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32697         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32698         call to _dl_get_origin.
32699         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32700         around call_map.
32701         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32702         * dlfcn/modstatic3.c: New file.
32703         * dlfcn/tststatic3.c: New file.
32704         * dlfcn/tststatic4.c: New file.
32705         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32706         (tests-static): Likewise.
32707         (modules-names): Add modstatic3.
32708         (tststatic3-ENV, tststatic4-ENV): New variables.
32709         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32710         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32712 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32714         * configure.in (CC): Require GCC version 4.4 or later.
32715         * configure: Regenerated.
32716         * manual/install.texi (Tools for Compilation): Update GCC version
32717         requirement.
32718         * INSTALL: Regenerated.
32720 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32722         [BZ #15674]
32723         * string/test-memcmp.c (check2): New.
32724         (main): Call check2.
32726         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32728 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32730         [BZ #15022]
32731         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32732         over to...
32733         (dl_open_worker) [!SHARED]: ... here.
32735 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32737         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32739 2013-06-25  Richard Henderson  <rth@redhat.com>
32741         * locale/programs/locarchive.c: Include <libc-internal.h>
32743 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32745         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32746         trailing whitespace removed.
32748 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32750         [BZ #10283]
32751         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32752         * locale/programs/locarchive.c: Include libc-mmap.h.
32753         (prepare_address_space): Take two new outputs (the mmap base and len).
32754         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32755         values.
32756         (create_archive): Declare new mmap base and len values for
32757         prepare_address_space, and store the result in ah.
32758         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32759         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32760         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32761         Declare new mmap base and len values for
32762         prepare_address_space, and store the result in new_ah.
32763         (open_archive): Declare new mmap base and len values for
32764         prepare_address_space, and store the result in ah.
32765         (close_archive): If ah->mmap_base is not NULL, use that and
32766         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32767         * sysdeps/generic/libc-mmap.h: New file.
32769 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32771         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32772         (ALIGN_UP): Likewise.
32773         (PTR_ALIGN_DOWN): Likewise.
32774         (PTR_ALIGN_UP): Likewise.
32776 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32778         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32779         entry mapped to PPC_PLATFORM_POWER8.
32780         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32781         POWER8.
32782         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32783         (_dl_string_platform): Add case for exporting platform position for
32784         POWER8.
32785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32786         search path to sysdeps/powerpc/powerpc32/power8 directory.
32787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32788         search path to sysdeps/powerpc/powerpc64/power8 directory.
32789         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32790         power7 directories.
32791         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32792         power7 directories.
32794 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32796         * INSTALL: Regenerate.
32798         * nscd/connections.c (nscd_init): Fix comment.
32800 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32802         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32804         [BZ #15667]
32805         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32806         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32808 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32810         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32811         DL_DST_REQ_STATIC.
32812         (DL_DST_REQ_STATIC): Remove macro.
32814 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32816         [BZ #7006]
32817         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32818         with a shift of 0 bits.
32820 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32822         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32823         $(tststatic-ENV).
32825 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32827         [BZ #15655]
32828         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32830 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32832         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32833         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32834         accepts -fno-tree-loop-distribute-patterns.
32835         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32836         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32837         recursive call.
32838         * string/memset.c (memset): Likewise.
32839         * string/test-memmove.c (simple_memmove): Disable loop transformation
32840         to library calls.
32841         * string/test-memset.c (simple_memset): Likewise.
32842         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32843         * benchtests/bench-memset.c (simple_memset): Likewise.
32844         * configure: Regenerated.
32846 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32848         * math/test-misc.c (main): Ignore fesetround failure when failures
32849         of subsequent rounding tests would be ignored.
32851         [BZ #15654]
32852         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32853         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32854         * math/fegetenv.c (__fegetenv): Return 0.
32855         * math/fegetexcept.c (fegetexcept): Return 0.
32856         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32857         FE_TONEAREST.
32858         * math/feholdexcpt.c (feholdexcept): Return 0.
32859         * math/fesetenv.c (__fesetenv): Return 0.
32860         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32861         argument FE_TONEAREST.
32862         * math/feupdateenv.c (__feupdateenv): Return 0.
32863         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32865 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32867         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32868         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32869         ($(objpfx)rtld-%.os rules): Use them.
32871 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32873         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32874         fields.
32876 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32878         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32879         length of target pattern, then descending length of dependency pattern.
32880         * configure.in (AWK): Require gawk 3.1.2 or newer.
32881         * manual/install.texi (Tools for Compilation): Say that we do.
32882         * configure: Regenerated.
32884         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32885         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32886         * scripts/sysd-rules.awk: ... this new script.
32887         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32888         than a glob-style pattern.
32890 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32892         * math/test-misc.c (main): Do not treat incorrectly rounded
32893         conversions as failure unless ROUNDING_TESTS passes.
32895 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32897         [BZ #15631]
32898         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32899         restore exception state around main square root computation, then
32900         check for inexactness explicitly.
32902         * math/libm-test.inc (fma_test_data): Add another test.
32904 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32906         * manual/threads.texi (Non-POSIX Extensions): New document
32907         node.  Document pthread_getattr_default_np and
32908         pthread_setattr_default_np.
32910         * Versions.def (libpthread): Add GLIBC_2.18.
32911         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32913         Likewise.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32915         Likewise.
32916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32917         Likewise.
32918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32919         Likewise.
32920         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32921         Likewise.
32922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32923         Likewise.
32924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32925         Likewise.
32926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32927         Likewise.
32928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32929         Likewise.
32931 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32934         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32936 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32937             H.J. Lu  <hjl.tools@gmail.com>
32939         [BZ #15627]
32940         * sysdeps/x86_64/rtld-memset.c: Remove file.
32941         * sysdeps/x86_64/rtld-memset.S: New file.
32943 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32945         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32946         (test_in_one_mode): Take arguments for whether the rounding mode
32947         is supported for each floating-point type.
32948         (do_test): Pass new arguments to test_in_one_mode using
32949         ROUNDING_TESTS.
32951 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32953         * posix/tst-waitid.c (do_test): Distinguish different instances of
32954         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32955         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32956         before entering the kernel for waitpid.
32958 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32960         * NEWS: Fix note on clock function precision.  Text by Roland
32961         McGrath.
32963 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32965         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32966         it into place only when and if the sanity check passes.
32968 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32970         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32971         output for whether conversion result is exact.  Take argument
32972         indicating whether type is IBM long double.
32973         (round_for_all): Change need_exact field to ibm_ld.
32974         * stdlib/tst-strtod-round.c (struct exactness): New type.
32975         (struct test): Change bool ld_ok field to struct exactness exact.
32976         (TEST): Update all definitions for change to field.
32977         (tests): Regenerate array contents.
32978         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32979         field value.  Check for IBM long double here.
32980         (do_test): Update calls to test_in_one_mode.
32982 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32984         [BZ #12515]
32985         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32986         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32988 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32990         [BZ #15605]
32991         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32992         generated by the compiler on loop optimizations.
32993         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32994         general definitions.
32996 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32998         * math/bug-nextafter.c: Include <math-tests.h>.
32999         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33000         the relevant type.
33001         * math/bug-nexttoward.c: Include <math-tests.h>.
33002         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33003         the relevant type.
33004         * math/test-misc.c: Include <math-tests.h>.
33005         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33006         the relevant type.
33008 2013-06-12  Andreas Jaeger  <aj@suse.de>
33010         * po/ia.po: Update Interlingua translation from translation
33011         project.
33013 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33015         * include/fenv.h: Include stdbool.h.
33016         (struct rm_ctx): New structure.
33017         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33018         Define macro.
33019         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33020         (SET_RESTORE_ROUNDF): Likewise.
33021         (SET_RESTORE_ROUNDL): Likewise.
33022         (SET_RESTORE_ROUND_NOEX): Likewise.
33023         (SET_RESTORE_ROUND_NOEXF): Likewise.
33024         (SET_RESTORE_ROUND_NOEXL): Likewise.
33025         (SET_RESTORE_ROUND_53BIT): Likewise.
33026         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33027         (libc_feresetround_noexf_ctx): Likewise.
33028         (libc_feresetround_noexl_ctx): Likewise.
33029         (libc_feholdsetround_53bit_ctx): Likewise.
33030         (libc_feresetround_53bit_ctx): Likewise.
33031         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33032         (libc_feholdexcept_setround_sse_ctx): New function.
33033         (libc_fesetenv_sse_ctx): Likewise.
33034         (libc_feupdateenv_sse_ctx): Likewise.
33035         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33036         (libc_feholdexcept_setround_387_ctx): Likewise.
33037         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33038         (libc_feholdsetround_387_prec_ctx): Likewise.
33039         (libc_feholdsetround_387_ctx): Likewise.
33040         (libc_feholdsetround_387_53bit_ctx): Likewise.
33041         (libc_feholdsetround_sse_ctx): Likewise.
33042         (libc_feresetround_sse_ctx): Likewise.
33043         (libc_feresetround_387_ctx): Likewise.
33044         (libc_feupdateenv_387_ctx): Likewise.
33045         (libc_feholdexcept_setroundf_ctx): Define macro.
33046         (libc_fesetenvf_ctx): Likewise.
33047         (libc_feupdateenvf_ctx): Likewise.
33048         (libc_feholdsetroundf_ctx): Likewise.
33049         (libc_feresetroundf_ctx): Likewise.
33050         (libc_feholdexcept_setround_ctx): Likewise.
33051         (libc_fesetenv_ctx): Likewise.
33052         (libc_feupdateenv_ctx): Likewise.
33053         (libc_feholdsetround_ctx): Likewise.
33054         (libc_feresetround_ctx): Likewise.
33055         (libc_feholdexcept_setroundl_ctx): Likewise.
33056         (libc_feupdateenvl_ctx): Likewise.
33057         (libc_feholdsetroundl_ctx): Likewise.
33058         (libc_feresetroundl_ctx): Likewise.
33059         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33060         (libc_feresetround_53bit_ctx): Likewise.
33062 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33064         * locale/iso-639.def: Convert to UTF-8.
33066 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33068         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33069         (EXCEPTION_TESTS_double): Likewise.
33070         (EXCEPTION_TESTS_long_double): Likewise.
33071         (EXCEPTION_TESTS): Likewise.
33072         * math/libm-test.inc (test_exceptions): Only test exceptions if
33073         EXCEPTION_TESTS (FLOAT).
33075 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33077         * benchtests/Makefile (string-bench): Add strcpy_chk and
33078         stpcpy_chk.
33079         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33080         * benchtests/bench-stpcpy_chk.c: New file.
33081         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33082         * benchtests/bench-strcpy_chk.c: New file.
33083         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33084         code.
33085         (do_test): Likewise.
33087 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33089         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33090         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33091         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33092         with tabs where appropriate.
33093         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33094         dl-procinfo.h.
33095         [PPC_PLATFORM_PPC440]: Likewise.
33096         [PPC_PLATFORM_PPC464]: Likewise.
33097         [PPC_PLATFORM_PPC476]: Likewise.
33098         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33099         ppc464, and ppc476 platform strings merging from ports/
33100         dl-procinfo.h.
33102 2013-06-11  Andreas Schwab  <schwab@suse.de>
33104         [BZ #14991]
33105         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33106         (from_ucs4_idx): Regenerate.
33107         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33108         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33109         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33110         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33111         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33112         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33113         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33114         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33115         from FROM_LOOP and TO_LOOP specific macros.
33116         (BODY): Handle combining characters.
33117         * iconvdata/BIG5HKSCS.irreversible: Update.
33118         * iconvdata/BIG5HKSCS.precomposed: New file.
33119         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33120         characters.
33121         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33123 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33125         * include/sys/time.h: Fix indentation and add copyright header.
33127         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33128         (do_test): Likewise.
33129         * string/test-memchr.c (do_one_test): Likewise.
33130         (do_test): Likewise.
33131         * string/test-memcmp.c (do_one_test): Likewise.
33132         (do_test): Likewise.
33133         * string/test-memcpy.c (do_one_test): Likewise.
33134         (do_test): Likewise.
33135         * string/test-memmem.c (do_one_test): Likewise.
33136         (do_test): Likewise.
33137         (do_random_tests): Likewise.
33138         * string/test-memmove.c (do_one_test): Likewise.
33139         (do_test): Likewise.
33140         * string/test-memset.c (do_one_test): Likewise.
33141         (do_test): Likewise.
33142         * string/test-rawmemchr.c (do_one_test): Likewise.
33143         (do_test): Likewise.
33144         * string/test-strcasecmp.c (do_one_test): Likewise.
33145         (do_test): Likewise.
33146         * string/test-strcasestr.c (do_one_test): Likewise.
33147         (do_test): Likewise.
33148         * string/test-strcat.c (do_one_test): Likewise.
33149         (do_test): Likewise.
33150         * string/test-strchr.c (do_one_test): Likewise.
33151         (do_test): Likewise.
33152         * string/test-strcmp.c (do_one_test): Likewise.
33153         (do_test): Likewise.
33154         * string/test-strcpy.c (do_one_test): Likewise.
33155         (do_test): Likewise.
33156         * string/test-string.h: Likewise.
33157         (test_init): Likewise.
33158         * string/test-strlen.c (do_one_test): Likewise.
33159         (do_test): Likewise.
33160         * string/test-strncasecmp.c (do_one_test): Likewise.
33161         (do_test): Likewise.
33162         * string/test-strncat.c (do_one_test): Likewise.
33163         (do_test): Likewise.
33164         * string/test-strncmp.c (do_one_test): Likewise.
33165         (do_test_limit): Likewise.
33166         (do_test): Likewise.
33167         * string/test-strncpy.c (do_one_test): Likewise.
33168         (do_test): Likewise.
33169         * string/test-strnlen.c (do_one_test): Likewise.
33170         (do_test): Likewise.
33171         * string/test-strpbrk.c (do_one_test): Likewise.
33172         (do_test): Likewise.
33173         * string/test-strrchr.c (do_one_test): Likewise.
33174         (do_test): Likewise.
33175         * string/test-strspn.c (do_one_test): Likewise.
33176         (do_test): Likewise.
33177         * string/test-strstr.c (do_one_test): Likewise.
33178         (do_test): Likewise.
33180         * benchtests/Makefile (string-bench): Add string benchmarks.
33181         * benchtests/bench-bcopy-ifunc.c: New file.
33182         * benchtests/bench-bcopy.c: New file.
33183         * benchtests/bench-bzero-ifunc.c: New file.
33184         * benchtests/bench-bzero.c: New file.
33185         * benchtests/bench-memccpy-ifunc.c: New file.
33186         * benchtests/bench-memccpy.c: New file.
33187         * benchtests/bench-memchr-ifunc.c: New file.
33188         * benchtests/bench-memchr.c: New file.
33189         * benchtests/bench-memcmp-ifunc.c: New file.
33190         * benchtests/bench-memcmp.c: New file.
33191         * benchtests/bench-memmem-ifunc.c: New file.
33192         * benchtests/bench-memmem.c: New file.
33193         * benchtests/bench-memmove-ifunc.c: New file.
33194         * benchtests/bench-memmove.c: New file.
33195         * benchtests/bench-mempcpy-ifunc.c: New file.
33196         * benchtests/bench-mempcpy.c: New file.
33197         * benchtests/bench-memset-ifunc.c: New file.
33198         * benchtests/bench-memset.c: New file.
33199         * benchtests/bench-rawmemchr-ifunc.c: New file.
33200         * benchtests/bench-rawmemchr.c: New file.
33201         * benchtests/bench-stpcpy-ifunc.c: New file.
33202         * benchtests/bench-stpcpy.c: New file.
33203         * benchtests/bench-stpncpy-ifunc.c: New file.
33204         * benchtests/bench-stpncpy.c: New file.
33205         * benchtests/bench-strcasecmp-ifunc.c: New file.
33206         * benchtests/bench-strcasecmp.c: New file.
33207         * benchtests/bench-strcasestr-ifunc.c: New file.
33208         * benchtests/bench-strcasestr.c: New file.
33209         * benchtests/bench-strcat-ifunc.c: New file.
33210         * benchtests/bench-strcat.c: New file.
33211         * benchtests/bench-strchr-ifunc.c: New file.
33212         * benchtests/bench-strchr.c: New file.
33213         * benchtests/bench-strchrnul-ifunc.c: New file.
33214         * benchtests/bench-strchrnul.c: New file.
33215         * benchtests/bench-strcmp-ifunc.c: New file.
33216         * benchtests/bench-strcmp.c: New file.
33217         * benchtests/bench-strcpy-ifunc.c: New file.
33218         * benchtests/bench-strcpy.c: New file.
33219         * benchtests/bench-strcspn-ifunc.c: New file.
33220         * benchtests/bench-strcspn.c: New file.
33221         * benchtests/bench-strlen-ifunc.c: New file.
33222         * benchtests/bench-strlen.c: New file.
33223         * benchtests/bench-strncasecmp-ifunc.c: New file.
33224         * benchtests/bench-strncasecmp.c: New file.
33225         * benchtests/bench-strncat-ifunc.c: New file.
33226         * benchtests/bench-strncat.c: New file.
33227         * benchtests/bench-strncmp-ifunc.c: New file.
33228         * benchtests/bench-strncmp.c: New file.
33229         * benchtests/bench-strncpy-ifunc.c: New file.
33230         * benchtests/bench-strncpy.c: New file.
33231         * benchtests/bench-strnlen-ifunc.c: New file.
33232         * benchtests/bench-strnlen.c: New file.
33233         * benchtests/bench-strpbrk-ifunc.c: New file.
33234         * benchtests/bench-strpbrk.c: New file.
33235         * benchtests/bench-strrchr-ifunc.c: New file.
33236         * benchtests/bench-strrchr.c: New file.
33237         * benchtests/bench-strspn-ifunc.c: New file.
33238         * benchtests/bench-strspn.c: New file.
33239         * benchtests/bench-strstr-ifunc.c: New file.
33240         * benchtests/bench-strstr.c: New file.
33242         * benchtests/Makefile: Disable parallel execution of targets.
33243         (string-bench): Add memcpy.
33244         (benchset): New variable to store a list of benchmark sets.
33245         (bench-func): Renamed from bench.
33246         (bench-set): New target.
33247         (bench): Depend on bench-func and bench-set.
33248         * benchtests/README: Add section on benchmark sets.
33249         * benchtests/bench-memcpy-ifunc.c: New file.
33250         * benchtests/bench-memcpy.c: New file.
33251         * benchtests/bench-string.h: New file.
33253 2013-06-11  Andreas Schwab  <schwab@suse.de>
33255         [BZ #15577]
33256         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33257         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33258         values in the triple.
33259         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33260         terminator in the group key.
33262 2013-06-11  Andreas Jaeger  <aj@suse.de>
33264         * po/zh_TW.po: Update Chinese (traditional) translation from
33265         translation project.
33267 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33269         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33270         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33271         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33272         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33273         (clock_getcpuclockid): Likewise.
33274         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33275         Add weak_alias and libc_hidden_def.
33276         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33277         * rt/clock_gettime.c (clock_gettime): Rename to
33278         __clock_gettime.  Add weak_alias and libc_hidden_def.
33279         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33280         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33281         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33282         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33283         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33284         Likewise.
33285         * rt/clock_settime.c (clock_settime): Rename to
33286         __clock_settime.  Add weak_alias and libc_hidden_def.
33287         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33289 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33291         * mach/err_boot.sub: Remove trailing whitespace.
33292         * mach/err_ipc.sub: Likewise.
33293         * mach/err_mach.sub: Likewise.
33295         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33296         (ROUNDING_TESTS_double): Likewise.
33297         (ROUNDING_TESTS_long_double): Likewise.
33298         (ROUNDING_TESTS): Likewise.
33299         * math/libm-test.inc: Include <math-tests.h>.
33300         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33301         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33302         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33303         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33305 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33307         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33308         of assigning.
33310 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33312         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33313         otherwise empty TRANS lines.
33314         * sysdeps/gnu/errlist.c: Regenerated.
33316         * catgets/gencat.c (error_print): Use (void) in function
33317         definition.
33318         * crypt/crypt_util.c (__init_des): Likewise.
33319         * crypt/speeds.c (Stop): Likewise.
33320         (main): Likewise.
33321         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33322         * inet/ruserpass.c (token): Likewise.
33323         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33324         * intl/localealias.c (extend_alias_table): Likewise.
33325         * intl/plural-exp.c (init_germanic_plural): Likewise.
33326         * libio/fcloseall.c (__fcloseall): Likewise.
33327         * libio/genops.c (_IO_flush_all): Likewise.
33328         (_IO_flush_all_linebuffered): Likewise.
33329         (_IO_cleanup): Likewise.
33330         (_IO_iter_begin): Likewise.
33331         (_IO_iter_end): Likewise.
33332         (_IO_list_lock): Likewise.
33333         (_IO_list_unlock): Likewise.
33334         (_IO_list_resetlock): Likewise.
33335         * libio/getchar.c (getchar): Likewise.
33336         * libio/getchar_u.c (getchar_unlocked): Likewise.
33337         * libio/getwchar.c (getwchar): Likewise.
33338         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33339         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33340         * login/getpt.c (__getpt): Likewise.
33341         * login/tst-utmp.c (main): Likewise.
33342         * malloc/hooks.c (__malloc_check_init): Likewise.
33343         * malloc/malloc.c (__malloc_stats): Likewise.
33344         * malloc/mtrace.c (tr_break): Likewise.
33345         (mtrace): Likewise.
33346         (muntrace): Likewise.
33347         * misc/fstab.c (endfsent): Likewise.
33348         * misc/getclktck.c (__getclktck): Likewise.
33349         * misc/getdtsz.c (__getdtablesize): Likewise.
33350         * misc/gethostid.c (gethostid): Likewise.
33351         * misc/getpagesize.c (__getpagesize): Likewise.
33352         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33353         (__get_nprocs): Likewise.
33354         (__get_phys_pages): Likewise.
33355         (__get_avphys_pages): Likewise.
33356         * misc/getttyent.c (getttyent): Likewise.
33357         (setttyent): Likewise.
33358         (endttyent): Likewise.
33359         * misc/getusershell.c (getusershell): Likewise.
33360         (endusershell): Likewise.
33361         (setusershell): Likewise.
33362         (initshells): Likewise.
33363         * misc/hsearch.c (__hdestroy): Likewise.
33364         * misc/sync.c (sync): Likewise.
33365         * misc/syslog.c (closelog_internal): Likewise.
33366         (closelog): Likewise.
33367         * misc/ttyslot.c (ttyslot): Likewise.
33368         * misc/vhangup.c (vhangup): Likewise.
33369         * posix/fork.c (__fork): Likewise.
33370         * posix/getegid.c (__getegid): Likewise.
33371         * posix/geteuid.c (__geteuid): Likewise.
33372         * posix/getgid.c (__getgid): Likewise.
33373         * posix/getpid.c (__getpid): Likewise.
33374         * posix/getppid.c (__getppid): Likewise.
33375         * posix/getuid.c (__getuid): Likewise.
33376         * posix/pause.c (pause): Likewise.
33377         * posix/setpgrp.c (setpgrp): Likewise.
33378         * posix/setsid.c (__setsid): Likewise.
33379         * posix/test-vfork.c (noop): Likewise.
33380         * resolv/gethnamaddr.c (_endhtent): Likewise.
33381         (_gethtent): Likewise.
33382         (ht_endhostent): Likewise.
33383         (gethostent): Likewise.
33384         (dns_service): Likewise.
33385         * stdlib/drand48.c (drand48): Likewise.
33386         * stdlib/lrand48.c (lrand48): Likewise.
33387         * stdlib/mrand48.c (mrand48): Likewise.
33388         * stdlib/rand.c (rand): Likewise.
33389         * stdlib/random.c (__random): Likewise.
33390         * stdlib/setenv.c (clearenv): Likewise.
33391         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33392         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33393         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33394         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33395         (__get_nprocs): Likewise.
33396         (__get_phys_pages): Likewise.
33397         (__get_avphys_pages): Likewise.
33398         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33399         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33400         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33401         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33402         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33403         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33404         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33405         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33406         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33407         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33408         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33409         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33410         * sysdeps/posix/clock.c (clock): Likewise.
33411         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33412         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33413         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33414         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33415         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33417         (__get_nprocs_conf): Likewise.
33418         (__get_phys_pages): Likewise.
33419         (__get_avphys_pages): Likewise.
33420         * time/clock.c (clock): Likewise.
33421         * time/tzset.c (__tzname_max): Likewise.
33423 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33425         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33426         (__bswap_32): Do not use "register".
33427         * crypt/crypt.c (_ufc_doit_r): Likewise.
33428         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33429         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33430         * gmon/gmon.c (__monstartup): Likewise.
33431         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33432         * hurd/hurdmalloc.c (more_memory): Likewise.
33433         (malloc): Likewise.
33434         (free): Likewise.
33435         (realloc): Likewise.
33436         (malloc_fork_prepare): Likewise.
33437         (malloc_fork_parent): Likewise.
33438         (malloc_fork_child): Likewise.
33439         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33440         (_svcauth_des): Likewise.
33441         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33442         * inet/inet_net.c (inet_network): Likewise.
33443         * inet/inet_netof.c (inet_netof): Likewise.
33444         * inet/rcmd.c (__validuser2_sa): Likewise.
33445         * io/fts.c (fts_open): Likewise.
33446         (fts_load): Likewise.
33447         (fts_close): Likewise.
33448         (fts_read): Likewise.
33449         (fts_children): Likewise.
33450         (fts_build): Likewise.
33451         (fts_stat): Likewise.
33452         (fts_sort): Likewise.
33453         (fts_alloc): Likewise.
33454         (fts_lfree): Likewise.
33455         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33456         (_IO_file_xsgetn): Likewise.
33457         (_IO_file_xsgetn_mmap): Likewise.
33458         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33459         (_IO_cookie_write): Likewise.
33460         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33461         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33462         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33463         * malloc/obstack.c (_obstack_begin): Likewise.
33464         (_obstack_begin_1): Likewise.
33465         (_obstack_newchunk): Likewise.
33466         (_obstack_allocated_p): Likewise.
33467         (obstack_free): Likewise.
33468         (_obstack_memory_used): Likewise.
33469         * misc/getttyent.c (getttynam): Likewise.
33470         (getttyent): Likewise.
33471         (skip): Likewise.
33472         (value): Likewise.
33473         * misc/getusershell.c (initshells): Likewise.
33474         * misc/syslog.c (__vsyslog_chk): Likewise.
33475         * misc/ttyslot.c (ttyslot): Likewise.
33476         * nis/nis_hash.c (__nis_hash): Likewise.
33477         * posix/fnmatch_loop.c (FCT): Likewise.
33478         * posix/getconf.c (print_all): Likewise.
33479         (main): Likewise.
33480         * posix/getopt.c (exchange): Likewise.
33481         * posix/glob.c (globfree): Likewise.
33482         (prefix_array): Likewise.
33483         (__glob_pattern_type): Likewise.
33484         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33485         (NS_GET32): Likewise.
33486         (NS_PUT16): Likewise.
33487         (NS_PUT32): Likewise.
33488         * resolv/gethnamaddr.c (getanswer): Likewise.
33489         (gethostbyname2): Likewise.
33490         (gethostbyaddr): Likewise.
33491         (_gethtent): Likewise.
33492         (_gethtbyname2): Likewise.
33493         (_gethtbyaddr): Likewise.
33494         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33495         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33496         * resolv/res_init.c (__res_vinit): Likewise.
33497         (net_mask): Likewise.
33498         * resolv/res_mkquery.c (outchar): Likewise.
33499         (PRINT): Likewise.
33500         * stdio-common/printf_fp.c (outchar): Likewise.
33501         (PRINT): Likewise.
33502         * stdio-common/printf_fphex.c (outchar): Likewise.
33503         (PRINT): Likewise.
33504         * stdio-common/printf_size.c (outchar): Likewise.
33505         (PRINT): Likewise.
33506         * stdio-common/test_rdwr.c (main): Likewise.
33507         * stdio-common/tfformat.c (matches): Likewise.
33508         * stdio-common/vfprintf.c (outchar): Likewise.
33509         (printf_unknown): Likewise.
33510         (buffered_vfprintf): Likewise.
33511         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33512         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33513         (ReadFile): Likewise.
33514         * stdlib/qsort.c (SWAP): Likewise.
33515         (_quicksort): Likewise.
33516         * stdlib/setenv.c (__add_to_environ): Likewise.
33517         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33518         * stdlib/strtol_l.c (__strtol_l): Likewise.
33519         * stdlib/tst-strtod.c (main): Likewise.
33520         * stdlib/tst-strtol.c (main): Likewise.
33521         * stdlib/tst-strtoll.c (main): Likewise.
33522         * string/bits/string2.h (__strcmp_cc): Likewise.
33523         (__strcmp_cg): Likewise.
33524         (__strcspn_c1): Likewise.
33525         (__strcspn_c2): Likewise.
33526         (__strcspn_c3): Likewise.
33527         (__strspn_c1): Likewise.
33528         (__strspn_c2): Likewise.
33529         (__strspn_c3): Likewise.
33530         (__strsep_1c): Likewise.
33531         (__strsep_2c): Likewise.
33532         (__strsep_3c): Likewise.
33533         * string/memccpy.c (__memccpy): Likewise.
33534         * string/stpcpy.c (__stpcpy): Likewise.
33535         * string/strcmp.c (strcmp): Likewise.
33536         * string/strrchr.c (strrchr): Likewise.
33537         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33538         Likewise.
33539         * sysdeps/mach/hurd/getcwd.c
33540         (_hurd_canonicalize_directory_name_internal): Likewise.
33541         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33542         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33543         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33544         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33545         Likewise, in both definitions.
33546         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33547         definitions.
33548         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33549         64] (__bswap_64): Likewise.
33550         * time/test_time.c (main): Likewise.
33551         * time/tzfile.c (__tzfile_read): Likewise.
33552         (__tzfile_compute): Likewise.
33553         * time/tzset.c (__tzset_parse_tz): Likewise.
33554         (tzset_internal): Likewise.
33555         (compute_change): Likewise.
33556         * wcsmbs/wcscat.c (__wcscat): Likewise.
33557         * wcsmbs/wcschr.c (wcschr): Likewise.
33558         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33559         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33560         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33561         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33562         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33563         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33564         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33565         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33566         * wcsmbs/wmemset.c (wmemset): Likewise.
33568 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33570         * scripts/config.guess: Update to version 2013-05-16.
33571         * scripts/config.sub: Update to version 2013-04-24.
33572         * scripts/install-sh: Update to version 2011-11-20.07.
33573         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33574         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33576 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33578         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33579         * elf/sln.c: Likewise.
33580         * hurd/hurd/ioctl.h: Likewise.
33581         * hurd/hurdmalloc.c: Likewise.
33582         * hurd/xattr.c: Likewise.
33583         * include/shlib-compat.h: Likewise.
33584         * inet/ruserpass.c: Likewise.
33585         * libio/iofgets_u.c: Likewise.
33586         * libio/iofgetws_u.c: Likewise.
33587         * locale/programs/ld-identification.c: Likewise.
33588         * locale/programs/ld-time.c: Likewise.
33589         * mach/msg-destroy.c: Likewise.
33590         * nss/nss_files/files-netgrp.c: Likewise.
33591         * resolv/res_data.c: Likewise.
33592         * soft-fp/op-1.h: Likewise.
33593         * soft-fp/op-2.h: Likewise.
33594         * soft-fp/op-4.h: Likewise.
33595         * soft-fp/op-common.h: Likewise.
33596         * stdio-common/printf_fphex.c: Likewise.
33597         * stdlib/strtod_l.c: Likewise.
33598         * sunrpc/rpc/clnt.h: Likewise.
33599         * sysdeps/generic/framestate.c: Likewise.
33600         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33601         * sysdeps/i386/bsd-setjmp.S: Likewise.
33602         * sysdeps/i386/__longjmp.S: Likewise.
33603         * sysdeps/i386/setjmp.S: Likewise.
33604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33605         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33606         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33607         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33608         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33609         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33610         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33611         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33612         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33613         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33614         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33615         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33616         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33617         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33618         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33619         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33620         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33621         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33622         * sysdeps/ieee754/support.c: Likewise.
33623         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33624         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33625         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33626         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33627         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33628         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33629         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33630         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33631         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33632         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33633         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33634         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33635         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33636         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33637         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33638         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33639         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33642 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33644         * posix/transbug.c: Remove executable mode.
33646 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33648         * crypt/speeds.c: Remove trailing whitespace.
33649         * dlfcn/default.c: Likewise.
33650         * elf/ifuncdep2.c: Likewise.
33651         * elf/ifuncmain1.c: Likewise.
33652         * elf/ifuncmain1vis.c: Likewise.
33653         * elf/testobj.h: Likewise.
33654         * elf/tst-stackguard1.c: Likewise.
33655         * gmon/sys/gmon.h: Likewise.
33656         * hurd/hurdmsg.c: Likewise.
33657         * hurd/new-fd.c: Likewise.
33658         * hurd/ports-get.c: Likewise.
33659         * iconvdata/ibm1008_420.c: Likewise.
33660         * inet/tst-getni1.c: Likewise.
33661         * inet/tst-getni2.c: Likewise.
33662         * libio/ioungetc.c: Likewise.
33663         * libio/wfiledoalloc.c: Likewise.
33664         * manual/libm-err-tab.pl: Likewise.
33665         * math/w_dremf.c: Likewise.
33666         * misc/ftruncate.c: Likewise.
33667         * posix/bug-glob2.c: Likewise.
33668         * posix/tst-pcre.c: Likewise.
33669         * posix/wait4.c: Likewise.
33670         * resolv/README: Likewise.
33671         * resolv/res_debug.h: Likewise.
33672         * resolv/tst-inet_ntop.c: Likewise.
33673         * setjmp/bug269-setjmp.c: Likewise.
33674         * soft-fp/extended.h: Likewise.
33675         * soft-fp/op-1.h: Likewise.
33676         * soft-fp/op-2.h: Likewise.
33677         * soft-fp/op-4.h: Likewise.
33678         * soft-fp/op-8.h: Likewise.
33679         * soft-fp/testit.c: Likewise.
33680         * stdio-common/bug16.c: Likewise.
33681         * stdlib/random.c: Likewise.
33682         * sunrpc/rpcsvc/rquota.x: Likewise.
33683         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33684         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33685         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33686         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33687         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33688         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33689         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33690         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33691         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33692         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33693         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33695         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33696         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33697         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33699         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33700         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33701         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33704         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33705         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33706         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33707         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33708         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33709         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33712         * sysdeps/ieee754/s_lib_version.c: Likewise.
33713         * sysdeps/mach/hurd/check_fds.c: Likewise.
33714         * sysdeps/mach/hurd/getsockname.c: Likewise.
33715         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33716         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33717         * sysdeps/powerpc/bits/link.h: Likewise.
33718         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33719         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33720         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33721         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33722         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33723         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33724         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33725         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33726         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33727         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33728         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33729         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33730         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33731         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33732         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33733         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33734         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33735         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33737         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33739         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33741         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33742         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33743         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33744         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33745         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33747         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33748         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33751         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33752         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33753         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33754         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33755         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33756         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33757         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33758         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33759         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33760         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33761         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33762         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33763         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33764         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33765         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33766         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33767         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33770         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33771         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33772         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33773         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33774         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33775         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33776         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33777         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33778         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33780         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33781         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33782         * sysdeps/powerpc/sysdep.h: Likewise.
33783         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33784         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33785         * sysdeps/sh/dl-trampoline.S: Likewise.
33786         * sysdeps/sh/memset.S: Likewise.
33787         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33788         * sysdeps/sh/strlen.S: Likewise.
33789         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33790         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33791         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33792         * sysdeps/sparc/sparc32/rem.S: Likewise.
33793         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33794         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33795         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33796         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33797         * sysdeps/sparc/sparc32/urem.S: Likewise.
33798         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33799         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33800         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33801         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33802         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33803         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33804         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33805         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33806         * sysdeps/unix/bsd/times.c: Likewise.
33807         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33808         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33812         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33813         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33814         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33815         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33816         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33817         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33818         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33819         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33820         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33821         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33822         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33824         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33825         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33826         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33827         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33828         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33829         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33830         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33831         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33832         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33833         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33834         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33835         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33836         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33837         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33838         * sysdeps/x86_64/strcspn.S: Likewise.
33840 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33842         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33843         generated file.  Regenerate properly from gen-translit.pl.
33844         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33845         locale/C-translit.h.
33847 2013-06-05  Andreas Schwab  <schwab@suse.de>
33849         [BZ #15100]
33850         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33851         week as 6 instead of -1.
33852         * time/tst-strptime.c (day_tests): Add test case.
33854 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33856         * sysdeps/generic/math_private.h
33857         (libc_feholdexcept_setround_53bit): Replace with
33858         libc_feholdsetround_53bit.
33859         (libc_feupdateenv_53bit): Replace with
33860         libc_feresetround_53bit.
33861         (SET_RESTORE_ROUND_53BIT): Adjust.
33863 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33865         * string/test-strchrnul.c: Add copyright header.
33867         * posix/tst-getaddrinfo4.c: Increase test timeout.
33869 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33871         [BZ #15536]
33872         * math/libm-test.inc (MAX_EXP): Remove
33873         (MIN_EXP): Define.
33874         (ulp): Use MIN_EXP - MANT_DIG.
33875         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33877 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33879         * po/be.po: Revert last change.
33880         * po/zh_CN.po: Likewise.
33881         * po/header.pot: Likewise.
33883 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33885         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33886         link-libc-deps to empty as target-specific variable.
33887         * Makerules (link-libc-args): New variable.
33888         (libc-for-link): Likewise.
33889         (link-libc-deps): Likewise.
33890         (lib%.so): Depend on $(link-libc-deps).  Link with
33891         $(link-libc-args).
33892         (build-module): Link with $(link-libc-args).
33893         (build-module-asneeded): Likewise.
33894         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33895         list of objects.
33896         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33897         target-specific variable.
33898         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33899         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33900         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33901         libc.
33902         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33903         libc and ld.so.
33904         ($(objpfx)libpcprofile.so): Likewise.
33905         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33906         libc_nonshared.a.
33907         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33908         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33909         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33910         $(link-libc-deps).
33911         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33912         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33913         * login/Makefile ($(objpfx)libutil.so): Likewise.
33914         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33915         * math/Makefile ($(objpfx)libm.so): Likewise.
33916         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33917         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33918         variable instead of depending directly on libc.
33919         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33920         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33921         $(link-libc-deps).
33922         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33923         libc.
33924         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33925         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33926         ($(objpfx)libanl.so): Likewise.
33927         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33928         ld.so.
33929         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33930         $(link-libc-deps).
33931         * sysdeps/i386/fpu/Makefile: Remove file.
33932         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33933         ($(objpfx)libm.so): Remove dependency on ld.so.
33935 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33937         [BZ # 15553]
33938         * nis/yp_xdr.c (XDRMAXNAME): Define.
33939         (XDRMAXRECORD): Define.
33940         (xdr_domainname): Use XDRMAXNAME.
33941         (xdr_mapname): Likewise.
33942         (xdr_peername): Likewise.
33943         (xdr_keydat): Use XDRMAXRECORD.
33944         (xdr_valdat): Likewise.
33946 2013-05-30  Jeff Law  <law@redhat.com>
33948         [BZ #14256]
33949         * manual/errno.texi (ESTALE): Update to account for more than
33950         just NFS file systems.
33951         * sysdeps/gnu/errlist.c: Regenerated.
33953 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33955         [BZ #15465]
33956         * elf/Makefile (tests): Add tst-null-argv.
33957         (modules-names):  Add tst-null-argv-lib.
33958         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33959         (tst-null-argv-ENV): Set environment for tst-null-argv.
33960         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33961         (RTLD_PROGNAME): New macro.
33962         * elf/tst-null-argv.c: New test case.
33963         * elf/tst-null-argv-lib.c: Library for test case.
33964         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33965         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33966         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33967         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33968         * elf/dl-init.c (call_init): Likewise.
33969         (_dl_init): Likewise.
33970         * elf/dl-load.c (print_search_path): Likewise.
33971         (_dl_map_object): Likewise.
33972         * elf/dl-lookup.c (do_lookup_x): Likewise.
33973         (add_dependency): Likewise.
33974         (_dl_lookup_symbol_x): Likewise.
33975         (_dl_debug_bindings): Likewise.
33976         * elf/dl-open.c (_dl_show_scope): Likewise.
33977         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33978         * elf/dl-version.c (match_symbol): Likewise.
33979         (_dl_check_map_versions): Likewise.
33980         * elf/rtld.c (dl_main): Likewise.
33981         (print_unresolved): Use RTLD_PROGNAME.
33982         (print_missing_version): Likewise.
33983         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33984         (elf_machine_rela): Likewise.
33985         * sysdeps/powerpc/powerpc32/dl-machine.c
33986         (__process_machine_rela): Likewise.
33987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33988         Likewise.
33989         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33990         Likewise.
33991         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33992         Likewise.
33993         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33995         Likewise.
33996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33997         Likewise.
33998         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34000 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
34002         * po/be.po: Add descriptive title.
34003         * po/zh_CN.po: Likewise.
34004         * po/header.pot: Likewise.
34006 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
34008         * locale/programs/locarchive.c (create_archive): Inlucde fname in
34009         error message.
34010         (enlarge_archive): Likewise.
34012 2013-05-28  Ben North  <ben@redfrontdoor.org>
34014         * manual/arith.texi (frexp): It is the magnitude of the return
34015         value which lies in [0.5, 1), not the return value itself.
34017 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34021 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
34023         * stdio-common/bug26.c (main): Correct fscanf template.
34025         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34026         declare _dl_skip_args.
34028         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34029         Don't declare.
34031         * manual/platform.texi: Add missing @end deftypefun.
34033 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34035         [BZ #15529]
34036         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34037         bit of mantissa of 2^16382.
34038         * math/libm-test.inc (hypot_test_data): Add more tests.
34040         * math/libm-test.inc: Add drem and pow10 to list of tested
34041         functions.
34042         (pow10_test): New function.
34043         (drem_test): Likewise.
34044         (drem_test_tonearest): Likewise.
34045         (drem_test_towardzero): Likewise.
34046         (drem_test_downward): Likewise.
34047         (drem_test_upward): Likewise.
34048         (main): Call the new functions.
34050         * math/libm-test.inc (finite_test_data): Remove.
34051         (finite_test): Run tests from isfinite_test_data.
34052         (gamma_test_data): Remove.
34053         (gamma_test): Run tests from lgamma_test_data.
34054         * sysdeps/i386/fpu/libm-test-ulps: Update.
34055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34057 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34059         * manual/platform.texi: Add PowerPC PPR function set documentation.
34060         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34061         implementation.
34063 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34065         * math/libm-test.inc (MAX_EXP): Define.
34066         (ULPDIFF): Define.
34067         (ulp): New function.
34068         (check_float_internal): Use ULPDIFF.
34069         (cpow_test): Disable failing test.
34070         (check_ulp): Test ulp() implemetnation.
34071         (main): Call check_ulp before starting tests.
34073 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34075         * math/gen-libm-test.pl (generate_testfile): Do not handle
34076         START_DATA and END_DATA.
34077         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34078         END_DATA.
34079         (acos_tonearest_test_data): Likewise.
34080         (acos_towardzero_test_data): Likewise.
34081         (acos_downward_test_data): Likewise.
34082         (acos_upward_test_data): Likewise.
34083         (acosh_test_data): Likewise.
34084         (asin_test_data): Likewise.
34085         (asin_tonearest_test_data): Likewise.
34086         (asin_towardzero_test_data): Likewise.
34087         (asin_downward_test_data): Likewise.
34088         (asin_upward_test_data): Likewise.
34089         (asinh_test_data): Likewise.
34090         (atan_test_data): Likewise.
34091         (atanh_test_data): Likewise.
34092         (atan2_test_data): Likewise.
34093         (cabs_test_data): Likewise.
34094         (cacos_test_data): Likewise.
34095         (cacosh_test_data): Likewise.
34096         (carg_test_data): Likewise.
34097         (casin_test_data): Likewise.
34098         (casinh_test_data): Likewise.
34099         (catan_test_data): Likewise.
34100         (catanh_test_data): Likewise.
34101         (cbrt_test_data): Likewise.
34102         (ccos_test_data): Likewise.
34103         (ccosh_test_data): Likewise.
34104         (ceil_test_data): Likewise.
34105         (cexp_test_data): Likewise.
34106         (cimag_test_data): Likewise.
34107         (clog_test_data): Likewise.
34108         (clog10_test_data): Likewise.
34109         (conj_test_data): Likewise.
34110         (copysign_test_data): Likewise.
34111         (cos_test_data): Likewise.
34112         (cos_tonearest_test_data): Likewise.
34113         (cos_towardzero_test_data): Likewise.
34114         (cos_downward_test_data): Likewise.
34115         (cos_upward_test_data): Likewise.
34116         (cosh_test_data): Likewise.
34117         (cosh_tonearest_test_data): Likewise.
34118         (cosh_towardzero_test_data): Likewise.
34119         (cosh_downward_test_data): Likewise.
34120         (cosh_upward_test_data): Likewise.
34121         (cpow_test_data): Likewise.
34122         (cproj_test_data): Likewise.
34123         (creal_test_data): Likewise.
34124         (csin_test_data): Likewise.
34125         (csinh_test_data): Likewise.
34126         (csqrt_test_data): Likewise.
34127         (ctan_test_data): Likewise.
34128         (ctan_tonearest_test_data): Likewise.
34129         (ctan_towardzero_test_data): Likewise.
34130         (ctan_downward_test_data): Likewise.
34131         (ctan_upward_test_data): Likewise.
34132         (ctanh_test_data): Likewise.
34133         (ctanh_tonearest_test_data): Likewise.
34134         (ctanh_towardzero_test_data): Likewise.
34135         (ctanh_downward_test_data): Likewise.
34136         (ctanh_upward_test_data): Likewise.
34137         (erf_test_data): Likewise.
34138         (erfc_test_data): Likewise.
34139         (exp_test_data): Likewise.
34140         (exp_tonearest_test_data): Likewise.
34141         (exp_towardzero_test_data): Likewise.
34142         (exp_downward_test_data): Likewise.
34143         (exp_upward_test_data): Likewise.
34144         (exp10_test_data): Likewise.
34145         (exp2_test_data): Likewise.
34146         (expm1_test_data): Likewise.
34147         (fabs_test_data): Likewise.
34148         (fdim_test_data): Likewise.
34149         (finite_test_data): Likewise.
34150         (floor_test_data): Likewise.
34151         (fma_test_data): Likewise.
34152         (fma_towardzero_test_data): Likewise.
34153         (fma_downward_test_data): Likewise.
34154         (fma_upward_test_data): Likewise.
34155         (fmax_test_data): Likewise.
34156         (fmin_test_data): Likewise.
34157         (fmod_test_data): Likewise.
34158         (fpclassify_test_data): Likewise.
34159         (frexp_test_data): Likewise.
34160         (gamma_test_data): Likewise.
34161         (hypot_test_data): Likewise.
34162         (ilogb_test_data): Likewise.
34163         (isfinite_test_data): Likewise.
34164         (isgreater_test_data): Likewise.
34165         (isgreaterequal_test_data): Likewise.
34166         (isinf_test_data): Likewise.
34167         (isless_test_data): Likewise.
34168         (islessequal_test_data): Likewise.
34169         (islessgreater_test_data): Likewise.
34170         (isnan_test_data): Likewise.
34171         (isnormal_test_data): Likewise.
34172         (issignaling_test_data): Likewise.
34173         (isunordered_test_data): Likewise.
34174         (j0_test_data): Likewise.
34175         (j1_test_data): Likewise.
34176         (jn_test_data): Likewise.
34177         (ldexp_test_data): Likewise.
34178         (lgamma_test_data): Likewise.
34179         (lrint_test_data): Likewise.
34180         (lrint_tonearest_test_data): Likewise.
34181         (lrint_towardzero_test_data): Likewise.
34182         (lrint_downward_test_data): Likewise.
34183         (lrint_upward_test_data): Likewise.
34184         (llrint_test_data): Likewise.
34185         (llrint_tonearest_test_data): Likewise.
34186         (llrint_towardzero_test_data): Likewise.
34187         (llrint_downward_test_data): Likewise.
34188         (llrint_upward_test_data): Likewise.
34189         (log_test_data): Likewise.
34190         (log10_test_data): Likewise.
34191         (log1p_test_data): Likewise.
34192         (log2_test_data): Likewise.
34193         (logb_test_data): Likewise.
34194         (logb_downward_test_data): Likewise.
34195         (lround_test_data): Likewise.
34196         (llround_test_data): Likewise.
34197         (modf_test_data): Likewise.
34198         (nearbyint_test_data): Likewise.
34199         (nextafter_test_data): Likewise.
34200         (nexttoward_test_data): Likewise.
34201         (pow_test_data): Likewise.
34202         (pow_tonearest_test_data): Likewise.
34203         (pow_towardzero_test_data): Likewise.
34204         (pow_downward_test_data): Likewise.
34205         (pow_upward_test_data): Likewise.
34206         (remainder_test_data): Likewise.
34207         (remainder_tonearest_test_data): Likewise.
34208         (remainder_towardzero_test_data): Likewise.
34209         (remainder_downward_test_data): Likewise.
34210         (remainder_upward_test_data): Likewise.
34211         (remquo_test_data): Likewise.
34212         (rint_test_data): Likewise.
34213         (rint_tonearest_test_data): Likewise.
34214         (rint_towardzero_test_data): Likewise.
34215         (rint_downward_test_data): Likewise.
34216         (rint_upward_test_data): Likewise.
34217         (round_test_data): Likewise.
34218         (scalb_test_data): Likewise.
34219         (scalbn_test_data): Likewise.
34220         (scalbln_test_data): Likewise.
34221         (signbit_test_data): Likewise.
34222         (sin_test_data): Likewise.
34223         (sin_tonearest_test_data): Likewise.
34224         (sin_towardzero_test_data): Likewise.
34225         (sin_downward_test_data): Likewise.
34226         (sin_upward_test_data): Likewise.
34227         (sincos_test_data): Likewise.
34228         (sinh_test_data): Likewise.
34229         (sinh_tonearest_test_data): Likewise.
34230         (sinh_towardzero_test_data): Likewise.
34231         (sinh_downward_test_data): Likewise.
34232         (sinh_upward_test_data): Likewise.
34233         (sqrt_test_data): Likewise.
34234         (tan_test_data): Likewise.
34235         (tan_tonearest_test_data): Likewise.
34236         (tan_towardzero_test_data): Likewise.
34237         (tan_downward_test_data): Likewise.
34238         (tan_upward_test_data): Likewise.
34239         (tanh_test_data): Likewise.
34240         (tgamma_test_data): Likewise.
34241         (trunc_test_data): Likewise.
34242         (y0_test_data): Likewise.
34243         (y1_test_data): Likewise.
34244         (yn_test_data): Likewise.
34245         (significand_test_data): Likewise.
34247         * math/gen-libm-test.pl (@functions): Remove variable.
34248         (generate_testfile): Don't handle START and END lines.
34249         * math/libm-test.inc (START): New macro.
34250         (END): Likewise.
34251         (END_COMPLEX): Likewise.
34252         (acos_test): Use END macro without arguments.
34253         (acos_test_tonearest): Likewise.
34254         (acos_test_towardzero): Likewise.
34255         (acos_test_downward): Likewise.
34256         (acos_test_upward): Likewise.
34257         (acosh_test): Likewise.
34258         (asin_test): Likewise.
34259         (asin_test_tonearest): Likewise.
34260         (asin_test_towardzero): Likewise.
34261         (asin_test_downward): Likewise.
34262         (asin_test_upward): Likewise.
34263         (asinh_test): Likewise.
34264         (atan_test): Likewise.
34265         (atanh_test): Likewise.
34266         (atan2_test): Likewise.
34267         (cabs_test): Likewise.
34268         (cacos_test): Use END_COMPLEX macro without arguments.
34269         (cacosh_test): Likewise.
34270         (carg_test): Use END macro without arguments.
34271         (casin_test): Use END_COMPLEX macro without arguments.
34272         (casinh_test): Likewise.
34273         (catan_test): Likewise.
34274         (catanh_test): Likewise.
34275         (cbrt_test): Use END macro without arguments.
34276         (ccos_test): Use END_COMPLEX macro without arguments.
34277         (ccosh_test): Likewise.
34278         (ceil_test): Use END macro without arguments.
34279         (cexp_test): Use END_COMPLEX macro without arguments.
34280         (cimag_test): Use END macro without arguments.
34281         (clog_test): Use END_COMPLEX macro without arguments.
34282         (clog10_test): Likewise.
34283         (conj_test): Likewise.
34284         (copysign_test): Use END macro without arguments.
34285         (cos_test): Likewise.
34286         (cos_test_tonearest): Likewise.
34287         (cos_test_towardzero): Likewise.
34288         (cos_test_downward): Likewise.
34289         (cos_test_upward): Likewise.
34290         (cosh_test): Likewise.
34291         (cosh_test_tonearest): Likewise.
34292         (cosh_test_towardzero): Likewise.
34293         (cosh_test_downward): Likewise.
34294         (cosh_test_upward): Likewise.
34295         (cpow_test): Use END_COMPLEX macro without arguments.
34296         (cproj_test): Likewise.
34297         (creal_test): Use END macro without arguments.
34298         (csin_test): Use END_COMPLEX macro without arguments.
34299         (csinh_test): Likewise.
34300         (csqrt_test): Likewise.
34301         (ctan_test): Likewise.
34302         (ctan_test_tonearest): Likewise.
34303         (ctan_test_towardzero): Likewise.
34304         (ctan_test_downward): Likewise.
34305         (ctan_test_upward): Likewise.
34306         (ctanh_test): Likewise.
34307         (ctanh_test_tonearest): Likewise.
34308         (ctanh_test_towardzero): Likewise.
34309         (ctanh_test_downward): Likewise.
34310         (ctanh_test_upward): Likewise.
34311         (erf_test): Use END macro without arguments.
34312         (erfc_test): Likewise.
34313         (exp_test): Likewise.
34314         (exp_test_tonearest): Likewise.
34315         (exp_test_towardzero): Likewise.
34316         (exp_test_downward): Likewise.
34317         (exp_test_upward): Likewise.
34318         (exp10_test): Likewise.
34319         (exp2_test): Likewise.
34320         (expm1_test): Likewise.
34321         (fabs_test): Likewise.
34322         (fdim_test): Likewise.
34323         (finite_test): Likewise.
34324         (floor_test): Likewise.
34325         (fma_test): Likewise.
34326         (fma_test_towardzero): Likewise.
34327         (fma_test_downward): Likewise.
34328         (fma_test_upward): Likewise.
34329         (fmax_test): Likewise.
34330         (fmin_test): Likewise.
34331         (fmod_test): Likewise.
34332         (fpclassify_test): Likewise.
34333         (frexp_test): Likewise.
34334         (gamma_test): Likewise.
34335         (hypot_test): Likewise.
34336         (ilogb_test): Likewise.
34337         (isfinite_test): Likewise.
34338         (isgreater_test): Likewise.
34339         (isgreaterequal_test): Likewise.
34340         (isinf_test): Likewise.
34341         (isless_test): Likewise.
34342         (islessequal_test): Likewise.
34343         (islessgreater_test): Likewise.
34344         (isnan_test): Likewise.
34345         (isnormal_test): Likewise.
34346         (issignaling_test): Likewise.
34347         (isunordered_test): Likewise.
34348         (j0_test): Likewise.
34349         (j1_test): Likewise.
34350         (jn_test): Likewise.
34351         (ldexp_test): Likewise.
34352         (lgamma_test): Likewise.
34353         (lrint_test): Likewise.
34354         (lrint_test_tonearest): Likewise.
34355         (lrint_test_towardzero): Likewise.
34356         (lrint_test_downward): Likewise.
34357         (lrint_test_upward): Likewise.
34358         (llrint_test): Likewise.
34359         (llrint_test_tonearest): Likewise.
34360         (llrint_test_towardzero): Likewise.
34361         (llrint_test_downward): Likewise.
34362         (llrint_test_upward): Likewise.
34363         (log_test): Likewise.
34364         (log10_test): Likewise.
34365         (log1p_test): Likewise.
34366         (log2_test): Likewise.
34367         (logb_test): Likewise.
34368         (logb_test_downward): Likewise.
34369         (lround_test): Likewise.
34370         (llround_test): Likewise.
34371         (modf_test): Likewise.
34372         (nearbyint_test): Likewise.
34373         (nextafter_test): Likewise.
34374         (nexttoward_test): Likewise.
34375         (pow_test): Likewise.
34376         (pow_test_tonearest): Likewise.
34377         (pow_test_towardzero): Likewise.
34378         (pow_test_downward): Likewise.
34379         (pow_test_upward): Likewise.
34380         (remainder_test): Likewise.
34381         (remainder_test_tonearest): Likewise.
34382         (remainder_test_towardzero): Likewise.
34383         (remainder_test_downward): Likewise.
34384         (remainder_test_upward): Likewise.
34385         (remquo_test): Likewise.
34386         (rint_test): Likewise.
34387         (rint_test_tonearest): Likewise.
34388         (rint_test_towardzero): Likewise.
34389         (rint_test_downward): Likewise.
34390         (rint_test_upward): Likewise.
34391         (round_test): Likewise.
34392         (scalb_test): Likewise.
34393         (scalbn_test): Likewise.
34394         (scalbln_test): Likewise.
34395         (signbit_test): Likewise.
34396         (sin_test): Likewise.
34397         (sin_test_tonearest): Likewise.
34398         (sin_test_towardzero): Likewise.
34399         (sin_test_downward): Likewise.
34400         (sin_test_upward): Likewise.
34401         (sincos_test): Likewise.
34402         (sinh_test): Likewise.
34403         (sinh_test_tonearest): Likewise.
34404         (sinh_test_towardzero): Likewise.
34405         (sinh_test_downward): Likewise.
34406         (sinh_test_upward): Likewise.
34407         (sqrt_test): Likewise.
34408         (tan_test): Likewise.
34409         (tan_test_tonearest): Likewise.
34410         (tan_test_towardzero): Likewise.
34411         (tan_test_downward): Likewise.
34412         (tan_test_upward): Likewise.
34413         (tanh_test): Likewise.
34414         (tgamma_test): Likewise.
34415         (trunc_test): Likewise.
34416         (y0_test): Likewise.
34417         (y1_test): Likewise.
34418         (yn_test): Likewise.
34419         (significand_test): Likewise.
34421 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34423         [BZ #15381]
34424         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34426 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34428         [BZ #14894]
34429         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34430         __ppc_mdoio and __ppc_mdoom.
34431         * manual/platform.texi: Document new functions __ppc_yield,
34432         __ppc_mdoio and __ppc_mdoom.
34434 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34436         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34437         (main): Mention "tls" pseudo-hwcap is legacy.
34438         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34440 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34442         * math/gen-libm-test.pl (parse_args): Output only string of
34443         arguments as text for test name, not full call or descriptions of
34444         tests for extra outputs.
34445         (generate_testfile): Do not pass function name to parse_args.
34446         Generate this_func variable from START.
34447         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34448         field to arg_str.
34449         (struct test_ff_f_data): Likewise.
34450         (test_ff_f_data_nexttoward): Likewise.
34451         (struct test_fi_f_data): Likewise.
34452         (struct test_fl_f_data): Likewise.
34453         (struct test_if_f_data): Likewise.
34454         (struct test_fff_f_data): Likewise.
34455         (struct test_c_f_data): Likewise.
34456         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34457         (struct test_fF_f1_data): Likewise.
34458         (struct test_ffI_f1_data): Likewise.
34459         (struct test_c_c_data): Rename test_name field to arg_str.
34460         (struct test_cc_c_data): Likewise.
34461         (struct test_f_i_data): Likewise.
34462         (struct test_ff_i_data): Likewise.
34463         (struct test_f_l_data): Likewise.
34464         (struct test_f_L_data): Likewise.
34465         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34466         and extra2_name.
34467         (COMMON_TEST_SETUP): New macro.
34468         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34469         (COMMON_TEST_CLEANUP): Likewise.
34470         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34471         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34472         macros.
34473         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34474         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34475         macros.
34476         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34477         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34478         cleanup macros.
34479         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34480         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34481         macros.
34482         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34483         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34484         macros.
34485         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34486         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34487         cleanup macros.
34488         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34489         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34490         cleanup macros.
34491         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34492         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34493         cleanup macros.
34494         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34495         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34496         macros.
34497         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34498         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34499         macros.
34500         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34501         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34502         macros.
34503         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34504         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34505         cleanup macros.
34506         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34507         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34508         cleanup macros.
34509         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34510         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34511         macros.
34512         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34513         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34514         cleanup macros.
34515         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34516         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34517         macros.
34518         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34519         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34520         macros.
34521         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34522         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34523         cleanup macros.
34524         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34526 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34528         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34529         to _sifields.sigfault.
34530         (si_addr_lsb): Define new macro.
34531         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34532         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34533         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34535 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34537         [BZ #15441]
34538         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34539         returns -1.
34540         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34541         null return -1.
34542         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34543         loading the domain.
34545 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34547         * math/gen-libm-test.pl (parse_args): Do not include expected
34548         result in test name.
34549         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34550         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34551         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34552         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34553         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34556 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34558         * benchtests/Makefile: Sort function entries.
34560         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34561         tanh, asinh, acosh, atanh.
34562         * benchtests/acos-inputs: New file.
34563         * benchtests/acosh-inputs: New file.
34564         * benchtests/asin-inputs: New file.
34565         * benchtests/asinh-inputs: New file.
34566         * benchtests/atanh-inputs: New file.
34567         * benchtests/cosh-inputs: New file.
34568         * benchtests/log-inputs: New file.
34569         * benchtests/sinh-inputs: New file.
34570         * benchtests/tanh-inputs: New file.
34572 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34574         [BZ #15339]
34575         * posix/tst-getaddrinfo4.c: New test.
34576         * posix/Makefile (tests): Add it.
34578 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34580         [BZ #15339]
34581         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34582         when no services were used.
34583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34584         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34586 2013-05-21  Andreas Schwab  <schwab@suse.de>
34588         [BZ #15014]
34589         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34590         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34591         successful.
34592         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34593         redundant variable declarations and reallocation of buffer when
34594         parsing as IPv6 address.  Always set NSS status when called from
34595         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34596         buffer too small.  Correct computation of needed size.
34597         * nss/Makefile (tests): Add test-digits-dots.
34598         * nss/test-digits-dots.c: New test.
34600 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34602         * benchtests/Makefile: Remove instructions for adding
34603         benchmark tests.
34604         * benchtests/README: New file to explain how to execute and
34605         enhance the benchmark tests.
34607 2013-05-21  Andreas Schwab  <schwab@suse.de>
34609         [BZ #15493]
34610         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34611         * setjmp/tst-sigsetjmp.c: New test.
34613 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34615         * sysdeps/x86_64/memset.S (memset): New implementation.
34616         (__bzero): Likewise.
34617         (__memset_tail): New function.
34619 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34621         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34622         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34623         __memcpy_sse2_unaligned ifunc selection.
34624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34625         Add memcpy-sse2-unaligned.S.
34626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34627         Add: __memcpy_sse2_unaligned.
34629 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34631         [BZ #15490]
34632         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34633         math_force_eval before restoring floating-point envrionment.
34634         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34636         Likewise.
34637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34638         <math_private.h>.
34639         (__nearbyintl): Use math_force_eval before restoring
34640         floating-point environment.
34641         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34643         * math/gen-libm-test.pl (special_functions): Remove.
34644         (parse_args): Don't handle TEST_extra.  Handle functions with no
34645         return value.
34646         * math/libm-test.inc (struct test_sincos_data): Replace with
34647         struct test_fFF_11_data.
34648         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34649         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34650         (sincos_test_data): Change element type to struct
34651         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34652         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34653         RUN_TEST_LOOP_sincos.
34654         * math/README.libm-test: Don't mention special handling of
34655         individual functions.
34656         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34657         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34658         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34659         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34660         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34663         * math/gen-libm-test.pl (get_variable): Remove function.
34664         (parse_args): Don't show pointer parameters to call in test
34665         names.  Use "extra output N" in test names for extra outputs
34666         rather than naming variables.
34668 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34670         [BZ #15488]
34671         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34672         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34673         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34674         double tests.
34675         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34676         disable.
34677         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34678         check_long_double.
34680         * math/gen-libm-test.pl (@tests): Remove variable.
34681         ($count): Likewise.
34682         (new_test): Remove function.
34683         (show_exceptions): New function.
34684         (special_functions): Use show_exceptions instead of new_test.
34685         (parse_args): Likewise.
34686         (generate_testfile): Pass only function name in generated call to
34687         print_max_error or print_complex_max_error.
34688         (get_ulps): Do not handle complex tests specially.
34689         (output_test): Rename to ...
34690         (get_all_ulps_for_test): ... this.  Return a string rather than
34691         printing to a file.  Require ulps to be present.
34692         (output_ulps): Generate arrays rather than #defines.
34693         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34694         (struct ulp_data): New type.
34695         (BUILD_COMPLEX_ULP): Remove macro.
34696         (compare_ulp_data): New function.
34697         (find_ulps): Likewise.
34698         (find_test_ulps): Likewise.
34699         (find_function_ulps): Likewise.
34700         (find_complex_function_ulps): Likewise.
34701         (print_max_error): Determine allowed ulps using
34702         find_function_ulps.
34703         (print_complex_max_error): Determine allowed ulps using
34704         find_complex_function_ulps.
34705         (check_float_internal): Determine max ulps using find_test_ulps.
34706         (check_float): Do not take max_ulp parameter.  Update call to
34707         check_float_internal.
34708         (check_complex): Likewise.
34709         (check_int): Do not take max_ulp parameter.
34710         (check_long): Likewise.
34711         (check_bool): Likewise.
34712         (check_longlong): Likewise.
34713         (struct test_f_f_data): Remove max_ulp field.
34714         (struct test_ff_f_data): Likewise.
34715         (struct test_ff_f_data_nexttoward): Likewise.
34716         (struct test_fi_f_data): Likewise.
34717         (struct test_fl_f_data): Likewise.
34718         (struct test_if_f_data): Likewise.
34719         (struct test_fff_f_data): Likewise.
34720         (struct test_c_f_data): Likewise.
34721         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34722         (struct test_fF_f1_data): Likewise.
34723         (struct test_ffI_f1_data): Likewise.
34724         (struct test_c_c_data): Remove max_ulp field.
34725         (struct test_cc_c_data): Likewise.
34726         (struct test_f_i_data): Likewise.
34727         (struct test_ff_i_data): Likewise.
34728         (struct test_f_l_data): Likewise.
34729         (struct test_f_L_data): Likewise.
34730         (struct test_sincos_data): Likewise.
34731         (RUN_TEST_f_f): Do not handle ulps.
34732         (RUN_TEST_LOOP_f_f): Likewise.
34733         (RUN_TEST_2_f): Likewise.
34734         (RUN_TEST_LOOP_2_f): Likewise.
34735         (RUN_TEST_fff_f): Likewise.
34736         (RUN_TEST_LOOP_fff_f): Likewise.
34737         (RUN_TEST_c_f): Likewise.
34738         (RUN_TEST_LOOP_c_f): Likewise.
34739         (RUN_TEST_f_f1): Likewise.
34740         (RUN_TEST_LOOP_f_f1): Likewise.
34741         (RUN_TEST_fF_f1): Likewise.
34742         (RUN_TEST_LOOP_fF_f1): Likewise.
34743         (RUN_TEST_fI_f1): Likewise.
34744         (RUN_TEST_LOOP_fI_f1): Likewise.
34745         (RUN_TEST_ffI_f1): Likewise.
34746         (RUN_TEST_LOOP_ffI_f1): Likewise.
34747         (RUN_TEST_c_c): Likewise.
34748         (RUN_TEST_LOOP_c_c): Likewise.
34749         (RUN_TEST_cc_c): Likewise.
34750         (RUN_TEST_LOOP_cc_c): Likewise.
34751         (RUN_TEST_f_i): Likewise.
34752         (RUN_TEST_LOOP_f_i): Likewise.
34753         (RUN_TEST_f_i_tg): Likewise.
34754         (RUN_TEST_LOOP_f_i_tg): Likewise.
34755         (RUN_TEST_ff_i_tg): Likewise.
34756         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34757         (RUN_TEST_f_b): Likewise.
34758         (RUN_TEST_LOOP_f_b): Likewise.
34759         (RUN_TEST_f_b_tg): Likewise.
34760         (RUN_TEST_LOOP_f_b_tg): Likewise.
34761         (RUN_TEST_f_l): Likewise.
34762         (RUN_TEST_LOOP_f_l): Likewise.
34763         (RUN_TEST_f_L): Likewise.
34764         (RUN_TEST_LOOP_f_L): Likewise.
34765         (RUN_TEST_sincos): Likewise.
34766         (RUN_TEST_LOOP_sincos): Likewise.
34768 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34770         [BZ #15480]
34771         [BZ #15485]
34772         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34773         main case of finite arguments, set rounding mode to FE_TONEAREST
34774         and discard exceptions.
34775         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34776         exceptions.
34777         (remainder_tonearest_test_data): New variable.
34778         (remainder_test_tonearest): New function.
34779         (remainder_towardzero_test_data): New variable.
34780         (remainder_test_towardzero): New function.
34781         (remainder_downward_test_data): New variable.
34782         (remainder_test_downward): New function.
34783         (remainder_upward_test_data): New variable.
34784         (remainder_test_upward): New function.
34785         (main): Call the new test functions.
34787         * math/libm-test.inc (struct test_f_f1_data): Remove field
34788         extra_init.
34789         (struct test_fF_f1_data): Likewise.
34790         (struct test_ffI_f1_data): Likewise.
34791         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34792         based on value of EXTRA_EXPECTED.
34793         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34794         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34795         EXTRA_VAR based on value of EXTRA_EXPECTED.
34796         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34797         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34798         EXTRA_VAR based on value of EXTRA_EXPECTED.
34799         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34800         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34801         EXTRA_VAR based on value of EXTRA_EXPECTED.
34802         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34803         * math/gen-libm-test.pl (parse_args): Don't output initializers
34804         for extra output values.
34806         * math/libm-test.inc (check_int): Expect result to be exactly
34807         equal to expected value and do not handle ulps.
34808         (check_long): Likewise.
34809         (check_longlong): Likewise.
34811         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34812         exceptions.
34813         (cimag_test_data): Likewise.
34814         (conj_test_data): Likewise.
34815         (copysign_test_data): Likewise.
34816         (cproj_test_data): Likewise.
34817         (creal_test_data): Likewise.
34818         (fabs_test_data): Likewise.
34819         (fdim_test_data): Likewise.
34820         (finite_test_data): Likewise.
34821         (floor_test_data): Likewise.
34822         (fmax_test_data): Likewise.
34823         (fmin_test_data): Likewise.
34824         (fmod_test_data): Likewise.
34825         (fpclassify_test_data): Likewise.
34826         (frexp_test_data): Likewise.
34827         (ilogb_test_data): Likewise.
34828         (isfinite_test_data): Likewise.
34829         (isgreater_test_data): Likewise.
34830         (isgreaterequal_test_data): Likewise.
34831         (isinf_test_data): Likewise.
34832         (isless_test_data): Likewise.
34833         (islessequal_test_data): Likewise.
34834         (islessgreater_test_data): Likewise.
34835         (isnan_test_data): Likewise.
34836         (isnormal_test_data): Likewise.
34837         (issignaling_test_data): Likewise.
34838         (isunordered_test_data): Likewise.
34839         (ldexp_test_data): Likewise.
34840         (lrint_test_data): Likewise.
34841         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34842         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34843         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34844         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34845         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34846         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34847         test input.
34848         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34849         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34850         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34851         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34852         that test input.
34853         (lrint_downward_test_data): Test for "inexact" exceptions.
34854         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34855         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34856         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34857         test input.
34858         (lrint_upward_test_data): Test for "inexact" exceptions.
34859         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34860         test input.
34861         (llrint_test_data): Test for "inexact" exceptions.
34862         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34863         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34864         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34865         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34866         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34867         (llrint_downward_test_data): Test for "inexact" exceptions.
34868         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34869         (llrint_upward_test_data): Test for "inexact" exceptions.
34870         (logb_test_data): Likewise.
34871         (logb_downward_test_data): Likewise.
34872         (nextafter_test_data): Likewise.
34873         (nexttoward_test_data): Likewise.
34874         (remainder_test_data): Likewise.
34875         (remquo_test_data): Likewise.
34876         (scalbn_test_data): Likewise.
34877         (scalbln_test_data): Likewise.
34878         (signbit_test_data): Likewise.
34879         (sqrt_test_data): Likewise.
34880         (significand_test_data): Likewise.
34882 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34884         [BZ #15424]
34885         * benchtests/bench-modf.c (struct args): Mark arg0 as
34886         volatile.
34887         * scripts/bench.pl: Mark members of struct args as volatile.
34889 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34891         [BZ # 15497]
34892         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34893         negative infinity on POWER6 or lower.
34894         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34896 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34898         [BZ #15442]
34899         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34900         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34901         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34902         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34903         (_FP_SETQNAN): New macro.
34904         (_FP_SETQNAN_SEMIRAW): Likewise.
34905         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34906         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34907         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34908         (FP_EXTEND): Use _FP_FRAC_SNANP.
34909         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34910         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34911         into account.
34912         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34913         New macro.
34914         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34915         Likewise.
34917 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34919         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34920         with DIVIDE_BY_ZERO_EXCEPTION.
34921         (gamma_test_data): Likewise.
34922         (lgamma_test_data): Likewise.
34923         (log_test_data): Likewise.
34924         (log10_test_data): Likewise.
34925         (log2_test_data): Likewise.
34926         (tgamma_test_data): Likewise.
34928         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34929         (acos_test_tonearest): Likewise.
34930         (acos_test_towardzero): Likewise.
34931         (acos_test_downward): Likewise.
34932         (acos_test_upward): Likewise.
34933         (acosh_test): Likewise.
34934         (asin_test): Likewise.
34935         (asin_test_tonearest): Likewise.
34936         (asin_test_towardzero): Likewise.
34937         (asin_test_downward): Likewise.
34938         (asin_test_upward): Likewise.
34939         (asinh_test): Likewise.
34940         (atan_test): Likewise.
34941         (atanh_test): Likewise.
34942         (atan2_test): Likewise.
34943         (cabs_test): Likewise.
34944         (cacos_test): Likewise.
34945         (cacosh_test): Likewise.
34946         (casin_test): Likewise.
34947         (casinh_test): Likewise.
34948         (catan_test): Likewise.
34949         (catanh_test): Likewise.
34950         (cbrt_test): Likewise.
34951         (ccos_test): Likewise.
34952         (ccosh_test): Likewise.
34953         (cexp_test): Likewise.
34954         (clog_test): Likewise.
34955         (clog10_test): Likewise.
34956         (cos_test): Likewise.
34957         (cos_test_tonearest): Likewise.
34958         (cos_test_towardzero): Likewise.
34959         (cos_test_downward): Likewise.
34960         (cos_test_upward): Likewise.
34961         (cosh_test): Likewise.
34962         (cosh_test_tonearest): Likewise.
34963         (cosh_test_towardzero): Likewise.
34964         (cosh_test_downward): Likewise.
34965         (cosh_test_upward): Likewise.
34966         (cpow_test): Likewise.
34967         (csin_test): Likewise.
34968         (csinh_test): Likewise.
34969         (csqrt_test): Likewise.
34970         (ctan_test): Likewise.
34971         (ctan_test_tonearest): Likewise.
34972         (ctan_test_towardzero): Likewise.
34973         (ctan_test_downward): Likewise.
34974         (ctan_test_upward): Likewise.
34975         (ctanh_test): Likewise.
34976         (ctanh_test_tonearest): Likewise.
34977         (ctanh_test_towardzero): Likewise.
34978         (ctanh_test_downward): Likewise.
34979         (ctanh_test_upward): Likewise.
34980         (erf_test): Likewise.
34981         (erfc_test): Likewise.
34982         (exp_test): Likewise.
34983         (exp_test_tonearest): Likewise.
34984         (exp_test_towardzero): Likewise.
34985         (exp_test_downward): Likewise.
34986         (exp_test_upward): Likewise.
34987         (exp10_test): Likewise.
34988         (exp2_test): Likewise.
34989         (expm1_test): Likewise.
34990         (fmod_test): Likewise.
34991         (gamma_test): Likewise.
34992         (hypot_test): Likewise.
34993         (j0_test): Likewise.
34994         (j1_test): Likewise.
34995         (jn_test): Likewise.
34996         (lgamma_test): Likewise.
34997         (log_test): Likewise.
34998         (log10_test): Likewise.
34999         (log1p_test): Likewise.
35000         (log2_test): Likewise.
35001         (logb_test_downward): Likewise.
35002         (pow_test): Likewise.
35003         (pow_test_tonearest): Likewise.
35004         (pow_test_towardzero): Likewise.
35005         (pow_test_downward): Likewise.
35006         (pow_test_upward): Likewise.
35007         (remainder_test): Likewise.
35008         (remquo_test): Likewise.
35009         (sin_test): Likewise.
35010         (sin_test_tonearest): Likewise.
35011         (sin_test_towardzero): Likewise.
35012         (sin_test_downward): Likewise.
35013         (sin_test_upward): Likewise.
35014         (sincos_test): Likewise.
35015         (sinh_test): Likewise.
35016         (sinh_test_tonearest): Likewise.
35017         (sinh_test_towardzero): Likewise.
35018         (sinh_test_downward): Likewise.
35019         (sinh_test_upward): Likewise.
35020         (sqrt_test): Likewise.
35021         (tan_test): Likewise.
35022         (tan_test_tonearest): Likewise.
35023         (tan_test_towardzero): Likewise.
35024         (tan_test_downward): Likewise.
35025         (tan_test_upward): Likewise.
35026         (tanh_test): Likewise.
35027         (tgamma_test): Likewise.
35028         (y0_test): Likewise.
35029         (y1_test): Likewise.
35030         (yn_test): Likewise.
35032         * math/gen-libm-test.pl (adjust_arg): Remove function.
35033         (special_function): Remove argument $in_func.  Only handle
35034         generating output for tables of tests, not inside functions.
35035         (parse_args): Likewise.
35036         (generate_testfile): Remove variable $in_func.  Update call to
35037         parse_args.
35038         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35039         (MINUS_ZERO_INIT): Rename macro to minus_zero.
35040         (PLUS_INFTY_INIT): Rename macro to plus_infty.
35041         (MINUS_INFTY_INIT): Rename macro to minus_infty.
35042         (QNAN_VALUE_INIT): Rename macro to qnan_value.
35043         (MAX_VALUE_INIT): Rename macro to max_value.
35044         (MIN_VALUE_INIT): Rename macro to min_value.
35045         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35046         (plus_zero): Remove variable.
35047         (minus_zero): Likewise.
35048         (plus_infty): Likewise.
35049         (minus_infty): Likewise.
35050         (qnan_value): Likewise.
35051         (max_value): Likewise.
35052         (min_value): Likewise.
35053         (min_subnorm_value): Likewise.
35055 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35057         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35058         uint64_t or uint32_t usage.
35059         * crypt/sha256-block.c: Likewise.
35060         * crypt/sha256-crypt.c: Likewise.
35061         * crypt/sha256.c: Likewise.
35062         * crypt/sha512-block.c: Likewise.
35063         * crypt/sha512-crypt.c: Likewise.
35064         * crypt/sha512.c: Likewise.
35065         * debug/backtrace-tst.c: Likewise.
35066         * debug/pcprofiledump.c: Likewise.
35067         * elf/cache.c: Likewise.
35068         * elf/dl-cache.c: Likewise.
35069         * elf/dl-misc.c: Likewise.
35070         * elf/dl-profile.c: Likewise.
35071         * elf/dl-support.c: Likewise.
35072         * elf/ldconfig.c: Likewise.
35073         * elf/sprof.c: Likewise.
35074         * iconv/dummy-repertoire.c: Likewise.
35075         * iconv/iconv_charmap.c: Likewise.
35076         * iconv/skeleton.c: Likewise.
35077         * iconvdata/8bit-generic.c: Likewise.
35078         * iconvdata/cp737.h: Likewise.
35079         * iconvdata/cp775.h: Likewise.
35080         * iconvdata/ibm1008.h: Likewise.
35081         * iconvdata/ibm1025.h: Likewise.
35082         * iconvdata/ibm1046.h: Likewise.
35083         * iconvdata/ibm1097.h: Likewise.
35084         * iconvdata/ibm1112.h: Likewise.
35085         * iconvdata/ibm1122.h: Likewise.
35086         * iconvdata/ibm1123.h: Likewise.
35087         * iconvdata/ibm1124.h: Likewise.
35088         * iconvdata/ibm1129.h: Likewise.
35089         * iconvdata/ibm1130.h: Likewise.
35090         * iconvdata/ibm1132.h: Likewise.
35091         * iconvdata/ibm1133.h: Likewise.
35092         * iconvdata/ibm1137.h: Likewise.
35093         * iconvdata/ibm1140.h: Likewise.
35094         * iconvdata/ibm1141.h: Likewise.
35095         * iconvdata/ibm1142.h: Likewise.
35096         * iconvdata/ibm1143.h: Likewise.
35097         * iconvdata/ibm1144.h: Likewise.
35098         * iconvdata/ibm1145.h: Likewise.
35099         * iconvdata/ibm1146.h: Likewise.
35100         * iconvdata/ibm1147.h: Likewise.
35101         * iconvdata/ibm1148.h: Likewise.
35102         * iconvdata/ibm1149.h: Likewise.
35103         * iconvdata/ibm1153.h: Likewise.
35104         * iconvdata/ibm1154.h: Likewise.
35105         * iconvdata/ibm1155.h: Likewise.
35106         * iconvdata/ibm1156.h: Likewise.
35107         * iconvdata/ibm1157.h: Likewise.
35108         * iconvdata/ibm1158.h: Likewise.
35109         * iconvdata/ibm1160.h: Likewise.
35110         * iconvdata/ibm1161.h: Likewise.
35111         * iconvdata/ibm1162.h: Likewise.
35112         * iconvdata/ibm1163.h: Likewise.
35113         * iconvdata/ibm1164.h: Likewise.
35114         * iconvdata/ibm1166.h: Likewise.
35115         * iconvdata/ibm1167.h: Likewise.
35116         * iconvdata/ibm12712.h: Likewise.
35117         * iconvdata/ibm1390.h: Likewise.
35118         * iconvdata/ibm1399.h: Likewise.
35119         * iconvdata/ibm16804.h: Likewise.
35120         * iconvdata/ibm4517.h: Likewise.
35121         * iconvdata/ibm4899.h: Likewise.
35122         * iconvdata/ibm4909.h: Likewise.
35123         * iconvdata/ibm4971.h: Likewise.
35124         * iconvdata/ibm5347.h: Likewise.
35125         * iconvdata/ibm803.h: Likewise.
35126         * iconvdata/ibm856.h: Likewise.
35127         * iconvdata/ibm901.h: Likewise.
35128         * iconvdata/ibm902.h: Likewise.
35129         * iconvdata/ibm9030.h: Likewise.
35130         * iconvdata/ibm9066.h: Likewise.
35131         * iconvdata/ibm921.h: Likewise.
35132         * iconvdata/ibm922.h: Likewise.
35133         * iconvdata/ibm9448.h: Likewise.
35134         * iconvdata/isiri-3342.h: Likewise.
35135         * iconvdata/jis0201.h: Likewise.
35136         * include/link.h: Likewise.
35137         * include/netdb.h: Likewise.
35138         * inet/check_native.c: Likewise.
35139         * inet/check_pf.c: Likewise.
35140         * inet/getipv4sourcefilter.c: Likewise.
35141         * inet/getnameinfo.c: Likewise.
35142         * inet/getsourcefilter.c: Likewise.
35143         * inet/htonl.c: Likewise.
35144         * inet/setipv4sourcefilter.c: Likewise.
35145         * inet/setsourcefilter.c: Likewise.
35146         * inet/test-inet6_opt.c: Likewise.
35147         * inet/tst-network.c: Likewise.
35148         * locale/C-collate.c: Likewise.
35149         * locale/C-ctype.c: Likewise.
35150         * locale/C-time.c: Likewise.
35151         * locale/C-translit.h: Likewise.
35152         * locale/loadarchive.c: Likewise.
35153         * locale/programs/3level.h: Likewise.
35154         * locale/programs/charmap.c: Likewise.
35155         * locale/programs/charmap.h: Likewise.
35156         * locale/programs/ld-address.c: Likewise.
35157         * locale/programs/ld-collate.c: Likewise.
35158         * locale/programs/ld-ctype.c: Likewise.
35159         * locale/programs/ld-identification.c: Likewise.
35160         * locale/programs/ld-measurement.c: Likewise.
35161         * locale/programs/ld-messages.c: Likewise.
35162         * locale/programs/ld-monetary.c: Likewise.
35163         * locale/programs/ld-name.c: Likewise.
35164         * locale/programs/ld-numeric.c: Likewise.
35165         * locale/programs/ld-paper.c: Likewise.
35166         * locale/programs/ld-telephone.c: Likewise.
35167         * locale/programs/ld-time.c: Likewise.
35168         * locale/programs/linereader.c: Likewise.
35169         * locale/programs/locale.c: Likewise.
35170         * locale/programs/locarchive.c: Likewise.
35171         * locale/programs/locfile.h: Likewise.
35172         * locale/programs/repertoire.c: Likewise.
35173         * locale/programs/simple-hash.c: Likewise.
35174         * locale/programs/simple-hash.h: Likewise.
35175         * malloc/memusage.c: Likewise.
35176         * malloc/memusagestat.c: Likewise.
35177         * nis/nis_defaults.c: Likewise.
35178         * nis/nis_hash.c: Likewise.
35179         * nis/nis_print.c: Likewise.
35180         * nis/nis_xdr.c: Likewise.
35181         * nscd/connections.c: Likewise.
35182         * nscd/hstcache.c: Likewise.
35183         * nscd/nscd_gethst_r.c: Likewise.
35184         * nscd/nscd_getserv_r.c: Likewise.
35185         * nscd/nscd_helper.c: Likewise.
35186         * nscd/servicescache.c: Likewise.
35187         * nss/makedb.c: Likewise.
35188         * nss/nss_db/db-XXX.c: Likewise.
35189         * nss/nss_db/db-initgroups.c: Likewise.
35190         * nss/nss_db/db-netgrp.c: Likewise.
35191         * nss/nss_files/files-network.c: Likewise.
35192         * nss/nss_files/files-parse.c: Likewise.
35193         * posix/bug-regex5.c: Likewise.
35194         * posix/fnmatch_loop.c: Likewise.
35195         * posix/regcomp.c: Likewise.
35196         * posix/regexec.c: Likewise.
35197         * posix/tst-rfc3484-2.c: Likewise.
35198         * posix/tst-rfc3484-3.c: Likewise.
35199         * posix/tst-rfc3484.c: Likewise.
35200         * resolv/nss_dns/dns-canon.c: Likewise.
35201         * resolv/nss_dns/dns-network.c: Likewise.
35202         * resolv/res_init.c: Likewise.
35203         * resolv/res_mkquery.c: Likewise.
35204         * resolv/tst-aton.c: Likewise.
35205         * stdlib/cxa_atexit.c: Likewise.
35206         * stdlib/cxa_finalize.c: Likewise.
35207         * stdlib/gen-fpioconst.c: Likewise.
35208         * stdlib/strtol_l.c: Likewise.
35209         * string/tst-endian.c: Likewise.
35210         * sunrpc/auth_des.c: Likewise.
35211         * sunrpc/clnt_udp.c: Likewise.
35212         * sunrpc/rtime.c: Likewise.
35213         * sunrpc/svcauth_des.c: Likewise.
35214         * sunrpc/xdr.c: Likewise.
35215         * sunrpc/xdr_intXX_t.c: Likewise.
35216         * sunrpc/xdr_rec.c: Likewise.
35217         * sysdeps/generic/ldconfig.h: Likewise.
35218         * sysdeps/generic/ldsodefs.h: Likewise.
35219         * sysdeps/generic/memusage.h: Likewise.
35220         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35221         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35222         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35223         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35224         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35226         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35227         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35228         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35230         * sysdeps/posix/getaddrinfo.c: Likewise.
35231         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35232         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35233         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35234         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35235         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35236         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35237         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35238         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35239         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35240         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35241         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35242         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35243         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35244         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35245         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35246         * sysdeps/x86_64/dl-tls.h: Likewise.
35247         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35248         * time/alt_digit.c: Likewise.
35249         * time/era.c: Likewise.
35250         * wcsmbs/tst-c16c32-1.c: Likewise.
35252 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35254         * math/libm-test.inc (struct test_sincos_data): New type.
35255         (RUN_TEST_LOOP_sincos): New macro.
35256         (sincos_test_data): New variable.
35257         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35259 2013-05-16  Richard Henderson  <rth@redhat.com>
35261         * math/atest-exp2.c (LIMB64): New macro.
35262         (CONSTSZ): New macro.
35263         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35264         (hexdig): Move ...
35265         (print_mpn_fp): ... to function scope.
35266         (read_mpn_hex): Remove.
35267         (get_log2): Remove.
35268         (exp2_mpn): Use mp_log2.
35269         (main): Use mp_exp1.
35271 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35273         * math/libm-test.inc: Remove comment about not testing "inexact"
35274         exceptions.
35275         (INEXACT_EXCEPTION): New macro.
35276         (NO_INEXACT_EXCEPTION): Likewise.
35277         (INVALID_EXCEPTION_OK): Update value.
35278         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35279         (OVERFLOW_EXCEPTION_OK): Likewise.
35280         (UNDERFLOW_EXCEPTION_OK): Likewise.
35281         (IGNORE_ZERO_INF_SIGN): Likewise.
35282         (ERRNO_UNCHANGED): Likewise.
35283         (ERRNO_EDOM): Likewise.
35284         (ERRNO_ERANGE): Likewise.
35285         (test_exceptions): Handle testing "inexact" exceptions.
35286         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35287         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35288         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35289         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35290         INEXACT_EXCEPTION.
35291         (rint_towardzero_test_data): Likewise.
35292         (rint_downward_test_data): Likewise.
35293         (rint_upward_test_data): Likewise.
35295         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35296         with OVERFLOW_EXCEPTION.
35297         (exp10_test_data): Likewise.
35298         (exp2_test_data): Likewise.
35299         (expm1_test_data): Likewise.
35300         (lgamma_test_data): Likewise.
35301         (pow_test_data): Likewise.
35302         (tgamma_test_data): Likewise.
35303         (yn_test_data): Remove duplicate test of overflow.
35305         * math/libm-test.inc (struct test_cc_c_data): New type.
35306         (RUN_TEST_LOOP_cc_c): New macro.
35307         (cpow_test_data): New variable.
35308         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35310         * math/libm-test.inc (struct test_f_L_data): New type.
35311         (RUN_TEST_LOOP_f_L): New macro.
35312         (llrint_test_data): New variable.
35313         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35314         (llrint_tonearest_test_data): New variable.
35315         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35316         (llrint_towardzero_test_data): New variable.
35317         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35318         (llrint_downward_test_data): New variable.
35319         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35320         (llrint_upward_test_data): New variable.
35321         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35322         (llround_test_data): New variable.
35323         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35325 2013-05-13  Peter Collingbourne  <pcc@google.com>
35327         * math/atest-exp2.c (get_log2): Remove const attribute.
35329 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35331         * math/libm-test.inc (struct test_f_l_data): New type.
35332         (RUN_TEST_LOOP_f_l): New macro.
35333         (lrint_test_data): New variable.
35334         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35335         (lrint_tonearest_test_data): New variable.
35336         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35337         (lrint_towardzero_test_data): New variable.
35338         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35339         (lrint_downward_test_data): New variable.
35340         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35341         (lrint_upward_test_data): New variable.
35342         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35343         (lround_test_data): New variable.
35344         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35346 2013-05-15  Peter Collingbourne  <pcc@google.com>
35348         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35349         (EXTRACT_WORDS64) Use where appropriate.
35350         (INSERT_WORDS64) Likewise.
35352         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35353         constraints with x constraints.
35354         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35356         * malloc/obstack.c (_obstack_compat): Add initializer.
35358 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35360         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35361         si_trapno and add si_addr_lsb to _sifields.sigfault.
35362         (si_trapno): Remove macro.
35363         (si_addr_lsb): Define new macro.
35364         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35366 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35368         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35369         instead of TEST_f_l.
35370         (llrint_test_tonearest): Likewise.
35371         (llrint_test_towardzero): Likewise.
35372         (llrint_test_downward): Likewise.
35373         (llrint_test_upward): Likewise.
35374         (llround_test): Likewise.
35376         * math/libm-test.inc (struct test_f_i_data): Add comment.
35377         (RUN_TEST_LOOP_f_b): New macro.
35378         (RUN_TEST_LOOP_f_b_tg): Likewise.
35379         (finite_test_data): New variable.
35380         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35381         (isfinite_test_data): New variable.
35382         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35383         (isinf_test_data): New variable.
35384         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35385         (isnan_test_data): New variable.
35386         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35387         (isnormal_test_data): New variable.
35388         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35389         (issignaling_test_data): New variable.
35390         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35391         (signbit_test_data): New variable.
35392         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35394         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35395         with INVALID_EXCEPTION.
35396         (acosh_test_data): Likewise.
35397         (asin_test_data): Likewise.
35398         (atanh_test_data): Likewise.
35399         (fmod_test_data): Likewise.
35400         (log_test_data): Likewise.
35401         (log10_test_data): Likewise.
35402         (log2_test_data): Likewise.
35403         (pow_test_data): Likewise.
35404         (sqrt_test_data): Likewise.
35405         (y0_test_data): Likewise.
35406         (y1_test_data): Likewise.
35407         (yn_test_data): Likewise.
35409         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35410         function contents.
35412         * math/libm-test.inc (struct test_ff_i_data): New type.
35413         (RUN_TEST_LOOP_ff_i_tg): New macro.
35414         (isgreater_test_data): New variable.
35415         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35416         (isgreaterequal_test_data): New variable.
35417         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35418         (isless_test_data): New variable.
35419         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35420         (islessequal_test_data): New variable.
35421         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35422         (islessgreater_test_data): New variable.
35423         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35424         (isunordered_test_data): New variable.
35425         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35427 2013-05-14  David S. Miller  <davem@davemloft.net>
35429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35431 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35433         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35435         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35436         extra_test to int.
35437         (struct test_f_i_data): Change type of max_ulp to int.
35439         * math/libm-test.inc (test_ffI_f1_data): New type.
35440         (RUN_TEST_LOOP_ffI_f1): New macro.
35441         (remquo_test_data): New variable.
35442         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35444         * setjmp/tst-setjmp-fp.c: New file.
35445         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35446         (link-libm): New variable.
35447         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35449         * math/libm-test.inc (struct test_f_i_data): New type.
35450         (RUN_TEST_LOOP_f_i): New macro.
35451         (RUN_TEST_LOOP_f_i_tg): Likewise.
35452         (fpclassify_test_data): New variable.
35453         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35454         (ilogb_test_data): New variable.
35455         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35457         * math/libm-test.inc (scalbln_test): Correct function name in END
35458         call.
35460         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35461         (RUN_TEST_LOOP_fI_f1): New macro.
35462         (frexp_test_data): New variable.
35463         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35465         * math/libm-test.inc (struct test_fF_f1_data): New type.
35466         (RUN_TEST_LOOP_fF_f1): New macro.
35467         (modf_test_data): New variable.
35468         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35470         * math/libm-test.inc (struct test_f_f1_data): New type.
35471         (RUN_TEST_LOOP_f_f1): New macro.
35472         (gamma_test_data): New variable.
35473         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35474         (lgamma_test_data): New variable.
35475         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35477 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35480         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35481         (main): Comment "tls" pseudo-hwcap.
35483 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35485         * math/libm-test.inc (struct test_fl_f_data): New type.
35486         (RUN_TEST_LOOP_fl_f): New variable.
35487         (scalbln_test_data): New variable.
35488         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35490         * math/libm-test.inc (struct test_fi_f_data): New type.
35491         (RUN_TEST_LOOP_fi_f): New macro.
35492         (ldexp_test_data): New variable.
35493         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35494         (scalbn_test_data): New variable.
35495         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35497         * math/libm-test.inc (struct test_c_f_data): New type.
35498         (RUN_TEST_LOOP_c_f): New macro.
35499         (cabs_test_data): New variable.
35500         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35501         (carg_test_data): New variable.
35502         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35503         (cimag_test_data): New variable.
35504         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35505         (creal_test_data): New variable.
35506         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35508         * math/libm-test.inc (struct test_if_f_data): New type.
35509         (RUN_TEST_LOOP_if_f): New macro.
35510         (jn_test_data): New variable.
35511         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35512         (yn_test_data): New variable.
35513         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35515         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35517 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35519         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35520         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35522 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35524         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35525         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35526         (bench-deps): Add bench-timing.h.
35527         * benchtests-bench-skeleton.c: Include bench-timing.h.
35528         (main): Use TIMING_* macros instead of clock_gettime.
35529         * benchtests/bench-timing.h: New file.
35531         [BZ #14582]
35532         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35533         Renamed from _LIB_VERSION.
35534         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35536 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35538         * math/libm-test.inc (struct test_fff_f_data): New type.
35539         (RUN_TEST_LOOP_fff_f): New macro.
35540         (fma_test_data): New variable.
35541         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35542         (fma_towardzero_test_data): New variable.
35543         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35544         (fma_downward_test_data): New variable.
35545         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35546         (fma_upward_test_data): New variable.
35547         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35549         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35550         (struct test_c_c_data): New type.
35551         (RUN_TEST_LOOP_c_c): New macro.
35552         (cacos_test_data): New variable.
35553         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35554         (cacosh_test_data): New variable.
35555         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35556         (casin_test_data): New variable.
35557         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35558         (casinh_test_data): New variable.
35559         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35560         (catan_test_data): New variable.
35561         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35562         (catanh_test_data): New variable.
35563         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35564         (ccos_test_data): New variable.
35565         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35566         (ccosh_test_data): New variable.
35567         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35568         (cexp_test_data): New variable.
35569         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35570         (clog_test_data): New variable.
35571         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35572         (clog10_test_data): New variable.
35573         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35574         (conj_test_data): New variable.
35575         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35576         (cproj_test_data): New variable.
35577         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35578         (csin_test_data): New variable.
35579         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35580         (csinh_test_data): New variable.
35581         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35582         (csqrt_test_data): New variable.
35583         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35584         (ctan_test_data): New variable.
35585         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35586         (ctan_tonearest_test_data): New variable.
35587         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35588         (ctan_towardzero_test_data): New variable.
35589         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35590         (ctan_downward_test_data): New variable.
35591         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35592         (ctan_upward_test_data): New variable.
35593         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35594         (ctanh_test_data): New variable.
35595         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35596         (ctanh_tonearest_test_data): New variable.
35597         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35598         (ctanh_towardzero_test_data): New variable.
35599         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35600         (ctanh_downward_test_data): New variable.
35601         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35602         (ctanh_upward_test_data): New variable.
35603         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35604         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35605         of BUILD_COMPLEX.
35607         * math/libm-test.inc (struct test_ff_f_data): New type.
35608         (struct test_ff_f_data_nexttoward): Likewise.
35609         (RUN_TEST_LOOP_2_f): New macro.
35610         (RUN_TEST_LOOP_ff_f): Likewise.
35611         (atan2_test_data): New variable.
35612         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35613         (copysign_test_data): New variable.
35614         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35615         (fdim_test_data): New variable.
35616         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35617         (fmax_test_data): New variable.
35618         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35619         (fmin_test_data): New variable.
35620         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35621         (fmod_test_data): New variable.
35622         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35623         (hypot_test_data): New variable.
35624         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35625         (nextafter_test_data): New variable.
35626         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35627         (nexttoward_test_data): New variable.
35628         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35629         (pow_test_data): New variable.
35630         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35631         (pow_tonearest_test_data): New variable.
35632         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35633         (pow_towardzero_test_data): New variable.
35634         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35635         (pow_downward_test_data): New variable.
35636         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35637         (pow_upward_test_data): New variable.
35638         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35639         (remainder_test_data): New variable.
35640         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35641         (scalb_test_data): New variable.
35642         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35643         * sysdeps/i386/fpu/libm-test-ulps: Update.
35645 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35647         * math/libm-test.inc (fma_test): Use max_value instead of local
35648         variable fltmax.
35649         (nextafter_test): Likewise.
35651         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35652         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35653         (acos_downward_test_data): New variable.
35654         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35655         (acos_upward_test_data): New variable.
35656         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35657         (acosh_test_data): New variable.
35658         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35659         (asin_test_data): New variable.
35660         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35661         (asin_tonearest_test_data): New variable.
35662         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35663         (asin_towardzero_test_data): New variable.
35664         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35665         (asin_downward_test_data): New variable.
35666         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35667         (asin_upward_test_data): New variable.
35668         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35669         (asinh_test_data): New variable.
35670         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35671         (atan_test_data): New variable.
35672         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35673         (atanh_test_data): New variable.
35674         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35675         (cbrt_test_data): New variable.
35676         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35677         (ceil_test_data): New variable.
35678         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35679         (cos_test_data): New variable.
35680         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35681         (cos_tonearest_test_data): New variable.
35682         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35683         (cos_towardzero_test_data): New variable.
35684         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35685         (cos_downward_test_data): New variable.
35686         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35687         (cos_upward_test_data): New variable.
35688         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35689         (cosh_test_data): New variable.
35690         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35691         (cosh_tonearest_test_data): New variable.
35692         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35693         (cosh_towardzero_test_data): New variable.
35694         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35695         (cosh_downward_test_data): New variable.
35696         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35697         (cosh_upward_test_data): New variable.
35698         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35699         (erf_test_data): New variable.
35700         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35701         (erfc_test_data): New variable.
35702         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35703         (exp_test_data): New variable.
35704         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35705         (exp_tonearest_test_data): New variable.
35706         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35707         (exp_towardzero_test_data): New variable.
35708         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35709         (exp_downward_test_data): New variable.
35710         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35711         (exp_upward_test_data): New variable.
35712         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35713         (exp10_test_data): New variable.
35714         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35715         (exp2_test_data): New variable.
35716         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35717         (expm1_test_data): New variable.
35718         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35719         (fabs_test_data): New variable.
35720         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35721         (floor_test_data): New variable.
35722         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35723         (j0_test_data): New variable.
35724         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35725         (j1_test_data): New variable.
35726         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35727         (log_test_data): New variable.
35728         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35729         (log10_test_data): New variable.
35730         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35731         (log1p_test_data): New variable.
35732         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35733         (log2_test_data): New variable.
35734         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35735         (logb_test_data): New variable.
35736         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35737         (logb_downward_test_data): New variable.
35738         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35739         (nearbyint_test_data): New variable.
35740         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35741         (rint_test_data): New variable.
35742         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35743         (rint_tonearest_test_data): New variable.
35744         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35745         (rint_towardzero_test_data): New variable.
35746         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35747         (rint_downward_test_data): New variable.
35748         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35749         (rint_upward_test_data): New variable.
35750         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35751         (round_test_data): New variable.
35752         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35753         (sin_test_data): New variable.
35754         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35755         (sin_tonearest_test_data): New variable.
35756         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35757         (sin_towardzero_test_data): New variable.
35758         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35759         (sin_downward_test_data): New variable.
35760         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35761         (sin_upward_test_data): New variable.
35762         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35763         (sinh_test_data): New variable.
35764         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35765         (sinh_tonearest_test_data): New variable.
35766         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35767         (sinh_towardzero_test_data): New variable.
35768         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35769         (sinh_downward_test_data): New variable.
35770         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35771         (sinh_upward_test_data): New variable.
35772         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35773         (sqrt_test_data): New variable.
35774         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35775         (tan_test_data): New variable.
35776         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35777         (tan_tonearest_test_data): New variable.
35778         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35779         (tan_towardzero_test_data): New variable.
35780         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35781         (tan_downward_test_data): New variable.
35782         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35783         (tan_upward_test_data): New variable.
35784         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35785         (tanh_test_data): New variable.
35786         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35787         (tgamma_test_data): New variable.
35788         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35789         (trunc_test_data): New variable.
35790         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35791         (y0_test_data): New variable.
35792         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35793         (y1_test_data): New variable.
35794         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35795         (significand_test_data): New variable.
35796         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35798 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35800         [BZ #12387]
35801         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35803 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35805         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35807 2013-05-10  Andreas Jaeger  <aj@suse.de>
35809         [BZ #15448]
35810         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35811         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35813 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35815         * math/gen-libm-test.pl (adjust_arg): New function.
35816         (special_functions): Handle generating output in both functions
35817         and arrays.
35818         (parse_args): Likewise.
35819         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35820         $in_func argument to parse_args.
35821         * math/libm-test.inc (struct test_f_f_data): New type.
35822         (IF_ROUND_INIT_): New macro.
35823         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35824         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35825         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35826         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35827         (ROUND_RESTORE_): Likewise.
35828         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35829         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35830         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35831         (ROUND_RESTORE_FE_UPWARD): Likewise.
35832         (RUN_TEST_LOOP_f_f): New macro.
35833         (acos_test_data): New variable.
35834         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35835         (acos_tonearest_test_data): New variable.
35836         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35838 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35840         * benchtests/bench-skeleton.c (startup): Fix coding style.
35842 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35844         [BZ #6809]
35845         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35846         negative infinity argument.
35847         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35848         negative infinity argument.
35849         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35850         negative infinity argument.
35851         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35852         domain errors.
35854 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35856         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35857         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35858         * iconv/iconv_prog.c (main): Likewise.
35859         * locale/programs/charmap-dir.c (charmap_readdir)
35860         (fopen_uncompressed): Likewise.
35861         * locale/programs/locfile.c (siblings_uncached)
35862         (write_locale_data): Use lstat64 instead of lstat.
35863         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35864         stat.
35866 2013-05-10  Andreas Jaeger  <aj@suse.de>
35868         [BZ #15395]
35869         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35870         localization.
35871         Include <locale.h>.
35873 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35875         * elf/dl-close.c (_dl_close_worker): Add comments.
35877 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35879         [BZ #15359]
35880         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35881         high part of pi/2.
35882         (__ieee754_rem_pio2l): Update comments.
35884         [BZ #15429]
35885         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35886         high part of pi/2.
35887         (__ieee754_rem_pio2l): Update comments.
35889         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35890         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35892         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35893         M_PI_4l.
35895         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35896         (M_PI_34_LOG10El): Likewise.
35897         (M_PI2_LOG10El): Likewise.
35898         (M_PI4_LOG10El): Likewise.
35899         (M_PI_LOG10El): Likewise.
35901 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35905 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35907         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35908         (MINUS_ZERO_INIT): Likewise.
35909         (PLUS_INFTY_INIT): Likewise.
35910         (MINUS_INFTY_INIT): Likewise.
35911         (QNAN_VALUE_INIT): Likewise.
35912         (MAX_VALUE_INIT): Likewise.
35913         (MIN_VALUE_INIT): Likewise.
35914         (MIN_SUBNORM_VALUE_INIT): Likewise.
35915         (plus_zero): Initialize with PLUS_ZERO_INIT.
35916         (minus_zero): Initialize with MINUS_ZERO_INIT.
35917         (plus_infty): Initialize with PLUS_INFTY_INIT.
35918         (minus_infty): Initialize with MINUS_INFTY_INIT.
35919         (qnan_value): Initialize with QNAN_VALUE_INIT.
35920         (max_value): Initialize with MAX_VALUE_INIT.
35921         (min_value): Initialize with MIN_VALUE_INIT.
35922         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35924         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35925         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35926         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35927         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35929         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35930         (RUN_TEST_2_f): Likewise.
35931         (RUN_TEST_ff_f): Likewise.
35932         (RUN_TEST_fi_f): Likewise.
35933         (RUN_TEST_fl_f): Likewise.
35934         (RUN_TEST_fff_f): Likewise.
35935         (RUN_TEST_c_f): Likewise.
35936         (RUN_TEST_f_f1): Likewise.
35937         (RUN_TEST_fF_f1): Likewise.
35938         (RUN_TEST_fI_f1): Likewise.
35939         (RUN_TEST_ffI_f1): Likewise.
35940         (RUN_TEST_c_c): Likewise.
35941         (RUN_TEST_cc_c): Likewise.
35942         (RUN_TEST_f_i): Likewise.
35943         (RUN_TEST_f_i_tg): Likewise.
35944         (RUN_TEST_ff_i_tg): Likewise.
35945         (RUN_TEST_f_b): Likewise.
35946         (RUN_TEST_f_b_tg): Likewise.
35947         (RUN_TEST_f_l): Likewise.
35948         (RUN_TEST_f_L): Likewise.
35949         (RUN_TEST_sincos): Likewise.
35950         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35951         whether to show exceptions.  Do not include ");\n" in return
35952         value.
35953         (special_functions): Output call to RUN_TEST_sincos instead of
35954         check_float calls.  Update calls to new_test.
35955         (parse_args): Output call to single RUN_TEST_* macro instead of
35956         check_* calls and other assignments.  Update calls to new_test.
35958         [BZ #2546]
35959         [BZ #2560]
35960         [BZ #5159]
35961         [BZ #15426]
35962         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35963         input to result for tgamma overflow.
35964         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35965         (gamma_coeff): New variable.
35966         (NCOEFF): New macro.
35967         (gamma_positive): New function.
35968         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35969         underflow here.  Use gamma_positive instead of exp (lgamma) for
35970         other arguments.
35971         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35972         (gamma_coeff): New variable.
35973         (NCOEFF): New macro.
35974         (gammaf_positive): New function.
35975         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35976         underflow here.  Use gamma_positive instead of exp (lgamma) for
35977         other arguments.
35978         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35979         (gamma_coeff): New variable.
35980         (NCOEFF): New macro.
35981         (gammal_positive): New function.
35982         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35983         underflow here.  Use gamma_positive instead of exp (lgamma) for
35984         other arguments.
35985         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35986         (gamma_coeff): New variable.
35987         (NCOEFF): New macro.
35988         (gammal_positive): New function.
35989         (__ieee754_gammal_r): Handle positive infinity, overflow and
35990         underflow here.  Handle NaN the same as positive infinity.  Remove
35991         check x < 0xffffffff for negative integers.  Use gamma_positive
35992         instead of exp (lgamma) for other arguments.
35993         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35994         (gamma_coeff): New variable.
35995         (NCOEFF): New macro.
35996         (gammal_positive): New function.
35997         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35998         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35999         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36000         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36001         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36002         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36003         * sysdeps/generic/math_private.h (__gamma_productf): New
36004         prototype.
36005         (__gamma_product): Likewise.
36006         (__gamma_productl): Likewise.
36007         * math/Makefile (libm-calls): Add gamma_product.
36008         * math/libm-test.inc (tgamma_test): Add more tests.
36009         * sysdeps/i386/fpu/libm-test-ulps: Update.
36010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36012 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
36014         * benchtests/bench-skeleton.c (main): Preheat CPU.
36016 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
36018         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36020 2013-05-07  Roland McGrath  <roland@hack.frob.com>
36022         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36023         and _dl_skip_args_internal.
36025 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
36027         * manual/message.texi (Message Translation): Talk about users.
36028         Message to key mapping impacts design.
36030 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36032         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36034         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36036         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36037         * sysdeps/wordsize-64/glob64.c: ... here.
36039         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36040         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36041         New macros.
36043         * debug/getlogin_r_chk.c: Moved to ...
36044         * login/getlogin_r_chk.c: ... here.
36045         * debug/Makefile (routines): Move getlogin_r_chk to ...
36046         * login/Makefile (routines): ... here.
36047         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36048         * login/Versions (libc: GLIBC_2.4): ... here.
36050         * io/poll.c (__poll): Renamed from poll.
36051         Add libc_hidden_def.
36052         (poll): Define as weak alias.
36054         * debug/ptsname_r_chk.c: Moved to ...
36055         * login/ptsname_r_chk.c: ... here.
36056         * debug/Makefile (routines): Move ptsname_r_chk to ...
36057         * login/Makefile (routines): ... here.
36058         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36059         * login/Versions (libc: GLIBC_2.4): ... here.
36061         * posix/getlogin.c: Moved to ...
36062         * login/getlogin.c: ... here.
36063         * posix/getlogin_r.c: Moved to ...
36064         * login/getlogin_r.c: ... here.
36065         * posix/getlogin_r.c: Moved to ...
36066         * login/getlogin_r.c: ... here.
36067         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36068         * login/Makefile (routines): ... here.
36069         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36070         * login/Versions (libc: GLIBC_2.0): ... here.
36072         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36073         (setrlimit): Define as weak alias.
36075         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36076         Call __ names for open, ftruncate, and close.
36077         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36078         (truncate): Define as weak alias.
36080 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36082         * math/gen-libm-test.pl (parse_args): Initialize x before each
36083         test of frexp, modf and remquo.
36085         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36086         test signgam value.
36088 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36090         [BZ #15418]
36091         [BZ #15419]
36092         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36093         internal tests.
36094         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36096 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36098         * elf/dl-writev.h: New file.
36099         * elf/dl-misc.c: Include it.
36100         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36101         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36103 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36105         * math/libm-test.inc (noXFails): Remove variable.
36106         (noXPasses): Likewise.
36107         (BUILD_COMPLEX_INT): Remove macro.
36108         (print_screen): Remove xfail argument.
36109         (print_screen_max_error): Likewise.
36110         (update_stats): Likewise.
36111         (print_max_error): Likewise.  Update calls to other affected
36112         functions.
36113         (print_complex_max_error): Likewise.
36114         (test_single_exception): Update calls to print_screen.
36115         (test_single_errno): Likewise.
36116         (check_float_internal): Remove xfail argument.  Update calls to
36117         other affected functions.
36118         (check_float): Likewise.
36119         (check_complex): Likewise.
36120         (check_int): Likewise.
36121         (check_long): Likewise.
36122         (check_bool): Likewise.
36123         (check_longlong): Likewise.
36124         (main): Don't print noXFails and noXPasses.
36125         * math/gen-libm-test.pl (top level): Don't mention expected
36126         failure handling in comment.
36127         (new_test): Don't handle expected failures.
36128         (parse_args): Don't mention expected failure handling in comment.
36129         (generate_testfile): Don't handle expected failures.
36130         (parse_ulps): Likewise.
36131         (print_ulps_file): Likewise.
36132         (get_failure): Remove function.
36133         (output_test): Don't handle expected failures.
36134         * make/README.libm-test: Don't mention expected failure handling.
36136         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36137         (minus_zero): Likewise.
36138         (plus_infty): Likewise.
36139         (minus_infty): Likewise.
36140         (qnan_value): Likewise.
36141         (max_value): Likewise.
36142         (min_value): Likewise.
36143         (min_subnorm_value): Likewise.
36144         (initialize): Do not initialize those variables dynamically.
36146 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36148         * io/open.c (__open_2): Moved to ...
36149         * io/open_2.c: ... this new file.
36150         * io/open64.c (__open64_2): Moved to ...
36151         * io/open64_2.c: ... this new file.
36152         * io/openat.c (__openat_2): Moved to ...
36153         * io/openat_2.c: ... this new file.
36154         * io/openat64.c (__openat64_2): Moved to ...
36155         * io/openat64_2.c: ... this new file.
36156         * io/Makefile (routines): Add them.
36157         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36158         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36159         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36160         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36161         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36162         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36163         (__openat64): Add hidden_ver.
36164         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36165         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36167         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36168         Separately conditionalize setting of GLRO(dl_sysinfo) so
36169         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36170         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36172 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36174         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36176         definition.
36177         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36178         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36179         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36180         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36181         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36183 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36185         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36186         test signgam value.
36188         * math/libm-test.inc (hypot_test): Do not use
36189         IGNORE_ZERO_INF_SIGN.
36191 2013-05-03  Andreas Jaeger  <aj@suse.de>
36193         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36194         Linux 3.9.
36195         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36196         (PF_MAX): Adjust for VSOCK change.
36198 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36202 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36204         [BZ #15264]
36205         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36206         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36207         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36209 2013-05-02  David S. Miller  <davem@davemloft.net>
36211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36213 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36215         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36217 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36219         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36221 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36223         [BZ #14952]
36224         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36225         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36226         Use __attribute__ ((__gnu_inline__)).
36227         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36228         Don't use __attribute__ ((__gnu_inline__)).
36230 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36232         [BZ #15423]
36233         * math/s_catan.c (__catan): Handle small real or imaginary part of
36234         input specially to avoid spurious underflow.
36235         * math/s_catanf.c (__catanf): Likewise.
36236         * math/s_catanh.c (__catanh): Likewise.
36237         * math/s_catanhf.c (__catanhf): Likewise.
36238         * math/s_catanhl.c (__catanhl): Likewise.
36239         * math/s_catanl.c (__catanl): Likewise.
36240         * math/libm-test.inc (catan_test): Add more tests.
36241         (catanh_test): Likewise.
36242         * sysdeps/i386/fpu/libm-test-ulps: Update.
36243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36245 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36249 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36251         [BZ #15416]
36252         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36253         accurately for denominator in atan2.
36254         * math/s_catanf.c (__catanf): Likewise.
36255         * math/s_catanh.c (__catanh): Likewise.
36256         * math/s_catanhf.c (__catanhf): Likewise.
36257         * math/s_catanhl.c (__catanhl): Likewise.
36258         * math/s_catanl.c (__catanl): Likewise.
36259         * math/libm-test.inc (catan_test): Add more tests.
36260         (catanh_test): Likewise.
36261         * sysdeps/i386/fpu/libm-test-ulps: Update.
36262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36264 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36266         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36268         * benchtests/Makefile (bench): Remove slow benchmarks.
36269         * benchtests/atan-inputs: Add slow benchmark inputs.
36270         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36271         (BENCH_FUNC): Accept variant offset.
36272         (VARIANT): Define.
36273         * benchtests/bench-skeleton.c (main): Run benchmark for each
36274         variant.
36275         * benchtests/cos-inputs: Add slow benchmark inputs.
36276         * benchtests/exp-inputs: Likewise.
36277         * benchtests/pow-inputs: Likewise.
36278         * benchtests/sin-inputs: Likewise.
36279         * benchtests/slowatan-inputs: Remove.
36280         * benchtests/slowatan.c: Remove.
36281         * benchtests/slowcos-inputs: Remove.
36282         * benchtests/slowcos.c: Remove.
36283         * benchtests/slowexp-inputs: Remove.
36284         * benchtests/slowexp.c: Remove.
36285         * benchtests/slowpow-inputs: Remove.
36286         * benchtests/slowpow.c: Remove.
36287         * benchtests/slowsin-inputs: Remove.
36288         * benchtests/slowsin.c: Remove.
36289         * benchtests/slowtan-inputs: Remove.
36290         * benchtests/slowtan.c: Remove.
36291         * benchtests/tan-inputs: Add slow benchmark inputs.
36292         * scripts/bench.pl: Parse comments and directives.
36294         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36295         in CPPFLAGS.
36296         ($(objpfx)bench-%.c): Remove *-ITER.
36297         * benchtests/bench-modf.c: Remove definition of ITER.
36298         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36299         (main): Loop for DURATION seconds instead of fixed number of
36300         iterations.
36301         * scripts/bench.pl: Don't expect iterations in parameters.
36303 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36305         * io/fchdir.c (__fchdir): Renamed from fchdir.
36306         (fchdir): Define as weak alias.
36308 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36310         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36311         (ERRNO_EDOM): Likewise.
36312         (ERRNO_ERANGE): Likewise.
36313         (noErrnoTests): New variable.
36314         (init_max_error): Set errno to 0.
36315         (test_single_errno): New function.
36316         (test_errno): Likewise.
36317         (check_float_internal): Call test_errno.  Set errno to 0.
36318         (check_complex): Refer to errno tests in comment.
36319         (check_int): Call test_errno.  Set errno to 0.
36320         (check_long): Likewise.
36321         (check_bool): Likewise.
36322         (check_longlong): Likewise.
36323         (cos_test): Use ERRNO_* flags for errno tests instead of
36324         check_int.
36325         (expm1_test): Likewise.
36326         (fmod_test): Likewise.
36327         (ilogb_test): Likewise.
36328         (lgamma_test): Likewise.
36329         (pow_test): Likewise.
36330         (remainder_test): Likewise.
36331         (sin_test): Likewise.
36332         (tan_test): Likewise.
36333         (yn_test): Likewise.
36334         (initialize): Set errno to 0.
36335         (main): Print number of errno tests.
36336         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36338 2013-04-29  Andreas Jaeger  <aj@suse.de>
36340         [BZ #15084]
36341         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36342         and RES_USEVC.
36344         [BZ #15085]
36345         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36346         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36347         unimplemented.
36349         [BZ #15380]
36350         * stdlib/random.c (__initstate): Return NULL if
36351         __initstate fails.
36353         [BZ #15086]
36354         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36355         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36356         RES_SNGLKUPREOP.
36358 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36362 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36364         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36365         of individual tests.
36366         (casin_test): Likewise.
36367         (casinh_test): Likewise.
36369 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36371         [BZ #15409]
36372         * math/s_catan.c (__catan): Handle arguments with large real or
36373         imaginary part separately without squaring.
36374         * math/s_catanf.c (__catanf): Likewise.
36375         * math/s_catanh.c (__catanh): Likewise.
36376         * math/s_catanhf.c (__catanhf): Likewise.
36377         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36378         and redefine.
36379         (__catanhl): Handle arguments with large real or imaginary part
36380         separately without squaring.
36381         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36382         and redefine.
36383         (__catanl): Handle arguments with large real or imaginary part
36384         separately without squaring.
36385         * math/libm-test.inc (catan_test): Add more tests.
36386         (catanh_test): Likewise.
36387         * sysdeps/i386/fpu/libm-test-ulps: Update.
36388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36390 2013-04-27  Andreas Jaeger  <aj@suse.de>
36392         [BZ #15007]
36393         * stdlib/stdlib.h: Update guards for qecvt.
36394         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36395         <stdlib.h>.
36397 2013-04-27  Allan McRae  <allan@archlinux.org>
36399         * sysdeps/i386/fpu/libm-test-ulps: Update.
36401 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36403         [BZ #15406]
36404         * math/s_catan.c: Include <float.h>.
36405         (__catan): Ensure underflow exception occurs for underflowed
36406         result.
36407         * math/s_catanf.c: Include <float.h>.
36408         (__catanf): Ensure underflow exception occurs for underflowed
36409         result.
36410         * math/s_catanh.c: Include <float.h>.
36411         (__catanh): Ensure underflow exception occurs for underflowed
36412         result.
36413         * math/s_catanhf.c: Include <float.h>.
36414         (__catanhf): Ensure underflow exception occurs for underflowed
36415         result.
36416         * math/s_catanhl.c: Include <float.h>.
36417         (__catanhl): Ensure underflow exception occurs for underflowed
36418         result.
36419         * math/s_catanl.c: Include <float.h>.
36420         (__catanl): Ensure underflow exception occurs for underflowed
36421         result.
36422         * math/libm-test.inc (catan_test): Add more tests.
36423         (catanh_test): Likewise.
36425         [BZ #15405]
36426         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36427         underflowed result.
36428         * math/s_ccoshf.c (__ccoshf): Likewise.
36429         * math/s_ccoshl.c (__ccoshl): Likewise.
36430         * math/s_csin.c (__csin): Likewise.
36431         * math/s_csinf.c (__csinf): Likewise.
36432         * math/s_csinh.c (__csinh): Likewise.
36433         * math/s_csinhf.c (__csinhf): Likewise.
36434         * math/s_csinhl.c (__csinhl): Likewise.
36435         * math/s_csinl.c (__csinl): Likewise.
36436         * math/libm-test.inc (ccos_test): Add more tests.
36437         (ccosh_test): Likewise.
36438         (csin_test): Likewise.
36439         (csinh_test): Likewise.
36441 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36443         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36444         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36445         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36446         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36447         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36448         powerpc/power5+/fpu folders.
36449         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36452 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36456 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36458         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36459         additions to variable.
36460         [$(config-machine) = x86_64] (modules-names): Likewise.
36461         ($(objpfx)tst-audit3): Remove dependency.
36462         ($(objpfx)tst-audit3.out): Likewise.
36463         ($(objpfx)tst-audit4): Likewise.
36464         ($(objpfx)tst-audit4.out): Likewise.
36465         ($(objpfx)tst-audit5): Likewise.
36466         ($(objpfx)tst-audit5.out): Likewise.
36467         ($(objpfx)tst-audit6): Likewise.
36468         ($(objpfx)tst-audit6.out): Likewise.
36469         ($(objpfx)tst-audit7): Likewise.
36470         ($(objpfx)tst-audit7.out): Likewise.
36471         (tst-audit3-ENV): Remove variable.
36472         (tst-audit4-ENV): Likewise.
36473         (tst-audit5-ENV): Likewise.
36474         (tst-audit6-ENV): Likewise.
36475         (tst-audit7-ENV): Likewise.
36476         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36477         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36478         addition to variable.
36479         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36480         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36481         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36484         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36485         tst-audit3, tst-audit4 and tst-audit5.
36486         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36487         tst-audit6 and tst-audit7.
36488         [$(subdir) = elf] (modules-names): Add audit modules for those
36489         tests.
36490         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36491         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36492         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36493         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36494         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36495         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36496         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36497         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36498         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36499         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36500         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36501         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36502         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36503         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36504         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36505         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36506         Likewise.
36507         [$(subdir) = elf && $(config-cflags-avx) = yes]
36508         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36509         [$(subdir) = elf && $(config-cflags-avx) = yes]
36510         (CFLAGS-tst-auditmod4a.c): Likewise.
36511         [$(subdir) = elf && $(config-cflags-avx) = yes]
36512         (CFLAGS-tst-auditmod4b.c): Likewise.
36513         [$(subdir) = elf && $(config-cflags-avx) = yes]
36514         (CFLAGS-tst-auditmod6b.c): Likewise.
36515         [$(subdir) = elf && $(config-cflags-avx) = yes]
36516         (CFLAGS-tst-auditmod6c.c): Likewise.
36517         [$(subdir) = elf && $(config-cflags-avx) = yes]
36518         (CFLAGS-tst-auditmod7b.c): Likewise.
36519         * elf/tst-audit3.c: Move to ...
36520         * sysdeps/x86_64/tst-audit3.c: ... here.
36521         * elf/tst-audit4.c: Move to ...
36522         * sysdeps/x86_64/tst-audit4.c: ... here.
36523         * elf/tst-audit5.c: Move to ...
36524         * sysdeps/x86_64/tst-audit5.c: ... here.
36525         * elf/tst-audit6.c: Move to ...
36526         * sysdeps/x86_64/tst-audit6.c: ... here.
36527         * elf/tst-audit7.c: Move to ...
36528         * sysdeps/x86_64/tst-audit7.c: ... here.
36529         * elf/tst-auditmod3a.c: Move to ...
36530         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36531         * elf/tst-auditmod3b.c: Move to ...
36532         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36533         * elf/tst-auditmod4a.c: Move to ...
36534         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36535         * elf/tst-auditmod4b.c: Move to ...
36536         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36537         * elf/tst-auditmod5a.c: Move to ...
36538         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36539         * elf/tst-auditmod5b.c: Move to ...
36540         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36541         * elf/tst-auditmod6a.c: Move to ...
36542         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36543         * elf/tst-auditmod6b.c: Move to ...
36544         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36545         * elf/tst-auditmod6c.c: Move to ...
36546         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36547         * elf/tst-auditmod7a.c: Move to ...
36548         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36549         * elf/tst-auditmod7b.c: Move to ...
36550         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36552 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36554         [BZ #15366]
36555         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36556         define unconditionally.
36557         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36558         define unconditionally.
36559         (INT8_C, INT16_C, etc.): Likewise.
36561 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36563         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36564         __ehdr_start with hidden visibility.
36566         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36568 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36570         * math/libm-test.inc (cos_test): Use accurate hex constants.
36571         (sincost_test): Likewise.
36573 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36575         * math/libm-test.inc (catan_test): Add more tests.
36576         (catanh_test): Likewise.
36578         * math/s_catanf.c (__catanf): Use suffixed floating-point
36579         constants.
36580         * math/s_catanhf.c (__catanhf): Likewise.
36581         * math/s_catanhl.c (__catanhl): Likewise.
36582         * math/s_catanl.c (__catanl): Likewise.
36584         [BZ #15394]
36585         * math/s_catan.c (__catan): Calculate imaginary part of result
36586         with log1p not log unless computing log of number close to 0.
36587         * math/s_catanf.c (__catanf): Likewise.
36588         * math/s_catanl.c (__catanl): Likewise.
36589         * math/s_catanh.c (__catanh): Calculate real part of result with
36590         log1p not log unless computing log of number close to 0.
36591         * math/s_catanhf.c (__catanhf): Likewise.
36592         * math/s_catanhl.c (__catanhl): Likewise.
36593         * math/libm-test.inc (catan_test): Add more tests.
36594         (catanh_test): Likewise.
36595         * sysdeps/i386/fpu/libm-test-ulps: Update.
36596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36598 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36600         * benchtests/Makefile: Mention files in which fast and slow
36601         paths of math functions are implemented.
36603 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36605         * sysdeps/posix/timespec_get.c: New file.
36607 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36609         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36610         POWER.
36611         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36612         for POWER.
36613         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36614         powerpc/power5/fpu folders.
36615         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36616         * benchtests/Makefile: Add modf testcase.
36617         * benchtests/bench-modf.c: New file: Benchmark test for mo
36619 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36621         [BZ #14888]
36622         * time/Makefile (tests): Add tst-strptime-whitespace.
36623         * time/strptime_l.c (get_number): Use ISSPACE.
36624         (__strptime_internal): Likewise.
36625         * time/tst-strptime-whitespace.c: New test case.
36627 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36629         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36630         member.
36631         (_nss_files_init): Set it here.
36633 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36635         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36636         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36637         unsigned.
36639 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36641         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36643 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36645         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36646         size just once.
36648 2013-04-21  David S. Miller  <davem@davemloft.net>
36650         * po/ru.po: Update Russion translation from translation project.
36652 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36654         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36655         and setfsgid.
36657 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36659         * configure.in: Remove i386 configure warning. Remove i386 case.
36660         * configure: Regenerate.
36661         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36662         Add example to error message.
36663         * sysdeps/i386/configure: Regenerate.
36665 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36667         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36668         slowtan.
36669         * benchtests/cos-inputs: New file.
36670         * benchtests/slowcos-inputs: New file.
36671         * benchtests/slowcos.c: New file.
36672         * benchtests/slowtan-inputs: New file.
36673         * benchtests/slowtan.c: New file.
36674         * benchtests/tan-inputs: New file.
36676 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36678         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36679         considered kosher.
36681 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36683         * benchtests/Makefile: Include cppflags-iterator.mk to add
36684         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36686         * Makefile.in (bench-clean): New target.
36687         * benchtests/Makefile (bench-clean): Likewise.
36689 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36691         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36693 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36695         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36697 2013-04-15  Andreas Schwab  <schwab@suse.de>
36699         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36700         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36701         * nscd/pwdcache.c (cache_addpw): Likewise.
36702         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36703         more than recsize.
36705 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36707         * benchtests/Makefile (bench): Write all output to
36708         bench-out.tmp together.
36710 2013-04-15  Andreas Schwab  <schwab@suse.de>
36712         * nscd/nscd.c (main): Don't fork again after closing files.
36714 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36716         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36718         * benchtests/Rules (bench-deps): Collect dependencies into a
36719         single variable.  Add Makefile to dependencies.
36720         ($(objpfx)bench-%.c): Depend on bench-deps.
36722 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36723             Xavier Roche  <roche+kml2@exalead.com>
36725         [BZ #15361]
36726         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36727         just that it's a file descriptor.
36728         * manual/llio.texi (Synchronizing AIO Operations): Update description
36729         for EBADF error from aio_fsync.
36731 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36733         * Rules (bench): Move target definition...
36734         * benchtests/Makefile: ... here.
36736 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36738         * math/libm-test.inc (cos_test): Fix PI/2 test.
36739         (sincos_test): Likewise.
36740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36741         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36743 2013-04-11  Andreas Schwab  <schwab@suse.de>
36745         [BZ #13988]
36746         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36747         accept exponent character only when digits were seen.
36748         * stdio-common/Makefile (tests): Add bug26.
36749         * stdio-common/bug26.c: New file.
36751         [BZ #14293]
36752         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36753         non-freeable.
36755 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36757         * Makeconfig (rtld-prefix): Define built linker prefix.
36758         * Rules (run-bench): Use it.
36759         * math/Makefile (run-regen-ulps): Likewise.
36761         * Rules (bench): Remove eval.
36763 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36764             Roland McGrath  <roland@hack.frob.com>
36765             Ondrej Bilka  <neleai@seznam.cz>
36767         [BZ #15346]
36768         * time/getdate.c: Include ctype.h and alloca.h.
36769         (__getdate_r): Trim leading and trailing spaces of input.
36770         * time/tst-getdate.c (tests): Add tests with leading and
36771         trailing spaces.
36773 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36775         [BZ #14280]
36776         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36777         when computing value.
36779 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36781         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36782         Use testrun.sh to run libm tests.
36784         [BZ #15309]
36785         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36787 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36789         [BZ #15264]
36790         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36792 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36794         * Makefile.in (regen-ulps): New target.
36795         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36796         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36797         [ifneq (no,$(PERL)] (regen-ulps): New target.
36798         [ifeq (no,$(PERL)] (regen-ulps): New target.
36799         * math/libm-test.inc (ulps_file_name): Define.
36800         (output_dir): New variable.
36801         (options): Add "output-dir" option.
36802         (parse_opt): Handle 'o' case.
36803         (main): If output_dir is non-NULL use it as a prefix
36804         otherwise use "".
36805         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36807 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36809         [BZ #10060, #10062]
36810         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36811         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36812         fail configure if __sync_val_compare_and_swap is not inlined.
36813         * sysdeps/i386/configure: Regenerate.
36814         * configure.in: Build for i686 when configured for i386.
36815         * configure: Regenerate.
36816         * README: Remove i386 reference.
36818 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36820         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36821         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36823 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36825         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36826         (lmsnanval): New variables.
36827         (F): Add conversion tests.
36828         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36829         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36831         * stdio-common/tstdiomisc.c (F): Properly collect individual
36832         tests' results.
36834         [BZ #14686, #15336]
36835         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36836         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36837         Instead, use input NaN values or generate a qNaN by arithmetic
36838         operation.  Also fix bugs to comply with the standard.
36839         * math/libm-test.inc (remainder_test): Add more tests.
36841         [BZ #15335, #15342]
36842         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36844         input NaN values or generate a qNaN by arithmetic operation.
36846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36847         unreachable code.
36849         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36850         definitions.
36852 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36854         [BZ #14478]
36855         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36856         underflowed result.
36857         * math/s_cexpf.c (__cexpf): Likewise.
36858         * math/s_cexpl.c (__cexpl): Likewise.
36859         * math/libm-test.inc (cexp_test): Add more tests.
36861 2013-04-03  Andreas Schwab  <schwab@suse.de>
36863         [BZ #15330]
36864         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36865         order arrays from heap if bigger than alloca cutoff.
36867 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36869         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36870         (SNAN_TESTS_double): Refer to GCC PR56831.
36871         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36872         GCC PR56828.
36874 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36876         * Rules (bench): Move bench.out after the run is complete.
36878         * Rules (bench): Echo currently running benchmark.
36880         * benchtests/Makefile (bench): Add atan and slowatan.
36881         * benchtests/atan-inputs: New file.
36882         * benchtests/slowatan-inputs: New file.
36883         * benchtests/slowatan.c: New file.
36885         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36887         its value.
36889         [BZ #15305]
36890         * sysdeps/unix/sysv/linux/kernel-features.h
36891         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36892         __ASSUME_XFS_RESTRICTED_CHOWN.
36893         * sysdeps/unix/sysv/linux/pathconf.c
36894         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36895         Save and restore errno.
36897 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36899         [BZ #15327]
36900         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36901         arguments using __kernel_casinh.
36902         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36903         arguments using __kernel_casinhf.
36904         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36905         arguments using __kernel_casinhl.
36906         * math/libm-test.inc (cacosh_test): Add more tests.
36907         * sysdeps/i386/fpu/libm-test-ulps: Update.
36908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36910 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36912         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36915         * bench/Makefile (bench): Add sin and slowsin.
36916         * benchtests/sin-inputs: New file.
36917         * benchtests/slowsin-inputs: New file.
36918         * benchtests/slowsin.c: New file.
36920         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36921         (bench): Add slowexp and slowpow.
36922         (exp-ITER): Increase iterations.
36923         (pow-ITER): Likewise.
36924         * benchtests/exp-inputs: Change input.
36925         * benchtests/pow-inputs: Likewise.
36926         * benchtests/slowexp-inputs: New file.
36927         * benchtests/slowexp.c: New file.
36928         * benchtests/slowpow-inputs: New file.
36929         * benchtests/slowpow.c: New file.
36931 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36933         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36934         instructions.
36935         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36936         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36937         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36938         * benchtests/Makefile: Add rint benchtest.
36939         * benchtests/rint-inputs: Input for rint benchtest.
36941 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36943         * Versions.def (libm): Add GLIBC_2.18.
36944         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36945         hidden libm prototypes.
36946         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36947         * math/Makefile (libm-calls): Add s_issignaling.
36948         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36949         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36950         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36951         declaration.
36952         * math/math.h [__USE_GNU] (issignaling): New macro.
36953         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36954         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36955         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36956         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36957         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36958         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36959         * manual/arith.texi (issignaling): New section.
36960         * manual/libm-err-tab.pl (@all_functions): Update comment.
36961         * math/gen-libm-test.pl (parse_args): Apply special handling for
36962         issignaling.
36963         * math/libm-test.inc (print_float, issignaling_test): New
36964         functions.
36965         (check_float_internal): Add issignaling checks.
36966         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36967         default definition.
36968         * sysdeps/powerpc/math-tests.h: New file.
36969         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36970         tests.
36971         * math/test-snan.c (TEST_FUNC): Likewise.
36973 2013-03-30  David S. Miller  <davem@davemloft.net>
36975         * po/de.po: Update from translation team.
36977 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36979         [BZ #10357]
36980         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36981         imaginary part less than 1.0 and real part less than 0.5
36982         specially.
36983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36985         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36986         (cacos_test): Add more tests.
36987         (casin_test): Likewise.
36988         (casinh_test): Likewise.
36989         * sysdeps/i386/fpu/libm-test-ulps: Update.
36990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36992 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36994         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36995         ONE with its value.
36997         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36998         (__pow_mp): Replace ONE and MONE with their values.
36999         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37001         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37002         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37003         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37004         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37006         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37008         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37009         (__pow_mp): Replace ZERO and MZERO with their values.
37010         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37012         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37014         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37015         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37016         (__sqr): Likewise.
37018         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37020         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37022 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37024         * include/stdlib.h [!SHARED] (__call_tls_dtors):
37025         Declare with __attribute__ ((weak)).
37026         * stdlib/exit.c (__libc_atexit) [!SHARED]:
37027         Call __call_tls_dtors only if it's not NULL.
37029 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37031         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37032         didn't do it already, then set _dl_phdr and _dl_phnum based on the
37033         magic __ehdr_start linker symbol if it's defined.
37034         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37035         them up here if it was already done.
37037         * elf/dl-support.c (_dl_phdr): Make pointer to const.
37038         (_dl_aux_init): Use const in cast when setting it.
37039         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37040         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37041         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37043         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37044         Declare them here.
37045         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37046         * csu/libc-tls.c: Nor here.
37047         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37049         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37050         (__libc_message): Never call vsyslog.
37052 2013-03-28  Alan Modra  <amodra@gmail.com>
37054         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37055         Define as empty.
37056         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37057         Likewise.
37059 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37061         [BZ #15214]
37062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37063         underflow.
37064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37066 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37068         [BZ #15304]
37069         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37070         Don't add gid passed as argument.
37072         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37074 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37076         [BZ #15307]
37077         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37078         imaginary part between 1.0 and 1.5 and real part less than 0.5
37079         specially.
37080         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37081         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37082         * math/libm-test.inc (cacos_test): Add more tests.
37083         (casin_test): Likewise.
37084         (casinh_test): Likewise.
37085         * sysdeps/i386/fpu/libm-test-ulps: Update.
37086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37088 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37090         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37091         constants.
37092         (norm): Likewise.
37093         (denorm): Likewise.
37094         (__dbl_mp): Likewise.
37095         (add_magnitudes): Likewise.
37096         (sub_magnitudes): Likewise.
37097         (__add): Likewise.
37098         (__sub): Likewise.
37099         (__mul): Likewise.
37100         (__sqr): Likewise.
37101         (__inv): Likewise.
37102         (__dvd): Likewise.
37104         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37105         commented code.
37106         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37107         (__dubcos): Likewise.
37108         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37109         (__ieee754_acos): Likewise.
37110         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37111         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37112         (__exp1): Likewise.
37113         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37114         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37115         (log1): Likewise.
37116         (my_log2): Likewise.
37117         (checkint): Likewise.
37118         * sysdeps/ieee754/dbl-64/e_remainder.c
37119         (__ieee754_remainder): Likewise.
37120         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37122         (bsloww): Likewise.
37123         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37125         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37126         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37127         MANTISSA_STORE_T to store computations on mantissa.  Use
37128         macros for rounding and division.
37129         (denorm): Likewise.
37130         (__dbl_mp): Likewise.
37131         (add_magnitudes): Likewise.
37132         (sub_magnitudes): Likewise.
37133         (__mul): Likewise.
37134         (__sqr): Likewise.
37135         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37136         powers of two in terms of TWOPOW macro.
37137         (mp_no): Make type of mantissa as MANTISSA_T.
37138         [!RADIXI]: Define RADIXI.
37139         [!TWO52]: Define TWO52.
37140         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37142 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37144         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37145         llroundl symbol when building for PPC32.
37147 2013-03-24  Mark H Weaver  <mhw@netris.org>
37149         * manual/arith.texi (Normalization Functions): Fix prototypes for
37150         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37152 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37154         [BZ #13889]
37155         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37156         high value to check if expl overflow.
37157         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37158         to check for underflow and overflow.
37159         * math/libm-test.inc: Add exp test.
37161 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37163         [BZ #11120]
37164         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37165         with NOT_IN_libc.
37167 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37169         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37170         symbol.
37172 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37174         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37175         wrap blocks consisting of several statements.
37177         * sysdeps/generic/math-tests.h: New file.
37178         * sysdeps/i386/fpu/math-tests.h: Likewise.
37179         * math/test-snan.c: Include it.
37180         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37182 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37184         [BZ #15285]
37185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37186         (__ieee754_j0l): Do not improve calculations using cos of twice
37187         input for inputs above LDBL_MAX / 2.0L.
37188         (__ieee754_y0l): Likewise.
37189         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37190         (__ieee754_j1l): Do not improve calculations using cos of twice
37191         input for inputs above LDBL_MAX / 2.0L.
37192         (__ieee754_y1l): Likewise.
37193         * math/libm-test.inc (j0_test): Add another test.
37194         (j1_test): Likewise.
37195         (y0_test): Likewise.
37196         (y1_test): Likewise.
37197         * sysdeps/i386/fpu/libm-test-ulps: Update.
37199 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37201         * Rules ($(objpfx)bench-%.c): Include code from a C source
37202         file.
37204 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37206         [BZ #15287]
37207         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37208         imaginary part 1.0 and real part less than 0.5 specially.
37209         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37210         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37211         * math/libm-test.inc (cacos_test): Add more tests.
37212         (casin_test): Likewise.
37213         (casinh_test): Likewise.
37214         * sysdeps/i386/fpu/libm-test-ulps: Update.
37215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37217 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37220         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37222 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37224         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37225         * config.make.in (config-cflags-sse4): Remove variable.
37226         (config-cflags-avx): Likewise.
37227         (config-cflags-sse2avx): Likewise.
37228         (config-cflags-novzeroupper): Likewise.
37229         (config-asflags-i686): Likewise.
37230         (have-mfma4): Likewise.
37231         (have-as-vis3): Likewise.
37232         (MIG): Likewise.
37233         * configure.in (MIG): Do not AC_SUBST.
37234         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37235         (libc_cv_cc_sse4): Do not AC_SUBST.
37236         (libc_cv_cc_avx): Likewise.
37237         (libc_cv_cc_sse2avx): Likewise.
37238         (libc_cv_cc_novzeroupper): Likewise.
37239         (libc_cv_cc_fma4): Likewise.
37240         (libc_cv_as_i686): Likewise.
37241         (libc_cv_sparc_as_vis3): Likewise.
37242         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37243         LIBC_CONFIG_VAR.
37244         (config-asflags-i686): Likewise.
37245         (config-cflags-avx): Likewise.
37246         (config-cflags-sse2avx): Likewise.
37247         (have-mfma4): Likewise.
37248         (config-cflags-novzeroupper): Likewise.
37249         * sysdeps/mach/configure.in (MIG): Likewise.
37250         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37251         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37252         LIBC_CONFIG_VAR.
37253         (config-cflags-avx): Likewise.
37254         (config-cflags-sse2avx): Likewise.
37255         (have-mfma4): Likewise.
37256         (config-cflags-novzeroupper): Likewise.
37257         * configure: Regenerated.
37258         * sysdeps/i386/configure: Likewise.
37259         * sysdeps/mach/configure: Likewise.
37260         * sysdeps/sparc/configure: Likewise.
37261         * sysdeps/x86_64/configure: Likewise.
37263 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37265         [BZ #14812]
37266         * locale/programs/localedef.c (options): Put N_ translation marker
37267         on argument names, not just descriptions.
37269 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37271         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37273 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37275         [BZ #14176]
37276         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37278 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37280         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37281         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37282         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37283         [!BEFORE_ABORT] (before_abort): New function.
37284         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37285         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37286         (writev_for_fatal): New function.
37287         (WRITEV_FOR_FATAL): New macro; call that.
37288         (backtrace_and_maps): New function.
37289         (BEFORE_ABORT): New macro; call that.
37290         (struct str_list): Type removed.
37291         (__libc_message, __libc_fatal): Functions removed.
37292         Include <sysdeps/posix/libc_fatal.c> instead.
37294 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37296         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37297         constants.
37298         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37299         double constants.
37301 2013-03-19  Andreas Schwab  <schwab@suse.de>
37303         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37304         * sysdeps/gnu/configure: Regenerate.
37306         * configure.in: Substitute libc_cv_rtlddir.
37307         * configure: Regenerate.
37308         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37309         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37310         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37311         * elf/Makefile (install-others, CFLAGS-interp.c)
37312         (ldso_install, common-ldd-rewrite): Likewise.
37313         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37314         $(inst_slibdir)/$(rtld-installed-name).
37315         * scripts/rellns-sh: Add -p option.
37316         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37317         for source.
37319 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37321         * manual/nptl.texi: Renamed to ...
37322         * manual/threads.texi: ... this.
37323         * manual/Makefile (chapters): Update.
37325 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37327         [BZ #14812]
37328         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37329         on argument names, not just descriptions.
37330         * malloc/memusagestat.c (options): Likewise.
37331         * nss/getent.c (options): Likewise.
37333 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37335         [BZ #14812]
37336         * iconv/iconv_prog.c (options): Put N_ translation marker
37337         on argument names, not just descriptions.
37338         * iconv/iconvconfig.c (options): Likewise.
37340 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37342         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37343         implementation which is faster on all x86_64 architectures.
37344         Tested on AMD, Intel Nehalem, SNB, IVB.
37345         * sysdeps/x86_64/strnlen.S: Likewise.
37347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37348         Remove all multiarch strlen and strnlen versions.
37349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37350         Remove strlen and strnlen related parts.
37352         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37353         Inline strlen part.
37354         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37356         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37357         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37358         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37359         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37360         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37361         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37363 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37365         * manual/memory.texi (Malloc Tunable Parameters):
37366         Sort parameters alphabetically. Add comments for missing entries.
37368 2013-03-17  David S. Miller  <davem@davemloft.net>
37370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37372 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37374         [BZ #15283]
37375         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37376         for arguments at most half maximum finite value.
37377         * math/libm-test.inc (j0_test): Add more tests.
37378         (j1_test): Likewise.
37379         (y0_test): Likewise.
37380         (y1_test): Likewise.
37381         * sysdeps/i386/fpu/libm-test-ulps: Update.
37382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37384         [BZ #14155]
37385         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37386         1 / x and functions P and Q for arguments above 0x1p256L.
37387         (__ieee754_y0l): Likewise.
37388         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37389         (__ieee754_y1l): Likewise.
37390         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37391         (j1_test): Likewise.
37392         (y0_test): Likewise.
37393         (y1_test): Likewise.
37395 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37397         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37398         variable.
37400 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37402         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37403         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37404         zero since it's initialized to EXEC_PAGESIZE.
37406         * sysdeps/unix/sysv/linux/ldsodefs.h
37407         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37408         * sysdeps/generic/ldsodefs.h: ... here.
37410 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37412         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37414         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37415         math/test-snan.c.
37416         * math/test-snan.c: Renamed from
37417         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37418         * math/Makefile (tests): Add test-snan.
37419         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37420         test-powerpc-snan.
37422         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37423         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37424         functions.
37425         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37426         __builtin_nan family of functions.
37427         * math/libm-test.inc (initialize): Initialize qnan_value with
37428         __builtin_nan family of functions.
37429         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37430         Remove variables.
37431         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37432         Remove functions.
37433         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37434         storage class.  Initialize qNaN_var and sNaN_var with
37435         __builtin_nan and __builtin_nans families of functions,
37436         respectively.
37438         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37439         (sqrt_test): Remove duplicate test with qNaN input.
37440         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37441         (round_test, signbit_test, significand_test): Note missing +/-Inf
37442         as well as qNaN tests.
37444         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37445         qNaN_var.  Fix a few strings, too.
37446         * math/libm-test.inc (nan_value): Rename to qnan_value.
37447         * math/gen-libm-test.pl (%beautify): Adjust to that.
37448         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37449         * math/test-misc.c (main): Likewise.
37450         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37451         to __qnan_bytes, and __qnan_union, respectively.
37452         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37453         Likewise.
37454         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37455         and lqnanval, respectively.
37456         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37457         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37458         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37459         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37461         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37462         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37463         doubles.
37465         * math/test-misc.c (main): Fix copy'n'pastos.
37466         * misc/tst-efgcvt.c (special): Likewise.
37468         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37469         Remove declarations.
37471 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37473         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37474         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37475         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37476         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37478 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37480         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37481         macro to return vdso values correctly in IFUNC implementations.
37482         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37483         Optimization by using IFUNC.
37485 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37486             Richard Henderson  <rth@redhat.com>
37487             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37489         * Makefile.in (bench): New target.
37490         * NEWS: Mention the benchmark framework.
37491         * Rules (bench): Likewise.
37492         (binaries-bench): Generate binaries for functions to
37493         benchmark.
37494         * benchtests/Makefile: New makefile for benchmark tests.
37495         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37496         programs.
37497         * benchtests/exp-inputs: New input file for EXP function.
37498         * benchtests/pow-inputs: New input file for POW function.
37499         * scripts/bench.pl: New script to generate source files for
37500         benchmark programs.
37502 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37504         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37505         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37506         computations on mantissa.  Use macros for rounding and
37507         division.
37508         (denorm): Likewise.
37509         (__dbl_mp): Likewise.
37510         (add_magnitudes): Likewise.
37511         (sub_magnitudes): Likewise.
37512         (__mul): Likewise.
37513         (__sqr): Likewise.
37514         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37515         powers of two in terms of TWOPOW macro.
37516         (mp_no): Make type of mantissa as MANTISSA_T.
37517         [!RADIXI]: Define RADIXI.
37518         [!TWO52]: Define TWO52.
37519         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37521         * manual/nptl.texi (cindex): Modify threads to pthreads.
37523 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37525         * sysdeps/x86_64/preconfigure: Regenerated.
37527 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37529         [BZ #14155]
37530         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37531         0x1p28 and above.
37532         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37533         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37534         0x1p28 and above.
37535         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37536         * math/libm-test.inc (j0_test): Do not allow one spurious
37537         underflow exception.
37538         (y1_test): Likewise.
37540 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37542         * manual/Makefile (chapters): Add nptl.
37543         * manual/debug.texi (Debugging Support): Add link to Threads
37544         chapter.
37545         * manual/nptl.texi: New file.
37547         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37549 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37551         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37552         for non-NULL pointer before the memory validity test. Pointed
37553         out by Holger Brunck <holger.brunck@keymile.com>.
37555 2013-03-13  Andreas Schwab  <schwab@suse.de>
37557         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37558         instead of .os.
37560 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37562         * timezone/zic.c: Update from tzcode 2013b.
37564 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37566         * manual/install.texi (Configuring and compiling):
37567         Mention i686 and i586.
37568         * INSTALL: Regenerate.
37570 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37572         * sysdeps/init_array/elf-init.c: New file.
37573         * csu/elf-init.c
37574         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37575         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37577         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37578         __gmon_start__ as global, but as static with a .preinit_array pointer.
37579         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37580         * sysdeps/init_array/crti.S: New file, empty except for comments.
37581         * sysdeps/init_array/crtn.S: Likewise.
37583 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37585         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37586         definining bcopy.
37587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37588         Remove Prefer_SSE_for_memop.
37589         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37590         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37591         HAS_PREFER_SSE_FOR_MEMOP.
37592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37593         memset-x86-64.
37594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37595         Remove bzero, memset ifunc support.
37596         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37597         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37598         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37599         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37601 2013-03-11  Andreas Schwab  <schwab@suse.de>
37603         [BZ #15234]
37604         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37605         by SHLIB_COMPAT.
37606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37607         (GLIBC_2.16): Remove pthread_atfork.
37609 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37611         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37612         (ptestcases.h): Likewise.
37614 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37616         * Makeconfig ($(common-objpfx)config.status): Depend on
37617         sysdeps/*/preconfigure{,.in} too.
37619 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37621         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37622         (__free_hook): Use void * instead of __malloc_ptr_t.
37623         (__malloc_hook): Likewise.
37624         (__realloc_hook): Likewise.
37625         (__memalign_hook): Likewise.
37626         (__after_morecore_hook): Likewise.
37627         * malloc/arena.c (save_malloc_hook): Likewise.
37628         (save_free_hook): Likewise.
37629         * malloc/hooks.c (malloc_hook_ini): Likewise.
37630         (realloc_hook_ini): Likewise.
37631         (memalign_hook_ini): Likewise.
37632         * malloc/malloc.c (malloc_hook_ini): Likewise.
37633         (realloc_hook_ini): Likewise.
37634         (memalign_hook_ini): Likewise.
37635         (__free_hook): Likewise.
37636         (__malloc_hook): Likewise.
37637         (__realloc_hook): Likewise.
37638         (__memalign_hook): Likewise.
37639         (__libc_malloc): Likewise.
37640         (__libc_free): Likewise.
37641         (__libc_realloc): Likewise.
37642         (__libc_memalign): Likewise.
37643         (__libc_valloc): Likewise.
37644         (__libc_pvalloc): Likewise.
37645         (__libc_calloc): Likewise.
37646         (__posix_memalign): Likewise.
37647         * malloc/morecore.c (__sbrk): Likewise.
37648         (__default_morecore): Likewise.
37650         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37652         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37653         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37654         __malloc_ptrdiff_t.
37656         * malloc/malloc.h (__malloc_size_t): Remove macro.
37657         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37658         __malloc_size_t.
37659         (old_memalign_hook): Likewise.
37660         (old_realloc_hook): Likewise.
37661         (struct hdr): Likewise.
37662         (flood): Likewise.
37663         (mallochook): Likewise.
37664         (memalignhook): Likewise.
37665         (reallochook): Likewise.
37666         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37667         (tr_old_realloc_hook): Likewise.
37668         (tr_old_memalign_hook): Likewise.
37669         (tr_mallochook): Likewise.
37670         (tr_reallochook): Likewise.
37671         (tr_memalignhook): Likewise.
37673 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37676         default_ldbl_pack and using as default implementation.
37677         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37678         implementation.
37679         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37680         redundant definition.
37681         (ldbl_insert_mantissa): Likewise.
37682         (ldbl_canonicalize): Likewise.
37683         (ldbl_nearbyint): Likewise.
37684         (ldbl_pack): Rename to ldbl_pack_ppc.
37685         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37686         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37687         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37689 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37692         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37693         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37694         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37696         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37697         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37698         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37700 2013-03-07  Andreas Jaeger  <aj@suse.de>
37702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37703         bits/mman-linux.h.
37705 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37707         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37708         Include mpa.h and declare __MPEXP.
37709         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37710         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37711         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37712         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37713         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37714         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37715         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37717         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37718         (__slowpow): Use long double EXPL and LOGL functions to
37719         compute POW.
37720         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37721         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37722         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37723         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37724         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37725         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37728         intermediate variable to calculate exponent.
37729         (__sqr): Likewise.
37730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37731         Likewise.
37732         (__sqr): Likewise.
37734         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37735         [!NO__SQR]: Define __sqr.
37736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37737         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37738         sysdeps/ieee754/dbl-64/mpa.c.
37739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37741         [BZ #12723]
37742         * posix/Makefile (tests): Add tst-pathconf.
37743         * posix/tst-pathconf.c: New test case.
37744         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37745         _PC_PIPE_BUF.
37746         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37748 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37750         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37752 2013-03-06  Andreas Jaeger  <aj@suse.de>
37754         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37755         definition via __MAP_ANONYMOUS.
37757         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37758         it's not part of Linux headers.
37760         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37761         (MAP_HUGE_MASK): Define.
37763         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37764         Define.
37765         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37766         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37767         Define.
37768         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37769         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37770         Define.
37771         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37772         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37773         Define.
37774         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37776         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37777         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37778         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37779         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37780         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37781         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37783         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37784         Handle f2fs.
37786         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37787         Handle f2fs and efivarfs.
37789         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37790         f2fs.
37792         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37793         (EFIVARFS_MAGIC): Add.
37794         (F2FS_LINK_MAX): Add.
37796 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37798         * stdio-common/vfprintf.c: Replace __builtin_expect with
37799         __glibc_unlikely.
37801 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37803         [BZ #13550]
37804         * sysdeps/generic/bp-sym.h: Remove file.
37805         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37806         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37807         <bp-sym.h> and <bp-asm.h>.
37808         (__longjmp): Don't use BP_SYM.
37809         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37810         and <bp-asm.h>.
37811         (memcpy): Don't use BP_SYM.
37812         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37813         <bp-sym.h> and <bp-asm.h>.
37814         (memcpy): Don't use BP_SYM.
37815         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37816         <bp-asm.h>.
37817         (memcpy): Don't use BP_SYM.
37818         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37819         <bp-asm.h>.
37820         (memset): Don't use BP_SYM.
37821         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37822         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37823         (__bzero): Don't use BP_SYM.
37824         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37825         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37826         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37827         <bp-sym.h> and <bp-asm.h>.
37828         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37829         pointers.
37830         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37831         <bp-sym.h> and <bp-asm.h>.
37832         (memcpy): Don't use BP_SYM.
37833         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37834         <bp-sym.h> and <bp-asm.h>.
37835         (memset): Don't use BP_SYM.
37836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37838         (__bzero): Don't use BP_SYM.
37839         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37840         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37841         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37842         <bp-sym.h> and <bp-asm.h>.
37843         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37844         pointers.
37845         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37846         <bp-sym.h> and <bp-asm.h>.
37847         (memcpy): Don't use BP_SYM.
37848         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37849         <bp-sym.h> and <bp-asm.h>.
37850         (memset): Don't use BP_SYM.
37851         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37852         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37853         (__bzero): Don't use BP_SYM.
37854         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37855         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37857         <bp-sym.h> and <bp-asm.h>.
37858         (__memchr): Don't use BP_SYM.
37859         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37860         <bp-sym.h> and <bp-asm.h>.
37861         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37862         pointers.
37863         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37864         <bp-sym.h> and <bp-asm.h>.
37865         (memcpy): Don't use BP_SYM.
37866         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37867         <bp-sym.h> and <bp-asm.h>.
37868         (__mempcpy): Don't use BP_SYM.
37869         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37870         <bp-sym.h> and <bp-asm.h>.
37871         (__memrchr): Don't use BP_SYM.
37872         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37873         <bp-sym.h> and <bp-asm.h>.
37874         (memset): Don't use BP_SYM.
37875         (__bzero): Likewise.
37876         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37877         <bp-sym.h> and <bp-asm.h>.
37878         (__rawmemchr): Don't use BP_SYM.
37879         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37880         <bp-sym.h> and <bp-asm.h>.
37881         (__STRCMP): Don't use BP_SYM.
37882         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37883         <bp-sym.h> and <bp-asm.h>.
37884         (strchr): Don't use BP_SYM.
37885         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37886         <bp-sym.h> and <bp-asm.h>.
37887         (__strchrnul): Don't use BP_SYM.
37888         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37889         <bp-sym.h> and <bp-asm.h>.
37890         (strlen): Don't use BP_SYM.
37891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37892         <bp-sym.h> and <bp-asm.h>.
37893         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37894         pointers.
37895         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37896         <bp-sym.h> and <bp-asm.h>.
37897         (__strnlen): Don't use BP_SYM.
37898         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37899         <bp-sym.h> and <bp-asm.h>.
37900         (__GI__setjmp): Don't use BP_SYM.
37901         (_setjmp): Likewise.
37902         (__sigsetjmp): Likewise.
37903         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37904         (L(start_addresses)): Don't use BP_SYM.
37905         (_start): Likewise.
37906         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37907         <bp-asm.h>.
37908         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37909         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37910         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37911         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37912         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37913         <bp-asm.h>.
37914         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37915         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37916         about bounded pointers.
37917         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37918         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37919         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37920         <bp-asm.h>.
37921         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37922         about bounded pointers.  Remove GKM FIXME comments.
37923         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37924         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37925         <bp-asm.h>.
37926         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37927         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37928         Remove GKM FIXME comments.
37929         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37930         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37931         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37932         <bp-asm.h>.
37933         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37934         about bounded pointers.  Remove GKM FIXME comment.
37935         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37936         and <bp-asm.h>.
37937         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37938         pointers.
37939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37940         <bp-sym.h> and <bp-asm.h>.
37941         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37943         <bp-sym.h> and <bp-asm.h>.
37944         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37945         comment.
37947 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37949         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37950         call free(NULL).
37952 2013-03-05  David S. Miller  <davem@davemloft.net>
37954         * po/es.po: Update from translation team.
37956 2013-03-05  Andreas Jaeger  <aj@suse.de>
37958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37959         <bits/mman-linux.h>.
37960         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37961         is fine.
37962         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37963         <bits/mman-linux.h> to end of file.
37964         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37965         is fine.
37966         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37967         <bits/mman-linux.h> to end of file.
37968         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37969         is fine.
37970         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37971         <bits/mman-linux.h> to end of file.
37973         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37974         (MCL_CURRENT, MCL_FUTURE): Define here.
37976 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37978         [BZ #15232]
37979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37980         attribute_hidden.
37981         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37983 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37985         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37986         fourth parameter needed for rt_sigprocmask syscall.
37987         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37988         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37989         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37990         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37991         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37992         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37994 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37996         [BZ #13550]
37997         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37998         comment about bounded pointers.
37999         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38000         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38002 2013-03-04  Andreas Jaeger  <aj@suse.de>
38004         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38005         common definitions.
38007         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38008         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38009         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38010         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38012         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38014 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38016         [BZ #15055]
38017         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38018         __ieee754_sqrl instead of __sqrl.
38020 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
38022         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38023         * sysdeps/powerpc/fpu_control.h: ... here.
38024         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38025         * sysdeps/powerpc/bits/fenvinline.h: ... here.
38026         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38027         * sysdeps/powerpc/bits/mathinline.h: ... here.
38029 2013-03-01  Roland McGrath  <roland@hack.frob.com>
38031         * elf/dl-hwcaps.c (_dl_important_hwcaps):
38032         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38033         to just [NEED_DL_SYSINFO_DSO].
38034         * elf/dl-support.c: Likewise.
38035         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38036         * elf/rtld.c (dl_main): Likewise.
38037         * elf/setup-vdso.h (setup_vdso): Likewise.
38038         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38039         * sysdeps/unix/sysv/linux/dl-sysdep.c
38040         (_dl_discover_osversion): Likewise.
38042 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
38044         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38045         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38047 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38049         * NEWS: Mention libm performance improvements and non-x86 PI
38050         futex support.
38052         * csu/libc-start.c (__pthread_initialize_minimal): Change
38053         function arguments.
38054         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38056 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
38058         [BZ #13550]
38059         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38060         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38061         <bp-sym.h> and <bp-asm.h>.
38062         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38063         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38064         and <bp-asm.h>.
38065         (memcpy): Don't use BP_SYM.
38066         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38067         <bp-asm.h>.
38068         (__mpn_add_n): Don't use BP_SYM.
38069         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38070         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38071         and <bp-asm.h>.
38072         (__mpn_addmul_1): Don't use BP_SYM.
38073         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38074         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38075         <bp-sym.h>.
38076         (_setjmp): Don't use BP_SYM.
38077         (__novmx_setjmp): Likewise.
38078         (__GI__setjmp): Likewise.
38079         (__vmx_setjmp): Likewise.
38080         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38081         <bp-sym.h>.
38082         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38083         (__bzero): Don't use BP_SYM.
38084         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38085         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38086         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38087         <bp-sym.h> and <bp-asm.h>.
38088         (memcpy): Don't use BP_SYM.
38089         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38090         <bp-sym.h> and <bp-asm.h>.
38091         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38092         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38093         <bp-sym.h> and <bp-asm.h>.
38094         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38095         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38096         <bp-asm.h>.
38097         (__mpn_lshift): Don't use BP_SYM.
38098         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38099         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38100         <bp-asm.h>.
38101         (memset): Don't use BP_SYM.
38102         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38103         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38104         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38105         <bp-asm.h>.
38106         (__mpn_mul_1): Don't use BP_SYM.
38107         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38108         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38109         <bp-sym.h> and <bp-asm.h>.
38110         (memcmp): Don't use BP_SYM.
38111         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38112         <bp-sym.h> and <bp-asm.h>.
38113         (memcpy): Don't use BP_SYM.
38114         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38115         <bp-sym.h> and <bp-asm.h>.
38116         (memset): Don't use BP_SYM.
38117         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38118         <bp-sym.h> and <bp-asm.h>.
38119         (strncmp): Don't use BP_SYM.
38120         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38121         <bp-sym.h> and <bp-asm.h>.
38122         (memcpy): Don't use BP_SYM.
38123         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38124         <bp-sym.h> and <bp-asm.h>.
38125         (memset): Don't use BP_SYM.
38126         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38127         <bp-sym.h> and <bp-asm.h>.
38128         (__memchr): Don't use BP_SYM.
38129         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38130         <bp-sym.h> and <bp-asm.h>.
38131         (memcmp): Don't use BP_SYM.
38132         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38133         <bp-sym.h> and <bp-asm.h>.
38134         (memcpy): Don't use BP_SYM.
38135         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38136         <bp-sym.h> and <bp-asm.h>.
38137         (__mempcpy): Don't use BP_SYM.
38138         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38139         <bp-sym.h> and <bp-asm.h>.
38140         (__memrchr): Don't use BP_SYM.
38141         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38142         <bp-sym.h> and <bp-asm.h>.
38143         (memset): Don't use BP_SYM.
38144         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38145         <bp-sym.h> and <bp-asm.h>.
38146         (__rawmemchr): Don't use BP_SYM.
38147         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38148         <bp-sym.h> and <bp-asm.h>.
38149         (__STRCMP): Don't use BP_SYM.
38150         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38151         <bp-sym.h> and <bp-asm.h>.
38152         (strchr): Don't use BP_SYM.
38153         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38154         <bp-sym.h> and <bp-asm.h>.
38155         (__strchrnul): Don't use BP_SYM.
38156         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38157         <bp-sym.h> and <bp-asm.h>.
38158         (strlen): Don't use BP_SYM.
38159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38160         <bp-sym.h> and <bp-asm.h>.
38161         (strncmp): Don't use BP_SYM.
38162         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38163         <bp-sym.h> and <bp-asm.h>.
38164         (__strnlen): Don't use BP_SYM.
38165         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38166         <bp-asm.h>.
38167         (__mpn_rshift): Don't use BP_SYM.
38168         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38169         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38170         <bp-sym.h> and <bp-asm.h>.
38171         (__sigsetjmp): Don't use BP_SYM.
38172         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38173         (L(start_addresses)): Don't use BP_SYM.
38174         (_start): Likewise.
38175         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38176         <bp-asm.h>.
38177         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38178         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38179         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38180         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38181         <bp-asm.h>.
38182         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38183         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38184         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38185         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38186         <bp-asm.h>.
38187         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38188         comments.
38189         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38190         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38191         <bp-asm.h>.
38192         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38193         FIXME comments.
38194         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38195         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38196         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38197         <bp-asm.h>.
38198         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38199         comment.
38200         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38201         and <bp-asm.h>.
38202         (strncmp): Don't use BP_SYM,
38203         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38204         <bp-asm.h>.
38205         (__mpn_sub_n): Don't use BP_SYM.
38206         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38207         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38208         and <bp-asm.h>.
38209         (__mpn_submul_1): Don't use BP_SYM.
38210         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38212         <bp-sym.h> and <bp-asm.h>.
38213         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38215         <bp-sym.h> and <bp-asm.h>.
38216         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38217         comment.
38219 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38222         Use ZK to minimize writes to Z.
38223         (sub_magnitudes): Simplify code a bit.
38224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38225         Use ZK to minimize writes to Z.
38226         (sub_magnitudes): Simplify code a bit.
38228 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38230         * csu/gmon-start.c: Add special exception to license text.
38232 2013-02-27  Richard Henderson  <rth@redhat.com>
38234         * scripts/config.guess: Update from config.git.
38235         * scripts/config.sub: Likewise.
38237 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38239         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38241         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38243         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38245         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38247         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38249 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38251         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38252         [$(build-shared = yes].
38254 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38256         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38257         (__mul): Reduce iterations for calculating mantissa.
38259         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38260         MPTWO.
38261         (__mpranred): Likewise.
38263         [BZ #15160]
38264         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38265         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38267 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38269         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38270         Define __attribute__.
38272 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38274         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38275         unused.
38276         * posix/regex_internal.h (__attribute): Remove.
38277         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38278         (re_string_context_at): Likewise.
38279         (bitset_not): Use __attribute__ and mark function as possibly
38280         unused.
38281         (bitset_merge): Likewise.
38282         (bitset_mask): Likewise.
38283         (re_string_char_size_at): Likewise.
38284         (re_string_wchar_at): Likewise.
38285         (re_string_elem_size_at): Likewise.
38287 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38289         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38290         code.
38291         (cc32): Likewise.
38293         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38294         (__acr): Likewise.
38295         (__cpy): Likewise.
38296         (norm): Likewise.
38297         (denorm): Likewise.
38298         (__dbl_mp): Likewise.
38299         (add_magnitudes): Likewise.
38300         (sub_magnitudes): Likewise.
38301         (__mul): Likewise.
38302         (__inv): Likewise.
38304         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38305         style.
38307         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38308         style.
38310         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38311         code.
38313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38314         up changes with default code.
38315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38316         Likewise.
38318 2013-02-24  Allan McRae  <allan@archlinux.org>
38320         * manual/socket.texi (The Internet Namespace): Order menu items
38321         to match that in the file.
38323         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38324         node listing of the info page menu.
38326 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38328         [BZ #13550]
38329         * sysdeps/i386/bp-asm.h: Remove file.
38330         * sysdeps/i386/add_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_add_n): Do not use BP_SYM
38336         * sysdeps/i386/addmul_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_addmul_1): Do not use BP_SYM
38342         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38343         "bp-asm.h".
38344         (PARMS): Do not use macros from bp-asm.h.
38345         (SIGMSK): Likewise.
38346         (_setjmp): Likewise.  Do not use BP_SYM.
38347         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38348         "bp-asm.h".
38349         (PARMS): Do not use macros from bp-asm.h.
38350         (SIGMSK): Likewise.
38351         (setjmp): Likewise.  Do not use BP_SYM.
38352         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38353         "bp-asm.h".
38354         (PARMS): Do not use macros from bp-asm.h.
38355         (__frexp): Do not use BP_SYM.
38356         (frexp): Likewise.
38357         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38358         "bp-asm.h".
38359         (PARMS): Do not use macros from bp-asm.h.
38360         (__frexpf): Do not use BP_SYM.
38361         (frexpf): Likewise.
38362         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38363         "bp-asm.h".
38364         (PARMS): Do not use macros from bp-asm.h.
38365         (__frexpl): Do not use BP_SYM.
38366         (frexpl): Likewise.
38367         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38368         "bp-asm.h".
38369         (PARMS): Do not use macros from bp-asm.h.
38370         (__remquo): Do not use BP_SYM.
38371         (remquo): Likewise.
38372         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38373         "bp-asm.h".
38374         (PARMS): Do not use macros from bp-asm.h.
38375         (__remquof): Do not use BP_SYM.
38376         (remquof): Likewise.
38377         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38378         "bp-asm.h".
38379         (PARMS): Do not use macros from bp-asm.h.
38380         (__remquol): Do not use BP_SYM.
38381         (remquol): Likewise.
38382         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38383         "bp-asm.h".
38384         (PARMS): Do not use macros from bp-asm.h.
38385         (DEST): Likewise.
38386         (SRC): Likewise.
38387         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38388         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38389         "bp-asm.h".
38390         (PARMS): Do not use macros from bp-asm.h.
38391         (strlen): Do not use BP_SYM.
38392         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38393         "bp-asm.h".
38394         (PARMS): Do not use macros from bp-asm.h.
38395         (S1): Likewise.
38396         (S2): Likewise.
38397         (SIZE): Likewise.
38398         (__mpn_add_n): Do not use BP_SYM.
38399         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38400         "bp-asm.h".
38401         (PARMS): Do not use macros from bp-asm.h.
38402         (S1): Likewise.
38403         (SIZE): Likewise.
38404         (__mpn_addmul_1): Do not use BP_SYM.
38405         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38406         weak_alias.
38407         (bzero): Likewise.
38408         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38409         "bp-asm.h".
38410         (PARMS): Do not use macros from bp-asm.h.
38411         (S): Likewise.
38412         (SIZE): Likewise.
38413         (__mpn_lshift): Do not use BP_SYM.
38414         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38415         "bp-asm.h".
38416         (PARMS): Do not use macros from bp-asm.h.
38417         (DEST): Likewise.
38418         (SRC): Likewise.
38419         (LEN): Likewise.
38420         (memcpy): Likewise.  Do not use BP_SYM.
38421         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38422         libc_hidden_def and weak_alias.
38423         (mempcpy): Do not use BP_SYM in weak_alias.
38424         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38425         "bp-asm.h".
38426         (PARMS): Do not use macros from bp-asm.h.
38427         (DEST): Likewise.
38428         (LEN): Likewise.
38429         [!BZERO_P] (CHR): Likewise.
38430         (memset): Likewise.  Do not use BP_SYM.
38431         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38432         "bp-asm.h".
38433         (PARMS): Do not use macros from bp-asm.h.
38434         (S1): Likewise.
38435         (SIZE): Likewise.
38436         (__mpn_mul_1): Do not use BP_SYM.
38437         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38438         "bp-asm.h".
38439         (PARMS): Do not use macros from bp-asm.h.
38440         (S): Likewise.
38441         (SIZE): Likewise.
38442         (__mpn_rshift): Do not use BP_SYM.
38443         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38444         "bp-asm.h".
38445         (PARMS): Do not use macros from bp-asm.h.
38446         (STR): Likewise.
38447         (CHR): Likewise.
38448         (strchr): Likewise.  Do not use BP_SYM.
38449         (index): Do not use BP_SYM in weak_alias.
38450         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38451         "bp-asm.h".
38452         (PARMS): Do not use macros from bp-asm.h.
38453         (DEST): Likewise.
38454         (SRC): Likewise.
38455         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38456         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38457         "bp-asm.h".
38458         (PARMS): Do not use macros from bp-asm.h.
38459         (strlen): Do not use BP_SYM.
38460         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38461         "bp-asm.h".
38462         (PARMS): Do not use macros from bp-asm.h.
38463         (S1): Likewise.
38464         (S2): Likewise.
38465         (SIZE): Likewise.
38466         (__mpn_sub_n): Do not use BP_SYM.
38467         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38468         "bp-asm.h".
38469         (PARMS): Do not use macros from bp-asm.h.
38470         (S1): Likewise.
38471         (SIZE): Likewise.
38472         (__mpn_submul_1): Do not use BP_SYM.
38473         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38474         "bp-asm.h".
38475         (PARMS): Do not use macros from bp-asm.h.
38476         (S1): Likewise.
38477         (S2): Likewise.
38478         (SIZE): Likewise.
38479         (__mpn_add_n): Do not use BP_SYM.
38480         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38481         weak_alias.
38482         (bzero): Likewise.
38483         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38484         "bp-asm.h".
38485         (PARMS): Do not use macros from bp-asm.h.
38486         (BLK2): Likewise.
38487         (LEN): Likewise.
38488         (memcmp): Do not use BP_SYM.
38489         (bcmp): Do not use BP_SYM in weak_alias.
38490         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38491         "bp-asm.h".
38492         (PARMS): Do not use macros from bp-asm.h.
38493         (DEST): Likewise.
38494         (SRC): Likewise.
38495         (LEN): Likewise.
38496         (memcpy): Likewise.  Do not use BP_SYM.
38497         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38498         "bp-asm.h".
38499         (PARMS): Do not use macros from bp-asm.h.
38500         (DEST): Likewise.
38501         (SRC): Likewise.
38502         (LEN): Likewise.
38503         (memmove): Likewise.  Do not use BP_SYM.
38504         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38505         "bp-asm.h".
38506         (PARMS): Do not use macros from bp-asm.h.
38507         (DEST): Likewise.
38508         (SRC): Likewise.
38509         (LEN): Likewise.
38510         (__mempcpy): Likewise.  Do not use BP_SYM.
38511         (mempcpy): Do not use BP_SYM in weak_alias.
38512         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38513         "bp-asm.h".
38514         (PARMS): Do not use macros from bp-asm.h.
38515         (DEST): Likewise.
38516         (LEN): Likewise.
38517         [!BZERO_P] (CHR): Likewise.
38518         (memset): Likewise.  Do not use BP_SYM.
38519         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38520         "bp-asm.h".
38521         (PARMS): Do not use macros from bp-asm.h.
38522         (STR2): Likewise.
38523         (strcmp): Do not use BP_SYM.
38524         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38525         "bp-asm.h".
38526         (PARMS): Do not use macros from bp-asm.h.
38527         (STR): Likewise.
38528         (DELIM): Likewise.
38529         [USE_AS_STRTOK_R] (SAVE): Likewise.
38530         (FUNCTION): Likewise.  Do not use BP_SYM.
38531         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38532         aliases.
38533         (strtok_r): Likewise.
38534         (__GI___strtok_r): Likewise.
38535         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38536         (PARMS): Do not use macros from bp-asm.h.
38537         (S): Likewise.
38538         (SIZE): Likewise.
38539         (__mpn_lshift): Do not use BP_SYM.
38540         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38541         (PARMS): Do not use macros from bp-asm.h.
38542         (STR): Likewise.
38543         (CHR): Likewise.
38544         (__memchr): Do not use BP_SYM.
38545         (memchr): Do not use BP_SYM in weak_alias.
38546         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38547         (PARMS): Do not use macros from bp-asm.h.
38548         (BLK2): Likewise.
38549         (LEN): Likewise.
38550         (memcmp): Do not use BP_SYM.
38551         (bcmp): Do not use BP_SYM in weak_alias.
38552         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38553         (PARMS): Do not use macros from bp-asm.h.
38554         (S1): Likewise.
38555         (SIZE): Likewise.
38556         (__mpn_mul_1): Do not use BP_SYM.
38557         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38558         "bp-asm.h".
38559         (PARMS): Do not use macros from bp-asm.h.
38560         (STR): Likewise.
38561         (CHR): Likewise.
38562         (__rawmemchr): Do not use BP_SYM.
38563         (rawmemchr): Do not use BP_SYM in weak_alias.
38564         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38565         (PARMS): Do not use macros from bp-asm.h.
38566         (S): Likewise.
38567         (SIZE): Likewise.
38568         (__mpn_rshift): Do not use BP_SYM.
38569         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38570         (PARMS): Do not use macros from bp-asm.h.
38571         (SIGMSK): Likewise.
38572         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38573         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38574         (_start): Do not use BP_SYM.
38575         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38576         (PARMS): Do not use macros from bp-asm.h.
38577         (DEST): Likewise.
38578         (SRC): Likewise.
38579         (__stpcpy): Likewise.  Do not use BP_SYM.
38580         (stpcpy): Do not use BP_SYM in weak_alias.
38581         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38582         "bp-asm.h".
38583         (PARMS): Do not use macros from bp-asm.h.
38584         (DEST): Likewise.
38585         (SRC): Likewise.
38586         (LEN): Likewise.
38587         (__stpncpy): Likewise.  Do not use BP_SYM.
38588         (stpncpy): Do not use BP_SYM in weak_alias.
38589         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38590         (PARMS): Do not use macros from bp-asm.h.
38591         (STR): Likewise.
38592         (CHR): Likewise.
38593         (strchr): Likewise.  Do not use BP_SYM.
38594         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38595         "bp-asm.h".
38596         (PARMS): Do not use macros from bp-asm.h.
38597         (STR): Likewise.
38598         (CHR): Likewise.
38599         (__strchrnul): Likewise.  Do not use BP_SYM.
38600         (strchrnul): Do not use BP_SYM in weak_alias.
38601         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38602         "bp-asm.h".
38603         (PARMS): Do not use macros from bp-asm.h.
38604         (STOP): Likewise.
38605         (strcspn): Do not use BP_SYM.
38606         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38607         "bp-asm.h".
38608         (PARMS): Do not use macros from bp-asm.h.
38609         (STR): Likewise.
38610         (STOP): Likewise.
38611         (strpbrk): Likewise.  Do not use BP_SYM.
38612         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38613         "bp-asm.h".
38614         (PARMS): Do not use macros from bp-asm.h.
38615         (STR): Likewise.
38616         (CHR): Likewise.
38617         (strrchr): Likewise.  Do not use BP_SYM.
38618         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38619         (PARMS): Do not use macros from bp-asm.h.
38620         (SKIP): Likewise.
38621         (strspn): Do not use BP_SYM.
38622         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38623         (PARMS): Do not use macros from bp-asm.h.
38624         (STR): Likewise.
38625         (DELIM): Likewise.
38626         (SAVE): Likewise.
38627         (FUNCTION): Likewise.  Do not use BP_SYM.
38628         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38629         aliases.
38630         (strtok_r): Likewise.
38631         (__GI___strtok_r): Likewise.
38632         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38633         (PARMS): Do not use macros from bp-asm.h.
38634         (S1): Likewise.
38635         (S2): Likewise.
38636         (SIZE): Likewise.
38637         (__mpn_sub_n): Do not use BP_SYM.
38638         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38639         "bp-asm.h".
38640         (PARMS): Do not use macros from bp-asm.h.
38641         (S1): Likewise.
38642         (SIZE): Likewise.
38643         (__mpn_submul_1): Do not use BP_SYM.
38644         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38645         <bp-sym.h>.
38646         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38647         and <bp-asm.h>.
38648         (PARMS): Do not use macros from bp-asm.h.
38649         (FLAGS): Likewise.
38650         (PTID): Likewise.
38651         (TLS): Likewise.
38652         (CTID): Likewise.
38653         (__clone): Do not use BP_SYM.
38654         (clone): Do not use BP_SYM in weak_alias.
38655         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38656         and <bp-asm.h>.
38657         (PARMS): Do not use macros from bp-asm.h.
38658         (LEN): Likewise.
38659         (__mmap64): Do not use BP_SYM.
38660         (mmap64): Do not use BP_SYM in weak_alias.
38661         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38662         <bp-sym.h> and <bp-asm.h>.
38663         (PARMS): Do not use macros from bp-asm.h.
38664         (__posix_fadvise64_l64): Do not use BP_SYM.
38665         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38666         (PARMS): Do not use macros from bp-asm.h.
38667         (NSOPS): Likewise.
38668         (semtimedop): Do not use BP_SYM.
38669         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38670         and <bp-asm.h>.
38672 2013-02-21  Allan McRae  <allan@archlinux.org>
38674         * manual/message.texi (Charset conversion in gettext):
38675         Move @end statement to beginning of line.
38677 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38680         static.
38681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38682         Likewise.
38684         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38685         (denorm): Likewise.
38686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38689 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38691         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38692         tail-call to the resolved function if pltexit isn't needed.
38694 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38697         or Y being zero as being unlikely.
38698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38699         Likewise.
38701 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38703         * manual/nss.texi (System Databases and Name Service Switch):
38704         Remove frobnicate @pxref.
38706 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38708         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38709         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38711 2013-02-20  Petr Machata  <pmachata@redhat.com>
38713         * elf/elf.h (R_ARM_TARGET1): New macro.
38714         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38715         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38716         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38717         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38718         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38719         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38720         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38721         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38722         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38723         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38724         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38725         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38726         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38727         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38728         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38729         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38730         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38731         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38732         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38733         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38734         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38735         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38736         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38737         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38738         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38739         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38740         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38741         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38742         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38743         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38744         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38745         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38746         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38747         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38748         (R_ARM_THM_GOT_BREL12): Likewise.
38749         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38750         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38751         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38752         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38753         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38754         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38755         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38756         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38757         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38759 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38761         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38762         __attribute_used__ to __attribute__ ((unused)).
38764 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38766         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38767         powerpc mpa.c.
38768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38769         comment formatting.
38770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38772 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38774         [BZ #13550]
38775         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38776         Remove macro.
38777         (ENTER): Remove both macro definitions.
38778         (LEAVE): Likewise.
38779         (CHECK_BOUNDS_LOW): Likewise.
38780         (CHECK_BOUNDS_HIGH): Likewise.
38781         (CHECK_BOUNDS_BOTH): Likewise.
38782         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38783         (RETURN_BOUNDED_POINTER): Likewise.
38784         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38785         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38786         (POP_ERRNO_LOCATION_RETURN): Likewise.
38787         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38789         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38790         macros.
38791         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38792         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38793         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38794         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38795         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38796         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38797         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38798         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38799         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38800         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38801         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38802         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38803         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38804         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38805         removed macros.
38806         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38807         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38808         macros.
38809         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38810         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38811         * sysdeps/i386/i586/memset.S (memset): Likewise.
38812         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38813         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38814         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38815         macros.
38816         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38817         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38818         Change uses of L(2) to L(out).
38819         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38820         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38821         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38822         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38823         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38824         removed macros.
38825         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38826         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38827         macros.
38828         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38829         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38830         (RETURN): Do not use macro LEAVE.
38831         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38832         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38833         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38834         * sysdeps/i386/i686/memset.S (memset): Likewise.
38835         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38836         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38837         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38838         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38839         Likewise.
38840         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38841         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38842         L(1_2) and L(1_3) into L(1).
38843         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38844         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38845         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38846         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38847         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38848         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38849         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38850         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38851         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38852         macros.
38853         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38854         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38855         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38856         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38857         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38858         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38859         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38860         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38861         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38862         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38863         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38864         * sysdeps/i386/strspn.S (strspn): Likewise.
38865         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38866         conditional code.
38867         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38868         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38869         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38870         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38871         L(1_3) into L(1_1).
38872         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38873         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38874         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38875         macros.
38876         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38878 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38880         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38881         macro.
38883 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38885         * math/atest-exp.c (exp_mpn): Remove ROUND.
38886         * math/atest-exp2.c (exp_mpn): Likewise.
38887         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38889         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38890         * stdlib/tst-tls-atexit-lib.c: Likewise.
38891         * stdlib/tst-tls-atexit.c: Likewise.
38893 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38895         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38896         and __attribute_alloc_size__.
38898 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38900         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38901         __attribute_alloc_size__.
38902         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38903         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38905 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38907         * include/programs/xmalloc.h: New file.
38908         * catgets/gencat.c: Include it.
38909         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38910         * elf/pldd.c: Likewise.
38911         * iconv/iconv_charmap.c: Likewise.
38912         * iconv/iconvconfig.c: Likewise.
38913         * iconv/strtab.c: Likewise.
38914         * locale/programs/locale.c: Likewise.
38915         * locale/programs/localedef.h: Likewise.
38916         * locale/programs/simple-hash.c: Likewise.
38917         * nscd/nscd.h: Likewise.
38918         * nss/makedb.c: Likewise.
38919         * sysdeps/generic/ldconfig.h: Likewise.
38921 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38923         * Versions.def: Add GLIBC_2.18.
38924         * include/link.h (struct link_map): New member l_tls_dtor_count.
38925         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38926         (__call_tls_dtors): Likewise.
38927         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38928         __cxa_thread_atexit_impl.
38929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38930         Likewise.
38931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38932         Likewise.
38933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38934         Likewise.
38935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38936         Likewise.
38937         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38939         Likewise.
38940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38941         Likewise.
38942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38944         Likewise.
38945         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38946         (tests): Add test case tst-tls-atexit.
38947         (modules-names): Add shared library for tst-tls-atexit.
38948         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38949         (GLIBC_PRIVATE): Add __call_tls_dtors.
38950         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38951         for libstdc++.
38952         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38953         * stdlib/tst-tls-atexit.c: New test case.
38954         * stdlib/tst-tls-atexit-lib.c: New test case.
38956         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38958         * elf/Versions (ld): Add _dl_find_dso_for_object.
38959         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38960         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38961         (dl_open_worker): Use _dl_find_dso_for_object.
38962         * elf/dl-sym.c (do_sym): Likewise.
38963         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38965 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38967         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38968         Syntactic changes only.
38969         (_dl_runtime_profile): Do a tail-call to the resolved function.
38971 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38973         [BZ #13550]
38974         * sysdeps/x86_64/bp-asm.h: Remove file.
38975         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38976         <bp-sym.h> and <bp-asm.h>.
38977         (__clone): Do not use BP_SYM.
38978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38979         <bp-sym.h> and <bp-asm.h>.
38980         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38981         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38982         "bp-asm.h".
38983         (_setjmp): Do not use BP_SYM.
38984         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38985         "bp-asm.h".
38986         (setjmp): Do not use BP_SYM.
38987         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38988         libc_hidden_def.
38989         (mempcpy): Do not use BP_SYM in weak_alias.
38990         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38991         "bp-asm.h".
38992         (strchr): Do not use BP_SYM.
38993         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38994         "bp-asm.h".
38995         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38996         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38997         (_start): Do not use BP_SYM.
38998         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38999         "bp-asm.h".
39000         (strcat): Do not use BP_SYM.
39001         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39002         "bp-asm.h".
39003         (STRCMP): Do not use BP_SYM.
39004         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39005         "bp-asm.h".
39006         (STRCPY): Do not use BP_SYM.
39007         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39008         "bp-asm.h".
39009         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39010         "bp-asm.h".
39011         (FUNCTION): Do not use BP_SYM.
39012         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39013         weak_alias.
39014         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39016 2013-02-17  Andreas Jaeger  <aj@suse.de>
39018         * time/Versions: Sort entries.
39019         * string/Versions: Likewise.
39020         * resolv/Versions: Likewise.
39021         * posix/Versions: Likewise.
39022         * iconv/Versions: Likewise.
39023         * elf/Versions: Likewise.
39024         * wcsmbs/Versions: Likewise.
39026 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39028         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39029         loop termination condition.
39031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39032         variable to calculate EZ.
39033         (__sqr): Likewise.
39035         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39036         the lower precision input.
39038 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
39040         [BZ #13550]
39041         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39042         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39043         (run-via-rtld-prefix): Do not handle %-bp tests.
39044         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39045         (all-object-suffixes): Remove .ob.
39046         (bppfx): Remove variable.
39047         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39048         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39049         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39050         [$(build-bounded) = yes] (libtype.ob): Likewise.
39051         * Makerules (elide-routines.ob): Remove variable.
39052         (do-tests-clean): Do not handle *-bp.out.
39053         (common-mostlyclean): Do not handle *-bp and *-bp.out.
39054         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39055         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39056         (tests): Do not include $(tests-bp.out).
39057         (xtests): Do not include $(xtests-bp.out).
39058         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39059         [$(build-bounded) = yes] ($(addprefix
39060         $(objpfx),$(binaries-bounded))): Remove rule.
39061         ($(objpfx)%-bp.out): Remove rule.
39062         * config.make.in (build-bounded): Remove variable.
39063         * crypt/Makefile [$(build-bounded) = yes]
39064         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39065         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39066         append to variable.
39067         [$(build-bounded) = yes] (install-lib): Likewise.
39068         [$(build-bounded) = yes] (generated): Likewise.
39069         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39070         Remove rule.
39071         * intl/Makefile [$(build-bounded) = yes]
39072         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39073         * math/Makefile [$(build-bounded) = yes]
39074         ($(tests:%=$(objpfx)%-bp): Likewise.
39075         * misc/Makefile [$(build-bounded) = yes]
39076         ($(objpfx)tst-tsearch-bp): Likewise.
39077         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39078         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39079         Remove dependency.
39080         * string/Makefile (o-objects.ob): Remove variable.
39081         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39082         (CFLAGS-.ob): Remove variable.
39083         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39084         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39085         both definitions of variable.
39086         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39087         (ASFLAGS-.ob): Remove variable.
39089 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39091         [BZ #13550]
39092         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39093         Remove __BOUNDED_POINTERS__ from condition.
39094         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39095         * string/bits/string2.h [!__NO_STRING_INLINES &&
39096         !__BOUNDED_POINTERS__]: Likewise.
39097         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39098         Likewise.
39099         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39100         Remove conditional code.
39101         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39102         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39103         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39104         condition.
39106         [BZ #13550]
39107         * csu/libc-start.c: Do not include <bp-sym.h>.
39108         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39109         * elf/dl-open.c: Do not include <bp-sym.h>.
39110         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39111         * math/fegetenv.c: Do not include <bp-sym.h>.
39112         (fegetenv): Do not use BP_SYM in versioned symbols.
39113         * nptl/sysdeps/pthread/bits/libc-lockP.h
39114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39115         <bp-sym.h>.
39116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39117         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39119         (__pthread_mutex_destroy): Likewise.
39120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39121         (__pthread_mutex_lock): Likewise.
39122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39123         (__pthread_mutex_trylock): Likewise.
39124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39125         (__pthread_mutex_unlock): Likewise.
39126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39127         (__pthread_mutexattr_init): Likewise.
39128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39129         (__pthread_mutexattr_destroy): Likewise.
39130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39131         (__pthread_mutexattr_settype): Likewise.
39132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39133         (__pthread_rwlock_init): Likewise.
39134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39135         (__pthread_rwlock_destroy): Likewise.
39136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39137         (__pthread_rwlock_rdlock): Likewise.
39138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39139         (__pthread_rwlock_tryrdlock): Likewise.
39140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39141         (__pthread_rwlock_wrlock): Likewise.
39142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39143         (__pthread_rwlock_trywrlock): Likewise.
39144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39145         (__pthread_rwlock_unlock): Likewise.
39146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39147         (__pthread_key_create): Likewise.
39148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39149         (__pthread_setspecific): Likewise.
39150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39151         (__pthread_getspecific): Likewise.
39152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39153         Likewise.
39154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39155         (_pthread_cleanup_push_defer): Likewise.
39156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39157         (_pthread_cleanup_pop_restore): Likewise.
39158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39159         (pthread_setcancelstate): Likewise.
39160         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39161         <bp-sym.h>.
39162         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39163         (memchr): Do not use BP_SYM in weak_alias.
39164         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39165         (fegetenv): Do not use BP_SYM in versioned symbols.
39166         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39167         (fesetenv): Do not use BP_SYM in versioned symbols.
39168         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39169         (feupdateenv): Do not use BP_SYM in versioned symbols.
39170         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39171         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39172         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39173         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39174         (open64): Do not use BP_SYM in weak_alias.
39175         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39176         (fegetenv): Do not use BP_SYM in versioned symbols.
39177         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39178         (fesetenv): Do not use BP_SYM in versioned symbols.
39179         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39180         (feupdateenv): Do not use BP_SYM in versioned symbols.
39181         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39182         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39183         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39184         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39185         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39186         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39187         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39188         <bp-sym.h>.
39189         (__libc_start_main): Do not use BP_SYM.
39191 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39194         redundant return line.
39195         (norm): Likewise.
39196         (denorm): Likewise.
39197         (dbl_mp): Likewise.
39198         (sub_magnitudes): Likewise.
39199         (__add): Likewise.
39200         (__sub): Likewise.
39201         (__mul): Likewise.
39202         (__inv): Likewise.
39203         (__dvd): Likewise.
39204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39205         (norm): Likewise.
39206         (denorm): Likewise.
39207         (dbl_mp): Likewise.
39208         (sub_magnitudes): Likewise.
39209         (__add): Likewise.
39210         (__sub): Likewise.
39211         (__mul): Likewise.
39212         (__inv): Likewise.
39213         (__dvd): Likewise.
39215         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39216         instead of __mul.
39217         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39218         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39219         (cc32): Likewise.
39221         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39222         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39224         of __mul for squares.
39225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39226         function
39227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39228         Likewise.
39229         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39230         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39232 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39234         [BZ #13550]
39235         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39236         code.
39237         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39238         prototype or function definition.  Rename ubp_* variables and
39239         parameters.  Remove argv definitions conditional on
39240         [__BOUNDED_POINTERS__].
39241         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39242         * elf/dl-runtime.c (_dl_fixup): Likewise.
39243         * include/set-hooks.h (RUN_HOOK): Likewise.
39244         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39245         definition.
39246         * string/strcpy.c (strcpy): Do not use __unbounded.
39247         * sysdeps/generic/frame.h (struct layout): Likewise.
39248         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39249         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39250         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39251         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39252         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39253         (__backtrace): Likewise.
39254         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39255         use __ptrvalue.
39256         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39257         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39258         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39259         Likewise.
39260         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39261         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39262         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39263         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39264         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39265         Do not use __unbounded.
39266         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39267         Rename __unboundedrlimits parameter to rlimits in prototype.
39268         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39269         Do not use __unbounded.
39270         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39271         not use __ptrvalue.
39272         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39273         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39274         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39275         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39276         __ptrvalue or __unbounded.
39277         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39278         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39279         use __unbounded.
39280         (__new_msgctl): Do not use __ptrvalue.
39281         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39282         __unbounded.
39283         (__libc_msgrcv): Do not use __ptrvalue.
39284         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39285         startup_info): Do not use __unbounded.
39286         (__libc_start_main): Likewise.  Rename ubp_* variables and
39287         parameters.  Remove argv definitions conditional on
39288         [__BOUNDED_POINTERS__].
39289         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39290         __ptrvalue.
39291         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39292         use __unbounded.
39293         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39294         or __ptrvalue.
39295         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39296         use __unbounded.
39297         (__new_shmctl): Do not use __ptrvalue.
39298         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39299         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39300         Likewise.
39301         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39302         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39303         (__libc_sigaction): Likewise.
39304         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39305         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39306         Likewise.
39307         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39309 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39311         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39313         * string/mempcpy.c: Implement by calling memcpy.
39315 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39317         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39320         evaluation.
39322         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39323         values in the mantissa.
39325         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39326         minimize writes to Z.
39327         (sub_magnitudes): Simplify code a bit.
39329 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39331         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39332         from the message.  The linker prefixes all warnings with that already.
39334 2013-02-12  Andreas Schwab  <schwab@suse.de>
39336         [BZ #15078]
39337         * posix/regexec.c (extend_buffers): Add parameter min_len.
39338         (check_matching): Pass minimum needed length.
39339         (clean_state_log_if_needed): Likewise.
39340         (get_subexp): Likewise.
39341         * posix/Makefile (tests): Add bug-regex34.
39342         (bug-regex34-ENV): Define.
39343         * posix/bug-regex34.c: New file.
39345         [BZ #11561]
39346         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39347         elements compare against the byte sequence of it, not its name.
39348         * posix/Makefile (tests): Add bug-regex35.
39349         (bug-regex35-ENV): Define.
39350         * posix/bug-regex35.c: New file.
39352 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39354         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39355         comment.
39356         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39357         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39358         (CHECK_EOL): Add undef.
39360 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39362         * bits/stdlib-bsearch.h: New file.
39363         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39364         * stdlib/stdlib.h: Likewise.
39366 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39368         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39369         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39370         declaration.
39371         * manual/search.texi (Array Search Function): Add missing const in
39372         lfind prototype.
39373         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39374         declaration to use rlim_t.
39375         (Basic Scheduling Functions): Remove erroneous const from
39376         sched_getparam prototype.  Remove erroneous * from
39377         sched_get_priority_max and sched_get_priority_min prototypes.
39378         (Resource Usage): Fix summary @comment on vtimes to refer to
39379         sys/vtimes.h rather than vtimes.h.
39380         Add missing *s in vtimes prototype.
39381         (Limits on Resources): Fix ulimit prototype to return long int.
39382         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39383         prototypes to use long int rather than double.
39384         (BSD Random): Fix initstate and setstate to use char *, not void *.
39385         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39386         prototype to make second argument 'struct aiocb64 *const[]'.
39387         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39388         (Status of AIO Operations): Remove erroneous const in aio_return and
39389         aio_return64 prototypes.
39390         (Synchronizing I/O): Fix sync prototype to return void.
39391         * manual/startup.texi (Suboptions): Remove an erroneous const in
39392         getsubopt prototype.
39393         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39394         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39395         use size_t rather than int.
39396         (Scanning All Users): Likewise for getpwent_r.
39397         (Setting Groups): Add missing const to setgroups prototype.
39398         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39399         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39400         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39401         'const void *' rather than 'const char *'.
39402         (Host Address Functions): Likewise for inet_ntop.
39403         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39404         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39405         ssize_t for return value.
39406         (Sending Data): Likewise for send, sendto, sendmsg.
39407         (Socket Option Functions): Add a missing const in setsockopt prototype.
39408         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39409         use wchar_t for the argument.
39410         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39411         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39412         take no arguments.
39413         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39414         double/float/long double for second argument.
39415         Fix return types of significand, significandf, significandl.
39416         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39417         argument in fchmod prototype.
39418         (File Owner): Use uid_t and gid_t in fchown prototype.
39419         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39420         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39421         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39422         use 'const struct dirent **' as argument types to CMP function pointer
39423         argument.
39424         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39425         (File Times): Fix summary magic @comment for struct utimbuf and utime
39426         to refer to utime.h, not time.h.
39427         * manual/string.texi (Argz Functions): Add missing const in
39428         argz_extract and argz_next prototypes.
39429         (Finding Tokens in a String): Likewise for basename.
39430         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39431         (Copying and Concatenation): Fix typo in wmemmove prototype.
39432         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39433         (Signal Stack): Remove erroneous const in sigstack prototype.
39434         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39435         prototype.
39436         (Simple Calendar Time): Likewise for stime.
39437         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39438         prototype.
39439         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39440         say sys/sysctl.h instead.
39441         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39442         and vsyslog prototypes.
39444 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39446         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39447         Remove.
39449 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39451         * misc/sys/mman.h: Fix typo in mremap comment.
39453 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39455         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39456         the '\0' terminator.
39458 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39460         [BZ #13550]
39461         * debug/segfault.c: Don't include <bp-checks.h>.
39462         * sysdeps/generic/bp-checks.h: Remove file.
39463         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39464         (__GETDENTS): Don't use CHECK_N.
39465         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39466         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39467         (__getgroups): Don't use CHECK_N.
39468         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39469         (setgroups): Don't use CHECK_N.
39470         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39471         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39472         (__libc_msgrcv): Don't use CHECK_N.
39473         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39474         (__libc_msgsnd): Don't use CHECK_N.
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39476         <bp-checks.h>.
39477         (__libc_pread): Don't use CHECK_N.
39478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39479         include <bp-checks.h>.
39480         (__libc_pread64): Don't use CHECK_N.
39481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39482         include <bp-checks.h>.
39483         (__libc_pwrite): Don't use CHECK_N.
39484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39485         include <bp-checks.h>.
39486         (__libc_pwrite64): Don't use CHECK_N.
39487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39488         <bp-checks.h>.
39489         (__libc_pread): Don't use CHECK_N.
39490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39491         include <bp-checks.h>.
39492         (__libc_pread64): Don't use CHECK_N.
39493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39494         include <bp-checks.h>.
39495         (__libc_pwrite): Don't use CHECK_N.
39496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39497         include <bp-checks.h>.
39498         (__libc_pwrite64): Don't use CHECK_N.
39499         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39500         (do_pread): Don't use CHECK_N.
39501         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39502         (do_pread64): Don't use CHECK_N.
39503         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39504         (do_pwrite): Don't use CHECK_N.
39505         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39506         (do_pwrite64): Don't use CHECK_N.
39507         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39508         (__libc_readv): Don't use CHECK_N.
39509         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39510         (semop): Don't use CHECK_N.
39511         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39512         <bp-checks.h>.
39513         (semtimedop): Don't use CHECK_N.
39514         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39515         (__libc_pread): Don't use CHECK_N.
39516         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39517         <bp-checks.h>.
39518         (__libc_pread64): Don't use CHECK_N.
39519         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39520         <bp-checks.h>.
39521         (__libc_pwrite): Don't use CHECK_N.
39522         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39523         <bp-checks.h>.
39524         (__libc_pwrite64): Don't use CHECK_N.
39525         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39526         <bp-checks.h>.
39527         (__libc_msgrcv): Don't use CHECK_N.
39528         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39529         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39530         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39531         (__libc_writev): Don't use CHECK_N.
39533 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39535         * string/strcpy.c: Removed unused variable.
39537         * Makeconfig (+sysdep-includes): Define with := rather than =.
39538         Use an existing include/ subdir of each sysdeps dir before it.
39540 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39542         * nscd/connection.c (register_traced_file): Comment function.
39543         [HAVE_INOTIFY] (union __inev): Define.
39544         [HAVE_INOTIFY] (inotify_check_files): New function.
39545         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39546         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39547         clear_db_cache.
39548         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39550 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39552         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39553         loaded if not already and that a failure is permanent.
39555 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39557         [BZ #15006]
39558         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39559         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39561 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39563         [BZ #13550]
39564         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39565         (CHECK_1_NULL_OK): Likewise.
39566         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39567         (__fxstat): Do not use CHECK_1.
39568         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39569         <bp-checks.h>.
39570         (___fxstat64): Do not use CHECK_1.
39571         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39572         <bp-checks.h>.
39573         (__fxstatat): Do not use CHECK_1.
39574         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39575         <bp-checks.h>.
39576         (__fxstatat64): Do not use CHECK_1.
39577         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39578         <bp-checks.h>.
39579         (__fxstat): Do not use CHECK_1.
39580         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39581         <bp-checks.h>.
39582         (__fxstatat): Do not use CHECK_1.
39583         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39584         <bp-checks.h>.
39585         (__getresgid): Do not use CHECK_1.
39586         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39587         <bp-checks.h>.
39588         (__getresuid): Do not use CHECK_1.
39589         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39590         <bp-checks.h>.
39591         (__lxstat): Do not use CHECK_1.
39592         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39593         <bp-checks.h>.
39594         (__old_msgctl): Do not use CHECK_1.
39595         (__new_msgctl): Likewise.
39596         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39597         <bp-checks.h>.
39598         (__new_setrlimit): Do not use CHECK_1.
39599         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39600         <bp-checks.h>.
39601         (__old_shmctl): Do not use CHECK_1.
39602         (__new_shmctl): Likewise.
39603         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39604         <bp-checks.h>.
39605         (__xstat): Do not use CHECK_1.
39606         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39607         (__lxstat): Do not use CHECK_1.
39608         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39609         <bp-checks.h>.
39610         (___lxstat64): Do not use CHECK_1.
39611         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39612         (__old_msgctl): Do not use CHECK_1.
39613         (__new_msgctl): Likewise.
39614         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39615         <bp-checks.h>.
39616         (__gettimeofday): Do not use CHECK_1.
39617         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39618         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39619         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39620         <bp-checks.h>.
39621         (__gettimeofday): Do not use CHECK_1.
39622         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39623         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39624         (__new_shmctl): Do not use CHECK_1.
39625         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39626         <bp-checks.h>.
39627         (do_sigtimedwait): Do not use CHECK_1.
39628         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39629         <bp-checks.h>.
39630         (do_sigwaitinfo): Do not use CHECK_1.
39631         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39632         <bp-checks.h>.
39633         (msgctl): Do not use CHECK_1.
39634         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39635         <bp-checks.h>.
39636         (shmctl): Do not use CHECK_1.
39637         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39638         (ustat): Do not use CHECK_1.
39639         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39640         <bp-checks.h>.
39641         (__fxstat): Do not use CHECK_1.
39642         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39643         <bp-checks.h>.
39644         (__fxstatat): Do not use CHECK_1.
39645         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39646         <bp-checks.h>.
39647         (__lxstat): Do not use CHECK_1.
39648         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39649         <bp-checks.h>.
39650         (__xstat): Do not use CHECK_1.
39651         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39652         (__xstat): Do not use CHECK_1.
39653         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39654         (___xstat64): Do not use CHECK_1.
39656         [BZ #13550]
39657         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39658         definitions.
39659         (CHECK_BOUNDS_HIGH): Likewise.
39660         * string/strcpy.c: Do not include <bp-checks.h>.
39661         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39663 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39665         * nscd/nscd-client.h (__nscd_drop_map_ref):
39666         Add __attribute__ ((unused)).
39667         * nis/nss-nisplus.h (niserr2nss): Likewise.
39669         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39670         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39672         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39673         Remove inline keyword.
39674         * include/rounding-mode.h (round_away): Likewise.
39675         * libio/wfileops.c (adjust_wide_data): Likewise.
39676         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39677         (__m128i_strloadu_tolower): Likewise.
39678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39679         (__m128i_strloadu_tolower): Likewise.
39680         * time/mktime.c (ydhms_diff): Likewise.
39681         * locale/elem-hash.h (elem_hash): Likewise.
39682         * locale/setlocale.c (setdata): Likewise.
39683         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39684         (re_string_wchar_at): Likewise.
39685         (bitset_not, bitset_merge, bitset_mask): Likewise.
39686         [!(__GNUC__ > 3)] (inline): Remove macro.
39687         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39688         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39689         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39690         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39691         * string/memcmp.c (memcmp_bytes): Likewise.
39692         * locale/programs/locarchive.c (compute_hashval): Likewise.
39693         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39694         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39695         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39696         * nss/getent.c (print_rpc, print_protocols): Likewise.
39697         (print_passwd, print_group, print_aliases): Likewise.
39698         * nis/nss-nisplus.h (niserr2nss): Likewise.
39699         * nscd/connections.c (restart_p): Likewise.
39700         Change return type to bool.
39702 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39704         * Makeconfig (all-Depend-files): Add existing
39705         $(sorted-subdirs:=/Depend) files.
39706         (all-subdirs): Remove nss.
39707         * sysdeps/unix/inet/Subdirs: Add it here instead.
39708         * hesiod/Depend: New file.
39710         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39711         instead of calling alloca.
39713         * io/lseek.c (__lseek): Rename to __libc_lseek.
39714         Define __lseek as an alias.
39716         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39718 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39720         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39721         else clause and remove check for non-standard endianness.
39723 2013-02-04  David S. Miller  <davem@davemloft.net>
39725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39727 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39729         [BZ #13550]
39730         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39731         (__ubp_memchr): Remove prototype.
39732         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39733         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39734         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39735         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39736         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39737         Remove alias.
39738         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39739         (__ubp_memchr): Likewise.
39740         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39741         (__ubp_memchr): Likewise.
39742         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39743         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39744         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39745         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39746         CHECK_STRING.
39747         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39748         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39749         (__getcwd): Do not use CHECK_STRING.
39750         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39751         <bp-checks.h>.
39752         (__real_chown): Do not use CHECK_STRING.
39753         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39754         <bp-checks.h>.
39755         (fchownat): Do not use CHECK_STRING.
39756         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39757         CHECK_STRING.
39758         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39759         <bp-checks.h>.
39760         (__lchown): Do not use CHECK_STRING.
39761         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39763         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39764         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39766         include <bp-checks.h>.
39767         (truncate64): Do not use CHECK_STRING.
39768         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39769         <bp-checks.h>.
39770         (__real_chown): Do not use CHECK_STRING.
39771         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39772         <bp-checks.h>.
39773         (__lchown): Do not use CHECK_STRING.
39774         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39775         <bp-checks.h>.
39776         (__chown): Do not use CHECK_STRING.
39777         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39778         <bp-checks.h>.
39779         (truncate64): Do not use CHECK_STRING.
39780         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39781         Likewise.
39782         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39783         (__xmknod): Do not use CHECK_STRING.
39784         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39785         <bp-checks.h>.
39786         (__xmknodat): Do not use CHECK_STRING.
39787         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39788         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39790 2013-02-04  Andreas Schwab  <schwab@suse.de>
39792         [BZ #14142]
39793         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39794         * include/netdb.h: Likewise for h_errno.
39795         * elf/tst-stackguard1.c: Include <tls.h>.
39797 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39799         * elf/link.h (struct link_map): Extend the l_addr comment.
39800         * include/link.h (struct link_map): Likewise.
39802 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39804         [BZ #13550]
39805         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39806         (BOUNDED_1): Remove macro.
39807         * debug/backtrace.c: Don't include <bp-checks.h>.
39808         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39809         (__backtrace): Likewise.
39810         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39811         <bp-checks.h>.
39812         (__backtrace): Don't use BOUNDED_1.
39813         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39814         <bp-checks.h>.
39815         (__backtrace): Don't use BOUNDED_1.
39816         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39817         (__backtrace): Don't use BOUNDED_1.
39818         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39819         (shmat): Don't use BOUNDED_N.
39821 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39823         [BZ #13550]
39824         * sysdeps/generic/bp-start.h: Remove file.
39825         * csu/libc-start.c: Don't include <bp-start.h>.
39826         (LIBC_START_MAIN): Set up __environ directly instead of using
39827         INIT_ARGV_and_ENVIRON.
39828         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39829         <bp-start.h>.
39831         [BZ #13550]
39832         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39833         definitions.
39834         (CHECK_FCNTL): Likewise.
39835         (CHECK_N_PAGES): Likewise.
39837         [BZ #13550]
39838         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39839         definitions.
39840         (CHECK_SIGSET_NULL_OK): Likewise.
39841         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39842         <bp-checks.h>.
39843         (sigpending): Don't use CHECK_SIGSET.
39844         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39845         <bp-checks.h>.
39846         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39847         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39848         <bp-checks.h>.
39849         (do_sigsuspend): Don't use CHECK_SIGSET.
39850         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39851         use CHECK_SIGSET.
39852         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39853         (do_sigwait): Don't use CHECK_SIGSET.
39854         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39855         use CHECK_SIGSET.
39856         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39857         include <bp-checks.h>.
39858         (sigpending): Don't use CHECK_SIGSET.
39859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39860         include <bp-checks.h>.
39861         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39862         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39863         <bp-checks.h>.
39864         (sigpending): Don't use CHECK_SIGSET.
39865         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39866         <bp-checks.h>.
39867         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39869         [BZ #13550]
39870         * sysdeps/generic/bp-semctl.h: Remove file.
39871         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39872         <bp-checks.h> and <bp-semctl.h>.
39873         (__old_semctl): Don't use CHECK_SEMCTL.
39874         (__new_semctl): Likewise.
39875         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39876         and <bp-semctl.h>.
39877         (__old_semctl): Don't use CHECK_SEMCTL.
39878         (__new_semctl): Likewise.
39879         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39880         <bp-checks.h> and <bp-semctl.h>.
39881         (__old_semctl): Don't use CHECK_SEMCTL.
39882         (__new_semctl): Likewise.
39883         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39884         <bp-checks.h> and <bp-semctl.h>.
39885         (semctl): Don't use CHECK_SEMCTL.
39887         [BZ #13550]
39888         * Makerules (elide-bp-thunks): Remove variable.
39889         (elide-routines.oS): Don't use $(elide-bp-thunks).
39890         (elide-routines.os): Likewise.
39891         (elide-routines.o): Likewise.
39892         (elide-routines.op): Likewise.
39893         (elide-routines.og): Likewise.
39894         (objects): Don't use $(bp-thunks).
39895         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39896         include.
39897         (common-generated): Do not add s-proto-bp.d.
39898         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39899         (int): Likewise.
39900         (typ): Likewise.
39901         Do not generate makefile rules for bounded-pointer thunks.
39902         * sysdeps/generic/bp-thunks.h: Remove file.
39903         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39904         * sysdeps/unix/s-proto-bp.S: Likewise.
39906         [BZ #15062]
39907         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39908         parts of result separately when argument is not close to line from
39909         -i to i and one part of argument is small.
39910         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39911         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39912         * math/libm-test.inc (cacos_test): Add more tests.
39913         (casin_test): Likewise.
39914         (casinh_test): Likewise.
39915         * sysdeps/i386/fpu/libm-test-ulps: Update.
39916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39918 2013-01-31  David S. Miller  <davem@davemloft.net>
39920         * po/de.po: Update from translation team.
39922 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39924         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39926 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39928         * configure.in (_AC_PROG_CC_C89): New definition.
39929         * configure: Regenerate.
39931         * configure.in (AC_PROG_CPP): New definition.
39932         * configure: Regenerate.
39934 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39936         * debug/tst-backtrace.h: New file.
39937         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39938         (ret): Remove variable.
39939         (x): Likewise.
39940         (FAIL): Remove macro.
39941         (NO_INLINE): Likewise.
39942         (fn1): Use match function instead of strstr.
39943         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39944         (ret): Remove variable.
39945         (x): Likewise.
39946         (FAIL): Remove macro.
39947         (NO_INLINE): Likewise.
39948         (fn): Use match function instead of strstr.
39949         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39950         (ret): Remove variable.
39951         (x): Likewise.
39952         (FAIL): Remove macro.
39953         (NO_INLINE): Likewise.
39954         (handle_signal): Use match function instead of strstr.
39955         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39956         (ret): Remove variable.
39957         (x): Likewise.
39958         (FAIL): Remove macro.
39959         (NO_INLINE): Likewise.
39960         (handle_signal): Use match function instead of strstr.
39962 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39964         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39966 2013-01-23  David S. Miller  <davem@davemloft.net>
39968         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39969         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39970         argument of CAS if possible.
39971         * sysdeps/sparc/sparc64/bits/atomic.h
39972         (__arch_compare_and_exchange_val_32_acq): Likewise.
39973         (__arch_compare_and_exchange_val_64_acq): Likewise.
39975 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39977         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39978         * sysdeps/posix/ulimit.c: ... this.
39979         Include <limits.h>.
39980         * sysdeps/unix/bsd/ulimit.c: Remove file.
39982 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39984         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39985         (LDFLAGS-tst-array5): Likewise.
39987 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39989         [BZ #15036]
39990         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39991         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39992         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39993         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39995 2013-01-21  David S. Miller  <davem@davemloft.net>
39997         * sysdeps/sparc/backtrace.c: New file.
39998         * sysdeps/sparc/sparc32/backtrace.h: New file.
39999         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40000         * sysdeps/sparc/sparc64/backtrace.h: New file.
40001         * sysdeps/sparc/sparc64/backtrace.c: Delete.
40002         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40003         -funwind-tables.
40005 2013-01-21  Andreas Schwab  <schwab@suse.de>
40007         [BZ #15020]
40008         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40009         closed its stdout.
40011 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
40013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40014         "mpa2.h".
40015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40017 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
40018             Mark Mitchell  <mark@codesourcery.com>
40019             Tom de Vries  <tom@codesourcery.com>
40020             Paul Pluzhnikov  <ppluzhnikov@google.com>
40022         * debug/tst-backtrace2.c: New file.
40023         * debug/tst-backtrace3.c: Likewise.
40024         * debug/tst-backtrace4.c: Likewise.
40025         * debug/tst-backtrace5.c: Likewise.
40026         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40027         (CFLAGS-tst-backtrace3.c): Likewise.
40028         (CFLAGS-tst-backtrace4.c): Likewise.
40029         (CFLAGS-tst-backtrace5.c): Likewise.
40030         (LDFLAGS-tst-backtrace2): Likewise.
40031         (LDFLAGS-tst-backtrace3): Likewise.
40032         (LDFLAGS-tst-backtrace4): Likewise.
40033         (LDFLAGS-tst-backtrace5): Likewise.
40034         (tests): Add new tests tst-backtrace2, tst-backtrace3,
40035         tst-backtrace4 and tst-backtrace5.
40037 2013-01-18  Anton Blanchard  <anton@samba.org>
40038             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40040         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40041         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40042         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40043         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40045         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40046         "+r" and remove output regs list as redundant.  Add explicit inline
40047         asm to specify register of return val to work around compiler codegen
40048         bug.  Remove (int) cast on return value.  Add return type parameter to
40049         use in macro so that this macro does not truncate return value for
40050         64-bit values.
40051         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40052         pass to INTERNAL_VSYSCALL_NCS.
40053         (INLINE_VSYSCALL): Add 'long int' as return type to
40054         INTERNAL_VSYSCALL_NCS macro invocation.
40055         (INTERNAL_VSYSCALL): Add 'long int' as return type to
40056         INTERNAL_VSYSCALL_NCS macro invocation.
40057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40059 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40061         [BZ #14496]
40062         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40063         Fix application of SIMD FP exception mask.
40065         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40066         mp_no from a power of two.
40067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40068         __mpexp_twomm1.  Use __pow_mp.
40070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40071         multiplication.
40073 2013-01-17  David S. Miller  <davem@davemloft.net>
40075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40077 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40079         [BZ #15023]
40080         * include/complex.h: Condition contents on [!_COMPLEX_H].
40081         (__kernel_casinhf): New prototype.
40082         (__kernel_casinh): Likewise.
40083         (__kernel_casinhl): Likewise.
40084         * math/Makefile (libm_calls): Add k_casinh.
40085         * math/k_casinh.c: New file.
40086         * math/k_casinhf.c: Likewise.
40087         * math/k_casinhl.c: Likewise.
40088         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40089         finite nonzero arguments.
40090         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40091         finite nonzero arguments.
40092         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40093         finite nonzero arguments.
40094         * math/s_casinh.c: Do not include <float.h>.
40095         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40096         * math/s_casinhf.c: Do not include <float.h>.
40097         (__casinhf): Move code for finite nonzero arguments to
40098         k_casinhf.c.
40099         * math/s_casinhl.c: Do not include <float.h>.
40100         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40101         redefine.
40102         (__casinhl): Move code for finite nonzero arguments to
40103         k_casinhl.c.
40104         * math/libm-test.inc (cacos_test): Add more tests.
40105         * sysdeps/i386/fpu/libm-test-ulps: Update.
40106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40108 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40110         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40111         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40112         [!HAVE_MREMAP]: Remove [defined linux] case.
40113         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40115 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40117         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40119 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40121         * elf/elf.h (R_386_SIZE32): New relocation.
40122         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40123         R_386_SIZE32.
40124         (elf_machine_rela): Likewise.
40125         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40126         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40128 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40130         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40131         (FP_FAST_FMA): Do not define.
40132         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40133         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40134         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40135         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40136         !_SOFT_FLOAT]: Likewise.
40137         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40138         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40139         value.
40140         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40141         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40142         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40144         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40145         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40146         file.
40148 2013-01-16  Andreas Schwab  <schwab@suse.de>
40150         [BZ #14327]
40151         * include/stdlib.h (__mktemp): Add declaration.
40152         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40153         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40155 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40157         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40158         definitions.
40159         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40160         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40161         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40162         definitions here.
40163         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40164         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40165         definitions.
40166         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40167         and ONE.
40168         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40169         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40170         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40171         definitions.
40172         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40173         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40174         definitions.
40175         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40177         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40179 2013-01-15  David S. Miller  <davem@davemloft.net>
40181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40182         trunc{,f} to libm-sysdep_routes.
40183         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40185         file.
40186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40188         file.
40189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40190         file.
40191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40193         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40194         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40195         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40196         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40197         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40198         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40201         nearbyint{,f} to libm-sysdep_routes.
40202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40204         New file.
40205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40206         file.
40207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40208         New file.
40209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40210         file.
40211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40213         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40214         file.
40215         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40216         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40217         file.
40218         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40219         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40220         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40222         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40223         libc_feholdexcept and libc_fesetenv.
40225 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40227         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40229 2013-01-14  David S. Miller  <davem@davemloft.net>
40231         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40232         (SPARC_ASM_VIS2_IFUNC): Likewise.
40233         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40235         use of 'siam' instruction.
40236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40237         Likewise.
40238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40239         Likewise.
40240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40241         Likewise.
40242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40247         file.
40248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40249         file.
40250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40251         file.
40252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40253         file.
40254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40259         new VIS2 routines.
40260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40263         Likewise.
40264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40269         routines to libm-sysdep_routines.
40270         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40273         fdim/fdimf to libm-sysdep_routines.
40274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40275         file.
40276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40278         file.
40279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40282         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40283         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40284         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40285         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40287 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40289         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40290         to optimize copies.
40292         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40297         local variable MPTWO.
40298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40299         Likewise.
40301 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40303         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40304         GLOB_NOESCAPE.
40306 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40308         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40310 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40312         * manual/pattern.texi (glob_t): Document gl_flags.
40313         (glob64_t): Likewise.
40315 2013-01-11  David S. Miller  <davem@davemloft.net>
40317         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40318         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40319         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40320         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40321         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40322         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40323         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40324         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40325         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40326         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40327         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40328         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40329         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40331         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40332         sparc V9 rather than using V8 code.
40333         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40334         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40336         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40337         Move to...
40338         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40339         Here.
40341 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40343         [BZ #14941]
40344         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40345         not in the main loop.
40346         * configure: Regenerated.
40348 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40350         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40351         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40352         to just #else.
40353         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40354         [!__GLIBC_HAVE_LONG_LONG] case.
40355         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40356         condition to just #else.
40357         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40358         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40359         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40360         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40361         unconditional.
40362         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40363         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40364         #elif condition to just #else.
40365         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40366         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40367         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40368         #elif condition to just #else.
40370 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40372         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40373         (EF_MIPS_ARCH_64): Fix value.
40374         (EF_MIPS_ARCH_32R2): New.
40375         (EF_MIPS_ARCH_64R2): New.
40377 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40379         * Makeconfig (+link-pie-before-libc): New.
40380         (+link-pie-after-libc): Likewise.
40381         (+link-pie-tests): Likewise.
40382         (+link-pie): Rewritten.
40383         (link-before-libc): Remove $(config-LDFLAGS).
40384         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40385         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40386         (config-LDFLAGS): Renamed to ...
40387         (rtld-LDFLAGS): This.
40388         (rtld-tests-LDFLAGS): New macro.
40389         (link-libc-rpath-link): Likewise.
40390         (link-libc-tests-rpath-link): Likewise.
40391         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40392         (link-libc): Prepand $(link-libc-rpath-link).
40393         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40394         (test-program-prefix): New macro.
40395         (test-via-rtld-prefix): Likewise.
40396         (test-program-cmd): Likewise.
40397         (host-test-program-cmd): Likewise.
40398         * Makefile ($(common-objpfx)testrun.sh): Replace
40399         $(run-program-prefix) with $(test-program-prefix).
40400         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40401         $(rtld-LDFLAGS).
40402         ($(common-objpfx)shlib.lds): Likewise.
40403         (build-module-helper): Likewise.
40404         ($(common-objpfx)format.lds): Likewise.
40405         * Rules (binaries-pie-tests): New.
40406         (binaries-pie-notests): Likewise.
40407         (binaries-pie): Rewritten.
40408         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40409         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40410         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40411         (make-test-out): Replace $(host-built-program-cmd) with
40412         $(host-test-program-cmd).
40413         * config.make.in (build-hardcoded-path-in-tests): New variable.
40414         * configure.in (--enable-hardcoded-path-in-tests): New configure
40415         option.
40416         (hardcoded_path_in_tests): New AC_SUBST.
40417         * configure: Regenerated.
40418         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40419         $(built-program-cmd) with $(test-program-cmd).
40420         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40421         (test_program_cmd): This.
40422         * elf/Makefile ($(objpfx)order.out): Run test with
40423         $(test-program-prefix).
40424         ($(objpfx)order2.out): Likewise.
40425         ($(objpfx)tst-initorder.out): Likewise.
40426         ($(objpfx)tst-initorder2.out): Likewise.
40427         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40428         $(test-program-cmd).
40429         ($(objpfx)tst-array1-static.out): Likewise.
40430         ($(objpfx)tst-array2.out): Likewise.
40431         ($(objpfx)tst-array3.out): Likewise.
40432         ($(objpfx)tst-array4.out): Likewise.
40433         ($(objpfx)tst-array5.out): Likewise.
40434         ($(objpfx)tst-array5-static.out): Likewise.
40435         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40436         $(test-program-cmd).
40437         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40438         $(run-program-prefix) with $(test-program-prefix).
40439         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40440         (test_program_prefix): This.
40441         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40442         $(run-program-prefix) with $(test-program-prefix).
40443         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40444         (test_program_prefix): This.
40445         * iconvdata/tst-tables.sh: Likewise.
40446         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40447         $(run-program-prefix) with $(test-program-prefix).
40448         ($(objpfx)tst-translit.out): Likewise.
40449         ($(objpfx)tst-gettext2.out): Likewise.
40450         ($(objpfx)tst-gettext4.out): Likewise.
40451         ($(objpfx)tst-gettext6.out): Likewise.
40452         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40453         (test_program_prefix): This.
40454         * intl/tst-gettext2.sh: Likewise.
40455         * intl/tst-gettext4.sh  Likewise.
40456         * intl/tst-gettext6.sh: Likewise.
40457         * intl/tst-translit.sh: Likewise.
40458         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40459         with $(test-program-cmd).
40460         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40461         $(run-program-prefix) with $(test-program-prefix).
40462         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40463         (test_program_prefix): This.
40464         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40465         $(run-program-prefix) with $(test-program-prefix).
40466         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40467         (test_program_prefix): This.
40468         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40469         * posix/Makefile ($(objpfx)globtest.out): Replace
40470         $(run-via-rtld-prefix) and $(test-wrapper) with
40471         $(test-program-prefix) and $(test-via-rtld-prefix).
40472         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40473         $(test-program-prefix).
40474         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40475         $(host-test-program-cmd).
40476         (tst-spawn-ARGS): Likewise.
40477         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40478         $(test-program-prefix).
40479         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40480         (test_via_rtld_prefix): This.
40481         (test_wrapper): Renamed to ...
40482         (test_program_prefix): This.
40483         (run_program_prefix): Replaced by test_program_prefix.
40484         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40485         (test_program_prefix): This.
40486         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40487         with $(host-test-program-cmd).
40488         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40489         $(run-program-prefix) with $(test-program-prefix).
40490         ($(objpfx)tst-printf.out): Likewise.
40491         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40492         $(test-program-cmd).
40493         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40494         (test_program_prefix): This.
40495         * stdio-common/tst-unbputc.sh: Likewise.
40496         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40497         $(run-program-prefix) with $(test-program-prefix).
40498         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40499         (test_program_prefix): This.
40500         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40501         $(built-program-cmd) with $(test-program-cmd).
40503 2013-01-11  Andreas Jaeger  <aj@suse.de>
40505         [BZ #15003]
40506         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40507         value. Sync with Linux 3.7.
40509 2013-01-10  David S. Miller  <davem@davemloft.net>
40511         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40512         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40513         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40515 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40517         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40518         never set.
40519         * configure: Regenerated.
40521 2013-01-10  David S. Miller  <davem@davemloft.net>
40523         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40524         sparc V9 rather than using V8 code.
40525         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40526         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40528 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40530         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40531         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40532         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40533         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40534         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40535         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40536         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40537         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40538         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40539         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40540         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40541         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40542         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40543         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40544         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40545         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40546         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40547         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40548         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40549         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40550         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40551         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40552         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40553         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40554         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40555         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40556         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40558 2013-01-10  David S. Miller  <davem@davemloft.net>
40560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40562 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40564         * posix/Makefile (tests-static): New variable.
40565         (tests): Add $(tests-static).
40566         (tst-exec-static-ARGS): New variable.
40567         (tst-spawn-static-ARGS): Likewise.
40568         * posix/tst-exec-static.c: New file.
40569         * posix/tst-spawn-static.c: Likewise.
40570         * posix/tst-exec.c: Support run directly.
40571         * posix/tst-spawn.c: Likewise.
40573 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40575         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40576         long.
40577         * math/bits/mathcalls.h (llrint): Likewise.
40578         (llround): Likewise.
40579         * stdlib/stdlib.h (struct drand48_data): Likewise.
40580         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40581         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40582         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40583         Likewise.
40584         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40585         Likewise.
40586         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40587         (elf_greg_t): Likewise.
40588         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40589         (__jmp_buf): Likewise.
40590         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40591         definitions.
40592         (llrint): Likewise, for all definitions.
40593         (llrintl): Likewise.
40595         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40596         Remove [__GNUC__] condition.
40597         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40598         condition to just [__USE_ISOC99].
40599         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40601 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40603         [BZ #14200]
40604         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40605         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40606         defined.
40607         (_POSIX_V6_ILP32_OFF32): Likewise.
40608         (_XBS5_ILP32_OFF32): Likewise.
40609         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40610         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40612 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40614         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40616         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40617         doubles __mpexp_twomm1.  Adjust usage.
40618         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40619         Remove.
40621 2013-01-10  Andreas Schwab  <schwab@suse.de>
40623         [BZ #14964]
40624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40625         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40627 2013-01-09  David S. Miller  <davem@davemloft.net>
40629         [BZ #15003]
40630         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40631         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40632         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40633         (TCP_FASTOPEN): Define.
40634         (tcp_repair_opt): New structure.
40635         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40636         enum values.
40637         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40638         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40639         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40640         (tcp_cookie_transactions): New structure.
40642 2013-01-09  Anton Blanchard  <anton@samba.org>
40644         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40645         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40647         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40649 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40651         * include/features.h (__USE_ANSI): Remove.
40653 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40655         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40657         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40659 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40661         * sysdeps/s390/fpu/libm-test-ulps: Update.
40663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40665         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40666         (__acr): Likewise.
40667         (__cpy): Likewise.
40668         (norm): Likewise.
40669         (denorm): Likewise.
40670         (__mp_dbl): Likewise.
40671         (__dbl_mp): Likewise.
40672         (add_magnitudes): Likewise.
40673         (sub_magnitudes): Likewise.
40674         (__add): Likewise.
40675         (__sub): Likewise.
40676         (__mul): Likewise.
40677         (__inv): Likewise.
40678         (__dvd): Likewise.
40679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40680         (__acr): Likewise.
40681         (__cpy): Likewise.
40682         (norm): Likewise.
40683         (denorm): Likewise.
40684         (__mp_dbl): Likewise.
40685         (__dbl_mp): Likewise.
40686         (add_magnitudes): Likewise.
40687         (sub_magnitudes): Likewise.
40688         (__add): Likewise.
40689         (__sub): Likewise.
40690         (__mul): Likewise.
40691         (__inv): Likewise.
40692         (__dvd): Likewise.
40693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40694         (__acr): Likewise.
40695         (__cpy): Likewise.
40696         (norm): Likewise.
40697         (denorm): Likewise.
40698         (__mp_dbl): Likewise.
40699         (__dbl_mp): Likewise.
40700         (add_magnitudes): Likewise.
40701         (sub_magnitudes): Likewise.
40702         (__add): Likewise.
40703         (__sub): Likewise.
40704         (__mul): Likewise.
40705         (__inv): Likewise.
40706         (__dvd): Likewise.
40708 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40710         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40711         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40712         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40713         2 && __USE_EXTERN_INLINES]: Likewise.
40715 2013-01-08  Andreas Jaeger  <aj@suse.de>
40717         [BZ# 14985]
40718         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40719         Remove.
40720         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40721         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40723 2013-01-07  Anton Blanchard  <anton@samba.org>
40725         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40726         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40727         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40728         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40729         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40730         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40731         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40732         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40734         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40735         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40736         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40738         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40739         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40740         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40741         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40743         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40744         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40745         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40746         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40747         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40748         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40749         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40750         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40751         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40752         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40754         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40755         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40757         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40758         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40759         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40760         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40761         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40763         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40765         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40767         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40769 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40771         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40772         (__MALLOC_PMT): Likewise.
40773         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40774         [__GNUC__], only on [_LIBC].
40775         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40776         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40777         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40778         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40779         forward declaration.
40780         (realloc_hook_ini): Likewise.
40781         (memalign_hook_ini): Likewise.
40782         (__libc_memalign): Do not use __MALLOC_PMT in variable
40783         declaration.
40784         (__libc_valloc): Likewise.
40785         (__libc_pvalloc): Likewise.
40786         (__libc_calloc): Likewise.
40787         (__posix_memalign): Likewise.
40789         [BZ #14996]
40790         * math/s_casinh.c: Include <float.h>.
40791         (__casinh): Do not do computation with squaring and square root
40792         for large arguments.
40793         * math/s_casinhf.c: Include <float.h>.
40794         (__casinhf): Do not do computation with squaring and square root
40795         for large arguments.
40796         * math/s_casinhl.c: Include <float.h>.
40797         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40798         (__casinhl): Do not do computation with squaring and square root
40799         for large arguments.
40800         * math/libm-test.inc (casin_test): Add more tests.
40801         (casinh_test): Likewise.
40802         * sysdeps/i386/fpu/libm-test-ulps: Update.
40803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40805 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40807         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40808         (__x86_64_raw_data_cache_size): Likewise.
40809         (__x86_64_data_cache_size_half): Likewise.
40810         (__x86_64_raw_data_cache_size_half): Likewise.
40811         (__x86_64_shared_cache_size): Likewise.
40812         (__x86_64_raw_shared_cache_size): Likewise.
40813         (__x86_64_shared_cache_size_half): Likewise.
40814         (__x86_64_raw_shared_cache_size_half): Likewise.
40815         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40816         to ...
40817         (__x86_data_cache_size): This.
40818         (__x86_64_raw_data_cache_size): Renamed to ...
40819         (__x86_raw_data_cache_size): This.
40820         (__x86_64_data_cache_size_half): Renamed to ...
40821         (__x86_data_cache_size_half): This.
40822         (__x86_64_raw_data_cache_size_half): Renamed to ...
40823         (__x86_raw_data_cache_size_half): This.
40824         (__x86_64_shared_cache_size): Renamed to ...
40825         (__x86_shared_cache_size): This.
40826         (__x86_64_raw_shared_cache_size): Renamed to ...
40827         (__x86_raw_shared_cache_size): This.
40828         (__x86_64_shared_cache_size_half): Renamed to ...
40829         (__x86_shared_cache_size_half): This.
40830         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40831         (__x86_raw_shared_cache_size_half): This.
40832         * sysdeps/x86_64/memcpy.S: Updated.
40833         * sysdeps/x86_64/memset.S: Likewise.
40834         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40835         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40836         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40838 2013-01-04  David S. Miller  <davem@davemloft.net>
40840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40842 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40844         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40845         1 to avoid redefinition warning.
40846         (__USE_GNU): Don't define.
40847         (init_signaling_nan): Protoize.
40849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40851 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40853         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40855         (__cpymn): Likewise.
40856         (norm): Remove commented code.
40857         (denorm): Likewise.
40858         (__mp_dbl): Likewise.
40859         (__inv): Likewise.
40860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40861         (__cpymn): Likewise.
40862         (norm): Remove commented code.
40863         (denorm): Likewise.
40864         (__mp_dbl): Likewise.
40865         (__inv): Likewise.
40867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40868         mp_no value for 1.0 and 2.0.
40869         (norm): Use RADIXI instead of radixi.d.
40870         (denorm): Likewise.
40871         (__mul): Use 0.0 instead of zero.d.
40872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40873         mp_no value for 1.0 and 2.0.
40874         (norm): Use RADIXI instead of radixi.d.
40875         (denorm): Likewise.
40876         (__mul): Use 0.0 instead of zero.d.
40878 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40880         [BZ #14994]
40881         * math/s_casinh.c (__casinh): Reduce finite argument to first
40882         quadrant then set signs of results at the end.
40883         * math/s_casinhf.c (__casinhf): Likewise.
40884         * math/s_casinhl.c (__casinhl): Likewise.
40885         * math/libm-test.inc (casin_test): Add more tests.
40886         (casinh_test): Likewise.
40887         * sysdeps/i386/fpu/libm-test-ulps: Update.
40888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40890 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40892         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40894         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40896         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40897         declarations.
40898         (denorm): Likewise.
40899         (__mp_dbl): Likewise.
40900         (__inv): Likewise.
40902         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40903         and adjust the header comment.
40905         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40906         variable name from declaration.
40908 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40911         Initialize COMMON_CPUID_INDEX_7 element.
40912         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40913         (CPUID_RTM): Likewise.
40914         (HAS_RTM): Likewise.
40915         (COMMON_CPUID_INDEX_7): New enum.
40917 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40919         [BZ #14981]
40920         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40921         size is zero, record memory as freed.
40923 2013-01-03  Andreas Jaeger  <aj@suse.de>
40925         * po/ia.po: Add new Interlingua translation.
40927 2012-01-03  Allan McRae  <allan@archlinux.org>
40929         * locale/programs/localedef.c: Fix description of '--posix' flag.
40931 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40933         * NEWS: Update dates in second copyright notice.
40934         * README: Update copyright dates in example.
40935         * manual/libc.texinfo: Update copyright dates.
40936         * scripts/test-installation.pl: Update copyright date in --version
40937         output.
40939         * hurd/ctty-input.c: Fix copyright notice formatting.
40940         * hurd/ctty-output.c: Likewise.
40941         * hurd/dtable.c: Likewise.
40942         * hurd/hurd-raise.c: Likewise.
40943         * hurd/hurdprio.c: Likewise.
40944         * hurd/msgportdemux.c: Likewise.
40945         * misc/sys/file.h: Likewise.
40946         * misc/sys/ioctl.h: Likewise.
40947         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40948         * sysdeps/mach/hurd/chdir.c: Likewise.
40949         * sysdeps/mach/hurd/fchdir.c: Likewise.
40950         * sysdeps/mach/hurd/rename.c: Likewise.
40951         * sysdeps/mach/hurd/rmdir.c: Likewise.
40952         * sysdeps/mach/hurd/seekdir.c: Likewise.
40953         * sysdeps/mach/hurd/setsid.c: Likewise.
40954         * sysdeps/posix/wait3.c: Likewise.
40956         * All files with FSF copyright notices: Update copyright dates
40957         using scripts/update-copyrights.
40958         * intl/plural.c: Regenerated.
40959         * locale/programs/charmap-kw.h: Likewise.
40960         * locale/programs/locfile-kw.h: Likewise.
40962 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40964         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40965         four values.
40967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40968         calculation loop and add branch prediction.
40970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40971         check access beyond bounds of m1np.
40973         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40974         MPTWO.
40975         (__inv): Remove local variable MPTWO to use the global
40976         constant.
40977         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40979         variable MPTWO.
40980         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40981         MP3HALFS static const.
40983 2013-01-01  David S. Miller  <davem@davemloft.net>
40985         * po/ca.po: Update from translation team.
40987 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40989         * scripts/update-copyrights: New file.
40990         * Makeconfig: Reformat copyright notice.
40991         * ctype/ctype.h: Likewise.
40992         * debug/swprintf_chk.c: Likewise.
40993         * elf/dl-cache.c: Likewise.
40994         * elf/dl-debug.c: Likewise.
40995         * elf/dl-object.c: Likewise.
40996         * grp/initgroups.c: Likewise.
40997         * hurd/Makefile: Likewise.
40998         * hurd/hurd/signal.h: Likewise.
40999         * hurd/hurdfault.c: Likewise.
41000         * hurd/hurdioctl.c: Likewise.
41001         * hurd/hurdlookup.c: Likewise.
41002         * hurd/intr-msg.c: Likewise.
41003         * iconv/gconv_open.c: Likewise.
41004         * libio/swprintf.c: Likewise.
41005         * locale/lc-ctype.c: Likewise.
41006         * locale/nl_langinfo.c: Likewise.
41007         * mach/Machrules: Likewise.
41008         * mach/Makefile: Likewise.
41009         * malloc/obstack.h: Likewise.
41010         * manual/Makefile: Likewise.
41011         * manual/tsort.awk: Likewise.
41012         * misc/bits/stab.def: Likewise.
41013         * nis/nis_print_group_entry.c: Likewise.
41014         * nis/nis_table.c: Likewise.
41015         * nis/nss_compat/compat-pwd.c: Likewise.
41016         * nis/nss_compat/compat-spwd.c: Likewise.
41017         * po/Makefile: Likewise.
41018         * posix/fnmatch.c: Likewise.
41019         * posix/regex.h: Likewise.
41020         * resolv/Makefile: Likewise.
41021         * resolv/nss_dns/dns-network.c: Likewise.
41022         * resolv/res_hconf.c: Likewise.
41023         * scripts/gen-sorted.awk: Likewise.
41024         * soft-fp/soft-fp.h: Likewise.
41025         * stdio-common/printf.h: Likewise.
41026         * stdlib/monetary.h: Likewise.
41027         * stdlib/random.c: Likewise.
41028         * stdlib/random_r.c: Likewise.
41029         * sysdeps/generic/Makefile: Likewise.
41030         * sysdeps/gnu/Makefile: Likewise.
41031         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41032         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41033         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41035         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41039         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41040         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41041         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41042         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41043         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41044         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41045         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41046         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41047         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41048         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41051         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41052         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41053         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41059         * sysdeps/mach/hurd/errnos.awk: Likewise.
41060         * sysdeps/mach/hurd/fork.c: Likewise.
41061         * sysdeps/mach/hurd/getcwd.c: Likewise.
41062         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41063         * sysdeps/mach/hurd/mmap.c: Likewise.
41064         * sysdeps/mach/hurd/utimes.c: Likewise.
41065         * sysdeps/mach/hurd/xmknod.c: Likewise.
41066         * sysdeps/posix/profil.c: Likewise.
41067         * sysdeps/posix/readdir_r.c: Likewise.
41068         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41069         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41070         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41071         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41073         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41074         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41075         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41077         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41078         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41079         * sysdeps/pthread/lio_listio.c: Likewise.
41080         * sysdeps/sparc/dl-procinfo.h: Likewise.
41081         * sysdeps/unix/i386/sysdep.S: Likewise.
41082         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41083         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41084         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41085         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41087         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41088         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41089         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41090         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41091         * sysdeps/wordsize-32/divdi3.c: Likewise.
41092         * time/sys/time.h: Likewise.
41093         * wcsmbs/Makefile: Likewise.
41095 2013-01-01  David S. Miller  <davem@davemloft.net>
41097         * po/fr.po: Update from translation team.
41099         * catgets/gencat.c: Update copyright year.
41100         * csu/version.c: Likewise.
41101         * debug/catchsegv.sh: Likewise.
41102         * debug/pcprofiledump.c: Likewise.
41103         * debug/xtrace.sh: Likewise.
41104         * elf/ldconfig.c: Likewise.
41105         * elf/ldd.bash.in: Likewise.
41106         * elf/pldd.c: Likewise.
41107         * elf/sotruss.ksh: Likewise.
41108         * elf/sprof.c: Likewise.
41109         * iconv/iconv_prog.c: Likewise.
41110         * iconv/iconvconfig.c: Likewise.
41111         * locale/programs/locale.c: Likewise.
41112         * locale/programs/localedef.c: Likewise.
41113         * login/programs/pt_chown.c: Likewise.
41114         * malloc/memusage.sh: Likewise.
41115         * malloc/memusagestat.c: Likewise.
41116         * malloc/mtrace.pl: Likewise.
41117         * nscd/nscd.c: Likewise.
41118         * nss/getent.c: Likewise.
41119         * nss/makedb.c: Likewise.
41120         * posix/getconf.c: Likewise.
41122 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41124         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41125         numbers.
41127 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41129         * math/bits/mathcalls.h (modf): Use __nonnull.
41131 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41133         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41134         (split): Use macro CN instead of the bare value.
41135         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41136         could be used.
41137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41138         instead of the bare value.
41139         (power1): Likewise.
41141 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41144         __ATAN_TWOM.
41145         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41147         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41148         their values.
41149         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41150         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41151         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41152         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41154 2012-12-28  Andreas Jaeger  <aj@suse.de>
41156         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41157         values are from Linux 3.7.
41159         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41160         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41162 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41164         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41165         TRUE case.
41167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41168         (norm): Likewise.
41169         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41170         variables with preprocessor constants.
41171         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41172         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41173         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41175 2012-12-27  Bruno Haible  <bruno@clisp.org>
41177         [BZ #14317]
41178         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41179         only if needed.
41181 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41184         and use variable directly.
41185         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41187         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41188         MPONE.
41189         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41190         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41191         variable MPONE.
41192         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41194         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41195         include directive.  Remove local variable MPONE.
41196         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41197         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41198         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41200 2012-12-25  David S. Miller  <davem@davemloft.net>
41202         * version.h (RELEASE): Set to "development".
41203         (VERSION): Set to "2.17.90".
41204         * NEWS: Add 2.18 section.
41206 2012-12-21  David S. Miller  <davem@davemloft.net>
41208         * po/hr.po: Update from translation team.
41210 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41212         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41214 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41216         * NEWS:  Mention new memcpy for MIPS.
41218 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41220         * manual/contrib.texi (Contributors): Spelling correction.
41222 2012-12-15  David S. Miller  <davem@davemloft.net>
41224         * po/ru.po: Update from translation team.
41226 2012-12-13  David S. Miller  <davem@davemloft.net>
41228         * NEWS: Mention IFUNC testsuite enhancements.
41230         * po/pl.po: Update from translation team.
41231         * po/bg.po: Likewise.
41233         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41234         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41236 2012-12-11  David S. Miller  <davem@davemloft.net>
41238         * po/sv.po: Update from translation team.
41240         * po/vi.po: Update from translation team.
41242         * po/cs.po: Update from translation team.
41244         * po/de.po: Update from translation team.
41245         * po/eo.po: Likewise.
41246         * po/nl.po: Likewise.
41248 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41250         [BZ #14246]
41251         * manual/argp.texi (Argp Helper Functions): Move node to follow
41252         Argp Parsing State.
41254         [BZ #14872]
41255         * manual/conf.texi (Limits on File System Capacity): Mention if
41256         terminating null is included in the max size.
41258 2012-12-10  Andreas Jaeger  <aj@suse.de>
41260         * po/cs.po: Update from translation team.
41262 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41264         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41265         void pointer and cast to uintptr_t.
41266         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41267         path.
41268         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41269         * sysdeps/s390/s390-64/memset.S: Likewise.
41271 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41273         [BZ #14833]
41274         * menual/message.texi (Message Translation): Fix typos.
41275         (Helper programs for gettext): Likewise.
41277 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41279         [BZ #14898]
41280         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41281         Change to -1.
41283 2012-12-07  David S. Miller  <davem@davemloft.net>
41285         * po/libc.pot: Update.
41287 2012-12-07  Richard Henderson  <rth@redhat.com>
41289         [BZ #10114]
41290         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41291         normal/normal case to before the switch.
41292         (_FP_DIV): Likewise.
41294 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41295             Mike Frysinger  <vapier@gentoo.org>
41297         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41298         check for __NR_fadvise64_64.
41300 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41302         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41303         0, not just to plain "0" as a statement.
41304         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41305         with cw.
41307 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41309         * NEWS: Use sourceware.org in Bugzilla URL.
41311 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41314         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41316         * stdio-common/tst-put-error.c (do_test): Add newline to the
41317         padded test to ensure flush.
41319 2012-12-05  Jeff Law  <law@redhat.com>
41321         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41323 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41325         * README: Don't refer to ports add-on as distributed separately.
41326         Mention AArch64 in list of systems supported in the ports add-on.
41328         * LICENSES: Add more non-FSF copyright and license notices.
41330         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41331         ((unused)).
41333         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41335         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41336         10000 as width of padded output.
41338 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41340         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41343         variable LX with __attribute__ ((unused)).
41344         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41345         Likewise.
41346         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41349         with __attribute__ ((unused)).
41351 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41353         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41355 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41357         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41358         (CFLAGS-nldbl-acos.c): New variable.
41359         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41360         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41361         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41362         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41363         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41364         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41365         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41366         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41367         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41368         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41369         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41370         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41371         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41372         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41373         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41374         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41375         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41376         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41377         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41378         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41379         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41380         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41381         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41382         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41383         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41384         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41385         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41386         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41387         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41388         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41389         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41390         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41391         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41392         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41393         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41394         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41395         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41396         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41397         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41398         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41399         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41400         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41401         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41402         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41403         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41404         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41405         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41406         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41407         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41408         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41409         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41410         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41411         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41412         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41413         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41414         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41415         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41416         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41417         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41418         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41419         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41420         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41421         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41422         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41423         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41424         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41425         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41426         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41427         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41428         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41429         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41430         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41431         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41432         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41433         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41434         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41435         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41436         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41437         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41438         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41439         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41440         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41441         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41442         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41443         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41444         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41445         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41446         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41447         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41448         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41449         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41450         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41451         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41452         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41453         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41454         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41455         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41458         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41460         [BZ #14914]
41461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41462         whole low double instead of just low 47 bits when splitting values
41463         into two parts.
41465 2012-12-03  Allan McRae  <allan@archlinux.org>
41467         * manual/stdio.texi (Predefined Printf Handlers): Remove
41468         @hsep and @vsep usage.
41470 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41472         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41473         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41475 2012-12-03  Jeff Law  <law@redhat.com>
41477         * time/sys/time.h (settimeofday): Do not mark TV argument
41478         as __nonnull.
41480 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41482         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41483         when currently writing and seek to current position when not.
41484         * libio/Makefile (tests): Remove bug-fclose1.
41485         * libio/bug-fclose1.c: Delete.
41487 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41489         * manual/arith.texi (feenableexcept): Fix typo.
41490         (fedisableexcept): Likewise.
41492 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41494         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41495         second, differently-typed declaration, rather than a cast.
41497 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41499         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41500         * include/rpc/svc.h: ... here.
41502 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41504         [BZ #13013]
41505         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41506         depending n and resplen2 to catch cases where answer
41507         equals answerp2.
41509 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41511         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41512         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41514 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41518 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41520         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41522 2012-11-28  Jeff Law  <law@redhat.com>
41524         [BZ #13761]
41525         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41526         dataset_temporary.  Track alloca usage into alloca_used.
41527         If dataset is large allocate and release it via malloc/free.
41529 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41531         [BZ #14197]
41532         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41534 2012-11-28  David S. Miller  <davem@davemloft.net>
41536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41538 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41540         [BZ #14803]
41541         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41542         of pi/2 rounded to nearest to 64 bits.
41543         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41544         nearest to 64 bits.
41545         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41546         bits.
41548 2012-11-28  Jeff Law <law@redhat.com>
41549             Martin Osvald <mosvald@redhat.com>
41551         [BZ #14889]
41552         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41553         * sunrpc/svc.c: Include time.h.
41554         (__svc_accept_failed): New function.
41555         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41556         any reason other than EINTR, call __svc_accept_failed.
41557         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41558         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41560 2012-11-28  Andreas Schwab  <schwab@suse.de>
41562         * scripts/abilist.awk: Also handle indirect functions in .opd
41563         section.
41565 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41567         [BZ #13881]
41568         * sysdeps/x86/fpu/powl_helper.c: New file.
41569         * sysdeps/x86/fpu/Makefile: Likewise.
41570         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41571         (p3): New object.
41572         (__ieee754_powl): Use __powl_helper for finite arguments except
41573         integer exponents below 8.
41574         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41575         (p3): New object.
41576         (__ieee754_powl): Use __powl_helper for finite arguments except
41577         integer exponents below 8.
41578         * math/libm-test.inc (pow_test): Add more tests and enable some
41579         previously disabled tests.
41580         * sysdeps/i386/fpu/libm-test-ulps: Update.
41581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41583 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41584             Carlos O'Donell  <carlos_odonell@mentor.com>
41586         * nss/makedb.c (is_prime): Assert that input is odd and greater
41587         than 4.  Note that fact in a comment too.
41588         (next_prime): Add 4 to input.
41590 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41592         [BZ #11741]
41593         * libio/Makefile (tests): Add test case tst-fwrite-error.
41594         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41595         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41596         * libio/tst-fwrite-error.c: New test case.
41598 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41600         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41601         before casting to void *.
41602         * include/libc-internal.h (__pointer_type): New macro.
41603         (__integer_if_pointer_type_sub): Likewise.
41604         (__integer_if_pointer_type): Likewise.
41605         (cast_to_integer): Likewise.
41606         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41607         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41608         before casting to atomic64_t.
41609         (atomic_exchange_acq): Likewise.
41610         (__arch_exchange_and_add_body): Likewise.
41611         (__arch_add_body): Likewise.
41612         (atomic_add_negative): Likewise.
41613         (atomic_add_zero): Likewise.
41615 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41617         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41618         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41619         (add_fdes): Likewise.
41620         (linear_search_fdes): Likewise.
41621         (binary_search_unencoded_fdes): Likewise.
41623 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41625         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41627 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41629         * configure.in: Autodetect C++ header directories.
41630         * configure: Regenerated.
41632 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41634         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41636 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41640 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41642         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41643         LDBL_MANT_DIG == 106]: Disable some tests.
41644         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41645         Likewise.
41646         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41647         Likewise.
41649         [BZ #14871]
41650         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41651         input for small inputs.  Return +/- pi/2 for large inputs.
41652         * math/libm-test.inc (atan_test): Add more tests.
41654         * sysdeps/generic/unwind-dw2-fde-glibc.c
41655         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41656         __attribute__ ((unused)).
41658         [BZ #14645]
41659         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41660         x * y if x and y are nonzero and z is zero.
41662         [BZ #14811]
41663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41664         nonzero exponents with absolute value below 0x1p-117 to +/-
41665         0x1p-117.
41667         [BZ #14869]
41668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41669         up arguments below 2**-450, not just those below 2**-500.
41670         * math/libm-test.inc (hypot_test): Add another test.
41672         [BZ #14868]
41673         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41674         Return a+b for ratio over 2**120, not 2**60.
41675         * math/libm-test.inc (hypot_test): Add another test.
41677         * math/libm-test.inc (clog_test): Use
41678         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41679         (clog10_test): Likewise.
41681         [BZ #6778]
41682         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41684 2012-11-22  Andreas Schwab  <schwab@suse.de>
41686         * sysdeps/i386/fpu/libm-test-ulps: Update.
41688 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41690         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41691         printf output with newline.
41693 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41695         [BZ #14865]
41696         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41697         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41698         -z nodlopen, -z initfirst and -z execstack support.
41699         * configure: Regenerated.
41701         * elf/elf.h (DF_1_NODIRECT): New macro.
41702         (DF_1_IGNMULDEF): Likewise.
41703         (DF_1_NOKSYMS): Likewise.
41704         (DF_1_NOHDR): Likewise.
41705         (DF_1_EDITED): Likewise.
41706         (DF_1_NORELOC): Likewise.
41707         (DF_1_SYMINTPOSE): Likewise.
41708         (DF_1_GLOBAUDIT): Likewise.
41709         (DF_1_SINGLETON): Likewise.
41710         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41711         DT_1_SUPPORTED_MASK bits.
41712         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41714 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41716         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41718 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41720         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41721         macro.
41723         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41724         (sendmmsg): Move declarations...
41725         * socket/sys/socket.h: ... here.
41726         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41727         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41728         include it from...
41729         * socket/recvmmsg.c: ... this new file.
41730         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41731         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41732         definition of __sendmmsg hidden.
41733         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41734         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41735         Move ENOSYS stub into and include it from...
41736         * socket/sendmmsg.c: ... this new file.
41737         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41738         (sysdep_routines): Move recvmmsg and sendmmsg...
41739         * socket/Makefile (routines): ... here.
41740         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41741         (GLIBC_PRIVATE): Add __sendmmsg.
41742         * include/sys/socket.h (__sendmmsg): Add declarations.
41743         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41744         sendmmsg.
41746 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41748         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41749         variable I1 with __attribute__ ((unused)).
41750         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41752 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41754         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41755         DUMMY variables with __attribute__ ((unused)).
41757         * bits/byteswap.h: Include <bits/types.h>.
41758         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41760 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41762         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41763         string_t.  Do not manually set errno.
41764         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41765         length with __strnlen.  Make sure to both set errno and return it on
41766         failure.
41768 2012-11-19  David S. Miller  <davem@davemloft.net>
41770         With help from Joseph Myers.
41771         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41772         very large arguments properly.
41773         * math/libm-test.inc (atan_test): New tests.
41774         (atan2_test): New tests.
41775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41778 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41780         [BZ #14856]
41781         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41782         Define to 3.
41784         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41785         [POSIX] (EADDRNOTAVAIL): Likewise.
41786         [POSIX] (EAFNOSUPPORT): Likewise.
41787         [POSIX] (EALREADY): Likewise.
41788         [POSIX] (ECONNABORTED): Likewise.
41789         [POSIX] (ECONNREFUSED): Likewise.
41790         [POSIX] (ECONNRESET): Likewise.
41791         [POSIX] (EDESTADDRREQ): Likewise.
41792         [POSIX] (EDQUOT): Likewise.
41793         [POSIX] (EHOSTUNREACH): Likewise.
41794         [POSIX] (EIDRM): Likewise.
41795         [POSIX] (EISCONN): Likewise.
41796         [POSIX] (ELOOP): Likewise.
41797         [POSIX] (EMULTIHOP): Likewise.
41798         [POSIX] (ENETDOWN): Likewise.
41799         [POSIX] (ENETUNREACH): Likewise.
41800         [POSIX] (ENOBUFS): Likewise.
41801         [POSIX] (ENODATA): Likewise.
41802         [POSIX] (ENOLINK): Likewise.
41803         [POSIX] (ENOMSG): Likewise.
41804         [POSIX] (ENOPROTOOPT): Likewise.
41805         [POSIX] (ENOSR): Likewise.
41806         [POSIX] (ENOSTR): Likewise.
41807         [POSIX] (ENOTCONN): Likewise.
41808         [POSIX] (ENOTSOCK): Likewise.
41809         [POSIX] (EOPNOTSUPP): Likewise.
41810         [POSIX] (EOVERFLOW): Likewise.
41811         [POSIX] (EPROTO): Likewise.
41812         [POSIX] (EPROTONOSUPPORT): Likewise.
41813         [POSIX] (EPROTOTYPE): Likewise.
41814         [POSIX] (ESTALE): Likewise.
41815         [POSIX] (ETIME): Likewise.
41816         [POSIX] (ETXTBSY): Likewise.
41817         [POSIX] (EWOULDBLOCK): Likewise.
41818         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41819         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41820         [POSIX] (SEEK_CUR): Likewise.
41821         [POSIX] (SEEK_END): Likewise.
41822         [POSIX || UNIX98] (mode_t): Do not require.
41823         [POSIX] (off_t): Likewise.
41824         [POSIX] (pid_t): Likewise.
41825         [POSIX] (sys/stat.h): Do not allow header.
41826         [POSIX] (unistd.h): Likewise.
41827         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41828         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41829         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41830         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41831         require.
41832         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41833         sigevent): Specify elements.
41834         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41835         entry.
41836         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41837         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41839         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41840         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41841         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41842         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41843         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41844         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41845         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41846         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41847         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41848         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41849         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41850         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41851         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41852         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41853         Likewise.
41854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41855         Likewise.
41856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41857         Likewise.
41858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41859         Likewise.
41860         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41861         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41862         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41863         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41864         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41865         Specify lower bound on value.
41866         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41867         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41868         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41869         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41870         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41871         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41872         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41873         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41874         value.
41875         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41876         as optional.
41877         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41878         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41879         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41880         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41881         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41882         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41883         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41884         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41885         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41886         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41887         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41888         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41889         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41890         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41891         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41892         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41893         entry.
41894         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41895         optional.
41896         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41897         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41898         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41899         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41900         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41901         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41902         Likewise.
41903         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41904         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41905         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41906         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41907         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41908         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41909         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41910         as optional.
41911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41912         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41913         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41914         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41915         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41916         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41917         specify as optional.
41918         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41919         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41920         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41921         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41922         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41923         [XPG3] (NL_LANGMAX): Likewise.
41924         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41925         [POSIX || XPG3] (NL_NMAX): Likewise.
41926         [POSIX || XPG3] (NL_SETMAX): Likewise.
41927         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41928         [XPG3] (NZERO): Likewise.
41929         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41930         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41931         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41932         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41933         (REG_ERANGE): Expect.
41934         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41935         optional-constant.
41936         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41937         Use (void) in prototype.
41938         [POSIX] (*_t): Allow.
41939         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41940         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41941         (WRDE_BADVAL): Expect.
41943         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41944         expect.
41945         [XPG3 || XPG4] (O_RSYNC): Likewise.
41946         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41947         Likewise.
41948         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41949         [XPG3 || XPG4] (sigqueue): Likewise.
41950         [XPG3 || XPG4] (sigtimedwait): Likewise.
41951         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41952         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41953         [XPG3 || XPG4] (vsnprintf): Likewise.
41954         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41955         Likewise.
41956         [XPG3 || XPG4] (blksize_t): Likewise.
41957         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41958         Likewise.
41959         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41960         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41961         [XPG3 || XPG4] (struct itimerspec): Likewise.
41962         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41963         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41964         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41965         [XPG3 || XPG4] (clockid_t): Likewise.
41966         [XPG3 || XPG4] (timer_t): Likewise.
41967         [XPG3 || XPG4] (clock_getres): Likewise.
41968         [XPG3 || XPG4] (clock_gettime): Likewise.
41969         [XPG3 || XPG4] (clock_settime): Likewise.
41970         [XPG3 || XPG4] (nanosleep): Likewise.
41971         [XPG3 || XPG4] (timer_create): Likewise.
41972         [XPG3 || XPG4] (timer_delete): Likewise.
41973         [XPG3 || XPG4] (timer_gettime): Likewise.
41974         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41975         [XPG3 || XPG4] (timer_settime): Likewise.
41976         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41977         [XPG3 || XPG4] (getlogin_r): Likewise.
41978         [XPG3 || XPG4] (pread): Likewise.
41979         [XPG3 || XPG4] (pthread_atfork): Likewise.
41980         [XPG3 || XPG4] (pwrite): Likewise.
41982         [BZ #14835]
41983         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41984         <bits/siginfo.h>.
41986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41988         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41989         finalizing MALLSTREAM.
41991         * sysdeps/mach/hurd/syncfs.c: New file.
41993 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41995         [BZ #14719]
41996         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41997         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41998         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41999         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42000         (_nss_dns_gethostbyname4_r): Likewise.
42001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42002         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42004 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
42006         [BZ #13763]
42007         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42009 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
42011         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42012         * elf/cache.c (print_entry): Print ",AArch64" for
42013         FLAG_AARCH64_LIB64
42015         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42016         * elf/cache.c (print_entry): Print ",hard-float" for
42017         FLAG_ARM_LIBHF.
42019 2012-11-18  David S. Miller  <davem@davemloft.net>
42021         With help from Joseph Myers.
42022         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42023         cutoff to 2**-13.
42024         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42025         cutoff to 2**-25.
42026         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42027         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42028         small.
42029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42030         * math/libm-test.inc (y0_test): New tests.
42031         (y1_test): New tests.
42032         * sysdeps/i386/fpu/libm-test-ulps: Update.
42033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42036 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
42038         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42039         64-bit targets.
42040         * configure: Regenerated.
42042 2012-11-17  David S. Miller  <davem@davemloft.net>
42044         [BZ #14811]
42045         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42046         nonzero exponents with absolute value below 0x1p-128 to +/-
42047         0x1p-128.
42049 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
42051         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42053         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42055         * posix/getconf-speclist.c: New file.
42056         * posix/posix-envs.def: Likewise.
42057         * posix/confstr.c (START_ENV_GROUP): New macro.
42058         (END_ENV_GROUP): Likewise.
42059         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42060         (KNOWN_PRESENT_ENV_STRING): Likewise.
42061         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42062         (UNKNOWN_ENVIRONMENT): Likewise.
42063         (confstr): Include posix-envs.def instead of handling
42064         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42065         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42066         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42067         (END_ENV_GROUP): Likewise.
42068         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42069         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42070         (UNKNOWN_ENVIRONMENT): Likewise.
42071         (__sysconf): Include posix-envs.def instead of handling associated
42072         cases directly here.
42073         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42074         preprocessing getconf-speclist.c rather than running getconf or
42075         generating empty file.
42077 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42079         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42081 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42083         [BZ #14672]
42084         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42086 2012-11-16  David S. Miller  <davem@davemloft.net>
42088         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42089         smaller than LDBL_EPSILON/2.0L, just return xm1.
42091 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42093         * elf/tst-array1.c (init): Set constructor priority to 1000.
42094         (fini): Set destructor priority to 1000.
42095         * elf/tst-array2dep.c: Likewise.
42097 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42099         [BZ #11741]
42100         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42101         (_IO_new_file_xsputn): Also return EOF if none of the input
42102         data was written when overflow failed.
42103         * libio/iopadn.c (_IO_padn): Likewise.
42104         * libio/iowpadn.c (_IO_wpadn): Likewise.
42105         * stdio-common/tst-put-error.c: Add copyright notice.
42106         (do_test): Add case for printing padded string.
42107         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42108         _IO_padn returned error.
42109         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42110         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42111         return EOF.
42113 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42115         * libio/libioP.h: Add comment note that the references to C++
42116         bits are now obsolete.
42118 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42120         * math/libm-test.inc (check_complex): Use asprintf.
42122 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42124         * debug/pcprofiledump.c (print_version): Update copyright year.
42125         * malloc/memusagestat.c (print_version): Likewise.
42127 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42129         [BZ #14831]
42130         * elf/Makefile (tests): Add tst-audit8.
42131         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42132         ($(objpfx)tst-audit8.out): New target.
42133         (tst-audit8-ENV): New variable.
42134         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42135         audit if l_reloc_result is NULL.
42136         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42137         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42138         * elf/tst-audit8.c: New file.
42140 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42142         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42143         * misc/Makefile (CFLAGS-select.c): Define.
42144         * posix/Makefile (CFLAGS-pause.c): Define.
42146 2012-11-13  David S. Miller  <davem@davemloft.net>
42148         * crypt/Makefile: Move test targets after toplevel Rules
42149         inclusion.  Grab any necessary sysdep routines when linking.
42150         * crypt/md5.c (md5_process_block): Remove define, we will always
42151         name it __md5_process_block.
42152         (md5_finish_ctx): Update md5_process_block call.
42153         (md5_stream): Likewise.
42154         (md5_process_bytes): Likewise.
42155         (md5_process_block): Rename to __md5_process_block and move to ...
42156         * crypt/md5-block.c: ... here.
42157         * crypt/sha256.c (sha256_process_block): Move to ...
42158         * crypt/sha256-block.c: ... here.
42159         * crypt/sha512.c (sha512_process_block): Move to ...
42160         * crypt/sha512-block.c: ... here.
42161         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42162         path.
42163         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42164         * sysdeps/sparc/sparc64/multiarch/Makefile
42165         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42166         crypt subdir.
42167         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42168         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42169         multiarch changes.
42170         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42171         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42172         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42173         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42174         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42175         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42176         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42177         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42178         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42179         file.
42180         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42181         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42182         file.
42183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42185 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42187         * timezone/tzselect.ksh: Update from tzcode git revision
42188         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42189         * timezone/zdump.c: Likewise.
42190         * timezone/zic.c: Likewise.
42191         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42192         in TZVERSION setting, not $(PKGVERSION).
42193         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42194         REPORT_BUGS_TO settings.
42196         [BZ #14838]
42197         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42198         macro.
42200 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42202         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42203         detection to immediately after _FP_ROUND().
42204         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42205         bits are 0.
42207 2012-11-11  David S. Miller  <davem@davemloft.net>
42209         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42210         inttypes.h
42211         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42212         __close rather than their public counterparts.
42214 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42216         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42217         file.
42218         [UNIX98] (sem_timedwait): Do not expect.
42219         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42220         [XPG4 || UNIX98] (sockatmark): Do not expect.
42221         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42222         (clock_getcpuclockid): Do not expect.
42223         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42224         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42225         Do not expect.
42226         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42227         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42228         [UNIX98] (vwscanf): Likewise.
42229         [UNIX98] (vswscanf): Likewise.
42231 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42233         * timezone/version.h: Remove file.
42234         * timezone/README: Do not refer to version.h.
42235         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42236         $(objpfx)version.h.
42237         ($(objpfx)zdump.o): Likewise.
42238         ($(objpfx)version.h): New target.
42240         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42241         2012i.
42242         * timezone/README: Don't mention modification to tzselect.ksh.
42243         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42244         work on unmodified tzselect.ksh.  Substitute version numbers in
42245         tzselect.ksh.
42247         * Makefile (format-me): Remove.
42248         (INSTALL): Adjust indentation.  Use commands directly instead of
42249         using $(format-me).
42251         * aclocal.m4 (ACX_PKGVERSION): New macro.
42252         (ACX_BUGURL): Likewise.
42253         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42254         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42255         (REPORT_BUGS_TO): Likewise.
42256         * configure: Regenerated.
42257         * config.h.in (PKGVERSION): New macro.
42258         (REPORT_BUGS_TO): Likewise.
42259         * config.make.in (PKGVERSION): New variable.
42260         (PKGVERSION_TEXI): Likewise.
42261         (REPORT_BUGS_TO): Likewise.
42262         (REPORT_BUGS_TEXI): Likewise.
42263         * Makefile (format-me): Use -I$(common-objpfx)manual.
42264         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42265         ($(common-objpfx)manual/%): New target.
42266         (manual/%): Remove target.
42267         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42268         (print_version): Use PKGVERSION.
42269         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42270         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42271         and REPORT_BUGS_TO.
42272         ($(objpfx)xtrace): Likewise.
42273         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42274         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42275         (print_version): Use PKGVERSION.
42276         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42277         (do_version): Use PKGVERSION.
42278         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42279         REPORT_BUGS_TO.
42280         (common-ldd-rewrite): Likewise.
42281         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42282         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42283         (print_version): Use PKGVERSION.
42284         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42285         * elf/pldd.c (argp_program_bug_address): Remove variable.
42286         (more_help): New function.
42287         (argp): Use more_help.
42288         (print_version): Use PKGVERSION.
42289         * elf/sln.c (main): Use PKGVERSION.
42290         (usage): Use REPORT_BUGS_TO.
42291         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42292         (top level): Use PKGVERSION.
42293         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42294         (print_version): Use PKGVERSION.
42295         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42296         (print_version): Use PKGVERSION.
42297         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42298         (print_version): Use PKGVERSION.
42299         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42300         (print_version): Use PKGVERSION.
42301         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42302         (print_version): Use PKGVERSION.
42303         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42304         (print_version): Use PKGVERSION.
42305         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42306         and BUGURL.
42307         ($(objpfx)memusage): Likewise.
42308         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42309         (do_version): Use PKGVERSION.
42310         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42311         (print_version): Use PKGVERSION.
42312         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42313         ($PKGVERSION): New variable.
42314         ($REPORT_BUGS_TO): Likewise.
42315         (usage): Use $REPORT_BUGS_TO.
42316         (top level): Use $PKGVERSION.
42317         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42318         ($(objpfx)pkgvers.texi): New rule.
42319         ($(objpfx)stamp-pkgvers): Likewise.
42320         * manual/install.texi: Include pkgvers.texi.
42321         (--with-pkgversion): Document new configure option.
42322         (--with-bugurl): Likewise.
42323         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42324         than necessarily for this particular distribution.  Use
42325         REPORT_BUGS_TO for where to report bugs.
42326         * INSTALL: Regenerated.
42327         * manual/libc.texinfo: Include pkgvers.texi.
42328         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42329         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42330         (print_version): Use PKGVERSION.
42331         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42332         (print_version): Use PKGVERSION.
42333         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42334         (print_version): Use PKGVERSION.
42335         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42336         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42337         macro.
42338         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42339         (print_version): Use PKGVERSION.
42340         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42341         (print_version): Use PKGVERSION.
42342         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42343         and PKGVERSION.
42345         * timezone/checktab.awk: Update from tzcode 2012i.
42346         * timezone/ialloc.c: Likewise.
42347         * timezone/private.h: Likewise.
42348         * timezone/scheck.c: Likewise.
42349         * timezone/tzfile.h: Likewise.
42350         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42351         (TZVERSION): Hardcode tzcode version number.
42352         * timezone/zdump.c: Update from tzcode 2012i.
42353         * timezone/zic.c: Likewise.
42354         * timezone/version.h: New file.
42355         * timezone/README: Describe version.h.  Update upstream location.
42357         [BZ #14824]
42358         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42359         (mktemp): Enable declaration.
42360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42364         Likewise.
42365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42366         Likewise.
42367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42368         Likewise.
42369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42370         Likewise.
42371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42372         Likewise.
42373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42374         Likewise.
42376         [BZ #14821]
42377         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42378         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42379         for copies of such integer values.
42380         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42381         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42383 2012-11-09  Andreas Jaeger  <aj@suse.de>
42385         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42386         definitions and declarations that are provided by
42387         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42389 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42391         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42392         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42393         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42394         definition.
42396 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42398         * elf/elf.h: Update comment before AArch64 relocations.
42400 2012-11-07  David S. Miller  <davem@davemloft.net>
42402         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42403         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42404         (__start_context): Declare.
42405         (__makecontext_ret): Delete.
42406         (__makecontext): Hook up __start_context instead of
42407         __makecontext_ret.
42408         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42409         (sysdep_routines): Add __start_context when in stdlib.
42411 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42413         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42414         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42415         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42416         hardcoded "nm".
42417         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42418         (READELF): New variable.  Use it instead of hardcoded "readelf".
42420 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42422         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42423         * sysdeps/x86/Makefile: Here.
42424         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42425         * sysdeps/x86/tst-xmmymm.sh: This.
42427 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42429         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42430         expectations.
42431         [UNIX98] (pthread_barrier_t): Do not expect.
42432         [UNIX98] (pthread_barrierattr_t): Likewise.
42433         [UNIX98] (pthread_spinlock_t): Likewise.
42434         [UNIX98] (pthread_barrier_destroy): Likewise.
42435         [UNIX98] (pthread_barrier_init): Likewise.
42436         [UNIX98] (pthread_barrier_wait): Likewise.
42437         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42438         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42439         [UNIX98] (pthread_barrierattr_init): Likewise.
42440         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42441         [UNIX98] (pthread_getcpuclockid): Likewise.
42442         [UNIX98] (pthread_mutex_timedlock): Likewise.
42443         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42444         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42445         [UNIX98] (pthread_sigmask): Likewise.
42446         [UNIX98] (pthread_spin_destroy): Likewise.
42447         [UNIX98] (pthread_spin_init): Likewise.
42448         [UNIX98] (pthread_spin_lock): Likewise.
42449         [UNIX98] (pthread_spin_trylock): Likewise.
42450         [UNIX98] (pthread_spin_unlock): Likewise.
42451         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42452         Do not expect.
42453         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42454         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42455         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42456         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42457         [XPG3 || XPG4] (pthread_key_t): Likewise.
42458         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42459         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42460         [XPG3 || XPG4] (pthread_once_t): Likewise.
42461         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42462         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42463         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42464         [XPG3 || XPG4] (pthread_t): Likewise.
42466         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42467         not expect.
42468         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42470         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42471         Change function return type to int.
42473         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42474         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42475         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42476         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42477         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42478         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42479         [!POSIX] (posix_madvise): Likewise.
42480         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42481         && !UNIX98].
42482         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42483         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42484         (mode_t): Likewise.
42485         (posix_mem_offset): Likewise.
42486         (posix_typed_mem_get_info): Likewise.
42487         (posix_typed_mem_open): Likewise.
42489         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42490         Change condition to [XOPEN2K8].
42492         * conform/conformtest.pl: Preprocess allow-header data with -x c
42493         instead of from stdin.
42494         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42495         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42496         [C99-based standards] (cerfc): Likewise.
42497         [C99-based standards] (cexp2): Likewise.
42498         [C99-based standards] (cexpm1): Likewise.
42499         [C99-based standards] (clog10): Likewise.
42500         [C99-based standards] (clog1p): Likewise.
42501         [C99-based standards] (clog2): Likewise.
42502         [C99-based standards] (clgamma): Likewise.
42503         [C99-based standards] (ctgamma): Likewise.
42504         [C99-based standards] (cerff): Likewise.
42505         [C99-based standards] (cerfcf): Likewise.
42506         [C99-based standards] (cexp2f): Likewise.
42507         [C99-based standards] (cexpm1f): Likewise.
42508         [C99-based standards] (clog10f): Likewise.
42509         [C99-based standards] (clog1pf): Likewise.
42510         [C99-based standards] (clog2f): Likewise.
42511         [C99-based standards] (clgammaf): Likewise.
42512         [C99-based standards] (ctgammaf): Likewise.
42513         [C99-based standards] (cerfl): Likewise.
42514         [C99-based standards] (cerfcl): Likewise.
42515         [C99-based standards] (cexp2l): Likewise.
42516         [C99-based standards] (cexpm1l): Likewise.
42517         [C99-based standards] (clog10l): Likewise.
42518         [C99-based standards] (clog1pl): Likewise.
42519         [C99-based standards] (clog2l): Likewise.
42520         [C99-based standards] (clgammal): Likewise.
42521         [C99-based standards] (ctgammal): Likewise.
42522         * conform/data/inttypes.h-data [C99-based standards]: Include
42523         stdint.h-data.  Remove all expectations for stdint.h contents.
42524         [C99-based standards] (PRI*): Do not allow.
42525         [C99-based standards] (SCN*): Likewise.
42526         [C99-based standards] (*_t): Likewise.
42527         [C99-based-standards] (PRId8): Expect macro.
42528         [C99-based-standards] (PRIi8): Likewise.
42529         [C99-based-standards] (PRIo8): Likewise.
42530         [C99-based-standards] (PRIu8): Likewise.
42531         [C99-based-standards] (PRIx8): Likewise.
42532         [C99-based-standards] (PRIX8): Likewise.
42533         [C99-based-standards] (SCNd8): Likewise.
42534         [C99-based-standards] (SCNi8): Likewise.
42535         [C99-based-standards] (SCNo8): Likewise.
42536         [C99-based-standards] (SCNu8): Likewise.
42537         [C99-based-standards] (SCNx8): Likewise.
42538         [C99-based-standards] (PRIdLEAST8): Likewise.
42539         [C99-based-standards] (PRIiLEAST8): Likewise.
42540         [C99-based-standards] (PRIoLEAST8): Likewise.
42541         [C99-based-standards] (PRIuLEAST8): Likewise.
42542         [C99-based-standards] (PRIxLEAST8): Likewise.
42543         [C99-based-standards] (PRIXLEAST8): Likewise.
42544         [C99-based-standards] (SCNdLEAST8): Likewise.
42545         [C99-based-standards] (SCNiLEAST8): Likewise.
42546         [C99-based-standards] (SCNoLEAST8): Likewise.
42547         [C99-based-standards] (SCNuLEAST8): Likewise.
42548         [C99-based-standards] (SCNxLEAST8): Likewise.
42549         [C99-based-standards] (PRIdFAST8): Likewise.
42550         [C99-based-standards] (PRIiFAST8): Likewise.
42551         [C99-based-standards] (PRIoFAST8): Likewise.
42552         [C99-based-standards] (PRIuFAST8): Likewise.
42553         [C99-based-standards] (PRIxFAST8): Likewise.
42554         [C99-based-standards] (PRIXFAST8): Likewise.
42555         [C99-based-standards] (SCNdFAST8): Likewise.
42556         [C99-based-standards] (SCNiFAST8): Likewise.
42557         [C99-based-standards] (SCNoFAST8): Likewise.
42558         [C99-based-standards] (SCNuFAST8): Likewise.
42559         [C99-based-standards] (SCNxFAST8): Likewise.
42560         [C99-based-standards] (PRId16): Likewise.
42561         [C99-based-standards] (PRIi16): Likewise.
42562         [C99-based-standards] (PRIo16): Likewise.
42563         [C99-based-standards] (PRIu16): Likewise.
42564         [C99-based-standards] (PRIx16): Likewise.
42565         [C99-based-standards] (PRIX16): Likewise.
42566         [C99-based-standards] (SCNd16): Likewise.
42567         [C99-based-standards] (SCNi16): Likewise.
42568         [C99-based-standards] (SCNo16): Likewise.
42569         [C99-based-standards] (SCNu16): Likewise.
42570         [C99-based-standards] (SCNx16): Likewise.
42571         [C99-based-standards] (PRIdLEAST16): Likewise.
42572         [C99-based-standards] (PRIiLEAST16): Likewise.
42573         [C99-based-standards] (PRIoLEAST16): Likewise.
42574         [C99-based-standards] (PRIuLEAST16): Likewise.
42575         [C99-based-standards] (PRIxLEAST16): Likewise.
42576         [C99-based-standards] (PRIXLEAST16): Likewise.
42577         [C99-based-standards] (SCNdLEAST16): Likewise.
42578         [C99-based-standards] (SCNiLEAST16): Likewise.
42579         [C99-based-standards] (SCNoLEAST16): Likewise.
42580         [C99-based-standards] (SCNuLEAST16): Likewise.
42581         [C99-based-standards] (SCNxLEAST16): Likewise.
42582         [C99-based-standards] (PRIdFAST16): Likewise.
42583         [C99-based-standards] (PRIiFAST16): Likewise.
42584         [C99-based-standards] (PRIoFAST16): Likewise.
42585         [C99-based-standards] (PRIuFAST16): Likewise.
42586         [C99-based-standards] (PRIxFAST16): Likewise.
42587         [C99-based-standards] (PRIXFAST16): Likewise.
42588         [C99-based-standards] (SCNdFAST16): Likewise.
42589         [C99-based-standards] (SCNiFAST16): Likewise.
42590         [C99-based-standards] (SCNoFAST16): Likewise.
42591         [C99-based-standards] (SCNuFAST16): Likewise.
42592         [C99-based-standards] (SCNxFAST16): Likewise.
42593         [C99-based-standards] (PRId32): Likewise.
42594         [C99-based-standards] (PRIi32): Likewise.
42595         [C99-based-standards] (PRIo32): Likewise.
42596         [C99-based-standards] (PRIu32): Likewise.
42597         [C99-based-standards] (PRIx32): Likewise.
42598         [C99-based-standards] (PRIX32): Likewise.
42599         [C99-based-standards] (SCNd32): Likewise.
42600         [C99-based-standards] (SCNi32): Likewise.
42601         [C99-based-standards] (SCNo32): Likewise.
42602         [C99-based-standards] (SCNu32): Likewise.
42603         [C99-based-standards] (SCNx32): Likewise.
42604         [C99-based-standards] (PRIdLEAST32): Likewise.
42605         [C99-based-standards] (PRIiLEAST32): Likewise.
42606         [C99-based-standards] (PRIoLEAST32): Likewise.
42607         [C99-based-standards] (PRIuLEAST32): Likewise.
42608         [C99-based-standards] (PRIxLEAST32): Likewise.
42609         [C99-based-standards] (PRIXLEAST32): Likewise.
42610         [C99-based-standards] (SCNdLEAST32): Likewise.
42611         [C99-based-standards] (SCNiLEAST32): Likewise.
42612         [C99-based-standards] (SCNoLEAST32): Likewise.
42613         [C99-based-standards] (SCNuLEAST32): Likewise.
42614         [C99-based-standards] (SCNxLEAST32): Likewise.
42615         [C99-based-standards] (PRIdFAST32): Likewise.
42616         [C99-based-standards] (PRIiFAST32): Likewise.
42617         [C99-based-standards] (PRIoFAST32): Likewise.
42618         [C99-based-standards] (PRIuFAST32): Likewise.
42619         [C99-based-standards] (PRIxFAST32): Likewise.
42620         [C99-based-standards] (PRIXFAST32): Likewise.
42621         [C99-based-standards] (SCNdFAST32): Likewise.
42622         [C99-based-standards] (SCNiFAST32): Likewise.
42623         [C99-based-standards] (SCNoFAST32): Likewise.
42624         [C99-based-standards] (SCNuFAST32): Likewise.
42625         [C99-based-standards] (SCNxFAST32): Likewise.
42626         [C99-based-standards] (PRId64): Likewise.
42627         [C99-based-standards] (PRIi64): Likewise.
42628         [C99-based-standards] (PRIo64): Likewise.
42629         [C99-based-standards] (PRIu64): Likewise.
42630         [C99-based-standards] (PRIx64): Likewise.
42631         [C99-based-standards] (PRIX64): Likewise.
42632         [C99-based-standards] (SCNd64): Likewise.
42633         [C99-based-standards] (SCNi64): Likewise.
42634         [C99-based-standards] (SCNo64): Likewise.
42635         [C99-based-standards] (SCNu64): Likewise.
42636         [C99-based-standards] (SCNx64): Likewise.
42637         [C99-based-standards] (PRIdLEAST64): Likewise.
42638         [C99-based-standards] (PRIiLEAST64): Likewise.
42639         [C99-based-standards] (PRIoLEAST64): Likewise.
42640         [C99-based-standards] (PRIuLEAST64): Likewise.
42641         [C99-based-standards] (PRIxLEAST64): Likewise.
42642         [C99-based-standards] (PRIXLEAST64): Likewise.
42643         [C99-based-standards] (SCNdLEAST64): Likewise.
42644         [C99-based-standards] (SCNiLEAST64): Likewise.
42645         [C99-based-standards] (SCNoLEAST64): Likewise.
42646         [C99-based-standards] (SCNuLEAST64): Likewise.
42647         [C99-based-standards] (SCNxLEAST64): Likewise.
42648         [C99-based-standards] (PRIdFAST64): Likewise.
42649         [C99-based-standards] (PRIiFAST64): Likewise.
42650         [C99-based-standards] (PRIoFAST64): Likewise.
42651         [C99-based-standards] (PRIuFAST64): Likewise.
42652         [C99-based-standards] (PRIxFAST64): Likewise.
42653         [C99-based-standards] (PRIXFAST64): Likewise.
42654         [C99-based-standards] (SCNdFAST64): Likewise.
42655         [C99-based-standards] (SCNiFAST64): Likewise.
42656         [C99-based-standards] (SCNoFAST64): Likewise.
42657         [C99-based-standards] (SCNuFAST64): Likewise.
42658         [C99-based-standards] (SCNxFAST64): Likewise.
42659         [C99-based-standards] (PRIdMAX): Likewise.
42660         [C99-based-standards] (PRIiMAX): Likewise.
42661         [C99-based-standards] (PRIoMAX): Likewise.
42662         [C99-based-standards] (PRIuMAX): Likewise.
42663         [C99-based-standards] (PRIxMAX): Likewise.
42664         [C99-based-standards] (PRIXMAX): Likewise.
42665         [C99-based-standards] (SCNdMAX): Likewise.
42666         [C99-based-standards] (SCNiMAX): Likewise.
42667         [C99-based-standards] (SCNoMAX): Likewise.
42668         [C99-based-standards] (SCNuMAX): Likewise.
42669         [C99-based-standards] (SCNxMAX): Likewise.
42670         [C99-based-standards] (PRIdPTR): Likewise.
42671         [C99-based-standards] (PRIiPTR): Likewise.
42672         [C99-based-standards] (PRIoPTR): Likewise.
42673         [C99-based-standards] (PRIuPTR): Likewise.
42674         [C99-based-standards] (PRIxPTR): Likewise.
42675         [C99-based-standards] (PRIXPTR): Likewise.
42676         [C99-based-standards] (SCNdPTR): Likewise.
42677         [C99-based-standards] (SCNiPTR): Likewise.
42678         [C99-based-standards] (SCNoPTR): Likewise.
42679         [C99-based-standards] (SCNuPTR): Likewise.
42680         [C99-based-standards] (SCNxPTR): Likewise.
42681         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42682         allow.
42683         * conform/data/stdint.h-data: Update comments to clarify
42684         requirements.
42685         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42686         type.
42687         [C99-based standards] (INT8_MAX): Likewise.
42688         [C99-based standards] (INT16_MIN): Likewise.
42689         [C99-based standards] (INT16_MAX): Likewise.
42690         [C99-based standards] (INT32_MIN): Likewise.
42691         [C99-based standards] (INT32_MAX): Likewise.
42692         [C99-based standards] (INT64_MIN): Likewise.
42693         [C99-based standards] (INT64_MAX): Likewise.
42694         [C99-based standards] (UINT8_MAX): Likewise.
42695         [C99-based standards] (UINT16_MAX): Likewise.
42696         [C99-based standards] (UINT32_MAX): Likewise.
42697         [C99-based standards] (UINT64_MAX): Likewise.
42698         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42699         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42700         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42701         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42702         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42703         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42704         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42705         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42706         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42707         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42708         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42709         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42710         [C99-based standards] (INT_FAST8_MIN): Likewise.
42711         [C99-based standards] (INT_FAST8_MAX): Likewise.
42712         [C99-based standards] (INT_FAST16_MIN): Likewise.
42713         [C99-based standards] (INT_FAST16_MAX): Likewise.
42714         [C99-based standards] (INT_FAST32_MIN): Likewise.
42715         [C99-based standards] (INT_FAST32_MAX): Likewise.
42716         [C99-based standards] (INT_FAST64_MIN): Likewise.
42717         [C99-based standards] (INT_FAST64_MAX): Likewise.
42718         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42719         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42720         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42721         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42722         [C99-based standards] (INTPTR_MIN): Likewise.
42723         [C99-based standards] (INTPTR_MAX): Likewise.
42724         [C99-based standards] (UINTPTR_MAX): Likewise.
42725         [C99-based standards] (INTMAX_MIN): Likewise.
42726         [C99-based standards] (INTMAX_MAX): Likewise.
42727         [C99-based standards] (UINTMAX_MAX): Likewise.
42728         [C99-based standards] (PTRDIFF_MIN): Likewise.
42729         [C99-based standards] (PTRDIFF_MAX): Likewise.
42730         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42731         [C99-based standards] (SIZE_MAX): Likewise.
42732         [C99-based standards] (WCHAR_MAX): Likewise.
42733         [C99-based standards] (WINT_MAX): Likewise.
42734         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42735         constraint on value.
42736         [C99-based standards] (WCHAR_MIN): Likewise.
42737         [C99-based standards] (WINT_MIN): Likewise.
42738         [C99-based standards] (*_t): Allow.
42739         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42740         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42741         Include math.h-data and complex.h-data.  Remove all expectations
42742         of math.h and complex.h contents.
42743         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42744         at end of line.
42745         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42746         (struct tm): Expect tag.
42747         [C99-based-standards] (wcstof): Expect function.
42748         [C99-based-standards] (wcstold): Likewise.
42749         [C99-based-standards] (wcstoll): Likewise.
42750         [C99-based-standards] (wcstoull): Likewise.
42751         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42752         macro-int-constant.  Specify type.
42753         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42754         constraint on value.
42755         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42756         Specify type.
42757         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42758         Specify value.
42759         [ISO C standards]: Do not allow headers.
42760         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42761         wcs[abcdefghijklmnopqrstuvwxyz]*.
42762         [ISO C standards] (*_t): Do not allow.
42763         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42764         Expect function.
42765         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42766         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42767         Specify type.
42768         [ISO C standards]: Do not allow headers.
42769         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42770         is[abcdefghijklmnopqrstuvwxyz]*.
42771         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42772         to[abcdefghijklmnopqrstuvwxyz]*.
42773         [ISO C standards] (*_t): Do not allow.
42774         * conform/data/stdalign.h-data: New file.
42775         * conform/data/stdbool.h-data: Likewise.
42776         * conform/data/stdnoreturn.h-data: Likewise.
42778 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42780         [BZ #14815]
42781         * manual/filesys.texi (Directory Entries): Typo fix.
42782         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42784 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42786         * elf/elf.h (EM_AARCH64): New macro.
42787         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42788         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42789         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42790         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42791         (R_AARCH64_TLSDESC): Likewise.
42792         (NT_ARM_TLS): Likewise.
42793         (NT_ARM_HW_BREAK): Likewise.
42794         (NT_ARM_HW_WATCH): Likewise.
42796 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42798         [BZ #14811]
42799         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42800         (__ieee754_powl): Saturate nonzero exponents with absolute value
42801         below 0x1p-79 to +/- 0x1p-79.
42802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42803         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42804         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42805         nonzero exponents with absolute value below 0x1p-32 to +/-
42806         0x1p-32.
42807         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42808         (__ieee754_powl): Saturate nonzero exponents with absolute value
42809         below 0x1p-79 to +/- 0x1p-79.
42810         * math/libm-test.inc (pow_test): Add more tests.
42812 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42814         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42815         _dl_s390_cap_flags with kernel. Increase string length.
42816         (_dl_s390_platforms): Add z196 and zEC12.
42818 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42820         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42821         Change XOPEN21K to XOPEN2K.
42823 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42825         * string/memmove.c: Use memcpy when possible.
42827 2012-11-06  Andreas Jaeger  <aj@suse.de>
42829         * po/eo.po: Update from translation team.
42831 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42833         [BZ #14793]
42834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42835         exponent and small x and y exponents, scale x or y up.  Increase
42836         by 2 the exponent used in scaling up.
42837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42839         * math/libm-test.inc (fma_test): Add more tests.
42840         (fma_test_towardzero): Likewise.
42841         (fma_test_downward): Likewise.
42842         (fma_test_upward): Likewise.
42844 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42846         [BZ #14805]
42847         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42848         fenv_t *.
42850         [BZ #14801]
42851         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42852         namespace for names of struct fields.
42853         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42854         fenv_t fields.
42855         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42856         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42858 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42860         [BZ #3665]
42861         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42863 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42865         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42866         PTR_DEMANGLE.
42868         [BZ #5246]
42869         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42870         PTR_DEMANGLE.
42872 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42874         [BZ #14797]
42875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42876         definitely overflow as x * y not x * y + z.
42877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42879         * math/libm-test.inc (fma_test): Add more tests.
42880         (fma_test_towardzero): Likewise.
42881         (fma_test_downward): Likewise.
42882         (fma_test_upward): Likewise.
42884 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42886         [BZ #157]
42888         * include/stub-tag.h: Remove file.
42889         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42890         '#include' of it.
42891         * manual/maint.texi (Porting): Don't reference it.
42892         * Makerules ($(objpfx)stubs): Likewise.
42893         * dirent/closedir.c: Don't include <stub-tag.h>.
42894         * dirent/dirfd.c: Likewise.
42895         * dirent/fdopendir.c: Likewise.
42896         * dirent/getdents.c: Likewise.
42897         * dirent/getdents64.c: Likewise.
42898         * dirent/opendir.c: Likewise.
42899         * dirent/readdir.c: Likewise.
42900         * dirent/readdir64.c: Likewise.
42901         * dirent/readdir64_r.c: Likewise.
42902         * dirent/readdir_r.c: Likewise.
42903         * dirent/rewinddir.c: Likewise.
42904         * dirent/seekdir.c: Likewise.
42905         * dirent/telldir.c: Likewise.
42906         * gmon/profil.c: Likewise.
42907         * grp/setgroups.c: Likewise.
42908         * inet/if_index.c: Likewise.
42909         * io/access.c: Likewise.
42910         * io/chdir.c: Likewise.
42911         * io/chmod.c: Likewise.
42912         * io/chown.c: Likewise.
42913         * io/close.c: Likewise.
42914         * io/dup.c: Likewise.
42915         * io/dup2.c: Likewise.
42916         * io/dup3.c: Likewise.
42917         * io/euidaccess.c: Likewise.
42918         * io/faccessat.c: Likewise.
42919         * io/fchdir.c: Likewise.
42920         * io/fchmod.c: Likewise.
42921         * io/fchmodat.c: Likewise.
42922         * io/fchown.c: Likewise.
42923         * io/fchownat.c: Likewise.
42924         * io/fcntl.c: Likewise.
42925         * io/flock.c: Likewise.
42926         * io/fstatfs.c: Likewise.
42927         * io/fstatfs64.c: Likewise.
42928         * io/fstatvfs.c: Likewise.
42929         * io/fstatvfs64.c: Likewise.
42930         * io/futimens.c: Likewise.
42931         * io/fxstat.c: Likewise.
42932         * io/fxstat64.c: Likewise.
42933         * io/fxstatat.c: Likewise.
42934         * io/fxstatat64.c: Likewise.
42935         * io/getcwd.c: Likewise.
42936         * io/isatty.c: Likewise.
42937         * io/lchmod.c: Likewise.
42938         * io/lchown.c: Likewise.
42939         * io/link.c: Likewise.
42940         * io/linkat.c: Likewise.
42941         * io/lseek.c: Likewise.
42942         * io/lseek64.c: Likewise.
42943         * io/lxstat64.c: Likewise.
42944         * io/mkdir.c: Likewise.
42945         * io/mkdirat.c: Likewise.
42946         * io/mkfifo.c: Likewise.
42947         * io/mkfifoat.c: Likewise.
42948         * io/open.c: Likewise.
42949         * io/open64.c: Likewise.
42950         * io/openat.c: Likewise.
42951         * io/openat64.c: Likewise.
42952         * io/pipe.c: Likewise.
42953         * io/pipe2.c: Likewise.
42954         * io/poll.c: Likewise.
42955         * io/posix_fadvise.c: Likewise.
42956         * io/posix_fadvise64.c: Likewise.
42957         * io/posix_fallocate.c: Likewise.
42958         * io/posix_fallocate64.c: Likewise.
42959         * io/read.c: Likewise.
42960         * io/readlink.c: Likewise.
42961         * io/readlinkat.c: Likewise.
42962         * io/rmdir.c: Likewise.
42963         * io/sendfile.c: Likewise.
42964         * io/sendfile64.c: Likewise.
42965         * io/statfs.c: Likewise.
42966         * io/statfs64.c: Likewise.
42967         * io/statvfs.c: Likewise.
42968         * io/statvfs64.c: Likewise.
42969         * io/symlink.c: Likewise.
42970         * io/symlinkat.c: Likewise.
42971         * io/ttyname.c: Likewise.
42972         * io/ttyname_r.c: Likewise.
42973         * io/umask.c: Likewise.
42974         * io/unlink.c: Likewise.
42975         * io/unlinkat.c: Likewise.
42976         * io/utime.c: Likewise.
42977         * io/utimensat.c: Likewise.
42978         * io/write.c: Likewise.
42979         * io/xmknod.c: Likewise.
42980         * io/xmknodat.c: Likewise.
42981         * io/xstat.c: Likewise.
42982         * io/xstat64.c: Likewise.
42983         * login/getpt.c: Likewise.
42984         * login/grantpt.c: Likewise.
42985         * login/unlockpt.c: Likewise.
42986         * math/e_acoshl.c: Likewise.
42987         * math/e_acosl.c: Likewise.
42988         * math/e_asinl.c: Likewise.
42989         * math/e_atan2l.c: Likewise.
42990         * math/e_atanhl.c: Likewise.
42991         * math/e_coshl.c: Likewise.
42992         * math/e_expl.c: Likewise.
42993         * math/e_fmodl.c: Likewise.
42994         * math/e_gammal_r.c: Likewise.
42995         * math/e_hypotl.c: Likewise.
42996         * math/e_j0l.c: Likewise.
42997         * math/e_j1l.c: Likewise.
42998         * math/e_jnl.c: Likewise.
42999         * math/e_lgammal_r.c: Likewise.
43000         * math/e_log10l.c: Likewise.
43001         * math/e_log2l.c: Likewise.
43002         * math/e_logl.c: Likewise.
43003         * math/e_powl.c: Likewise.
43004         * math/e_rem_pio2l.c: Likewise.
43005         * math/e_sinhl.c: Likewise.
43006         * math/e_sqrtl.c: Likewise.
43007         * math/fclrexcpt.c: Likewise.
43008         * math/fedisblxcpt.c: Likewise.
43009         * math/feenablxcpt.c: Likewise.
43010         * math/fegetenv.c: Likewise.
43011         * math/fegetexcept.c: Likewise.
43012         * math/fegetround.c: Likewise.
43013         * math/feholdexcpt.c: Likewise.
43014         * math/fesetenv.c: Likewise.
43015         * math/fesetround.c: Likewise.
43016         * math/feupdateenv.c: Likewise.
43017         * math/fgetexcptflg.c: Likewise.
43018         * math/fraiseexcpt.c: Likewise.
43019         * math/fsetexcptflg.c: Likewise.
43020         * math/ftestexcept.c: Likewise.
43021         * math/k_cosl.c: Likewise.
43022         * math/k_rem_pio2l.c: Likewise.
43023         * math/k_sinl.c: Likewise.
43024         * math/k_tanl.c: Likewise.
43025         * math/s_asinhl.c: Likewise.
43026         * math/s_atanl.c: Likewise.
43027         * math/s_cbrtl.c: Likewise.
43028         * math/s_erfl.c: Likewise.
43029         * math/s_expm1l.c: Likewise.
43030         * math/s_log1pl.c: Likewise.
43031         * math/s_tanhl.c: Likewise.
43032         * misc/acct.c: Likewise.
43033         * misc/brk.c: Likewise.
43034         * misc/chflags.c: Likewise.
43035         * misc/chroot.c: Likewise.
43036         * misc/fchflags.c: Likewise.
43037         * misc/fgetxattr.c: Likewise.
43038         * misc/flistxattr.c: Likewise.
43039         * misc/fremovexattr.c: Likewise.
43040         * misc/fsetxattr.c: Likewise.
43041         * misc/fsync.c: Likewise.
43042         * misc/ftruncate.c: Likewise.
43043         * misc/futimes.c: Likewise.
43044         * misc/futimesat.c: Likewise.
43045         * misc/getdomain.c: Likewise.
43046         * misc/getdtsz.c: Likewise.
43047         * misc/gethostid.c: Likewise.
43048         * misc/gethostname.c: Likewise.
43049         * misc/getloadavg.c: Likewise.
43050         * misc/getpagesize.c: Likewise.
43051         * misc/getsysstats.c: Likewise.
43052         * misc/getxattr.c: Likewise.
43053         * misc/gtty.c: Likewise.
43054         * misc/ioctl.c: Likewise.
43055         * misc/lgetxattr.c: Likewise.
43056         * misc/listxattr.c: Likewise.
43057         * misc/llistxattr.c: Likewise.
43058         * misc/lremovexattr.c: Likewise.
43059         * misc/lsetxattr.c: Likewise.
43060         * misc/lutimes.c: Likewise.
43061         * misc/madvise.c: Likewise.
43062         * misc/mincore.c: Likewise.
43063         * misc/mlock.c: Likewise.
43064         * misc/mlockall.c: Likewise.
43065         * misc/mmap.c: Likewise.
43066         * misc/mprotect.c: Likewise.
43067         * misc/msync.c: Likewise.
43068         * misc/munlock.c: Likewise.
43069         * misc/munlockall.c: Likewise.
43070         * misc/munmap.c: Likewise.
43071         * misc/preadv.c: Likewise.
43072         * misc/preadv64.c: Likewise.
43073         * misc/ptrace.c: Likewise.
43074         * misc/pwritev.c: Likewise.
43075         * misc/pwritev64.c: Likewise.
43076         * misc/readv.c: Likewise.
43077         * misc/reboot.c: Likewise.
43078         * misc/remap_file_pages.c: Likewise.
43079         * misc/removexattr.c: Likewise.
43080         * misc/revoke.c: Likewise.
43081         * misc/select.c: Likewise.
43082         * misc/setdomain.c: Likewise.
43083         * misc/setegid.c: Likewise.
43084         * misc/seteuid.c: Likewise.
43085         * misc/sethostid.c: Likewise.
43086         * misc/sethostname.c: Likewise.
43087         * misc/setregid.c: Likewise.
43088         * misc/setreuid.c: Likewise.
43089         * misc/setxattr.c: Likewise.
43090         * misc/sstk.c: Likewise.
43091         * misc/stty.c: Likewise.
43092         * misc/swapoff.c: Likewise.
43093         * misc/swapon.c: Likewise.
43094         * misc/sync.c: Likewise.
43095         * misc/syncfs.c: Likewise.
43096         * misc/syscall.c: Likewise.
43097         * misc/truncate.c: Likewise.
43098         * misc/ualarm.c: Likewise.
43099         * misc/usleep.c: Likewise.
43100         * misc/ustat.c: Likewise.
43101         * misc/utimes.c: Likewise.
43102         * misc/vhangup.c: Likewise.
43103         * misc/writev.c: Likewise.
43104         * posix/_exit.c: Likewise.
43105         * posix/alarm.c: Likewise.
43106         * posix/execve.c: Likewise.
43107         * posix/fexecve.c: Likewise.
43108         * posix/fork.c: Likewise.
43109         * posix/fpathconf.c: Likewise.
43110         * posix/getaddrinfo.c: Likewise.
43111         * posix/getegid.c: Likewise.
43112         * posix/geteuid.c: Likewise.
43113         * posix/getgid.c: Likewise.
43114         * posix/getgroups.c: Likewise.
43115         * posix/getlogin.c: Likewise.
43116         * posix/getlogin_r.c: Likewise.
43117         * posix/getpgid.c: Likewise.
43118         * posix/getpid.c: Likewise.
43119         * posix/getppid.c: Likewise.
43120         * posix/getresgid.c: Likewise.
43121         * posix/getresuid.c: Likewise.
43122         * posix/getsid.c: Likewise.
43123         * posix/getuid.c: Likewise.
43124         * posix/glob64.c: Likewise.
43125         * posix/nanosleep.c: Likewise.
43126         * posix/pathconf.c: Likewise.
43127         * posix/pause.c: Likewise.
43128         * posix/posix_madvise.c: Likewise.
43129         * posix/pread.c: Likewise.
43130         * posix/pread64.c: Likewise.
43131         * posix/pwrite.c: Likewise.
43132         * posix/pwrite64.c: Likewise.
43133         * posix/sched_getaffinity.c: Likewise.
43134         * posix/sched_getp.c: Likewise.
43135         * posix/sched_gets.c: Likewise.
43136         * posix/sched_primax.c: Likewise.
43137         * posix/sched_primin.c: Likewise.
43138         * posix/sched_rr_gi.c: Likewise.
43139         * posix/sched_setaffinity.c: Likewise.
43140         * posix/sched_setp.c: Likewise.
43141         * posix/sched_sets.c: Likewise.
43142         * posix/sched_yield.c: Likewise.
43143         * posix/setgid.c: Likewise.
43144         * posix/setlogin.c: Likewise.
43145         * posix/setpgid.c: Likewise.
43146         * posix/setresgid.c: Likewise.
43147         * posix/setresuid.c: Likewise.
43148         * posix/setsid.c: Likewise.
43149         * posix/setuid.c: Likewise.
43150         * posix/sleep.c: Likewise.
43151         * posix/spawni.c: Likewise.
43152         * posix/sysconf.c: Likewise.
43153         * posix/times.c: Likewise.
43154         * posix/wait.c: Likewise.
43155         * posix/wait3.c: Likewise.
43156         * posix/wait4.c: Likewise.
43157         * posix/waitpid.c: Likewise.
43158         * resolv/gai_sigqueue.c: Likewise.
43159         * resource/getpriority.c: Likewise.
43160         * resource/getrlimit.c: Likewise.
43161         * resource/getrusage.c: Likewise.
43162         * resource/nice.c: Likewise.
43163         * resource/setpriority.c: Likewise.
43164         * resource/setrlimit.c: Likewise.
43165         * resource/ulimit.c: Likewise.
43166         * rt/aio_cancel.c: Likewise.
43167         * rt/aio_fsync.c: Likewise.
43168         * rt/aio_read.c: Likewise.
43169         * rt/aio_sigqueue.c: Likewise.
43170         * rt/aio_suspend.c: Likewise.
43171         * rt/aio_write.c: Likewise.
43172         * rt/clock_getres.c: Likewise.
43173         * rt/clock_gettime.c: Likewise.
43174         * rt/clock_nanosleep.c: Likewise.
43175         * rt/clock_settime.c: Likewise.
43176         * rt/lio_listio.c: Likewise.
43177         * rt/mq_close.c: Likewise.
43178         * rt/mq_getattr.c: Likewise.
43179         * rt/mq_notify.c: Likewise.
43180         * rt/mq_open.c: Likewise.
43181         * rt/mq_receive.c: Likewise.
43182         * rt/mq_send.c: Likewise.
43183         * rt/mq_setattr.c: Likewise.
43184         * rt/mq_timedreceive.c: Likewise.
43185         * rt/mq_timedsend.c: Likewise.
43186         * rt/mq_unlink.c: Likewise.
43187         * rt/shm_open.c: Likewise.
43188         * rt/shm_unlink.c: Likewise.
43189         * rt/timer_create.c: Likewise.
43190         * rt/timer_delete.c: Likewise.
43191         * rt/timer_getoverr.c: Likewise.
43192         * rt/timer_gettime.c: Likewise.
43193         * rt/timer_settime.c: Likewise.
43194         * setjmp/__longjmp.c: Likewise.
43195         * setjmp/setjmp.c: Likewise.
43196         * signal/kill.c: Likewise.
43197         * signal/killpg.c: Likewise.
43198         * signal/raise.c: Likewise.
43199         * signal/sigaction.c: Likewise.
43200         * signal/sigaltstack.c: Likewise.
43201         * signal/sigblock.c: Likewise.
43202         * signal/sigignore.c: Likewise.
43203         * signal/sigintr.c: Likewise.
43204         * signal/signal.c: Likewise.
43205         * signal/sigpause.c: Likewise.
43206         * signal/sigpending.c: Likewise.
43207         * signal/sigqueue.c: Likewise.
43208         * signal/sigreturn.c: Likewise.
43209         * signal/sigset.c: Likewise.
43210         * signal/sigsetmask.c: Likewise.
43211         * signal/sigstack.c: Likewise.
43212         * signal/sigsuspend.c: Likewise.
43213         * signal/sigtimedwait.c: Likewise.
43214         * signal/sigvec.c: Likewise.
43215         * signal/sigwait.c: Likewise.
43216         * signal/sigwaitinfo.c: Likewise.
43217         * signal/sysv_signal.c: Likewise.
43218         * socket/accept.c: Likewise.
43219         * socket/accept4.c: Likewise.
43220         * socket/bind.c: Likewise.
43221         * socket/connect.c: Likewise.
43222         * socket/getpeername.c: Likewise.
43223         * socket/getsockname.c: Likewise.
43224         * socket/getsockopt.c: Likewise.
43225         * socket/isfdtype.c: Likewise.
43226         * socket/listen.c: Likewise.
43227         * socket/recv.c: Likewise.
43228         * socket/recvfrom.c: Likewise.
43229         * socket/recvmsg.c: Likewise.
43230         * socket/send.c: Likewise.
43231         * socket/sendmsg.c: Likewise.
43232         * socket/sendto.c: Likewise.
43233         * socket/setsockopt.c: Likewise.
43234         * socket/shutdown.c: Likewise.
43235         * socket/sockatmark.c: Likewise.
43236         * socket/socket.c: Likewise.
43237         * socket/socketpair.c: Likewise.
43238         * stdio-common/ctermid.c: Likewise.
43239         * stdio-common/cuserid.c: Likewise.
43240         * stdio-common/remove.c: Likewise.
43241         * stdio-common/rename.c: Likewise.
43242         * stdio-common/renameat.c: Likewise.
43243         * stdio-common/tempname.c: Likewise.
43244         * stdlib/getcontext.c: Likewise.
43245         * stdlib/makecontext.c: Likewise.
43246         * stdlib/setcontext.c: Likewise.
43247         * stdlib/swapcontext.c: Likewise.
43248         * stdlib/system.c: Likewise.
43249         * streams/fattach.c: Likewise.
43250         * streams/fdetach.c: Likewise.
43251         * streams/getmsg.c: Likewise.
43252         * streams/getpmsg.c: Likewise.
43253         * streams/putmsg.c: Likewise.
43254         * streams/putpmsg.c: Likewise.
43255         * sysdeps/unix/bsd/getpt.c: Likewise.
43256         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43257         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43258         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43260         Likewise.
43261         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43262         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43263         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43264         * sysvipc/msgctl.c: Likewise.
43265         * sysvipc/msgget.c: Likewise.
43266         * sysvipc/msgrcv.c: Likewise.
43267         * sysvipc/msgsnd.c: Likewise.
43268         * sysvipc/semctl.c: Likewise.
43269         * sysvipc/semget.c: Likewise.
43270         * sysvipc/semop.c: Likewise.
43271         * sysvipc/semtimedop.c: Likewise.
43272         * sysvipc/shmat.c: Likewise.
43273         * sysvipc/shmctl.c: Likewise.
43274         * sysvipc/shmdt.c: Likewise.
43275         * sysvipc/shmget.c: Likewise.
43276         * termios/tcdrain.c: Likewise.
43277         * termios/tcflow.c: Likewise.
43278         * termios/tcflush.c: Likewise.
43279         * termios/tcgetattr.c: Likewise.
43280         * termios/tcgetpgrp.c: Likewise.
43281         * termios/tcsendbrk.c: Likewise.
43282         * termios/tcsetattr.c: Likewise.
43283         * termios/tcsetpgrp.c: Likewise.
43284         * time/adjtime.c: Likewise.
43285         * time/clock.c: Likewise.
43286         * time/getitimer.c: Likewise.
43287         * time/gettimeofday.c: Likewise.
43288         * time/setitimer.c: Likewise.
43289         * time/settimeofday.c: Likewise.
43290         * time/stime.c: Likewise.
43291         * time/time.c: Likewise.
43293 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43295         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43296         /usr/old/bin.
43298         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43299         instead of spaces.
43300         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43302 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43304         [BZ #14796]
43305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43306         FE_TONEAREST before applying Dekker multiplication and Knuth
43307         addition.  Clear inexact exceptions and check for exact zero
43308         results afterwards.
43309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43310         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43311         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43312         * math/libm-test.inc (fma_test): Add more tests.
43313         (fma_test_towardzero): Likewise.
43314         (fma_test_downward): Likewise.
43315         (fma_test_upward): Likewise.
43316         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43317         function.
43318         (libc_fesetround): New macro.
43319         (libc_fesetroundf): Likewise.
43320         (libc_fesetroundl): Likewise.
43321         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43322         function.
43323         (libc_fesetround_387): Likewise.
43324         (libc_fesetroundf): New macro.
43325         (libc_fesetround): Likewise.
43326         (libc_fesetroundl): Likewise.
43327         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43328         function.
43329         (libc_fesetroundf): New macro.
43330         (libc_fesetround): Likewise.
43331         (libc_fesetroundl): Likewise.
43332         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43333         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43334         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43335         libm_hidden_ver.
43336         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43337         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43338         libm_hidden_def.
43339         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43340         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43341         libm_hidden_ver.
43342         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43343         libm_hidden_def.
43345         [BZ #3439]
43346         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43347         integer constant usable in #if and use that to give value to enum
43348         constant.
43349         (FE_DIVBYZERO): Likewise.
43350         (FE_UNDERFLOW): Likewise.
43351         (FE_OVERFLOW): Likewise.
43352         (FE_INVALID): Likewise.
43353         (FE_INVALID_SNAN): Likewise.
43354         (FE_INVALID_ISI): Likewise.
43355         (FE_INVALID_IDI): Likewise.
43356         (FE_INVALID_ZDZ): Likewise.
43357         (FE_INVALID_IMZ): Likewise.
43358         (FE_INVALID_COMPARE): Likewise.
43359         (FE_INVALID_SOFTWARE): Likewise.
43360         (FE_INVALID_SQRT): Likewise.
43361         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43362         (FE_TONEAREST): Likewise.
43363         (FE_TOWARDZERO): Likewise.
43364         (FE_UPWARD): Likewise.
43365         (FE_DOWNWARD): Likewise.
43366         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43367         (FE_DIVBYZERO): Likewise.
43368         (FE_OVERFLOW): Likewise.
43369         (FE_UNDERFLOW): Likewise.
43370         (FE_INEXACT): Likewise.
43371         (FE_TONEAREST): Likewise.
43372         (FE_DOWNWARD): Likewise.
43373         (FE_UPWARD): Likewise.
43374         (FE_TOWARDZERO): Likewise.
43375         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43376         (FE_UNDERFLOW): Likewise.
43377         (FE_OVERFLOW): Likewise.
43378         (FE_DIVBYZERO): Likewise.
43379         (FE_INVALID): Likewise.
43380         (FE_TONEAREST): Likewise.
43381         (FE_TOWARDZERO): Likewise.
43382         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43383         (FE_OVERFLOW): Likewise.
43384         (FE_UNDERFLOW): Likewise.
43385         (FE_DIVBYZERO): Likewise.
43386         (FE_INEXACT): Likewise.
43387         (FE_TONEAREST): Likewise.
43388         (FE_TOWARDZERO): Likewise.
43389         (FE_UPWARD): Likewise.
43390         (FE_DOWNWARD): Likewise.
43391         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43392         (FE_DIVBYZERO): Likewise.
43393         (FE_OVERFLOW): Likewise.
43394         (FE_UNDERFLOW): Likewise.
43395         (FE_INEXACT): Likewise.
43396         (FE_TONEAREST): Likewise.
43397         (FE_DOWNWARD): Likewise.
43398         (FE_UPWARD): Likewise.
43399         (FE_TOWARDZERO): Likewise.
43401 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43403         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43405 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43407         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43408         commands.  Quote $PWD.
43409         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43410         -x" by "export".
43411         (remove_newlines): Remove.
43413 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43415         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43416         * stdlib/stdlib.h (atof): Moved to ...
43417         * include/bits/stdlib-float.h: Here.  New file.
43418         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43419         * stdlib/bits/stdlib-float.h: New file.
43420         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43421         -mno-sse -mno-mmx.
43422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43423         <xmmintrin.h>.
43425 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43427         * conform/conformtest.pl (@headers): Add fenv.h.
43428         * conform/data/fenv.h-data: New file.
43429         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43430         include of <math/fenv.h>.
43432         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43433         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43434         && !UNIX98].  Enables tests for XOPEN2K8.
43435         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43436         POSIX2008]: Likewise.
43438         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43439         (struct rusage): Do not expect type or its members.
43441         [BZ #3439]
43442         * math/math.h (FP_NAN): Define macro to integer constant usable in
43443         #if and use that to give value to enum constant.
43444         (FP_INFINITE): Likewise.
43445         (FP_ZERO): Likewise.
43446         (FP_SUBNORMAL): Likewise.
43447         (FP_NORMAL): Likewise.
43449 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43451         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43452         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43453         arguments.
43455 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43457         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43458         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43459         autoconf-time if not.
43460         * configure.in: Remove AC_PREREQ.
43462 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43464         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43465         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43466         of the internal implementation.
43468 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43470         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43471         except include of <misc/sys/syslog.h>.
43473 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43476         function returns with a NULL context exit with zero.
43478 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43480         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43482 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43484         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43485         (run_program_cmd): This.
43486         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43487         (tst_langinfo): New variable.  Use it.
43489 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43491         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43492         floating point opcodes.
43494 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43496         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43497         variable.
43499         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43501         * sysdeps/mach/hurd/powerpc: Remove directory.
43502         * sysdeps/mach/powerpc: Likewise.
43504 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43506         * scripts/check-local-headers.sh: Ignore c++ headers.
43508 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43510         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43511         __libc_cleanup_region_start argument.
43513 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43515         [BZ #14784]
43516         [BZ #14785]
43517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43518         x * y using scaling, not as x * y + z.
43519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43521         * math/libm-test.inc (fma_test): Add more tests.
43522         (fma_test_towardzero): Likewise.
43523         (fma_test_downward): Likewise.
43524         (fma_test_upward): Likewise.
43526 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43528         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43530 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43532         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43533         New variable.
43535 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43537         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43539 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43542         Fix sort order.
43543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43544         Likewise.
43546 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43549         Fix the order of the list for glibc 2.17.
43550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43551         Likewise.
43553 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43557 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43559         [BZ #14610]
43560         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43561         for low part of x being zero before using __atanl (y).
43562         * math/libm-test.inc (atan2_test): Add another test.
43564         * manual/install.texi (Configuring and compiling): Document
43565         general use of test-wrapper and test-wrapper-env.
43566         * INSTALL: Regenerated.
43568         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43569         (__fma): Do not extract and scale down low bits on after-rounding
43570         systems when result rounded to normal precision would have normal
43571         exponent.
43572         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43573         (__fmal): Do not extract and scale down low bits on after-rounding
43574         systems when result rounded to normal precision would have normal
43575         exponent.
43576         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43577         (__fmal): Do not extract and scale down low bits on after-rounding
43578         systems when result rounded to normal precision would have normal
43579         exponent.
43580         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43581         macro.
43582         (fma_test): Add more tests.
43583         (fma_test_towardzero): Likewise.
43584         (fma_test_downward): Likewise.
43585         (fma_test_upward): Likewise.
43587 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43589         * sysdeps/i386/tininess.h: Renamed to ...
43590         * sysdeps/x86/tininess.h: This.
43591         * sysdeps/x86_64/tininess.h: Removed.
43593 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43595         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43596         input.  Use $(build-program-cmd).
43597         ($(objpfx)tst-array1-static.out): Likewise.
43598         ($(objpfx)tst-array2.out): Likewise.
43599         ($(objpfx)tst-array3.out): Likewise.
43600         ($(objpfx)tst-array4.out): Likewise.
43601         ($(objpfx)tst-array5.out): Likewise.
43602         ($(objpfx)tst-array5-static.out): Likewise.
43604 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43606         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43607         if defined.
43609         * nss/nsswitch.h (nss_interface_function): Provide new
43610         macro for use with NSS functions.
43611         * grp/initgroups.c: Use new macro.
43612         * nss/getXXbyYY.c: Likewise.
43613         * nss/getXXbyYY_r.c: Likewise.
43614         * nss/getXXent.c: Likewise.
43615         * nss/getXXent_r.c: Likewise.
43616         * sysdeps/posix/getaddrinfo.c: Likewise.
43618 2012-10-30  Andreas Jaeger  <aj@suse.de>
43620         * po/ru.po: Update Russion translation from translation project.
43622 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43624         [BZ #14152]
43625         [BZ #14783]
43626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43627         result and shift together with sticky bit instead of replicating
43628         round-to-nearest rounding.
43629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43631         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43632         missing underflow exceptions.
43633         (fma_test_towardzero): Add more tests.
43634         (fma_test_downward): Likewise.
43635         (fma_test_upward): Likewise.
43637         [BZ #14047]
43638         * sysdeps/generic/tininess.h: New file.
43639         * sysdeps/i386/tininess.h: Likewise.
43640         * sysdeps/sh/tininess.h: Likewise.
43641         * sysdeps/x86_64/tininess.h: Likewise.
43642         * stdlib/tst-strtod-underflow.c: Likewise.
43643         * stdlib/tst-tininess.c: Likewise.
43644         * stdlib/strtod_l.c: Include <tininess.h>.
43645         (round_and_return): Do not set errno for exact underflow cases.
43646         Force an underflow exception when setting errno for underflow.
43647         Determine underflow based on rounding to normal precision if
43648         TININESS_AFTER_ROUNDING.
43649         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43650         ERANGE for exact underflow cases.
43651         * stdlib/Makefile (tests): Add tst-tininess and
43652         tst-strtod-underflow.
43653         ($(objpfx)tst-tininess): Use $(link-libm).
43654         ($(objpfx)tst-strtod-underflow): Likewise.
43656 2012-10-30  Andreas Jaeger  <aj@suse.de>
43658         [BZ#14767]
43659         * elf/Makefile (tests): Remove conditional for have-initfini-array
43660         since this is now always required and the variable does not exist
43661         anymore.
43662         (tests-static): Likewise.
43663         (modules-names): Likewise.
43665         * po/eo.po: Add Esperanto translation from translation project.
43667         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43668         merged with constructor/destructor.
43669         (init_array): Likewise.
43670         * elf/tst-array2dep.c (fini_array): Likewise.
43671         (init_array): Likewise.
43673 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43675         * manual/message.texi: Delete @cartouche tags.
43677 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43679         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43680         EOPNOTSUPP.
43681         * sysdeps/mach/hurd/fsync.c: Likewise.
43683         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43684         [_POSIX_REALTIME_SIGNALS]: Change condition to
43685         [_POSIX_REALTIME_SIGNALS > 0].
43687 2012-10-27  Andreas Jaeger  <aj@suse.de>
43689         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43690         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43692         [__WORDSIZE != 64]: Likewise.
43694 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43696         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43697         *  iconvdata/tst-tables.sh: Likewise.
43699 2012-10-25  David S. Miller  <davem@davemloft.net>
43701         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43702         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43703         of strtoull.
43705         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43706         ifunc-impl-list.c
43707         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43708         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43709         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43710         file.
43712 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43715         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43716         __getdirentries.
43718 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43719             Jim Blandy  <jimb@codesourcery.com>
43721         * scripts/cross-test-ssh.sh: New file.
43722         * manual/install.texi (Configuring and compiling): Document use of
43723         cross-test-ssh.sh.
43724         * INSTALL: Regenerated.
43726 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43728         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43729         EOPNOTSUPP.
43731 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43733         * Makeconfig (run-program-prefix): Fix comment.
43735 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43736             Jim Blandy  <jimb@codesourcery.com>
43738         * Makeconfig (test-wrapper): New variable,
43739         (test-wrapper-env): Likewise.
43740         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43741         (run-built-tests): Define to yes.
43742         (run-program-prefix): Use $(test-wrapper).
43743         (built-program-cmd): Likewise.
43744         * Rules (make-test-out): Use $(test-wrapper-env) and
43745         $(host-built-program-cmd).
43746         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43747         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43748         tst-pathopt.sh.
43749         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43750         $(test-wrapper-env) to tst-rtld-load-self.sh.
43751         ($(objpfx)order2.out): Use $(test-wrapper).
43752         ($(objpfx)tst-initorder.out): Likewise.
43753         ($(objpfx)tst-initorder2.out): Likewise.
43754         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43755         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43756         (test_wrapper_env): New variable.  Use it to run ld.so.
43757         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43758         Use it to run ld.so.
43759         (test_wrapper_env): Likewise.
43760         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43761         $(test-wrapper) to run-iconv-test.sh.
43762         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43763         (ICONV): Use $test_wrapper.
43764         * posix/Makefile ($(objpfx)globtest.out): Pass
43765         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43766         globtest.sh, not $(run-program-prefix).
43767         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43768         (test_wrapper): Likewise.
43769         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43770         set together with run_via_rtld_prefix.
43771         (run_program_prefix): Define in terms of test_wrapper and
43772         run_via_rtld_prefix.
43774 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43776         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43777         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43778         Targets removed.
43780         [BZ #14743]
43781         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43782         Declare __clock_getres, __clock_gettime, __clock_settime,
43783         __clock_nanosleep, and __clock_getcpuclockid.
43784         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43785         Remove librt_hidden_def (clock_gettime).
43786         * sysdeps/unix/clock_gettime.c: Likewise.
43787         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43788         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43789         * rt/clock_getres.c: Define __clock_getres as an alias.
43790         * sysdeps/posix/clock_getres.c: Likewise.
43791         * rt/clock_settime.c: Define __clock_settime as an alias.
43792         * sysdeps/unix/clock_settime.c: Likewise.
43793         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43794         * sysdeps/unix/clock_nanosleep.c: Likewise.
43795         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43796         * rt/clock-compat.c: New file.
43797         * rt/Makefile (librt-routines): Add clock-compat and move
43798         $(clock-routines) to ...
43799         (routines): ... here, new variable.
43800         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43801         Don't add get_clockfreq here.
43802         * rt/Versions (libc: GLIBC_2.17): New version set.
43803         Add clock_* symbols here.
43804         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43806         (GLIBC_2.17): Add clock_* symbols.
43807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43811         Likewise.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43813         Likewise.
43814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43818         * NEWS: Mention the move.
43820         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43821         Use __open, __read, __close rather than their public counterparts.
43822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43823         (__get_clockfreq_via_cpuinfo): Likewise.
43824         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43825         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43827         * config.h.in (HAVE_IFUNC): New #undef.
43828         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43829         was successful.
43830         * configure: Regenerated.
43832 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43834         * configure.in: Move READELF check to start of file.
43835         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43836         libc_cv_asm_gnu_indirect_function in the process.
43837         * configure: Regenerated.
43839 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43841         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43842         send the output to /dev/null.
43843         (libc_cv_cc_with_libunwind): Likewise.
43844         (libc_cv_as_noexecstack): Likewise.
43845         * configure: Regenerate.
43847 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43849         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43851         * posix/globtest.sh (TMPDIR): Do not set.
43852         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43853         (testout): Likewise.
43855 2012-10-24  Andreas Jaeger  <aj@suse.de>
43857         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43858         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43859         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43860         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43861         posix_fadvise64, posix_fallocate64.
43863         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43864         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43865         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43866         Likewise.
43867         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43868         Likewise.
43869         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43872         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43873         <bits/fcntl-linux.h>.
43874         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43877         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43878         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43879         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43880         [__WORDSIZE != 64]: Likewise.
43882 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43884         * Makeconfig (run-built-tests): New variable.
43885         * Rules [$(cross-compiling) = yes]: Change condition to
43886         [$(run-built-tests) = no].
43887         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43888         to [$(run-built-tests) = yes].
43889         * elf/Makefile [$(cross-compiling) = no]: Likewise
43890         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43891         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43892         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43893         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43894         * io/Makefile [$(cross-compiling) = no]: Likewise.
43895         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43896         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43897         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43898         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43899         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43900         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43901         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43902         * string/Makefile [$(cross-compiling) = no]: Likewise.
43904         * posix/Makefile ($(objpfx)globtest.out): Pass
43905         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43906         $(rtld-installed-name).
43907         * posix/globtest.sh (elf_objpfx): Remove variable.
43908         (rtld_installed_name): Likewise.
43909         (library_path): Likewise.
43910         (run_program_prefix): New variable.  Use for running globtest
43911         binary.
43913 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43914             Joseph Myers  <joseph@codesourcery.com>
43916         * Makeconfig (host-built-program-cmd): New variable.
43917         * elf/Makefile (tst-stackguard1-ARGS): Use
43918         $(host-built-program-cmd).
43919         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43920         (tst-spawn-ARGS): Likewise.
43921         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43923 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43924             Jim Blandy  <jimb@codesourcery.com>
43926         * Makeconfig (run-via-rtld-prefix): New variable.
43927         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43928         (built-program-cmd): Likewise.
43930 2012-10-22  Andreas Jaeger  <aj@suse.de>
43932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43933         __O_RSYNC if it exists, otherwise to O_SYNC.
43935 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43936             Joseph Myers  <joseph@codesourcery.com>
43938         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43939         /dev/null.
43940         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43941         from /dev/null
43942         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43943         /dev/null.
43945 2012-10-22  Andreas Jaeger  <aj@suse.de>
43947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43948         Define always.
43949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43952         bits/fcntl-linux.h.
43954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43955         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43958         to __O_LARGEFILE.
43959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43960         to __O_LARGEFILE.
43962 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43963             Joseph Myers  <joseph@codesourcery.com>
43965         * config.make.in (NM): New variable.
43967 2012-10-21  Andreas Jaeger  <aj@suse.de>
43969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43970         definitions and declarations that are provided by
43971         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43973 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43975         [BZ #14683]
43976         * elf/Makefile (tests-static): Add tst-leaks1-static.
43977         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43978         ($(objpfx)tst-leaks1-static): New rule.
43979         ($(objpfx)tst-leaks1-static-mem): Likewise.
43980         (tst-leaks1-static-ENV): New macro.
43981         * elf/dl-open.c (dl_open_worker): Check the main application
43982         only if SHARED is defined.
43983         * elf/tst-leaks1-static.c: New file.
43985 2012-10-20  Andreas Jaeger  <aj@suse.de>
43987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43988         generic values for Linux.
43989         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43990         and declarations that are provided by <bits/fcntl-linux.h> and
43991         include <bits/fcntl-linux.h>.
43992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43995 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43997         * io/fcntl.h: Move include of <bits/types.h> to the top and
43998         include it unconditionally.
44000 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44002         * wcsmbs/Makefile (tests-ifunc): New variable.
44003         (tests): Add $(tests-ifunc).
44004         * wcsmbs/test-wcschr-ifunc.c: New file.
44005         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44006         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44007         * wcsmbs/test-wcslen-ifunc.c: Likewise.
44008         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44009         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44011         * string/Makefile (tests-ifunc): New variable.
44012         (tests): Add $(tests-ifunc).
44013         * string/test-memccpy.c (TEST_NAME): New macro.
44014         * string/test-memchr.c (TEST_NAME): Likewise.
44015         * string/test-memcmp.c (TEST_NAME): Likewise.
44016         * string/test-memcpy.c (TEST_NAME): Likewise.
44017         * string/test-memmem.c (TEST_NAME): Likewise.
44018         * string/test-memmove.c (TEST_NAME): Likewise.
44019         * string/test-memset.c (TEST_NAME): Likewise.
44020         * string/test-rawmemchr.c (TEST_NAME): Likewise.
44021         * string/test-stpcpy.c (TEST_NAME): Likewise.
44022         * string/test-stpncpy.c (TEST_NAME): Likewise.
44023         * string/test-strcasecmp.c (TEST_NAME): Likewise.
44024         * string/test-strcasestr.c (TEST_NAME): Likewise.
44025         * string/test-strcat.c (TEST_NAME): Likewise.
44026         * string/test-strchr.c (TEST_NAME): Likewise.
44027         * string/test-strcmp.c(TEST_NAME): Likewise.
44028         * string/test-strcpy.c (TEST_NAME): Likewise.
44029         * string/test-strcspn.c (TEST_NAME): Likewise.
44030         * string/test-strlen.c (TEST_NAME): Likewise.
44031         * string/test-strncasecmp.c (TEST_NAME): Likewise.
44032         * string/test-strncmp.c (TEST_NAME): Likewise.
44033         * string/test-strncpy.c (TEST_NAME): Likewise.
44034         * string/test-strnlen.c (TEST_NAME): Likewise.
44035         * string/test-strpbrk.c (TEST_NAME): Likewise.
44036         * string/test-strrchr.c (TEST_NAME): Likewise.
44037         * string/test-strspn.c (TEST_NAME): Likewise.
44038         * string/test-strstr.c (TEST_NAME): Likewise.
44039         * string/test-bcopy-ifunc.c: New file.
44040         * string/test-bzero-ifunc.c: Likewise.
44041         * string/test-memccpy-ifunc.c: Likewise.
44042         * string/test-memchr-ifunc.c: Likewise.
44043         * string/test-memcmp-ifunc.c: Likewise.
44044         * string/test-memcpy-ifunc.c: Likewise.
44045         * string/test-memmem-ifunc.c: Likewise.
44046         * string/test-memmove-ifunc.c: Likewise.
44047         * string/test-mempcpy-ifunc.c: Likewise.
44048         * string/test-memset-ifunc.c: Likewise.
44049         * string/test-rawmemchr-ifunc.c: Likewise.
44050         * string/test-stpcpy-ifunc.c: Likewise.
44051         * string/test-stpncpy-ifunc.c: Likewise.
44052         * string/test-strcasecmp-ifunc.c: Likewise.
44053         * string/test-strcasestr-ifunc.c: Likewise.
44054         * string/test-strcat-ifunc.c: Likewise.
44055         * string/test-strchr-ifunc.c: Likewise.
44056         * string/test-strchrnul-ifunc.c: Likewise.
44057         * string/test-strcmp-ifunc.c: Likewise.
44058         * string/test-strcpy-ifunc.c: Likewise.
44059         * string/test-strcspn-ifunc.c: Likewise.
44060         * string/test-strlen-ifunc.c: Likewise.
44061         * string/test-strncasecmp-ifunc.c: Likewise.
44062         * string/test-strncat-ifunc.c: Likewise.
44063         * string/test-strncmp-ifunc.c: Likewise.
44064         * string/test-strncpy-ifunc.c: Likewise.
44065         * string/test-strnlen-ifunc.c: Likewise.
44066         * string/test-strpbrk-ifunc.c: Likewise.
44067         * string/test-strrchr-ifunc.c: Likewise.
44068         * string/test-strspn-ifunc.c: Likewise.
44069         * string/test-strstr-ifunc.c: Likewise.
44071         * debug/Makefile (tests-ifunc): New variable.
44072         (tests): Add $(tests-ifunc).
44073         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44074         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44075         * debug/test-stpcpy_chk-ifunc.c: New file.
44076         * debug/test-strcpy_chk-ifunc.c: Likewise.
44078 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44080         [BZ #13601]
44081         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44082         header is not read in.
44084 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44086         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44087         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44088         directly.  Pass built executable to script as
44089         $(built-program-cmd).
44090         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44091         $testprogram without using LD_LIBRARY_PATH and $ldso.
44093         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44094         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44095         $(rtld-installed-name).
44096         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44097         (rtld_installed_name): Likewise.
44098         (library_path): Likewise.
44099         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44100         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44101         $(run-program-prefix) to tst-tables.sh.
44102         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44103         it to run tst-table-from and tst-table-to.
44104         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44105         Pass it to tst-table.sh.
44106         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44107         $(run-program-prefix) to tst-gettext.sh.
44108         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44109         tst-translit.sh.
44110         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44111         tst-gettext2.sh.
44112         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44113         to run tst-gettext.
44114         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44115         to run tst-gettext2.
44116         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44117         to run tst-translit.
44118         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44119         $(run-program-prefix) to tst-mtrace.sh.
44120         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44121         to run tst-mtrace.
44122         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44123         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44124         $(rtld-installed-name).
44125         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44126         (rtld_installed_name): Likewise.
44127         (run_program_prefix): New variable.  Use it to run wordexp-test.
44129         * Makeconfig (ARCH): Remove all definitions.
44130         (machine): Likewise.
44131         [ARCH]: Remove conditional code.
44132         [!objdir]: Give error.
44133         [!objdir] (objpfx): Remove.
44134         [!objdir] (common-objpfx): Likewise.
44135         [!objdir] (common-objdir): Likewise.
44136         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44137         AC_CONFIG_FILES call.
44138         * configure: Regenerated.
44140         [BZ #13888]
44141         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44142         or TMPDIR.
44143         (testout): Likewise.
44145         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44146         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44147         $(rtld-installed-name).
44148         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44149         (rtld_installed_name): Likwise.
44150         (runit): Remove function.
44151         (run_getconf): New variable,  Use it for running getconf binary.
44153 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44155         [BZ #14716]
44156         * string/test-memmem.c (check_result): New function.
44157         (do_one_test): Use it.
44158         (check1): New function.
44159         (test_main): Use it.
44161 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44163         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44165 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44167         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44168         (_G_LSEEK64): Likewise.
44169         (_G_MMAP64): Likewise.
44170         (_G_FSTAT64): Likewise.
44171         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44172         (_G_LSEEK64): Likewise.
44173         (_G_MMAP64): Likewise.
44174         (_G_FSTAT64): Likewise.
44175         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44176         unconditional.  Call __mmap64 directly.
44177         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44178         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44179         __lseek64 directly.
44180         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44181         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44182         __mmap64 directly.
44183         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44184         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44185         __lseek64 directly.
44186         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44187         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44188         __lseek64 directly.
44189         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44190         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44191         __lseek64 directly.
44192         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44193         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44194         __fxstat64 directly.
44195         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44196         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44197         unconditional.
44198         (freopen64) [!_G_OPEN64]: Remove conditional code.
44199         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44200         unconditional.
44201         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44202         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44203         unconditional.
44204         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44205         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44206         unconditional.
44207         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44208         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44209         unconditional.
44210         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44211         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44212         unconditional.
44213         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44214         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44215         unconditional.
44216         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44217         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44218         unconditional.
44219         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44221 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44223         [BZ #12140]
44224         * manual/memory.texi (Malloc Tunable Parameters): Add note
44225         about free list pointers overwriting some perturb bytes.
44226         Wording suggested by Roland McGrath.
44228 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44230         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44231         (lgamma_test): Likewise.
44232         (tgamma_test): Likewise.
44234 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44236         [BZ #14700]
44237         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44238         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44240 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44242         * NEWS: Mention BZ #14716.
44243         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44244         when removing AVAILABLE1_USES_J macro.
44246 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44248         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44249         (__bswap_64): __uint64_t for unsigned 64-bit int.
44251 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44253         * include/string.h (memmem): Declare libc hidden alias.
44254         * string/memmem.c (memmem): Define libc hidden alias.
44255         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44256         __read, __close instead of open, read, close.
44258 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44261         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44262         global and hidden.
44263         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44264         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44265         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44266         Likewise.
44267         (__rawmemchr_sse2): Likewise.
44268         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44269         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44270         (__strchr_sse2): Likewise.
44271         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44272         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44273         (__strcasecmp_sse2): Likewise.
44274         (__strncasecmp_sse2): Likewise.
44275         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44276         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44277         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44278         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44279         (__strrchr_sse2): Likewise.
44280         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44281         ifunc-impl-list.c.
44282         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44283         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44284         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44286         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44288         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44289         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44290         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44291         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44292         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44293         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44294         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44295         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44296         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44298         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44299         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44300         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44301         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44302         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44303         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44304         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44305         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44306         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44307         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44308         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44309         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44310         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44311         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44313         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44314         global and hidden.
44315         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44316         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44317         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44318         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44319         Likewise.
44320         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44321         Likewise.
44322         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44323         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44324         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44325         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44326         ifunc-impl-list.c.
44327         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44328         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44329         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44330         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44331         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44332         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44333         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44334         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44335         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44336         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44337         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44338         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44339         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44340         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44341         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44342         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44343         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44344         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44345         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44346         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44347         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44348         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44349         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44350         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44351         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44352         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44353         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44354         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44355         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44356         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44357         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44358         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44359         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44360         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44361         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44362         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44363         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44364         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44365         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44366         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44367         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44369         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44370         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44371         * include/ifunc-impl-list.h: New file.
44372         * misc/ifunc-impl-list.c: Likewise.
44373         * misc/Makefile (routines): Add ifunc-impl-list.
44374         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44375         * string/test-string.h: Include <ifunc-impl-list.h>.
44376         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44377         TEST_NAME]: New variables.
44378         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44379         are defined.
44380         (test_init): Call __libc_ifunc_impl_list to initialize
44381         func_list if TEST_IFUNC and TEST_NAME are defined.
44383         * string/Makefile (strop-tests): Add bcopy and bzero.
44384         * string/test-bcopy.c: New file.
44385         * string/test-bzero.c: Likewise.
44386         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44387         defined.
44388         * string/test-memset.c: Support bzero test if TEST_BZERO is
44389         defined.
44390         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44391         __libc_memmove.
44392         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44393         __libc_memset.
44394         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44395         of memset.
44397 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44399         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44400         * configure: Regenerated.
44402         * Makeconfig (+link-static-before-libc): Don't include
44403         $(link-static-libc).
44405         * libio/libio.h (_IO_pos_t): Remove.
44407 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44409         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44410         McGrath.
44412 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44414         * crypt/crypt-entry.c: Include fips-private.h.
44415         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44416         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44417         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44418         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44420 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44422         * crypt/crypt-private.h: Include stdbool.h.
44423         (_ufc_setup_salt_r): Return bool.
44424         * crypt/crypt-entry.c: Include errno.h.
44425         (__crypt_r): Return NULL with EINVAL for bad salt.
44426         * crypt/crypt_util.c (bad_for_salt): New.
44427         (_ufc_setup_salt_r): Check that salt is long enough and within
44428         the specified alphabet.
44429         * crypt/badsalttest.c: New file.
44430         * crypt/Makefile (tests): Add it.
44431         ($(objpfx)badsalttest): New.
44433 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44435         * NEWS: Add entry for BZ #14602.
44437 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44439         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44440         type-generic.
44441         * math/libm-test.inc: Update comment listing what functions and
44442         macros are tested.
44443         (isgreater_test): New function.
44444         (isgreaterequal_test): Likewise.
44445         (isless_test): Likewise.
44446         (islessequal_test): Likewise.
44447         (islessgreater_test): Likewise.
44448         (isunordered_test): Likewise.
44449         (main): Call the new functions.
44451 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44453         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44454         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44455         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44456         * sysdeps/i386/configure: Regenerated.
44457         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44458         * sysdeps/mach/configure: Regenerated.
44459         * sysdeps/mach/hurd/configure: Regenerated.
44460         * sysdeps/powerpc/configure: Regenerated.
44461         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44462         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44463         * sysdeps/s390/s390-32/configure: Regenerated.
44464         * sysdeps/s390/s390-64/configure: Regenerated.
44465         * sysdeps/sh/configure: Regenerated.
44466         * sysdeps/sparc/configure: Regenerated.
44467         * sysdeps/unix/sysv/linux/configure: Regenerated.
44468         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44469         * sysdeps/x86_64/configure: Regenerated.
44471         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44472         defined.  Don't check if MAP is NULL.
44474 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44476         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44477         (_G_stat64): Likewise.
44478         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44479         (_G_stat64): Likewise.
44480         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44481         instead of struct _G_stat64.
44482         * libio/fileops.c (mmap_remap_check): Likewise.
44483         (decide_maybe_mmap): Likewise.
44484         (_IO_new_file_seekoff): Likewise.
44485         (_IO_file_stat): Likewise.
44486         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44487         _G_off64_t.
44488         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44489         instead of struct _G_stat64.
44490         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44492 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44494         [BZ #14602]
44495         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44496         Replace with ...
44497         (CHECK_EOL): New macro.
44498         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44499         CHECK_EOL.
44500         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44501         Replace with CHECK_EOL.
44502         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44503         Replace with CHECK_EOL.
44505 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44507         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44508         type-generic.
44509         * math/libm-test.inc: Update comment listing what functions and
44510         macros are tested.
44511         (finite_test): New function.
44512         (isinf_test): Likewise.
44513         (isnan_test): Likewise.
44514         (fpclassify_test): Test subnormal input.
44515         (isfinite_test): Likewise.
44516         (isnormal_test): Likewise.
44517         (main): Call the new functions.
44519 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44521         [BZ #14660]
44522         * Makerules (%.dynsym): Force C locale when running
44523         $(OBJDUMP) --dynamic-syms.
44525 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44527         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44528         <stdint.h>.
44530 2012-10-06  David S. Miller  <davem@davemloft.net>
44532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44533         upper 32-bits of the length value in %o2 since we use branch-on-register
44534         tests which consider the entire 64-bit register.
44536 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44538         * string/test-strstr.c (check2): Add a test for page boundary.
44540 2012-10-05  David S. Miller  <davem@davemloft.net>
44542         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44543         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44544         file.
44545         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44546         sysdep_routines.
44547         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44548         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44549         and bzero when HWCAP_SPARC_CRYPTO is present.
44551 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44553         [BZ #14602]
44554         * string/test-strstr.c (check2): New function.
44555         (test_main): Call check2.
44557         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44558         and bug-strchr1.
44559         * string/bug-strcasestr1.c (do_test): Moved to ...
44560         * string/test-strcasestr.c (check1): Here.  New function.
44561         (do_one_test): Break out result checking code into ...
44562         (check_result): This.  New function.
44563         (do_one_test): Call check_result.
44564         (test_main): Call check1.
44565         * string/bug-strchr1.c (do_test): Moved to ...
44566         * string/test-strchr.c (check1): Here.  New function.
44567         (do_one_test): Break out result checking code into ...
44568         (check_result): This.  New function.
44569         (do_one_test): Call check_result.
44570         (test_main): Call check1.
44571         * string/bug-strstr1.c (main): Moved to ...
44572         * string/test-strstr.c (check1): Here.  New function.
44573         (do_one_test): Break out result checking code into ...
44574         (check_result): This.  New function.
44575         (do_one_test): Call check_result.
44576         (test_main): Call check1.
44577         * string/bug-strcasestr1.c: Removed.
44578         * string/bug-strchr1.c: Likewise.
44579         * string/bug-strstr1.c: Likewise.
44581         * elf/Makefile (dl-routines): Add hwcaps.
44582         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44583         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44584         (_dl_important_hwcaps): Moved to ...
44585         * elf/dl-hwcaps.c: Here.  New file.
44586         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44588         [BZ #14557]
44589         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44590         if IS_IN_rtld isn't defined.
44592         * elf/dl-support.c (_dl_sysinfo_map): New.
44593         Include "get-dynamic-info.h" and "setup-vdso.h".
44594         (_dl_non_dynamic_init): Call setup_vdso.
44595         * elf/dynamic-link.h: Don't include <assert.h>.
44596         (elf_get_dynamic_info): Moved to ...
44597         * elf/get-dynamic-info.h: Here.  New file.
44598         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44599         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44600         * elf/setup-vdso.h: Here.  New file.
44601         * elf/rtld.c: Include "setup-vdso.h".
44602         (dl_main): Call setup_vdso.
44604 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44606         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44607         creal in comment listing functions tested.  List finite, isinf,
44608         isnan, isless, islessequal, isgreater, isgreaterequal,
44609         islessgreater, isunordered, lgamma_r and pow10 as functions and
44610         macros not tested.  Mention which functions not tested are aliases
44611         for other functions.  Fix typo.  Note that signs of NaNs are not
44612         tested.
44614         * scripts/config.guess: Update from config.git.
44615         * scripts/config.sub: Likewise.
44617 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44619         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44620         * misc/madvise.c (madvise): Renamed to __madvise.
44621         Make madvise a weak alias.
44622         * include/sys/mman.h: Declare __madvise.
44623         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44624         * sysdeps/unix/syscalls.list
44625         (madvise): Make __madvise the strong name, and madvise a weak alias.
44626         * sysdeps/unix/sysv/linux/syscalls.list
44627         (madvise, mmap): Remove redundant entries.
44628         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44629         * malloc/malloc.c (mtrim): Likewise.
44630         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44632 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44634         * sysdeps/mach/hurd/dl-cache.c: File removed.
44635         * config.h.in (USE_LDCONFIG): New #undef.
44636         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44637         * configure: Regenerated.
44638         * elf/Makefile (dl-routines): Add dl-cache only under
44639         [$(use-ldconfig) = yes].
44640         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44641         cache on [USE_LDCONFIG].
44642         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44643         [USE_LDCONFIG].
44644         * elf/rtld.c (dl_main): Likewise.
44646 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44648         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44649         _SC_LEVEL4_CACHE_LINESIZE.
44651 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44653         * sysdeps/unix/bsd/confstr.h: File removed.
44655 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44657         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44658         sys/sdt-config.h.
44660 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44662         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44663         Make 'mapoff' field ElfW(Off) rather than off_t.
44665 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44667         * nscd/Makefile: Remove nscd-cflags and all its users.
44668         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44669         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44671         [BZ #10631]
44672         * malloc.c (malloc_printerr): Clarify error message.
44674 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44676         [BZ #14648]
44677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44678         Set bit_FMA_Usable if FMA is supported.
44679         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44680         macro.
44681         (bit_FMA4_Usable): Updated.
44682         (index_FMA_Usable): New macro.
44683         (CPUID_FMA): Likewise
44684         (HAS_FMA): Defined with bit_FMA_Usable.
44686 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44688         * bits/types.h (__swblk_t): Type removed.
44689         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44690         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44692         (__SWBLK_T_TYPE): Likewise.
44693         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44694         (__SWBLK_T_TYPE): Likewise.
44695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44696         (__SWBLK_T_TYPE): Likewise.
44697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44698         (__SWBLK_T_TYPE): Likewise.
44700 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44701             Honza Horak <hhorak@redhat.com>
44703         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44704         (xdr_mapname): Use YPMAXMAP as maxsize.
44705         (xdr_peername): Use YPMAXPEER as maxsize.
44706         (xdr_keydat): Use YPAXRECORD as maxsize.
44707         (xdr_valdat): Use YPMAXRECORD as maxsize.
44709 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44711         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44713         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44714         * csu/init-first.c: ... here.
44715         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44716         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44717         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44719         * sysdeps/i386/init-first.c: File removed.
44720         * sysdeps/sh/init-first.c: File removed.
44722 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44724         [BZ #14645]
44725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44726         if x * y might underflow to zero and z is zero.
44727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44729         * math/libm-test.inc (min_subnorm_value): New variable.
44730         (fma_test): Add more tests.
44731         (fma_test_towardzero): Likewise.
44732         (fma_test_downward): Likewise
44733         (fma_test_upward): Likewise.
44734         (initialize): Set min_subnorm_value.
44736 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44738         [BZ #14638]
44739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44740         0 + 0.
44741         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44742         mode for addition resulting in exact zero.
44743         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44745         exact 0 + 0.
44746         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44748         * math/libm-test.inc (fma_test): Add more tests.
44749         (fma_test_towardzero): New function.
44750         (fma_test_downward): Likewise.
44751         (fma_test_upward): Likewise.
44752         (main): Call the new functions.
44754 2012-09-28  David S. Miller  <davem@davemloft.net>
44756         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44758 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44760         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44761         instead of SIGALRM.
44763         * sysdeps/gnu/_G_config.h: Moved to ...
44764         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44765         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44766         * sysdeps/generic/_G_config.h: ... here.
44768         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44770         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44772         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44773         Conditionalize target on [libnss_test1.so-version].
44775         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44777         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44778         (elfobjdir): Move out of conditionals.
44780         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44781         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44782         (__nss_lookup_function): Conditionalize label remove_from_tree on
44783         [!DO_STATIC_NSS || SHARED], matching its only use.
44785 2012-09-28  David S. Miller  <davem@davemloft.net>
44787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44788         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44789         file.
44790         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44791         sysdep_routines.
44792         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44794         when HWCAP_SPARC_CRYPTO is present.
44796 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44798         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44800 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44802         [BZ #6530]
44803         * stdio-common/vfprintf.c (process_string_arg): Revert
44804         2000-07-22 change.
44806 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44808         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44809         for testcase.
44810         * stdio-common/tst-sprintf.c: Include <locale.h>
44811         (main): Test sprintf's handling of incomplete multibyte
44812         characters.
44814 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44816         * elf/dl-runtime.c (VERSYMIDX): Removed.
44817         * elf/dl-version.c (VERSYMIDX): Likewise.
44818         * elf/do-rel.h (VERSYMIDX): Likewise.
44819         (VALIDX): Likewise.
44820         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44821         * elf/rtld.c (VALIDX): Likewise.
44822         (ADDRIDX): Likewise.
44823         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44824         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44825         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44826         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44827         (VALIDX): Likewise.
44828         (ADDRIDX): Likewise.
44830 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44832         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44834 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44836         [BZ #11438]
44837         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44838         to global scope.
44839         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44840         addresses are in the same scope as 192.0.2/24.
44841         * posix/gai.conf: Document new scope table defaults.
44843 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44845         [BZ #5298]
44846         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44847         for ftell.  Compute offsets from write pointers instead.
44848         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44850 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44852         [BZ #14543]
44853         * libio/Makefile (tests): New test case tst-fseek.
44854         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44855         combination works in wide mode.
44856         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44857         state when the external buffer state changes.
44859 2012-09-27  David S. Miller  <davem@davemloft.net>
44861         [BZ #14376]
44862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44863         pass reloc->r_addend in as the 'high' argument to
44864         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44868 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44870         * rt/tst-aio2.c: Include <pthread.h>.
44871         * rt/tst-aio3.c: Likewise.
44873 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44875         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44877 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44879         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44880         contents on [SHARED].
44882 2012-09-26  Marek Polacek  <polacek@redhat.com>
44884         [BZ #14530]
44885         [BZ #13741]
44886         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44887         for C++ and GCC <4.3 as well as for non GCC compilers.
44889 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44893 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44895         * Makefile.in (all, install): Declare with .PHONY.
44896         Reported by Michael Hope <michael.hope@linaro.org>.
44898 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44900         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44901         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44902         system header.
44903         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44904         Likewise.
44905         (sydep_routines): Add the new and the internal functions.
44906         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44907         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44909         (GLIBC_2.17): Add the new function.
44910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44911         (GLIBC_2.17): Likewise.
44912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44913         (GLIBC_2.17): Likewise.
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44915         (GLIBC_2.17): Likewise.
44916         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44918 2012-09-25  Alan Modra  <amodra@gmail.com>
44920         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44921         Add release barrier before setting once_control to say
44922         initialisation is done.  Add hints on lwarx.  Use macro in
44923         place of isync.
44924         (clear_once_control): Add release barrier.
44926 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44928         [BZ #13629]
44929         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44930         specially.
44931         * math/s_clog10.c (__clog10): Likewise.
44932         * math/s_clog10f.c (__clog10f): Likewise.
44933         * math/s_clog10l.c (__clog10l): Likewise.
44934         * math/s_clogf.c (__clogf): Likewise.
44935         * math/s_clogl.c (__clogl): Likewise.
44936         * math/Makefile (libm-calls): Add x2y2m1.
44937         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44938         (__x2y2m1): Likewise.
44939         (__x2y2m1l): Likewise.
44940         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44941         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44943         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44944         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44945         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44946         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44947         * sysdeps/i386/fpu/libm-test-ulps: Update.
44948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44950         [BZ #14621]
44951         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44952         int as type of variable DEPTH.
44953         (glob): Use size_t instead of int as type of variables NEWCOUNT
44954         and OLD_PATHC.
44956 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44958         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44959         Add s_sincosf-sse2.
44960         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44961         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44962         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44963         macros for using routine as __sincosf_ia32.
44964         Use macro for function declaration and weak_alias.
44965         * sysdeps/i386/fpu/libm-test-ulps: Update.
44967         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44970         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44971         subnormal argument.
44972         * math/s_cexpf.c (__cexpf): Likewise.
44973         * math/s_csinf.c (__csinf): Likewise.
44974         * math/s_csinhf.c (__csinhf): Likewise.
44975         * math/s_ctanf.c (__ctanf): Likewise.
44976         * math/s_ctanhf.c (__ctanhf): Likewise.
44977         * math/s_ccosh.c (__ccoshf): Likewise.
44978         * math/s_cexp.c (__cexpl): Likewise.
44979         * math/s_csin.c (__csin): Likewise.
44980         * math/s_csinh.c (__csinh): Likewise.
44981         * math/s_ctan.c (__ctan): Likewise.
44982         * math/s_ctanh.c (ctanh): Likewise.
44983         * math/s_ccoshl.c (__ccoshl): Likewise.
44984         * math/s_cexpl.c (__cexpl): Likewise.
44985         * math/s_csinl.c (__csinl): Likewise.
44986         * math/s_csinhl.c (__csinhl): Likewise.
44987         * math/s_ctanl.c (__ctanl): Likewise.
44988         * math/s_ctanhl.c (__ctanhl): Likewise.
44990 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44992         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44993         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44994         (_IO_off_t): Define to __off_t, not _G_off_t.
44995         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44996         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44997         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44998         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44999         type of __dummy and __dummy2 fields.
45000         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45001         (_G_ssize_t): Likewise.
45002         (_G_off_t): Likewise.
45003         (_G_pid_t): Likewise.
45004         (_G_uid_t): Likewise.
45005         (_G_wchar_t): Likewise.
45006         (_G_wint_t): Likewise.
45007         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45008         (_G_ssize_t): Likewise.
45009         (_G_off_t): Likewise.
45010         (_G_pid_t): Likewise.
45011         (_G_uid_t): Likewise.
45012         (_G_wchar_t): Likewise.
45013         (_G_wint_t): Likewise.
45014         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45015         (_G_ssize_t): Likewise.
45016         (_G_off_t): Likewise.
45017         (_G_pid_t): Likewise.
45018         (_G_uid_t): Likewise.
45019         (_G_wchar_t): Likewise.
45020         (_G_wint_t): Likewise.
45022 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45024         * malloc/arena.c: Include malloc-sysdep.h.
45025         (shrink_heap): Use check_may_shrink_heap to decide if madvise
45026         is sufficient to shrink the heap or an unmap is needed.
45027         * sysdeps/generic/malloc-sysdep.h: New file.  Define
45028         new function check_may_shrink_heap.
45029         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
45030         new function check_may_shrink_heap.
45032 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45034         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45035         comments.
45037 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
45039         * catgets/test-gencat.sh: Add "set -e".
45040         * elf/tst-pathopt.sh: Likewise.
45041         * grp/tst_fgetgrent.sh: Likewise.
45042         * iconvdata/run-iconv-test.sh: Likewise.
45043         * intl/tst-gettext.sh: Likewise.
45044         * intl/tst-gettext2.sh: Likewise.
45045         * intl/tst-gettext4.sh: Likewise.
45046         * intl/tst-gettext6.sh: Likewise.
45047         * intl/tst-translit.sh: Likewise.
45048         * io/ftwtest-sh: Likewise.
45049         * libio/test-freopen.sh: Likewise.
45050         * malloc/tst-mtrace.sh: Likewise.
45051         * posix/globtest.sh: Likewise.
45052         * posix/tst-getconf.sh: Likewise.
45053         * posix/wordexp-tst.sh: Likewise.
45054         * stdio-common/tst-printf.sh: Likewise.
45055         * stdio-common/tst-unbputc.sh: Likewise.
45056         * stdlib/tst-fmtmsg.sh: Likewise.
45057         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45058         * catgets/Makefile: Do not specify -e option when running
45059         testsuite shell scripts.
45060         * elf/Makefile: Likewise.
45061         * grp/Makefile: Likewise.
45062         * iconvdata/Makefile: Likewise.
45063         * intl/Makefile: Likewise.
45064         * io/Makefile: Likewise.
45065         * libio/Makefile: Likewise.
45066         * malloc/Makefile: Likewise.
45067         * posix/Makefile: Likewise.
45068         * stdio-common/Makefile: Likewise.
45069         * stdlib/Makefile: Likewise.
45070         * sysdeps/x86_64/Makefile: Likewise.
45072         * io/ftwtest-sh: Add copyright header.
45073         * posix/globtest.sh: Likewise.
45074         * posix/tst-getconf.sh: Likewise.
45075         * posix/wordexp-tst.sh: Likewise.
45076         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45078 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45080         [BZ #13679]
45081         * Makeconfig (+link): Defined as $(+link-static) if
45082         $(build-shared) isn't yes.
45083         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45084         isn't yes.
45085         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45087         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45089         [BZ #14562]
45090         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45091         new chunk size with MALLOC_ALIGN_MASK.
45093 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45095         [BZ #5044]
45096         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45097         <rounding-mode.h>.
45098         (__printf_fphex): Determine rounding using get_rounding_mode and
45099         round_away.
45100         * stdio-common/tst-printf-round.c (struct hex_test): New
45101         structure.
45102         (hex_tests): New variable.
45103         (test_hex_in_one_mode): New function.
45104         (do_test): Also run tests for hex float output.
45106 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45108         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45109         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45110         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45111         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45112         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45113         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45114         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45115         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45117 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45119         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45120         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45121         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45122         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45124 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45126         [BZ #14579]
45127         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45128         mode only.
45129         * elf/tst-rtld-load-self.sh: New test.
45130         * elf/Makefile: Run it.
45132 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45134         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45135         (tst-writev-ENV): Remove.
45136         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45138 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45140         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45142 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45144         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45145         unconditional.
45146         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45147         Likewise.
45148         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45149         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45150         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45151         Likewise.
45153 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45155         [BZ #14587]
45156         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45157         * config.make.in (have-cpp-asm-debuginfo): Removed.
45158         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45159         * configure: Regenerated.
45161 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45163         [BZ #5044]
45164         * stdio-common/printf_fp.c: Include <stdbool.h> and
45165         <rounding-mode.h>.
45166         (___printf_fp): Determine rounding using get_rounding_mode and
45167         round_away.
45168         * stdio-common/tst-printf-round.c: New file.
45169         * stdio-common/Makefile (tests): Add tst-printf-round.
45170         (link-libm): New variable.
45171         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45173 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45175         [BZ #14576]
45176         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45177         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45178         Likewise.
45179         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45180         Likewise.
45182 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45184         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45185         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45186         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45189 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45191         [BZ #14518]
45192         * include/rounding-mode.h: New file.
45193         * sysdeps/generic/get-rounding-mode.h: Likewise.
45194         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45195         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45196         (MAX_VALUE): New macro.
45197         (MIN_VALUE): Likewise.
45198         (overflow_value): New function.
45199         (underflow_value): Likewise.
45200         (round_and_return): Use overflow_value and underflow_value to
45201         determine return values in overflow and underflow cases.  Use
45202         round_away to determine rounding depending on rounding mode.
45203         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45204         determine return values in overflow and underflow cases.
45205         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45206         (struct test_results): New structure.
45207         (struct test): Use struct test_results to store expected results
45208         for all rounding modes.
45209         (TEST): Include expected results for all rounding modes.
45210         (test_in_one_mode): New function.
45211         (do_test): Use test_in_one_mode to compute and check results.
45212         Check results for all rounding modes.
45213         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45214         $(link-libm).
45216 2012-12-09  Allan McRae  <allan@archlinux.org>
45218         * sysdeps/i386/fpu/libm-test-ulps: Update
45220 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45222         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45223         (_G_int32_t): Likewise.
45224         (_G_uint16_t): Likewise.
45225         (_G_uint32_t): Likewise.
45226         (_G_HAVE_BOOL): Likewise.
45227         (_G_HAVE_ATEXIT): Likewise.
45228         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45229         (_G_HAVE_IO_FILE_OPEN): Likewise.
45230         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45231         (_G_int32_t): Likewise.
45232         (_G_uint16_t): Likewise.
45233         (_G_uint32_t): Likewise.
45234         (_G_HAVE_BOOL): Likewise.
45235         (_G_HAVE_ATEXIT): Likewise.
45236         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45237         (_G_HAVE_IO_FILE_OPEN): Likewise.
45238         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45239         (_G_int32_t): Likewise.
45240         (_G_uint16_t): Likewise.
45241         (_G_uint32_t): Likewise.
45242         (_G_HAVE_BOOL): Likewise.
45243         (_G_HAVE_ATEXIT): Likewise.
45244         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45245         (_G_HAVE_IO_FILE_OPEN): Likewise.
45247 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45249         * csu/libc-tls.c: Update copyright years.
45251 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45253         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45254         [!_G_USING_THUNKS]: Remove conditional code.
45255         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45256         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45258         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45259         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45260         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45261         (_G_VTABLE_LABEL_PREFIX): Likewise.
45262         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45263         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45264         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45265         (_G_VTABLE_LABEL_PREFIX): Likewise.
45266         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45267         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45268         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45269         (_G_VTABLE_LABEL_PREFIX): Likewise.
45270         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45272 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45274         * libio/Makefile: Include ../Makeconfig before tests.
45275         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45276         only if $(build-shared) is yes.
45278         * iconv/gconv_db.c: Update copyright years.
45280 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45282         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45283         unwind info if defined PIC. Fix special cases description.
45284         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45286         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45287         DP_HI_MASK entry.
45288         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45290 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45292         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45294         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45295         is NULL.
45297         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45298         (LDLIBS-tst-chk4): This.
45299         (LDFLAGS-tst-chk5): Renamed to ...
45300         (LDLIBS-tst-chk5): This.
45301         (LDFLAGS-tst-chk6): Renamed to ...
45302         (LDLIBS-tst-chk6): This.
45303         (LDFLAGS-tst-lfschk4): Renamed to ...
45304         (LDLIBS-tst-lfschk4): This.
45305         (LDFLAGS-tst-lfschk5): Renamed to ...
45306         (LDLIBS-tst-lfschk5): This.
45307         (LDFLAGS-tst-lfschk6): Renamed to ...
45308         (LDLIBS-tst-lfschk6): This.
45310         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45311         on $(common-objpfx)soversions.mk.
45313 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45315         [BZ #10014]
45316         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45317         example host name.
45319 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45321         * malloc/arena.c (arena_get_retry): New function that gets
45322         another arena for the caller to try its request on.
45323         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45324         current arena cannot fulfill the request.
45325         (__libc_memalign): Likewise.
45326         (__libc_memalign): Likewise.
45327         (__libc_pvalloc): Likewise.
45328         (__libc_calloc): Likewise.
45330 2012-09-05  John Tobey  <john.tobey@gmail.com>
45332         [BZ #13542]
45333         * manual/arith.texi (Operations on Complex): Fix description
45334         of carg branch cut.
45336 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45338         [BZ #10014]
45339         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45340         host name.
45342         [BZ #10038]
45343         * manual/memory.texi (Memory): Make order of menu items match
45344         order of sections.
45346 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45348         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45349         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45350         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45352 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45354         * csu/libc-tls.c (static_dtv): Renamed to ...
45355         (_dl_static_dtv): This.  Make it global.
45356         (_dl_initial_dtv): Removed.
45357         (__libc_setup_tls): Updated.
45358         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45359         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45360         DL_INITIAL_DTV.
45362 2012-09-06  Petr Machata  <pmachata@redhat.com>
45364         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45365         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45366         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45367         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45369 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45371         [BZ #14545]
45372         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45373         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45374         freeing dtv[-1].
45376 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45378         [BZ #14544]
45379         * Makeconfig (link-static-before-libc): Replace $(+prector)
45380         with $(+prectorT).
45381         (link-static-after-libc): Replace $(+postctor) with
45382         $(+postctorT).
45383         (link-bounded): Replace $(+prector)/$(+postctor) with
45384         $(+prectorT)/$(+postctorT).
45385         (+prectorT): New macro.
45386         (+postctorT): Likewise.
45388 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45390         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45391         (round_str): Handle values above the maximum for IBM long double
45392         as inexact.
45393         * stdlib/tst-strtod-round.c (tests): Regenerated.
45395 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45397         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45398         assembler flag.
45399         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45400         zarch_nohighgprs around the zarch optimized routines.
45401         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45402         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45403         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45404         for zarch.
45406 2012-09-05  David S. Miller  <davem@davemloft.net>
45408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45410         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45411         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45412         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45413         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45414         entries.
45416 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45418         * malloc/arena.c: Fold copyright years.
45419         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45423         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45425 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45427         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45429 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45431         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45432         change internal state upon failure.
45434 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45436         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45437         * malloc/memusage.c (mmap): Likewise.
45438         (mmap64, mremap): Likewise.  Adjust name in comment.
45440 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45442         * libio/fileops.c: Fix typos in comments.
45443         * libio/oldfileops.c: Likewise.
45444         * libio/wfileops.c: Likewise.
45446 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45448         [BZ #1349]
45449         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45450         (tst-malloc-usable-ENV): Set environment for test case.
45451         * malloc/hooks.c (malloc_check_get_size): New function to get
45452         requested size.
45453         * malloc/malloc.c (musable): Use malloc_check_get_size.
45454         * malloc/tst-malloc-usable.c: New test case.
45456 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45458         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45460 2012-09-05  Allan McRae  <allan@archlinux.org>
45462         [BZ #13966]
45463         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45464         determine header location.
45465         * configure: Regenerated.
45467 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45469         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45470         float format.
45471         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45472         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45473         format.
45474         (test): Regenerate.
45476 2012-09-04  David S. Miller  <davem@davemloft.net>
45478         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45479         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45480         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45482 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45484         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45485         failures.
45487         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45489 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45491         [BZ #9914]
45492         * libio/iogetdelim.c: Include <limits.h>.
45493         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45494         + len + 1 would overflow.
45496 2012-09-03  Andreas Jaeger  <aj@suse.de>
45498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45499         * sysdeps/i386/fpu/libm-test-ulps: Update.
45501 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45503         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45504         Add s_sinf-sse2, s_conf-sse2.
45506         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45507         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45508         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45509         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45511         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45512         for using routine as __sinf_ia32.
45513         Use macro for function declaration and weak_alias.
45514         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45515         for using routine as __cosf_ia32.
45516         Use macro for function declaration and weak_alias.
45518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45519         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45521         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45522         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45525         * math/libm-test.inc (cos_test): Add more test cases.
45526         (sin_test): Likewise.
45527         (sincos_test): Likewise.
45529 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45532         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45533         hidden.
45534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45536 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45538         [BZ #14538]
45539         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45540         first element of the GOT.
45541         (elf_machine_load_address): Return the difference between
45542         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45544 2012-09-01  Allan McRae  <allan@archlinux.org>
45546         [BZ #13412]
45547         * configure.in (AWK): Require gawk version 3.0 or later.
45548         * configure: Regenerated.
45550 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45552         * sysdeps/unix/sysv/linux/kernel-features.h
45553         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45554         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45555         [__NR_clock_getres]: Make code unconditional.
45556         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45557         (clock_getcpuclockid): Remove code left unreachable by removal of
45558         conditionals.
45559         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45560         code unconditional.
45561         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45562         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45563         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45564         Make code unconditional.
45565         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45566         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45567         * sysdeps/unix/sysv/linux/clock_settime.c
45568         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45569         conditional code.
45570         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45571         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45573 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45575         [BZ #14476]
45576         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45577         scripts/test-installation.pl.
45579         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45580         and $ld_so_version if it is set.
45582 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45584         [BZ #14516]
45585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45586         failure if reading from procfs failed.
45587         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45589 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45591         * sysdeps/unix/sysv/linux/kernel-features.h
45592         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45593         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45594         Remove conditional code.
45595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45596         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45597         Remove conditional code.
45598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45599         * sysdeps/unix/sysv/linux/i386/fxstat.c
45600         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45602         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45603         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45605         * sysdeps/unix/sysv/linux/i386/lxstat.c
45606         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45607         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45608         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45609         Remove conditional code.
45610         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45611         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45612         Remove conditional code.
45613         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45614         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45615         <kernel-features.h>.
45616         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45617         Remove.
45618         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45619         Remove conditional code.
45620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45621         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45622         Remove conditional.
45624 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45626         [BZ #5400]
45627         * NEWS: Add fixed bug number.
45629 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45631         [BZ #14519]
45632         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45633         underflowing exponent in case of negative sign.
45634         * stdlib/tst-strtod-round-data: Add more tests.
45635         * stdlib/tst-strtod-round.c (tests): Regenerated.
45637         [BZ #3479]
45638         * stdlib/strtod_l.c (NDIG): Remove.
45639         (HEXNDIG): Likewise.
45640         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45641         smallest representable value.
45642         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45643         lie within an exact representation of 1/2 ulp of the result.
45644         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45645         unconditionally.
45646         (TENS_P9_IDX): Define unconditionally.
45647         (TENS_P9_SIZE): Likewise.
45648         (TENS_P10_IDX): Likewise.
45649         (TENS_P10_SIZE): Likewise.
45650         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45651         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45652         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45653         entries for 10^2^13 and 10^2^14.
45654         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45655         (TENS_P13_IDX): Define.
45656         (TENS_P13_SIZE): Likewise.
45657         (TENS_P14_IDX): Likewise.
45658         (TENS_P14_SIZE): Likewise.
45659         (_fpioconst_pow10): Change array size to
45660         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45661         unconditional.
45662         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45663         1024]: Add entries for 10^2^13 and 10^2^14.
45664         [LAST_POW10 > _LAST_POW10]: Remove #error.
45665         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45666         (_fpioconst_pow10): Change array size to
45667         FPIOCONST_POW10_ARRAY_SIZE.
45668         * stdlib/gen-fpioconst.c: New file.
45669         * stdlib/gen-tst-strtod-round.c: Likewise.
45670         * stdlib/tst-strtod-round-data: Likewise.
45671         * stdlib/tst-strtod-round.c: Likewise.
45672         * stdlib/Makefile (tests): Add tst-strtod-round.
45674         [BZ #14459]
45675         * stdlib/strtod_l.c: Include <stdint.h>.
45676         (NDEBUG): Do not define.
45677         (round_and_return): Change EXPONENT parameter to type intmax_t.
45678         Rearrange calculations to avoid internal overflow possibilities.
45679         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45680         Rearrange calculations to avoid internal overflow possibilities.
45681         Assert that number fits inside MPNSIZE limbs.
45682         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45683         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45684         calculations and add assertions to avoid internal overflow
45685         possibilities.  Add casts to avoid signed/unsigned operations.
45686         * stdlib/tst-strtod-overflow.c: New file.
45687         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45689 2012-08-25  Marek Polacek  <polacek@redhat.com>
45691         * time/time.h: Fix some typos in comments.
45693 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45695         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45696         * posix/tst-rfc3484-2.c: Likewise.
45697         * posix/tst-rfc3484-3.c: Likewise.
45699 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45701         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45702         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45704 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45706         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45707         #include of fxstatat64.c.
45709 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45711         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45712         * shadow/getspent_r.c: Likewise.
45713         * shadow/getspnam.c: Likewise.
45714         * shadow/getspnam_r.c: Likewise.
45715         * gshadow/getsgent.c: Likewise.
45716         * gshadow/getsgent_r.c: Likewise.
45717         * gshadow/getsgnam.c: Likewise.
45718         * gshadow/getsgnam_r.c: Likewise.
45719         * inet/getnetbyad.c: Likewise.
45720         * inet/getnetbyad_r.c: Likewise.
45721         * inet/getnetbynm.c: Likewise.
45722         * inet/getnetbynm_r.c: Likewise.
45723         * inet/getnetent.c: Likewise.
45724         * inet/getnetent_r.c: Likewise.
45725         * inet/getproto.c: Likewise.
45726         * inet/getproto_r.c: Likewise.
45727         * inet/getprtent.c: Likewise.
45728         * inet/getprtent_r.c: Likewise.
45729         * inet/getprtname.c: Likewise.
45730         * inet/getprtname_r.c: Likewise.
45731         * inet/getrpcbyname.c: Likewise.
45732         * inet/getrpcbyname_r.c: Likewise.
45733         * inet/getrpcbynumber.c: Likewise.
45734         * inet/getrpcbynumber_r.c: Likewise.
45735         * inet/getrpcent.c: Likewise.
45736         * inet/getrpcent_r.c: Likewise.
45737         * inet/getaliasent.c: Likewise.
45738         * inet/getaliasent_r.c: Likewise.
45739         * inet/getaliasname.c: Likewise.
45740         * inet/getaliasname_r.c: Likewise.
45741         * nscd/getgrgid_r.c: Likewise.
45742         * nscd/getgrnam_r.c: Likewise.
45743         * nscd/gethstbyad_r.c: Likewise.
45744         * nscd/gethstbynm3_r.c: Likewise.
45745         * nscd/getpwnam_r.c: Likewise.
45746         * nscd/getpwuid_r.c: Likewise.
45747         * nscd/getsrvbynm_r.c: Likewise.
45748         * nscd/getsrvbypt_r.c: Likewise.
45749         * nscd/gai.c: Likewise.
45751         * configure.in (build_nscd): New substituted variable, set
45752         by --disable-build-nscd and defaults to $use_nscd.
45753         * configure: Regenerated.
45754         * config.make.in (build-nscd): New substituted variable.
45755         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45756         Change conditional to require [$(build-nscd) = yes] as well.
45757         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45759         [BZ# 13696]
45760         * configure.in (use_nscd): New substituted variable, set by
45761         --disable-nscd.  If enabled, define USE_NSCD.
45762         * configure: Regenerated.
45763         * config.h.in: Add USE_NSCD.
45764         * config.make.in (use-nscd): New substituted variable.
45765         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45766         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45767         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45768         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45769         (CFLAGS-getgrnam_r.c): Likewise.
45770         (CFLAGS-initgroups.c): Likewise.
45771         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45772         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45773         Variables removed.
45774         * inet/getnetgrent_r.c
45775         (nscd_setnetgrent): New function, broken out of ...
45776         (setnetgrent): ... here.  Call it.
45777         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45778         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45779         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45780         * nscd/Makefile (routines, aux): Move definitions after include of
45781         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45782         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45783         Conditionalize on [USE_NSCD].
45784         (is_nscd, nscd_init_cb): Likewise.
45785         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45786         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45787         * nss/nss_db/db-init.c: Likewise.
45788         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45789         [USE_NSCD].
45790         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45791         (make_request): Use it.
45792         (cache_valid_p): New function.
45793         (__check_pf): Use it.
45794         * NEWS: Add item for --disable-nscd.
45796 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45798         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45799         to support sed >= 4.2.1-20-ga9bf076.
45800         * configure: Regenerated.
45802 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45804         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45805         Conditionalize whole body on [IREL].
45807 2012-08-22  Jeff Law <law@redhat.com>
45809         [BZ #14505]
45810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45811         if the family is PF_UNSPEC.
45813 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45815         * Makerules (lib-version): Rename from V.
45816         (install-lib-nosubdir): Change V to lib-version.
45818 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45820         [BZ #14252]
45821         * powerpc32/power6/wcschr.c: New file.
45822         * powerpc32/power6/wcscpy.c: New file.
45823         * powerpc32/power6/wcsrchr.c: New file.
45824         * powerpc64/power6/wcschr.c: New file.
45825         * powerpc64/power6/wcscpy.c: New file.
45826         * powerpc64/power6/wcsrchr.c: New file.
45828 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45830         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45831         (two_way_short_needle): Use it.
45832         * string/strstr.c (AVAILABLE1_USES_J): Define.
45833         * string/strcasestr.c: Likewise.
45835         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45836         array references.
45837         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45839         [BZ #11607]
45840         * NEWS: Add an entry.
45841         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45842         define their defaults.
45843         (two_way_short_needle): Detect end-of-string on-the-fly.
45844         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45845         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45846         * string/bug-strcasestr1.c: New test.
45847         * string/Makefile: Run it.
45849 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45851         [BZ #11607]
45852         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45853         the first character.
45855 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45857         * csu/elf-init.c (__libc_csu_irel): Function removed.
45858         * csu/libc-start.c (apply_irel): New function.
45859         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45861 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45863         * sysdeps/unix/sysv/linux/kernel-features.h
45864         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45865         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45866         <kernel-features.h>.
45867         [__NR_fadvise64_64]: Make code unconditional.
45868         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45869         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45870         !__NR_fadvise64_64)]: Likewise.
45871         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45872         !__NR_fadvise64_64))]: Likewise.
45873         [__NR_fadvise64]: Make code unconditional.
45874         [!__NR_fadvise64]: Remove conditional code.
45875         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45876         <kernel-features.h>.
45877         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45878         unconditional.
45879         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45880         conditional code.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45882         not include <kernel-features.h>.
45883         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45884         unconditional.
45885         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45886         conditional code.
45887         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45888         include <kernel-features.h>.
45889         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45890         unconditional.
45891         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45892         conditional code.
45894 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45897         slight instruction rearrangements per scrollpipe analysis.
45898         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45900 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45902         * manual/syslog.texi (syslog; vsyslog, closelog):
45903         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45904         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45906         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45907         DSOCAPS to match condition on defining it.
45909 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45911         * sysdeps/unix/sysv/linux/kernel-features.h
45912         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45914         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45915         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45917         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45918         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45920         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45921         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45923         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45924         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45926         * sysdeps/unix/sysv/linux/kernel-features.h
45927         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45928         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45929         unconditional.
45930         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45931         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45932         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45933         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45934         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45935         Make code unconditional.
45936         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45937         (__mmap64) [!__NR_mmap2]: Likewise.
45938         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45939         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45940         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45941         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45942         [__NR_mmap2]: Make code unconditional.
45943         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45944         (__mmap64) [!__NR_mmap2]: Likewise.
45946 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45948         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45950 2012-08-18  Andreas Jaeger  <aj@suse.de>
45952         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45954 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45956         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45957         * include/unistd.h (__have_sock_cloexec): Likewise.
45958         (__have_pipe2): Likewise.
45959         (__have_dup3): Likewise.
45961 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45963         [BZ #9685]
45964         * include/unistd.h (__have_pipe2): Change define into an extern int.
45965         (__have_dup3): Likewise.
45966         * socket/have_sock_cloexec.c: Include fcntl.h.
45967         (__have_pipe2): New variable.
45968         (__have_dup3): Likewise.
45970 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45972         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45974 2012-08-17  Marek Polacek  <polacek@redhat.com>
45976         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45977         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45979 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45981         * configure.in: Add AC_SUBST for sysheaders.
45982         * configure: Regenerated.
45983         * config.make.in (sysheaders): New substituted variable.
45985         * sysdeps/unix/mkfifo.c: Moved ...
45986         * sysdeps/posix/mkfifo.c: ... here.
45987         * sysdeps/unix/mkfifoat.c: Moved ...
45988         * sysdeps/posix/mkfifoat.c: ... here.
45990         * sysdeps/unix/utime.c: Moved ...
45991         * sysdeps/posix/utime.c: ... here.
45993         * sysdeps/unix/time.c: Moved ...
45994         * sysdeps/posix/time.c: ... here.
45995         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45996         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45998         * sysdeps/unix/nice.c: Moved ...
45999         * sysdeps/posix/nice.c: ... here.
46001         * sysdeps/unix/alarm.c: Moved ...
46002         * sysdeps/posix/alarm.c: ... here.
46004         * intl/Makefile ($(codeset_mo)): Depend on the input file.
46006 2012-08-17  Jeff Law <law@redhat.com>
46008         * intl/Makefile (codeset_mo): New variable.
46009         ($(codeset_mo)): New target.
46010         (tst-codeset.out): Depend on that.  Remove explicit rule.
46011         (tst-gettext3.out, tst-gettext5.out): Likewise.
46012         (LOCPATH-ENV, tst-codeset-ENV): New variables.
46013         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46014         * intl/tst-codeset.sh: Remove.
46015         * intl/tst-gettext3.sh: Likewise.
46016         * intl/tst-gettext5.sh: Likewise.
46018 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46020         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
46021         * sysdeps/unix/syscalls.list: ... here.
46023         * sysdeps/posix/getaddrinfo.c
46024         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46025         (gaiconf_init, gaiconf_reload): Use them.
46026         [!_STATBUF_ST_NSEC]
46027         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46028         Define using time_t rather than struct timespec.
46030         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46031         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46032         Macros removed.
46033         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46034         [!NO_THREADS].
46035         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46036         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46037         Likewise.
46039         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46040         __libc_cleanup_push argument.
46042         * bits/param.h: New file.
46043         * misc/sys/param.h: New file.
46044         * include/sys/param.h: New file.
46045         * misc/Makefile (headers): Add bits/param.h.
46046         * sysdeps/generic/sys/param.h: File removed.
46047         * sysdeps/unix/sysv/linux/bits/param.h: New file.
46048         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46049         * sysdeps/mach/hurd/bits/param.h: New file.
46050         * sysdeps/mach/hurd/sys/param.h: File removed.
46052         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46053         last change.
46055         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46056         [_IO_MTSAFE_IO].
46057         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46058         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46059         New macros.
46061         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46062         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46063         rather than -D_IO_MTSAFE_IO conditionally.
46064         * stdio-common/Makefile (CPPFLAGS): Likewise.
46065         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46066         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46067         Use $(libio-mtsafe).
46068         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46069         of -D_IO_MTSAFE_IO.
46070         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46071         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46072         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46073         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46074         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46075         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46076         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46077         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46078         (CFLAGS-fread_u_chk.c): Likewise.
46079         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46080         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46081         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46082         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46083         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46084         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46085         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46086         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46087         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46089         * libio/Makefile: Test [$(libc-reentrant) = yes]
46090         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46092         * Makeconfig
46093         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46094         * sysdeps/pthread/configure: File removed.
46095         * sysdeps/pthread/Makeconfig: New file.
46096         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46097         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46099 2012-08-16  Gary Benson  <gbenson@redhat.com>
46101         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46102         unmapping the first object in a namespace.
46104 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46106         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46107         (__internal_setnetgrent): ... this.  Add internal_function to
46108         definition.  Add libc_hidden_def.
46109         (setnetgrent): Update caller.
46110         (internal_endnetgrent): Renamed to ...
46111         (__internal_endnetgrent): ... this.  Add internal_function to
46112         definition.  Add libc_hidden_def.
46113         (endnetgrent): Update caller.
46114         (internal_getnetgrent_r): Renamed to ...
46115         (__internal_getnetgrent_r): ... this.  Add internal_function to
46116         definition.  Add libc_hidden_def.
46117         (__getnetgrent_r): Update caller.
46118         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46120 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46122         * stdlib/longlong.h: Update from GCC.
46124 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46126         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46127         on _QL, which is set by umul_ppmm but never used.
46128         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46129         variables, which are set by GMP macros but never used.
46130         * stdio-common/_itowa.c (_itowa): Likewise.
46131         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46132         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46134 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46136         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46137         struct La_sh_regs is not constant.
46138         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46139         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46140         and struct La_sparc64_regs are not constant.
46142 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46144         * sysdeps/unix/sysv/linux/kernel-features.h
46145         (__ASSUME_POSIX_TIMERS): Remove.
46146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46147         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46148         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46149         Make code unconditional.
46150         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46151         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46152         Make code unconditional.
46153         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46154         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46155         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46156         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46157         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46158         Make code unconditional.
46159         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46160         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46161         (__libc_missing_posix_timers): Remove.
46163 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46165         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46166         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46168         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46170         * elf/dl-sym.c: Include <stdlib.h>.
46172         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46173         constants, which avoids warnings in 32-bit builds.
46175         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46176         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46178         * misc/lseek.c: File moved to ...
46179         * io/lseek.c: ... here.
46181         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46183         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46184         shifting LEN more than 31 bits at once.
46186 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46188         [BZ #14195]
46189         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46190         segmentation fault for a case of two empty input strings.
46191         * string/test-strncasecmp.c (check1): Renamed to...
46192         (bz12205): ...this.
46193         (bz14195): Add new testcase for two empty input strings and N > 0.
46194         (test_main): Call new testcase, adapt for renamed function.
46196 2012-08-15  Andreas Jaeger  <aj@suse.de>
46198         [BZ #14090]
46199         * crypt/md5test2.c: New test, based on test supplied by Serge
46200         Belyshev <belyshev@depni.sinp.msu.ru>.
46201         * crypt/Makefile (xtests): Add md5test-giant..
46202         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46204 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46206         [BZ #14090]
46207         * crypt/md5.c (md5_process_block): Don't assume the buffer
46208         length is less than 2**32.
46209         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46210         length is less than 2**64.
46212 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46214         * string/str-two-way.h: Include <sys/param.h>.
46215         (MAX): Macro removed.
46217         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46218         Move #define and #undef of memmove to just before and after
46219         including <string.h>.
46221         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46222         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46223         and after including <string.h>.  Move declarations of
46224         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46225         to before #include "string/memmove.c".
46227         * include/dirent.h: Declare __getdirentries.
46229         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46230         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46232 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46234         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46235         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46236         * sysdeps/i386/configure: Regenerated.
46237         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46238         STABS_CURRENT_FILE, and STABS_FUN.
46239         (END): Remove call to STABS_FUN_END.
46240         (STABS_CURRENT_FILE1): Delete.
46241         (STABS_CURRENT_FILE): Likewise.
46242         (STABS_FUN): Likewise.
46243         (STABS_FUN_END): Likewise.
46244         (STABS_FUN2): Likewise.
46245         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46246         * sysdeps/x86_64/configure: Regenerated.
46248 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46250         * elf/dl-open.c: Include <atomic.h>.
46251         * elf/dl-lookup.c: Likewise.
46253 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46255         * sysdeps/unix/sysv/linux/kernel-features.h
46256         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46257         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46258         unconditionally.
46259         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46260         unconditionally.
46261         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46262         condition on __ASSUME_CLONE_THREAD_FLAGS.
46264 2012-08-14  Andreas Jaeger  <aj@suse.de>
46266         * sysdeps/i386/fpu/libm-test-ulps: Update.
46268 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46270         * include/atomic.h (atomic_exchange_and_add): Split into ...
46271         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46272         New atomic macros.
46274 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46278 2012-08-13  Jeff Law <law@redhat.com>
46280         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46281         null byte in the output string.
46283 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46285         * sysdeps/unix/sysv/linux/kernel-features.h
46286         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46287         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46288         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46289         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46290         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46291         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46292         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46294 2012-08-09  Jeff Law <law@redhat.com>
46296         [BZ #13939]
46297         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46298         When avoid_arena is set, don't retry in the that arena.  Pick the
46299         next one, whatever it might be.
46300         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46301         (arena_lock): Pass in new parameter to arena_get2.
46302         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46303         arena_get2.
46304         (__libc_malloc): Unify retrying after main arena failure with
46305         __libc_memalign version.
46306         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46308 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46310         [BZ #14166]
46311         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46312         to __redirect_strstr.
46313         (__strstr_sse42): Use typeof __redirect_strstr.
46314         (__strstr_ia32): Likewise.
46315         (__libc_strstr): New prototype.
46316         (strstr): Renamed to ...
46317         (__libc_strstr): This.
46318         (strstr): New strong alias of __libc_strstr.
46319         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46320         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46321         __redirect_time.
46322         Include <time.h>.
46323         (__libc_time): New prototype.
46324         (time_ifunc): Replace time with __libc_time.
46325         (time): New strong alias and hidden definition of __libc_time.
46326         (__GI_time): Remove strong alias.
46327         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46328         Include <stddef.h>.
46329         (memmove): Redefined to __redirect_memmove.
46330         (__memmove_sse2): Use typeof __redirect_memmove.
46331         (__memmove_ssse3): Likewise.
46332         (__memmove_ssse3_back): Likewise.
46333         (__libc_memmove): New prototype.
46334         (memmove): Renamed to ...
46335         (__libc_memmove): This.
46336         (memmove): New strong alias of __libc_memmove.
46338 2012-08-08  Mark Salter  <msalter@redhat.com>
46340         * elf/elf.h
46341         (R_MN10300_TLS_GD): Define.
46342         (R_MN10300_TLS_LD): Likewise.
46343         (R_MN10300_TLS_LDO): Likewise.
46344         (R_MN10300_TLS_GOTIE): Likewise.
46345         (R_MN10300_TLS_IE): Likewise.
46346         (R_MN10300_TLS_LE): Likewise.
46347         (R_MN10300_TLS_DTPMOD): Likewise.
46348         (R_MN10300_TLS_DTPOFF): Likewise.
46349         (R_MN10300_TLS_TPOFF): Likewise.
46350         (R_MN10300_SYM_DIFF): Likewise.
46351         (R_MN10300_ALIGN): Likewise.
46352         (R_MN10300_NUM): Update.
46354 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46356         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46357         Remove.
46359 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46361         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46363         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46364         sysdeps/unix -> sysdeps/posix move.
46365         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46367 2012-08-07      Allan McRae     <allan@archlinux.org>
46369         [BZ #14303]
46370         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46371         (SUNOS_CPP): Likewise.
46372         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46373         not found.
46374         (open_input): Call CPP using execvp.
46376 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46378         * sysdeps/unix/sysv/linux/kernel-features.h
46379         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46380         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46381         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46382         (__ASSUME_WAITID_SYSCALL): Likewise.
46383         * sysdeps/unix/sysv/linux/dl-execstack.c
46384         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46385         code unconditional.
46386         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46387         conditional code.
46388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46389         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46390         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46391         code.
46392         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46393         unconditional.
46394         [__ASSUME_WAITID_SYSCALL]: Likewise.
46395         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46397 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46399         * sysdeps/unix/closedir.c: Renamed to ...
46400         * sysdeps/posix/closedir.c: ... here.
46401         * sysdeps/unix/dirfd.c: Renamed to ...
46402         * sysdeps/posix/dirfd.c: ... here.
46403         * sysdeps/unix/dirstream.h: Renamed to ...
46404         * sysdeps/posix/dirstream.h: ... here.
46405         * sysdeps/unix/fdopendir.c: Renamed to ...
46406         * sysdeps/posix/fdopendir.c: ... here.
46407         * sysdeps/unix/opendir.c: Renamed to ...
46408         * sysdeps/posix/opendir.c: ... here.
46409         * sysdeps/unix/readdir.c: Renamed to ...
46410         * sysdeps/posix/readdir.c: ... here.
46411         * sysdeps/unix/readdir_r.c: Renamed to ...
46412         * sysdeps/posix/readdir_r.c: ... here.
46413         * sysdeps/unix/rewinddir.c: Renamed to ...
46414         * sysdeps/posix/rewinddir.c: ... here.
46415         * sysdeps/unix/seekdir.c: Renamed to ...
46416         * sysdeps/posix/seekdir.c: ... here.
46417         * sysdeps/unix/telldir.c: Renamed to ...
46418         * sysdeps/posix/telldir.c: ... here.
46419         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46420         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46421         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46422         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46424         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46425         * bits/fcntl.h: ... here.
46427         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46428         not 0.
46429         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46430         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46431         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46432         (struct flock): Move l_start, l_len to the beginning.
46433         Use __pid_t for l_pid.
46434         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46435         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46436         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46437         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46438         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46439         [__USE_LARGEFILE64] (struct flock64): New type.
46440         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46442         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46443         * bits/dirent.h: ... here.
46445         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46446         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46448 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46450         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46451         Change from 2.6.0 to 2.6.16.
46452         * sysdeps/unix/sysv/linux/configure: Regenerated.
46453         * sysdeps/unix/sysv/linux/kernel-features.h
46454         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46455         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46456         version.
46457         (__ASSUME_UTIMES): Likewise.
46458         (__ASSUME_CLONE_STOPPED): Remove.
46459         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46460         architectures, not kernel version.
46461         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46462         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46463         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46464         (__ASSUME_WAITID_SYSCALL): Likewise.
46465         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46466         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46467         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46468         refer to older versions.
46470 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46472         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46473         Define alphasort64 as an alias.
46474         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46475         Define versionsort64 as an alias.
46476         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46477         Define scandir64 as an alias.
46478         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46479         Define scandirat64 as an alias.
46480         * dirent/alphasort64.c (alphasort64):
46481         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46482         * dirent/versionsort64.c: Likewise.
46483         * dirent/scandir64.c: Likewise.
46484         * dirent/scandirat64.c: Likewise.
46485         * sysdeps/wordsize-64/alphasort.c: File removed.
46486         * sysdeps/wordsize-64/alphasort64.c: File removed.
46487         * sysdeps/wordsize-64/scandir.c: File removed.
46488         * sysdeps/wordsize-64/scandir64.c: File removed.
46489         * sysdeps/wordsize-64/scandirat.c: File removed.
46490         * sysdeps/wordsize-64/scandirat64.c: File removed.
46491         * sysdeps/wordsize-64/versionsort.c: File removed.
46492         * sysdeps/wordsize-64/versionsort64.c: File removed.
46493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46494         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46496         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46498         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46499         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46500         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46502         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46504         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46506         [defined __arch64__ || defined __sparcv9]
46507         (__INO_T_MATCHES_INO64_T): New macro.
46508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46509         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46510         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46511         * sysdeps/unix/sysv/linux/bits/dirent.h
46512         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46513         (_DIRENT_MATCHES_DIRENT64): New macro.
46515         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46516         Define lockf64 as an alias.
46517         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46518         Define fseeko64 as an alias.
46519         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46520         Define ftello64 as an alias.
46521         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46522         Define _IO_fgetpos64 and fgetpos64 as aliases.
46523         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46524         Define _IO_fsetpos64 and fsetpos64 as aliases.
46525         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46526         Conditionalize body on this.
46527         * libio/fseeko64.c: Likewise.
46528         * libio/ftello64.c: Likewise.
46529         * libio/iofgetpos64.c: Likewise.
46530         * libio/iofsetpos64.c: Likewise.
46531         * sysdeps/wordsize-64/lockf.c: File removed.
46532         * sysdeps/wordsize-64/lockf64.c: File removed.
46533         * sysdeps/wordsize-64/fseeko.c: File removed.
46534         * sysdeps/wordsize-64/fseeko64.c: File removed.
46535         * sysdeps/wordsize-64/ftello.c: File removed.
46536         * sysdeps/wordsize-64/ftello64.c: File removed.
46537         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46538         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46539         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46540         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46541         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46542         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46544         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46546         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46547         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46548         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46550         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46552         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46554         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46556         [defined __arch64__ || defined __sparcv9]
46557         (__OFF_T_MATCHES_OFF64_T): New macro.
46558         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46559         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46561         (__OFF_T_MATCHES_OFF64_T): New macro.
46563 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46565         * stdlib/secure-getenv.c (__secure_getenv): Replace
46566         GLIBC_2_16 with GLIBC_2_17.
46568 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46570         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46571         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46573 2012-08-03  David S. Miller  <davem@davemloft.net>
46575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46577 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46580         Remove.
46581         (__ASSUME_CORRECT_SI_PID): Likewise.
46582         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46583         (__ASSUME_TMPFS_NAME): Likewise.
46584         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46585         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46586         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46587         (HAVE_AUX_SECURE): Make definition unconditional.
46588         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46589         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46591 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46593         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46594         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46595         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46596         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46597         __eloop_threshold instead of SYMLOOP_MAX.
46599         * sysdeps/generic/eloop-threshold.h: New file.
46600         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46601         of MAXSYMLINKS.
46602         * elf/chroot_canon.c (chroot_canon): Likewise.
46604 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46606         [BZ #13717]
46607         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46608         Change to 2.6.0 everywhere.
46609         * sysdeps/unix/sysv/linux/configure: Regenerated.
46610         * sysdeps/unix/sysv/linux/kernel-features.h
46611         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46612         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46613         kernel versions.
46614         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46615         (__ASSUME_FUTEX_REQUEUE): Remove.
46616         (__ASSUME_STATFS64): Define unconditionally.
46617         (__ASSUME_AT_SECURE): Likewise.
46618         (__ASSUME_CORRECT_SI_PID): Likewise.
46619         (__ASSUME_TGKILL): Define without depending on kernel version for
46620         i386.
46621         (__ASSUME_UTIMES): Likewise.
46622         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46623         kernel version.
46624         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46625         (__ASSUME_TMPFS_NAME): Likewise.
46626         * README: Update reference to Linux kernel versions.
46628 2012-08-02  Marek Polacek  <polacek@redhat.com>
46630         [BZ# 14150]
46631         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46632         libc_cv_asm_type_prefix with %.
46633         * configure: Regenerated.
46634         * include/libc-symbols.h: Remove comment about
46635         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46636         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46637         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46638         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46639         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46640         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46641         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46642         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46643         * elf/tst-unique2mod1.c: Likewise.
46644         * elf/tst-unique1mod2.c: Likewise.
46645         * elf/tst-unique1mod1.c: Likewise.
46646         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46647         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46648         Replace ASM_TYPE_DIRECTIVE with .type.
46649         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46650         * sysdeps/i386/sysdep.h: Likewise.
46651         * sysdeps/x86_64/sysdep.h: Likewise.
46652         * sysdeps/sh/sysdep.h: Likewise.
46653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46654         Do not define ASM_TYPE_DIRECTIVE.
46655         * sysdeps/powerpc/sysdep.h: Likewise.
46656         * sysdeps/powerpc/powerpc32/sysdep.h:
46657         Replace ASM_TYPE_DIRECTIVE with .type.
46658         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46659         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46660         * sysdeps/i386/fpu/e_powf.S: Likewise.
46661         * sysdeps/i386/fpu/e_expl.S: Likewise.
46662         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46663         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46664         * sysdeps/i386/fpu/e_pow.S: Likewise.
46665         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46666         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46667         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46668         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46669         * sysdeps/i386/fpu/e_log2.S: Likewise.
46670         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46671         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46672         * sysdeps/i386/fpu/e_powl.S: Likewise.
46673         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46674         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46675         * sysdeps/i386/fpu/e_logl.S: Likewise.
46676         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46677         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46678         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46679         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46680         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46681         * sysdeps/i386/fpu/e_log.S: Likewise.
46682         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46683         * sysdeps/i386/fpu/e_logf.S: Likewise.
46684         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46686         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46687         * sysdeps/i386/fpu/e_log10.S: Likewise.
46688         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46689         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46690         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46691         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46692         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46694         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46695         * sysdeps/i386/i686/strtok.S: Likewise.
46696         * sysdeps/i386/i386-mcount.S: Likewise.
46697         * sysdeps/i386/strtok.S: Likewise.
46698         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46699         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46700         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46701         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46702         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46703         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46704         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46705         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46706         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46707         * sysdeps/x86_64/_mcount.S: Likewise.
46708         * sysdeps/x86_64/strtok.S: Likewise.
46709         * sysdeps/sh/_mcount.S: Likewise.
46711 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46713         * libio/iofopen.c: Include <fcntl.h>.
46714         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46715         (_IO_fopen64, fopen64): Define as aliases.
46716         * libio/iofopen64.c: Include <fcntl.h>.
46717         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46718         Conditionalize body on this.
46719         * sysdeps/wordsize-64/iofopen.c: File removed.
46720         * sysdeps/wordsize-64/iofopen64.c: File removed.
46722 2012-08-01  Marek Polacek  <polacek@redhat.com>
46724         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46725         Use dlfcn directly instead of a variable.
46726         (binfmt-subdir): Do not define.
46727         (dlfcn): Likewise.
46729 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46732         Remove all definitions.
46733         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46734         <kernel-features.h>.
46735         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46736         (miss_F_GETOWN_EX): Remove all definitions.
46737         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46738         macro definition.
46739         [!__ASSUME_FCNTL64]: Remove conditional code.
46740         [__ASSUME_FCNTL64]: Make code unconditional.
46741         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46742         <kernel-features.h>.
46743         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46744         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46745         (lockf64) [__NR_fcntl64]: Make code unconditional.
46746         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46748         * sysdeps/unix/sysv/linux/kernel-features.h
46749         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46750         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46751         Make code unconditional.
46752         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46753         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46755         [__NR_vfork]: Make code unconditional.
46756         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46757         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46759         [__NR_vfork]: Make code unconditional.
46760         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46761         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46763 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46765         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46766         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46768         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46769         Define mkstemp64 as an alias.
46770         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46771         Define mkstemps64 as an alias.
46772         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46773         Define mkostemp64 as an alias.
46774         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46775         Define mkostemps64 as an alias.
46776         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46777         Conditionalize body on this.
46778         * misc/mkostemp64.c: Likewise.
46779         * misc/mkostemps64.c: Likewise.
46780         * misc/mkstemps64.c: Likewise.
46781         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46782         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46783         * sysdeps/wordsize-64/mkostemp.c: File removed.
46784         * sysdeps/wordsize-64/mkstemp.c: File removed.
46785         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46787         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46790         [BZ #14138]
46791         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46792         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46793         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46794         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46796         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46797         compat_symbol macros from <shlib-compat.h> rather than the underlying
46798         default_symbol_version and symbol_version macros, so that DEFAULT
46799         lines in shlib-versions are respected.
46800         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46802 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46804         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46805         Declare with warn_unused_result.
46806         (setgid, setregid, setegid, setresgid): Likewise.
46807         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46808         Likewise.
46809         * WUR-REPORT: Remove set*id functions.
46811 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46813         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46815 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46817         [BZ #10191]
46818         * include/sys/socket.h (__libc_accept, __libc_accept4):
46819         Add attribute_hidden.
46820         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46822         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46823         use of PTR_MANGLE.
46824         * inet/getnetgrent_r.c (setup): Likewise.
46826         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46828 2012-07-31  David S. Miller  <davem@davemloft.net>
46830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46832 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46834         [BZ #13629]
46835         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46836         value between 1.0 and 2.0 and smaller part has absolute value less
46837         than 1.0.
46838         * math/s_clog10.c (__clog10): Likewise.
46839         * math/s_clog10f.c (__clog10f): Likewise.
46840         * math/s_clog10l.c (__clog10l): Likewise.
46841         * math/s_clogf.c (__clogf): Likewise.
46842         * math/s_clogl.c (__clogl): Likewise.
46843         * math/libm-test.inc (clog_test): Add more tests.
46844         (clog10_test): Likewise.
46845         * sysdeps/i386/fpu/libm-test-ulps: Update.
46846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46848 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46850         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46851         Exit with zero in case no suitable GID is found, and write a
46852         message to standard error.
46854 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46856         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46857         rather than to 1.
46858         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46859         (MAXPATHLEN): Removed.
46860         (NOGROUP, NODEV): New macros.
46861         (setbit, clrbit, isset, isclr): New macros.
46862         (howmany, roundup, powerof2): New macros.
46863         (DEV_BSIZE): New macro.
46865         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46866         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46868         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46869         definition on [!__NO_LONG_DOUBLE_MATH].
46871         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46872         PTR_MANGLE and PTR_DEMANGLE.
46874         * socket/accept4.c (accept4): Rename to __libc_accept4.
46875         Define accept4 as a weak alias.
46877         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46878         on [_DIRENT_HAVE_D_TYPE].
46879         * io/ftw.c (ftw_dir): Likewise.
46881         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46883         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46885         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46886         Use the BSD numbers rather than the arbitrary ones we had.
46887         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46888         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46889         (SIGXCPU, SIGXFSZ): New macros.
46890         (_NSIG): Now 32.
46892         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46893         initializer on [_LIBC_REENTRANT].
46895         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46896         definitions inside [_POSIX_MAPPED_FILES].
46898         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46900         * dirent/opendir.c: Include <fcntl.h>.
46902         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46903         (__libc_getspecific): Likewise.
46904         (__libc_key_create): Likewise.
46906         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46907         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46908         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46909         (tmpfile64): Define as alias.
46910         * sysdeps/wordsize-64/tmpfile.c: File removed.
46911         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46912         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46913         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46915         * stdio-common/vfscanf.c: Include <stdbool.h>.
46916         * nss/makedb.c: Likewise.
46917         * stdio-common/_i18n_number.h: Likewise.
46918         * argp/argp-help.c: Likewise.
46919         * posix/wordexp.c: Likewise.
46920         * sysdeps/posix/spawni.c: Likewise.
46921         * nss/nss_files/files-initgroups.c: Likewise.
46922         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46923         * nss/nss_files/files-initgroups.c: Likewise.
46924         * nss/nss_db/db-netgrp.c: Likewise.
46925         * nss/nss_db/db-initgroups.c: Likewise.
46926         * io/fchmodat.c: Include <sys/stat.h>.
46928         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46929         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46931         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46932         [HAVE_MMAP].
46934         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46935         Add multiple inclusion protection.
46937 2012-07-27  David S. Miller  <davem@davemloft.net>
46939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46941 2012-07-27  Gary Benson  <gbenson@redhat.com>
46943         [BZ #14298]
46944         * elf/rtld.c: Include <stap-probe.h>.
46945         (dl_main): Added static probes "init_start" and "init_complete".
46946         * elf/dl-load.c: Include <stap-probe.h>.
46947         (lose): Take new parameter "nsid".
46948         Added static probe "map_failed".
46949         (_dl_map_object_from_fd): Pass namespace id to lose.
46950         Added static probe "map_start".
46951         (open_verify): Pass namespace id to lose.
46952         * elf/dl-open.c: Include <stap-probe.h>.
46953         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46954         and "reloc_complete".
46955         * elf/dl-close.c: Include <stap-probe.h>.
46956         (_dl_close_worker): Added static probes "unmap_start" and
46957         "unmap_complete".
46958         * elf/rtld-debugger-interface.txt: New file documenting the above.
46960 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46962         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46963         rather than a string variable.
46964         * sunrpc/rpc_main.c (h_output): Likewise.
46965         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46967 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46969         * inet/check_native.c: New file.
46971 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46973         [BZ #13629]
46974         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46975         if larger part has absolute value 1.0.
46976         * math/s_clog10.c (__clog10): Likewise.
46977         * math/s_clog10f.c (__clog10f): Likewise.
46978         * math/s_clog10l.c (__clog10l): Likewise.
46979         * math/s_clogf.c (__clogf): Likewise.
46980         * math/s_clogl.c (__clogl): Likewise.
46981         * math/libm-test.inc (clog_test): Add more tests.
46982         (clog10_test): Likewise.
46983         * sysdeps/i386/fpu/libm-test-ulps: Update.
46984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46986         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46987         (pltexit): Likewise.
46988         (La_regs): Likewise.
46989         (La_retval): Likewise.
46990         (int_retval): Likewise.
46991         Update #error for removed macros to refer only to definitions in
46992         tst-audit.h.
46993         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46994         macro.
46995         (pltexit): Likewise.
46996         (La_regs): Likewise.
46997         (La_retval): Likewise.
46998         (int_retval): Likewise.
46999         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47000         macro.
47001         (pltexit): Likewise.
47002         (La_regs): Likewise.
47003         (La_retval): Likewise.
47004         (int_retval): Likewise.
47005         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47006         macro.
47007         (pltexit): Likewise.
47008         (La_regs): Likewise.
47009         (La_retval): Likewise.
47010         (int_retval): Likewise.
47011         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47012         macro.
47013         (pltexit): Likewise.
47014         (La_regs): Likewise.
47015         (La_retval): Likewise.
47016         (int_retval): Likewise.
47017         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47018         macro.
47019         (pltexit): Likewise.
47020         (La_regs): Likewise.
47021         (La_retval): Likewise.
47022         (int_retval): Likewise.
47023         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47024         macro.
47025         (pltexit): Likewise.
47026         (La_regs): Likewise.
47027         (La_retval): Likewise.
47028         (int_retval): Likewise.
47029         * sysdeps/generic/tst-audit.h: Update comment to refer only to
47030         macro definitions in tst-audit.h.
47031         * sysdeps/i386/tst-audit.h: New file.
47032         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47033         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47034         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47035         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47036         * sysdeps/sh/tst-audit.h: Likewise.
47037         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47038         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47039         * sysdeps/x86_64/tst-audit.h: Likewise.
47041 2012-07-26  Andreas Jaeger  <aj@suse.de>
47043         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47044         ptrace.
47046         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47047         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47048         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47049         PTRACE_O_MASK.
47050         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47051         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47052         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47054         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47055         value.
47057         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47058         _sigsys.
47059         (si_call_addr, si_syscall, si_arch): Define new macro.
47060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47061         _sigsys.
47062         (si_call_addr, si_syscall, si_arch): Define new marcro.
47063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47064         _sigsys.
47065         (si_call_addr, si_syscall, si_arch): Define new macro.
47066         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47067         _sigsys.
47068         (si_call_addr, si_syscall, si_arch): Define new macro.
47070 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47072         [BZ #13717]
47073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47074         Change to 2.4.21 where previously 2.4.1.
47075         * sysdeps/unix/sysv/linux/configure: Regenerated.
47076         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47077         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47078         Linux kernel version.
47079         (__ASSUME_STD_AUXV): Remove.
47080         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47081         kernel version.
47082         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47083         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47084         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47085         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47086         (__ASSUME_NETLINK_SUPPORT): Likewise.
47087         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47088         (__no_netlink_support): Remove conditional definition.
47089         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47090         Remove.
47091         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47092         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47093         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47094         (if_nameindex_ioctl): Remove.
47095         (if_nameindex_netlink): Do not handle __no_netlink_support.
47096         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47097         code.
47098         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47099         Remove conditional code.
47100         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47101         code.
47102         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47103         unconditional.
47104         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47105         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47106         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47107         Remove.
47108         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47109         [!__ASSUME_STD_AUXV]: Remove conditional code.
47110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47111         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47112         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47114         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47115         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47116         code.
47117         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47119         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47120         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47121         conditional code.
47122         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47124         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47125         code.
47126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47127         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47128         conditional code.
47129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47130         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47131         code unconditional.
47132         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47133         conditional code.
47134         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47135         unconditional.
47136         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47137         conditional code.
47138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47139         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47140         unconditional.
47141         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47142         conditional code.
47143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47144         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47145         code unconditional.
47146         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47147         conditional code.
47148         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47149         unconditional.
47150         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47151         conditional code.
47152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47153         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47154         code unconditional.
47155         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47156         conditional code.
47157         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47158         unconditional.
47159         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47160         conditional code.
47162 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47164         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47165         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47166         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47167         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47168         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47169         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47170         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47171         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47172         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47173         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47174         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47175         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47176         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47177         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47178         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47179         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47180         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47181         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47182         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47184         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47185         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47186         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47188 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47190         * Versions.def: Add GLIBC_2.17.
47191         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47192         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47193         Introduce __libc_secure_getenv.
47194         * stdlib/Versions (2.17): Add secure_getenv
47195         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47196         * stdlib/secure-getenv.c: Rename __secure_getenv to
47197         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47198         symbol __secure_getenv for GLIBC_2.0.
47199         * stdlib/tst-secure-getenv.c: New.
47200         * stdlib/Makefile (tests): Add testcase.
47201         * manual/startup.texi (Environment Access): Document
47202         secure_getenv.
47203         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47204         __libc_secure_getenv.
47205         * inet/ruserpass.c (ruserpass): Likewise.
47206         * malloc/mtrace.c (mtrace): Likewise.
47207         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47208         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47209         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47210         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47211         HAVE_SECURE_GETENV.
47212         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47213         __secure_getenv to __libc_secure_getenv.
47214         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47216         Likewise.
47217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47218         Likewise.
47219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47227 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47229         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47230         (struct La_i86_retval): Likewise.
47231         (struct La_x86_64_regs): Likewise.
47232         (struct La_x86_64_retval): Likewise.
47233         (struct La_x32_regs): Likewise.
47234         (struct La_x32_retval): Likewise.
47235         (struct La_ppc32_regs): Likewise.
47236         (struct La_ppc32_retval): Likewise.
47237         (struct La_ppc64_regs): Likewise.
47238         (struct La_ppc64_retval): Likewise.
47239         (struct La_sh_regs): Likewise.
47240         (struct La_sh_retval): Likewise.
47241         (struct La_s390_32_regs): Likewise.
47242         (struct La_s390_32_retval): Likewise.
47243         (struct La_s390_64_regs): Likewise.
47244         (struct La_s390_64_retval): Likewise.
47245         (struct La_sparc32_regs): Likewise.
47246         (struct La_sparc32_retval): Likewise.
47247         (struct La_sparc64_regs): Likewise.
47248         (struct La_sparc64_retval): Likewise.
47249         (struct audit_ifaces): Remove architecture-specific pltenter and
47250         pltexit members.
47251         * sysdeps/i386/ldsodefs.h: New file.
47252         * sysdeps/powerpc/ldsodefs.h: Likewise.
47253         * sysdeps/s390/ldsodefs.h: Likewise.
47254         * sysdeps/sh/ldsodefs.h: Likewise.
47255         * sysdeps/sparc/ldsodefs.h: Likewise.
47256         * sysdeps/x86_64/ldsodefs.h: Likewise.
47258 2012-07-25  Marek Polacek  <polacek@redhat.com>
47260         [BZ #6808]
47261         * math/libm-test.inc (yn_test): Add another test.
47262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47263         to ERANGE when the result is +-Inf.
47264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47265         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47266         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47267         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47269 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47271         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47272         equal to 0.
47273         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47274         clock_t.
47275         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47277 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47279         * configure.in <sysdeps resolving>: Correct printing
47280         Implies_before.
47281         * configure: Regenerate.
47283 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47285         * math/w_ilogb.c: Include <limits.h>.
47286         * math/w_ilogbl.c: Likewise.
47288 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47290         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47291         va_copy.  Document allowing for unavailable va_copy only as
47292         pre-C99 compatibility.
47293         * manual/string.texi (Copying and Concatenation): Use va_copy
47294         instead of __va_copy in concat example.
47296 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47298         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47299         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47300         it if not null.
47302         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47303         with O_NOLINK passed to __file_name_lookup.
47305         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47306         with O_NOLINK passed to __file_name_lookup.
47308         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47309         negative N or less than NGIDS.
47311         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47312         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47313         enough.  Use memcpy instead of strncpy.
47315 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47317         * elf/Makefile (check-data): Remove.
47318         (localplt.data): New vpath directive.
47319         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47320         instead of $(check-data).
47321         * scripts/data/localplt-generic.data: Move to ...
47322         * sysdeps/generic/localplt.data: ... here.
47323         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47324         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47325         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47327         ... here.
47328         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47330         ... here.
47331         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47333         ... here.
47334         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47336         ... here.
47337         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47339         ... here.
47340         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47342         ... here.
47344 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47346         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47347         PPC32 and PPC64 files.
47348         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47349         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47351 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47353         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47354         __makecontext_ret to ...
47355         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47356         ... here and call exit if uc_link is NULL.  New file.
47357         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47358         __makecontext_ret.S.
47359         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47360         __makecontext_ret to ...
47361         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47362         ... here and call exit if uc_link is NULL.  New file.
47363         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47364         __makecontext_ret.S.
47366 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47368         * elf/elf.h (R_390_IRELATIVE): New definition.
47369         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47370         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47371         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47372         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47373         (elf_machine_lazy_rel): Likewise.
47374         * sysdeps/s390/dl-irel.h: New file.
47375         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47376         * sysdeps/s390/s390-64/memset.S: New asm code.
47377         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47378         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47379         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47380         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47381         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47382         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47383         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47384         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47385         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47386         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47387         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47388         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47389         * sysdeps/s390/s390-32/memset.S: New asm code.
47390         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47392 2012-07-17  Marek Polacek  <polacek@redhat.com>
47394         [BZ #14349]
47395         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47396         * sysdeps/s390/s390-64/configure.in: Likewise.
47397         * sysdeps/sparc/configure.in: Likewise.
47398         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47399         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47400         * sysdeps/i386/configure.in: Likewise.
47401         * sysdeps/x86_64/configure.in: Likewise.
47402         * sysdeps/sh/configure.in: Likewise.
47403         * sysdeps/s390/s390-32/configure: Regenerated.
47404         * sysdeps/s390/s390-64/configure: Likewise.
47405         * sysdeps/x86_64/configure: Likewise.
47406         * sysdeps/sh/configure: Likewise.
47407         * sysdeps/powerpc/powerpc64/configure: Likewise.
47408         * sysdeps/powerpc/powerpc32/configure: Likewise.
47409         * sysdeps/sparc/configure: Likwise.
47410         * sysdeps/i386/configure: Likewise.
47412         * elf/dl-open.c: Comment fixes.
47414 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47416         * Makefile [CXX] (check-data): Remove.
47417         [CXX] (c++-types.data): New vpath directive.
47418         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47419         vpath.  Do not allow for C++ type data being missing.
47420         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47421         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47422         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47423         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47424         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47425         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47426         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47428         ... here.
47429         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47431         ... here.
47432         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47434         ... here.
47435         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47437         ... here.
47438         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47440         ... here.
47441         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47443         ... here.
47444         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47446         ... here.
47447         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47450         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47451         definitions to architecture-specific files.
47452         (TLS_IE): Likewise.
47453         (TLS_LD): Likewise.
47454         (TLS_GD): Likewise.
47455         * sysdeps/i386/tls-macros.h: New file.
47456         * sysdeps/powerpc/tls-macros.h: Likewise.
47457         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47458         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47459         * sysdeps/sh/tls-macros.h: Likewise.
47460         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47461         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47462         * sysdeps/x86_64/tls-macros.h: Likewise.
47464 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47466         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47467         zero value for regular exit case.
47469         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47470         (__start_context): Preserve zero value for regular exit case.
47472 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47473             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47475         * manual/setjmp.texi (setcontext): Clarify normal process
47476         termination when uc_link is the null pointer.
47477         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47478         exit call.
47480 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47482         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47483         preprocessor.  Test for each exception mask separately.
47485 2012-07-16  Andreas Jaeger  <aj@suse.de>
47487         * po/ru.po: Update from translation team.
47489 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47491         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47492         equal to 0.
47493         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47494         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47495         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47496         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47497         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47499 2012-07-13  Andreas Jaeger  <aj@suse.de>
47501         * po/fr.po: Update from translation team.
47503 2012-07-12  Marek Polacek  <polacek@redhat.com>
47505         [BZ #14173]
47506         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47507         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47508         loop condition.
47510 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47512         [BZ #13717]
47513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47514         Change to 2.4.1 where previously 2.4.0.
47515         * sysdeps/unix/sysv/linux/configure: Regenerated.
47516         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47517         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47518         version.
47519         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47520         (__ASSUME_AT_CLKTCK): Remove.
47521         (__ASSUME_AT_PAGESIZE): Likewise.
47522         (__ASSUME_AT_XID): Likewise.
47523         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47524         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47525         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47526         unconditionally.
47527         (HAVE_AUX_PAGESIZE): Likewise.
47528         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47529         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47530         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47532 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47534         [BZ #14307]
47535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47536         the temporary buffer used to invoke __gethostbyname2_r,
47537         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47538         host_data / struct gaih_addrtuple.
47539         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47540         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47541         header file nss/nsswitch.h.
47542         * nss/nsswitch.h (global scope): Add definition of implementation
47543         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47544         resolv/nss_dns/dns-host.c).
47546 2012-07-11  Andreas Jaeger  <aj@suse.de>
47548         * po/fr.po: Update from translation team.
47550         * po/sv.po: Update from translation team
47551         * po/fr.po: Another update from translation team.
47553 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47555         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47556         for subnormals or multiply small sinh result by itself.
47557         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47560 2012-07-11  David S. Miller  <davem@davemloft.net>
47562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47564 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47566         [BZ #14347]
47567         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47568         (INTERNAL_MARK): Shift it here.
47570 2012-07-10  Marek Polacek  <polacek@redhat.com>
47572         [BZ #14151]
47573         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47574         libc_cv_asm_global_directive with .globl.
47575         * configure: Regenerated.
47576         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47577         with .globl.
47578         * sysdeps/i386/configure: Regenerated.
47579         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47580         with .globl.
47581         * sysdeps/x86_64/configure: Regenerated.
47582         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47583         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47584         * elf/tst-unique2mod2.c: Likewise.
47585         * elf/tst-unique2mod1.c: Likewise.
47586         * elf/tst-unique1mod2.c: Likewise.
47587         * elf/tst-unique1mod1.c: Likewise.
47588         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47589         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47591         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47592         * sysdeps/mach/sysdep.h: Likewise.
47593         * sysdeps/i386/sysdep.h: Likewise.
47594         * sysdeps/i386/i386-mcount.S: Likewise.
47595         * sysdeps/x86_64/_mcount.S: Likewise.
47596         * sysdeps/x86_64/sysdep.h: Likewise.
47597         * sysdeps/sh/_mcount.S: Likewise.
47598         * sysdeps/sh/sysdep.h: Likewise.
47599         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47600         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47601         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47602         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47603         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47604         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47605         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47606         * locale/localeinfo.h: Likewise.
47607         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47608         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47610 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47612         [BZ #14336]
47613         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47614         system".
47615         * manual/message.texi (The Uniforum approach): Likewise.
47616         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47617         (glibc iconv Implementation): Likewise.
47619 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47621         [BZ #14337]
47622         * math/s_clog.c (__clog): Avoid scaling a value down where that
47623         could result in underflow.
47624         * math/s_clog10.c (__clog10): Likewise.
47625         * math/s_clog10f.c (__clog10f): Likewise.
47626         * math/s_clog10l.c (__clog10l): Likewise.
47627         * math/s_clogf.c (__clogf): Likewise.
47628         * math/s_clogl.c (__clogl): Likewise.
47629         * math/libm-test.inc (clog_test): Add more tests.
47630         (clog10_test): Likewise.
47631         * sysdeps/i386/fpu/libm-test-ulps: Update.
47632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47634 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47636         [BZ #14283]
47637         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47638         by 7 not 8 to examine high bit of fractional part.
47640         [BZ #14042]
47641         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47642         for call to __mcount_internal.
47643         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47644         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47645         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47647 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47649         [BZ #14154]
47650         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47651         approximation for values within 0x1p-13f of an odd multiple of
47652         pi/4.
47653         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47654         exception.  Add more tests.
47655         * sysdeps/i386/fpu/libm-test-ulps: Update.
47657         [BZ #6778]
47658         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47659         inputs and return -1 for them.  Do not check for +Inf in case not
47660         reachable for +Inf.
47661         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47662         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47663         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47664         and return -1 for them.  Do not check for +Inf in case not
47665         reachable for +Inf.
47666         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47667         define.
47668         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47669         and return -1 for them.  Do not check for +Inf in case not
47670         reachable for +Inf.
47671         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47672         spurious underflow.
47673         * sysdeps/i386/fpu/libm-test-ulps: Update.
47674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47676 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47678         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47680 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47682         [BZ #14157]
47683         [BZ #14331]
47684         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47685         could result in spurious underflow.  Scale down values above
47686         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47687         * math/s_csqrtf.c (__csqrtf): Likewise.
47688         * math/s_csqrtl.c (__csqrtl): Likewise.
47689         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47690         spurious underflow.
47691         * sysdeps/i386/fpu/libm-test-ulps: Update.
47692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47694 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47696         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47697         xopen-msg.sed.
47698         * catgets/xopen-msg.awk: New file.
47699         * catgets/xopen-msg.sed: Removed.
47701         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47702         po2text.sed.
47703         * intl/po2test.awk: New file.
47704         * intl/po2test.sed: Removed.
47706 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47708         [BZ #14328]
47709         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47710         or multiply small sinh result by itself.
47711         * math/s_ctanf.c (__ctanf): Likewise.
47712         * math/s_ctanh.c (__ctanh): Likewise.
47713         * math/s_ctanhf.c (__ctanhf): Likewise.
47714         * math/s_ctanhl.c (__ctanhl): Likewise.
47715         * math/s_ctanl.c (__ctanl): Likewise.
47716         * math/libm-test.inc (ctan_test_tonearest): New function.
47717         (ctan_test_towardzero): Likewise.
47718         (ctan_test_downward): Likewise.
47719         (ctan_test_upward): Likewise.
47720         (ctanh_test_tonearest): Likewise.
47721         (ctanh_test_towardzero): Likewise.
47722         (ctanh_test_downward): Likewise.
47723         (ctanh_test_upward): Likewise.
47724         (main): Call these new functions.
47725         * sysdeps/i386/fpu/libm-test-ulps: Update.
47726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47728 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47730         * .gitignore: Delete /ports entry.
47732 2012-07-03  Andreas Jaeger  <aj@suse.de>
47734         * po/bg.po: Update from translation team.
47735         * po/cs.po: Likewise.
47736         * po/de.po: Likewise.
47737         * po/hr.po: Likewise.
47738         * po/nl.pl: Likewise.
47739         * po/pl.po: Likewise.
47740         * po/vi.po: Likewise.
47742 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47744         * Makeconfig [!+link] (+link-before-libc): New variable.
47745         [!+link] (+link-after-libc): Likewise.
47746         [!+link] (+link-tests): Likewise.
47747         [!+link] (+link): Define in terms of $(+link-before-libc) and
47748         $(+link-after-libc).
47749         [!+link-static] (+link-static-before-libc): New variable.
47750         [!+link-static] (+link-static-after-libc): Likewise.
47751         [!+link-static] (+link-static-tests): Likewise.
47752         [!+link-static] (+link-static): Define in terms of
47753         $(+link-static-before-libc) and $(+link-static-after-libc).
47754         [build-shared] (link-libc-before-gnulib): New variable.
47755         [build-shared] (link-libc-tests): Likewise.
47756         [build-shared] (link-libc): Define in terms of
47757         $(link-libc-before-gnulib).
47758         [!build-shared] (link-libc-tests): New variable.
47759         (link-libc-static-tests): New variable.
47760         [!gnulib] (gnulib-arch): New variable.
47761         [!gnulib] (gnulib-tests): Likewise.
47762         [!gnulib] (static-gnulib-arch): Likewise.
47763         [!gnulib] (static-gnulib-tests): Likewise.
47764         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47765         Define with "=" instead of ":=".
47766         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47767         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47768         * Rules (binaries-all-notests): New variable.
47769         (binaries-all-tests): Likewise.
47770         (binaries-static-notests): Likewise.
47771         (binaries-static-tests): Likewise.
47772         (binaries-all): Define using $(binaries-all-notests) and
47773         $(binaries-all-tests).
47774         (binaries-static): Define using $(binaries-static-notests) and
47775         $(binaries-static-tests).
47776         (binaries-shared-tests): New variable.
47777         (binaries-shared-notests): Likewise.
47778         (binaries-shared): Remove variable.
47779         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47780         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47781         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47782         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47783         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47784         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47785         * elf/Makefile (sln-modules): New variable.
47786         (extra-objs): Add $(sln-modules:=.o).
47787         (ldconfig-modules): Add static-stubs.
47788         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47789         * elf/static-stubs.c: New file.
47791         [BZ #14283]
47792         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47793         by 7 not 8 to examine high bit of fractional part.  Use volatile
47794         variables when splitting into final array of floats if
47795         __FLT_EVAL_METHOD__ != 0.
47796         * math/libm-test.inc (cos_test): Add another test.
47797         (sin_test): Likewise.
47798         * sysdeps/i386/fpu/libm-test-ulps: Update.
47800         [BZ #14273]
47801         * math/libm-test.inc (cosh_test): Add more tests.
47803         * version.h (RELEASE): Set to "development".
47804         (VERSION): Set to "2.16.90".
47806 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47808         * NEWS: Update copyright. Remove last-updated date.
47809         Mention math library bug fixes and timezone data changes.
47810         * README: Mention GNU/Hurd, x32, and HPPA support status.
47812 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47814         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47816 2012-06-27  Andreas Jaeger  <aj@suse.de>
47818         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47820 2012-06-25  Andreas Jaeger  <aj@suse.de>
47822         * sysdeps/s390/fpu/libm-test-ulps: Update.
47824 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47825             Thomas Schwinge  <thomas@codesourcery.com>
47827         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47828         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47830         fanotify_mark.
47832 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47834         * sysdeps/mach/start.c: Remove file.
47835         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47836         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47837         * sysdeps/sh/init-first.c: Likewise.
47839         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47840         registers for frame unwinding purposes, add CFI directives.
47841         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47843         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47844         Likewise.
47846         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47847         __fortify_fail returning.
47848         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47850         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47851         sysdeps/sh/____longjmp_chk.S.
47852         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47853         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47854         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47855         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47857         * sysdeps/sh/abort-instr.h: New file.
47858         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47859         process in case exit returns.
47861         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47862         initialize the GOT register before use.
47864         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47865         calculation of ARGC > 4.
47867         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47868         meaningful names to some local labels.
47870 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47871             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47873         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47874         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47875         (__arch_compare_and_exchange_val_16_acq): Likewise.
47876         (__arch_compare_and_exchange_val_32_acq): Likewise.
47877         (atomic_exchange_and_add): Fix gUSA sequence.
47878         (atomic_add): Likewise.
47879         (atomic_add_negative): Likewise.
47880         (atomic_add_zero): Likewise.
47881         (atomic_bit_test_set): Likewise.
47883 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47885         [BZ #13579]
47886         * include/link.h (struct link_map): Add l_free_initfini.
47887         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47888         l_initfini.
47889         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47890         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47891         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47892         set.
47894 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47896         * configure.in: Use AC_LANG_SOURCE.
47897         * configure: Regenerate.
47899 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47901         * configure.in (libc_cv_localstatedir): New substituted variable.
47902         * configure: Regenerated.
47903         * config.make.in (localstatedir): New variable, substituted from
47904         libc_cv_localstatedir.
47905         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47906         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47907         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47908         * sysdeps/gnu/configure: Regenerated.
47910 2012-06-21  Jeff Law  <law@redhat.com>
47912         [BZ #14277]
47913         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47914         free.  Simplify list management for _LIBC case.
47916 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47918         [BZ #14273]
47919         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47920         Clear sign bit of 64-bit integer value before comparing against
47921         overflow value.
47923         * sysdeps/mach/configure: Regenerated.
47925 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47927         [BZ #14278]
47928         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47930 2012-06-21  Jeff Law  <law@redhat.com>
47932         [BZ #13882]
47933         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47934         uint16_t for elements in the "seen" array to avoid char overflows.
47935         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47936         * elf/dl-open.c (dl_open_worker): Likewise.
47938 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47940         * scripts/list-sources.sh: Scan PORTS for translations.
47941         * po/libc.pot: Regenerated.
47943 2012-06-21  Andreas Jaeger  <aj@suse.de>
47945         [BZ #12194]
47946         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47947         warning.
47948         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47949         * bits/byteswap-16.h (__bswap_16): Likewise.
47950         * bits/byteswap.h (__bswap_constant_16): Likewise.
47952 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47954         [BZ #14117]
47955         * sysdeps/i386/fpu_control.h: Removed.
47956         * sysdeps/x86_64/fpu_control.h: Moved to ...
47957         * sysdeps/x86/fpu_control.h: Here.
47959         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47960         (_FPU_SETCW): Likewise.
47962 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47964         [BZ #14117]
47965         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47966         * sysdeps/x86/fpu/bits/mathinline.h: This.
47967         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47969         [BZ #14050]
47970         [BZ #14117]
47971         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47972         functions if __x86_64__ is defined.
47974 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47976         * string/endian.h: Add !__ASSEMBLER__ condition for including
47977         conversion interfaces.
47979 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47981         [BZ #14241]
47982         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47983         of ABS(x) in calculating zero to negative powers other than odd
47984         integers.
47985         * math/libm-test.inc (pow_test): Add more tests.
47987 2012-06-15  Andreas Jaeger  <aj@suse.de>
47989         * manual/contrib.texi (Contributors): Update entry of Liubov
47990         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47991         Machado Filho.
47993 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47995         * string/string.h: Add __wur to GNU version of strerror_r.
47997 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47999         [BZ #14229]
48000         * string/Makefile (tests): Add tst-strtok_r.
48001         * string/tst-strtok_r.c: New file.
48002         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48003         RAX_LP/RDX_LP on SAVE_PTR.
48005 2012-06-14  Roland McGrath  <roland@hack.frob.com>
48007         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48009 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
48011         * libm_test.inc (csqrt_test): Allow more spurious underflow
48012         exceptions.
48013         (j0_test): Likewise.
48014         (j1_test): Likewise.
48015         (y0_test): Likewise.
48016         (y1_test): Likewise.
48018 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
48020         * po/Makefile (libc.pot): Use UTF-8 charset.
48022 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
48024         [BZ #14210]
48025         Suppress sign-conversion warning from FD_SET.
48026         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48027         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48028         not unsigned long int.
48029         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48031 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
48033         [BZ #14050]
48034         [BZ #14117]
48035         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48036         __extern_always_inline instead of __extern_inline.
48037         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48038         (__signbit): Likewise.
48039         (__signbitl): Support C++ namespace.
48040         (lrintf): New inline function.
48041         (lrint): Likewise.
48042         (llrintf): Likewise.
48043         (llrint): Likewise.
48044         (fmaxf): Likewise.
48045         (fmax): Likewise.
48046         (fminf): Likewise.
48047         (fmin): Likewise.
48048         (rint): Likewise.
48049         (rintf): Likewise.
48050         (ceil): Likewise.
48051         (ceilf): Likewise.
48052         (floor): Likewise.
48053         (floorf): Likewise.
48054         (nearbyint): Likewise.
48055         (nearbyintf): Likewise.
48057 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
48059         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48060         non-default versions.
48062 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48064         [BZ #14218]
48065         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48067 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48069         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48070         (FE_UPWARD, FE_DOWNWARD): Don't define.
48071         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48072         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48075         reading it.
48076         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48077         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48079 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48081         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48083         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48084         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48086 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48088         [BZ #14117]
48089         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48090         * sysdeps/i386/fpu/Implies: New file.
48091         * sysdeps/x86_64/fpu/Implies: Likewise.
48092         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48093         * sysdeps/x86/fpu/bits/fenv.h: This.
48095         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48096         __SSE_MATH__.
48098 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48100         [BZ #14134]
48101         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48102         character 0xffff that matches the last element of the
48103         conversion table.
48105 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48108         fmodl commit.
48110 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48112         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48113         values higher than 25.6283.
48115 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48117         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48118         subnormal exponent extraction and add some __builtin_expect.
48119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48120         Fix for subnormal mantissa calculation.
48122 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48124         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48125         cpu2 is -1 and errno is not ENOSYS.
48127 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48129         [BZ #14117]
48130         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48131         * sysdeps/x86/bits/string.h: This.
48132         * sysdeps/x86_64/bits/string.h: Removed.
48134         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48135         if not compiling for x86-64, but compiling for >= i486.
48137         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48138         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48140         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48141         New macro from Linux kernel 3.4.0.
48142         (FP_XSTATE_MAGIC2): Likewise.
48143         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48144         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48145         (struct _fpx_sw_bytes): New struct.
48146         (struct _xsave_hdr): Likewise.
48147         (struct _ymmh_state): Likewise.
48148         (struct _xstate): Likewise.
48150         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48151         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48153         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48154         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48155         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48157         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48158         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48159         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48160         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48161         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48162         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48164 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48166         [BZ #13743]
48167         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48168         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48169         (sysdep_headers): Include sys/platform/ppc.h.
48170         * sysdeps/powerpc/test-gettimebase.c: Test for
48171         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48172         * manual/Makefile (appendices): Include platform.texi.
48173         * manual/contrib.texi (Contributors): Update @node pointers.
48174         * manual/maint.texi (Maintenance): Likewise.
48175         (Platform): New node.
48176         * manual/platform.texi: New file.  Document the new features.
48178 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48179             Jakub Jelinek  <jakub@redhat.com>
48181         [BZ #14188]
48182         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48183         where __builtin_expect is unavailable.
48185 2012-06-03  David S. Miller  <davem@davemloft.net>
48187         * stdlib/longlong.h: Updated from GCC.
48189 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48191         [BZ #14042]
48192         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48193         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48194         __mcount_internal.
48195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48196         (GLIBC_2.16): Likewise.
48198 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48200         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48202 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48205         (default-abi): New variable.
48206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48207         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48208         variable.
48209         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48210         Likewise.
48211         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48212         Likewise.
48213         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48214         Likewise.
48216         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48217         definition.  Document in comment.
48219 2012-06-01  David S. Miller  <davem@davemloft.net>
48221         * stdlib/longlong.h: Updated from GCC.
48223 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48225         [BZ #14117]
48226         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48227         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48228         sys/debugreg.h sys/io.h here.
48229         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48230         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48231         sys/io.h.
48232         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48233         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48234         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48235         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48236         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48237         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48239         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48240         Define only if __x86_64__ is defined.
48242 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48244         [BZ #14048]
48245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48246         Use int64_t for variable i.
48247         * math/libm-test.inc (fmod_test): Add more tests.
48249         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48250         z computation is not scheduled after fetestexcept.
48251         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48252         Use math_force_eval instead of asm to ensure calculation scheduled
48253         before exception test.
48254         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48255         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48257 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48260         computation is not scheduled after fetestexcept.
48262 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48264         [BZ #14117]
48265         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48266         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48268 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48270         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48271         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48273 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48275         [BZ #14117]
48276         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48277         <bits/wordsize.h>.
48278         (__WCHAR_MIN): Support __WORDSIZE == 64.
48279         (__WCHAR_MAX): Likewise.
48281         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48282         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48284         [BZ #14183]
48285         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48286         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48288         [BZ #14117]
48289         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48290         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48292         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48293         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48295         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48296         Defined to 1 if __x86_64__ isn't defined.
48297         (_STAT_VER_LINUX_OLD): New.
48298         (st_atime): Remove duplicate.
48299         (st_mtime): Likewise.
48300         (st_ctime): Likewise.
48302 2012-05-31  David S. Miller  <davem@davemloft.net>
48304         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48305         entries.
48307 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48309         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48310         gen-libm-test.pl.
48312         [BZ #14132]
48313         * elf/dl-reloc.c: Include <_itoa.h>.
48314         (_dl_reloc_bad_type): Remove use of INTUSE.
48315         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48316         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48317         * stdio-common/psiginfo.c (psiginfo): Likewise.
48318         * stdio-common/psignal.c (psignal): Likewise.
48319         * string/strsignal.c (strsignal): Likewise.
48320         * include/signal.h (_sys_siglist): Declare hidden proto.
48321         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48322         INTVARDEF with libc_hidden_data_def.
48323         * stdio-common/itoa-udigits.c: Likewise.
48324         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48325         (_itoa_lower_digits_internal): Remove declaration.
48326         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48327         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48328         (_sys_sigabbrev_internal): Remove aliases.
48329         (_sys_siglist): Define hidden alias.
48331 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48334         bits/sysctl.h.
48336 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48338         [BZ #14117]
48339         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48340         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48342         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48343         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48344         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48345         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48346         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48347         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48349         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48350         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48351         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48353         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48354         with __addr.
48355         (insw): Likewise.
48356         (insl): Likewise.
48357         (outsb): Likewise.
48358         (outsw): Likewise.
48359         (outsl): Likewise.
48361         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48363         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48365         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48366         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48367         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48368         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48369         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48370         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48372         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48373         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48375         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48376         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48378         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48380         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48382         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48383         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48384         to ...
48385         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48387         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48388         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48389         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48391         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48392         for x86-64.
48393         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48395 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48397         * math/math.h (M_El): Use two more decimal places.
48398         (M_LOG2El): Likewise.
48399         (M_LOG10El): Likewise.
48400         (M_LN2l): Likewise.
48401         (M_LN10l): Likewise.
48402         (M_PIl): Likewise.
48403         (M_PI_2l): Likewise.
48404         (M_PI_4l): Likewise.
48405         (M_1_PIl): Likewise.
48406         (M_2_PIl): Likewise.
48407         (M_2_SQRTPIl): Likewise.
48408         (M_SQRT2l): Likewise.
48409         (M_SQRT1_2l): Likewise.
48411 2012-05-31  David S. Miller  <davem@davemloft.net>
48413         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48414         values between float registers.
48415         * sysdeps/sparc/sparc64/memset.S: Likewise.
48416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48418 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48420         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48421         -D_FORTIFY_SOURCE=1.
48422         (CPPFLAGS-tst-longjmp_chk.c): Define.
48423         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48424         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48425         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48426         CFLAGS-tst-wchar-h.c.
48428 2012-05-31  Marek Polacek  <polacek@redhat.com>
48430         [BZ #14132]
48431         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48432         __endmntent_internal): Remove declaration.
48433         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48434         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48435         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48437 2012-05-30  David S. Miller  <davem@davemloft.net>
48439         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48440         (___Q_simulate_exceptions): Use real FP ops rather than writing
48441         into the %fsr.
48442         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48443         Likewise.
48445 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48447         [BZ #14117]
48448         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48449         * sysdeps/x86/bits/xtitypes.h: This.
48451         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48452         * sysdeps/x86/bits/wordsize.h: This.
48454         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48455         * sysdeps/x86/bits/huge_vall.h: This.
48457         * sysdeps/i386/bits/select.h: Removed.
48458         * sysdeps/x86_64/bits/select.h: Renamed to ...
48459         * sysdeps/x86/bits/select.h: This.
48461         * sysdeps/i386/bits/setjmp.h: Removed.
48462         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48463         * sysdeps/x86/bits/setjmp.h: This.
48465         * sysdeps/i386/bits/mathdef.h: Removed.
48466         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48467         * sysdeps/x86/bits/mathdef.h: This.
48469 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48471         [BZ #14132]
48472         * include/sys/socket.h (__connect_internal)
48473         (__libc_sa_len_internal): Remove declaration.
48474         (__connect, __libc_sa_len): Declare hidden_proto.
48475         (SA_LEN): Remove use of INTUSE.
48476         * socket/connect.c: Add libc_hidden_def.
48477         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48478         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48479         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48480         alias.
48481         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48483         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48484         of adding _internal alias.
48486 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48488         [BZ #14117]
48489         * sysdeps/i386/bits/link.h: Removed.
48490         * sysdeps/i386/bits/linkmap.h: Likewise.
48491         * sysdeps/x86_64/bits/link.h: Renamed to ...
48492         * sysdeps/x86/bits/link.h: This.
48493         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48494         * sysdeps/x86/bits/linkmap.h: This.
48496         * sysdeps/i386/bits/endian.h: Removed.
48497         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48498         * sysdeps/x86/bits/endian.h: This.
48500         * sysdeps/i386/bits/byteswap.h: Removed.
48501         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48502         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48503         * sysdeps/x86/bits/byteswap.h: This.
48504         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48505         * sysdeps/x86/bits/byteswap-16.h: This.
48506         * sysdeps/i386/Implies: Add x86.
48507         * sysdeps/x86_64/Implies: Likewise.
48509 2012-05-30  David S. Miller  <davem@davemloft.net>
48511         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48512         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48514         (FP_TRAPPING_EXCEPTIONS): Define.
48515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48516         (FP_TRAPPING_EXCEPTIONS): Define.
48517         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48518         subnormals only when inexact has been signalled or underflow
48519         exceptions are enabled.
48520         (_FP_PACK_CANONICAL): Likewise.
48522 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48524         [BZ #14183]
48525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48526         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48528 2012-05-30  Richard Henderson  <rth@twiddle.net>
48530         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48531         with #ifndef NOT_IN_libc.
48533         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48534         marked to avoid plt entry.
48536 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48538         [BZ #14112]
48539         * Makeconfig (default-abi): New macro.
48540         (abi-includes): Likewise.
48541         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48542         $(abi-$(default-abi)-lib-soname) for soname if defined.
48543         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48544         abi-variants.
48545         * Makefile (installed-stubs): Likewise.
48546         * include/stubs-biarch.h: Removed.
48547         * scripts/lib-names.awk: Only handle one library at a time.
48548         * scripts/soversions.awk: Remove WORDSIZE support.
48549         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48550         entries.
48551         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48552         Removed.
48553         (syscall-list-default-condition): Likewise.
48554         (syscall-list-default-condition): Likewise.
48555         (syscall-list-includes): Likewise.
48556         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48557         syscall-list-* with abi-*.  Handle undefined abi-variants.
48558         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48559         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48560         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48561         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48562         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48563         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48564         Removed.
48565         (syscall-list-32-options): Likewise.
48566         (syscall-list-32-condition): Likewise.
48567         (syscall-list-64-options): Likewise.
48568         (syscall-list-64-condition): Likewise.
48569         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48570         macro.
48571         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48572         Renamed to ...
48573         (abi-*): This.
48574         (abi-64-ld-soname): New macro.
48575         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48576         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48577         Renamed to ...
48578         (abi-*): This.
48579         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48580         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48582 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48584         * sysdeps/unix/sysv/linux/kernel-features.h
48585         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48586         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48587         include <kernel-features.h>.
48588         [!__NR_ftruncate64]: Remove conditional code.
48589         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48590         [__NR_ftruncate64]: Make code unconditional.
48591         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48592         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48593         include <kernel-features.h>.
48594         [!__NR_ftruncate64]: Remove conditional code.
48595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48596         [__NR_ftruncate64]: Make code unconditional.
48597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48599         include <kernel-features.h>.
48600         [!__NR_ftruncate64]: Remove conditional code.
48601         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48602         [__NR_ftruncate64]: Make code unconditional.
48603         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48605         include <kernel-features.h>.
48606         [!__NR_ftruncate64]: Remove conditional code.
48607         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48608         [__NR_ftruncate64]: Make code unconditional.
48609         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48611         * configure.in (libc_cv_fpie): Weaken to a compile test using
48612         LIBC_TRY_CC_OPTION.
48613         * configure: Regenerated.
48615 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48621         Refreshed.
48622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48628         Refreshed.
48630 2012-05-27  David S. Miller  <davem@davemloft.net>
48632         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48633         (___Q_zero): New.
48634         (__Q_simulate_exceptions): Return void.  Change to simulate
48635         exceptions by writing into the %fsr.
48636         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48637         (__Qp_handle_exceptions): Likewise.
48638         (numbers): Delete.
48639         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48640         __Qp_handle_exceptions.
48641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48642         __Qp_handle_exceptions.
48643         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48644         as unused and give dummy FP_RND_NEAREST initializer.
48645         (FP_INHIBIT_RESULTS): Define.
48646         (___Q_simulate_exceptions): Update declaration.
48647         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48648         formatting.
48649         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48650         as unused and give dummy FP_RND_NEAREST initializer.
48651         (__Qp_handle_exceptions): Update declaration.
48652         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48653         formatting.
48655 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48657         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48658         the temporary FPU control word.
48659         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48660         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48661         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48662         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48664         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48665         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48667         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48668         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48669         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48671 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48673         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48674         fields.
48676 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48678         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48679         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48680         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48681         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48682         Likewise.
48683         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48684         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48685         Likewise.
48687 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48689         * po/h.po: Update from translation team.
48691 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48693         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48695         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48696         handling of denormals.
48697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48698         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48699         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48700         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48703         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48704         Likewise.
48706 2012-05-26  Marek Polacek  <polacek@redhat.com>
48708         [BZ #14152]
48709         * math/libm-test.inc (fma_test): Don't always expect underflow
48710         exception.
48712 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48714         [BZ #12416]
48715         * elf/tst-execstack.c: Include stackinfo.h.
48716         (do_test): Adjust test case to ensure that pthread_getattr_np
48717         behaviour remains the same after marking stack executable.
48719 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48721         * sysdeps/unix/sysv/linux/kernel-features.h
48722         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48723         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48724         kernel-features.h.
48725         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48726         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48727         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48728         kernel-features.h.
48729         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48730         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48732 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48734         * configure.in: Define the default includes to being none.
48735         * configure: Regenerated.
48737 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48739         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48740         * sysdeps/x86_64/setjmp.S: Likewise.
48741         * sysdeps/i386/bsd-setjmp.S: Likewise.
48742         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48743         * sysdeps/i386/setjmp.S: Likewise.
48744         * sysdeps/i386/__longjmp.S: Likewise.
48745         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48746         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48748         * include/stap-probe.h: New file.
48749         * configure.in: Handle --enable-systemtap.
48750         * configure: Regenerated.
48751         * config.h.in (USE_STAP_PROBE): New #undef.
48752         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48753         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48754         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48756 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48758         [BZ #13717]
48759         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48760         to 2.4.0 where earlier.
48761         * sysdeps/unix/sysv/linux/configure: Regenerated.
48762         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48763         <kernel-features.h>.
48764         [__ASSUME_32BITUIDS]: Make code unconditional.
48765         [!__ASSUME_32BITUIDS]: Remove conditional code.
48766         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48767         <kernel-features.h>.
48768         [__ASSUME_32BITUIDS]: Make code unconditional.
48769         [!__ASSUME_32BITUIDS]: Remove conditional code.
48770         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48771         [__ASSUME_32BITUIDS]: Make code unconditional.
48772         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48773         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48774         <kernel-features.h>.
48775         [__ASSUME_32BITUIDS]: Make code unconditional.
48776         [!__ASSUME_32BITUIDS]: Remove conditional code.
48777         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48778         <kernel-features.h>.
48779         [__ASSUME_32BITUIDS]: Make code unconditional.
48780         [!__ASSUME_32BITUIDS]: Remove conditional code.
48781         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48782         <kernel-features.h>.
48783         [__ASSUME_32BITUIDS]: Make code unconditional.
48784         [!__ASSUME_32BITUIDS]: Remove conditional code.
48785         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48786         <kernel-features.h>.
48787         [__ASSUME_32BITUIDS]: Make code unconditional.
48788         [!__ASSUME_32BITUIDS]: Remove conditional code.
48789         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48790         <kernel-features.h>.
48791         [__ASSUME_32BITUIDS]: Make code unconditional.
48792         [!__ASSUME_32BITUIDS]: Remove conditional code.
48793         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48794         <kernel-features.h>.
48795         [__ASSUME_32BITUIDS]: Make code unconditional.
48796         [!__ASSUME_32BITUIDS]: Remove conditional code.
48797         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48798         <kernel-features.h>.
48799         [__ASSUME_32BITUIDS]: Make code unconditional.
48800         [!__ASSUME_32BITUIDS]: Remove conditional code.
48801         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48802         <kernel-features.h>.
48803         [__ASSUME_32BITUIDS]: Make code unconditional.
48804         [!__ASSUME_32BITUIDS]: Remove conditional code.
48805         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48806         <kernel-features.h>.
48807         [__ASSUME_32BITUIDS]: Make code unconditional.
48808         [!__ASSUME_32BITUIDS]: Remove conditional code.
48809         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48810         <kernel-features.h>.
48811         [__ASSUME_32BITUIDS]: Make code unconditional.
48812         [!__ASSUME_32BITUIDS]: Remove conditional code.
48813         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48814         <kernel-features.h>.
48815         [__NR_setresgid] (__setresgid): Do not declare.
48816         [__ASSUME_32BITUIDS]: Make code unconditional.
48817         [!__ASSUME_32BITUIDS]: Remove conditional code.
48818         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48819         <kernel-features.h>.
48820         [__NR_setresuid] (__setresuid): Do not declare.
48821         [__ASSUME_32BITUIDS]: Make code unconditional.
48822         [!__ASSUME_32BITUIDS]: Remove conditional code.
48823         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48824         <kernel-features.h>.
48825         [__ASSUME_32BITUIDS]: Make code unconditional.
48826         [!__ASSUME_32BITUIDS]: Remove conditional code.
48827         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48828         <kernel-features.h>.
48829         [__ASSUME_32BITUIDS]: Make code unconditional.
48830         [!__ASSUME_32BITUIDS]: Remove conditional code.
48831         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48832         <kernel-features.h>.
48833         [__ASSUME_32BITUIDS]: Make code unconditional.
48834         [!__ASSUME_32BITUIDS]: Remove conditional code.
48835         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48836         <kernel-features.h>.
48837         [__ASSUME_32BITUIDS]: Make code unconditional.
48838         [!__ASSUME_32BITUIDS]: Remove conditional code.
48839         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48840         <kernel-features.h>.
48841         [__ASSUME_32BITUIDS]: Make code unconditional.
48842         [!__ASSUME_32BITUIDS]: Remove conditional code.
48843         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48844         <kernel-features.h>.
48845         [__ASSUME_32BITUIDS]: Make code unconditional.
48846         [!__ASSUME_32BITUIDS]: Remove conditional code.
48847         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48848         <kernel-features.h>.
48849         [__ASSUME_32BITUIDS]: Make code unconditional.
48850         [!__ASSUME_32BITUIDS]: Remove conditional code.
48851         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48852         <kernel-features.h>.
48853         [__ASSUME_32BITUIDS]: Make code unconditional.
48854         [!__ASSUME_32BITUIDS]: Remove conditional code.
48855         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48856         <kernel-features.h>.
48857         [__ASSUME_32BITUIDS]: Make code unconditional.
48858         [!__ASSUME_32BITUIDS]: Remove conditional code.
48859         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48860         <kernel-features.h>.
48861         [__ASSUME_32BITUIDS]: Make code unconditional.
48862         [!__ASSUME_32BITUIDS]: Remove conditional code.
48863         * sysdeps/unix/sysv/linux/kernel-features.h
48864         (__ASSUME_SETRESUID_SYSCALL): Remove.
48865         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48866         (__ASSUME_32BITUIDS): Likewise.
48867         (__ASSUME_LDT_WORKS): Likewise.
48868         (__ASSUME_O_DIRECTORY): Likewise.
48869         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48870         architecture but not kernel version.
48871         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48872         (__ASSUME_MMAP2_SYSCALL): Likewise.
48873         (__ASSUME_STAT64_SYSCALL): Likewise.
48874         (__ASSUME_IPC64): Likewise.
48875         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48876         <kernel-features.h>.
48877         [__ASSUME_32BITUIDS]: Make code unconditional.
48878         [!__ASSUME_32BITUIDS]: Remove conditional code.
48879         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48880         <kernel-features.h>.
48881         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48882         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48883         132096]: Remove conditional code.
48884         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48885         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48886         <kernel-features.h>.
48887         [__ASSUME_32BITUIDS]: Make code unconditional.
48888         [!__ASSUME_32BITUIDS]: Remove conditional code.
48889         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48890         <kernel-features.h>.
48891         [__ASSUME_32BITUIDS]: Make code unconditional.
48892         [!__ASSUME_32BITUIDS]: Remove conditional code.
48893         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48894         <kernel-features.h>.
48895         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48896         unconditional.
48897         (__setresgid): Do not declare.
48898         [__ASSUME_32BITUIDS]: Make code unconditional.
48899         [!__ASSUME_32BITUIDS]: Remove conditional code.
48900         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48901         <kernel-features.h>.
48902         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48903         unconditional.
48904         (__setresuid): Do not declare.
48905         [__ASSUME_32BITUIDS]: Make code unconditional.
48906         [!__ASSUME_32BITUIDS]: Remove conditional code.
48907         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48908         <kernel-features.h>.
48909         [__ASSUME_32BITUIDS]: Make code unconditional.
48910         [!__ASSUME_32BITUIDS]: Remove conditional code.
48911         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48912         <kernel-features.h>.
48913         [__ASSUME_32BITUIDS]: Make code unconditional.
48914         [!__ASSUME_32BITUIDS]: Remove conditional code.
48916 2012-05-25  Richard Henderson  <rth@twiddle.net>
48918         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48919         dl_hwcap to ifunc resolver.
48920         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48921         elf_ifunc_invoke.
48922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48923         dl_hwcap to ifunc resolver.
48924         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48926 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48928         [BZ #14153]
48929         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48930         for |x| <= 2**-26, not 2**-57.
48931         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48932         exception.
48934 2012-05-24  Jeff Law  <law@redhat.com>
48936         * stdio-common/Makefile (tests): Add bug25.
48937         * stdio-common/bug25.c: New test.
48939 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48941         [BZ #13576]
48942         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48943         multiple of MALLOC_ALIGNMENT in size.
48944         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48948         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48949         Require >= 256.
48950         (FILENAME_MAX): Use macro-int-constant.
48951         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48952         (_IOFBF): Use macro-int-constant.
48953         (_IOLBF): Likewise.
48954         (_IONBF): Likewise.
48955         (SEEK_CUR): Likewise.
48956         (SEEK_END): Likewise.
48957         (SEEK_SET): Likewise.
48958         (TMP_MAX): Likewise.
48959         (EOF): Use macro-int-constant.  Require < 0.
48960         (NULL): Use macro-constant.  Require == 0.
48961         (stdin): Require type to be FILE *.
48962         (stdout): Likewise.
48963         (stderr): Likewise.
48964         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48965         macro-int-constant.
48966         (EXIT_SUCCESS): Likewise.
48967         (NULL): Use macro-constant.  Require == 0.
48968         (RAND_MAX): Use macro-int-constant.
48969         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48970         [C99-based standards] (strtof): Require function.
48971         [C99-based standards] (strtold): Likewise.
48972         [C99-based standards] (strtoll): Likewise.
48973         [C99-based standards] (strtoull): Likewise.
48974         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48975         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48976         [ISO || ISO99 || ISO11] (math.h): Likewise.
48977         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48978         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48981 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48983         [BZ #14132]
48984         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48985         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48986         * intl/dgettext.c (DCGETTEXT): Likewise.
48987         * intl/gettext.c (DCGETTEXT): Likewise.
48988         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48989         * posix/regex_internal.h (gettext): Likewise.
48990         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48991         Remove declaration.
48992         * include/argz.h (__argz_count_internal)
48993         (__argz_stringify_internal): Remove declaration.
48994         (__argz_count, __argz_stringify): Declare hidden proto.
48995         * intl/dcgettext.c: Remove use of INTDEF.
48996         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48997         * string/argz-stringify.c: Likewise.
48998         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48999         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49000         Declare hidden proto.
49001         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49002         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49003         Declare hidden proto.
49004         * include/stdio.h (__asprintf_internal): Don't declare.
49005         (__asprintf): Don't define as macro.  Declare hidden proto.
49006         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49007         (__fsetlocking): Declare hidden proto.
49008         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49009         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49010         hidden proto.
49011         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49012         (_IO_setlinebuf): Remove use of INTUSE.
49013         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49014         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49015         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49016         Remove declaration.
49017         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49018         (_IO_do_flush): Remove use of INTUSE.
49019         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49020         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49021         (_IO_adjust_column, _IO_least_wmarker)
49022         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49023         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49024         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49025         (_IO_default_doallocate, _IO_wdefault_doallocate)
49026         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49027         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49028         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49029         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49030         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49031         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49032         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49033         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49034         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49035         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49036         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49037         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49038         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49039         proto.
49040         (_IO_flush_all_internal, _IO_adjust_column_internal)
49041         (_IO_default_uflow_internal, _IO_default_finish_internal)
49042         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49043         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49044         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49045         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49046         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49047         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49048         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49049         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49050         (_IO_file_close_internal, _IO_file_close_it_internal)
49051         (_IO_file_underflow_internal, _IO_file_overflow_internal)
49052         (_IO_file_init_internal, _IO_file_attach_internal)
49053         (_IO_file_fopen_internal, _IO_file_read_internal)
49054         (_IO_file_sync_internal, _IO_file_seek_internal)
49055         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49056         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49057         (_IO_str_underflow_internal, _IO_str_overflow_internal)
49058         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49059         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49060         (_IO_list_all_internal, _IO_link_in_internal)
49061         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49062         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49063         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49064         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49065         (_IO_do_write_internal, _IO_padn_internal)
49066         (_IO_getline_info_internal, _IO_getline_internal)
49067         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49068         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49069         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49070         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49071         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49072         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49073         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49074         with libc_hidden_ver, remove use of INTUSE.
49075         * libio/genops.c: Likewise.
49076         * libio/freopen.c: Likewise.
49077         * libio/freopen64.c: Likewise.
49078         * libio/iofclose.c: Likewise.
49079         * libio/iofdopen.c: Likewise.
49080         * libio/iofflush.c: Likewise.
49081         * libio/iofflush_u.c: Likewise.
49082         * libio/iofgets.c: Likewise.
49083         * libio/iofgets_u.c: Likewise.
49084         * libio/iofopen.c: Likewise.
49085         * libio/iofopncook.c: Likewise.
49086         * libio/iofread.c: Likewise.
49087         * libio/iofread_u.c: Likewise.
49088         * libio/ioftell.c: Likewise.
49089         * libio/iofwrite.c: Likewise.
49090         * libio/iogetline.c: Likewise.
49091         * libio/iogets.c: Likewise.
49092         * libio/iogetwline.c: Likewise.
49093         * libio/iopadn.c: Likewise.
49094         * libio/iopopen.c: Likewise.
49095         * libio/ioseekoff.c: Likewise.
49096         * libio/ioseekpos.c: Likewise.
49097         * libio/iosetbuffer.c: Likewise.
49098         * libio/iosetvbuf.c: Likewise.
49099         * libio/ioungetc.c: Likewise.
49100         * libio/ioungetwc.c: Likewise.
49101         * libio/iovdprintf.c: Likewise.
49102         * libio/iovsprintf.c: Likewise.
49103         * libio/iovsscanf.c: Likewise.
49104         * libio/memstream.c: Likewise.
49105         * libio/obprintf.c: Likewise.
49106         * libio/oldfileops.c: Likewise.
49107         * libio/oldiofclose.c: Likewise.
49108         * libio/oldiofdopen.c: Likewise.
49109         * libio/oldiofopen.c: Likewise.
49110         * libio/oldiopopen.c: Likewise.
49111         * libio/oldstdfiles.c: Likewise.
49112         * libio/putc.c: Likewise.
49113         * libio/setbuf.c: Likewise.
49114         * libio/setlinebuf.c: Likewise.
49115         * libio/stdfiles.c: Likewise.
49116         * libio/strops.c: Likewise.
49117         * libio/vasprintf.c: Likewise.
49118         * libio/vscanf.c: Likewise.
49119         * libio/vsnprintf.c: Likewise.
49120         * libio/vswprintf.c: Likewise.
49121         * libio/wfiledoalloc.c: Likewise.
49122         * libio/wfileops.c: Likewise.
49123         * libio/wgenops.c: Likewise.
49124         * libio/wmemstream.c: Likewise.
49125         * libio/wstrops.c: Likewise.
49126         * libio/__fpurge.c: Likewise.
49127         * libio/__fsetlocking.c: Likewise.
49128         * assert/assert.c: Likewise.
49129         * debug/fgets_chk.c: Likewise.
49130         * debug/fgets_u_chk.c: Likewise.
49131         * debug/fread_chk.c: Likewise.
49132         * debug/fread_u_chk.c: Likewise.
49133         * debug/gets_chk.c: Likewise.
49134         * debug/obprintf_chk.c: Likewise.
49135         * debug/vasprintf_chk.c: Likewise.
49136         * debug/vdprintf_chk.c: Likewise.
49137         * debug/vsnprintf_chk.c: Likewise.
49138         * debug/vsprintf_chk.c: Likewise.
49139         * malloc/mtrace.c: Likewise.
49140         * misc/error.c: Likewise.
49141         * misc/syslog.c: Likewise.
49142         * stdio-common/asprintf.c: Likewise.
49143         * stdio-common/fxprintf.c: Likewise.
49144         * stdio-common/getw.c: Likewise.
49145         * stdio-common/isoc99_fscanf.c: Likewise.
49146         * stdio-common/isoc99_scanf.c: Likewise.
49147         * stdio-common/isoc99_vfscanf.c: Likewise.
49148         * stdio-common/isoc99_vscanf.c: Likewise.
49149         * stdio-common/isoc99_vsscanf.c: Likewise.
49150         * stdio-common/printf-prs.c: Likewise.
49151         * stdio-common/printf_fp.c: Likewise.
49152         * stdio-common/printf_fphex.c: Likewise.
49153         * stdio-common/printf_size.c: Likewise.
49154         * stdio-common/putw.c: Likewise.
49155         * stdio-common/scanf.c: Likewise.
49156         * stdio-common/sprintf.c: Likewise.
49157         * stdio-common/tmpfile.c: Likewise.
49158         * stdio-common/vfprintf.c: Likewise.
49159         * stdio-common/vfscanf.c: Likewise.
49160         * stdlib/strfmon_l.c: Likewise.
49161         * sunrpc/openchild.c: Likewise.
49162         * sunrpc/xdr_stdio.c: Likewise.
49163         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49164         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49166 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49168         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49170         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49171         in the third column, to generate for the shared library an IFUNC
49172         that uses _dl_vdso_vsym.
49173         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49174         * Makeconfig (object-suffixes-noshared): New variable.
49176         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49177         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49178         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49179         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49181         [BZ #14132]
49182         * include/sys/time.h (__gettimeofday): Remove macro.
49183         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49184         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49185         Remove INTDEF.
49186         (__gettimeofday): Add libc_hidden_def.
49187         (gettimeofday): Add libc_hidden_weak.
49188         * sysdeps/mach/gettimeofday.c: Likewise.
49189         * sysdeps/posix/gettimeofday.c: Likewise.
49190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49191         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49193         (__gettimeofday_internal): Remove strong_alias.
49194         (__gettimeofday): Add libc_hidden_def.
49195         (gettimeofday): Add libc_hidden_weak.
49196         * sysdeps/unix/syscalls.list (gettimeofday):
49197         Remove __gettimeofday_internal alias.
49199 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49200             H.J. Lu  <hongjiu.lu@intel.com>
49202         [BZ #12495]
49203         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49204         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49205         (largebin_index_32_big): New.
49206         (largebin_index): Use it for 16-byte alignment.
49207         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49208         correction with front_misalign.
49210 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49214         Likewise.
49215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49216         Likewise.
49217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49218         Likewise.
49219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49220         Likewise.
49221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49222         Likewise.
49223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49224         Likewise.
49225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49226         Likewise.
49227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49228         Likewise.
49229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49230         Likewise.
49231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49232         Likewise.
49233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49234         Likewise.
49235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49236         Likewise.
49238         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49239         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49241 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49243         [BZ #10846]
49244         [BZ #14036]
49245         * math/libm-test.inc (exp_test): Add test from bug 14036.
49246         (pow_test): Add test from bug 10846.
49248         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49249         and other flags.
49250         (special_function): Do not include flags in test name.
49251         (parse_args): Likewise.
49252         * sysdeps/i386/fpu/libm-test-ulps: Update.
49253         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49254         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49255         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49258         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49259         exceptions.
49260         * math/libm-test.inc ("Philosophy"): Update comment about
49261         exception testing.
49262         (UNDERFLOW_EXCEPTION): New macro.
49263         (UNDERFLOW_EXCEPTION_OK): Likewise.
49264         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49265         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49266         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49267         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49268         (INVALID_EXCEPTION_OK): Update value.
49269         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49270         (OVERFLOW_EXCEPTION_OK): Likewise.
49271         (IGNORE_ZERO_INF_SIGN): Likewise.
49272         (test_exceptions): Handle underflow exceptions.
49273         (acos_test): Update for underflow exception expectations.
49274         (cexp_test): Likewise.
49275         (clog_test): Likewise.
49276         (clog10_test): Likewise.
49277         (csqrt_test): Likewise.
49278         (ctan_test): Likewise.
49279         (ctanh_test): Likewise.
49280         (exp_test): Likewise.
49281         (exp10_test): Likewise.
49282         (exp2_test): Likewise.
49283         (expm1_test): Likewise.
49284         (fma_test): Likewise.
49285         (j0_test): Likewise.
49286         (jn_test): Likewise.
49287         (nexttoward_test): Likewise.
49288         (pow_test): Likewise.
49289         (scalbn_test): Likewise.
49290         (scalbln_test): Likewise.
49291         (tan_test): Likewise.
49292         (y1_test): Likewise.
49293         * sysdeps/i386/fpu/libm-test-ulps: Update.
49294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49296 2012-05-23  David S. Miller  <davem@davemloft.net>
49298         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49299         (__libc_sigaction): Remove unused local variables.
49301 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49303         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49305 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49307         mktime: avoid signed integer overflow
49308         * time/mktime.c (__mktime_internal): Do not mishandle the case
49309         where diff == INT_MIN.
49311         mktime: simplify computation of average
49312         * time/mktime.c (ranged_convert): Use new time_t_avg function
49313         instead of rolling our own (probably-slower) code.
49315         mktime: do not assume signed right shift propagates sign bit
49316         * time/mktime.c (isdst_differ): New static function.
49317         (__mktime_internal): No need to normalize tm_isdst now.
49318         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49319         tm_isdst values.
49321         mktime: merge another wrapv change from gnulib
49322         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49323         from some compilers.
49325         mktime: remove incorrect attempt at unusual arithmetics
49326         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49327         The code didn't really work on such machines anyway.
49328         (TYPE_MINIMUM): Assume two's complement.
49329         (twos_complement_arithmetic): Verify that long_int and time_t
49330         are two's complement (or unsigned, in the latter case).
49332         mktime: check signed shifts on long_int and time_t, too
49333         * time/mktime.c (SHR): Check that shifts work as desired
49334         on the types long_int and time_t too, as SHR is used on
49335         such types.
49337         mktime: do not assume 'long' is wide enough
49338         * time/mktime.c (verify): Move decl up.
49339         (long_int): New type.
49340         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49341         to remove assumption in the code that 'long' is wide enough to
49342         store year values.  This assumption is not true on x32 and on
49343         some non-glibc platforms.
49345         mktime: merge wrapv change from gnulib
49346         * time/mktime.c (WRAPV): New macro.
49347         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49348         (guess_time_tm, __mktime_internal): Do not assume that signed
49349         integer overflow wraps around; modern compilers generate code
49350         where this assumption is no longer valid.
49352 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49354         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49355         Replace "jmp L(pseudo_end)" with "ret".
49356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49357         Likewise.
49359 2012-05-23  Andreas Jaeger  <aj@suse.de>
49361         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49362         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49364 2012-05-23  Andreas Jaeger  <aj@suse.de>
49365             Maximilian Attems  <max@stro.at>
49367         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49368         New macros.
49370 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49373         code so that pseudo_end is just ret and the stack pointer is
49374         correct also for static library in error case.
49376 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49378         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49379         move to syscalls.list.
49380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49385         * manual/install.texi (Running make install): Do not mention Linux
49386         kernel version for which pt_chown is not needed.
49387         (Linux): Do not mention problems with nscd with 2.0 kernels.
49388         * INSTALL: Regenerated.
49390 2012-05-23  Andreas Jaeger  <aj@suse.de>
49392         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49393         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49394         macro.
49395         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49397         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49399         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49401         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49403         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49405         * sysdeps/unix/sysv/linux/bits/in.h
49406         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49408 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49410         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49411         (PREPARE_VERSION): Just use assert instead, it will be elided
49412         under [NDEBUG] anyway.
49414 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49416         * sysdeps/unix/sysv/linux/Makefile: Include
49417         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49418         (sysdep_routines): Remove sysctl.
49419         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49420         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49421         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49422         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49423         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49425 2012-05-22  Andreas Jaeger  <aj@suse.de>
49427         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49428         that pseudo_end is just ret and the stack pointer is correct also
49429         for static library in error case.
49431 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49433         [BZ #14122]
49434         * nss/nsswitch.c (defconfig_entries): New variable.
49435         (__nss_database_lookup): Don't leak defconfig entries.
49436         (nss_parse_service_list): Don't leak on error paths.
49437         (free_database_entries): New function.
49438         (free_defconfig): New function.
49439         (free_mem): Move common code to free_database_entries.
49441 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49443         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49444         Add arch_prctl.
49445         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49447         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49448         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49450         New macro.
49451         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49452         (INTERNAL_SYSCALL_TYPES): Likewise.
49453         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49454         (LOAD_REGS_TYPES_[1-6]): Likewise.
49455         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49456         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49458 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49460         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49461         copysignl for GLIBC_2_0.
49462         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49463         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49465         logbl for GLIBC_2_0.
49466         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49467         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49471         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49472         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49474         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49475         Use "neg %eax".
49477         * time/mktime.c: Update copyright years.
49479 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49481         mktime: merge comment-quoting-style change from gnulib
49482         * time/mktime.c: Quote 'like this' in comments.
49483         The GNU coding standards suggest that we no longer quote `like this',
49484         as "`" and "'" are typically rendered asymmetrically nowadays.
49485         The typical gnulib style is to quote 'like this' when quoting
49486         code, and "like this" when quoting English.
49488         * time/mktime.c (compile-command): Add "-I.".
49490         mktime: merge mktime-internal.h change from gnulib
49491         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49493         mktime: merge time_r change from gnulib
49494         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49496         mktime: merge DEBUG change from gnulib
49497         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49498         case system <time.h> has a #define.
49500         mktime: merge <sys/types.h> change from gnulib
49501         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49502         since <time.t> is now guaranteed to define time_t.
49504         mktime: merge HAVE_CONFIG_H change from gnulib
49505         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49507 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49510         Use "neg %eax".
49512         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49513         __rlim_t cast.
49514         (struct rusage): Use anonymous union to pad each field to
49515         __syscall_slong_t.
49517 2012-05-21  David S. Miller  <davem@davemloft.net>
49519         * Makefules (o-iterator): Remove .s cases.
49520         (compile-command.s): Delete.
49521         (COMPILE.s): Delete.
49522         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49524 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49526         * configure.in (libc_cv_predef_stack_protector): Only consider
49527         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49528         * configure: Regenerated.
49530 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49533         New macro.  Use R*LP on int and pointer.
49534         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49535         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49536         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49537         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49539         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49540         [__WORDSIZE_TIME64_COMPAT32] instead of
49541         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49542         (struct utmp): Likewise.
49543         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49544         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49545         Renamed to ...
49546         (__WORDSIZE_TIME64_COMPAT32): This.
49547         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49548         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49549         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49550         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49551         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49552         (__WORDSIZE_TIME64_COMPAT32): New macro.
49554 2012-05-21  Andreas Jaeger  <aj@suse.de>
49556         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49557         only if [SHARED]. Add prototype for __wcschr_ia32.
49559 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49561         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49562         of %rbp unmolested in the jmp_buf while mangling the low bits.
49563         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49564         unmolested high bits of %rbp while demangling the low bits.
49565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49567 2012-05-21  Andreas Jaeger  <aj@suse.de>
49569         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49570         * sunrpc/svc_simple.c: Use it for registerrpc.
49571         * sunrpc/xcrypt.c: Use it for passwd2des.
49573         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49575 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49577         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49578         Don't define if [__SYSCALL_WORDSIZE != 32].
49579         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49580         New macro.
49582 2012-05-21  Bruno Haible  <bruno@clisp.org>
49583             Andreas Jaeger  <aj@suse.de>
49585         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49586         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49587         inptr and inend for must_buffer_ch.
49588         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49589         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49590         * stdio-common/Makefile (tests): Remove bug15.
49591         (bug15-ENV): Remove macro.
49592         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49593         anymore.
49595 2012-05-19  Andreas Jaeger  <aj@suse.de>
49596             Roland McGrath  <roland@hack.frob.com>
49598         * manual/contrib.texi: Completely rewritten. It contains now an
49599         alphabetical list of contributors and their contributions.
49601 2012-05-21  Richard Henderson  <rth@twiddle.net>
49603         * misc/getauxval.c (__getauxval): Use unsigned long int.
49604         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49605         (getauxval): Use unsigned long int.
49607 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49609         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49611 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49613         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49614         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49615         __alignof__ (long double).
49617 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49621 2012-05-20  Richard Henderson  <rth@twiddle.net>
49623         * misc/getauxval.c: New file.
49624         * misc/sys/auxv.h: New file.
49625         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49626         (routines): Add getauxval.
49627         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49628         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49629         * elf/dl-sysdep.c (_dl_auxv): Remove.
49630         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49631         * elf/dl-support.c (_dl_auxv): New variable.
49632         (_dl_aux_init): Initialize it.
49633         * manual/startup.texi (Auxiliary Vector): New node.
49634         * sysdeps/generic/bits/hwcap.h: New file.
49635         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49636         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49637         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49638         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49639         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49642         Update.
49643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49646         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49652 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49656 2012-05-19  David S. Miller  <davem@davemloft.net>
49658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49660 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49662         [BZ #14123]
49663         * math/s_ccosh.c: Include <float.h>
49664         (__ccosh): Avoid internal overflow calculating sinh and cosh
49665         values before multiplying by sin and cos values.
49666         * math/s_ccoshf.c: Likewise.
49667         * math/s_ccoshl.c: Likewise.
49668         * math/s_csin.c: Likewise.
49669         * math/s_csinf.c: Likewise.
49670         * math/s_csinl.c: Likewise.
49671         * math/s_csinh.c: Likewise.
49672         * math/s_csinhf.c: Likewise.
49673         * math/s_csinhl.c: Likewise.
49674         * math/libm-test.inc (ccos_test): Add more tests.
49675         (ccosh_test): Likewise.
49676         (csin_test): Likewise.
49677         (csinh_test): Likewise.
49678         * sysdeps/i386/fpu/libm-test-ulps: Update.
49679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49681 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49683         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49684         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49686         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49688 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49690         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49691         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49692         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49693         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49694         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49695         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49696         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49697         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49698         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49699         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49700         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49701         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49702         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49703         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49704         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49705         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49706         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49707         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49708         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49709         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49710         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49711         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49712         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49713         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49714         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49715         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49716         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49717         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49718         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49719         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49720         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49722 2012-05-18  Andreas Jaeger  <aj@suse.de>
49724         * csu/.gitignore: Delete.
49726 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49728         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49729         (timex): Use __syscall_slong_t.
49731 2012-05-18  Andreas Jaeger  <aj@suse.de>
49732             Carlos O'Donell  <carlos_odonell@mentor.com>
49734         * manual/install.texi (Configuring and compiling): Update
49735         description about files modified in the source directory.
49736         * INSTALL: Regenerated.
49738 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49740         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49741         value.  Use "or" to set return value to -1.
49742         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49743         negate return value.
49745 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49747         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49748         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49749         failure if the compiler has Graphite support disabled.
49750         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49751         Likewise.
49752         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49753         (CFLAGS-memmove.c): Likewise.
49754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49755         Likewise.
49757 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49759         * sysdeps/x86_64/x32/_itoa.h: New file.
49761         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49762         getdents system call only if kernel and user dirents have the
49763         same d_ino and d_off.
49765         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49766         LLONG_MAX != LONG_MAX.
49767         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49768         (_fitoa_word): Likewise.
49770         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49771         years.
49772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49773         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49774         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49776         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49777         include <bits/wordsize.h>.  Check __x86_64__ instead of
49778         __WORDSIZE.
49779         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49780         if __x86_64__ is defined.  Use anonymous union on fpstate.
49782         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49783         anonymous union.
49785 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49787         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49788         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49789         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49790         Refer to _rtld_local_ro instead of _rtld_global_ro.
49791         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49792         Likewise.
49793         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49794         Likewise.
49795         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49796         Likewise.
49797         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49798         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49799         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49801         [BZ #10882]
49802         * sysdeps/powerpc/powerpc32/dl-machine.c
49803         (__elf_machine_runtime_setup) [PROF]: Don't reference
49804         _dl_prof_resolve.
49806 2012-05-18  Andreas Jaeger  <aj@suse.de>
49808         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49809         function only available for GCCs before 3.4 since GCC 3.4
49810         introduced a builtin.
49811         (lrint): Likewise.
49812         (llrintf): Likewise.
49813         (llrint): Likewise.
49814         (fmaxf): Likewise.
49815         (fmax): Likewise.
49816         (fminf): Likewise.
49817         (fmin): Likewise.
49818         (rint): Likewise.
49819         (rintf): Likewise.
49820         (nearbyint): Likewise.
49821         (nearbyintf): Likewise.
49822         (ceil): Likewise.
49823         (ceilf): Likewise.
49824         (floor): Likewise.
49825         (floorf): Likewise.
49827 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49829         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49830         on both fields and cast pointer to __syscall_ulong_t.
49832         * bits/types.h (__fsword_t): New type.
49833         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49834         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49835         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49836         (__FSWORD_T_TYPE): Likewise.
49837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49838         (__FSWORD_T_TYPE): Likewise.
49839         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49840         (__FSWORD_T_TYPE): Likewise.
49841         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49842         (__FSWORD_T_TYPE): Likewise.
49843         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49844         __SWORD_TYPE with __fsword_t.
49845         (statfs64): Likewise.
49847 2012-05-17  David S. Miller  <davem@davemloft.net>
49849         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49851 2012-05-17  Andreas Jaeger  <aj@suse.de>
49853         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49854         warning.
49856 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49858         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49860 2012-05-17  Andreas Jaeger  <aj@suse.de>
49862         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49863         when it is used.
49865 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49867         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49869 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49871         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49872         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49874 2012-05-17  Andreas Jaeger  <aj@suse.de>
49875             Carlos O'Donell  <carlos_odonell@mentor.com>
49877         [BZ #14059]
49878         * sysdeps/x86_64/multiarch/init-arch.h
49879         (bit_YMM_Usable): Rename to...
49880         (bit_AVX_Usable): ... this.
49881         (bit_FMA4_Usable): New macro.
49882         (bit_XMM_state): New macro.
49883         (bit_YMM_state): New macro.
49884         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49885         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49886         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49887         (CPUID_OSXSAVE): New macro.
49888         (CPUID_AVX): New macro.
49889         (CPUID_FMA4): New macro.
49890         (index_YMM_Usable): Rename to...
49891         (index_AVX_Usable): ... this.
49892         (HAS_AVX): Use HAS_ARCH_FEATURE.
49893         (HAS_FMA4): Likewise.
49894         (HAS_YMM_USABLE): Remove.
49895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49896         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49897         are present.
49898         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49899         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49900         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49901         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49902         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49904 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49906         * math/libm-test.c: Support platforms without multiple rounding modes.
49907         * math/bug-nextafter.c: Support platforms without FP exceptions.
49908         * math/bug-nexttoward.c: Likewise.
49909         * math/test-fenv.c: Likewise.
49910         * math/test-misc.c: Likewise.
49911         * stdlib/bug-getcontext.c: Likewise.
49913 2012-05-17  Andreas Jaeger  <aj@suse.de>
49915         * manual/examples/search.c (critter_cmp): Change signature to
49916         avoid warnings.
49917         * manual/string.texi (Collation Functions): Likewise.
49919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49921         * bits/types.h: Fold copyright years.
49922         * bits/typesizes.h: Likewise.
49923         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49924         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49925         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49926         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49927         * time/time.h: Likewise.
49929 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49931         [BZ #208]
49932         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49933         in instead of returning them.  Return void.
49934         (__libc_mallinfo): Accumulate over all arenas.
49935         (__malloc_stats): Adjust for change in int_mallinfo interface.
49937 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49939         [BZ #10375]
49940         * configure.in (NM): Add AC_CHECK_TOOL for it.
49941         (libc_extra_cflags): New substituted variable.
49942         Check for -fstack-protector being used implicitly.
49943         * configure: Regenerated.
49944         * config.make.in (config-extra-cflags): New variable,
49945         gets @libc_extra_cflags@.
49946         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49948         [BZ #10375]
49949         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49950         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49951         * configure: Regenerated.
49952         * config.make.in (CPPUNDEFS): New substituted variable.
49953         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49954         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49955         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49957 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49959         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49960         (mq_attr): Use __syscall_slong_t.
49962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49964         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49965         Check __x86_64__ instead of __WORDSIZE.
49966         (_STAT_VER_LINUX): Likewise.
49967         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49968         __syscall_ulong_t and __syscall_slong_t.
49969         (stat64): Likewise.
49971 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49973         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49977         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49979 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49981         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49982         __syscall_ulong_t.
49984         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49985         include <bits/wordsize.h>.  Check __x86_64__ instead of
49986         __WORDSIZE.
49987         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49988         defined.
49989         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49991         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49992         include <bits/wordsize.h>.  Check __x86_64__ instead of
49993         __WORDSIZE.
49994         (user_regs_struct): Use "__extension__ unsigned long long"
49995         instead of "unsigned long" if __x86_64__ is defined.
49996         (user): Likewise.  Pad after pointer field if __ILP32__ is
49997         defined.
49999 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
50001         * configure.in (makeinfo): Require version 4.5 or later.  Allow
50002         versions 5 to 9.
50003         * configure: Regenerated.
50004         * manual/install.texi (texinfo): Increase version requirement to
50005         4.5 or later.
50006         * INSTALL: Regenerated.
50008         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50012         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50014         * sysdeps/x86_64/x32/ffs.c: New file.
50016         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50017         __syscall_ulong_t.
50018         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50019         defined.  Use __syscall_ulong_t.
50020         (shminfo): Use __syscall_ulong_t.
50021         (shm_info): Likewise.
50023         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50024         __syscall_ulong_t.
50026         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50027         <bits/wordsize.h>.
50028         (msgqnum_t): Use __syscall_ulong_t.
50029         (msglen_t): Likewise.
50030         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
50031         __syscall_ulong_t.
50033         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50034         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50036         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50038         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50039         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50041         * sysvipc/sys/msg.h (msgbuf): Replace long int with
50042         __syscall_slong_t.
50044         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50045         include <bits/wordsize.h>.  Check __x86_64__ instead of
50046         __WORDSIZE.
50048         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50049         "unsigned long long int" if __x86_64__ is defined.
50050         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50052         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50053         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50054         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50056         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50057         <stdint.h>.
50058         (GET_PC): Cast to uintptr_t first.
50059         (GET_FRAME): Likewise.
50060         (GET_STACK): Likewise.
50062         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50063         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50064         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50065         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50066         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50067         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50068         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50069         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50070         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50071         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50072         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50073         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50074         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50075         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50076         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50077         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50078         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50079         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50080         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50081         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50082         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50083         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50084         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50085         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50086         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50088         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50089         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50090         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50092 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50094         * Makerules (+depfiles): Also collect depfiles from .oS in
50095         $(extra-objs).
50096         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50097         .oS, $(libnldbl-routines)).
50099         * Makerules (native-compile-mkdep-flags): Define.
50100         * sunrpc/Makefile (extra-objs): Add $(addprefix
50101         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50102         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50103         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50104         calling $(make-target-directory).
50106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50108         * bits/types.h (__snseconds_t): Removed.
50109         * time/time.h (struct timespec): Replace __snseconds_t with
50110         __syscall_slong_t.
50111         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50112         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50113         Likewise.
50114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50115         (__SNSECONDS_T_TYPE): Likewise.
50116         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50117         (__SNSECONDS_T_TYPE): Likewise.
50118         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50119         (__SNSECONDS_T_TYPE): Likewise.
50121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50123         * sysdeps/mach/hurd/bits/typesizes.h
50124         (__SYSCALL_SLONG_TYPE): New macro.
50125         (__SYSCALL_ULONG_TYPE): Likewise.
50127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50129         * bits/types.h (__syscall_slong_t): New type.
50130         (__syscall_ulong_t): Likewise.
50132         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50133         (__SYSCALL_ULONG_TYPE): Likewise.
50134         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50135         (__SYSCALL_SLONG_TYPE): Likewise.
50136         (__SYSCALL_ULONG_TYPE): Likewise.
50137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50138         (__SYSCALL_SLONG_TYPE): Likewise.
50139         (__SYSCALL_ULONG_TYPE): Likewise.
50140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50141         (__SYSCALL_SLONG_TYPE): Likewise.
50142         (__SYSCALL_ULONG_TYPE): Likewise.
50144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50146         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50147         Add sigaltstack-offsets.sym.
50148         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50149         <sigaltstack-offsets.h>.
50150         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50151         longjmp_msg pointer.
50152         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50153         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50154         signal stack.
50155         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50157 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50159         * elf/stackguard-macros.h: Remove file.
50160         * sysdeps/generic/stackguard-macros.h: New file.
50161         * sysdeps/i386/stackguard-macros.h: Likewise.
50162         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50163         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50164         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50165         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50166         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50167         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50168         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50169         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50170         <elf/stackguard-macros.h>.
50172         [BZ #14109]
50173         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50174         __aligned__ in attribute.
50175         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50176         (gregset_t): Likewise.
50178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50180         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50181         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50182         * sysdeps/x86_64/x32/Implies-after: New file.
50184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50186         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50187         and access return value for _dl_profile_fixup.  Use R10_LP to
50188         load frame size.
50190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50192         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50196         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50197         * sysdeps/x86_64/x32/sysdep.h: New file.
50199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50201         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50202         * sysdeps/x86_64/setjmp.S: Likewise.
50204 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50206         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50207         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50208         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50209         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50210         remove unused global constant.
50212 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50214         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50215         include of <not-cancel.h>.
50217 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50219         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50221 2012-05-15  Jeff Law  <law@redhat.com>
50222             Andreas Jaeger  <aj@suse.de>
50224         [BZ #13594]
50225         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50226         out from...
50227         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50228         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50229         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50230         code changing __hst_map_handle.map.
50232 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50234         * configure.in (sysnames): Look for Implies-before and Implies-after
50235         files.
50236         * configure: Regenerated.
50238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50240         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50241         8-byte data alignment with LP_SIZE alignment.
50243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50245         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50246         into R10_LP.
50248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50250         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50254         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50255         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50257         Likewise.
50258         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50262         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50263         (stackinfo_sub_sp): Likewise.
50265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50267         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50268         RAX_LP.
50270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50272         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50273         into R*_LP.
50275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50277         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50278         sizes into R*_LP.
50280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50282         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50286         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50287         into R11_LP and load __x86_64_shared_cache_size_half into
50288         R8_LP.
50290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50292         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50293         R8_LP.
50295 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50298         logb for POWER7.
50299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50300         logbf for POWER7.
50301         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50302         logbl for POWER7.
50303         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50304         powerpc32/power7/fpu/s_logb.c via #include.
50305         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50306         powerpc32/power7/fpu/s_logbf.c via #include.
50307         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50308         powerpc32/power7/fpu/s_logbl.c via #include.
50310 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50312         * README.libm: Remove file.
50314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50316         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50317         count for x32.  Use R*_LP and omit operand-size suffix.
50319 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50321         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50322         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50323         * sysdeps/x86_64/x32/shlib-versions: New file.
50325 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50327         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50328         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50329         Use _dl_fatal_printf instead.
50331 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50333         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50334         set if not set by the user.  Do not allow for being unset.
50335         * sysdeps/unix/sysv/linux/configure: Regenerated.
50337 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50339         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50340         the `q' suffix from lea and replace .quad with ASM_ADDR.
50342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50345         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50346         instead of $17.
50347         (PTR_DEMANGLE): Likewise.
50349 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50351         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50352         (LP_OP): Likewise.
50353         (ASM_ADDR): Likewise.
50354         (RAX_LP): Likewise.
50355         (RBP_LP): Likewise.
50356         (RBX_LP): Likewise.
50357         (RCX_LP): Likewise.
50358         (RDI_LP): Likewise.
50359         (RSI_LP): Likewise.
50360         (RSP_LP): Likewise.
50361         (R8_LP): Likewise.
50362         (R9_LP): Likewise.
50363         (R10_LP): Likewise.
50364         (R10_LP): Likewise.
50365         (R11_LP): Likewise.
50366         (R12_LP): Likewise.
50367         (R13_LP): Likewise.
50368         (R14_LP): Likewise.
50369         (R15_LP): Likewise.
50371 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50373         * sysdeps/x86_64/x32/dl-machine.h: New file.
50375 2012-05-14  Andreas Jaeger  <aj@suse.de>
50377         * manual/Makefile (subdir): Remove export of subdir.
50378         (all): Remove target.
50379         (.PHONY): Remove all from list.
50380         (mkinstalldirs): Remove.
50381         (.PHONY): Remove installdirs from list.
50382         ($(inst_infodir)/libc.info): Use make-target-directory.
50383         (installdirs): Remove.
50384         (subdir_%): Remove.
50385         (glibc-targets): Remove.
50386         (lib): Remove.
50387         (stubs): Remove.
50388         ($(objpfx)stubs ../po/manual.pot): Remove.
50389         ($(objpfx)stamp%): Remove.
50390         (make-target-directory): Remove.
50391         (subdir_install): Remove.
50392         (routines): Remove.
50393         (aux): Remove.
50394         (sources): Remove.
50395         (objects): Remove.
50396         (headers): Remove.
50398         [BZ #13750]
50399         * manual/.gitignore: Remove, it's not needed anymore.
50400         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50401         all files in it.
50402         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50403         directory.
50404         (texis): Renamed to $(objpfx)texis.
50405         (texis-path): New, contains path to generated files.
50406         (chapters.%): Use texis-path for complete path, add extra argument
50407         libc-texinfo.sh.
50408         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50409         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50410         (summary,texi, stamp-summary): Use complete path of
50411         files. Generate files in build dir.
50412         (dir-add.texi): Build in build dir.
50413         (libm-err.texi,stamp-libm-err): Likewise.
50414         (version.texi, stamp-version): Likewise.
50415         (.%c.texi): Likewise.
50416         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50417         (mostlyclean): Remove target.
50418         (realclean): Remove target.
50419         (generated): Add new variable with contents from mostlyclean and
50420         realclean, remove entries duplicated in common-mostlyclean, add
50421         stamp-libm-err and stamp-version.
50422         (generated-dirs): Add libc directory.
50423         ($(inst_infodir)/libc.info): Install files from build dir.
50425         * manual/install.texi (Configuring and compiling): Adjust since
50426         the info files are not part of the tar ball anymore.
50428 2012-05-14  Andreas Jaeger  <aj@suse.de>
50430         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50431         variable.
50433 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50435         [BZ #13717]
50436         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50437         to 2.2.0 where earlier.
50438         * sysdeps/unix/sysv/linux/configure: Regenerated.
50439         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50440         Remove conditional code.
50441         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50442         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50443         Remove conditional code.
50444         [!__NR_lchown]: Likewise.
50445         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50446         [__NR_lchown]: Likewise.
50447         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50448         comment referencing __ASSUME_LCHOWN_SYSCALL.
50449         * sysdeps/unix/sysv/linux/i386/sigaction.c
50450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50452         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50453         Remove conditional code.
50454         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50455         (__protocol_available): Remove #if 0 code.
50456         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50457         conditional code.
50458         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50459         * sysdeps/unix/sysv/linux/kernel-features.h
50460         (__ASSUME_GETCWD_SYSCALL): Don't define.
50461         (__ASSUME_REALTIME_SIGNALS): Likewise.
50462         (__ASSUME_PREAD_SYSCALL): Likewise.
50463         (__ASSUME_PWRITE_SYSCALL): Likewise.
50464         (__ASSUME_POLL_SYSCALL): Likewise.
50465         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50466         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50467         non-SPARC.
50468         (__ASSUME_SIOCGIFNAME): Don't define.
50469         (__ASSUME_MSG_NOSIGNAL): Likewise.
50470         (__ASSUME_SENDFILE): Define unconditionally.
50471         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50472         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50473         conditional code.
50474         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50475         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50476         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50477         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50478         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50479         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50480         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50482         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50485         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50488         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50494         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50495         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50497         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50500         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50503         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50505         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50506         Remove conditional code.
50507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50508         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50509         Remove conditional code.
50510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50511         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50512         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50513         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50514         Remove conditional code.
50515         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50516         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50517         Remove conditional code.
50518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50519         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50520         Remove conditional code.
50521         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50522         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50523         Remove conditional code.
50524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50525         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50526         Remove conditional code.
50527         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50528         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50529         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50531         * sysdeps/unix/sysv/linux/sigaction.c
50532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50534         * sysdeps/unix/sysv/linux/sigpending.c
50535         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50536         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50537         * sysdeps/unix/sysv/linux/sigprocmask.c
50538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50540         * sysdeps/unix/sysv/linux/sigsuspend.c
50541         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50542         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50543         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50544         (__libc_missing_rt_sigs): Remove.
50545         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50546         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50547         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50548         Remove conditional code.
50549         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50550         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50551         return 1.
50552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50553         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50554         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50555         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50557 2012-05-14  Andreas Jaeger  <aj@suse.de>
50559         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50560         it's not used in glibc.
50561         (__coshm1): Likewise.
50562         (__acosh1p): Likewise.
50563         (__sgn): Likewise.
50565         * manual/string.texi (Copying and Concatenation): Add missing
50566         variable in concat example.
50567         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50569 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50571         [BZ #14103]
50572         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50573         __builtin_clzl with __builtin_clzll.
50575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50577         [BZ #14104]
50578         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50579         libc_freeres_ptr.
50581 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50583         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50584         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50585         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50586         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50588 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50590         * NEWS: Update ia64 info.
50592 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50594         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50595         used as bcopy.
50597 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50599         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50600         * sysdeps/unix/syscalls.list (dup3): Likewise.
50601         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50602         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50604 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50606         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50607         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50609 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50611         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50612         thread pointer.
50613         (TLS_IE): Use mov/add instead of movq/addq to load thread
50614         pointer.
50615         (TLS_GD_PREFIX): New.
50616         (TLS_GD): Use it.
50618 2012-05-11  David S. Miller  <davem@davemloft.net>
50620         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50621         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50622         (_FPU_SETCW): Likewise.
50624 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50626         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50627         is 32-byte aligned.
50629 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50631         [BZ #11837]
50632         * iconvdata/gb18030.c: Update tables.
50633         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50634         characters specially.
50635         (BODY for TO_LOOP): Add encoding of missing ranges.
50637 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50639         [BZ #13673]
50640         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50641         * sysdeps/mach/hurd/dup3.c: Likewise.
50642         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50643         * sysdeps/powerpc/memmove.c:: Likewise.
50645 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50647         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50648         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50650 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50652         * elf/elf.h (R_X86_64_RELATIVE64): New.
50653         (R_X86_64_NUM): Updated.
50654         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50655         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50656         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50657         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50658         tst-quad1pie tst-quad2pie
50659         (modules-names): Add tst-quadmod1 tst-quadmod2.
50660         ($(objpfx)tst-quad1): New dependency.
50661         ($(objpfx)tst-quad2): Likewise.
50662         ($(objpfx)tst-quad1pie): Likewise.
50663         ($(objpfx)tst-quad2pie): Likewise.
50664         * sysdeps/x86_64/tst-quad1.c: New file.
50665         * sysdeps/x86_64/tst-quad1pie.c: New file.
50666         * sysdeps/x86_64/tst-quad2.c: Likewise.
50667         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50668         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50669         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50670         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50671         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50673 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50675         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50676         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50677         * streams/stropts.h (t_scalar_t): Define type.
50679         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50680         (_PATH_PRESERVE): Set to "/var/lib".
50681         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50683         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50684         instead of int.
50686         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50687         if __dir_mkfile succeeded.
50689         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50690         checking for _hurd_dtablesize.  Unlock it right after having
50691         finished _hurd_dtable allocation.
50693 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50695         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50696         * sysdeps/mach/hurd/configure: Regenerated.
50697         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50698         special-casing to...
50699         * sysdeps/gnu/configure.in: ... this new file.
50700         * sysdeps/unix/sysv/linux/configure: Regenerated.
50701         * sysdeps/gnu/configure: New generated file.
50703         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50704         for Linux: use nsec instead of usec, as well as:
50705         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50706         members of type struct timespec.
50707         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50708         New macros.
50709         (struct stat64): Likewise.
50710         (_STATBUF_ST_NSEC): New macro.
50711         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50713         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50714         __strtoul_internal rather than strtoul.
50716 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50718         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50719         and reject them.
50721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50723         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50724         which preserves existing values.
50725         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50727 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50729         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50730         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50731         greater than FD_SETSIZE.
50733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50735         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50736         allocated, call __vm_protect to finish enabling the existing space, and
50737         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50738         allocate the remainder.
50740 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50742         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50743         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50747         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50748         sysdeps/mach/hurd/readlink.c.
50750         * posix/tst-sysconf.c (posix_options): Only use
50751         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50752         _POSIX_SYNCHRONIZED_IO when they are defined
50753         * sysdeps/mach/hurd/bits/posix_opt.h:
50754         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50755         (_XOPEN_REALTIME): Undefine macro.
50756         (_XOPEN_REALTIME_THREADS): Undefine macro.
50757         (_XOPEN_SHM): Undefine macro.
50758         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50759         macro to -1.
50760         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50761         macro to -1.
50762         (_POSIX_ASYNC_IO): Undefine macro.
50763         (_POSIX_PRIORITIZED_IO): Undefine macro.
50764         (_POSIX_SPIN_LOCKS): Define macro to -1.
50766         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50767         SA_NODEFER, SA_RESETHAND.
50768         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50769         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50770         F_DUPFD_CLOEXEC.
50772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50774         * elf/Makefile (pldd-modules): Define unconditionally.
50776 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50778         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50782         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50783         Return ENOENT when name is empty.
50784         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50788         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50790         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50794         Fix mlock in all cases except non-readable pages.
50795         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50796         instead of VM_PROT_ALL as parameter to __vm_wire function.
50798         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50799         (__mkdir): When path is `/', just fail with EEXIST.
50800         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50804         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50805         <sys/uio.h> (for writev).
50806         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50807         and <sys/param.h> (for MIN).
50809 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50811         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50812         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50813         if interrupted.
50815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50817         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50818         Depend on against $(link-rpcuserlibs).
50820 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50822         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50823         (__libc_stack_end): Do not use attribute_relro.
50824         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50825         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50826         to libthread-provided value.
50827         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50828         attribute_relro.
50830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50832         [BZ #3748]
50833         * bits/libc-lock.h (__libc_once_get): New macro.
50834         * sysdeps/mach/bits/libc-lock.h: Likewise.
50835         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50836         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50837         instead of using implementation details.
50839         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50840         * libio/freopen.c: Likewise.
50841         * libio/freopen64.c: Likewise.
50842         * misc/syslog.c: Likewise.
50843         * nscd/connections.c: Likewise.
50844         * nscd/netgroupcache.c: Likewise.
50845         * sysdeps/posix/getcwd.c: Likewise.
50847 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50849         * math/w_ilogbf.c: Add #include <limits.h>.
50851 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50853         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50854         path instead of returning without unlocking.
50856         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50857         immediate-write ioctls.
50858         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50860 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50862         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50863         __builtin_frame_address instead of making assumptions about the
50864         location of the return address relative to DATA.  Force early load of
50865         the return address.
50866         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50867         __builtin_frame_address.
50869         dup3 for GNU Hurd.
50870         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50871         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50872         implement dup3 and do some further code clean-ups.
50873         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50874         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50878         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50880         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50881         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50882         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50883         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50884         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50885         d->port.lock.
50887         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50888         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50889         when handler == SIG_ERR, not when handler != SIG_ERR.
50891 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50893         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50894         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50895         definitions.
50897         accept4 for GNU Hurd.
50898         * include/sys/socket.h (__libc_accept4): New prototype.
50899         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50900         to implement __libc_accept4.
50901         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50902         __libc_accept4.
50903         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50905         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50906         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50907         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50908         signal-defines.sym.
50910 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50912         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50914 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50916         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50917         assertion on O_CLOEXEC flag.
50918         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50919         * hurd/intern-fd.c: Likewise.
50920         * hurd/port2fd.c: Likewise.
50922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50924         [BZ #3906]
50925         * bits/in.h (IPV6_PKTINFO): Define new macro.
50926         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50928 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50930         [BZ #13954]
50931         [BZ #13955]
50932         [BZ #13956]
50933         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50934         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50935         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50936         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50938         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50939         * math/libm-test.inc (logb_test) : Additional logb tests.
50941 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50942             Andreas Jaeger  <aj@suse.de>
50944         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50945         * configure: Regenerated.
50946         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50947         * config.make.in (link-obsolete-rpc): New substituted variable.
50948         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50949         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50950         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50951         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50952         so that libc.a contains the symbols.
50953         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50954         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50955         * sunrpc/auth_none.c: Likewise.
50956         * sunrpc/auth_unix.c: Likewise.
50957         * sunrpc/authdes_prot.c: Likewise.
50958         * sunrpc/authuxprot.c: Likewise.
50959         * sunrpc/clnt_gen.c: Likewise.
50960         * sunrpc/clnt_perr.c: Likewise.
50961         * sunrpc/clnt_raw.c: Likewise.
50962         * sunrpc/clnt_simp.c: Likewise.
50963         * sunrpc/clnt_tcp.c: Likewise.
50964         * sunrpc/clnt_udp.c: Likewise.
50965         * sunrpc/clnt_unix.c: Likewise.
50966         * sunrpc/des_crypt.c: Likewise.
50967         * sunrpc/des_soft.c: Likewise.
50968         * sunrpc/get_myaddr.c: Likewise.
50969         * sunrpc/key_call.c: Likewise.
50970         * sunrpc/key_prot.c: Likewise.
50971         * sunrpc/netname.c: Likewise.
50972         * sunrpc/pm_getmaps.c: Likewise.
50973         * sunrpc/pm_getport.c: Likewise.
50974         * sunrpc/pmap_clnt.c: Likewise.
50975         * sunrpc/pmap_prot.c: Likewise.
50976         * sunrpc/pmap_prot2.c: Likewise.
50977         * sunrpc/pmap_rmt.c: Likewise.
50978         * sunrpc/publickey.c: Likewise.
50979         * sunrpc/rpc_cmsg.c: Likewise.
50980         * sunrpc/rpc_common.c: Likewise.
50981         * sunrpc/rpc_dtable.c: Likewise.
50982         * sunrpc/rpc_prot.c: Likewise.
50983         * sunrpc/rpc_thread.c: Likewise.
50984         * sunrpc/rtime.c: Likewise.
50985         * sunrpc/svc.c: Likewise.
50986         * sunrpc/svc_auth.c: Likewise.
50987         * sunrpc/svc_raw.c: Likewise.
50988         * sunrpc/svc_run.c: Likewise.
50989         * sunrpc/svc_tcp.c: Likewise.
50990         * sunrpc/svc_udp.c: Likewise.
50991         * sunrpc/svc_unix.c: Likewise.
50992         * sunrpc/svcauth_des.c: Likewise.
50993         * sunrpc/xcrypt.c: Likewise.
50994         * sunrpc/xdr.c: Likewise.
50995         * sunrpc/xdr_array.c: Likewise.
50996         * sunrpc/xdr_float.c: Likewise.
50997         * sunrpc/xdr_intXX_t.c: Likewise.
50998         * sunrpc/xdr_mem.c: Likewise.
50999         * sunrpc/xdr_rec.c: Likewise.
51000         * sunrpc/xdr_ref.c: Likewise.
51001         * sunrpc/xdr_sizeof.c: Likewise.
51002         * sunrpc/xdr_stdio.c: Likewise.
51004 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51006         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51007         change.  Update copyright years.
51009 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51011         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51013 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
51014             Joseph Myers  <joseph@codesourcery.com>
51015             Paul Pluzhnikov  <ppluzhnikov@google.com>
51017         [BZ #14012]
51018         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51019         requiring rpcgen.
51020         [cross-compiling] (extra-libs): Likewise.
51021         [cross-compiling] (extra-libs-others): Likewise.
51022         [cross-compiling] (librpcsvc-routines): Likewise.
51023         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51024         [cross-compiling] (omit-deps): Likewise.
51025         (sunrpc-CPPFLAGS): New variable.
51026         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51027         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51028         (cross-rpcgen-objs): New variable.
51029         (extra-objs): Append $(cross-rpcgen-objs).
51030         ($(cross-rpcgen-objs)): New rule.
51031         ($(objpfx)cross-rpcgen): Likewise.
51032         (rpcgen-cmd): Define to use $(built-program-file).  Expand
51033         comment.
51034         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51035         ($(objpfx)x%.stmp): Likewise.
51036         * sunrpc/proto.h [IS_IN_build] (_): Define.
51037         [IS_IN_build] (_libc_intl_domainname): Likewise.
51039 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51041         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51042         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51043         and R_X86_64_TPOFF64.
51045 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51047         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51048         sysdeps/unix/sysv/syscalls.list.
51049         (stime): Likewise.
51050         (utime): Likewise.
51051         * sysdeps/unix/sysv/syscalls.list: Remove file.
51053 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
51055         [BZ #3440]
51056         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51057         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51058         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51059         (__LC_IDENTIFICATION): Make these macros useful in #if
51060         expressions, as required by C99.
51062 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51064         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51065         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51066         after this.
51068 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51070         * stdlib/longlong.h: Updated from GCC.
51072 2012-05-09  Andreas Jaeger  <aj@suse.de>
51074         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51075         default is first entry.
51076         (run_mode): Set type.
51077         (main): Remove informal message about syslog.
51078         (options): Fix typo.
51080         [BZ #14053]
51081         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51082         to asm.
51083         (lrint): Likewise.
51084         (llrintf): Likewise.
51085         (llrint): Likewise.
51086         (rint): Likewise.
51087         (rintf): Likewise.
51088         (nearbyint): Likewise.
51089         (nearbyintf): Likewise.
51091 2012-05-09  Andreas Jaeger  <aj@suse.de>
51092             Pedro Alves  <palves@redhat.com>
51094         * nscd/nscd.c (run_mode): Use enum.
51095         (main): Cleanup coding style issue.
51097 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51098             Andreas Jaeger  <aj@suse.de>
51100         * nscd/nscd.c (go_background): Replaced with...
51101         (run_mode): ... this.
51102         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51103         (options): Add -F --foreground.
51104         (main): Implement it.
51105         (parse_opt): Parse it.
51107 2012-05-09  Andreas Jaeger  <aj@suse.de>
51109         [BZ #14083]
51110         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51111         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51112         -Wconversion warning.
51113         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51114         Likewise.
51116 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51118         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51119         == 0.
51120         (LC_ALL): Use macro-int-constant.
51121         (LC_COLLATE): Likewise.
51122         (LC_CTYPE): Likewise.
51123         (LC_MESSAGES): Likewise.
51124         (LC_MONETARY): Likewise.
51125         (LC_NUMERIC): Likewise.
51126         (LC_TIME): Likewise.
51127         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51128         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51129         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51130         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51131         Specify type.
51132         [C99-based standards] (float_t): Expect type.
51133         [C99-based standards] (double_t): Expect type.
51134         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51135         type.
51136         [C99-based standards] (HUGE_VALL): Likewise.
51137         [C99-based standards] (INFINITY): Likewise.
51138         [C99-based standards] (NAN): Likewise.
51139         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51140         [C99-based standards] (FP_NAN): Likewise.
51141         [C99-based standards] (FP_NORMAL): Likewise.
51142         [C99-based standards] (FP_SUBNORMAL): Likewise.
51143         [C99-based standards] (FP_ZERO): Likewise.
51144         [C99-based standards] (FP_FAST_FMA): Use
51145         optional-macro-int-constant.  Specify type.  Require == 1.
51146         [C99-based standards] (FP_FAST_FMAF): Likewise.
51147         [C99-based standards] (FP_FAST_FMAL): Likewise.
51148         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51149         [C99-based standards] (FP_ILOGBNAN): Likewise.
51150         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51151         Specify type.
51152         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51153         [C99-based standards] (math_errhandling): Specify type.
51154         [ISO99 || ISO11] (signgam): Do not allow.
51155         [non-C99-based standards] (copysignf): Do not allow.
51156         [non-C99-based standards] (exp2f): Likewise.
51157         [non-C99-based standards] (log2f): Likewise.
51158         [non-C99-based standards] (modff): Allow.
51159         [non-C99-based standards] (erff): Do not allow.
51160         [non-C99-based standards] (erfcf): Likewise.
51161         [non-C99-based standards] (gammaf): Likewise.
51162         [non-C99-based standards] (hypotf): Likewise.
51163         [non-C99-based standards] (j0f): Likewise.
51164         [non-C99-based standards] (j1f): Likewise.
51165         [non-C99-based standards] (jnf): Likewise.
51166         [non-C99-based standards] (lgammaf): Likewise.
51167         [non-C99-based standards] (tgammaf): Likewise.
51168         [non-C99-based standards] (y0f): Likewise.
51169         [non-C99-based standards] (y1f): Likewise.
51170         [non-C99-based standards] (ynf): Likewise.
51171         [non-C99-based standards] (isnanf): Likewise.
51172         [non-C99-based standards] (acoshf): Likewise.
51173         [non-C99-based standards] (asinhf): Likewise.
51174         [non-C99-based standards] (atanhf): Likewise.
51175         [non-C99-based standards] (cbrtf): Likewise.
51176         [non-C99-based standards] (expm1f): Likewise.
51177         [non-C99-based standards] (ilogbf): Likewise.
51178         [non-C99-based standards] (log1pf): Likewise.
51179         [non-C99-based standards] (logbf): Likewise.
51180         [non-C99-based standards] (nextafterf): Likewise.
51181         [non-C99-based standards] (remainderf): Likewise.
51182         [non-C99-based standards] (rintf): Likewise.
51183         [non-C99-based standards] (scalbf): Likewise.
51184         [non-C99-based standards] (copysignl): Likewise.
51185         [non-C99-based standards] (exp2l): Likewise.
51186         [non-C99-based standards] (log2l): Likewise.
51187         [non-C99-based standards] (modfl): Allow.
51188         [non-C99-based standards] (erfl): Do not allow.
51189         [non-C99-based standards] (erfcl): Likewise.
51190         [non-C99-based standards] (gammal): Likewise.
51191         [non-C99-based standards] (hypotl): Likewise.
51192         [non-C99-based standards] (j0l): Likewise.
51193         [non-C99-based standards] (j1l): Likewise.
51194         [non-C99-based standards] (jnl): Likewise.
51195         [non-C99-based standards] (lgammal): Likewise.
51196         [non-C99-based standards] (tgammal): Likewise.
51197         [non-C99-based standards] (y0l): Likewise.
51198         [non-C99-based standards] (y1l): Likewise.
51199         [non-C99-based standards] (ynl): Likewise.
51200         [non-C99-based standards] (isnanl): Likewise.
51201         [non-C99-based standards] (acoshl): Likewise.
51202         [non-C99-based standards] (asinhl): Likewise.
51203         [non-C99-based standards] (atanhl): Likewise.
51204         [non-C99-based standards] (cbrtl): Likewise.
51205         [non-C99-based standards] (expm1l): Likewise.
51206         [non-C99-based standards] (ilogbl): Likewise.
51207         [non-C99-based standards] (log1pl): Likewise.
51208         [non-C99-based standards] (logbl): Likewise.
51209         [non-C99-based standards] (nextafterl): Likewise.
51210         [non-C99-based standards] (remainderl): Likewise.
51211         [non-C99-based standards] (rintl): Likewise.
51212         [non-C99-based standards] (scalbl): Likewise.
51213         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51214         [non-C99-based standards] (FP_*): Do not allow.
51215         [C99-based standards] (FP_*): Change to
51216         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51217         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51218         allow.
51219         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51220         (SIG_ERR): Likewise.
51221         [X/Open-based standards] (SIG_HOLD): Likewise.
51222         (SIG_IGN): Likewise.
51223         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51224         positive value.
51225         (SIGFPE): Likewise.
51226         (SIGILL): Likewise.
51227         (SIGINT): Likewise.
51228         (SIGSEGV): Likewise.
51229         (SIGTER): Likewise.
51230         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51231         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51232         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51233         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51234         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51235         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51236         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51237         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51238         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51239         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51240         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51241         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51242         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51243         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51244         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51245         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51246         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51247         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51248         [X/Open-based standards] (SIGTRAP): Likewise.
51249         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51250         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51251         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51252         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51253         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51254         allow.
51256 2012-05-08  Ian Wienand  <ianw@vmware.com>
51258         [BZ #14080]
51259         * time/tzset.c (__tzset_parse_tz): Update default rules for
51260         daylight time changes in the Energy Policy Act of 2005.
51262 2012-05-09  Andreas Jaeger  <aj@suse.de>
51264         [BZ #13983]
51265         * elf/ldconfig.c (parse_conf): Change string to make clear that
51266         ldconfig only issued a warning if ld.so.conf does not exist.
51268 2012-05-08  David S. Miller  <davem@davemloft.net>
51270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51271         movxtod instead of popping the value on the stack.
51273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51275 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51277         * config.h.in: Add HAVE_ARM_PCS_VFP.
51279 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51281         [BZ #13979]
51282         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51283         checking but the checks are disabled for any reason.
51285 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51287         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51288         and ELF64_R_TYPE with ELFW(R_TYPE).
51290 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51292         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51293         (ulimit): Likewise.
51295         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51296         (settimeofday): Likewise.
51298 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51300         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51301         a struct th_u2 inside the union, and move tu_block/tu_code into
51302         a new th_u3 union of tu_block/tu_code inside of that.  Move
51303         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51304         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51305         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51306         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51307         (th_stuff): Change to th_u1.tu_stuff.
51308         (th_data): Define.
51309         (th_msg): Change to th_u1.th_u2.tu_data.
51311 2012-05-07  David S. Miller  <davem@davemloft.net>
51313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51315         [BZ #14074]
51316         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51317         (SETUP_PIC_REG): Use it.
51318         (SETUP_PIC_REG_LEAF): Use it.
51320 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51322         [BZ #13885]
51323         [BZ #13923]
51324         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51325         USE_AS_EXPM1L.
51326         (EXPL_FINITE): Likewise.
51327         (FLDLOG): Likewise.
51328         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51329         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51330         e_expl.S.
51331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51332         USE_AS_EXPM1L.
51333         (EXPL_FINITE): Likewise.
51334         (FLDLOG): Likewise.
51335         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51336         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51337         e_expl.S.
51338         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51339         test of -max_value argument for long double.
51340         * sysdeps/i386/fpu/libm-test-ulps: Update.
51341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51343 2012-05-06  David S. Miller  <davem@davemloft.net>
51345         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51346         quad soft-float symbols whose references which are compiler
51347         generated.
51348         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51350 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51352         [BZ #13884]
51353         [BZ #13914]
51354         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51355         USE_AS_EXP10L.
51356         (EXPL_FINITE): Likewise.
51357         (FLDLOG): Likewise.
51358         (c0): Likewise.
51359         (c1): Likewise.
51360         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51361         Adjust comments for base varying.
51362         (__expl_finite): Change alias to EXPL_FINITE.
51363         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51364         e_expl.S.
51365         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51366         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51367         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51368         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51369         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51370         USE_AS_EXP10L.
51371         (EXPL_FINITE): Likewise.
51372         (FLDLOG): Likewise.
51373         (c0): Likewise.
51374         (c1): Likewise.
51375         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51376         Adjust comments for base varying.
51377         (__expl_finite): Change alias to EXPL_FINITE.
51378         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51379         tests for bugs.
51380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51382         [BZ #14064]
51383         * math/libm-test.inc (check_float_internal): Correct ulp
51384         calculation for subnormal expected results.
51386 2012-05-06  Andreas Jaeger  <aj@suse.de>
51388         * Makeconfig (+math-flags): New, set to -frounding-math.
51389         (+cflags): Add +math-flags so that all of glibc gets compiled with
51390         it.
51392         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51394 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51396         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51397         Disable one test.
51399         [BZ #13787]
51400         [BZ #13922]
51401         [BZ #14036]
51402         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51403         (__ieee754_expl): Allow for and saturate large arguments.
51404         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51405         (u_threshold): Likewise.
51406         (__exp): Call __ieee754_exp before checking for overflow and
51407         underflow.
51408         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51409         (u_threshold): Likewise.
51410         (__expf): Call __ieee754_expf before checking for overflow and
51411         underflow.
51412         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51413         (u_threshold): Likewise.
51414         (__expl): Call __ieee754_expl before checking for overflow and
51415         underflow.
51416         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51417         (__ieee754_expl): Allow for and saturate large arguments.
51418         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51419         missing overflow exception on overflow.
51420         (expm1_test): Do not allow missing overflow exception on overflow.
51422         * sysdeps/i386/fpu/e_expl.c: Move to ...
51423         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51424         rather than using inline asm.
51425         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51426         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51427         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51429         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51430         (nice): Likewise.
51431         (poll): Likewise.
51432         (signal): Likewise.
51433         (time): Likewise.
51434         (times): Likewise.
51436 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51438         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51439         sysdeps/unix/common/syscalls.list.
51440         (fchmod): Likewise.
51441         (fchown): Likewise.
51442         (ftruncate): Likewise.
51443         (getrusage): Likewise.
51444         (gettimeofday): Likewise.
51445         (setpgid): Likewise.
51446         (setregid): Likewise.
51447         (setreuid): Likewise.
51448         (sigaction): Likewise.
51449         (truncate): Likewise.
51450         (vhangup): Likewise.
51451         * sysdeps/unix/common/syscalls.list: Remove file.
51452         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51453         * sysdeps/unix/sysv/linux/Implies: Likewise.
51455 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51457         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51459         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51460         Moved to ...
51461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51462         Here.
51463         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51464         to ...
51465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51466         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51467         to ...
51468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51469         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51470         to ...
51471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51472         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51473         to ...
51474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51475         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51476         to ...
51477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51478         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51479         to ...
51480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51481         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51482         to ...
51483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51484         Here.
51485         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51486         to ...
51487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51488         Here.
51489         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51490         to ...
51491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51492         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51493         Moved to ...
51494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51495         Here.
51496         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51497         to ...
51498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51500 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51502         * sysdeps/unix/common/bits/dirent.h: Remove file.
51503         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51505         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51506         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51507         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51508         * sysdeps/unix/bsd/isatty.c: Likewise.
51509         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51510         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51511         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51513 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51515         [BZ #13563]
51516         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51517         long double comparison inaccuracies.
51518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51521 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51523         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51524         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51526 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51528         [BZ #14049]
51529         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51530         nonzero digits before rounding a hex value.
51531         * stdlib/tst-strtod.c (tests): Add another test.
51533 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51535         * sysdeps/s390/fpu/libm-test-ulps: Update.
51537 2012-05-03  Andreas Jaeger  <aj@suse.de>
51539         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51540         does not get optimized out.
51541         (malloc_opt_barrier): New.
51543 2012-05-03  Andreas Jaeger  <aj@suse.de>
51544             Roland McGrath  <roland@hack.frob.com>
51546         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51547         intermediate file deletion.
51548         (generated): Add .symlist files.
51550 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51552         [BZ #13775]
51553         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51554         Redirect under this condition.
51555         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51556         [__USE_GNU] (__dprintf_chk): Not under this condition.
51557         [__USE_GNU] (__vdprintf_chk): Likewise.
51558         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51559         under this condition.
51560         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51561         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51562         [__USE_XOPEN2K8] (vdprintf): Likewise.
51563         [__USE_GNU] (__dprintf_chk): Not under this condition.
51564         [__USE_GNU] (__vdprintf_chk): Likewise.
51565         [__USE_GNU] (dprintf): Likewise.
51566         [__USE_GNU] (vdprintf): Likewise.
51568 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51570         * elf/Makefile (common-generated): Set this instead of generated for
51571         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51572         $(all-built-dso)-derived lists.
51574 2012-05-03  Andreas Jaeger  <aj@suse.de>
51576         * sysdeps/i386/fpu/libm-test-ulps: Update.
51578         * FAQ: Removed.
51579         * FAQ.in: Likewise.
51580         * scripts/gen-FAQ.pl: Likewise.
51581         * manual/install.texi (Installation): Point to online location of
51582         FAQ.
51583         * Makefile (files-for-dist): Remove FAQ.
51584         (FAQ): Remove.
51586 2012-05-02  Allan McRae  <allan@archlinux.org>
51588         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51589         (LDFLAGS-reldepmod5.so): Likewise.
51590         (LDFLAGS-reldep6mod1.so): Likewise.
51591         (LDFLAGS-reldep6mod4.so): Likewise.
51592         (LDFLAGS-reldep8mod3.so): Likewise.
51593         (LDFLAGS-unload4mod1.so): Likewise.
51594         (LDFLAGS-unload4mod2.so): Likewise.
51595         (LDFLAGS-tst-initorder): Likewise.
51596         (LDFLAGS-tst-initordera2.so): Likewise.
51597         (LDFLAGS-tst-initordera3.so): Likewise.
51598         (LDFLAGS-tst-initordera4.so): Likewise.
51599         (LDFLAGS-tst-initorderb2.so): Likewise.
51600         (LDFLAGS-noload): Likewise.
51601         (LDFLAGS-next): Likewise.
51602         (LDFLAGS-order2mod1.so): Likewise.
51603         (LDFLAGS-order2mod2.so): Likewise.
51604         (LDFLAGS-tst-initorder2): Likewise.
51605         (LDFLAGS-tst-initorder2a.so): Likewise.
51606         (LDFLAGS-tst-initorder2b.so): Likewise.
51607         (LDFLAGS-tst-initorder2c.so): Likewise.
51608         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51610 2012-05-02  David S. Miller  <davem@davemloft.net>
51612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51614 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51616         [BZ #14055]
51617         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51619 2012-05-02  Andreas Jaeger  <aj@suse.de>
51621         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51622         since we manipulate rounding mode.
51623         (CPPFLAGS-test-idouble.c): Likewise.
51624         (CPPFLAGS-test-ifloat.c): Likewise.
51625         (CFLAGS-test-ldouble.c): Likewise.
51626         (CFLAGS-test-double.c): Likewise.
51627         (CFLAGS-test-float.c): Likewise.
51628         (CFLAGS-test-misc.c): Likewise.
51629         (CFLAGS-test-test-fenv.c): Likewise.
51631 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51633         [BZ #2550]
51634         [BZ #2570]
51635         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51636         comparisons to determine direction to adjust input.
51638 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51640         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51641         output to the target.
51643         * scripts/localplt.awk: New file.
51644         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51645         (check-localplt-CFLAGS): Variable removed.
51646         ($(all-built-dso:=.jmprel)): New static pattern rule.
51647         (generated): Add those targets.
51648         (localplt-built-dso): New variable.
51649         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51651         * elf/check-localplt.c: File removed.
51653         * scripts/check-execstack.awk: New file.
51654         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51655         (check-execstack-CFLAGS): Variable removed.
51656         ($(objpfx)check-execstack.h): Target removed.
51657         ($(objpfx)execstack-default): New target.
51658         (generated): Add that instead of check-execstack.h.
51659         ($(all-built-dso:=.phdr)): New static pattern rule.
51660         (generated): Add those targets.
51661         * elf/check-execstack.c: File removed.
51663         * scripts/check-textrel.awk: New file.
51664         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51665         (check-textrel-CFLAGS): Variable removed.
51666         (all-built-dso): Use := to define.o
51667         ($(all-built-dso:=.dyn)): New static pattern rule.
51668         (generated): Add those targets.
51669         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51670         * config.make.in (READELF): New substituted variable.
51671         * elf/check-textrel.c: File removed.
51673 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51675         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51676         allow.
51677         * conform/data/ctype.h-data [C99-based standards] (isblank):
51678         Expect function.
51679         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51680         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51681         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51682         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51683         Specify type.  Require positive value.
51684         (EILSEQ): Likewise.
51685         (ERANGE): Likewise.
51686         [ISO || POSIX] (EILSEQ): Do not expect.
51687         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51688         Specify type.  Require positive value.
51689         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51690         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51691         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51692         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51693         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51694         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51695         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51696         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51697         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51698         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51699         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51700         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51701         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51702         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51703         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51704         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51705         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51706         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51707         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51708         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51709         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51710         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51711         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51712         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51713         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51714         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51715         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51716         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51717         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51718         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51719         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51720         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51721         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51722         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51723         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51724         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51725         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51726         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51727         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51728         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51729         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51730         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51731         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51732         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51733         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51734         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51735         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51736         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51737         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51738         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51739         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51740         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51741         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51742         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51743         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51744         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51745         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51746         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51747         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51748         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51749         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51750         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51751         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51752         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51753         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51754         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51755         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51756         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51757         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51758         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51759         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51760         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51761         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51762         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51763         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51764         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51765         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51766         Require >= 2.
51767         (FLT_ROUNDS): Expect as macro, not constant.
51768         (FLT_MANT_DIG): Use macro-int-constant.
51769         (DBL_MANT_DIG): Likewise.
51770         (LDBL_MANT_DIG): Likewise.
51771         (FLT_DIG): Likewise.
51772         (DBL_DIG): Likewise.
51773         (LDBL_DIG): Likewise.
51774         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51775         (DBL_MIN_EXP): Likewise.
51776         (LDBL_MIN_EXP): Likewise.
51777         (FLT_MAX_EXP): Use macro-int-constant.
51778         (DBL_MAX_EXP): Likewise.
51779         (LDBL_MAX_EXP): Likewise.
51780         (FLT_MAX_10_EXP): Likewise.
51781         (DBL_MAX_10_EXP): Likewise.
51782         (LDBL_MAX_10_EXP): Likewise.
51783         (FLT_MAX): Use macro-constant.
51784         (DBL_MAX): Likewise.
51785         (LDBL_MAX): Likewise.
51786         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51787         (DBL_EPSILON): Likewise.
51788         (LDBL_EPSILON): Likewise.
51789         (FLT_MIN): Likewise.
51790         (DBL_MIN): Likewise.
51791         (LDBL_MIN): Likewise.
51792         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51793         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51794         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51795         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51796         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51797         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51798         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51799         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51800         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51801         [ISO11] (FLT_TRUE_MIN): Likewise.
51802         [ISO11] (LDBL_TRUE_MIN): Likewise.
51803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51804         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51805         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51806         (SCHAR_MAX): Likewise.
51807         (UCHAR_MAX): Likewise.
51808         (CHAR_MIN): Likewise.
51809         (CHAR_MAX): Likewise.
51810         (MB_LEN_MAX): Use macro-int-constant.
51811         (SHRT_MIN): Use macro-int-constant.  Specify type.
51812         (SHRT_MAX): Likewise.
51813         (USHRT_MAX): Likewise.
51814         (INT_MAX): Likewise.
51815         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51816         bound negative.
51817         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51818         bound with "U".
51819         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51820         bound with "L".
51821         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51822         bound negative.  Suffix upper bound with "L".
51823         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51824         bound with "UL".
51825         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51826         Specify type.
51827         [C99-based standards] (LLONG_MAX): Likewise.
51828         [C99-based standards] (ULLONG_MAX): Likewise.
51829         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51830         == 0.
51831         [ISO11] (max_align_t): Require type.
51832         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51834         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51835         from $CFLAGS, without defining away __attribute__ calls.
51836         (checknamespace): Use $CFLAGS_namespace.
51838         * conform/conformtest.pl (@keywords): Only include C99 keywords
51839         for standards based on C99 or C11.
51841         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51842         Disable tests.
51843         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51844         UNIX98]: Likewise.
51846         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51847         usability of symbols in #if.
51849         * conform/conformtest.pl: If macro or constant types start
51850         "promoted:", expect the symbol to be of the following type
51851         promoted by the integer promotions.
51853         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51854         in one place.  Also handle "macro-constant".
51856         * conform/conformtest.pl: Only accept expected macro values with
51857         "==".  Parse all "macro" lines in one place.
51858         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51860         * conform/conformtest.pl: Handle braced types on "constant" lines
51861         instead of handling "typed-constant".
51862         * conform/data/signal.h-data: Use "constant" instead of
51863         "typed-constant".
51865         * conform/conformtest.pl: Handle "optional-" at start of lines in
51866         one place rather than duplicating several cases.  Handle each
51867         format of "macro" line with initial "optional-".
51869         * conform/conformtest.pl: Only accept expected constant or
51870         optional-constant values with "==".  Parse all "constant" lines in
51871         one place.  Parse all "optional-constant" lines in one place.
51872         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51873         * conform/data/fmtmsg.h-data: Likewise.
51874         * conform/data/netinet/in.h-data: Likewise.
51875         * conform/data/tar.h-data: Likewise.
51876         * conform/data/limits.h-data: Use "==" form on "constant" and
51877         "optional-constant" lines.
51879         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51880         Use -std=c99 for XOPEN2K.
51881         (@knownproblems): Remove.
51882         (newtoken): Don't check %isknown.
51884         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51885         Do not expect macro.
51886         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51889         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51890         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51898         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51899         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51907         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51908         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51909         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51910         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51911         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51912         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51913         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51914         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51915         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51916         [XPG3] (acosh): Likewise.
51917         [XPG3] (asinh): Likewise.
51918         [XPG3] (atanh): Likewise.
51919         [XPG3] (cbrt): Likewise.
51920         [XPG3] (expm1): Likewise.
51921         [XPG3] (ilogb): Likewise.
51922         [XPG3] (log1p): Likewise.
51923         [XPG3] (logb): Likewise.
51924         [XPG3] (nextafter): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51927         [XPG3] (remainder): Likewise.
51928         [XPG3] (rint): Likewise.
51929         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51936         [UNIX98 || XOPEN2K] (scalb): Expect.
51937         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51938         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51942         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51943         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51962         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51963         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51967         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51968         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51969         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51970         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51971         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51972         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51973         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51974         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51975         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51976         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51977         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51978         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51979         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51980         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51981         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51982         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51983         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51984         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51985         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51986         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51987         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51988         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51989         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51991         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51992         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51995         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51996         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51997         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51998         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51999         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52000         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52001         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52002         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52003         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52004         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52005         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52006         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52007         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52008         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52009         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52010         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52011         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52012         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52013         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52014         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52015         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52016         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52017         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52018         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52019         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52020         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52021         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52022         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52023         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52024         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52025         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52026         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52027         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52028         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52029         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52030         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52031         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52032         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52033         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52034         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52035         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52036         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52037         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52038         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52039         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52040         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52041         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52042         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52043         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52044         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52045         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52046         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52047         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52048         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52049         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52050         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52051         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52052         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52053         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52054         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52055         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52056         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52057         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52058         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52059         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52060         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52061         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52062         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52063         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52064         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52065         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52066         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52067         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52068         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52069         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52070         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52071         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52072         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52073         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52075         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52076         _XOPEN_SOURCE_EXTENDED for XPG4.
52078         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52080         * Makeconfig (localtime): Remove variable.
52081         (inst_localtime-file): Likewise.
52083 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52086         Update.
52087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52088         Update.
52089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52090         Update.
52091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52092         Update.
52093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52094         Update.
52095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52096         Update.
52097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52098         Update.
52099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52100         Update.
52101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52102         Update.
52104 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52106         [BZ #2550]
52107         [BZ #2570]
52108         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52109         comparisons to determine direction to adjust input.
52110         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52111         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52112         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52113         Likewise.
52114         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52115         Likewise.
52116         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52117         Likewise.
52118         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52119         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52120         Likewise.
52121         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52122         Likewise.
52123         * math/libm-test.inc (nexttoward_test): Add more tests.
52125 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52127         [BZ #14040]
52128         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52129         in version GLIBC_2.1, not GLIBC_2.0.
52130         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52131         Likewise.
52133 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52135         [BZ #13942]
52136         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52137         (1 - x) * (1 + x).
52138         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52139         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52140         * math/libm-test.inc (acos_test): Add more tests.
52141         (asin_test): Likewise.
52142         * sysdeps/i386/fpu/libm-test-ulps: Update.
52143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52145         [BZ #14034]
52146         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52147         of square root.
52148         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52149         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52150         * math/libm-test.inc (acos_test_tonearest): New function.
52151         (acos_test_towardzero): Likewise.
52152         (acos_test_downward): Likewise.
52153         (acos_test_upward): Likewise.
52154         (asin_test_tonearest): Likewise.
52155         (asin_test_towardzero): Likewise.
52156         (asin_test_downward): Likewise.
52157         (asin_test_upward): Likewise.
52158         (main): Call the new functions.
52159         * sysdeps/i386/fpu/libm-test-ulps: Update.
52160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52162         [BZ #13884]
52163         [BZ #13924]
52164         * math/e_exp10.c: Include <float.h>.
52165         (__ieee754_exp10): Handle underflow here rather than multiplying
52166         large negative argument by M_LN10.
52167         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52168         of __ieee754_expf.
52169         * math/e_exp10l.c: Include <float.h>.
52170         (__ieee754_exp10l): Handle underflow here rather than multiplying
52171         large negative argument by M_LN10l.
52172         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52173         spurious overflow exception on underflow.
52175 2012-04-29  Marek Polacek  <polacek@redhat.com>
52177         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52178         (__fortify_function): New macro.
52179         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52180         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52181         __extern_always_inline.
52182         * libio/bits/stdio2.h: Likewise.
52183         * libio/bits/stdio.h: Likewise.
52184         * string/string.h: Likewise.
52185         * string/bits/string3.h: Likewise.
52186         * include/stdio.h: Likewise.
52187         * stdlib/bits/stdlib.h: Likewise.
52188         * stdlib/stdlib.h: Likewise.
52189         * rt/bits/mqueue2.h: Likewise.
52190         * rt/mqueue.h: Likewise.
52191         * posix/bits/unistd.h: Likewise.
52192         * posix/unistd.h: Likewise.
52193         * io/bits/poll2.h: Likewise.
52194         * io/bits/fcntl2.h: Likewise.
52195         * io/fcntl.h: Likewise.
52196         * io/sys/poll.h: Likewise.
52197         * misc/bits/syslog.h: Likewise.
52198         * misc/bits/syslog-ldbl.h: Likewise.
52199         * misc/sys/syslog.h: Likewise.
52200         * socket/bits/socket2.h: Likewise.
52201         * socket/sys/socket.h: Likewise.
52202         * debug/tst-chk1.c: Likewise.
52203         * wcsmbs/bits/wchar2.h: Likewise.
52204         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52205         * wcsmbs/wchar.h: Likewise.
52207 2012-04-29  Andreas Jaeger  <aj@suse.de>
52209         * Makerules (tests): Remove enable-check-abi protection.
52210         (check-abi-warn): Remove.
52211         (check-abi-%): Remove check-abi-warn usage.
52213         * configure.in: Remove check-abi configure option.
52214         * configure: Regenerated.
52215         * config.make.in (enable-check-abi): Remove.
52217 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52219         [BZ #14033]
52220         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52221         double functions to double *_finite functions.
52223         [BZ #13941]
52224         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52225         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52226         LDBL_MIN_EXP.
52227         * stdio-common/Makefile (tests): Add tst-sprintf3.
52228         * stdio-common/tst-sprintf3.c: New file.
52230         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52231         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52233 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52235         * conform/conformtest.pl: Remove duplicate typed-constant
52236         handling.
52238 2012-04-28  David S. Miller  <davem@davemloft.net>
52240         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52241         (check-abi-%): Remove AWK script prerequisite and explicit
52242         abilist directory.
52243         (check-abi): Rewrite to just diff the symlist with the abilist.
52244         (config-tls, config-abi-config): Delete, no longer used.
52245         (update-abi-%): Remove AWK script and explicit abilist directory.
52246         (update-abi): Rewrite to simply compare and conditionally copy the
52247         symlist and the sysdep abilist file.  Remove update-abi-config
52248         checks.
52249         * abilist/ld.abilist: Remove.
52250         * abilist/libBrokenLocale.abilist: Remove.
52251         * abilist/libanl.abilist: Remove.
52252         * abilist/libcrypt.abilist: Remove.
52253         * abilist/libdl.abilist: Remove.
52254         * abilist/librt.abilist: Remove.
52255         * abilist/libthread_db.abilist: Remove.
52256         * abilist/libutil.abilist: Remove.
52257         * scripts/extract-abilist.awk: Remove.
52258         * scripts/merge-abilist.awk: Remove.
52259         * sysdeps/generic/libcidn.abilist: New file.
52260         * sysdeps/generic/libnss_compat.abilist: New file.
52261         * sysdeps/generic/libnss_db.abilist: New file.
52262         * sysdeps/generic/libnss_dns.abilist: New file.
52263         * sysdeps/generic/libnss_files.abilist: New file.
52264         * sysdeps/generic/libnss_hesiod.abilist: New file.
52265         * sysdeps/generic/libnss_nis.abilist: New file.
52266         * sysdeps/generic/libnss_nisplus.abilist: New file.
52267         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52268         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52269         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52270         file.
52271         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52272         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52273         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52274         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52275         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52276         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52277         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52278         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52279         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52280         file.
52281         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52282         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52283         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52284         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52285         file.
52286         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52287         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52288         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52289         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52290         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52291         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52292         file.
52293         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52294         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52295         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52296         file.
52297         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52299         New file.
52300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52301         New file.
52302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52303         New file.
52304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52305         New file.
52306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52307         New file.
52308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52309         New file.
52310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52311         New file.
52312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52313         New file.
52314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52315         New file.
52316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52317         New file.
52318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52319         New file.
52320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52321         New file.
52322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52323         New file.
52324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52325         file.
52326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52327         New file.
52328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52329         New file.
52330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52331         file.
52332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52333         New file.
52334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52335         New file.
52336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52337         file.
52338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52339         New file.
52340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52341         New file.
52342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52343         New file.
52344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52345         New file.
52346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52347         New file.
52348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52349         New file.
52350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52352         file.
52353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52354         New file.
52355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52356         file.
52357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52358         file.
52359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52360         file.
52361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52362         file.
52363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52364         file.
52365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52366         New file.
52367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52368         file.
52369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52370         file.
52371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52372         New file.
52373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52374         file.
52375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52377         file.
52378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52379         New file.
52380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52381         file.
52382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52383         file.
52384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52385         file.
52386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52387         file.
52388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52389         file.
52390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52391         New file.
52392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52393         file.
52394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52395         file.
52396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52397         New file.
52398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52399         file.
52400         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52401         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52402         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52403         file.
52404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52405         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52406         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52407         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52408         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52409         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52410         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52411         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52412         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52413         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52416         file.
52417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52418         New file.
52419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52420         file.
52421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52422         file.
52423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52424         file.
52425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52426         file.
52427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52428         file.
52429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52430         New file.
52431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52432         New file.
52433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52434         file.
52435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52436         New file.
52437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52438         file.
52439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52441         file.
52442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52443         New file.
52444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52445         file.
52446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52447         file.
52448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52449         file.
52450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52451         file.
52452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52453         file.
52454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52455         New file.
52456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52457         New file.
52458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52459         file.
52460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52461         New file.
52462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52463         file.
52465 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52467         * conform/conformtest.pl: Fix typo in handling typed-constant from
52468         allow-header.
52470 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52472         * README: Cut down references to pre-2.6 Linux kernels and
52473         Linuxthreads.  Update lists of configurations in libc and ports
52474         and sort alphabetically.  Say "or newer" with Linux kernel version
52475         requirements.
52477         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52479 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52481         [BZ #887]
52482         * math/libm-test.inc (logb_test_downward): New test to expose
52483         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52484         rounding mode.
52486 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52488         [BZ #14027]
52489         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52490         to be done.
52491         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52492         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52494 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52496         * sysdeps/unix/i386/brk.S: Remove file.
52497         * sysdeps/unix/i386/dl-brk.S: Likewise.
52498         * sysdeps/unix/i386/pipe.S: Likewise.
52499         * sysdeps/unix/i386/sigreturn.S: Likewise.
52500         * sysdeps/unix/i386/syscall.S: Likewise.
52501         * sysdeps/unix/i386/vfork.S: Likewise.
52502         * sysdeps/unix/i386/wait.S: Likewise.
52504         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52505         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52507         * configure.in (arm*-none*): Do not allow without
52508         --enable-hacker-mode.
52509         (netbsd*): Remove case setting base_os.
52510         (386bsd*): Likewise.
52511         (freebsd*): Likewise.
52512         (bsdi*): Likewise.
52513         (osf*): Likewise.
52514         (sunos*): Likewise.
52515         (ultrix*): Likewise.
52516         (newsos*): Likewise.
52517         (dynix*): Likewise.
52518         (*bsd*): Likewise.
52519         (sysv*): Likewise.
52520         (isc*): Likewise.
52521         (esix*): Likewise.
52522         (sco*): Likewise.
52523         (minix*): Likewise.
52524         (irix4*): Likewise.
52525         (irix6*): Likewise.
52526         (solaris[2-9]*): Likewise.
52527         (none): Likewise.
52528         * configure: Regenerated.
52530 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52532         [BZ #11521]
52533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52534         overflow or cancellation in calculating denominator.
52535         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52537         down expression to avoid unexpected rounding in newer GCCs.
52538         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52540 2012-04-26  David S. Miller  <davem@davemloft.net>
52542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52543         long-double compat symbols.
52544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52558 2012-04-25  David S. Miller  <davem@davemloft.net>
52560         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52561         HWCAP_* values only after the memory barriers have been defined.
52562         (atomic_full_barrier): Define.
52563         (atomic_read_barrier): Define.
52564         (atomic_write_barrier): Define.
52566 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52568         * shlib-versions: Add libgcc_s version information.
52569         * sysdeps/generic/libgcc_s.h: Remove.
52570         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52571         libgcc_s.h.
52572         * sysdeps/gnu/unwind-resume.c: Likewise.
52573         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52575 2012-04-25  David S. Miller  <davem@davemloft.net>
52577         * sysdeps/unix/sparc/brk.S: Delete.
52578         * sysdeps/unix/sparc/dl-brk.S: Delete.
52579         * sysdeps/unix/sparc/pipe.S: Delete.
52580         * sysdeps/unix/sparc/sysdep.S: Delete.
52581         * sysdeps/unix/sparc/sysdep.h: Delete.
52582         * sysdeps/unix/sparc/vfork.S: Delete.
52583         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52584         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52585         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52586         (ret_ERRVAL, r0, r1, MOVE): Define.
52587         (JUMPTARGET): Remove.
52588         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52589         sysdeps/unix/sparc/sysdep.h
52590         (ENTRY, END): Remove.
52591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52593 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52595         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52596         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52597         -DIS_IN_build.
52599         * timezone/README: Update upstream location and email address for
52600         tzcode and tzdata.
52601         * timezone/zdump.c: Update from tzcode 2012b.
52602         * timezone/zic.c: Likewise.
52604         * configure.in (libc_cv_as_needed): Remove test.
52605         * configure: Regenerated.
52606         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52607         conditional definition.
52608         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52609         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52610         * config.make.in (have-as-needed): Remove variable.
52612 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52613             Paul Pluzhnikov  <ppluzhnikov@google.com>
52615         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52616         strings correctly.
52618 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52620         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52621         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52622         * sysdeps/sh/strlen.S: Likewise.
52624 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52626         * sysdeps/unix/fork.S: Remove file.
52627         * sysdeps/unix/i386/fork.S: Likewise.
52628         * sysdeps/unix/sparc/fork.S: Likewise.
52630         * sysdeps/unix/system.c: Remove file.
52631         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52633         * sysdeps/unix/getegid.S: Remove file.
52634         * sysdeps/unix/geteuid.S: Likewise.
52636 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52638         * scripts/check-localplt.awk: New file.
52639         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52640         of diff.
52641         * scripts/data/localplt-generic.data: Add a comment.
52643         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52644         NODE when __dir_mkfile failed.
52645         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52646         Reported by Ludovic Courtès <ludo@gnu.org>.
52648 2012-04-24  Andreas Jaeger  <aj@suse.de>
52650         * Makerules (common-clean): Also remove gen-as-const-headers
52651         files.
52653 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52655         * Makerules (native-compile): Do not change working directory for
52656         build.  Use $(OUTPUT_OPTION) in command.
52657         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52659 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52661         [BZ #13886]
52662         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52663         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52664         * math/libm-test.inc (floor_test): Add more tests.
52665         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52667 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52669         * sysdeps/unix/getdents.c: Remove file.
52670         * sysdeps/unix/sysv/getdents.c: Likewise.
52671         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52673         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52674         sysdeps/unix/mman/syscalls.list.
52675         (mmap): Likewise.
52676         (mprotect): Likewise.
52677         (msync): Likewise.
52678         (munmap): Likewise.
52679         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52680         * sysdeps/unix/mman/syscalls.list: Remove.
52681         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52683         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52684         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52685         * configure: Regenerated.
52686         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52687         $(libgcc_s_suffix).
52688         * config.make.in (libgcc_s_suffix): Remove variable.
52690 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52692         * sysdeps/unix/sysv/gethostname.c: Move to ...
52693         * sysdeps/posix/gethostname.c: ... here.
52695         * sysdeps/unix/execve.S: Remove file.
52697         * sysdeps/unix/_exit.S: Remove file.
52699 2012-04-23  Andreas Jaeger  <aj@suse.de>
52701         [BZ #13739]
52702         * manual/Makefile: Remove make dist support, there's no
52703         need for a stand-alone documentation tar ball.
52704         (TEXI2DVI): Define always, it's not in Makeconfig.
52705         (dist): Removed.
52706         (tar-it): Removed.
52707         (edition): Removed.
52708         (glibc-doc-$(edition).tar): Removed
52709         (%.Z): Removed.
52710         (%.gz): Removed.
52711         (%.uu): Removed.
52712         (ETAGS): Remove, it's in Makeconfig.
52713         (move-if-change): Remove, it's in Makeconfig.
52715 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52717         [BZ #13970]
52718         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52719         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52720         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52721         (strtod_l, strtof_l, strtold_l): Remove __wur.
52722         It is not necessarily an error to ignore strtol's return value.
52723         One can reliably look at the stored endptr to decide whether
52724         the number had valid syntax.
52726 2012-04-21  Andreas Jaeger  <aj@suse.de>
52728         [BZ #13739]
52729         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52731 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52733         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52734         * sysdeps/unix/sysv/Versions: Remove file.
52736 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52738         [BZ #13927]
52739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52741 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52743         [BZ #7064]
52744         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52745         version from __vm86.
52747 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52749         * sysdeps/unix/common/lxstat.c: Remove file.
52750         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52752         * sysdeps/unix/sysv/Makefile: Remove file.
52754         * sysdeps/unix/sysv/direct.h: Remove file.
52756         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52757         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52758         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52759         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52760         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52761         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52762         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52764         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52766         * sysdeps/unix/xmknod.c: Remove file.
52767         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52769         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52771         * sysdeps/unix/sysv/i386/time.S: Remove file.
52773         * sysdeps/unix/fxstat.c: Remove file.
52774         * sysdeps/unix/xstat.c: Likewise.
52775         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52777         * sysdeps/unix/sysv/sigaction.c: Remove file.
52779         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52780         (sysdep_headers): Remove variable.
52781         [termio.h not in sysdep_headers] (generated): Likewise.
52782         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52783         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52784         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52785         * sysdeps/unix/sysv/tcflow.c: Likewise.
52786         * sysdeps/unix/sysv/tcflush.c: Likewise.
52787         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52788         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52789         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52790         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52791         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52793         * sysdeps/unix/siglist.c: Remove file.
52795         * sysdeps/unix/getppid.S: Remove file.
52797         * sysdeps/unix/mkdir.c: Remove file.
52798         * sysdeps/unix/rmdir.c: Likewise.
52800 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52802         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52803         ERR_MAX value.
52804         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52805         errlist-compat value.
52807 2012-04-18  David S. Miller  <davem@davemloft.net>
52809         * sysdeps/generic/memcopy.h (reg_char): Delete.
52810         * debug/strcat_chk.c: Use char, not reg_char.
52811         * debug/strcpy_chk.c: Likewise.
52812         * debug/strncat_chk.c: Likewise.
52813         * debug/strncpy_chk.c: Likewise.
52814         * string/memchr.c: Likewise.
52815         * string/memrchr.c: Likewise.
52816         * string/rawmemchr.c: Likewise.
52817         * string/strcat.c: Likewise.
52818         * string/strchr.c: Likewise.
52819         * string/strchrnul.c: Likewise.
52820         * string/strcmp.c: Likewise.
52821         * string/strcpy.c: Likewise.
52822         * string/strncat.c: Likewise.
52823         * string/strncmp.c: Likewise.
52824         * string/strncpy.c: Likewise.
52826 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52828         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52829         __builtin_memcopy is called when src and dest ranges are known to not
52830         overlap.
52832 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52835         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52836         fwd_align_merge macro call.
52837         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52838         bwd_align_merge macro call.
52839         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52841 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52843         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52844         bwd_align_merge macros.
52845         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52846         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52847         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52849 2012-04-18  David S. Miller  <davem@davemloft.net>
52851         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52853 2012-04-18  Andreas Jaeger  <aj@suse.de>
52855         [BZ# 6794]
52856         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52857         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52858         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52860         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52861         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52862         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52864         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52865         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52866         Adjust for changed ldbl-128 files.
52868         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52869         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52870         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52872 2012-04-17  David S. Miller  <davem@davemloft.net>
52874         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52876 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52878         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52879         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52880         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52881         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52882         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52883         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52885 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52887         [BZ #6794]
52888         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52889         * math/libm-test.inc: Add ilogb errno and exception tests.
52890         * math/w_ilogb.c: New file: ilogb wrapper.
52891         * math/w_ilogbf.c: New file: ilogbf wrapper.
52892         * math/w_ilogbl.c: New file: ilogbl wrapper.
52893         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52894         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52895         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52896         exception being thrown with 0.0 as argument.
52897         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52898         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52899         exception being thrown with 0.0 as argument.
52900         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52901         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52902         exception being thrown with 0.0 as argument.
52903         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52904         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52905         exception being thrown with 0.0 as argument.
52906         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52907         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52908         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52909         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52910         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52911         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52912         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52913         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52914         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52916 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52918         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52919         with altivec.
52921 2012-04-16  Marek Polacek  <polacek@redhat.com>
52923         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52925 2012-04-16  Marek Polacek  <polacek@redhat.com>
52927         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52928         operands of fdivp instruction.
52930 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52932         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52933         * elf/tst-auditmod3b.c: Likewise.
52934         * elf/tst-auditmod4b.c: Likewise.
52935         * elf/tst-auditmod5b.c: Likewise.
52936         * elf/tst-auditmod6b.c: Likewise.
52937         * elf/tst-auditmod6c.c: Likewise.
52938         * elf/tst-auditmod7b.c: Likewise.
52939         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52940         * sysdeps/x86_64/preconfigure.in: Likewise.
52941         * sysdeps/x86_64/preconfigure: Regenerated.
52943 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52945         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52946         __ILP32__.
52948 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52951         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52953 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52955         [BZ #13973]
52956         * locale/iso-639.def: Fix gl language name. Spotted by
52957         Yaron Shahrabani.
52959 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52961         [BZ #2074]
52962         * libio/libio.h (__io_write_fn): Update comment.
52964 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52966         [BZ #2074]
52967         * stdio.texi (Hook Functions): The user provided writer function
52968         is not allowed to return -1.
52970 2012-04-11  David S. Miller  <davem@davemloft.net>
52972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52974 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52976         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52977         Add a leading slash to rtkaio.
52979 2012-04-11  Jim Meyering  <meyering@redhat.com>
52981         [BZ #11959]
52982         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52983         It is not necessarily an error to ignore fwrite's return
52984         value.  One can reliably use ferror to test for errors after
52985         the fact.
52987 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52989         * bits/types.h (__snseconds_t): New type.
52990         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52992         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52993         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52994         (__SNSECONDS_T_TYPE): Likewise.
52995         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52996         (__SNSECONDS_T_TYPE): Likewise.
52997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52998         (__SNSECONDS_T_TYPE): Likewise.
53000 2012-04-10  Andreas Jaeger  <aj@suse.de>
53002         [BZ #2636]
53003         * manual/time.texi (Processor Time): Return type of times is
53004         elapsed real time since an arbitrary point in the past.
53005         (CPU Time): Move CLK_TCK from here...
53006         (Processor Time): ...to here.  Correct description.
53007         * manual/conf.texi (Constants for Sysconf): Correct description of
53008         _SC_CLK_TCK.
53010 2012-04-10  David S. Miller  <davem@davemloft.net>
53012         [BZ #13967]
53013         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53014         where the is a gap between DT_REL(A) and DT_JMPREL.
53016 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53018         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53019         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53020         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53022 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53024         * elf/dl-support.c (_dl_inhibit_cache): New variable.
53025         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53026         (dl_main): Handle --inhibit-cache.
53027         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53028         _dl_inhibit_cache.
53029         * elf/dl-load.c (_dl_map_object): Use it.
53030         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53032 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53034         [BZ #13872]
53035         * sysdeps/i386/fpu/e_powl.S (p78): New object.
53036         (__ieee754_powl): Saturate large exponents rather than testing for
53037         overflow of y*log2(x).
53038         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53039         * math/libm-test.inc (pow_test): Do not permit spurious overflow
53040         exceptions.
53042         [BZ #11521]
53043         * math/s_ctan.c: Include <float.h>.
53044         (__ctan): Avoid internal overflow or cancellation in calculating
53045         denominator.
53046         * math/s_ctanf.c: Likewise.
53047         * math/s_ctanl.c: Likewise.
53048         * math/s_ctanh.c: Likewise.
53049         * math/s_ctanhf.c: Likewise.
53050         * math/s_ctanhl.c: Likewise.
53051         * math/libm-test.inc (ctan_test): Add more tests.
53052         (ctanh_test): Likewise.
53053         * sysdeps/i386/fpu/libm-test-ulps: Update.
53054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53056 2012-04-09  Andreas Jaeger  <aj@suse.de>
53058         [BZ #6894]
53059         * manual/filesys.texi (Directory Entries): Mention that d_namlen
53060         is an optional BSD extension.
53062         [BZ #10254]
53063         * manual/stdio.texi (Opening Streams): Document additional fopen
53064         parameters.
53066 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53068         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53069         %eax without telling the compiler.
53071 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53073         [BZ # 13963]
53074         * manual/install.texi: Use sourceware.org.
53076 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53078         [BZ #13873]
53079         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53080         (__ieee754_pow): Generate overflow and underflow using huge*huge
53081         and tiny*tiny rather than just returning constant infinity or zero
53082         for large exponents.
53083         * math/libm-test.inc (pow_test): Require overflow exceptions for
53084         applicable cases of large exponents.
53086         [BZ #706]
53087         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53088         (__ieee754_pow): Use iterative multiplication algorithm only for
53089         integer exponents with absolute value below 1024.  Check for odd
53090         integer exponents when using algorithm for real exponents.
53091         * math/libm-test.inc (pow_test): Add more tests.
53092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53094 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53096         [BZ #13705]
53097         * math/libm-test.inc (exp_test): Do not allow overflow exception
53098         on underflow test.
53100 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53102         [BZ #13705]
53103         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53104         instead of __kernel_standard_f.
53106 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53108         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53109         * sysdeps/x86_64/memset_chk.S: Likewise.
53111 2012-04-08  Andreas Jaeger  <aj@suse.de>
53113         [BZ #10153]
53114         * manual/startup.texi (Environment Access): Describe return value
53115         for putenv and setenv.
53117         [BZ #6895]
53118         * manual/filesys.texi (Directory Entries): Add description for
53119         DT_LNK.
53121         [BZ #6890]
53122         * manual/filesys.texi (Directory Entries): Clarify that it's file
53123         system not operating system in the description of DT_UNKNOWN.
53125         [BZ #6578]
53126         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53128 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53130         [BZ #6649]
53131         * manual/llio.texi (Opening and Closing Files): Add cross
53132         reference to explain mode argument.
53134 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53136         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53137         * sysdeps/x86_64/memset_chk.S: Likewise.
53139 2012-04-07  David S. Miller  <davem@davemloft.net>
53141         * elf/elf.h (R_SPARC_WDISP10): Define.
53142         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53143         R_SPARC_SIZE32.
53144         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53145         R_SPARC_SIZE64 and R_SPARC_H34.
53147 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53149         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53150         conditions and remove no longer applicable assertion.
53152 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53154         * bits/byteswap.h: Include <features.h>.
53155         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53156         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53158 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53160         * bits/byteswap.h (__bswap_16): Removed.
53161         Include <bits/byteswap-16.h> to get __bswap_16.
53162         * sysdeps/i386/bits/byteswap.h: Likewise.
53163         * sysdeps/s390/bits/byteswap.h: Likewise.
53164         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53165         * bits/byteswap-16.h: New file.
53166         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53167         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53168         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53169         * string/Makefile (headers): Add bits/byteswap-16.h.
53171 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53173         [BZ #13895]
53174         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53175         extra indirection.
53176         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53177         * nss/tst-nss-static.c: New.
53179 2012-04-06  Robert Millan  <rmh@gnu.org>
53181         [BZ #6486]
53182         * manual/llio.texi (File Position Primitive): lseek
53183         refers to WHENCE when it really means OFFSET.
53185 2012-04-06  Andreas Jaeger  <aj@suse.de>
53187         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53188         strncmp declarations.
53190         * abilist/libc.abilist: Add __poll and __ppoll.
53192 2012-04-05  David S. Miller  <davem@davemloft.net>
53194         * scripts/check-local-headers.sh: Accept a host triplet in the
53195         path matched by the exclude regexp.
53197         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53198         definition.
53199         * sysdeps/powerpc/powerpc32/dl-machine.h
53200         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53201         * sysdeps/s390/s390-32/dl-machine.h
53202         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53203         * sysdeps/sparc/sparc32/dl-machine.h
53204         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53205         * sysdeps/sparc/sparc64/dl-machine.h
53206         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53208         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53209         lazy binding.
53210         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53211         undefined symbol errors.
53213         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53214         DT_NEEDED entries.
53216 2012-04-05  Michael Matz  <matz@suse.de>
53218         [BZ #13592]
53219         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53221 2012-04-05  Andreas Jaeger  <aj@suse.de>
53223         [BZ #13908]
53224         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53225         comment.
53227 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53229         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53230         which ROUND is no valid rounding mode.
53232 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53234         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53235         read again.
53236         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53238 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53240         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53241         an exception using FPU order intentionally.
53243 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53245         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53246         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53247         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53248         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53250 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53252         [BZ #12340]
53253         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53254         EINVAL when BUFLEN is too smal.
53256 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53258         [BZ #13553]
53259         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53260         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53262 2012-04-03  Andreas Jaeger  <aj@suse.de>
53264         [BZ #13938]
53265         * manual/setjmp.texi (System V contexts): Fix sentence.
53267         [BZ #13926]
53268         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53269         New macro for this case.
53270         [!__GNUC__] (__bswap_64): New inline function for this case.
53271         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53272         * bits/byteswap.h: Likewise.
53273         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53274         ull, guard with __GLIBC_HAVE_LONG_LONG.
53276         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53277         __GLIBC_HAVE_LONG_LONG.
53279         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53280         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53282 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53284         [BZ #13691]
53285         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53286         inptr and inend, rather than using last_ch.
53288 2012-04-02  David S. Miller  <davem@davemloft.net>
53290         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53291         * stdio-common/printf-parse.h (read_int): Change return type to
53292         'int', return -1 on INT_MAX overflow.
53293         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53294         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53295         overflows INT_MAX.  Check for overflow of in-format-string precision
53296         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53297         SIZE_MAX not INT_MAX for integer overflow test.
53298         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53299         skip the construct in the format string but do not record anything.
53300         * stdio-common/bug22.c: Adjust to test both width/prevision
53301         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53302         explicitly for proper errno values.
53304 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53306         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53307         CHAR_MAX.
53308         * string/test-strcmp.c [! WIDE]: Likewise.
53309         * time/tst-mktime2.c: Likewise for INT_MAX.
53310         * string/test-string.h: #include <sys/param.h> for MIN.
53312         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53313         * sysdeps/i386/init-first.c (init): Likewise.
53314         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53315         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53316         * sysdeps/sh/init-first.c (init): Likewise.
53318 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53320         * po/ru.po: Update from translation team.
53321         * po/vi.po: Likewise.
53323 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53325         * resolv/nss_dns/dns-host.c: Merge copyright years.
53327 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53329         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53330         Optimize memcpy with prefetch if
53331         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53332         src, dst pointers have unequal 16 byte alignments.
53334 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53336         [BZ #13928]
53337         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53338         from a CNAME entry and return the minimum ttl for the query.
53339         (gaih_getanswer_slice): Likewise.
53341 2012-03-30  Jeff Law  <law@redhat.com>
53343         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53344         due to long keys.
53345         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53346         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53348         * resolv/nss_dns/dns-host.c: Update copyright year.
53350 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53352         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53353         requests to save a system call.  Fix check that all bytes are sent.
53355         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53356         comments for sendmmsg.
53358 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53360         [BZ #13691]
53361         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53362         with only 1 character between 0x0041 and 0x01b0.
53363         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53364         * wcsmbs/tst-mbsnrtowcs.c: New file.
53366 2012-03-29  David S. Miller  <davem@davemloft.net>
53368         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53369         small copies by hand.
53371 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53373         [BZ #13761]
53374         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53375         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53376         group memberships.
53378 2012-03-28  David S. Miller  <davem@davemloft.net>
53380         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53381         that branches into memcpy.
53382         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53384         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53385         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53386         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53387         bits.
53388         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53389         implementation too.
53390         * sysdeps/sparc/mempcpy.S: New file.
53392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53393         the IFUNC routine in the libc case.
53394         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53396         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53397         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53398         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53399         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53400         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53401         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53402         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53403         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53405         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53406         loop to 256 bytes instead of 64 bytes and fix test signedness.
53408         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53409         * sysdeps/sparc/sparc32/Makefile: rather than here...
53410         * sysdeps/sparc/sparc64/Makefile: and here.
53412 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53414         * malloc/mallocbug.c: Avoid warnings about unused variables.
53416 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53418         [BZ #13760]
53419         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53420         in the right place. Discard and retry query if response is
53421         larger than input buffer size.
53423 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53425         [BZ #369]
53426         [BZ #2678]
53427         [BZ #3866]
53428         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53429         x for large integer exponent.
53430         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53431         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53432         sign of result as needed afterwards.
53433         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53434         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53435         result for underflowing pow the same as for overflow.
53436         (__kernel_standard_l): Handle powl overflow and underflow here
53437         rather than calling __kernel_standard.
53438         * math/libm-test.inc (pow_test): Add more tests.
53440         [BZ #3868]
53441         [BZ #13879]
53442         [BZ #13910]
53443         [BZ #13911]
53444         [BZ #13912]
53445         [BZ #13913]
53446         [BZ #13915]
53447         [BZ #13916]
53448         [BZ #13917]
53449         [BZ #13918]
53450         [BZ #13919]
53451         [BZ #13920]
53452         [BZ #13921]
53453         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53454         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53455         (__kernel_standard_l): New function.
53456         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53457         __kernel_standard.
53458         * math/w_acosl.c (__acosl): Likewise.
53459         * math/w_asinl.c (__asinl): Likewise.
53460         * math/w_atan2l.c (__atan2l): Likewise.
53461         * math/w_atanhl.c (__atanhl): Likewise.
53462         * math/w_coshl.c (__coshl): Likewise.
53463         * math/w_exp10l.c (__exp10l): Likewise.
53464         * math/w_exp2l.c (__exp2l): Likewise.
53465         * math/w_fmodl.c (__fmodl): Likewise.
53466         * math/w_hypotl.c (__hypotl): Likewise.
53467         * math/w_j0l.c (__j0l, __y0l): Likewise.
53468         * math/w_j1l.c (__j1l, __y1l): Likewise.
53469         * math/w_jnl.c (__jnl, __ynl): Likewise.
53470         * math/w_lgammal.c (__lgammal): Likewise.
53471         * math/w_log10l.c (__log10l): Likewise.
53472         * math/w_log2l.c (__log2l): Likewise.
53473         * math/w_logl.c (__logl): Likewise.
53474         * math/w_powl.c (__powl): Likewise.
53475         * math/w_remainderl.c (__remainderl): Likewise.
53476         * math/w_scalbl.c (sysv_scalbl): Likewise.
53477         * math/w_sinhl.c (__sinhl): Likewise.
53478         * math/w_sqrtl.c (__sqrtl): Likewise.
53479         * math/w_tgammal.c (__tgammal): Likewise.
53480         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53481         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53482         * math/libm-test.inc (acos_test): Add more tests.
53483         (acosh_test): Likewise.
53484         (asin_test): Likewise.
53485         (atanh_test): Likewise.
53486         (exp_test): Likewise.
53487         (exp10_test): Likewise.
53488         (exp2_test): Likewise.
53489         (expm1_test): Likewise.
53490         (lgamma_test): Likewise.
53491         (log_test): Likewise.
53492         (log10_test): Likewise.
53493         (log1p_test): Likewise.
53494         (log2_test): Likewise.
53495         (pow_test): Do not allow some spurious overflow exceptions.
53496         (sqrt_test): Add more tests.
53497         (tgamma_test): Likewise.
53498         (y0_test): Likewise.
53499         (y1_test): Likewise.
53500         (yn_test): Likewise.
53502 2012-03-27  Anton Blanchard  <anton@samba.org>
53504         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53505         MAP_HUGETLB.
53506         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53507         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53508         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53510 2012-03-27  David S. Miller  <davem@davemloft.net>
53512         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53514         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53515         have-as-vis3 check.
53517 2012-03-27  Andreas Jaeger  <aj@suse.de>
53519         * sysdeps/x86_64/elf/configure.in: Moved to ...
53520         * sysdeps/x86_64/configure.in: ... here.
53521         * sysdeps/x86_64/elf/start.S: Moved to ...
53522         * sysdeps/x86_64/start.S: ... here.
53523         * sysdeps/x86_64/elf/configure: Delete.
53525         * sysdeps/x86_64/configure.in: Merge contents from
53526         sysdeps/i386/configure.in (without i686 check).
53528         * sysdeps/i386/elf/Versions: Merge into ...
53529         * sysdeps/i386/Versions: ... this.
53530         * sysdeps/i386/elf/Versions: Delete file.
53531         * sysdeps/i386/elf/start.S: Moved to ...
53532         * sysdeps/i386/start.S: ...here.
53533         * sysdeps/i386/elf/configure.in: Merge into...
53534         * sysdeps/i386/configure.in: ...here.
53535         * sysdeps/i386/elf/configure.in: Delete file.
53536         * sysdeps/i386/elf/configure: Delete file.
53538         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53539         * debug/backtracesyms.c: ... here.
53540         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53541         * debug/backtracesymsfd.c: ... here.
53542         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53543         * sysdeps/generic/ifunc-sel.h: ... here.
53545         * sysdeps/unix/i386/start.c: Delete file.
53546         * sysdeps/unix/sparc/start.c: Delete file.
53547         * sysdeps/unix/start.c: Delete file.
53549         * sysdeps/sh/elf/configure.in: Moved to ...
53550         * sysdeps/sh/configure.in: ... here.
53551         * sysdeps/sh/elf/start.S: Moved to ...
53552         * sysdeps/sh/start.S: ... here.
53553         * sysdeps/sh/elf/configure: Delete file.
53555         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53556         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53557         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53558         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53559         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53560         * sysdeps/powerpc/powerpc64/start.S: here.
53561         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53562         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53563         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53564         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53565         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53567         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53568         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53569         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53570         * sysdeps/powerpc/powerpc32/start.S: ... here.
53571         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53572         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53573         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53575         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53576         * sysdeps/powerpc/ifunc-sel.h: ... here.
53577         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53578         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53580         * sysdeps/sparc/elf/configure.in: Moved to ...
53581         * sysdeps/sparc/configure.in: ... here.
53582         * sysdeps/sparc/elf/configure: Delete file.
53583         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53584         * sysdeps/sparc/sparc32/start.S: ... here.
53585         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53586         * sysdeps/sparc/sparc64/start.S: ... here.
53587         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53588         * sysdeps/sparc/sparc32/Makefile: ... this.
53589         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53590         * sysdeps/sparc/sparc64/Makefile: ... this.
53592         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53593         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53594         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53595         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53596         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53597         * sysdeps/s390/s390-32/setjmp.S: ... here.
53598         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53599         * sysdeps/s390/s390-32/configure.in: ... here.
53600         * sysdeps/s390/s390-32/elf/configure: Delete file.
53601         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53602         * sysdeps/s390/s390-32/start.S: ... here.
53604         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53605         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53606         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53607         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53608         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53609         * sysdeps/s390/s390-64/setjmp.S: ... here.
53610         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53611         * sysdeps/s390/s390-64/configure.in: ... here
53612         * sysdeps/s390/s390-64/elf/configure: Delete file.
53613         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53614         * sysdeps/s390/s390-64/start.S: ... here.
53615         * sysdeps/s390/s390-64/elf/configure: Delete.
53617         * configure.in: Remove support for elf directories in sysdeps.
53619         * configure: Regenerated.
53620         * sysdeps/i386/configure: Regenerated.
53621         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53622         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53623         * sysdeps/s390/s390-32/configure: Regenerated.
53624         * sysdeps/s390/s390-64/configure: Regenerated.
53625         * sysdeps/sh/configure: Regenerated.
53626         * sysdeps/sparc/configure: Regenerated.
53627         * sysdeps/x86_64/configure: Regenerated.
53629 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53634         denormal result into account.
53636 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53638         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53639         Reported by Allan McRae <allan@archlinux.org>.
53641 2012-03-23  Jeff Law  <law@redhat.com>
53643         * nss/getnssent.c (__nss_getent): Fix typo.
53645 2012-03-23  David S. Miller  <davem@davemloft.net>
53647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53649 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53651         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53652         to pad to uint64_t for each field.
53653         (dl_tls_index): Replace unsigned long with uint64_t.
53655 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53656         Paul Pluzhnikov  <ppluzhnikov@google.com>
53658         [BZ #6528]
53659         * grp/Makefile (otherlibs): Don't set it.
53660         * inet/Makefile (otherlibs): Likewise.
53661         * login/Makefile (otherlibs): Likewise.
53662         * nscd/Makefile (otherlibs): Likewise.
53663         * posix/Makefile (otherlibs): Likewise.
53664         * pwd/Makefile (otherlibs): Likewise.
53665         * rt/Makefile (otherlibs): Likewise.
53666         * sunrpc/Makefile (otherlibs): Likewise.
53667         * nss/Makefile (otherlibs): Likewise.
53668         Add libnss_files to routines and static-only-routines.
53669         ($(objpfx)getent): Remove rule.
53670         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53671         static-only-routines.
53673 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53675         [BZ #13892]
53676         * math/s_cexp.c: Include <float.h>.
53677         (__cexp): Handle exp result overflowing not necessarily
53678         overflowing both real and imaginary parts of result.
53679         * math/s_cexpf.c: Likewise.
53680         * math/s_cexpl.c: Likewise.
53681         * math/libm-test.inc (cexp_test): Add more tests.
53682         * sysdeps/i386/fpu/libm-test-ulps: Update.
53683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53685 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53687         * include/link.h (ELFW): New macro.
53688         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53689         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53691 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53693         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53694         with uint64_t.
53696 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53698         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53699         declaration.
53700         (struct La_x32_retval): Likewise.
53702 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53704         * sysdeps/x86_64/preconfigure.in: New file.
53705         * sysdeps/x86_64/preconfigure: New generated file.
53707 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53709         [BZ #13824]
53710         * math/e_exp2l.c: Include <float.h>.
53711         (__ieee754_exp2l): Handle overflow and underflow cases
53712         separately.  Only pass fractional part of argument to
53713         __ieee754_expl.
53714         * math/libm-test.inc (exp2_test): Add more tests.
53716         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53717         negating x to take absolute value.
53718         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53719         Likewise.
53720         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53721         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53722         Likewise.
53723         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53724         computing low part if x was negated.
53725         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53727 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53729         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53730         la_x32_gnu_pltexit.
53731         (pltexit): Cast int_retval to ptrdiff_t.
53732         * elf/tst-auditmod3b.c: Likewise.
53733         * elf/tst-auditmod4b.c: Likewise.
53734         * elf/tst-auditmod5b.c: Likewise.
53735         * elf/tst-auditmod6b.c: Likewise.
53736         * elf/tst-auditmod6c.c: Likewise.
53737         * elf/tst-auditmod7b.c: Likewise.
53739         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53740         and x32_gnu_pltexit.
53742         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53743         __ELF_NATIVE_CLASS.
53744         (La_x32_regs): New macro.
53745         (La_x32_retval): Likewise.
53746         (la_x32_gnu_pltenter): New function prototype.
53747         (la_x32_gnu_pltexit): Likewise.
53749 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53751         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53752         exponent.
53754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53756         * configure.in (libc_cv_cc_nofma): Check for option to disable
53757         generation of FMA instructions.
53758         * configure: Regenerate.
53759         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53760         * sysdeps/ieee754/dbl-64/Makefile: New file.
53761         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53762         Remove brandred-fma4.
53763         (CFLAGS-brandred-fma4.c): Remove.
53764         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53765         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53766         define.
53767         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53768         define.
53770 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53772         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53773         LLONG_MAX != LONG_MAX.
53774         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53775         (_fitoa_word): Likewise.
53776         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53777         LLONG_MAX != LONG_MAX.
53778         * stdio-common/_itowa.h: Include <_itoa.h>.
53779         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53780         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53781         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53782         only if not defined.
53783         (_ITOA_WORD_TYPE): Likewise.
53784         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53785         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53787 2012-03-21  David S. Miller  <davem@davemloft.net>
53789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53791 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53793         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53794         of x86_64 when setting libc_cv_slibdir, libdir and
53795         libc_cv_localedir.
53796         * sysdeps/unix/sysv/linux/configure: Regenerated.
53798 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53800         * manual/lang.texi (Old Varargs): Remove section.
53801         (How Variadic): Update menu.
53802         (va_start): Do not mention varargs.h.
53804 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53805             Joseph Myers  <joseph@codesourcery.com>
53807         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53808         link test.
53809         * configure: Regenerated.
53811 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53813         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53814         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53815         conformtest.pl
53817 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53819         * NOTES: Remove.
53820         * Makefile (files-for-dist): Remove NOTES.
53821         (NOTES): Remove rule.
53822         * README: Don't refer to NOTES.
53823         * manual/creature.texi: Don't include macros.texi.
53824         * manual/intro.texi (creature.texi): Remove comment referring to
53825         NOTES.
53827         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53828         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53829         * configure: Regenerated.
53830         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53831         LIBC_TRY_CC_OPTION.
53832         (libc_cv_as_i686): Likewise.
53833         (libc_cv_cc_avx): Likewise.
53834         (libc_cv_cc_sse2avx): Likewise.
53835         (libc_cv_cc_fma4): Likewise.
53836         (libc_cv_cc_novzeroupper): Likewise.
53837         * sysdeps/i386/configure: Regenerated.
53839         [BZ #13883]
53840         * sysdeps/i386/fpu/s_cexp.S: Remove.
53841         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53842         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53843         * math/libm-test.inc (cexp_test): Add more tests.
53844         * sysdeps/i386/fpu/libm-test-ulps: Update.
53845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53847 2012-03-21  Allan McRae  <allan@archlinux.org>
53849         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53851 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53853         [BZ #13871]
53854         * math/w_exp2.c: Do not include <float.h>.
53855         (o_threshold, u_threshold): Remove.
53856         (__exp2): Calculate result before checking finiteness and calling
53857         __kernel_standard.
53858         * math/w_exp2f.c: Likewise.
53859         * math/w_exp2l.c: Likewise.
53860         * math/libm-test.inc (exp2_test): Require overflow exception for
53861         1e6 input.
53863         [BZ #3866]
53864         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53865         range of signed 64-bit integers before using fistpll.  Remove
53866         checks for whether integers fit in mantissa bits.
53867         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53868         the range of signed 32-bit integers before using fistpl.  Remove
53869         checks for whether integers fit in mantissa bits.
53870         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53871         (__ieee754_powl): Test for y outside the range of signed 64-bit
53872         integers before using fistpll.  Reduce 64-bit values to 63-bit
53873         ones as needed.
53874         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53875         divide-by-zero is raised for zero to large negative powers.
53876         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53877         (__ieee754_powl): Test for y outside the range of signed 64-bit
53878         integers before using fistpll.  Reduce 64-bit values to 63-bit
53879         ones as needed.
53880         * math/libm-test.inc (pow_test): Add more tests.
53882 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53884         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53885         <stdio-common/_itoa.h>.
53886         * debug/segfault.c: Likewise.
53887         * elf/dl-cache.c: Likewise.
53888         * elf/dl-minimal.c: Likewise.
53889         * elf/dl-misc.c: Likewise.
53890         * elf/dl-sysdep.c: Likewise.
53891         * elf/dl-version.c: Likewise.
53892         * elf/rtld.c: Likewise.
53893         * hurd/hurdsock.c: Likewise.
53894         * hurd/lookup-retry.c: Likewise.
53895         * malloc/malloc.c: Likewise.
53896         * malloc/mtrace.c: Likewise.
53897         * nscd/nscd_getgr_r.c: Likewise.
53898         * nscd/nscd_getpw_r.c: Likewise.
53899         * nscd/nscd_getserv_r.c: Likewise.
53900         * posix/getopt_init.c: Likewise.
53901         * posix/wordexp.c: Likewise.
53902         * stdio-common/_itoa.c: Likewise.
53903         * stdio-common/printf_fphex.c: Likewise.
53904         * stdio-common/vfprintf.c: Likewise.
53905         * string/_strerror.c: Likewise.
53906         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53907         * sysdeps/i386/i686/hp-timing.h: Likewise.
53908         * sysdeps/mach/_strerror.c: Likewise.
53909         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53910         * sysdeps/mach/hurd/sethostid.c: Likewise.
53911         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53912         * sysdeps/mach/xpg-strerror.c: Likewise.
53913         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53915         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53916         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53917         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53918         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53919         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53920         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53921         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53922         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53923         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53924         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53925         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53926         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53927         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53928         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53929         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53930         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53931         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53932         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53933         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53935         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53937         * stdio-common/_itoa.h: Moved to ...
53938         * sysdeps/generic/_itoa.h: Here.
53940         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53942         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53943         instead of "_itoa.h" and "_itowa.h".
53944         * stdio-common/vfprintf.: Likewise.
53946 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53948         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53949         <bits/wordsize.h>.
53950         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53951         (__signbit): Likwise.
53952         (llrintf): Likwise.
53953         (llrint): Likwise.
53955 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53957         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53958         __WORDSIZE != 64.
53960 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53962         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53963         OVERFLOW_EXCEPTION_OK.
53964         * math/libm-test.inc ("Philosophy"): Update comment about
53965         exception testing.
53966         (OVERFLOW_EXCEPTION): Define.
53967         (OVERFLOW_EXCEPTION_OK): Likewise.
53968         (INVALID_EXCEPTION_OK): Renumber.
53969         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53970         (IGNORE_ZERO_INF_SIGN): Likewise.
53971         (test_exceptions): Handle FE_OVERFLOW.
53972         (exp10_test): Expect overflow exceptions.
53973         (exp2_test): Likewise.
53974         (expm1_test): Likewise.
53975         (nextafter_test): Likewise.
53976         (pow_test): Likewise.
53977         (scalbn_test): Likewise.
53978         (scalbln_test): Likewise.
53980 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53982         * sysdeps/x86_64/bits/atomic.h
53983         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53984         64bit integer.
53985         (atomic_exchange_acq): Likewise.
53986         (__arch_exchange_and_add_body): Likewise.
53987         (__arch_add_body): Likewise.
53988         (atomic_add_negative): Likewise.
53989         (atomic_add_zero): Likewise.
53991 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53993         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53994         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53996 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53998         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53999         Check __x86_64__ instead of __WORDSIZE.
54001 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54003         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54005 2012-03-19  David S. Miller  <davem@davemloft.net>
54007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54009         * sysdeps/sparc/fpu/fenv_private.h: New file.
54010         * sysdeps/sparc/fpu/math_private.h: Use it.
54011         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54012         Remove.
54013         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54014         (libc_feholdexcept_setroundl): Remove.
54015         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54016         Remove.
54017         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54018         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54020 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54022         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54023         int64_t instead of long int.
54024         (INSERT_WORDS64): Likwise.
54026 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54028         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54029         _Unwind_GetCFA return to _Unwind_Ptr first.
54031 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
54033         [BZ #13629]
54034         * math/s_clog.c: Include <float.h>.
54035         (__clog): Scale large or subnormal inputs.
54036         * math/s_clogf.c: Likewise.
54037         * math/s_clogl.c: Likewise.
54038         * math/s_clog10.c: Include <float.h>.
54039         (M_LOG10_2): Define.
54040         (__clog10): Scale large or subnormal inputs.
54041         * math/s_clog10f.c: Likewise.
54042         * math/s_clog10l.c: Likewise.
54043         * math/libm-test.inc (clog_test): Add more tests.
54044         (clog10_test): Likewise.
54045         * sysdeps/i386/fpu/libm-test-ulps: Update.
54046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54048         [BZ #11451]
54049         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54050         x and y.
54051         * math/libm-test.inc (atan2_test): Add another test.
54053         * Makerules (common-objdir-compile): Remove.
54054         * sysdeps/unix/Makefile (config-generated): Do not add
54055         $(unix-generated) to variable.
54056         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54057         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54058         Remove rule.
54059         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54060         Likewise.
54061         [generic bits/local_lim.h] (before-compile): Do not append to
54062         variable.
54063         [generic bits/local_lim.h] (common-generated): Likewise.
54064         [generic sys/param.h] (before-compile): Do not append to variable.
54065         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54066         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54067         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54068         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54069         include.
54070         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54071         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54072         [generic sys/param.h] ($(addprefix
54073         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54074         [generic sys/param.h] (common-generated): Do not append to
54075         variable.
54076         [generic sys/param.h] (sysdep_headers): Likewise.
54077         [generic bits/errno.h] (before-compile): Do not append to
54078         variable.
54079         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54080         rule.
54081         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54082         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54083         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54084         [generic bits/errno.h] (common-generated): Do not append to
54085         variable.
54086         [generic bits/ioctls.h] (before-compile): Do not append to
54087         variable.
54088         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54089         rule.
54090         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54091         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54092         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54093         rule.
54094         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54095         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54096         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54097         [generic bits/ioctls.h] (common-generated): Do not append to
54098         variable.
54099         [generic sys/syscall.h] (syscall.h): Remove variable.
54100         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54101         rule.
54102         [generic sys/syscall.h] (before-compile): Do not append to
54103         variable.
54104         [generic sys/syscall.h] (common-generated): Likewise.
54105         * sysdeps/unix/errnos-tmpl.c: Remove file.
54106         * sysdeps/unix/errnos.awk: Likewise.
54107         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54108         * sysdeps/unix/ioctls.awk: Likewise.
54109         * sysdeps/unix/mk-local_lim.c: Likewise.
54110         * sysdeps/unix/snarf-ioctls: Likewise.
54112 2012-03-19  Richard Henderson  <rth@twiddle.net>
54114         * sysdeps/i386/fpu/fenv_private.h: New file.
54115         * sysdeps/i386/fpu/math_private.h: Use it.
54116         (math_opt_barrier, math_force_eval): Remove.
54117         (libc_feholdexcept_setround_53bit): Remove.
54118         (libc_feupdateenv_53bit): Remove.
54119         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54120         (math_opt_barrier, math_force_eval): Remove.
54121         (libc_feholdexcept): Remove.
54122         (libc_feholdexcept_setround): Remove.
54123         (libc_fetestexcept, libc_fesetenv): Remove.
54124         (libc_feupdateenv_test): Remove.
54125         (libc_feupdateenv, libc_feholdsetround): Remove.
54126         (libc_feresetround): Remove.
54128         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54129         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54131         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54132         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54133         (libc_feupdateenv_testl): New.
54134         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54135         (libc_feupdateenv_testf): New.
54136         (libc_feupdateenv): Use libc_feupdateenv_test.
54137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54138         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54140         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54141         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54142         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54143         (libc_feresetround_noex): New.
54144         (libc_feresetround_noexf): New.
54145         (libc_feresetround_noexl): New.
54146         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54147         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54148         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54149         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54150         SET_RESTORE_ROUND.
54151         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54152         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54153         (__cos): Likewise.
54154         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54155         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54156         SET_RESTORE_ROUND_NOEX.
54157         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54158         SET_RESTORE_ROUND_NOEXF.
54159         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54160         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54161         (libc_feholdsetroundf): New.
54162         (libc_feresetround, libc_feresetroundf): New.
54164         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54165         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54166         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54168         * sysdeps/generic/math_private.h: Include <fenv.h>.
54169         (default_libc_feholdexcept): New.
54170         (default_libc_feholdexcept_setround): New.
54171         (default_libc_fesetenv, default_libc_feupdateenv): New.
54172         (libc_feholdexcept): Only define if undefined.
54173         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54174         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54175         (libc_feholdexcept_setroundl): Likewise.
54176         (libc_feholdexcept_setround_53bit): Likewise.
54177         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54178         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54179         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54180         (libc_feupdateenv_53bit): Likewise.
54181         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54182         (libc_feholdexcept): Convert from macro to inline function.
54183         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54184         (libc_fesetenv, libc_feupdateenv): Likewise.
54186         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54187         not previously defined.
54188         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54189         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54190         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54191         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54192         * sysdeps/ieee754/flt-32/math_private.h: New file.
54193         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54194         math_private.h below SET_FLOAT_WORD.
54195         (__isnan, __isinf_ns, __finite): Remove.
54196         (__isnanf, __isinf_nsf, __finitef): Remove.
54198 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54202 2012-03-17  David S. Miller  <davem@davemloft.net>
54204         [BZ #6471]
54205         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54206         for 2.16.
54208 2012-03-16  David S. Miller  <davem@davemloft.net>
54210         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54211         warnings.
54213         [BZ #6471]
54214         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54215         properly.
54216         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54217         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54218         sysdep_routines when subdir is sysvipc.
54219         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54220         __getshmlba helper.
54222         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54224 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54226         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54227         [__LP64__].
54229 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54231         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54232         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54233         (__lround): Renamed to ...
54234         (__llround): This.  Replace long int with long long int.
54235         Define lround functions as aliases of llround functions.
54236         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54238 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54240         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54241         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54242         adresses to uintptr_t.  Replace "long int" and "unsigned long
54243         int" with "greg_t" on va_arg.
54245 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54247         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54248         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54250         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54251         Move e_machine check before EI_CLASS check.  Handle x32
54252         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54253         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54254         SKIP_EM_IA_64 and include
54255         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54257         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54258         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54259         (add_system_dir): New macro.
54261         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54262         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54264 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54266         [BZ #2551]
54267         [BZ #2552]
54268         [BZ #2553]
54269         [BZ #2554]
54270         [BZ #2562]
54271         [BZ #2563]
54272         [BZ #2565]
54273         [BZ #2566]
54274         [BZ #2576]
54275         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54276         (y0): Likewise.
54277         * math/w_j0f.c (j0f): Likewise.
54278         (y0f): Likewise.
54279         * math/w_j0l.c (__j0l): Likewise.
54280         (__y0l): Likewise.
54281         * math/w_j1.c (j1): Likewise.
54282         (y1): Likewise.
54283         * math/w_j1f.c (j1f): Likewise.
54284         (y1f): Likewise.
54285         * math/w_j1l.c (__j1l): Likewise.
54286         (__y1l): Likewise.
54287         * math/w_jn.c (jn): Likewise.
54288         (yn): Likewise.
54289         * math/w_jnf.c (jnf): Likewise.
54290         (ynf): Likewise.
54291         * math/w_jnl.c (__jnl): Likewise.
54292         (__ynl): Likewise.
54293         * math/libm-test.inc (j0_test): Add more tests.
54294         (j1_test): Likewise.
54295         (jn_test): Likewise.  Add trailing semicolon to existing test.
54296         (y0_test): Likewise.
54297         (y1_test): Likewise.
54298         * sysdeps/i386/fpu/libm-test-ulps: Update.
54299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54301         [BZ #13851]
54302         [BZ #13854]
54303         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54304         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54305         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54306         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54307         (__tanl): Set errno for infinite argument.
54308         * sysdeps/i386/fpu/mptan.c: Remove.
54309         * sysdeps/i386/fpu/s_tan.S: Likewise.
54310         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54311         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54312         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54313         * math/libm-test.inc (tan_test): Add more tests and enable more
54314         tests for double and long double.
54315         * sysdeps/i386/fpu/libm-test-ulps: Update.
54316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54318 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54320         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54321         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54323 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54325         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54326         * configure.in: Use it for both main tree and add-ons.
54327         * configure: Regenerated.
54329 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54331         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54333 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54335         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54336         in comment.
54338         [BZ #13851]
54339         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54340         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54344         infinite argument.
54345         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54346         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54347         != 0 for prec == 2.
54348         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54349         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54350         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54351         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54352         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54353         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54354         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54355         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54356         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54357         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54358         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54359         * math/libm-test.inc (cos_test): Add more tests and enable more
54360         tests for long double.
54361         (sin_test): Likewise.
54362         (sincos_test): Likewise.
54363         * sysdeps/i386/fpu/libm-test-ulps: Update.
54364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54366 2012-03-16  David S. Miller  <davem@davemloft.net>
54368         * sysdeps/sparc/fpu/math_private.h: New file.
54370 2012-03-15  David S. Miller  <davem@davemloft.net>
54372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54373         file.
54374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54376         file.
54377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54382         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54383         sysdep routines.
54384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54386         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54387         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54389         * sysdeps/sparc/sparc-ifunc.h: New file.
54390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54391         sparc-ifunc.h
54392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54394         Likewise.
54395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54396         Likewise.
54397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54401         Likewise.
54402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54407         Likewise.
54408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54409         Likewise.
54410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54416         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54417         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54431         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54432         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54433         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54435 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54437         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54438         scaling.
54439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54441 2012-03-15  Andreas Jaeger  <aj@suse.de>
54443         [BZ #13852]
54444         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54445         ieee754/flt-32 implementation for sin, cos and sincos.
54446         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54447         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54448         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54449         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54450         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54451         ieee754/flt-32 implementation for tan.
54453         * math/libm-test.inc (cos_test): Enable some large input tests for
54454         float as well
54455         (sin_test): Likewise.
54456         (sincos_test): Likewise.
54457         (tan_test): Add tests for large input.
54459         * sysdeps/i386/fpu/libm-test-ulps: Update.
54461 2012-03-15  Andreas Jaeger  <aj@suse.de>
54463         [BZ #13658]
54464         * math/libm-test.inc (cos_test): Add more test cases.
54465         (sin_test): Likewise.
54466         (sincos_test): Likewise.
54468 2012-03-15  Andreas Jaeger  <aj@suse.de>
54470         [BZ #13837]
54471         * math/libm-test.inc (cos_test): Add a test case for large input
54472         value.
54473         (sin_test): Likewise.
54474         (sincos_test): Likewise.
54476 2012-03-15  Andreas Jaeger  <aj@suse.de>
54477             Joseph Myers  <joseph@codesourcery.com>
54479         [BZ #13658]
54480         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54481         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54482         * sysdeps/i386/fpu/branred.c: Likewise.
54483         * sysdeps/i386/fpu/dosincos.c: Likewise.
54484         * sysdeps/i386/fpu/mpa.c: Likewise.
54485         * sysdeps/i386/fpu/s_cos.S: Likewise.
54486         * sysdeps/i386/fpu/s_sin.S: Likewise.
54487         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54488         * sysdeps/i386/fpu/sincos32.c: Likewise.
54490         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54491         Define.
54492         (libc_feupdateenv_53bit): Define.
54493         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54494         Define.
54495         (libc_feupdateenv_53bit): Define.
54497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54498         53 bit (without extend i386 double precision).
54500         * math/libm-test.inc (sincos_test): Add tests for large input.
54501         (sin): Likewise.
54502         (cos): Likewise.
54504         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54506 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54510 2012-03-15  David S. Miller  <davem@davemloft.net>
54512         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54513         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54514         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54515         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54528         file.
54529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54531         file.
54532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54534         file.
54535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54537         file.
54538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54539         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54540         fmin/fmax sysdep routines.
54541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54543 2012-03-14  David S. Miller  <davem@davemloft.net>
54545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54572         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54573         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54574         routines.
54575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54576         file.
54577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54579         file.
54580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54582         file.
54583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54585         file.
54586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54588         file.
54589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54591         file.
54592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54593         file.
54594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54595         file.
54596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54597         file.
54598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54599         New file.
54600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54601         file.
54602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54603         file.
54604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54606         file.
54607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54609         file.
54610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54612         file.
54613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54615         VIS3 routines.
54617         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54618         New file.
54620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54622         * sysdeps/sparc/configure.in: New file.
54623         * sysdeps/sparc/configure: Generate.
54624         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54625         * configure: Regenerate.
54626         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54627         * config.make.in (have-as-vis3): New.
54628         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54629         available use -Av9d instead of -Av9a.
54630         * sysdeps/sparc/sparc64/Makefile: Likewise.
54631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54633         New file.
54634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54635         file.
54636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54637         New file.
54638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54639         file.
54640         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54644         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54646         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54647         fzeros/fnegs to load 0x80000000 into a float register instead of
54648         using the stack.
54649         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54651 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54654         bits/syscall.h.
54655         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54656         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54657         ($(inst_includedir)/bits/syscall.h): Remove rule.
54658         ($(objpfx)bits/syscall.d): Include instead of
54659         $(objpfx)syscall-list.d.
54660         (generated): Change syscall-list.h and syscall-list.d to
54661         bits/syscall.h and bits/syscall.d.
54663 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54665         [BZ #13846]
54666         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54668 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54670         [BZ #13841]
54671         * math/s_csqrt.c: Include <float.h>.
54672         (__csqrt): Scale large or subnormal inputs.
54673         * math/s_csqrtf.c: Likewise.
54674         * math/s_csqrtl.c: Likewise.
54675         * math/libm-test.inc (csqrt_test): Add more tests.
54676         * sysdeps/i386/fpu/libm-test-ulps: Update.
54677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54679         [BZ #13840]
54680         * math/libm-test.inc (hypot_test): Add more tests.
54682 2012-03-13  David S. Miller  <davem@davemloft.net>
54684         [BZ #13840]
54685         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54686         double-precision for the calculation instead of scaling.
54688 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54691         manipulate bits before adding and subtracting TWO52[sx].
54692         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54693         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54694         Likewise.
54695         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54697 2012-03-13  David S. Miller  <davem@davemloft.net>
54699         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54700         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54702         rtld-global-offsets.h
54703         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54705         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54706         large parameters.
54708         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54710         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54711         'err' in the ifdef scope in which it is actually used.
54713         * nss/nss_db/db-init.c: Include string.h
54715 2012-03-12  David S. Miller  <davem@davemloft.net>
54717         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54718         masking out of the most significant byte of random value used.
54719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54720         Fix coding style in previous change.
54722         * sysdeps/unix/sysv/linux/kernel-features.h
54723         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54724         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54725         expression.
54726         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54727         later.
54729 2012-03-11  David S. Miller  <davem@davemloft.net>
54731         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54732         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54733         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54734         for 'resultvar' otherwise things get truncated on 64-bit.
54736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54737         Fix masking out of the most significant byte of random value used.
54739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54741 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54745 2012-03-09  David S. Miller  <davem@davemloft.net>
54747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54748         variables with appropriate CPP guards.
54749         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54750         from the frame pointer, not the stack pointer.  Correct layout
54751         comments.  Fix test on resulting framesize and the management of
54752         the outregs buffer for pltexit.  Preserve floating point return
54753         values across _dl_call_pltexit call.
54754         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54755         framesize and the management of the outregs buffer for pltexit.
54756         Preserve floating point return values across _dl_call_pltexit
54757         call.
54758         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54759         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54760         (la_sparc64_gnu_pltexit): New functions.
54761         (print_exit): Fix format string for return register value.
54763 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54765         * sunrpc/Makefile (others): Add rpcgen.
54766         ($(objpfx)rpcgen): Remove special build rule and dependency on
54767         libc.
54768         * sunrpc/rpcgen.c: New file.
54770 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54772         [BZ #13673]
54773         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54774         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54775         * sysdeps/i386/crti.S: Likewise.
54776         * sysdeps/i386/crtn.S: Likewise.
54777         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54778         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54779         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54780         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54781         * sysdeps/sh/crti.S: Likewise.
54782         * sysdeps/sh/crtn.S: Likewise.
54783         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54785         [BZ #13673]
54786         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54787         with URL.
54788         * locale/programs/locfile-kw.gperf: Likewise.
54789         * locale/programs/charmap-kw.h: Regenerated.
54790         * locale/programs/locfile-kw.h: Likewise.
54792         [BZ #13673]
54793         * intl/plural.y: Replace FSF snail mail address with URL.
54794         * intl/plural.c: Regenerated.
54796 2012-03-09  Richard Henderson  <rth@twiddle.net>
54798         * include/math_private.h: Remove file.
54799         * math/math_private.h: Move file ...
54800         * sysdeps/generic/math_private.h: ... here.
54802         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54803         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54804         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54806         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54807         and <math_private.h>.
54808         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54809         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54810         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54811         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54812         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54813         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54814         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54816         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54819         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54820         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54821         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54822         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54823         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54826         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54829         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54830         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54832         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54833         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54834         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54835         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54836         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54837         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54838         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54840         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54841         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54842         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54843         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54844         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54845         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54846         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54847         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54848         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54849         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54850         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54851         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54852         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54853         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54854         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54855         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54856         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54857         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54858         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54859         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54860         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54861         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54862         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54863         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54864         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54865         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54866         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54867         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54868         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54869         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54870         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54871         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54872         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54873         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54874         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54875         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54876         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54877         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54878         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54879         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54881         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54882         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54887         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54888         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54889         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54890         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54891         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54892         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54894         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54895         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54896         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54897         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54898         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54899         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54900         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54901         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54902         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54903         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54904         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54905         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54906         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54907         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54908         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54909         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54910         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54911         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54912         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54913         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54914         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54915         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54916         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54917         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54918         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54919         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54920         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54921         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54922         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54923         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54924         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54925         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54926         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54927         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54928         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54929         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54930         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54931         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54932         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54933         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54934         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54935         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54936         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54937         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54938         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54939         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54940         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54941         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54942         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54943         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54944         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54945         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54946         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54947         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54948         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54949         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54950         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54951         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54952         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54953         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54954         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54955         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54956         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54957         * sysdeps/ieee754/k_standard.c: Likewise.
54958         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54962         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54963         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54966         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54967         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54968         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54970         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54971         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54972         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54973         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54974         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54975         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54976         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54978         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54979         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54980         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54981         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54982         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54983         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54984         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54985         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54986         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54987         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54988         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54989         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54990         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54991         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54992         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54993         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54994         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54995         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54997         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54998         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54999         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55000         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55001         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55002         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55003         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55006         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55008         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55009         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55010         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55011         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55012         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55013         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55014         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55015         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55016         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55017         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55018         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55019         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55045         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55048         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55049         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55051         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55052         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55053         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55057         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55060         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55061         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55062         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55065         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55070         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55071         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55072         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55073         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55074         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55075         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55076         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55077         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55078         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55079         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55080         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55081         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55085         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55088         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55090         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55091         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55092         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55094         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55095         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55096         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55099         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55100         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55101         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55102         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55105         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55107         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55108         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55109         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55111         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55112         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55113         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55114         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55115         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55116         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55117         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55118         * sysdeps/ieee754/s_lib_version.c: Likewise.
55119         * sysdeps/ieee754/s_matherr.c: Likewise.
55120         * sysdeps/ieee754/s_signgam.c: Likewise.
55121         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55122         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55123         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55124         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55125         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55126         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55127         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55128         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55129         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55130         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55131         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55132         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55133         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55134         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55135         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55136         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55137         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55138         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55139         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55141         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55143 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55145         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55146         * sunrpc/rpc_main.c: Likewise.
55147         * sunrpc/rpc_svcout.c: Likewise.
55149 2012-03-09  David S. Miller  <davem@davemloft.net>
55151         * include/math_private.h: New file.
55153 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55155         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55156         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55157         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55158         from <bits/socket_type.h>.
55159         (enum __socket_type): Don't define here.
55160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55162         bits/socket_type.h.
55164         [BZ #13566]
55165         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55166         checking __USE_GNU.
55168         * Makerules ($(inst_includedir)/%.h): New rule.
55169         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55170         (install-others): Remove variable setting.
55171         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55173 2012-03-08  Richard Henderson  <rth@twiddle.net>
55175         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55176         from macro to inline function; merge with the
55177         !__LIBC_INTERNAL_MATH_INLINES version.
55178         (__ieee754_sqrtf): Likewise.
55180         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55181         to inline function.
55182         (__rintf, __floor, __floorf): Likewise.
55184         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55185         macro to inline function.
55186         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55188         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55189         not <math/math_private.h>.
55191 2012-03-08  David S. Miller  <davem@davemloft.net>
55193         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55194         copyright year.
55195         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55197 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55199         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55200         normalization.
55201         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55202         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55204 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55206         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55207         be defined individually, they must be defined as a block.  Define
55208         S for printing a string instead of hidint the different by using a
55209         macro for adding the 'l'.
55210         * stdio-common/tst-fphex-wide.c: Adjust.
55212 2012-03-07  Marek Polacek  <polacek@redhat.com>
55214         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55216 2012-03-08  Marek Polacek  <polacek@redhat.com>
55218         [BZ #13806]
55219         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55220         * stdio-common/tst-fphex.c: Define a few macros to make the
55221         test reusable.  Use them.
55222         * stdio-common/tst-fphex-wide.c: New file.
55224 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55226         [BZ #6911]
55227         * manual/macros.texi (gnusystems): New macro.
55228         (nongnusystems): Likewise.
55229         (gnulinuxhurdsystems): Likewise.
55230         (gnuhurdsystems): Likewise..
55231         (gnulinuxsystems): Likewise.
55232         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55233         variants of the GNU system, not "GNU system".
55234         * manual/conf.texi: Likewise.
55235         * manual/errno.texi: Likewise.  Update example of errno macro
55236         expansion.
55237         * manual/filesys.texi: Likewise.
55238         (getumask): Document as specific to GNU/Hurd.
55239         * manual/install.texi: Likewise.  Reword some references to
55240         GNU/Linux.
55241         * manual/intro.texi: Likewise.
55242         * manual/io.texi: Likewise.
55243         (File Name Portability): Detail which constraints are inapplicable
55244         to all GNU systems and which are only inapplicable to GNU/Hurd.
55245         * manual/job.texi: Likewise.
55246         * manual/llio.texi: Likewise.
55247         (O_NOCTTY): Document as present on GNU/Linux.
55248         * manual/maint.texi: Likewise.
55249         * manual/memory.texi: Likewise.
55250         * manual/pattern.texi: Likewise.
55251         * manual/pipe.texi: Likewise.
55252         * manual/process.texi: Likewise.
55253         * manual/resource.texi: Likewise.
55254         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55255         child on GNU/Hurd.
55256         * manual/setjmp.texi: Likewise.
55257         * manual/signal.texi: Likewise.
55258         * manual/startup.texi: Likewise.
55259         * manual/stdio.texi: Likewise.
55260         * manual/terminal.texi: Likewise.
55261         (ONLCR): Document as POSIX.
55262         (OXTABS): Document availability on GNU/Linux as XTABS.
55263         (ONOEOT): Document availability separately from other bits.
55264         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55265         * manual/time.texi: Likewise.
55266         * manual/users.texi: Likewise.
55267         * INSTALL: Regenerated.
55268         * sysdeps/gnu/errlist.c: Regenerated.
55270         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55271         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55272         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55273         puts.
55274         * configure: Regenerated.
55276 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55278         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55279         default includes instead of AC_HEADER_CHECK.
55280         * sysdeps/i386/configure: Regenerated.
55282         [BZ #10716]
55283         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55284         * math/s_cacoshf.c (__cacoshf): Likewise.
55285         * math/s_cacoshl.c (__cacoshl): Likewise.
55286         * math/s_casinh.c (__casinh): Set signs of result from argument.
55287         * math/s_casinhf.c (__casinhf): Likewise.
55288         * math/s_casinhl.c (__casinhl): Likewise.
55289         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55290         (casinh_test): Add more tests.
55291         * sysdeps/i386/fpu/libm-test-ulps: Update.
55292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55294 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55296         * po/zh_TW.po: Update from translation team.
55298         * login/Makefile (distribute): Remove variable.
55299         * catgets/Makefile: Likewise.
55300         * mach/Makefile: Likewise.
55301         * malloc/Makefile: Likewise.
55302         * misc/Makefile: Likewise.
55303         * iconv/Makefile: Likewise.
55304         * nscd/Makefile: Likewise.
55305         * hurd/Makefile: Likewise.
55306         * manual/Makefile: Likewise.
55307         * locale/Makefile: Likewise.
55308         * intl/Makefile: Likewise.
55309         * conform/Makefile: Likewise.
55310         * nss/Makefile: Likewise.
55311         * time/Makefile: Likewise.
55312         * soft-fp/Makefile: Likewise.
55313         * dirent/Makefile: Likewise.
55314         * gmon/Makefile: Likewise.
55315         * po/Makefile: Likewise.
55316         * rt/Makefile: Likewise.
55317         * socket/Makefile: Likewise.
55318         * math/Makefile: Likewise.
55319         * signal/Makefile: Likewise.
55320         * debug/Makefile: Likewise.
55321         * elf/Makefile: Likewise.
55322         * timezone/Makefile: Likewise.
55323         * stdlib/Makefile: Likewise.
55324         * iconvdata/Makefile: Likewise.
55325         * sunrpc/Makefile: Likewise.
55326         * io/Makefile: Likewise.
55327         * argp/Makefile: Likewise.
55328         * inet/Makefile: Likewise.
55329         * hesiod/Makefile: Likewise.
55330         * grp/Makefile: Likewise.
55331         * csu/Makefile: Likewise.
55332         * wctype/Makefile: Likewise.
55333         * crypt/Makefile: Likewise.
55334         * libio/Makefile: Likewise.
55335         * string/Makefile: Likewise.
55336         * nis/Makefile: Likewise.
55337         * resolv/Makefile: Likewise.
55338         * stdio-common/Makefile: Likewise.
55339         * wcsmbs/Makefile: Likewise.
55340         * dlfcn/Makefile: Likewise.
55341         * posix/Makefile: Likewise.
55343         [BZ #6959]
55344         * timezone/Makefile: Don't install timezone files, just the programs
55345         and scripts.
55347 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55349         * nss/databases.def: Add missing gshadow entry.
55351         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55353 2012-03-06  Marek Polacek  <polacek@redhat.com>
55355         [BZ #13726]
55356         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55357         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55358         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55359         * stdio-common/tst-long-dbl-fphex.c: New file.
55361 2012-03-06  David S. Miller  <davem@davemloft.net>
55363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55364         (set_obp_int): New function.
55365         (get_obp_int): New function.
55366         (__get_clockfreq_via_dev_openprom): Likewise.
55367         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55368         Avoid unused variable warnings on 'val' and use builtin_expect.
55369         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55370         __builtin_expect.
55371         (INLINE_CLONE_SYSCALL): Likewise.
55373 2012-03-05  David S. Miller  <davem@davemloft.net>
55375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55377 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55381         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55382         only for |x| >= 40.
55383         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55385 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55387         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55388         Replace gettimeofday with __vdso_gettimeofday.
55390         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55391         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55392         __vdso_clock_gettime and __vdso_getcpu.
55394         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55395         time with __vdso_time.
55397 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55399         * manual/lang.texi (size_t): Note types to which size_t may be
55400         equivalent with the GNU C Library, but do not describe when
55401         differences between them are significant.
55403 2012-03-05  Andreas Jaeger  <aj@suse.de>
55405         * sysdeps/i386/fpu/libm-test-ulps: Update.
55407 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55409         [BZ #3976]
55410         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55411         (__ieee754_pow): Save and restore rounding mode and use
55412         round-to-nearest for main computations.
55413         * math/libm-test.inc (pow_test_tonearest): New function.
55414         (pow_test_towardzero): Likewise.
55415         (pow_test_downward): Likewise.
55416         (pow_test_upward): Likewise.
55417         (main): Call the new functions.
55418         * sysdeps/i386/fpu/libm-test-ulps: Update.
55419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55421         [BZ #3976]
55422         * math/libm-test.inc (cosh_test_tonearest): New function.
55423         (cosh_test_towardzero): Likewise.
55424         (cosh_test_downward): Likewise.
55425         (cosh_test_upward): Likewise.
55426         (sinh_test_tonearest): Likewise.
55427         (sinh_test_towardzero): Likewise.
55428         (sinh_test_downward): Likewise.
55429         (sinh_test_upward): Likewise.
55430         (main): Call the new functions.
55431         * sysdeps/i386/fpu/libm-test-ulps: Update.
55432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55434 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55436         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55437         default stack guard is set in last bytes.
55438         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55440 2012-03-05  Kees Cook  <keescook@chromium.org>
55442         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55444         [BZ #13656]
55445         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55446         possibly allocate from heap instead of stack.
55447         * stdio-common/bug-vfprintf-nargs.c: New file.
55448         * stdio-common/Makefile (tests): Add nargs overflow test.
55450 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55454 2012-03-03  Marek Polacek  <polacek@redhat.com>
55456         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55457         * math/math_private.h: Likewise.
55458         * stdlib/tst-strtod.c: Likewise.
55459         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55460         * sysdeps/x86_64/bits/atomic.h: Likewise.
55462 2012-03-02  David S. Miller  <davem@davemloft.net>
55464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55468         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55469         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55470         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55471         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55473 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55475         [BZ #13792]
55476         * manual/examples/README: New file, says the example source files
55477         can be used under GPL>=2.
55478         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55479         line containing just "*/".
55480         * manual/examples/add.c: Add copyright header (GPL>=2).
55481         * manual/examples/argp-ex1.c: Likewise.
55482         * manual/examples/argp-ex2.c: Likewise.
55483         * manual/examples/argp-ex3.c: Likewise.
55484         * manual/examples/argp-ex4.c: Likewise.
55485         * manual/examples/atexit.c: Likewise.
55486         * manual/examples/db.c: Likewise.
55487         * manual/examples/dir.c: Likewise.
55488         * manual/examples/dir2.c: Likewise.
55489         * manual/examples/execinfo.c: Likewise.
55490         * manual/examples/filecli.c: Likewise.
55491         * manual/examples/filesrv.c: Likewise.
55492         * manual/examples/fmtmsgexpl.c: Likewise.
55493         * manual/examples/genpass.c: Likewise.
55494         * manual/examples/inetcli.c: Likewise.
55495         * manual/examples/inetsrv.c: Likewise.
55496         * manual/examples/isockad.c: Likewise.
55497         * manual/examples/longopt.c: Likewise.
55498         * manual/examples/memopen.c: Likewise.
55499         * manual/examples/memstrm.c: Likewise.
55500         * manual/examples/mkfsock.c: Likewise.
55501         * manual/examples/mkisock.c: Likewise.
55502         * manual/examples/mygetpass.c: Likewise.
55503         * manual/examples/pipe.c: Likewise.
55504         * manual/examples/popen.c: Likewise.
55505         * manual/examples/rprintf.c: Likewise.
55506         * manual/examples/search.c: Likewise.
55507         * manual/examples/select.c: Likewise.
55508         * manual/examples/setjmp.c: Likewise.
55509         * manual/examples/sigh1.c: Likewise.
55510         * manual/examples/sigusr.c: Likewise.
55511         * manual/examples/stpcpy.c: Likewise.
55512         * manual/examples/strdupa.c: Likewise.
55513         * manual/examples/strftim.c: Likewise.
55514         * manual/examples/strncat.c: Likewise.
55515         * manual/examples/subopt.c: Likewise.
55516         * manual/examples/swapcontext.c: Likewise.
55517         * manual/examples/termios.c: Likewise.
55518         * manual/examples/testopt.c: Likewise.
55519         * manual/examples/testpass.c: Likewise.
55520         * manual/examples/timeval_subtract.c: Likewise.
55522         [BZ #13792]
55523         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55524         function to ...
55525         * manual/timeval_subtract.c.texi: ... here, new file.
55527 2012-03-02  David S. Miller  <davem@davemloft.net>
55529         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55531 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55533         [BZ #3976]
55534         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55535         (__sin): Save and restore rounding mode and use round-to-nearest
55536         for all computations.
55537         (__cos): Save and restore rounding mode and use round-to-nearest
55538         for all computations.
55539         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55540         <fenv.h>.
55541         (tan): Save and restore rounding mode and use round-to-nearest for
55542         all computations.
55543         * math/libm-test.inc (cos_test_tonearest): New function.
55544         (cos_test_towardzero): Likewise.
55545         (cos_test_downward): Likewise.
55546         (cos_test_upward): Likewise.
55547         (sin_test_tonearest): Likewise.
55548         (sin_test_towardzero): Likewise.
55549         (sin_test_downward): Likewise.
55550         (sin_test_upward): Likewise.
55551         (tan_test_tonearest): Likewise.
55552         (tan_test_towardzero): Likewise.
55553         (tan_test_downward): Likewise.
55554         (tan_test_upward): Likewise.
55555         (main): Call the new functions.
55556         * sysdeps/i386/fpu/libm-test-ulps: Update.
55557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55559         [BZ #10135]
55560         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55561         small n, then large n, before computing and testing k+n.
55562         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55563         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55564         Likewise.
55565         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55566         Likewise.
55567         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55568         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55569         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55570         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55571         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55572         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55574         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55575         * math/libm-test.inc (scalbn_test): Add more tests.
55576         (scalbln_test): Likewise.
55578         * manual/filesys.texi (mode_t): Describe constraints on size and
55579         signedness, not exact equivalence to a particular type.
55580         (ino_t): Likewise.
55581         (ino64_t): Likewise.
55582         (dev_t): Likewise.
55583         (nlink_t): Likewise.
55584         (blkcnt_t): Likewise.
55585         (blkcnt64_t): Likewise.
55586         * manual/llio.texi (off_t): Likewise.
55588         [BZ #3976]
55589         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55590         (__ieee754_exp): Save and restore rounding mode and use
55591         round-to-nearest for all computations.
55592         * math/libm-test.inc (exp_test_tonearest): New function.
55593         (exp_test_towardzero): Likewise.
55594         (exp_test_downward): Likewise.
55595         (exp_test_upward): Likewise.
55596         (main): Call the new functions.
55597         * sysdeps/i386/fpu/libm-test-ulps: Update.
55598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55600 2012-03-01  Chris Demetriou  <cgd@google.com>
55602         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55603         have predictable order.
55605 2012-03-01  David S. Miller  <davem@davemloft.net>
55607         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55609         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55610         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55611         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55612         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55614         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55615         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55616         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55618         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55619         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55620         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55621         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55622         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55626         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55627         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55628         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55630         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55631         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55632         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55633         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55634         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55635         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55636         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55637         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55638         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55639         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55640         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55641         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55642         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55643         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55644         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55646         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55647         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55648         * sysdeps/sparc/elf/configure: Regenerated.
55650 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55652         * configure.in (AS, LD): Require binutils 2.20 or later.
55653         * configure: Regenerated.
55654         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55655         as required minimum version.
55656         * INSTALL: Regenerated.
55658         [BZ #2541]
55659         [BZ #4108]
55660         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55661         before squaring exponent.
55662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55663         bottom long double and 27 bits of top long double before squaring
55664         exponent.
55665         * math/libm-test.inc (erfc_test): Add more tests.
55666         * sysdeps/i386/fpu/libm-test-ulps: Update.
55667         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55670 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55672         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55673         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55674         containing bit-fields.
55675         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55676         * soft-fp/single.h (_FP_UNION_S): Likewise.
55677         * soft-fp/double.h (_FP_UNION_D): Likewise.
55679 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55681         [BZ #13786]
55682         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55683         not include ../strcmp.S.
55684         [USE_AS_STRNCASECMP_L]: Likewise.
55685         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55686         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55687         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55688         (__strncasecmp_l_ia32): Define as alias to
55689         __strncasecmp_l_nonascii.
55691         [BZ #5794]
55692         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55693         * sysdeps/i386/fpu/libm-test-ulps: Update.
55694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55696         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55699 2012-02-29  Jeff Law  <law@redhat.com>
55701         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55702         out of bounds read.
55704 2012-02-29  Marek Polacek  <polacek@redhat.com>
55706         [BZ #13706]
55707         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55708         * elf/Makefile: Add rules to run tst-unused-dep.out.
55710 2012-02-28  David S. Miller  <davem@davemloft.net>
55712         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55713         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55714         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55715         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55716         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55717         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55719 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55721         * math/libm-test.inc (llround_test): Move one test from
55722         lround_test.  Use TEST_f_L in moved test.
55723         (lround_test): Move misplaced test to llround_test.  Add testcase
55724         from bug 2561.
55726 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55728         * sysdeps/x86_64/fpu/e_expf.S: New file.
55729         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55731 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55733         [BZ #13637]
55734         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55735         of remain_len that may cause incomplete multi-byte character and
55736         false match.
55737         * posix/bug-regex33.c: New file.
55738         * posix/Makefile (tests): Add bug-regex33.
55740 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55742         * manual/macros.texi: New file.
55743         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55744         * manual/libc.texinfo: Include macros.texi.
55745         * manual/creatute.texi: Likewise.
55746         * manual/install.texi: Likewise.
55747         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55748         @glibcadj{} in references to the GNU C Library.
55749         * manual/charset.texi: Likewise.
55750         * manual/conf.texi: Likewise.
55751         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55752         when not using those macros.
55753         * manual/creature.texi: Likewise.
55754         * manual/crypt.texi: Likewise.
55755         * manual/errno.texi: Likewise.
55756         * manual/filesys.texi: Likewise.
55757         * manual/header.texi: Likewise.
55758         * manual/install.texi: Likewise.
55759         * manual/intro.texi: Likewise.
55760         * manual/io.texi: Likewise.
55761         * manual/job.texi: Likewise.
55762         * manual/lang.texi: Likewise.
55763         * manual/libc.texiinfo: Likewise.
55764         * manual/llio.texi: Likewise.
55765         * manual/locale.texi: Likewise.
55766         * manual/maint.texi: Likewise.
55767         * manual/math.texi: Likewise.
55768         * manual/memory.texi: Likewise.
55769         * manual/message.texi: Likewise.
55770         * manual/nss.texi: Likewise.
55771         * manual/pattern.texi: Likewise.
55772         * manual/process.texi: Likewise.
55773         * manual/resource.texi: Likewise.
55774         * manual/search.texi: Likewise.
55775         * manual/setjmp.texi: Likewise.
55776         * manual/signal.texi: Likewise.
55777         * manual/socket.texi: Likewise.
55778         * manual/startup.texi: Likewise.
55779         * manual/stdio.texi: Likewise.
55780         * manual/string.texi: Likewise.
55781         * manual/sysinfo.texi: Likewise.
55782         * manual/syslog.texi: Likewise.
55783         * manual/terminal.texi: Likewise.
55784         * manual/time.texi: Likewise.
55785         * manual/users.texi: Likewise.
55786         * INSTALL: Regenerated.
55787         * NOTES: Regenerated.
55788         * sysdeps/gnu/errlist.c: Regenerated.
55790 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55792         * include/dirent.h: Include <dirstream.h> before
55793         <dirent/dirent.h>.
55795 2012-02-28  David S. Miller  <davem@davemloft.net>
55797         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55798         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55799         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55800         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55802 2012-02-27  David S. Miller  <davem@davemloft.net>
55804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55806         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55807         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55810         frame pointer instead of stack pointer relative arg slot.
55811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55812         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55813         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55815 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55817         [BZ #3992]
55818         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55820 2012-02-27  David S. Miller  <davem@davemloft.net>
55822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55826         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55827         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55828         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55829         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55831 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55833         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55834         later.  Allow versions 5-9.
55835         * configure: Regenerated.
55836         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55837         required minimum version and 4.6 as recommended version.  Do not
55838         mention bugs in GCC 2.7 and 2.8.
55839         * INSTALL: Regenerated.
55841 2012-02-27  David S. Miller  <davem@davemloft.net>
55843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55847         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55848         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55849         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55850         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55852         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55853         manipulate bits before adding and subtracting TWO112[sx].
55854         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55856 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55858         [BZ #13775]
55859         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55860         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55861         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55862         being in POSIX, because they are in 1003.1-2008.
55864         * rt/tst-aio.c: Include <fcntl.h>.
55865         * rt/tst-aio7.c: Likewise.
55866         * rt/tst-aio64.c: Likewise.
55868         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55870 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55872         * manual/install.texi (--with-headers): Describe headers as
55873         interface headers, not private headers.
55874         (Specific advice for GNU/Linux systems): Describe use of headers
55875         from "make headers_install", not private headers from older
55876         kernels.
55877         * INSTALL: Regenerated.
55878         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55879         Change to 2.6.19.
55880         * sysdeps/unix/sysv/linux/configure: Regenerated.
55882         * manual/llio.texi (fclean): Remove documentation.
55884         * manual/Makefile (libc-texi-generated): New variable.  Include
55885         version.texi.
55886         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55887         $(libc-texi-generated), not duplicated list of files.
55888         (version.texi, stamp-version): New rules.
55889         (realclean): Remove $(libc-texi-generated), not individual files
55890         from that list.  Do not remove dir-add.texinfo.
55891         * manual/libc.texinfo: Comment out uses of edition numbers and
55892         references to printed manual.  Remove last-updated dates.
55893         (EDITION): Comment out.
55894         (ISBN): Likewise.
55895         (VERSION, UPDATED): Remove.
55896         (version.texi): Include.
55898 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55900         * sysdeps/posix/spawni.c: Include <signal.h>.
55901         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55902         * sysdeps/pthread/aio_fsync.c: Likewise.
55904 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55906         * conform/Makefile (tests): Run only when not cross-compiling and
55907         when fast-check is not defined.
55909         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55910         * conform/data/limits.h-data: Fixes for POSIX2008.
55911         * conform/run-conformtest.sh: Run all tests.
55912         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55913         headers.
55914         * include/bits/dlfcn.h: Likewise.
55915         * include/langinfo.h: Likewise.
55916         * include/monetary.h: Likewise.
55917         * include/sys/poll.h: Likewise.
55919         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55920         for __USE_GNU.
55921         * posix/spawn.h: Define __need_sigset_t.
55922         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55923         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55924         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55925         to get sigevent_t only.
55926         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55927         only for __USE_GNU.
55928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55929         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55930         process_vm_writev only for __USE_GNU.
55931         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55933         * conform/Makefile: For now ignore errors from run-conformtest.
55934         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55935         POSIX to avoid namespace pollution.  Don't prepend headers.
55936         * conform/data/aio.h-data: Fixes for POSIX testing.
55937         * conform/data/fcntl.h-data: Likewise.
55938         * conform/data/glob.h-data: Likewise.
55939         * conform/data/grp.h-data: Likewise.
55940         * conform/data/pthread.h-data: Likewise.
55941         * conform/data/pwd.h-data: Likewise.
55942         * conform/data/signal.h-data: Likewise.
55943         * conform/data/spawn.h-data: Likewise.
55944         * conform/data/stdio.h-data: Likewise.
55945         * conform/data/stdlib.h-data: Likewise.
55946         * conform/data/stropts.h-data: Likewise.
55947         * conform/data/sys/mman.h-data: Likewise.
55948         * conform/data/sys/stat.h-data: Likewise.
55949         * conform/data/sys/types.h-data: Likewise.
55950         * conform/data/sys/wait.h-data: Likewise.
55951         * conform/data/time.h-data: Likewise.
55952         * conform/data/unistd.h-data: Likewise.
55953         * conform/data/utime.h-data: Likewise.
55955         * io/sys/stat.h: fchmod was always in POSIX.
55956         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55957         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55958         * rt/aio.h: Define __need_timespec before including <time.h>.
55959         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55960         struct.  Add forward declaration of pthread_attr_t and use it in
55961         sigevent.
55962         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55963         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55964         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55965         always remove CLK_TCK definition.
55967 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55969         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55971 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55973         * conform/run-conformtest.sh: New file.
55974         * conform/Makefile: Run run-conformtest for tests.
55975         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55976         support.
55978         * conform/data/uchar.h-data: New file.
55979         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55980         * conform/data/arpa/inet.h-data: Likewise.
55981         * conform/data/assert.h-data: Likewise.
55982         * conform/data/complex.h-data: Likewise.
55983         * conform/data/cpio.h-data: Likewise.
55984         * conform/data/ctype.h-data: Likewise.
55985         * conform/data/dirent.h-data: Likewise.
55986         * conform/data/dlfcn.h-data: Likewise.
55987         * conform/data/errno.h-data: Likewise.
55988         * conform/data/fcntl.h-data: Likewise.
55989         * conform/data/float.h-data: Likewise.
55990         * conform/data/fmtmsg.h-data: Likewise.
55991         * conform/data/fnmatch.h-data: Likewise.
55992         * conform/data/ftw.h-data: Likewise.
55993         * conform/data/glob.h-data: Likewise.
55994         * conform/data/grp.h-data: Likewise.
55995         * conform/data/iconv.h-data: Likewise.
55996         * conform/data/inttypes.h-data: Likewise.
55997         * conform/data/langinfo.h-data: Likewise.
55998         * conform/data/libgen.h-data: Likewise.
55999         * conform/data/limits.h-data: Likewise.
56000         * conform/data/locale.h-data: Likewise.
56001         * conform/data/math.h-data: Likewise.
56002         * conform/data/monetary.h-data: Likewise.
56003         * conform/data/mqueue.h-data: Likewise.
56004         * conform/data/ndbm.h-data: Likewise.
56005         * conform/data/net/if.h-data: Likewise.
56006         * conform/data/netdb.h-data: Likewise.
56007         * conform/data/netinet/in.h-data: Likewise.
56008         * conform/data/nl_types.h-data: Likewise.
56009         * conform/data/poll.h-data: Likewise.
56010         * conform/data/pthread.h-data: Likewise.
56011         * conform/data/pwd.h-data: Likewise.
56012         * conform/data/regex.h-data: Likewise.
56013         * conform/data/sched.h-data: Likewise.
56014         * conform/data/search.h-data: Likewise.
56015         * conform/data/semaphore.h-data: Likewise.
56016         * conform/data/setjmp.h-data: Likewise.
56017         * conform/data/signal.h-data: Likewise.
56018         * conform/data/spawn.h-data: Likewise.
56019         * conform/data/stdarg.h-data: Likewise.
56020         * conform/data/stdio.h-data: Likewise.
56021         * conform/data/stdlib.h-data: Likewise.
56022         * conform/data/string.h-data: Likewise.
56023         * conform/data/strings.h-data: Likewise.
56024         * conform/data/stropts.h-data: Likewise.
56025         * conform/data/sys/ipc.h-data: Likewise.
56026         * conform/data/sys/mman.h-data: Likewise.
56027         * conform/data/sys/msg.h-data: Likewise.
56028         * conform/data/sys/resource.h-data: Likewise.
56029         * conform/data/sys/select.h-data: Likewise.
56030         * conform/data/sys/sem.h-data: Likewise.
56031         * conform/data/sys/shm.h-data: Likewise.
56032         * conform/data/sys/socket.h-data: Likewise.
56033         * conform/data/sys/stat.h-data: Likewise.
56034         * conform/data/sys/statvfs.h-data: Likewise.
56035         * conform/data/sys/time.h-data: Likewise.
56036         * conform/data/sys/timeb.h-data: Likewise.
56037         * conform/data/sys/times.h-data: Likewise.
56038         * conform/data/sys/types.h-data: Likewise.
56039         * conform/data/sys/uio.h-data: Likewise.
56040         * conform/data/sys/un.h-data: Likewise.
56041         * conform/data/sys/utsname.h-data: Likewise.
56042         * conform/data/sys/wait.h-data: Likewise.
56043         * conform/data/syslog.h-data: Likewise.
56044         * conform/data/tar.h-data: Likewise.
56045         * conform/data/termios.h-data: Likewise.
56046         * conform/data/utime.h-data: Likewise.
56047         * conform/data/utmpx.h-data: Likewise.
56048         * conform/data/varargs.h-data: Likewise.
56049         * conform/data/wchar.h-data: Likewise.
56050         * conform/data/wctype.h-data: Likewise.
56051         * conform/data/wordexp.h-data: Likewise.
56053         * include/stropts.h: New file.
56054         * include/uchar.h: New file.
56055         * include/aio.h: Changes to allow conformtest.pl to use the headers.
56056         * include/assert.h: Likewise.
56057         * include/ctype.h: Likewise.
56058         * include/dirent.h: Likewise.
56059         * include/dlfcn.h: Likewise.
56060         * include/fcntl.h: Likewise.
56061         * include/fnmatch.h: Likewise.
56062         * include/glob.h: Likewise.
56063         * include/grp.h: Likewise.
56064         * include/libio.h: Likewise.
56065         * include/locale.h: Likewise.
56066         * include/math.h: Likewise.
56067         * include/net/if.h: Likewise.
56068         * include/netdb.h: Likewise.
56069         * include/netinet/in.h: Likewise.
56070         * include/pthread.h: Likewise.
56071         * include/pwd.h: Likewise.
56072         * include/regex.h: Likewise.
56073         * include/sched.h: Likewise.
56074         * include/search.h: Likewise.
56075         * include/setjmp.h: Likewise.
56076         * include/signal.h: Likewise.
56077         * include/stdio.h: Likewise.
56078         * include/stdlib.h: Likewise.
56079         * include/string.h: Likewise.
56080         * include/sys/cdefs.h: Likewise.
56081         * include/sys/mman.h: Likewise.
56082         * include/sys/msg.h: Likewise.
56083         * include/sys/resource.h: Likewise.
56084         * include/sys/select.h: Likewise.
56085         * include/sys/socket.h: Likewise.
56086         * include/sys/stat.h: Likewise.
56087         * include/sys/statvfs.h: Likewise.
56088         * include/sys/time.h: Likewise.
56089         * include/sys/times.h: Likewise.
56090         * include/sys/uio.h: Likewise.
56091         * include/sys/utsname.h: Likewise.
56092         * include/sys/wait.h: Likewise.
56093         * include/termios.h: Likewise.
56094         * include/time.h: Likewise.
56095         * include/ulimit.h: Likewise.
56096         * include/unistd.h: Likewise.
56097         * include/utime.h: Likewise.
56098         * include/wchar.h: Likewise.
56099         * include/wctype.h: Likewise.
56100         * include/wordexp.h: Likewise.
56102         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56104         * time/time.h: TIME_UTC must be a macro.
56105         Make timespec_get available for ISO C11 only as well.
56107 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56109         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56110         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56112 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56114         * configure.in: Use -o not -a in test for unsupported multi-arch.
56116 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56118         * manual/texinfo.tex: Update to version 2012-01-19.16.
56120 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56122         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56124 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56126         [BZ #13738]
56127         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56128         * manual/fdl-1.3.texi: New file.
56129         * manual/fdl-1.1.texi: File removed.
56131         [BZ #13738]
56132         * manual/libc.texinfo (FDL_VERSION): New @set.
56133         Use it for mention of FDL in cover text.
56134         (Documentation License): Use it in @include file name.
56136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56137             Roland McGrath  <roland@hack.frob.com>
56139         [BZ #5461]
56140         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56141         (not LONG_LONG_MAX and LONG_LONG_MIN.
56142         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56143         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56144         name.
56145         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56147 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56149         [BZ #2547]
56150         [BZ #11365]
56151         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56152         manipulate bits before adding and subtracting TWO23[sx].
56153         * math/libm-test.inc (nearbyint_test): Add more tests.
56155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56157         [BZ #2548]
56158         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56159         bits before adding and subtracting TWO23[sx].
56160         * math/libm-test.inc (rint_test): Add more tests.
56161         (rint_test_tonearest): Likewise.
56162         (rint_test_towardzero): Likewise.
56163         (rint_test_downward): Likewise.
56164         (rint_test_upward: Likewise.
56166 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56168         [BZ #10110]
56169         * include/stdc-predef.h: New file.  Extracted from features.h.
56170         * include/features.h: Include stdc-predef.h.
56171         * Makefile (headers): Add stdc-predef.h.
56172         * CONFORMANCE (Compiler limitations): Update.
56174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56176         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56178 2012-02-21  David S. Miller  <davem@davemloft.net>
56180         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56181         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56183 2012-02-20  David S. Miller  <davem@davemloft.net>
56185         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56186         using a normal save/restore sequence, rather than allocating a
56187         dummy stack frame just to store a frame pointer and restore.
56188         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56190 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56192         * manual/install.texi: Fix stray word in line-wrapped comment.
56194 2012-02-20  David S. Miller  <davem@davemloft.net>
56196         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56197         both binutils and gcc support GOTDATA.
56199         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56200         "rd %pc" in the PIC register setup sequences.
56202         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56203         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56204         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56205         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56206         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56208         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56209         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56211         (SYSCALL_ERROR_HANDLER): Likewise.
56212         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56213         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56215         (SYSCALL_ERROR_HANDLER): Likewise.
56217         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56218         (HAVE_GCC_GOTDATA): New.
56219         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56220         relocation support in both binutils and gcc.
56221         * sysdeps/sparc/elf/configure: Regenerate.
56223         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56224         * sysdeps/sparc/sparc32/elf/configure: Delete.
56225         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56226         * sysdeps/sparc/sparc64/elf/configure: Delete.
56227         * sysdeps/sparc/elf/configure.in: New file.
56228         * sysdeps/sparc/elf/configure: Generate.
56230         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56231         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56232         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56233         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56234         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56236 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56238         * manual/install.texi: Do not mention specific glibc version
56239         numbers.
56240         * manual/libc.texinfo (VERSION, UPDATED): Update.
56241         (@copying): Use @copyright{} and range of years.
56243 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56245         [BZ #13695]
56246         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56247         [crti.S not in sysdirs] (generated): Do not append.
56248         [crti.S not in sysdirs] (omit-deps): Likewise.
56249         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56250         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56251         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56252         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56253         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56254         Likewise.
56255         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56256         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56257         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56258         * csu/defs.awk: Remove file.
56259         * sysdeps/generic/initfini.c: Likewise.
56260         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56261         variable.
56262         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56263         Likewise.
56265 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56267         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56268         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56269         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56270         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56272         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56273         <bits/epoll.h>.
56274         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56275         (__EPOLL_PACKED): Define to empty if not defined by
56276         <bits/epoll.h>.
56277         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56279         bits/epoll.h.
56281 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56283         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56284         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56285         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56286         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56287         <bits/timerfd.h>.
56288         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56290         bits/timerfd.h.
56292 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56294         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56295         in C locale.
56296         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56297         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56298         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56301 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56303         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56304         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56306 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56308         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56309         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56310         defined.
56311         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56312         Likewise.
56313         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56314         entry for 2.16.
56316 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56318         * math/w_acos.c: Use non-signaling floating-point comparisons.
56319         * math/w_acosf.c: Likewise.
56320         * math/w_acosh.c: Likewise.
56321         * math/w_acoshf.c: Likewise.
56322         * math/w_acoshl.c: Likewise.
56323         * math/w_acosl.c: Likewise.
56324         * math/w_asin.c: Likewise.
56325         * math/w_asinf.c: Likewise.
56326         * math/w_asinl.c: Likewise.
56327         * math/w_atanh.c: Likewise.
56328         * math/w_atanhf.c: Likewise.
56329         * math/w_atanhl.c: Likewise.
56330         * math/w_exp2.c: Likewise.
56331         * math/w_exp2f.c: Likewise.
56332         * math/w_exp2l.c: Likewise.
56333         * math/w_j0.c: Likewise.
56334         * math/w_j0f.c: Likewise.
56335         * math/w_j0l.c: Likewise.
56336         * math/w_j1.c: Likewise.
56337         * math/w_j1f.c: Likewise.
56338         * math/w_j1l.c: Likewise.
56339         * math/w_jn.c: Likewise.
56340         * math/w_jnf.c: Likewise.
56341         * math/w_log.c: Likewise.
56342         * math/w_log10.c: Likewise.
56343         * math/w_log10f.c: Likewise.
56344         * math/w_log10l.c: Likewise.
56345         * math/w_log2.c: Likewise.
56346         * math/w_log2f.c: Likewise.
56347         * math/w_log2l.c: Likewise.
56348         * math/w_logf.c: Likewise.
56349         * math/w_logl.c: Likewise.
56350         * math/w_sqrt.c: Likewise.
56351         * math/w_sqrtf.c: Likewise.
56352         * math/w_sqrtl.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56354         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56355         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56356         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56357         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56359 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56361         [BZ #9739]
56362         * manual/string.texi (strnlen): Use correct parameter name in
56363         equivalent expression.
56365 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56367         [BZ #11174]
56368         * manual/users.texi (seteuid): Consistently use neweuid for
56369         argument name.
56371 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56373         [BZ #13704]
56374         * manual/nss.texi (Services in the NSS configuration): Correct
56375         list of services in example configuration file.
56377 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56379         [BZ #11322]
56380         * manual/arith.texi: Remove statements about negative zero
56381         behaving identically to zero.
56383 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56385         [BZ #5993]
56386         * manual/install.texi: Do not document upgrading from libc5.
56388 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56390         [BZ #4596]
56391         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56393 2012-02-18  David S. Miller  <davem@davemloft.net>
56395         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56396         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56397         %o7 across the call.
56398         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56399         instead.
56400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56401         SETUP_PIC_REG_LEAF.
56402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56403         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56404         * sysdeps/sparc/crtn.S: Likewise.
56406 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56408         * aout/Makefile: Remove.
56410 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56412         [BZ #13058]
56413         * manual/examples/argp-ex1.c (main): Format definition in GNU
56414         style.
56415         * manual/examples/argp-ex2.c (main): Likewise.
56416         * manual/examples/argp-ex3.c (main): Likewise.
56417         * manual/examples/argp-ex4.c (main): Likewise.
56418         * manual/examples/longopt.c (main): Use new-style prototype
56419         definition.
56420         * manual/examples/strncat.c (main): Specify return type and use
56421         (void) for arguments.
56422         * manual/examples/subopt.c (main): Use char **argv argument.
56424 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56426         [BZ #5077]
56427         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56428         rounding modes.
56430 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56432         [BZ #6907]
56433         * manual/string.texi (strchr): Change when strchrnul is
56434         recommended.
56436 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56438         [BZ #174]
56439         * manual/locale.texi (setlocale): Document LOCPATH.
56441 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56443         [BZ #10210]
56444         * manual/process.texi (execle): Move @dots{} before last argument.
56446 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56448         [BZ #12047]
56449         * manual/charset.texi (Generic Charset Conversion): Fix typo
56450         (LC_TYPE -> LC_CTYPE).
56452 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56454         [BZ #5805]
56455         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56456         (scalbnf): Likewise.
56457         (scalbnl): Likewise.
56458         (scalbln): Likewise.
56459         (scalblnf): Likewise.
56460         (scalblnl): Likewise.
56461         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56462         (vwarnx): Likewise.
56463         (verr): Likewise.
56464         (verrx): Likewise.
56465         * manual/filesys.texi (telldir): Use braces around return type.
56466         * manual/llio.texi (mmap): Add space after comma.
56467         (mmap64): Likewise.
56468         * manual/math.texi (jn): Use @var{} on parameter names.
56469         (jnf): Likewise.
56470         (jnl): Likewise.
56471         (yn): Likewise.
56472         (ynf): Likewise.
56473         (ynl): Likewise.
56474         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56475         line.
56476         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56477         "...".
56478         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56479         (sched_get_priority_max): Likewise.
56480         * manual/signal.texi (sigvec): Add space after comma.
56481         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56482         names.
56483         (if_indextoname): Likewise.
56484         (if_freenameindex): Likewise.
56485         (sendto): Use ',' instead of '.' in prototype.
56486         * manual/startup.texi (syscall): Use @dots{} instead of literal
56487         "...".
56488         * manual/stdio.texi (__fpending): Separate initial words of
56489         paragraph from @deftypefun line.
56490         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56491         "...".
56492         (vsyslog): Use @var{} on parameter names.
56493         * manual/terminal.texi (stty): Use @var{} on parameter names.
56494         * manual/users.texi (getutmp): Use @var{} on parameter names.
56495         (getutmpx): Likewise.
56497 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56499         [BZ #6884]
56500         * manual/stdio.texi (fopen): Fix typos in description of
56501         ",ccs=STRING".
56503 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56505         [BZ #4026]
56506         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56507         get clock_id definition.
56509 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56511         [BZ #4822]
56512         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56513         (madvise): Cast every argument to void on its own.
56515 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56517         [BZ #9902]
56518         * manual/startup.texi (Exit Status): Fix typo.
56520 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56522         [BZ #10140]
56523         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56524         * manual/examples/argp-ex2.c: Likewise.
56525         * manual/examples/argp-ex3.c: Likewise.
56527 2012-02-16  Richard Henderson  <rth@redhat.com>
56529         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56530         * sysdeps/s390/s390-32/initfini.c: Remove.
56531         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56532         * sysdeps/s390/s390-64/initfini.c: Remove.
56534 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56536         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56537         compiler output for sysdeps/generic/initfini.c.
56538         * sysdeps/sh/elf/initfini.c: Remove file.
56540 2012-02-16  David S. Miller  <davem@davemloft.net>
56542         [BZ #11494]
56543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56545         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56546         * sysdeps/sparc/crti.S: New file.
56547         * sysdeps/sparc/crtn.S: New file.
56548         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56549         * sysdeps/sparc/sparc64/Makefile: Likewise.
56551 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56553         [BZ #3335]
56554         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56556 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56558         [BZ #4822]
56559         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56561         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56562         (write, read, close): Likewise.
56563         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56565 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56567         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56568         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56569         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56570         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56571         <bits/signalfd.h>.
56572         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56574         bits/signalfd.h.
56576 2012-02-14  Marek Polacek  <polacek@redhat.com>
56578         * sysdeps/x86_64/crti.S: New file.
56579         * sysdeps/x86_64/crtn.S: New file.
56580         * sysdeps/x86_64/elf/initfini.c: Remove file.
56582 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56584         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56585         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56586         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56587         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56588         <bits/inotify.h>.
56589         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56591         bits/inotify.h.
56593 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56595         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56596         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56597         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56598         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56599         <bits/eventfd.h>.
56600         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56601         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56602         bits/eventfd.h.
56604 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56606         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56607         __feraiseexcept instead of feraiseexcept.
56609         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56610         nanosleep invocations.
56611         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56612         strings, and add error checking for a nanosleep invocations.
56614 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56616         Replace FSF snail mail address with URLs, as per GNU coding standards.
56617         Most of the snail mail addresses were wrong anyway, and omitting
56618         them makes the source code easier to maintain.  Almost all of the
56619         changes are to license notices and to locale LC_IDENTIFICATION
56620         addresses, except for this one:
56621         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56622         not its snail mail address.
56624 2012-02-09  Richard Henderson  <rth@twiddle.net>
56626         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56627         of kernel-features.h.
56629         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56631 2012-02-08  Marek Polacek  <polacek@redhat.com>
56633         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56634         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56635         * sysdeps/gnu/_G_config.h: Likewise.
56636         * sysdeps/generic/_G_config.h: Likewise.
56638 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56640         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56641         tests.
56642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56644         * sysdeps/powerpc/powerpc32/crti.S: New file.
56645         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56646         * sysdeps/powerpc/powerpc64/crti.S: New file.
56647         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56649         * Makeconfig (have-initfini): Don't set.
56650         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56651         * configure.in (nopic_initfini): Don't substitute.
56652         * config.h.in (HAVE_INITFINI): Don't #undef.
56653         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56654         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56656 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56658         Support crti.S and crtn.S provided directly by architectures.
56659         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56660         [crti.S in sysdirs] (omit-deps): Likewise.
56661         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56662         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56663         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56664         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56665         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56666         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56667         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56668         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56669         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56670         compiler output for sysdeps/generic/initfini.c.
56671         * sysdeps/i386/elf/Makefile: Remove file.
56672         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56674 2012-02-07  Marek Polacek  <polacek@redhat.com>
56676         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56677         * sysdeps/gnu/_G_config.h: Likewise.
56678         * sysdeps/mach/hurd/_G_config.h: Likewise.
56680 2012-02-07  Marek Polacek  <polacek@redhat.com>
56682         * math/Makefile (tests): Add tst-CMPLX2.
56683         * math/tst-CMPLX2.c: New file.
56685 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56687         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56689         * math/libm-test.inc (jn_test): Add missing L suffix.
56691 2012-02-06  Marek Polacek  <polacek@redhat.com>
56693         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56694         * sysdeps/i386/fpu/e_powf.S: Likewise.
56695         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56696         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56697         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56698         * sysdeps/i386/fpu/e_pow.S: Likewise.
56699         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56700         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56701         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56702         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56703         * sysdeps/i386/fpu/e_log2.S: Likewise.
56704         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56705         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56706         * sysdeps/i386/fpu/e_powl.S: Likewise.
56707         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56708         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56709         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56710         * sysdeps/i386/fpu/e_logl.S: Likewise.
56711         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56712         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56713         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56714         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56715         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56716         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56717         * sysdeps/i386/fpu/e_log.S: Likewise.
56718         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56719         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56720         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56721         * sysdeps/i386/fpu/e_logf.S: Likewise.
56722         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56723         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56724         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56725         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56726         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56727         * sysdeps/i386/fpu/e_log10.S: Likewise.
56728         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56729         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56730         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56731         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56732         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56733         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56734         * sysdeps/i386/asm-syntax.h: Likewise.
56735         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56736         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56737         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56738         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56739         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56740         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56741         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56742         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56743         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56744         * sysdeps/powerpc/sysdep.h: Likewise.
56745         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56746         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56748 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56750         [BZ #411]
56751         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56753 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56755         * sysdeps/i386/sysdep.h: Include <features.h>.
56756         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56757         version.
56759 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56761         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56762         Define.
56763         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56764         LOAD_PIC_REG_STR.
56766 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56768         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56769         (SETUP_PIC_REG): Use GET_PC_THUNK.
56770         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56771         macro.
56773 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56775         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56776         for non-PIC compilation.
56777         (SETUP_PIC_REG): Add .p2align directive.
56778         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56779         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56780         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56781         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56782         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56783         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56784         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56785         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56792         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56793         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56794         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56795         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56796         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56797         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56798         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56799         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56800         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56801         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56802         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56805         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56806         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56807         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56808         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56809         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56810         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56811         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56812         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56813         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56814         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56815         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56816         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56817         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56818         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56820 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56822         * math/tst-CMPLX.c: Include <stdio.h>.
56824 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56826         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56827         float.
56828         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56829         * sysdeps/sparc/bits/mathdef.h: Likewise.
56831 2012-01-31  Marek Polacek  <polacek@redhat.com>
56833         * libio/libio.h: Don't define _PARAMS.
56834         * locale/programs/config.h: Don't define PARAMS.
56835         * stdlib/strtol_l.c: Likewise.
56836         (__strtol_l): Remove PARAMS from the prototype.
56838 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56840         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56841         names.  Just use the correct names.  Remove unnecessary wrapper
56842         functions.
56843         * malloc/arena.c: Likewise.
56844         * malloc/hooks.c: Likewise.
56846         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56847         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56848         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56850 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56852         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56853         into tail calls.
56854         (update_get_addr): New function.
56855         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56856         GET_ADDR_MODULE parameter.
56858 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56860         * crypt/cert.c: Remove __STDC__ conditionals.
56861         * crypt/crypt-entry.c: Likewise.
56862         * crypt/crypt_util.c: Likewise.
56863         * libio/filedoalloc.c: Likewise.
56864         * libio/fileops.c: Likewise.
56865         * libio/genops.c: Likewise.
56866         * libio/iofclose.c: Likewise.
56867         * libio/iofdopen.c: Likewise.
56868         * libio/iofopen.c: Likewise.
56869         * libio/iofopen64.c: Likewise.
56870         * libio/iogetdelim.c: Likewise.
56871         * libio/iopopen.c: Likewise.
56872         * libio/obprintf.c: Likewise.
56873         * libio/oldfileops.c: Likewise.
56874         * libio/oldiofclose.c: Likewise.
56875         * libio/oldiofdopen.c: Likewise.
56876         * libio/oldiofopen.c: Likewise.
56877         * libio/oldiopopen.c: Likewise.
56878         * libio/wfiledoalloc.c: Likewise.
56879         * libio/wgenops.c: Likewise.
56880         * locale/programs/xmalloc.c: Likewise.
56881         * misc/syslog.c: Likewise.
56882         * stdio-common/xbug.c: Likewise.
56883         * string/memchr.c: Likewise.
56884         * string/memcmp.c: Likewise.
56885         * string/memrchr.c: Likewise.
56886         * string/rawmemchr.c: Likewise.
56887         * sysdeps/posix/getcwd.c: Likewise.
56888         * time/strftime_l.c: Likewise.
56890 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56892         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56893         * config.make.in (config-cflags-sse2avx): Define.
56894         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56895         Fix typo.
56897 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56899         * scripts/config.guess: Update from upstream config git repository.
56900         * scripts/config.sub: Likewise.
56902 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56904         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56905         (EM_NUM): Update.
56906         (R_TILEPRO_*, R_TILEGX_*): New macros.
56908         * scripts/firstversions.awk: Fix bug in version range handling.
56910         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56912         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56914         * include/sys/epoll.h: New file.
56915         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56916         libc_hidden_def.
56918 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56920         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56921         Avoid unnecessary __WORDSIZE == 64 test.
56922         (fmaxf): Use VEX format if possible.
56923         (fmax): Likewise.
56924         (fminf): Likewise.
56925         (fmin): Likewise.
56927         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56928         * math/math_private.h: Remove libc_fegetround* and
56929         libc_fesetround*.
56930         * sysdeps/i386/configure.in: Check for -msse2avx.
56931         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56932         also if SSE2AVX is defined.
56933         Remove libc_fegetround* and libc_fesetround*.
56934         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56935         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56936         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56937         of HAS_YMM_USABLE.
56938         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56939         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56940         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56941         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56942         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56944         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56946 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56948         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56949         size is not set.
56950         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56952 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56954         [BZ #13618]
56955         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56956         relocation.
56957         * Makeconfig (libm): Define.
56958         * elf/Makefile: Add rules to build and run tst-relsort1.
56959         * elf/tst-relsort1.c: New file.
56960         * elf/tst-relsort1mod1.c: New file.
56961         * elf/tst-relsort1mod2.c: New file.
56963 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56965         * math/s_ldexp.c: Remove __STDC__ conditionals.
56966         * math/s_ldexpf.c: Likewise.
56967         * math/s_ldexpl.c: Likewise.
56968         * math/s_nextafter.c: Likewise.
56969         * math/s_nexttowardf.c: Likewise.
56970         * math/s_significand.c: Likewise.
56971         * math/s_significandf.c: Likewise.
56972         * math/s_significandl.c: Likewise.
56973         * math/w_jnl.c: Likewise.
56974         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56975         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56976         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56977         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56978         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56980         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56981         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56982         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56983         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56984         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56985         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56986         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56987         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56988         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56989         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56990         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56991         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56992         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56993         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56994         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56995         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56996         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56997         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56998         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56999         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57000         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57001         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57002         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57003         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57004         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57005         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57006         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57007         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57008         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57009         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57010         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57011         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57012         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57013         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57014         * sysdeps/ieee754/k_standard.c: Likewise.
57015         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57017         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57018         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57019         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57020         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57021         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57022         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57023         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57024         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57025         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57026         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57027         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57028         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57029         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57030         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57031         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57032         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57034         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57035         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57036         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57037         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57038         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57039         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57040         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57044         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57045         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57046         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57047         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57048         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57050         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57051         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57052         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57053         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57054         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57055         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57057         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57058         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57064         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57067         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57068         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57069         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57070         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57071         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57072         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57073         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57074         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57076         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57077         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57079         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57080         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57081         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57082         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57083         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57084         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57085         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57086         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57087         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57088         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57089         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57090         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57091         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57092         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57093         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57094         * sysdeps/ieee754/s_matherr.c: Likewise.
57095         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57100 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57102         * crypt/md5.h: Remove __STDC__ conditionals.
57103         * libio/libioP.h: Likewise.
57104         * locale/programs/config.h: Likewise.
57105         * sysdeps/generic/sysdep.h: Likewise.
57106         * sysdeps/i386/asm-syntax.h: Likewise.
57107         * sysdeps/s390/asm-syntax.h: Likewise.
57108         * sysdeps/unix/sysdep.h: Likewise.
57109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57112 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57114         * libio/libio.h: Remove __STDC__ conditionals.
57115         * malloc/obstack.h: Likewise.
57116         * math/complex.h: Likewise.
57117         * math/math.h: Likewise.
57118         * sysdeps/generic/_G_config.h: Likewise.
57119         * sysdeps/gnu/_G_config.h: Likewise.
57120         * sysdeps/mach/hurd/_G_config.h: Likewise.
57121         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57122         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57123         * sysdeps/sparc/bits/mathdef.h: Likewise.
57125 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57127         [BZ #13583]
57128         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57129         Clean up HAS_* macros.
57130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57131         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57132         possible.
57133         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57134         HAS_AVX.
57135         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57136         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57138         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57139         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57141 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57143         * elf/tst-unique3.cc (gets): Remove declaration.
57144         * elf/tst-unique3lib.cc (gets): Likewise.
57145         * elf/tst-unique3lib2.cc (gets): Likewise.
57146         * elf/tst-unique4.cc (gets): Likewise.
57148 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57150         * include/stdio.h: Add C++ protection.  Add gets declarations and
57151         definitions.
57152         * debug/tst-chk1.c: Don't declare gets here.
57153         * stdio-common/tst-gets.c: Likewise.
57155 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57157         * posix/glob: Remove directory.
57159 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57161         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57163 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57165         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57166         of the non-standard EPFNOSUPPORT.
57168 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57170         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57171         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57172         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57174 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57176         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57178 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57180         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57181         transient errors.
57182         * nscd/grpcache.c (cache_addgr): Likewise.
57183         * nscd/hstcache.c (cache_addhst): Likewise.
57184         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57185         * nscd/pwdcache.c (cache_addpw): Likewise.
57186         * nscd/servicescache.c (cache_addserv): Likewise.
57188 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57190         * malloc/malloc.c: Various cleanups.
57191         * malloc/hooks.c: Likewise.
57193         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57194         * stdlib/bug-fmtmsg1.c: New file.
57196         * stdlib/fmtmsg.c (init): Add missing unlock.
57197         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57199 2012-01-12  Marek Polacek  <polacek@redhat.com>
57201         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57202         and _GNU_SOURCE.
57204 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57206         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57207         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57208         macro to ensure uniqueness of label name.
57209         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57210         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57212 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57214         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57216         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57217         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57218         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57221 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57223         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57225         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57226         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57227         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57229         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57231         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57232         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57233         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57236         * math/bits/math-finite.h: Add ldexp support.
57238 2012-01-10  Marek Polacek  <polacek@redhat.com>
57240         * locale/programs/localedef.h (show_archive_content): Add noreturn
57241         attribute.
57243 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57245         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57247 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57249         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57251         * io/Makefile (headers): Add bits/poll2.h.
57253 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57256         typo #include statement.
57258 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57260         * include/sys/cdefs.h: Define __attribute_alloc_size.
57261         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57262         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57263         * elf/pldd.c: Likewise.
57264         * iconv/iconv_charmap.c: Likewise.
57265         * iconv/iconvconfig.c: Likewise.
57266         * iconv/strtab.c: Likewise.
57267         * locale/programs/locale.c: Likewise.
57268         * locale/programs/localedef.h: Likewise.
57269         * locale/programs/simple-hash.c: Likewise.
57270         * nscd/nscd.h: Likewise.
57271         * nss/makedb.c: Likewise.
57272         * sysdeps/generic/ldconfig.h: Likewise.
57273         * locale/programs/localedef.c: Remove xmalloc prototype.
57274         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57276 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57278         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57279         appropriate.
57281 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57283         * math/Makefile (tests): Add tst-CMPLX.
57284         * math/tst-CMPLX.c: New file.
57286         * math/complex.h (CMPLXL): Fix typo.
57288         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57289         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57290         GLIBC_2.16.
57291         * debug/tst-chk1.c: Add poll and ppoll tests.
57292         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57293         * include/sys/poll.h: Add hidden proto for ppoll.
57294         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57295         * sysdeps/mach/hurd/ppoll.c: Likewise.
57296         * io/ppoll.c: Likewise.
57297         * debug/poll_chk.c: New file.
57298         * debug/ppoll_chk.c: New file.
57299         * include/bits/poll2.h: New file.
57300         * io/bits/poll2.h: New file.
57302         [BZ #1350]
57303         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57305         * configure.in: static is always set to yes.  Remove.
57306         * config.make.in: Don't set build-static.
57307         * Makeconfig: Remove use of build-static.
57308         * dlfcn/Makefile: Likewise.
57309         * elf/Makefile: Likewise.
57310         * math/Makefile: Likewise.
57311         * misc/Makefile: Likewise.
57312         * nptl/Makefile: Likewise.
57313         * sysdeps/mach/hurd/Makefile: Likewise.
57315         * configure.in: PWD_P is not used anymore.
57316         * config.make.in: Remove PWD_P entry.
57318         * configure.in: Remove last remnants of RANLIB.
57319         No need to check for signed size_t anymore.
57320         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57321         and IA-64.
57322         Remove __builtin_expect test because we require at least gcc 3.4.
57323         * aclocal.m4: Likewise.
57325         * wcsmbs/mbrtoc16.c: Implement using towc function.
57326         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57327         * wcsmbs/wcsmbsload.c: Likewise.
57328         * iconv/gconv_simple.c: Likewise.
57329         * iconv/gconv_int.h: Likewise.
57330         * iconv/gconv_builtin.h: Likewise.
57331         * iconv/iconv_prog.c: Remove CHAR16 handling.
57333         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57335         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57337         * configure.in: Remove --with-elf and --enable-bounded options.
57338         Dont set base_machine for ia64.  More non-ELF conditions removed.
57339         Remove testing and setting of leading underscore information.
57340         * config.make.in (build-bounded): Set to no.
57341         * config.h.in: Remove NO_UNDERSCORES entry.
57342         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57343         them.
57344         * csu/start.c: Remove !NO_UNDERSCORE code.
57345         * locale/localeinfo.h: Likewise.
57346         * sysdeps/generic/machine-gmon.h: Likewise.
57347         * sysdeps/generic/sysdep.h: Likewise.
57348         * sysdeps/i386/sysdep.h: Likewise.
57349         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57350         * sysdeps/mach/sysdep.h: Likewise.
57351         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57352         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57353         * sysdeps/sh/sysdep.h: Likewise.
57354         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57355         * sysdeps/unix/i386/sysdep.S: Likewise.
57356         * sysdeps/unix/sparc/start.c: Likewise.
57357         * sysdeps/unix/sparc/sysdep.S: Likewise.
57358         * sysdeps/unix/sparc/sysdep.h: Likewise.
57359         * sysdeps/unix/start.c: Likewise.
57360         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57361         * sysdeps/x86_64/sysdep.h: Likewise.
57363 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57365         [BZ #13553]
57366         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57367         for non-gcc.
57368         * argp/argp-fmtstream.h: Use const instead __const.
57369         * argp/argp.h: Likewise.
57370         * assert/assert.h: Likewise.
57371         * bits/fenv.h: Likewise.
57372         * bits/sched.h: Likewise.
57373         * bits/sigset.h: Likewise.
57374         * bits/sigthread.h: Likewise.
57375         * catgets/nl_types.h: Likewise.
57376         * conform/data/pthread.h-data: Likewise.
57377         * crypt/crypt-private.h: Likewise.
57378         * crypt/crypt.h: Likewise.
57379         * crypt/crypt_util.c: Likewise.
57380         * ctype/ctype.h: Likewise.
57381         * debug/execinfo.h: Likewise.
57382         * debug/mbsnrtowcs_chk.c: Likewise.
57383         * debug/mbsrtowcs_chk.c: Likewise.
57384         * debug/wcsnrtombs_chk.c: Likewise.
57385         * debug/wcsrtombs_chk.c: Likewise.
57386         * debug/wcstombs_chk.c: Likewise.
57387         * dirent/dirent.h: Likewise.
57388         * dlfcn/dlfcn.h: Likewise.
57389         * elf/neededtest4.c: Likewise.
57390         * grp/grp.h: Likewise.
57391         * gshadow/gshadow.h: Likewise.
57392         * iconv/gconv.h: Likewise.
57393         * iconv/gconv_int.h: Likewise.
57394         * iconv/gconv_simple.c: Likewise.
57395         * iconv/iconv.h: Likewise.
57396         * iconv/loop.c: Likewise.
57397         * iconv/skeleton.c: Likewise.
57398         * include/aio.h: Likewise.
57399         * include/aliases.h: Likewise.
57400         * include/argz.h: Likewise.
57401         * include/arpa/inet.h: Likewise.
57402         * include/assert.h: Likewise.
57403         * include/dirent.h: Likewise.
57404         * include/dlfcn.h: Likewise.
57405         * include/execinfo.h: Likewise.
57406         * include/fcntl.h: Likewise.
57407         * include/fenv.h: Likewise.
57408         * include/glob.h: Likewise.
57409         * include/grp.h: Likewise.
57410         * include/libintl.h: Likewise.
57411         * include/mntent.h: Likewise.
57412         * include/netdb.h: Likewise.
57413         * include/pwd.h: Likewise.
57414         * include/rpc/netdb.h: Likewise.
57415         * include/sched.h: Likewise.
57416         * include/search.h: Likewise.
57417         * include/shadow.h: Likewise.
57418         * include/signal.h: Likewise.
57419         * include/stdio.h: Likewise.
57420         * include/stdlib.h: Likewise.
57421         * include/string.h: Likewise.
57422         * include/sys/socket.h: Likewise.
57423         * include/sys/stat.h: Likewise.
57424         * include/sys/statfs.h: Likewise.
57425         * include/sys/statvfs.h: Likewise.
57426         * include/sys/syslog.h: Likewise.
57427         * include/sys/time.h: Likewise.
57428         * include/sys/uio.h: Likewise.
57429         * include/time.h: Likewise.
57430         * include/unistd.h: Likewise.
57431         * include/utmp.h: Likewise.
57432         * include/wchar.h: Likewise.
57433         * include/wctype.h: Likewise.
57434         * inet/aliases.h: Likewise.
57435         * inet/arpa/inet.h: Likewise.
57436         * inet/netinet/ether.h: Likewise.
57437         * inet/netinet/in.h: Likewise.
57438         * intl/libintl.h: Likewise.
57439         * io/bits/fcntl2.h: Likewise.
57440         * io/fcntl.h: Likewise.
57441         * io/ftw.h: Likewise.
57442         * io/sys/poll.h: Likewise.
57443         * io/sys/stat.h: Likewise.
57444         * io/sys/statfs.h: Likewise.
57445         * io/sys/statvfs.h: Likewise.
57446         * io/utime.h: Likewise.
57447         * libio/bits/stdio.h: Likewise.
57448         * libio/bits/stdio2.h: Likewise.
57449         * libio/libio.h: Likewise.
57450         * libio/libioP.h: Likewise.
57451         * libio/stdio.h: Likewise.
57452         * locale/lc-ctype.c: Likewise.
57453         * locale/locale.h: Likewise.
57454         * login/utmp.h: Likewise.
57455         * malloc/arena.c: Likewise.
57456         * malloc/malloc.c: Likewise.
57457         * malloc/malloc.h: Likewise.
57458         * malloc/mcheck.c: Likewise.
57459         * malloc/mtrace.c: Likewise.
57460         * math/bits/mathcalls.h: Likewise.
57461         * math/fenv.h: Likewise.
57462         * math/math_private.h: Likewise.
57463         * misc/bits/error.h: Likewise.
57464         * misc/bits/syslog.h: Likewise.
57465         * misc/err.h: Likewise.
57466         * misc/error.h: Likewise.
57467         * misc/fstab.h: Likewise.
57468         * misc/mntent.h: Likewise.
57469         * misc/regexp.h: Likewise.
57470         * misc/search.h: Likewise.
57471         * misc/sgtty.h: Likewise.
57472         * misc/sys/mman.h: Likewise.
57473         * misc/sys/syslog.h: Likewise.
57474         * misc/sys/uio.h: Likewise.
57475         * misc/sys/xattr.h: Likewise.
57476         * misc/ttyent.h: Likewise.
57477         * nis/rpcsvc/ypclnt.h: Likewise.
57478         * nss/nss.h: Likewise.
57479         * posix/bits/unistd.h: Likewise.
57480         * posix/fnmatch.h: Likewise.
57481         * posix/glob.h: Likewise.
57482         * posix/sched.h: Likewise.
57483         * posix/spawn.h: Likewise.
57484         * posix/sys/wait.h: Likewise.
57485         * posix/unistd.h: Likewise.
57486         * posix/wordexp.h: Likewise.
57487         * pwd/pwd.h: Likewise.
57488         * resolv/netdb.h: Likewise.
57489         * resource/sys/resource.h: Likewise.
57490         * rt/aio.h: Likewise.
57491         * rt/bits/mqueue2.h: Likewise.
57492         * rt/mqueue.h: Likewise.
57493         * shadow/shadow.h: Likewise.
57494         * signal/signal.h: Likewise.
57495         * socket/send.c: Likewise.
57496         * socket/sendto.c: Likewise.
57497         * socket/sys/socket.h: Likewise.
57498         * stdio-common/printf.h: Likewise.
57499         * stdlib/bits/stdlib.h: Likewise.
57500         * stdlib/fmtmsg.h: Likewise.
57501         * stdlib/monetary.h: Likewise.
57502         * stdlib/stdlib.h: Likewise.
57503         * stdlib/ucontext.h: Likewise.
57504         * streams/stropts.h: Likewise.
57505         * string/argz.h: Likewise.
57506         * string/bits/string2.h: Likewise.
57507         * string/string.h: Likewise.
57508         * string/strings.h: Likewise.
57509         * sunrpc/rpc/auth.h: Likewise.
57510         * sunrpc/rpc/auth_des.h: Likewise.
57511         * sunrpc/rpc/clnt.h: Likewise.
57512         * sunrpc/rpc/netdb.h: Likewise.
57513         * sunrpc/rpc/pmap_clnt.h: Likewise.
57514         * sunrpc/rpc/xdr.h: Likewise.
57515         * sysdeps/generic/inttypes.h: Likewise.
57516         * sysdeps/generic/net/if.h: Likewise.
57517         * sysdeps/generic/sys/swap.h: Likewise.
57518         * sysdeps/gnu/net/if.h: Likewise.
57519         * sysdeps/gnu/utmpx.h: Likewise.
57520         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57521         * sysdeps/i386/i486/bits/string.h: Likewise.
57522         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57523         * sysdeps/s390/bits/string.h: Likewise.
57524         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57525         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57526         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57527         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57528         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57529         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57530         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57531         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57532         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57533         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57534         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57535         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57536         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57537         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57538         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57539         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57540         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57543         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57544         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57545         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57546         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57547         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57548         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57549         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57550         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57551         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57552         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57553         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57554         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57555         * sysvipc/sys/ipc.h: Likewise.
57556         * sysvipc/sys/msg.h: Likewise.
57557         * sysvipc/sys/sem.h: Likewise.
57558         * sysvipc/sys/shm.h: Likewise.
57559         * termios/termios.h: Likewise.
57560         * time/sys/time.h: Likewise.
57561         * time/time.h: Likewise.
57562         * wcsmbs/bits/wchar2.h: Likewise.
57563         * wcsmbs/uchar.h: Likewise.
57564         * wcsmbs/wchar.h: Likewise.
57565         * wctype/wctype.h: Likewise.
57567         [BZ #13551]
57568         * Makeconfig: Remove all but ELF support including AIX support.
57569         * Makerules: Likewise.
57570         * config.h.in: Likewise.
57571         * config.make.in: Likewise.
57572         * configure: Likewise.
57573         * configure.in: Likewise.
57574         * csu/Makefile: Likewise.
57575         * csu/version.c: Likewise.
57576         * debug/Makefile: Likewise.
57577         * dlfcn/Makefile: Likewise.
57578         * elf/Makefile: Likewise.
57579         * extra-lib.mk: Likewise.
57580         * iconv/Makefile: Likewise.
57581         * include/libc-symbols.h: Likewise.
57582         * include/shlib-compat.h: Likewise.
57583         * resolv/Makefile: Likewise.
57584         * resolv/res_libc.c: Likewise.
57585         * rt/Makefile: Likewise.
57586         * sysdeps/i386/asm-syntax.h: Likewise.
57587         * sysdeps/i386/sysdep.h: Likewise.
57588         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57589         * sysdeps/mach/sysdep.h: Likewise.
57590         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57591         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57592         * sysdeps/s390/asm-syntax.h: Likewise.
57593         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57594         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57595         * sysdeps/sh/sysdep.h: Likewise.
57596         * sysdeps/unix/sparc/sysdep.h: Likewise.
57597         * sysdeps/wordsize-32/divdi3.c: Likewise.
57598         * sysdeps/x86_64/sysdep.h: Likewise.
57600         * argp/Versions: Remove _argp_unlock_xxx.
57602         [BZ #13559]
57603         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57604         * abilist/libBrokenLocale.abilist: Likewise.
57605         * abilist/libanl.abilist: Likewise.
57606         * abilist/libc.abilist: Likewise.
57607         * abilist/libcrypt.abilist: Likewise.
57608         * abilist/libdl.abilist: Likewise.
57609         * abilist/libm.abilist: Likewise.
57610         * abilist/libnsl.abilist: Likewise.
57611         * abilist/libpthread.abilist: Likewise.
57612         * abilist/libresolv.abilist: Likewise.
57613         * abilist/librt.abilist: Likewise.
57614         * abilist/libthread_db.abilist: Likewise.
57615         * abilist/libutil.abilist: Likewise.
57616         * abilist/libnss_db.abilist: New file.
57618         * scripts/abilist.awk: Add support for indirect functions.
57620         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57622         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57624         * shlib-versions: Remove entries for ports architectures.
57626         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57627         files in ports.
57628         * elf/stackguard-macros.h: Remove support for IA-64.
57629         * elf/tst-auditmod1.c: Likewise.
57630         * sysdeps/generic/ldsodefs.h: Likewise.
57632         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57633         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57634         configure files.
57636         [BZ #13552]
57637         * configure.in: Remove --enable-omitfp support.
57638         * FAQ.in: Adjust.
57639         * config.make.in: Likewise.
57640         * Makeconfig: Likewise.
57641         * manual/install.texi: Likewise.
57643         In case anyone cares, the IA-64 architecture could move to ports.
57644         * sysdeps/ia64/*: Removed.
57645         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57646         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57648         [BZ #13555]
57649         * configure.in: Remove entries for unsupported architectures.
57651         [BZ #13533]
57652         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57653         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57654         routines.
57655         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57656         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57657         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57658         fall back to using wcrtomb.
57659         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57660         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57661         renaming.
57662         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57663         * wcsmbs/tst-c16c32-1.c: New file.
57665         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57666         local variable.
57668         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57670         * elf/tst-unique3.cc: Add explicit declaration of gets.
57671         * elf/tst-unique3lib.cc: Likewise.
57672         * elf/tst-unique3lib2.cc: Likewise.
57673         * elf/tst-unique4.cc: Likewise.
57675         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57677 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57679         [BZ #13566]
57680         * assert/assert.h (static_assert): Don't define for C++.
57681         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57682         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57684 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57686         * iconv/loop.c (single loop): Fix assertion in storing of
57687         remaining bytes.
57689         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57691 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57693         * posix/getconf.c: Update copyright year.
57694         * nss/getent.c: Likewise.
57695         * nss/makedb.c: Likewise.
57696         * iconv/iconvconfig.c: Likewise.
57697         * iconv/iconv_prog.c: Likewise.
57698         * elf/ldconfig.c: Likewise.
57699         * elf/pldd.c: Likewise.
57700         * elf/sotruss.ksh: Likewise.
57701         * catgets/gencat.c: Likewise.
57702         * csu/version.c: Likewise.
57703         * elf/ldd.bash.in: Likewise.
57704         * elf/sprof.c (print_version): Likewise.
57705         * locale/programs/locale.c: Likewise.
57706         * locale/programs/localedef.c: Likewise.
57707         * login/programs/pt_chown.c: Likewise.
57708         * nscd/nscd.c (print_version): Likewise.
57709         * debug/xtrace.sh: Likewise.
57710         * malloc/memusage.sh: Likewise.
57711         * malloc/mtrace.pl: Likewise.
57712         * debug/catchsegv.sh: Likewise.
57714 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57716         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57717         pure attribute.
57719 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57721         [BZ #13533]
57722         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57723         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57724         transformations.
57725         * iconv/gconv_int.h: Likewise.
57726         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57727         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57728         from libc for GLIBC_2.16.
57729         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57730         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57731         * wcsmbs/uchar.h: Really define mbstate_t.
57732         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57733         * wcsmbs/c16rtomb.c: New file.
57734         * wcsmbs/mbrtoc16.c: New file.
57735         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57736         for C/POSIX locale.
57737         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57738         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57740         * wcsmbs/wchar.h: Add missing __restrict.
57742 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57744         [BZ #13532]
57745         * time/Makefile (routines): Add timespec_get.
57746         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57747         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57748         timespec for ISO C11.
57749         * time/timespec_get.c: New file.
57750         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57751         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57753         [BZ #13531]
57754         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57755         * stdlib/stdlib.h: Declare aligned_alloc.
57756         * Versions.def: Add GLIBC_2.16 for libc.
57757         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57759         [BZ 13527]
57760         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57761         ISO C11.
57763         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57764         code.
57766         [BZ #13528]
57767         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57769         [BZ #13529]
57770         * assert/assert.h (static_assert): Define.
57772         * version.h: Update for 2.16 development version.
57774         [BZ #13526]
57775         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57776         _ISOC11_SOURCE.
57778         * version.h (RELEASE): Bump for 2.15 release.
57779         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57781         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57782         Patch by Marek Polacek <mpolacek@redhat.com>.
57784         * bits/byteswap.h: Protect long long constants with __extension__.
57785         * sysdeps/i386/bits/byteswap.h: Likewise.
57786         * sysdeps/ia64/bits/byteswap.h: Likewise.
57787         * sysdeps/s390/bits/byteswap.h: Likewise.
57788         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57790 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57792         [BZ #13540]
57793         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57794         destination buffer.
57795         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57797 2011-12-23  Marek Polacek  <polacek@redhat.com>
57799         * elf/dl-addr.c (determine_info): Add inline keyword.
57800         * elf/tst-auditmod4b.c (check_avx): Likewise.
57801         * elf/tst-auditmod6b.c (check_avx): Likewise.
57802         * elf/tst-auditmod6c.c (check_avx): Likewise.
57803         * elf/tst-auditmod7b.c (check_avx): Likewise.
57805 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57807         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57808         !__SSE_MATH__.
57810 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57812         [BZ #13540]
57813         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57814         processing for last bytes.
57816 2011-08-06  Bruno Haible  <bruno@clisp.org>
57818         [BZ #13061]
57819         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57820         U+0385, not to U+1FEE.
57822         [BZ #13062]
57823         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57824         entry for U+00A5 U+0301.
57826 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57828         [BZ #13166]
57829         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57830         buffer for the output is too small.
57832         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57833         optimization.
57835         [BZ #13185]
57836         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57837         SSE flags if possible.
57839 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57841         [BZ #13540]
57842         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57843         processing for last bytes.
57845 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57847         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57848         (syscall-list-default-options, syscall-list-default-condition)
57849         (syscall-list-includes): Define.
57850         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57851         list of ABIs and options and #if conditions for each ABI.  Do not
57852         handle common syscalls between ABIs specially.
57853         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57854         Remove.
57855         (syscall-list-variants, syscall-list-32bit-options)
57856         (syscall-list-32bit-condition, syscall-list-64bit-options)
57857         (syscall-list-64bit-condition): Define.
57858         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57859         (syscall-list-variants, syscall-list-32bit-options)
57860         (syscall-list-32bit-condition, syscall-list-64bit-options)
57861         (syscall-list-64bit-condition): Define.
57862         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57863         Remove.
57864         (syscall-list-variants, syscall-list-32bit-options)
57865         (syscall-list-32bit-condition, syscall-list-64bit-options)
57866         (syscall-list-64bit-condition): Define.
57867         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57868         Remove.
57869         (syscall-list-variants, syscall-list-32bit-options)
57870         (syscall-list-32bit-condition, syscall-list-64bit-options)
57871         (syscall-list-64bit-condition): Define.
57873 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57875         * locale/iso-639.def: Add brx entry.
57877         [BZ #13328]
57878         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57879         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57881         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57882         __feraiseexcept_renamed.
57884 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57886         [BZ #13538]
57887         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57888         EPOLLET with unsigned values.
57889         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57890         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57892         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57893         to large cancellation.
57894         * math/s_cacoshf.c: Likewise.
57895         * math/s_cacoshl.c: Likewise.
57897 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57899         [BZ #13305]
57900         [BZ #12786]
57901         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57902         * math/s_cacoshf.c: Likewise.
57903         * math/s_cacoshl.c: Likewise.
57905 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57907         [BZ #13439]
57908         * iconv/gconv.h: Define __GCONV_SWAP.
57909         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57910         * iconvdata/utf-16.c: Likewise.
57911         * iconvdata/utf-32.c: Likewise.
57913 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57915         [BZ #13524]
57916         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57917         numerator after shifting it by one limb.
57919 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57921         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57922         under [__USE_EXTERN_INLINES].
57924 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57926         [BZ #13446]
57927         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57929 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57931         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57932         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57933         optimized code.
57934         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57935         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57936         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57937         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57938         for strncasecmp/strncasecmp_l compilation.
57939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57940         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57942 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57944         [BZ #13484]
57945         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57946         of __asm__.
57948 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57950         [BZ #13506]
57951         * time/tzfile.c (__tzfile_read): Check values from file header.
57953 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57955         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57956         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57957         * powerpc/powerpc32/dl-start.S: Likewise.
57958         * powerpc/powerpc32/elf/start.S: Likewise.
57959         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57960         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57961         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57962         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57963         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57964         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57965         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57966         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57967         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57968         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57969         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57970         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57971         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57972         * powerpc/powerpc32/memset.S: Likewise.
57973         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57974         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57975         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57976         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57977         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57978         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57979         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57980         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57981         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57982         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57983         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57984         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57985         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57987 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57989         * math/libm-test.inc: Added more nearbyint tests.
57990         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57991         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57992         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57993         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57995 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57997         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57998         FD_CLOEXEC.
58000 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58002         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58003         Add wcscpy-ssse3 wcscpy-c.
58004         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58005         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58006         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58007         * sysdeps/x86_64/wcschr.S: New file.
58008         * sysdeps/x86_64/wcsrchr.S: New file.
58009         * string/test-strcmp.c: Remove checking of wcscmp function for
58010         wrong alignments.
58011         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58012         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58013         wcsrchr-sse2 wcsrchr-c.
58014         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58015         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58016         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58017         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58018         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58019         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58020         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58021         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58022         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58023         * wcsmbc/wcschr.c (WCSCHR): New macro.
58025 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58027         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58028         * wcsmbs/test-wcsrchr.c: New file.
58029         * string/test-strrchr.c: Add wcsrchr support.
58030         (WIDE): New macro.
58031         * wcsmbs/test-wcscpy.c: New file.
58032         * string/test-strcpy.c: Add wcscpy support.
58033         (WIDE): New macro.
58035 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
58037         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58038         the inner loop.
58040 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
58042         [BZ #13472]
58043         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58045 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
58047         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58048         Minor optimizations.
58050         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58051         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58052         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58054 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
58056         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58057         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58058         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58059         for gcc to avoid warnings.
58060         * inet/Makefile (tests): Add tst-checks.
58061         * inet/tst-checks.c: New file.
58063         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58064         warning.
58066         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58067         __wmemcmp_sse2.
58069         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58070         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58072         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58074 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58076         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58077         problem.
58079         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58081 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58083         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58084         conditional on GCC version.
58085         (__arch_compare_and_exchange_val_8_acq)
58086         (__arch_compare_and_exchange_val_16_acq)
58087         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58088         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58089         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58091 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58093         * sysdeps/sh/backtrace.c: New file.
58095 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58097         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58098         parenthesis.
58100 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58102         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58103         falling back to utime.
58105 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58107         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58108         expectations for float.
58110 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58112         * locale/weight.h (findidx): Add parameter len.
58113         * locale/weightwc.h (findidx): Likewise.
58114         * posix/fnmatch_loop.c (FCT): Adjust caller.
58115         * posix/regcomp.c (build_equiv_class): Likewise.
58116         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58117         * posix/regexec.c (check_node_accept_bytes): Likewise.
58118         * string/strcoll_l.c (STRCOLL): Likewise.
58119         * string/strxfrm_l.c (STRXFRM): Likewise.
58121 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58123         * Makefile.in: Remove CVSOPT handling.
58124         * configure.in: Remove use of AC_REVISION.
58125         * iconvdata/Makefile (distribute): No need to filter out CVS.
58126         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58127         handling.
58129 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58131         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58132         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58133         [USE_AS_STRNCASECMP_L]: Likewise.
58134         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58135         NO_TLS_DIRECT_SEG_REFS.
58136         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58137         Fix argument offsets for non-PIC.
58138         [USE_AS_STRNCASECMP_L]: Likewise.
58139         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58140         NO_TLS_DIRECT_SEG_REFS.
58142 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58144         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58145         O_CLOEXEC.
58146         * locale/loadlocale.c (_nl_load_locale): Likewise.
58148 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58150         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58151         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58152         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58153         (SYSCALL_GETTIME): Set errno on error.
58155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58156         count references to noai6ai_cached.
58158 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58160         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58162         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58163         FD_CLOEXEC for /proc/self/maps.
58165         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58166         FD_CLOEXEC for /proc/meminfo.
58168         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58169         gai.conf.
58171         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58172         FD_CLOEXEC for given file.
58174         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58176         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58177         FD_CLOEXEC for /etc/hosts.
58178         (_gethtent): Likewise.
58180         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58182         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58183         cancellation and set FD_CLOEXEC for /etc/netgroup.
58185         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58186         reading /etc/publickey.
58188         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58189         allow cancellation when reading /etc/group.
58191         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58192         cancellation.
58193         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58195         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58196         when using data file.
58198         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58200         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58201         (write_nis_obj): Use "c" and "e" in fopen.
58203         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58205         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58207         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58209         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58211         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58212         locale.alias.
58214         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58216         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58218         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58220         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58221         file parsing and set FD_CLOEXEC.
58223 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58225         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58227 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58229         * malloc/arena.c (arena_get2): Don't call reused_arena when
58230         _int_new_arena failed.
58232 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58234         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58235         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58236         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58237         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58238         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58239         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58240         to compile strcasecmp and strncasecmp.
58241         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58242         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58244         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58246 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58248         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58249         locale-defines.sym to gen-as-const-headers.
58250         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58251         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58253         to compile strcasecmp and strncasecmp.
58254         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58255         strcasecmp_l and strncasecmp_l.
58256         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58257         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58258         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58259         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58260         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58261         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58262         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58263         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58264         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58265         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58266         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58268 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58270         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58271         result of SYSDEP_GETTIME_CPU to retval.
58272         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58273         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58275         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58276         variable.
58278         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58279         mantissa words.
58280         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58282         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58283         from unused variable.
58285         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58286         DWARF definitions.
58287         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58288         for assembling.
58290         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58291         over namespaces.
58293         * sunrpc/rpc_prot.c (rejected): Fix case value.
58295         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58296         unsigned long long int to avoid warnings in shift.
58298         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58299         of use of trans.
58300         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58301         variable tmp.
58303         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58304         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58305         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58307         * nis/nis_table.c (nis_list): Use variable of correct type for
58308         result of __follow_path call.
58310 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58312         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58313         of math functions ceil, trunc, floor, round, and sqrt, when
58314         avaliable on the platform.
58315         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58316         name clash.
58317         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58318         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58319         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58321 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58323         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58324         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58326 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58328         * include/unistd.h: Fix __readlink return type.
58329         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58331 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58333         * stdlib/ucontext.h: Undo last change for makecontext.
58335 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58337         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58339         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58340         * setjmp/setjmp.h: Mark functions as non-leaf.
58341         * setjmp/bits/setjmp2.h: Likewise.
58342         * stdlib/ucontext.h: Likewise.
58344 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58346         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58347         (reused_arena): Don't check arena limit.
58348         (arena_get2): Atomically check arena limit.
58350 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58352         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58353         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58356         instructions.
58358 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58360         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58361         handler when locking.
58363         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58364         Fix size of allocated buffer.
58366 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58368         [BZ #10103]
58369         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58370         declarations for long double functions.
58371         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58373         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58375 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58377         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58378         installed.
58380         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58381         is disabled.
58383 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58385         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58387 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58389         * include/alloca.h (stackinfo_alloca_round): Define.
58390         (extend_alloca): Use it.
58391         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58392         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58393         here.
58395         * scripts/check-local-headers.sh: Ignore libaudit.h.
58397         * nscd/Makefile (extra-objs): Make recursively expanded.
58399 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58401         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58402         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58404         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58405         * posix/tst-rfc3484-2.c: Likewise.
58406         * posix/tst-rfc3484-3.c: Likewise.
58408         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58409         process_vm_writev.
58410         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58411         process_vm_writev.
58412         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58413         process_vm_writev from libc using GLIBC_2.15 version.
58415         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58417 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58419         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58420         stack usage.
58422 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58424         [BZ #13367]
58425         * nss/getent.c (initgroups_keys): Show error message in case no group
58426         names are given.
58428         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58429         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58430         __bump_nl_timestamp.
58431         * nscd/connections (nscd_init): When host database is served open
58432         netlink socket and request notification about configuration changes.
58433         (main_loop_poll): Track netlink file descriptor and bump timestamp
58434         in case data becomes available.
58435         (main_loop_epoll): Likewise.
58436         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58437         (database_pers_head): Add extra_data fileds.
58438         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58439         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58440         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58441         Adjust caller.
58442         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58443         in6ai data, call __free_in6ai.
58444         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58445         Add -DHAVE_NETLINK.
58446         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58447         interface information.  Reuse previous data if netlink timestamp
58448         is not changed.
58449         (__bump_nl_timestamp): New function.
58450         (__free_in6ai): New function.
58452 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58454         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58455         close_not_cancel_no_status here.
58456         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58458 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58460         [BZ #13276]
58461         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58462         return value.
58464         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58465         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58466         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58468 2011-07-03  Andreas Jaeger  <aj@suse.de>
58470         [BZ #10709]
58471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58472         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58473         * math/libm-test.inc (sin_test): Add test case.
58475 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58477         [BZ #13337]
58478         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58479         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58481         * elf/chroot_canon.c (chroot_canon): Cleanups.
58483         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58485         [BZ #13335]
58486         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58487         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58489         * string/test-strchr.c: Make usable for strchrnul testing.
58490         * string/test-strchrnul.c: New file.
58491         * string/Makefile (strop-tests): Add strchrnul.
58493         * po/it.po: Update from translation team.
58494         * po/es.po: Likewise.
58496 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58498         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58499         the three constants needed as parameters.  Drop the others.
58500         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58501         __m128i_strloadu_tolower.
58502         Create and initialize variable zero and use it in all the places
58503         where _mm_setzero_si128 was used.
58505         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58506         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58507         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58508         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58509         anymore.
58510         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58511         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58512         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58513         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58514         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58515         __mpranred, __mptan.
58516         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58517         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58518         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58519         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58520         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58521         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58522         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58523         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58524         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58526 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58528         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58529         redefine if SHARED.
58530         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58532         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58533         wide char related routines to wcsmbs subdir.
58535 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58537         [BZ #13344]
58538         * misc/sys/cdefs.h (__THROWNL): Define.
58539         * posix/unistd.h: Use __THREADNL instead of __THREAD
58540         for memory synchronization functions.
58542 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58544         [BZ #13349]
58545         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58546         doesn't exist.
58547         * manual/stdio.texi (Obstack Streams): Node removed.
58549 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58551         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58552         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58553         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58555         * math/math_private.h (math_force_eval): Allow non-addressable
58556         arguments.
58557         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58559 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58561         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58562         file is not needed.
58564         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58565         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58566         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58567         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58568         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58569         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58570         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58571         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58572         Add AVX variants.
58573         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58574         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58575         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58576         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58577         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58578         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58579         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58580         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58581         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58582         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58583         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58584         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58586         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58587         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58588         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58589         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58590         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58591         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58593         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58594         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58596         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58597         place.  Use VEX encoding when compiling for AVX.
58599 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58601         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58602         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58604         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58606 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58608         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58609         useless if() expression.
58610         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58611         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58612         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58613         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58614         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58615         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58616         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58617         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58618         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58619         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58620         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58621         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58622         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58623         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58624         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58625         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58626         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58627         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58628         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58630         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58632 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58634         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58635         condition.
58636         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58638 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58640         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58641         .text section.  Avoid duplicate constants.
58642         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58643         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58644         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58645         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58646         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58650         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58651         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58652         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58653         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58654         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58655         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58656         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58657         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58658         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58659         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58660         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58662         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58663         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58664         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58665         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58666         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58667         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58668         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58669         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58670         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58671         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58672         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58673         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58674         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58675         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58676         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58677         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58678         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58679         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58680         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58681         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58682         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58683         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58684         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58685         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58686         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58688 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58690         * sysdeps/x86_64/dla.h: Move to ...
58691         * sysdeps/x86_64/fpu/dla.h: ...here.
58692         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58693         situations.  Use __builtin_fma only for gcc 4.6 and up.
58695         * config.make.in: Add have-mfma4 entry.
58696         * configure.in: Substitute libc_cv_cc_fma4.
58697         * math/Makefile (dbl-only-routines): Add sincostab.
58698         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58699         Use __sincostab not sincos.
58700         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58701         name is a macro.
58702         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58703         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58706         using __copysign.
58707         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58708         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58709         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58710         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58711         and __inv.
58712         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58713         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58714         __copysign.
58715         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58716         define aliases when function name is a macro.
58717         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58718         sysdeps/ieee754/dbl-64/sincos.tbl.
58719         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58720         fma4-enabled routines.
58721         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58722         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58723         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58724         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58725         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58726         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58727         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58728         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58729         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58730         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58731         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58732         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58733         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58734         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58735         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58736         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58737         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58738         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58739         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58741         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58742         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58743         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58744         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58745         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58746         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58747         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58748         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58749         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58750         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58752         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58753         rename.
58754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58763 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58765         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58767 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58769         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58771         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58772         prediction.
58773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58775         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58776         Remove unused variable magic_bits.
58777         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58779         * string/strnlen.c: Define and use STRNLEN macro.
58780         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58781         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58782         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58783         * wcsmbs/wcslen.c: Define and use WCSLEN.
58784         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58785         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58786         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58787         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58788         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58789         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58790         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58792 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58795         strnlen-sse2-no-bsf.
58796         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58797         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58798         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58799         Add strnlen support.
58800         (USE_AS_STRNLEN): New macro.
58801         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58802         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58803         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58804         * sysdeps/x86_64/wcslen.S: New file.
58806 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58808         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58809         XMM-moves are used for copying on small sizes.
58811 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58813         * wcsmbs/Makefile (strop-tests): Add wcschr.
58814         * wcsmbs/test-wcschr.c: New file.
58815         * string/test-strchr.c: Update.
58816         Add wcschr support.
58817         (WIDE): New macro.
58819 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58821         * wcsmbs/Makefile (strop-tests): Add wcslen.
58822         * wcsmbs/test-wcslen.c: New file.
58823         * string/test-strlen.c: Update.
58824         Add wcslen support.
58825         (WIDE): New macro.
58827 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58829         * po/it.po: Update from translation team.
58831 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58833         * sysdeps/x86_64/wcscmp.S: Update.
58834         Fix wrong comparison semantics.
58835         wcscmp shall use signed comparison not unsigned.
58836         Don't use substraction to avoid overflow bug.
58837         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58838         * wcsmbc/wcscmp.c: Likewise.
58839         * string/test-strcmp.c: Likewise.
58840         Add new tests to check cases with negative values.
58842 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58844         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58845         * sysdeps/x86_64/dla.h: ...here.  New file.
58846         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58847         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58848         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58849         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58850         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58851         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58853         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58856 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58858         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58859         __ynl_finite aliases.
58861 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58865         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58866         define DLA_FMA.
58867         [DLA_FMA] (EMULV): Use DLA_FMA.
58868         [DLA_FMA] (MUL12): Use EMULV.
58869         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58870         that are not needed.
58871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58872         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58873         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58874         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58876         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58877         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58879 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58881         * math/s_nan.c: Undef __nan.
58882         * math/s_nanf.c: Undef __nanf.
58883         * math/s_nanl.c: Undef __nanl.
58884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58885         "math_private.h".
58887 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58889         * math/s_catan.c: Add branch predictions.
58890         * math/s_catanf.c: Likewise.
58891         * math/s_catanh.c: Likewise.
58892         * math/s_catanhf.c: Likewise.
58893         * math/s_catanhl.c: Likewise.
58894         * math/s_catanl.c: Likewise.
58895         * math/s_cexp.c: Likewise.
58896         * math/s_cexpf.c: Likewise.
58897         * math/s_cexpl.c: Likewise.
58898         * math/s_clog.c: Likewise.
58899         * math/s_clog10.c: Likewise.
58900         * math/s_clog10f.c: Likewise.
58901         * math/s_clog10l.c: Likewise.
58902         * math/s_clogf.c: Likewise.
58903         * math/s_clogl.c: Likewise.
58904         * math/s_csqrt.c: Likewise.
58905         * math/s_csqrtf.c: Likewise.
58906         * math/s_csqrtl.c: Likewise.
58907         * math/s_ctanf.c: Likewise.
58908         * math/s_ctanh.c: Likewise.
58909         * math/s_ctanhf.c: Likewise.
58910         * math/s_ctanhl.c: Likewise.
58911         * math/s_ctanl.c: Likewise.
58913         * math/math_private.h: Define __nan, __nanf, __nanl.
58914         * math/s_cacosh.c: Include <math_private.h>.
58915         * math/s_cacoshl.c: Likewise.
58916         * math/s_casinh.c: Likewise.
58917         * math/s_casinhf.c: Likewise.
58918         * math/s_casinhl.c: Likewise.
58919         * math/s_ccos.c: Rely entire on ccosh.
58920         * math/s_ccosf.c: Rely entire on ccoshf.
58921         * math/s_ccosl.c: Rely entirely on ccoshl.
58922         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58923         Remove tests for FE_INVALID.
58924         * math/s_ccoshf.c: Likewise.
58925         * math/s_ccoshl.c: Likewise.
58926         * math/s_csin.c: Likewise.
58927         * math/s_csinf.c: Likewise.
58928         * math/s_csinh.c Likewise.
58929         * math/s_csinhf.c: Likewise.
58930         * math/s_csinhl.c: Likewise.
58931         * math/s_csinl.c: Likewise.
58932         * math/s_ctan.c: Likewise.
58933         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58934         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58935         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58937 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58940         compilation problems.
58942         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58943         __builtin_expect.
58945 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58947         * sysdeps/i386/configure.in: Test for -mfma4 option.
58948         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58949         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58950         COMMON_CPUID_INDEX_80000001.
58951         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58952         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58953         use it if FMA3 is not supported.
58954         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58956         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58957         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58959 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58961         [BZ #12892]
58962         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58963         it would create a cycle with a link time dependency.
58965 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58967         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58968         instruction.
58969         * string/Makefile (strop-tests): Add rawmemchr.
58970         * string/test-rawmemchr.c: New file.
58972         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58974         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58975         when compiling str{,n}casecmp and when AVX is available.  Hook up
58976         new optimized code in initializers.
58978 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58980         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58981         __feraiseexcept instead of feraiseexcept.
58983 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58985         * math/math_private.h: Define defaults for libc_fetestexcept and
58986         libc_feupdateenv.
58987         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58988         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58989         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58990         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58991         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58992         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58993         libc_fetestexcept and libc_feupdateenv.
58995         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58996         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58997         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58998         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58999         libc_feholdexcept_setround.
59001         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59002         Add s_nearbyint-c and s_nearbyintf-c.
59003         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59004         nearbyintf inlines.
59005         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59006         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59007         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59008         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59010         * math/math_private.h: Define defaults for libc_fegetround,
59011         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59012         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59013         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59014         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59015         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59016         standard functions.
59017         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59018         Remove comments and hacks for old compiler versions.
59019         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59020         libc_fegetround, libc_fesetround, libc_feholdexcept, and
59021         libc_feholdexceptl.
59023 2011-10-18  Andreas Schwab  <schwab@redhat.com>
59025         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59026         (__feraiseexcept_renamed): Add __NTH.
59027         (feraiseexcept): Add __NTH.  Rename local variables to fix
59028         namespace violations.
59030 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
59032         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59034         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59036         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59037         recently added interfaces.
59038         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59040         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59041         about macro parameter expansion.
59043         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59044         __NO_MATH_INLINES is defined.  Cleanups.
59046         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59047         and __floorf is target has SSE4.1.
59048         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59049         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59050         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59051         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59053         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59054         name.
59055         (floorf): Likewise.
59057         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59059 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59061         * misc/sys/cdefs.h: Fix last change.
59063         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59064         database lookup.
59066 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59068         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59070         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59072         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59073         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59074         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59075         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59076         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59077         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59078         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59079         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59080         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59081         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59082         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59083         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59084         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59085         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59086         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59087         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59088         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59089         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59090         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59091         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59093         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59094         ceil, ceilf, floor, floorf.
59096         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59097         Perform IRELATIVE relocations last.
59099         * elf/do-rel.h: Add another parameter nrelative, replacing the
59100         local variable with the same name.  Change name of the function
59101         to end in Rel or Rela (uppercase).
59102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59103         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59104         elf_dynamic_do_##reloc function.
59106 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59108         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59109         is sufficient, at least on modern CPUs.
59111         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59113         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59114         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59116         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59117         __expl_finite.
59118         * math/bits/math-finite.h: Add entries for exp.
59119         * math/e_expl.c: Add __*_finite alias.
59120         * sysdeps/i386/fpu/e_exp.S: Likewise.
59121         * sysdeps/i386/fpu/e_expf.S: Likewise.
59122         * sysdeps/i386/fpu/e_expl.c: Likewise.
59123         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59124         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59125         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59126         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59127         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59128         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59129         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59131         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59132         is sufficient, at least on modern CPUs.
59134         * ctype/ctype-info.c (__ctype_init): Define.
59135         * include/ctype.h (__ctype_init): Declare.
59136         (__ctype_b_loc): The variable is always initialized.
59137         (__ctype_toupper_loc): Likewise.
59138         (__ctype_tolower_loc): Likewise.
59139         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59140         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59142 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59144         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59146         * configure.in: Also look in $cxxmachine/include for C++ system
59147         headers.
59149 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59151         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59152         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59153         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59154         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59155         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59156         (USE_AS_WMEMCMP): New macro.
59157         Fixing indents.
59158         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59159         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59160         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59161         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59163         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59164         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59165         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59166         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59167         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59168         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59169         (USE_AS_WMEMCMP): New macro.
59170         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59171         * sysdeps/string/test-memcmp.c: Update.
59172         Fix simple_wmemcmp.
59173         Add new tests.
59174         * wcsmbs/wmemcmp.c: Update.
59175         (WMEMCMP): New macro.
59176         Fix overflow bug.
59178 2011-10-12  Andreas Jaeger  <aj@suse.de>
59180         [BZ #13268]
59181         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59183 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59185         * libio/iofwide.c (do_length): Avoid warning.
59187         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59189 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59191         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59193         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59194         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59195         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59196         * sysdeps/i386/i686/fpu/e_log.S: New file.
59197         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59198         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59200         * ctype/ctype.h: Add support for inlined isXXX functions when
59201         compiling C++ code.
59203 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59205         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59209 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59211         [BZ #13291]
59212         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59214 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59216         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59217         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59218         feraiseexcept.
59220         * sysdeps/x86_64/memrchr.S: Check for zero size.
59222         * string/stratcliff.c: Add memrchr tests.
59224 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59227         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59228         rawmemchr-sse2 rawmemchr-sse2-bsf.
59229         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59230         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59231         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59232         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59233         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59234         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59235         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59236         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59237         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59238         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59239         * string/memrchr.c (MEMRCHR): New macro.
59241 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59243         Add integration with gcc's -ffinite-math-only and optimize wrapper
59244         functions in libm.
59245         * Versions.def: Define GLIBC_2.15 version for libm.
59246         * math/Makefile (headers): Add bits/math-finite.h.
59247         * math/bits/math-finite.h: New file.
59248         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59249         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59250         * math/e_acoshl.c: Add __*_finite alias.
59251         * math/e_acosl.c: Likewise.
59252         * math/e_asinl.c: Likewise.
59253         * math/e_atan2l.c: Likewise.
59254         * math/e_atanhl.c: Likewise.
59255         * math/e_coshl.c: Likewise.
59256         * math/e_exp10.c: Likewise.
59257         * math/e_exp10f.c: Likewise.
59258         * math/e_exp10l.c: Likewise.
59259         * math/e_exp2l.c: Likewise.
59260         * math/e_fmodl.c: Likewise.
59261         * math/e_gammal_r.c: Likewise.
59262         * math/e_hypotl.c: Likewise.
59263         * math/e_j0l.c: Likewise.
59264         * math/e_j1l.c: Likewise.
59265         * math/e_jnl.c: Likewise.
59266         * math/e_lgammal_r.c: Likewise.
59267         * math/e_log10l.c: Likewise.
59268         * math/e_log2l.c: Likewise.
59269         * math/e_logl.c: Likewise.
59270         * math/e_powl.c: Likewise.
59271         * math/e_sinhl.c: Likewise.
59272         * math/e_sqrtl.c: Likewise.
59273         * math/e_scalb.c: Completely rewritten and optimized.
59274         * math/e_scalbf.c: Likewise.
59275         * math/e_scalbl.c: Likewise.
59276         * math/w_acos.c: Likewise.
59277         * math/w_acosf.c: Likewise.
59278         * math/w_acosl.c: Likewise.
59279         * math/w_acosh.c: Likewise.
59280         * math/w_acoshf.c: Likewise.
59281         * math/w_acoshl.c: Likewise.
59282         * math/w_asin.c: Likewise.
59283         * math/w_asinf.c: Likewise.
59284         * math/w_asinl.c: Likewise.
59285         * math/w_atan2.c: Likewise.
59286         * math/w_atan2f.c: Likewise.
59287         * math/w_atan2l.c: Likewise.
59288         * math/w_atanh.c: Likewise.
59289         * math/w_atanhf.c: Likewise.
59290         * math/w_atanhl.c: Likewise.
59291         * math/w_exp10.c: Likewise.
59292         * math/w_exp10f.c: Likewise.
59293         * math/w_exp10l.c: Likewise.
59294         * math/w_fmod.c: Likewise.
59295         * math/w_fmodf.c: Likewise.
59296         * math/w_fmodl.c: Likewise.
59297         * math/w_j0.c: Likewise.
59298         * math/w_j0f.c: Likewise.
59299         * math/w_j0l.c: Likewise.
59300         * math/w_j1.c: Likewise.
59301         * math/w_j1f.c: Likewise.
59302         * math/w_j1l.c: Likewise.
59303         * math/w_jn.c: Likewise.
59304         * math/w_jnf.c: Likewise.
59305         * math/w_log.c: Likewise.
59306         * math/w_logf.c: Likewise.
59307         * math/w_logl.c: Likewise.
59308         * math/w_log10.c: Likewise.
59309         * math/w_log10f.c: Likewise.
59310         * math/w_log10l.c: Likewise.
59311         * math/w_log2.c: Likewise.
59312         * math/w_log2f.c: Likewise.
59313         * math/w_log2l.c: Likewise.
59314         * math/w_pow.c: Likewise.
59315         * math/w_powf.c: Likewise.
59316         * math/w_powl.c: Likewise.
59317         * math/w_remainder.c: Likewise.
59318         * math/w_remainderf.c: Likewise.
59319         * math/w_remainderl.c: Likewise.
59320         * math/w_scalb.c: Likewise.
59321         * math/w_scalbf.c: Likewise.
59322         * math/w_scalbl.c: Likewise.
59323         * math/w_sqrt.c: Likewise.
59324         * math/w_sqrtf.c: Likewise.
59325         * math/w_sqrtl.c: Likewise.
59326         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59327         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59328         used.
59329         * math/math_private.h: Declare __kernel_standard_f.
59330         * math/w_cosh.c: Remove cruft and optimize a bit.
59331         * math/w_coshf.c: Likewise.
59332         * math/w_coshl.c: Likewise.
59333         * math/w_exp2.c: Likewise.
59334         * math/w_exp2f.c: Likewise.
59335         * math/w_exp2l.c: Likewise.
59336         * math/w_hypot.c: Likewise.
59337         * math/w_hypotf.c: Likewise.
59338         * math/w_hypotl.c: Likewise.
59339         * math/w_lgamma.c: Likewise.
59340         * math/w_lgamma_r.c: Likewise.
59341         * math/w_lgammaf.c: Likewise.
59342         * math/w_lgammaf_r.c: Likewise.
59343         * math/w_lgammal.c: Likewise.
59344         * math/w_lgammal_r.c: Likewise.
59345         * math/w_sinh.c: Likewise.
59346         * math/w_sinhf.c: Likewise.
59347         * math/w_sinhl.c: Likewise.
59348         * math/w_tgamma.c: Likewise.
59349         * math/w_tgammaf.c: Likewise.
59350         * math/w_tgammal.c: Likewise.
59351         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59353         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59354         Minor optimizations.  Pretty printing.  Remove cruft.
59355         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59356         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59357         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59358         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59359         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59360         * sysdeps/i386/fpu/e_asin.S: Likewise.
59361         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59362         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59363         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59364         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59365         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59366         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59367         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59368         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59369         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59370         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59371         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59372         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59373         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59374         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59375         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59376         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59377         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59378         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59379         * sysdeps/i386/fpu/e_log.S: Likewise.
59380         * sysdeps/i386/fpu/e_log10.S: Likewise.
59381         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59382         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59383         * sysdeps/i386/fpu/e_log2.S: Likewise.
59384         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59385         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59386         * sysdeps/i386/fpu/e_logf.S: Likewise.
59387         * sysdeps/i386/fpu/e_logl.S: Likewise.
59388         * sysdeps/i386/fpu/e_pow.S: Likewise.
59389         * sysdeps/i386/fpu/e_powf.S: Likewise.
59390         * sysdeps/i386/fpu/e_powl.S: Likewise.
59391         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59392         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59393         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59394         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59395         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59396         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59397         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59398         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59399         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59400         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59401         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59403         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59404         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59405         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59406         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59407         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59408         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59409         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59410         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59411         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59413         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59414         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59416         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59417         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59418         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59420         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59421         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59422         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59423         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59424         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59425         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59426         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59427         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59428         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59429         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59430         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59431         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59432         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59434         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59435         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59436         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59437         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59438         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59439         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59440         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59441         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59442         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59443         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59444         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59445         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59446         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59447         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59448         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59449         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59450         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59451         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59452         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59453         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59455         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59456         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59457         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59458         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59459         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59460         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59461         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59462         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59464         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59465         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59466         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59467         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59469         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59470         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59471         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59472         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59473         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59474         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59475         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59476         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59477         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59478         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59479         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59480         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59481         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59483         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59484         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59485         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59486         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59487         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59488         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59489         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59490         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59491         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59492         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59493         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59494         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59495         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59496         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59497         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59498         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59499         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59500         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59501         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59502         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59503         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59504         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59505         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59506         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59507         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59508         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59509         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59510         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59511         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59512         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59513         (__isnanf): Likewise.
59514         (__isinf_ns): Likewise.
59515         (__isinf_nsf): Likewise.
59516         (__finite): Likewise.
59517         (__finitef): Likewise.
59518         (__ieee754_sqrt): Define as macro.
59519         (__ieee754_sqrtf): Define as macro.
59520         (__ieee754_sqrtl): Define as macro.
59521         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59522         inlined copy.
59523         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59524         __FINITE_MATH_ONLY__ consistent.
59525         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59527 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59529         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59530         of rawmemchr.
59532         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59534 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59536         * po/ja.po: Update from translation team.
59538 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59540         * locale/programs/locarchive.c (prepare_address_space): New function.
59541         (create_archive, enlarge_archive, open_archive): Use it.
59543         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59544         inside [SHARED], where it is used.
59546         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59548         * nss/getent.c (netgroup_keys): Remove unused variable.
59549         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59551 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59553         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59554         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59555         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59556         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59557         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59558         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59559         * math/Makefile (libm-calls): Add s_isinf_ns.
59560         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59561         * math/multc3.c: Likewise.
59562         * math/s_casin.c: Likewise.
59563         * math/s_casinf.c: Likewise.
59564         * math/s_casinl.c: Likewise.
59565         * math/s_ccos.c: Likewise.
59566         * math/s_ccosf.c: Likewise.
59567         * math/s_ccosl.c: Likewise.
59568         * math/s_ctan.c: Likewise.
59569         * math/s_ctanf.c: Likewise.
59570         * math/s_ctanh.c: Likewise.
59571         * math/s_ctanhf.c: Likewise.
59572         * math/s_ctanhl.c: Likewise.
59573         * math/s_ctanl.c: Likewise.
59574         * math/w_fmod.c: Likewise.
59575         * math/w_fmodf.c: Likewise.
59576         * math/w_fmodl.c: Likewise.
59577         * math/w_remainder.c: Likewise.
59578         * math/w_remainderf.c: Likewise.
59579         * math/w_remainderl.c: Likewise.
59580         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59581         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59582         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59584         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59585         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59586         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59587         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59589         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59590         of the number.
59591         * stdio-common/printf_fphex.c: Likewise.
59592         * stdio-common/printf_size.c: Likewise.
59594         * math/e_exp10.c: Include math_private.h using <...> not "...".
59595         * math/e_exp10f.c: Likewise.
59596         * math/e_exp10l.c: Likewise.
59597         * math/e_exp2l.c: Likewise.
59598         * math/e_j0l.c: Likewise.
59599         * math/e_j1l.c: Likewise.
59600         * math/e_jnl.c: Likewise.
59601         * math/e_lgammal_r.c: Likewise.
59602         * math/e_rem_pio2l.c: Likewise.
59603         * math/e_scalb.c: Likewise.
59604         * math/e_scalbf.c: Likewise.
59605         * math/e_scalbl.c: Likewise.
59606         * math/k_cosl.c: Likewise.
59607         * math/k_sinl.c: Likewise.
59608         * math/k_tanl.c: Likewise.
59609         * math/s_cacoshf.c: Likewise.
59610         * math/s_catan.c: Likewise.
59611         * math/s_catanf.c: Likewise.
59612         * math/s_catanh.c: Likewise.
59613         * math/s_catanhf.c: Likewise.
59614         * math/s_catanhl.c: Likewise.
59615         * math/s_catanl.c: Likewise.
59616         * math/s_ccosh.c: Likewise.
59617         * math/s_ccoshf.c: Likewise.
59618         * math/s_ccoshl.c: Likewise.
59619         * math/s_cexp.c: Likewise.
59620         * math/s_cexpf.c: Likewise.
59621         * math/s_cexpl.c: Likewise.
59622         * math/s_clog.c: Likewise.
59623         * math/s_clog10.c: Likewise.
59624         * math/s_clog10f.c: Likewise.
59625         * math/s_clog10l.c: Likewise.
59626         * math/s_clogf.c: Likewise.
59627         * math/s_clogl.c: Likewise.
59628         * math/s_csin.c: Likewise.
59629         * math/s_csinf.c: Likewise.
59630         * math/s_csinh.c: Likewise.
59631         * math/s_csinhf.c: Likewise.
59632         * math/s_csinhl.c: Likewise.
59633         * math/s_csinl.c: Likewise.
59634         * math/s_csqrt.c: Likewise.
59635         * math/s_csqrtf.c: Likewise.
59636         * math/s_csqrtl.c: Likewise.
59637         * math/s_ctan.c: Likewise.
59638         * math/s_ctanf.c: Likewise.
59639         * math/s_ctanh.c: Likewise.
59640         * math/s_ctanhf.c: Likewise.
59641         * math/s_ctanhl.c: Likewise.
59642         * math/s_ctanl.c: Likewise.
59643         * math/s_ldexp.c: Likewise.
59644         * math/s_ldexpf.c: Likewise.
59645         * math/s_ldexpl.c: Likewise.
59646         * math/s_significand.c: Likewise.
59647         * math/s_significandf.c: Likewise.
59648         * math/s_significandl.c: Likewise.
59649         * math/w_acos.c: Likewise.
59650         * math/w_acosf.c: Likewise.
59651         * math/w_acosh.c: Likewise.
59652         * math/w_acoshf.c: Likewise.
59653         * math/w_acoshl.c: Likewise.
59654         * math/w_acosl.c: Likewise.
59655         * math/w_asin.c: Likewise.
59656         * math/w_asinf.c: Likewise.
59657         * math/w_asinl.c: Likewise.
59658         * math/w_atan2.c: Likewise.
59659         * math/w_atan2f.c: Likewise.
59660         * math/w_atan2l.c: Likewise.
59661         * math/w_atanh.c: Likewise.
59662         * math/w_atanhf.c: Likewise.
59663         * math/w_atanhl.c: Likewise.
59664         * math/w_cosh.c: Likewise.
59665         * math/w_coshf.c: Likewise.
59666         * math/w_coshl.c: Likewise.
59667         * math/w_dremf.c: Likewise.
59668         * math/w_exp10.c: Likewise.
59669         * math/w_exp10f.c: Likewise.
59670         * math/w_exp10l.c: Likewise.
59671         * math/w_exp2.c: Likewise.
59672         * math/w_exp2f.c: Likewise.
59673         * math/w_fmod.c: Likewise.
59674         * math/w_fmodf.c: Likewise.
59675         * math/w_fmodl.c: Likewise.
59676         * math/w_hypot.c: Likewise.
59677         * math/w_hypotf.c: Likewise.
59678         * math/w_hypotl.c: Likewise.
59679         * math/w_j0.c: Likewise.
59680         * math/w_j0f.c: Likewise.
59681         * math/w_j0l.c: Likewise.
59682         * math/w_j1.c: Likewise.
59683         * math/w_j1f.c: Likewise.
59684         * math/w_j1l.c: Likewise.
59685         * math/w_jn.c: Likewise.
59686         * math/w_jnf.c: Likewise.
59687         * math/w_jnl.c: Likewise.
59688         * math/w_lgamma.c: Likewise.
59689         * math/w_lgamma_r.c: Likewise.
59690         * math/w_lgammaf.c: Likewise.
59691         * math/w_lgammaf_r.c: Likewise.
59692         * math/w_lgammal.c: Likewise.
59693         * math/w_lgammal_r.c: Likewise.
59694         * math/w_log.c: Likewise.
59695         * math/w_log10.c: Likewise.
59696         * math/w_log10f.c: Likewise.
59697         * math/w_log10l.c: Likewise.
59698         * math/w_log2.c: Likewise.
59699         * math/w_log2f.c: Likewise.
59700         * math/w_log2l.c: Likewise.
59701         * math/w_logf.c: Likewise.
59702         * math/w_logl.c: Likewise.
59703         * math/w_pow.c: Likewise.
59704         * math/w_powf.c: Likewise.
59705         * math/w_powl.c: Likewise.
59706         * math/w_remainder.c: Likewise.
59707         * math/w_remainderf.c: Likewise.
59708         * math/w_remainderl.c: Likewise.
59709         * math/w_scalb.c: Likewise.
59710         * math/w_scalbf.c: Likewise.
59711         * math/w_scalbl.c: Likewise.
59712         * math/w_sinh.c: Likewise.
59713         * math/w_sinhf.c: Likewise.
59714         * math/w_sinhl.c: Likewise.
59715         * math/w_sqrt.c: Likewise.
59716         * math/w_sqrtf.c: Likewise.
59717         * math/w_sqrtl.c: Likewise.
59718         * math/w_tgamma.c: Likewise.
59719         * math/w_tgammaf.c: Likewise.
59720         * math/w_tgammal.c: Likewise.
59722         * po/ja.po: Update from translation team.
59724 2011-09-29  Andreas Jaeger  <aj@suse.de>
59726         [BZ #13179]
59727         * sunrpc/netname.c (netname2host): Fix logic.
59729         [BZ #6779]
59730         [BZ #6783]
59731         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59732         correctly.
59733         * math/w_remainder.c (__remainder): Likewise.
59734         * math/w_remainderf.c (__remainderf): Likewise.
59735         * math/libm-test.inc (remainder_test): Add test cases.
59737 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59739         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59740         sdiv_qrnnd.
59742 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59744         * string/test-memcmp.c: Avoid unncessary #defines.
59745         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59747 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59749         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59750         Use new sse2 version for core i3 - i7 as it's faster
59751         than sse42 version.
59752         (bit_Prefer_PMINUB_for_stringop): New.
59753         * sysdeps/x86_64/rawmemchr.S: Update.
59754         Replace with faster SSE2 version.
59755         * sysdeps/x86_64/memrchr.S: New file.
59756         * sysdeps/x86_64/memchr.S: Update.
59757         Replace with faster SSE2 version.
59759 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59761         * elf/dl-load.c (lose): Add cast to avoid warning.
59763 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59765         * po/ca.po: Update from translation team.
59767         * inet/getnetgrent_r.c: Hook up nscd.
59768         * nscd/Makefile (routines): Add nscd_netgroup.
59769         (nscd-modules): Add netgroupcache.
59770         (CFLAGS-netgroupcache.c): Define.
59771         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59772         (cache_search): Add const to second parameter.
59773         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59774         INNETGR.
59775         (dbs): Add netgrdb entry.
59776         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59777         (verify_persistent_db): Handle netgrdb.
59778         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59779         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59780         GETFDNETGR.
59781         (netgroup_response_header): Define.
59782         (innetgroup_response_header): Define.
59783         (datahead): Add netgroup_response_header and innetgroup_response_header
59784         elements.
59785         * nscd/nscd.conf: Add entries for netgroup cache.
59786         * nscd/nscd.h (dbtype): Add netgrdb.
59787         (_PATH_NSCD_NETGROUP_DB): Define.
59788         (netgroup_iov_disabled): Declare.
59789         (xmalloc, xcalloc, xrealloc): Move declarations here.
59790         (cache_search): Adjust prototype.
59791         Add netgroup-related prototypes.
59792         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59793         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59794         (__nscd_innetgr): Declare.
59795         * nscd/selinux.c (perms): Use access_vector_t as element type and
59796         add netgroup-related initializers.
59797         * nscd/netgroupcache.c: New file.
59798         * nscd/nscd_netgroup.c: New file.
59799         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59800         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59801         For four parameters use innetgr.
59802         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59803         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59804         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59805         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59807         * nscd/connections.c (register_traced_file): Don't register file
59808         for disabled databases.
59810 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59812         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59814         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59815         from tree and freeing node.
59817 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59819         * nss/nsswitch.c (__nss_database_lookup): Handle
59820         nss_parse_service_list out of memory case.
59822 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59824         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59825         out of memory case.
59827 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59829         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59830         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59831         pass it down.
59832         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59833         elf_machine_rela, elf_machine_lazy_rel.
59834         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59835         (ELF_DYNAMIC_DO_REL): Likewise.
59836         (ELF_DYNAMIC_DO_RELA): Likewise.
59837         (ELF_DYNAMIC_RELOCATE): Likewise.
59838         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59839         to ELF_DYNAMIC_DO_REL.
59840         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59841         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59842         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59843         elf_machine_rela.
59844         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59845         skip_ifunc, don't call ifunc function if non-zero.
59846         (elf_machine_rela): Likewise.
59847         (elf_machine_lazy_rel): Likewise.
59848         (elf_machine_lazy_rela): Likewise.
59849         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59850         (elf_machine_lazy_rel): Likewise.
59851         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59852         Likewise.
59853         (elf_machine_lazy_rel): Likewise.
59854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59855         Likewise.
59856         (elf_machine_lazy_rel): Likewise.
59857         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59858         (elf_machine_lazy_rel): Likewise.
59859         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59860         (elf_machine_lazy_rel): Likewise.
59861         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59862         (elf_machine_lazy_rel): Likewise.
59863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59864         (elf_machine_lazy_rel): Likewise.
59865         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59866         (elf_machine_lazy_rel): Likewise.
59867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59868         (elf_machine_lazy_rel): Likewise.
59870 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59872         * nss/nss_files/files-init.c (_nss_files_init): Use static
59873         initialization for all the *_traced_file variables.
59875 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59877         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59879 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59881         [BZ #13226]
59882         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59884 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59886         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59887         Reread the line before reparsing it.
59889 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59891         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59893 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59894             Maxim Kuvyrkov  <maxim@codesourcery.com>
59895             Joseph Myers  <joseph@codesourcery.com>
59897         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59898         if needed for __stack_chk_guard.
59900 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59902         * sysdeps/posix/spawni.c (script_execute): Always define it.
59903         It will be optimized away if unused.
59904         (maybe_script_execute): New function.
59905         (__spawni): Call it.
59907         * Makerules: Don't include tls.make.
59908         (config-tls): Always set to thread.
59909         * tls.make.c: File removed.
59911 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59913         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59914         * config.make.in (CPPFLAGS-config): New substituted variable.
59916 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59918         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59920         [BZ #13192]
59921         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59922         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59924 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59926         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59927         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59929         (CALL_FAIL): Likewise.
59930         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59931         (CALL_FAIL): Macro removed.
59932         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59934 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59936         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59937         for __FINITE_MATH_ONLY__ == 1.
59939 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59941         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59942         __ieee754_sqrt instead of sqrt.
59943         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59944         __ieee754_sqrtf instead of sqrtf.
59945         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59946         __floorf instead of floorf.
59947         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59948         __floorf, __truncf instead of floorf, truncf.
59950 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59952         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59954         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59955         __extern_always_inline.
59956         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59957         32-bit.
59959 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59961         * elf/rtld.c (dl_main): Also relocate in dependency order when
59962         doing symbol dependency testing.
59964 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59967         Always define `refsym'.
59969 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59971         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59972         (__FD_ELT): Renamed from __FDELT.
59973         * misc/bits/select2.h (__FD_ELT): Likewise.
59974         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59975         __FD_MASK instead of __FDELT, __FDMASK.
59976         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59977         Likewise.
59978         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59979         Likewise.
59981         * elf/Makefile (gen-ldd): Fix pattern.
59983         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59984         (init_tls): Likewise.
59986 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59988         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59990 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59992         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59993         `struct cmsghdr *' instead of `void *'.
59994         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59995         Likewise.
59997 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59999         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60000         if non-absolute.
60001         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60002         ldd_rewrite_script.
60004 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
60006         * configure.in: Remove --with-tls option.
60007         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60008         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60009         out in case it is missing.
60010         * sysdeps/ia64/elf/configure.in: Likewise.
60011         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60012         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60013         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60014         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60015         * sysdeps/sh/elf/configure.in: Likewise.
60016         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60017         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60018         * sysdeps/x86_64/elf/configure.in: Likewise.
60019         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60020         * sysdeps/mach/hurd/tls.h: Likewise.
60022         [BZ #13067]
60023         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60025         [BZ #13090]
60026         * configure.in: Fix use of AC_INIT.
60028         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60030 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
60032         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60033         __set_errno.
60034         * malloc/hooks.c: Likewise.
60036         [BZ #11929]
60037         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
60038         variables statically.
60039         (narenas): Initialize.
60040         (list_lock): Initialize.
60041         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
60042         initializtion of main_arena and list_lock.  Small cleanups.
60043         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60044         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
60045         Add initializers to main_arena and mp_.
60046         (malloc_state): Remove pagesize member.  Change all users to use
60047         GLRO(dl_pagesize).
60049         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60050         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
60051         is always initialized.
60053         * malloc/malloc.c: Removed unused configurations and dead code.
60054         * malloc/arena.c: Likewise.
60055         * malloc/hooks.c: Likewise.
60056         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60058         * include/tls.h: Removed.  USE___THREAD must always be defined.
60059         * bits/libc-tsd.h: Don't handle !USE___THREAD.
60060         * elf/dl-libc.c: Likewise.
60061         * elf/dl-tsd.c: Likewise.
60062         * include/errno.h: Likewise.
60063         * include/netdb.h: Likewise.
60064         * include/resolv.h: Likewise.
60065         * inet/herrno-loc.c: Likewise.
60066         * inet/herrno.c: Likewise.
60067         * malloc/arena.c: Likewise.
60068         * malloc/hooks.c: Likewise.
60069         * malloc/malloc.c: Likewise.
60070         * resolv/res-state.c: Likewise.
60071         * resolv/res_libc.c: Likewise.
60072         * sysdeps/i386/dl-machine.h: Likewise.
60073         * sysdeps/ia64/dl-machine.h: Likewise.
60074         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60075         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60076         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60077         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60078         * sysdeps/sh/dl-machine.h: Likewise.
60079         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60080         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60081         * sysdeps/unix/i386/sysdep.S: Likewise.
60082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60083         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60086         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60088         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60092         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60093         * sysdeps/x86_64/dl-machine.h: Likewise.
60094         * tls.make.c: Likewise.
60096         * configure.in: Remove --with-__thread option.  Make tests for
60097         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60098         tls_model attribute fail if no support is available.  Remove
60099         USE_IN_LIBIO.
60100         * Makeconfig: Adjust for dropped configure option.  All features are
60101         now mandatory.
60102         * Makerules: Likewise.
60103         * Versions.def: Likewise.
60104         * argp/argp-fmtstream.c: Likewise.
60105         * argp/argp-fmtstream.h: Likewise.
60106         * argp/argp-help.c: Likewise.
60107         * assert/assert.c: Likewise.
60108         * config.h.in: Likewise.
60109         * config.make.in: Likewise.
60110         * configure: Likewise.
60111         * configure.in: Likewise.
60112         * csu/Versions: Likewise.
60113         * csu/init.c: Likewise.
60114         * elf/tst-audit2.c: Likewise.
60115         * elf/tst-tls10.c: Likewise.
60116         * elf/tst-tls10.h: Likewise.
60117         * elf/tst-tls11.c: Likewise.
60118         * elf/tst-tls12.c: Likewise.
60119         * elf/tst-tls14.c: Likewise.
60120         * elf/tst-tlsmod11.c: Likewise.
60121         * elf/tst-tlsmod12.c: Likewise.
60122         * elf/tst-tlsmod13.c: Likewise.
60123         * elf/tst-tlsmod13a.c: Likewise.
60124         * elf/tst-tlsmod14a.c: Likewise.
60125         * elf/tst-tlsmod15b.c: Likewise.
60126         * elf/tst-tlsmod16a.c: Likewise.
60127         * elf/tst-tlsmod16b.c: Likewise.
60128         * elf/tst-tlsmod7.c: Likewise.
60129         * elf/tst-tlsmod8.c: Likewise.
60130         * elf/tst-tlsmod9.c: Likewise.
60131         * gmon/gmon.c: Likewise.
60132         * grp/fgetgrent_r.c: Likewise.
60133         * grp/putgrent.c: Likewise.
60134         * hurd/fopenport.c: Likewise.
60135         * include/libc-symbols.h: Likewise.
60136         * include/tls.h: Likewise.
60137         * intl/gettextP.h: Likewise.
60138         * intl/loadinfo.h: Likewise.
60139         * locale/global-locale.c: Likewise.
60140         * locale/localeinfo.h: Likewise.
60141         * mach/devstream.c: Likewise.
60142         * malloc/arena.c: Likewise.
60143         * malloc/set-freeres.c: Likewise.
60144         * misc/err.c: Likewise.
60145         * misc/getttyent.c: Likewise.
60146         * misc/mntent_r.c: Likewise.
60147         * posix/getopt.c: Likewise.
60148         * posix/wordexp.c: Likewise.
60149         * pwd/fgetpwent_r.c: Likewise.
60150         * resolv/Versions: Likewise.
60151         * resolv/res_hconf.c: Likewise.
60152         * shadow/fgetspent_r.c: Likewise.
60153         * shadow/putspent.c: Likewise.
60154         * stdio-common/printf_fphex.c: Likewise.
60155         * stdio-common/tmpfile.c: Likewise.
60156         * stdlib/abort.c: Likewise.
60157         * stdlib/fmtmsg.c: Likewise.
60158         * sunrpc/auth_unix.c: Likewise.
60159         * sunrpc/clnt_perr.c: Likewise.
60160         * sunrpc/clnt_tcp.c: Likewise.
60161         * sunrpc/clnt_udp.c: Likewise.
60162         * sunrpc/clnt_unix.c: Likewise.
60163         * sunrpc/openchild.c: Likewise.
60164         * sunrpc/svc_simple.c: Likewise.
60165         * sunrpc/svc_tcp.c: Likewise.
60166         * sunrpc/svc_udp.c: Likewise.
60167         * sunrpc/svc_unix.c: Likewise.
60168         * sunrpc/xdr.c: Likewise.
60169         * sunrpc/xdr_array.c: Likewise.
60170         * sunrpc/xdr_rec.c: Likewise.
60171         * sunrpc/xdr_ref.c: Likewise.
60172         * sunrpc/xdr_stdio.c: Likewise.
60174 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60176         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60178 2011-07-03  Andreas Jaeger  <aj@suse.de>
60180         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60181         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60182         regenerate with gen-libm-tests.pl.
60184 2010-05-12  Petr Baudis  <pasky@suse.cz>
60186         [BZ #11589]
60187         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60188         around j0() zero points by switching to j1().
60189         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60190         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60191         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60192         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60194 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60196         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60197         instead of 0.
60198         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60199         instead of 0.
60200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60201         Patch in part by Pavel Roskin <proski@gnu.org>.
60203         [BZ #13138]
60204         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60205         realloc.
60206         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60207         Free memory block if necessary.
60209         [BZ #12847]
60210         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60211         be NULL.  Don't lock in this case.
60213 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60215         * elf/elf.h (ELFOSABI_GNU): New macro.
60216         (ELFOSABI_LINUX): Define to that.
60218 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60220         * string/strncat.c (strncat): Undef the symbol in case it has been
60221         defined in bits/string.h.
60223 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60225         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60227         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60228         link map.
60230 2011-08-17  Andreas Jaeger  <aj@suse.de>
60232         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60234 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60235             Ian Lance Taylor  <iant@google.com>
60237         * math/libm-test.inc (lround_test): New testcase.
60238         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60240 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60242         * Makefile: Remove support for automatic cvs check-ins.
60243         * Makerules: Likewise.
60244         * config.make.in: Likewise.
60245         * configure.in: Likewise.
60246         * intl/Makefile: Likewise.
60247         * locale/Makefile: Likewise.
60248         * po/Makefile: Likewise.
60249         * posix/Makefile: Likewise.
60250         * sysdeps/gnu/Makefile: Likewise.
60251         * sysdeps/mach/hurd/Makefile: Likewise.
60252         * sysdeps/sparc/sparc32/Makefile: Likewise.
60254         [BZ #13118]
60255         * posix/Makefile (bug-regex32-ENV): Define.
60256         Patch by John Stanley <jpsinthemix@verizon.net>.
60258         * misc/Makefile (headers): Add bits/select2.h.
60259         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60260         * misc/bits/select2.h: New file.
60261         * include/bits/select2.h: New file.
60262         * debug/Makefile (routines): Add fdelt_chk.
60263         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60264         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60265         FD_ISSET.
60266         * debug/fdelt_chk.c: New file.
60268         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60269         * wcsmbs/test-wmemcmp.c: Likewise.
60270         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60271         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60273 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60275         * string/Makefile (strop-tests): Add memcmp.
60276         * string/test-wmemcmp.c: New file.
60277         * string/test-memcmp.c: Add wmemcmp support.
60279 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60281         [BZ #13153]
60282         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60283         2011-07-19 change.
60285         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60286         garbage value in a __mach_port_mod_refs call in the cases of the
60287         task-self and thread-self ports.
60289 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60291         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60293 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60295         * elf/dl-load.c (lose): Check for non-null L.
60297 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60299         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60301         * elf/dl-libc.c (dlerror_run): Pass back error code from
60302         dl_catch_error.
60304         [BZ #13123]
60305         * elf/dl-load.c (lose): Free l_origin if it is valid.
60307         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60308         names.
60309         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60310         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60311         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60312         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60313         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60314         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60316 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60318         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60319         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60320         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60321         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60322         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60323         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60324         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60325         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60326         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60327         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60329 2011-08-15  Alan Modra  <amodra@gmail.com>
60331         [BZ #13092]
60332         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60333         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60334         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60335         ppc_mcount to static-only-routines.
60336         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60337         __mcount_internal.
60338         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60339         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60341 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60343         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60344         for finite and infinity parameters.
60346 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60349         and add nop instructions for throughput optimization.
60350         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60352 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60354         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60355         aligned copy for power7 with vector-scalar instructions.
60356         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60358 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60360         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60361         AVX check.
60363 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60365         [BZ #13144]
60366         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60367         last change.
60369 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60371         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60372         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60373         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60374         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60375         clock_gettime.
60377 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60379         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60380         Forgot to demangle the pointer.
60382         * sysdeps/i386/sysdep.h: Define atom_text_section.
60383         * sysdeps/x86_64/sysdep.h: Likewise.
60384         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60385         section with atom_text_section.
60386         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60387         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60388         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60390         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60392         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60393         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60394         already be defined.  Change to take two parameters and don't assign
60395         result to variable.  Adjust all users.
60396         Define INTERNAL_GETTIME if not already defined.
60397         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60398         call.
60399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60400         HAVE_CLOCK_GETTIME_VSYSCALL.
60401         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60404         gettimeofday vsyscall, just use time.
60406 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60408         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60409         <errno.h>.
60411 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60413         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60414         syscall on x86-64.
60415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60416         syscall.
60417         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60419         syscall if possible.
60421 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60423         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60424         e_ident.  Don't pass to find_mapsXX.
60425         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60427 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60430         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60431         * sysdeps/x86_64/multiarch/strchr.S: Update.
60432         Check bit_slow_BSF bit.
60433         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60434         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60435         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60437 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60439         [BZ #13134]
60440         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60441         before glibc 2.15.
60442         (tryshell): Define.
60443         (__spawni): Change last parameter to be flag.  Test
60444         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60445         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60446         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60447         * posix/spawni.c: Likewise.
60448         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60449         * posix/spawnp.c: Likewise.  Change normal version to use
60450         SPAWN_XFLAGS_USE_PATH.
60451         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60452         SPAWN_XFLAGS_TRY_SHELL.
60454         [BZ #13150]
60455         * posix/glob.h: Remove gcc 1.x support.
60457         [BZ #13068]
60458         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60460 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60463         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60464         strrchr-sse2-bsf
60465         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60466         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60467         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60468         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60469         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60470         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60472 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60474         * sysdeps/x86_64/wcscmp.S: New file.
60476         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60477         wcscmp-c wcscmp-sse2
60478         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60479         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60480         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60481         * wcsmbs/wcscmp.c: Allow renaming.
60483 2011-09-05  David S. Miller  <davem@davemloft.net>
60485         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60486         stack slot, rather than the struct return pointer slot.
60487         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60488         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60490         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60494         * po/ja.po: Update from translation team.
60496         [BZ #13144]
60497         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60498         kernel in 64-bit binaries.
60500 2011-09-01  David S. Miller  <davem@davemloft.net>
60502         * elf/elf.h (HWCAP_SPARC_*): Move to..
60503         * sysdeps/sparc/sysdep.h: this new file and add new values.
60504         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60505         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60506         _DL_HWCAP_COUNT to 24.
60507         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60508         entries.
60509         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60510         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60511         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60513         instead of magic constants.
60514         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60516 2011-08-31  David S. Miller  <davem@davemloft.net>
60518         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60520         Reimplement to do errno handling inline.
60521         (SYSCALL_ERROR_HANDLER): New macro.
60522         (__SYSCALL_STRING): Do not do errno handling in asm.
60523         (__CLONE_SYSCALL_STRING): Delete.
60524         (__INTERNAL_SYSCALL_STRING): Delete.
60525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60526         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60527         (PSEUDO): Reimplement to do errno handling inline.
60528         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60529         (SYSCALL_ERROR_HANDLER): New macro.
60530         (__SYSCALL_STRING): Do not do errno handling in asm.
60531         (__CLONE_SYSCALL_STRING): Delete.
60532         (__INTERNAL_SYSCALL_STRING): Delete.
60533         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60534         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60535         i386.
60536         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60537         (inline_syscall*): Add 'err' argument.
60538         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60539         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60540         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60541         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60543         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60544         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60546 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60548         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60550 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60552         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60553         directive.
60555 2011-08-24  David S. Miller  <davem@davemloft.net>
60557         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60559 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60561         * elf/Makefile: Add rules to build and run unload8 test.
60562         * elf/unload8.c: New file.
60563         * elf/unload8mod1.c: New file.
60564         * elf/unload8mod1x.c: New file.
60565         * elf/unload8mod2.c: New file.
60566         * elf/unload8mod3.c: New file.
60568         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60569         it wasn't used.
60571 2011-08-23  David S. Miller  <davem@davemloft.net>
60573         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60574         subtract stack bias.
60575         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60576         %sp not %fp in calculations.
60577         (_JMPBUF_UNWINDS_ADJ): Likewise.
60579         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60580         (aio_suspend): Call it to force an exception region around the
60581         AIO_MISC_WAIT() invocation.
60583 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60585         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60586         backslash.
60588 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60590         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60591         protection macro.
60592         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60593         and <dl-machine.h>.
60594         (Elf64_FuncDesc): Remove.
60596 2011-08-22  David S. Miller  <davem@davemloft.net>
60598         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60599         sigaltstack check, add missing cfi directives.
60600         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60601         missing cfi directives, and sigaltstack handling.
60603 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60605         [BZ #11724]
60606         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60607         object is seen twice.
60608         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60610         * elf/Makefile (distribute): Add tst-initorder2.c.
60611         (tests): Add tst-initorder2.
60612         (modules-names): Add tst-initorder2a tst-initorder2b
60613         tst-initorder2c tst-initorder2d.  Add rules to build them.
60614         ($(objpfx)tst-initorder2.out): New rule.
60615         * elf/tst-initorder2.c: New file.
60616         * elf/tst-initorder2.exp: New file.
60618 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60620         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60622         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60623         dependencies back to end of function.
60625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60626         $(elfobjdir)/ld.so.
60628 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60631         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60632         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60633         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60634         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60635         of __vdso_gettimeofday.
60636         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60637         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60638         attribute_hidden.
60639         (_libc_vdso_platform_setup): Remove initialization of
60640         __vdso_gettimeofday and __vdso_time.
60642 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60644         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60645         and fgetc_unlocked.
60646         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60647         getc_unlocked.
60649         * elf/dl-open.c (add_to_global): Report additions to the global scope
60650         for LD_DEBUG=scopes.
60651         (dl_open_worker): Also print scope of newly loaded dependencies.
60652         (_dl_show_scope): Indicate if there is no scope.
60654         [BZ #13114]
60655         * stdio-common/Makefile (tests): Add bug24.
60656         * stdio-common/bug24.c: New file.
60658 2011-08-19  Andreas Jaeger  <aj@suse.de>
60660         [BZ #13114]
60661         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60662         non-existant file when using close-on-exec mode.
60664 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60666         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60667         the very first instruction.
60669         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60670         the CFI state in the end.
60671         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60672         inclusion of dl-trampoline.h.
60673         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60675 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60677         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60678         expectations for long double.
60680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60681         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60683 2011-08-14  David S. Miller  <davem@davemloft.net>
60685         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60686         artificual limit depends upon the system page size.
60688 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60690         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60691         * resolv/Makefile: Define CFLAGS-libresolv.
60693 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60695         * nss/makedb.c (compute_tables): Make variables used in nested
60696         function static.
60698 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60700         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60701         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60702         if buffer was too small.
60704         * elf/pldd.c (main): Attach to all threads in the process.
60705         Rewrite /proc handling to use *at functions.
60707 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60709         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60710         specifies first scope to show.
60711         (dl_open_worker): Update callers.  Move printing scope of new
60712         object to before the relocation.
60713         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60714         * sysdeps/generic/ldsodefs.h: Update declaration.
60716         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60717         string for the scope number.
60719 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60721         * nscd/servicescache.c (cache_addserv): Make sure written is always
60722         initialized.
60724 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60726         * sysdeps/i386/i486/bits/atomic.h
60727         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60728         statement expression, so as to suppress "set but not used" warning.
60729         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60731         * string/strncat.c (STRNCAT): Use prototype definition.
60733         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60734         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60735         -Iprograms here.
60736         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60737         (localedef-modules): Add localedef.
60738         (locale-modules): Add locale.
60740         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60741         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60742         to avoid a warning.
60744 2011-08-14  David S. Miller  <davem@davemloft.net>
60746         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60747         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60749 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60751         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60752         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60753         * elf/rtld.c (dl_main): Set l_name of vDSO.
60754         Call _dl_show_scope when DL_DEBUG_SCOPES.
60755         (process_dl_debug): Recognize scopes flag and also set it for all.
60756         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60757         Declare _dl_show_scope.
60759         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60760         (do_dlopen): Pass caller_dlopen to dl_open.
60761         (__libc_dlopen_mode): Initialize caller_dlopen.
60763         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60764         of libc.  Make tolower call locale-independent.  Optimize a bit by
60765         using isdigit instead of isalnum.
60766         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60768 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60770         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60771         was a dependency or dynamically loaded.
60773 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60775         * intl/l10nflist.c: Allow architecture-specific pop function.
60776         * sysdeps/x86_64/l10nflist.c: New file.
60778         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60779         classification.
60781 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60783         * include/dirent.h: Add libc_hidden_proto for scandirat and
60784         scandirat64.  Don't declare __scandirat64.
60785         * dirent/scandirat.c: Add libc_hidden_def.
60786         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60787         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60789 2011-08-10  David S. Miller  <davem@davemloft.net>
60791         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60792         enum.
60793         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60794         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60797 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60799         * Versions.def [libc]: Add GLIBC_2.15.
60800         * dirent/Makefile (routines): Add scandirat and scandirat64.
60801         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60802         GLIBC_2.15.
60803         * dirent/dirent.h: Declare scandirat and scandirat64.
60804         * dirent/scandirat.c: New file.
60805         * dirent/scandirat64.c: New file.
60806         * sysdeps/wordsize-64/scandirat.c: New file.
60807         * sysdeps/wordsize-64/scandirat64.c: New file.
60808         * dirent/opendir.c: Define opendirat.
60809         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60810         using scandirat.
60811         * dirent/scandir64.c: Adjust for scandir.c change.
60812         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60813         __scandirat64, and __scandir_cancel_handler.
60814         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60815         additional parameter and use openat instead of open (outside of ld.so).
60816         Add new __opendir as wrapper around __opendirat.
60817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60818         here without requiring old scandirat implementation.
60820 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60822         * dirent/scandir.c (cancel_handler): Renamed to
60823         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60824         defined.  Adjust users.
60825         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60826         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60828 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60830         * string/test-string.h (IMPL): Use __STRING to expand name and then
60831         stringify it.
60833         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60834         of cleanups.
60836 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60838         * string/Makefile: Update.
60839         (strop-tests): Append strncat.
60840         * string/test-wcscmp.c: New file.
60841         New comprehensive test for wcscmp.
60842         * string/test-strcmp.c: Update.
60843         (WIDE): New define.
60845 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60847         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60848         line.
60850 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60853         encoding to ACE if AI_IDN.
60855 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60857         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60858         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60860 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60862         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60863         Fix overflow bug in strncat.
60864         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60866         * string/test-strncat.c: Update.
60867         Add new tests for checking overflow bugs.
60869 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60872         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60873         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60874         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60875         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60876         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60877         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60878         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60879         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60882         (USE_AS_STRCAT): Define.
60883         Add strcat and strncat support.
60884         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60886 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60888         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60889         __n bigger than INT_MAX+1.
60890         (__strncmp_g): Likewise.
60892 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60894         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60895         * libio/stido.h: Likewise.
60897         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60898         (AF_NFC): Define.
60899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60900         (AF_NFC): Define.
60902         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60903         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60904         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60905         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60908         [BZ #13021]
60909         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60910         installed.
60912         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60913         typo.
60914         (_dl_x86_64_save_sse): Likewise.
60916 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60919         OSXSAVE.
60920         (_dl_x86_64_save_sse): Likewise.
60922         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60924         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60926 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60928         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60929         change.
60930         (_dl_x86_64_save_sse): Use correct AVX check.
60932 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60934         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60935         bug in strncpy/strncat.
60936         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60938 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60940         * string/tester.c (test_strcat): Add tests for different alignments
60941         of source and destination.
60942         (test_strncat): Likewise.
60944 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60946         [BZ #12852]
60947         * posix/glob.c (glob): Check passed in values before using them in
60948         expressions to avoid some overflows.
60949         (glob_in_dir): Likewise.
60951         [BZ #13007]
60952         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60953         check for AVX enablement so that we don't crash with old kernels and
60954         new hardware.
60955         * elf/tst-audit4.c: Add same checks here.
60956         * elf/tst-audit6.c: Likewise.
60958         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60960 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60962         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60964 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60966         * po/cs.po: Update from translation team.
60967         * po/bg.po: Likewise.
60969 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60971         * misc/sys/cdefs.h: Add support for const attribute.
60972         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60973         to gnu_dev_{major,minor,makedev} functions.
60975 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60977         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60979 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60981         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60982         strlen results.
60984 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60987         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60988         register in order to avoid conflicts with the soft frame pointer
60989         being held in r11 when necessary.
60990         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60991         (INTERNAL_VSYSCALL_NCS): Likewise.
60993 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60995         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60996         * elf/dl-fini.c (_dl_fini): Adjust caller.
60997         * elf/dl-close.c (_dl_close_worker): Likewise.
60998         * sysdeps/generic/ldsodefs.h: Adjust declaration.
61000 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61002         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61003         "aux_cache->nlibs < 0".
61005         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61006         in the reload-count case.
61008 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61011         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61012         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61013         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61014         * sysdeps/x86_64/multiarch/strcat.S: New file.
61015         * sysdeps/x86_64/multiarch/strncat.S: New file.
61016         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61017         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61018         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61019         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61020         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61021         (USE_AS_STRCAT): Define.
61022         Add strcat and strncat support.
61023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61024         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61025         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61026         * string/strncat.c: Update.
61027         (USE_AS_STRNCAT): Define.
61028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61029         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61030         and i7.
61031         * sysdeps/x86_64/multiarch/init-arch.h
61032         (bit_Prefer_PMINUB_for_stringop): New.
61033         (index_Prefer_PMINUB_for_stringop): Likewise.
61034         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61035         bit_Prefer_PMINUB_for_stringop.
61037 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61039         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61040         buffer64.
61041         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61042         of casting of buffer.
61043         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61044         buffer32 and buffer64.
61045         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61046         writes instead of casting of buffer.
61047         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61048         buffer32.
61049         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61050         casting of buffer.
61052 2011-07-19  Andreas Schwab  <schwab@redhat.com>
61054         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61056 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61058         * nscd/nscd.c (termination_handler): Don't do anything for a database
61059         if it has not yet been initialized.
61061 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61063         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61065 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61067         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61069 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61071         * po/nl.po: Update from translation team.
61072         * po/sv.po: Likewise.
61074 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61076         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61077         now disallowed by GCC.
61079         * configure.in (use-default-link): Default to yes if a test -shared
61080         link meets our qualifications.
61081         * configure: Regenerated.
61083         * config.make.in (output-format): New variable.
61084         * configure.in: Check for ld --print-output-format support.
61085         * configure: Regenerated.
61086         * Makerules ($(common-objpfx)format.lds)
61087         [$(output-format) != unknown]: Just use $(output-format),
61088         instead of the linker-script munging.
61090 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61092         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61093         of $(common-objpfx)shlib.lds.
61094         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61096         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61097         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61099         * configure.in (-z relro check): Adjust test code to add a large
61100         writable data section after it.
61101         * configure: Regenerated.
61103 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61105         * configure.in (-z relro check): Fix test code to make the variable
61106         truly const.
61107         * configure: Regenerated.
61109 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61111         * nscd/nscd.h (struct traced_file): Define.
61112         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61113         elements.  Add traced_files.
61114         (inotify_fd): Declare.
61115         (register_traced_file): Declare.
61116         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61117         (inotify_fd): Export.
61118         (resolv_conf_descr): Remove.
61119         (nscd_init): Move inotify descriptor creation to main.
61120         Don't register files for notification here.
61121         (register_traced_file): New function.
61122         (invalidate_cache): Don't use reset_res to determine whether to call
61123         res_init, go through the list of registered files.
61124         (main_loop_poll): The inotify descriptors are now stored in the
61125         structures for the traced files.
61126         (main_loop_epoll): Likewise
61127         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61128         to __nss_disable_nscd.
61129         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61130         for a database anymore.  Check the records for all the registered
61131         files instead.
61132         * nss/Makefile (libnss_files-routines): Add files-init.
61133         (libnss_db-routines): Add db-init.
61134         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61135         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61136         * nss/nss_db/db-init.c: New file.
61137         * nss/nss_files/files-init.c: New file.
61138         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61139         __nss_lookup_function.
61140         (__nss_lookup_function): Call nss_load_library.
61141         (nss_load_all_libraries): New function.
61142         (__nss_disable_nscd): Take parameter with callback function for files
61143         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61144         used for the cached services.
61145         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61146         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61147         options for features to all the files in nscd.
61149         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61151 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61153         * csu/elf-init.c (__libc_csu_init): Comment typo.
61155 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61157         * po/pl.po: Update from translation team.
61158         * po/ja.po: Likewise.
61159         * po/ru.po: Likewise.
61160         * po/ko.po: Likewise.
61161         * po/fr.po: Likewise.
61163 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61165         * configure.in (.ctors/.dtors header and trailer check):
61166         Use an empirical test on a built program.
61167         * configure: Regenerated.
61169         * configure.in (-z relro check): Use an empirical test on a built DSO.
61170         Detect, but do not require, on ia64.
61171         * configure: Regenerated.
61173         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61174         Update tests that use readelf to use $READELF instead.
61175         * configure: Regenerated.
61177 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61179         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61180         if the result is not used.
61182 2011-07-05  Andreas Jaeger  <aj@suse.de>
61184         [BZ#9696]
61185         * stdlib/tst-strtod.c: Add testcase.
61187 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61189         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61190         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61191         The latter has a higher limit.  Take additional parameter to pass to
61192         the new function.
61193         (__pathconf): Pass file to __statfs_link_max.
61194         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61195         __statfs_link_max.
61196         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61197         __statfs_link_max.
61199         [BZ #12868]
61200         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61201         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61202         Handle Lustre.
61203         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61204         (__statfs_filesize_max): Likewise.
61205         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61207 2011-07-05  Andreas Jaeger  <aj@suse.de>
61209         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61211 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61213         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61214         `status' variable.
61215         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61216         Likewise.
61218 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61220         * Makefile (strop-tests): Add strncat.
61221         * string/test-strncat.c: New file.
61223 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61225         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61227 2011-06-21  Andreas Jaeger  <aj@suse.de>
61229         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61230         Copy rule from iconvdata/Makefile.
61232 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61234         [BZ #12922]
61235         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61236         but no long options are defined, just return 'W'.
61238 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61240         [BZ #9696]
61241         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61243 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61245         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61246         netgroups to read.
61247         (innetgr): Likewise.
61249 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61251         * config.make.in (install_root): Default to $(DESTDIR).
61253 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61255         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61257 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61259         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61261         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61262         containing directory rather than embedding absolute directory names.
61264         * scripts/check-local-headers.sh: Rewritten using awk.
61265         Match by word, not by line.  Print error messages for matches.
61266         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61268         * Makerules [shlib-lds-flags empty]:
61269         ($(common-objpfx)libc_pic.opts): New target.
61270         ($(common-objpfx)libc_pic.os.clean): New target.
61271         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61273         * config.make.in (OBJCOPY): New variable.
61274         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61275         * configure: Regenerated.
61277         * config.make.in (use-default-link): New variable.
61278         * configure.in (use_default_link): Grok --with-default-link to set it.
61279         * configure: Regenerated.
61280         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61281         (shlib-lds, shlib-lds-flags): Define to empty.
61283         * Makerules (shlib-lds): New variable.
61284         (shlib-lds-flags): New variable.
61285         (build-shlib, build-moduile, build-module-asneeded): Use it.
61286         ($(common-objpfx)libc.so): Use $(shlib-lds).
61287         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61288         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61290         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61291         DT_FLAGS/DT_FLAGS_1 with zero flags.
61293         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61294         linker script munging.
61296 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61298         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61299         as 128-bit value.
61300         * crypt/sha512.c (sha512_process_block): Perform total addition using
61301         128-bit if possible.
61302         (__sha512_finish_ctx): Likewise.
61303         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61304         as 64-bit value.
61305         * crypt/sha256.c (SWAP64): Define.
61306         (sha256_process_block): Perform total addition using 64-bit if
61307         possible.
61308         (__sha256_finish_ctx): Likewise.
61310 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61312         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61314         * nscd/hstcache.c (cache_addhst): Likewise.
61315         * nscd/grpcache.c (cache_addgr): Likewise.
61316         * nscd/aicache.c (addhstaiX): Likewise
61317         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61319 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61321         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61323         * nscd/hstcache.c (cache_addhst): Likewise.
61324         * nscd/grpcache.c (cache_addgr): Likewise.
61325         * nscd/aicache.c (addhstaiX): Likewise
61327 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61329         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61330         domain only when needed.
61332 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61335         is always restored.
61337 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61339         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61340         are re-adding the entry.
61341         * nscd/servicescache.c (cache_addserv): Likewise.
61343 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61345         * sysdeps/generic/dl-irel.h: fix protection against multiple
61346         inclusions.
61347         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61349 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61351         [BZ #12935]
61352         * malloc/memusage.sh: Fix quoting in message.
61353         * debug/xtrace.sh: Likewise.
61355         * configure.in: Remove support for --experimental-malloc option, make
61356         it the default.
61357         * config.make.in: Likewise.
61358         * malloc/Makefile: Likewise.
61360 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61362         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61363         two-byte characters.
61365 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61367         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61368         AC_CACHE_CHECK invocation.
61369         * configure: Regenerated.
61371         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61373 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61375         [BZ #12350]
61376         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61377         bit from old_res_options.
61379         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61381         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61382         value type for setfct.
61384 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61386         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61387         __gettimeofday instead of gettimeofday.
61389 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61391         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61393 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61395         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61398         info.
61400 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61403         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61404         strcpy-sse2-unaligned strncpy-sse2-unaligned
61405         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61406         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61407         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61408         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61409         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61410         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61411         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61412         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61413         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61414         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61415         (STRCPY): Support SSE2 and SSSE3 versions.
61417 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61419         [BZ #12874]
61420         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61421         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61422         kernels which artificially limit size of requests.
61424 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61427         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61428         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61429         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61430         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61431         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61432         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61433         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61436         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61437         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61438         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61439         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61440         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61442         Enable unaligned load optimization for Intel Core i3, i5 and i7
61443         processors.
61444         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61445         Define.
61446         (index_Fast_Unaligned_Load): Define.
61447         (HAS_FAST_UNALIGNED_LOAD): Define.
61449 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61451         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61453 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61455         [BZ #12907]
61456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61457         until it is clear that the information is realy needed.
61458         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61460 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61464 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61467         /sys/devices/system/cpu/online if it is usable.
61469         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61470         reading the information from the /proc filesystem to once a second.
61472 2011-06-21  Andreas Jaeger  <aj@suse.de>
61474         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61475         NULL after inclusion of kernel headers.
61477 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61479         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61480         calls to internal_setent.
61482         [BZ #12885]
61483         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61484         addresses using gethostbyname4_r ignore IPv4 addresses.
61486         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61487         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61489         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61491 2011-06-20  David S. Miller  <davem@davemloft.net>
61493         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61494         inclusions.
61495         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61497         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61498         (elf_irel): Use it.
61499         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61500         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61501         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61502         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61503         * sysdeps/x86_64/dl-irel.h: Likewise.
61505         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61506         * elf/dl-sym.c: Likewise.
61508 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61510         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61511         need to dereference resplen2.
61513 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61515         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61517 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61519         * Makeconfig: Define vardbdir and inst_vardbdir.
61520         * nss/Makefile: Add rules to install db-Makefile.
61522         * nss/nss_db/db-XXX.c: Cleanup.
61524         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61525         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61526         GLIBC_PRIVATE.
61527         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61528         * nss/makedb.c: Implement -g option to specify that value strings
61529         are generated and should not be added to table iterated over for
61530         get*ent calls.
61531         * nss/nss_db/db-initgroups.c: New file.
61533         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61534         interface.
61536         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61537         (internal_getgrouplist): Adjust to name change.
61538         Update use_initgroups_entry if this is not the first call.
61539         * nss/databases.def: Add initgroups entry.
61541         * nss/makedb.c (compute_tables): Check result of multiple hash table
61542         sizes to minimize maximum chain length.
61544 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61546         * Versions.def: Add entry for libnss_db.
61547         * shlib-versions: Likewise.
61548         * nss/Makefile: Add rules to build libnss_db.
61549         * nss/Versions: Add libnss_db information.  Organize libnss_files
61550         entries better.
61551         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61552         makedb progra.  Some minor improvements to generate smaller files.
61553         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61554         here from...
61555         * nss/makedb.c: ...here.
61556         Improve database format to be smaller and require less memory at
61557         runtime.
61558         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61559         db anymore.
61560         * nss/nss_db/db-netgrp.c: Likewise.
61561         * nss/nss_db/db-open.c: Likewise.
61562         * nss/nss_files/flies-XXX.x: Adjust comments.
61563         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61564         * nss/nss_files/files-grp.c: Likewise.
61565         * nss/nss_files/files-hosts.c: Likewise.
61566         * nss/nss_files/files-network.c: Likewise.
61567         * nss/nss_files/files-proto.c: Likewise.
61568         * nss/nss_files/files-pwd.c: Likewise.
61569         * nss/nss_files/files-rpc.c: Likewise.
61570         * nss/nss_files/files-service.c: Likewise.
61571         * nss/nss_files/files-sgrp.c: Likewise.
61572         * nss/nss_files/files-spwd.c: Likewise.
61573         * nss/nss_db/db-alias.c: Removed.
61574         * nss/nss_db/dummy-db.h: Removed.
61576 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61578         * nss/makedb.c: Rewritten to not use database library.
61579         * nss/Makefile: Update to build new makedb program.
61581 2011-06-14  Andreas Jaeger  <aj@suse.de>
61583         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61584         memset declaration.
61586 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61589         tmpbuf.
61591 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61593         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61594         * elf/Makefile ($(objpfx)ld.so): Likewise.
61596         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61597         Don't list ld.so twice in dependencies.
61599         * posix/bug-regex31.c: Include <stdlib.h>.
61601         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61603         * nis/nss_compat/compat-spwd.c
61604         (getspent_next_nss_netgr): Remove unused variable.
61605         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61607         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61608         nonmembers" output to use the right array.
61610         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61612         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61614         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61615         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61616         * catgets/gencat.c (read_input_file): Likewise.
61617         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61619         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61620         variable definition inside #if's controlling its use.
61622         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61626         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61628         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61629         unreachable code.
61631         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61633         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61634         * configure: Regenerated.
61636         * Makerules: Revert last change.
61637         * elf/Makefile: Likewise.
61639 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61641         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61642         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61643         (reloc-link): Likewise.
61645 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61647         * elf/Makefile: Add rules to build pldd.
61648         * elf/pldd.c: New file.
61649         * elf/pldd-xx.c: New file.
61651 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61653         * version.h: Update for 2.15 development version.
61655 2011-06-07  David S. Miller  <davem@davemloft.net>
61657         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61658         ifuncs.
61659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61660         elf_machine_lazy_rel): Likewise.
61661         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61662         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61663         elf_machine_lazy_rel): Likewise.
61664         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61665         dl_hwcap via passed in argument.
61666         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61667         Likewise.
61669 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61671         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61673 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61675         [BZ #12849]
61676         * manual/fdl-1.1.texi: New file, verbatim from:
61677         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61678         * manual/lgpl-2.1.texi: New file, verbatim from:
61679         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61680         * manual/Makefile (licenses): New variable, list those new file names.
61681         (texis): Use it.
61682         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61684         * manual/fdl.texi: File removed.
61685         * manual/lesser.texi: File removed.
61686         * manual/libc.texinfo (Copying, Documentation License):
61687         Use new @include file names, put @appendix directive before @include.
61689 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61691         [BZ #12841]
61692         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61693         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61694         (mq_open): Add __NTH.
61696 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61699         Assume Intel Core i3/i5/i7 processor if AVX is available.
61701 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61703         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61704         typo.
61706 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61708         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61709         memory.  Use alloca_account.  Fix memory leak when retrying.
61711 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61713         * version.h (RELEASE): Bump for 2.14 release.
61714         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61716         * config.make.in (RANLIB): Remove entry.
61718 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61720         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61721         (libc.pot): Work around missing support for .ksh extension in xgettext.
61723         [BZ #12684]
61724         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61725         if both request failed.
61726         (send_dg): In case of server errors clear resplen or *resplen2.
61728         [BZ #12454]
61729         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61730         when there are multiple maps.
61731         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61732         (_dl_fini): Remove test here.
61734         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61736 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61738         [BZ #12350]
61739         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61740         bit from old_res_options.
61741         (gaih_inet): Likewise.
61743         [BZ #11099]
61744         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61745         as signed.
61747         * resolv/res_init.c (res_setoptions): Make the code more compact.
61749         [BZ #11558]
61750         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61751         set RES_USEVC.
61753         [BZ #11634]
61754         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61756         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61758         [BZ #11781]
61759         * malloc/malloc.h: Declare malloc hook variables as volatile.
61761         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61762         in last patch.
61764         [BZ #11799]
61765         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61766         raise in the comment.
61767         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61768         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61769         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61771 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61773         [BZ #12811]
61774         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61775         grow the buffers more if it already has to be sufficient.
61776         (build_wcs_upper_buffer): Likewise.
61777         * posix/regexec.c (check_matching): Likewise.
61778         (clean_state_log_if_needed): Likewise.
61779         (extend_buffers): Don't enlarge buffers beyond size of the input
61780         buffer.
61781         Patches mostly by Emil Wojak <emil@wojak.eu>.
61782         * posix/bug-regex32.c: New file.
61783         * posix/Makefile (tests): Add bug-regex32.
61785         * locale/findlocale.c (_nl_find_locale): Return right away if
61786         _nl_explode_name failed.
61787         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61789         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61791         * debug/xtrace.sh: Unify messages.
61792         * malloc/memusage.sh: Likewise.
61794         [BZ #12813]
61795         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61796         time symbol from vDSO.  Substitute with vsyscall if not available.
61797         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61798         __vdso_time.
61800         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61801         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61802         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61803         Add sendmmsg and internal_sendmmsg.
61804         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61805         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61806         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61808         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61809         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61810         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61812 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61814         [BZ #12813]
61815         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61816         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61817         available.
61818         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61819         __vdso_getcpu.
61821         [BZ #12814]
61822         * iconvdata/Makefile (tests): Add bug-iconv9.
61823         * iconvdata/bug-iconv9.c: New file.
61825 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61827         [BZ #12814]
61828         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61830 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61833         (struct user_regs_struct): Change intcs field back to cs.
61835 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61837         * po/ja.po: Update from translation team.
61839 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61841         [BZ #12795]
61842         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61843         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61845 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61847         * stdlib/longlong.h: Update from GCC.
61849 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61851         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61852         parameter name.
61853         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61854         Add parameter name.
61855         (__sysconf): Pass it down.
61857 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61859         [BZ #12671]
61860         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61861         some situations.
61862         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61863         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61864         add in in __libc_use_alloca calls.  Adjust callers.
61865         (glob): Use malloc in some situations.
61867         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61868         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61869         pltexit.
61871 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61873         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61874         and CLOCK_BOOTTIME_ALARM.
61876         [BZ #12782]
61877         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61878         is returned.
61880         * string/_strerror.c (__strerror_r): Print negative errors as signed
61881         numbers.
61883         [BZ #12777]
61884         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61885         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61886         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61888         * configure.in: Fix typo in redirection and correct removal of test
61889         files in two cases.
61891         [BZ #12788]
61892         * locale/setlocale.c (new_composite_name): Fix test to check for
61893         identical name of all categories.
61895         [BZ #12792]
61896         * libio/filedoalloc.c (local_isatty): New function.
61897         (_IO_file_doallocate): Use local_isatty.
61898         * stdio-common/perror.c (perror): In case a new stream is used
61899         forward the stream error.
61900         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61901         error flag.
61903 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61905         [BZ #11869]
61906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61907         alloca.
61908         * include/alloca.h (extend_alloca_account): Define.
61910         [BZ #11857]
61911         * posix/regex.h: Fix comments with documentation of user-accessible
61912         fields after compilation and describe correct free'ing of pattern
61913         after re_compile_pattern.
61914         Patch by Reuben Thomas <rrt@sc3d.org>.
61916 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61918         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61919         and -mno-altivec to prevent the compiler from using Altivec and/or
61920         VSX instructions when the corresponding registers are not available.
61922 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61924         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61926 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61928         * libio/freopen.c (freopen): Use __dup2, not dup2.
61929         * libio/freopen64.c (freopen64): Likewise.
61931 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61933         [BZ #12775]
61934         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61935         * math/Makefile (tests): Add test-powl.
61936         (CFLAGS-test-powl.c): Define.
61937         * math/test-powl.c: New file.
61939 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61941         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61943 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61945         [BZ #11837]
61946         * iconvdata/gb18030.c: Update to GB18020-2005.
61948 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61950         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61951         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61952         Patch by Aharon Robbins <arnold@skeeve.com>.
61954         [BZ #11892]
61955         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61956         on the stack.
61958         [BZ #11895]
61959         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61960         through underflows.
61962         [BZ #12766]
61963         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61964         point to strings before performing equality test for error_one_per_line
61965         mode.
61967         [BZ #11697]
61968         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61970         [BZ #11820]
61971         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61972         (struct user_fpregs_struct): Avoid __uint*_t types.
61974         [BZ #6420]
61975         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61976         symbol info.  Use it instead of calling _dl_addr locally.
61977         (lock_and_info): New function.
61978         (tr_freehook): Call lock_and_info and pass symbol info as additional
61979         parameter to tr_where.
61980         (tr_mallochook): Likewise.
61981         (tr_reallochook): Likewise.
61982         (tr_memalignhook): Likewise.
61984         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61985         used and couldn't be at all thread-safe.
61987 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61989         * libio/freopen.c (freopen): Don't close old file descriptor
61990         before the new one is opened.  Instead dup the new file descriptor
61991         to the old one after the new stream is created.
61992         * libio/freopen64.c (freopen64): Likewise.
61993         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61994         * libio/fileops.c (_IO_new_file_close_it): Handle new
61995         _IO_FLAGS2_NOCLOSE flag.
61996         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61997         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61998         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61999         _IO_FLAGS2_NOCLOSE flag.
62000         * include/unistd.h: Add hidden_proto for dup3.
62001         Define __have_dup3.
62002         * io/dup3.c: Define hidden symbol.
62003         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62005         [BZ #7101]
62006         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62007         when an incomplete long option is used.
62008         * posix/tst-getopt_long1.c: New file.
62009         * posix/Makefile (tests): Add tst-getopt_long1.
62011         [BZ #10138]
62012         * scripts/config.guess: Update from autoconf-2.68.
62013         * scripts/config.sub: Likewise.
62015         [BZ #10157]
62016         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62017         tests into ...
62018         (has_cpuclock): ...this.  New function.
62019         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62020         macro here based on has_cpuclock code.
62022         [BZ #10149]
62023         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62024         First byte (not low byte) is now always NUL.
62025         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62027         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62028         Use non-cancelable interfaces.
62030         [BZ #9809]
62031         * locale/iso-639.def: Add entry for Sorani.
62033         [BZ #11901]
62034         * include/stdlib.h: Move include protection to the right place.
62035         Define abort_msg_s.  Declare __abort_msg with it.
62036         * stdlib/abort.c (__abort_msg): Adjust type.
62037         * assert/assert.c (__assert_fail_base): New function.  Majority
62038         of code from __assert_fail.  Allocate memory for __abort_msg with
62039         mmap.
62040         (__assert_fail): Now call __assert_fail_base.
62041         * assert/assert-perr.c: Remove bulk of implementation.  Use
62042         __assert_fail_base.
62043         * include/assert.hL Declare __assert_fail_base.
62044         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62045         mmap.
62046         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62048 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
62050         [BZ #11952]
62051         [BZ #12453]
62052         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62053         until all modules are registered in the DTV.
62054         * elf/Makefile: Add rules to build and run tst-tls19.
62055         * elf/tst-tls19.c: New file.
62056         * elf/tst-tls19mod1.c: New file.
62057         * elf/tst-tls19mod2.c: New file.
62058         * elf/tst-tls19mod3.c: New file.
62059         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62061         [BZ #12083]
62062         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62063         correctly.
62065         [BZ #12601]
62066         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62067         two-byte sequence errors.
62068         * iconvdata/Makefile (tests): Add bug-iconv8.
62069         * iconvdata/bug-iconv8.c: New file.
62071         [BZ #12626]
62072         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62073         buf2 definition.
62075         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62077         [BZ #12432]
62078         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62079         (dummy_getcfa): New function.
62080         (init): Get _Unwind_GetCFA address, use dummy if not found.
62081         (backtrace_helper): In recursion check, also check whether CFA changes.
62082         (__backtrace): Completely initialize arg.
62084         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62085         storing incomplete byte sequence in state object.  Avoid testing for
62086         guaranteed too small input if we know there is enough data available.
62088 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62090         * Makeconfig (+link-pie): Indent.
62091         * Rules (binaries-pie): Define if $(have-fpie) and
62092         $(build-shared).
62093         (binaries-shared): Also filter out $(binaries-pie).
62094         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62095         * nscd/Makefile (others-pie): Add nscd.
62096         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62097         ($(objpfx)nscd): Remove command override.
62098         * login/Makefile (others-pie): Add pt_chown.
62099         ($(objpfx)pt_chown): Remove command override.
62100         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62101         remove command overrides.
62103 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62105         * libio/tst_putwc.c: Fix error messages.
62107         [BZ #12724]
62108         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62109         currently writing and seek to current position when not.
62110         * libio/Makefile (tests): Add bug-fclose1.
62111         * libio/bug-fclose1.c: New file.
62113 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62115         [BZ #12511]
62116         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62117         don't set DF_1_NODELETE here.
62118         (do_lookup_x): When entering new entry test for copy relocation
62119         and if necessary set DF_1_NODELETE flag.
62120         * elf/tst-unique4.cc: New file.
62121         * elf/tst-unique4.h: New file.
62122         * elf/tst-unique4lib.cc: New file.
62123         * elf/Makefile: Add rules to build and run tst-unique4.
62124         Patch by Piotr Bury <pbury@goahead.com>.
62126 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62128         [BZ #12052]
62129         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62131         [BZ #12625]
62132         * misc/mntent_r.c (addmntent): Flush the stream after the output
62134         [BZ #12393]
62135         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62136         (is_trusted_path_normalize): Skip initial colon.  Append slash
62137         to empty buffer.  Duplicate is_trusted_path code but allow
62138         constructed patch to be prefix.
62139         (is_dst): Allow $ORIGIN followed by /.
62140         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62141         Correct testing of result of is_trusted_path_normalize
62142         (decompose_rpath): Fix warning.
62144 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62146         [BZ #11257]
62147         * grp/initgroups.c (internal_getgrouplist): When we found the service
62148         list through the initgroups entry in nsswitch.conf do not always
62149         continue on a successful lookup.  Don't always use the
62150         __nss_group_database value if it is set.
62151         * nss/nsswitch.conf (initgroups): Change action for successful db
62152         lookup to continue for compatibility.
62154 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62156         [BZ #11532]
62157         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62158         and CP774 modules.
62159         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62160         and CP774 modules.
62161         * iconvdata/tst-tables.sh: Likewise.
62162         * iconvdata/cp770.c: New file.
62163         * iconvdata/cp771.c: New file.
62164         * iconvdata/cp772.c: New file.
62165         * iconvdata/cp773.c: New file.
62166         * iconvdata/cp774.c: New file.
62167         * iconvdata/testdata/CP770: New file.
62168         * iconvdata/testdata/CP770..UTF8: New file.
62169         * iconvdata/testdata/CP771: New file.
62170         * iconvdata/testdata/CP771..UTF8: New file.
62171         * iconvdata/testdata/CP772: New file.
62172         * iconvdata/testdata/CP772..UTF8: New file.
62173         * iconvdata/testdata/CP773: New file.
62174         * iconvdata/testdata/CP773..UTF8: New file.
62175         * iconvdata/testdata/CP774: New file.
62176         * iconvdata/testdata/CP774..UTF8: New file.
62178         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62179         END CHARMAP line.
62180         * iconvdata/gen-8bit-gap.sh: Likewise.
62181         * iconvdata/gen-8bit.sh: Likewise.
62183         * locale/iso-639.def: Add ary entry.
62185         [BZ #11258]
62186         * locale/C-translit.h.in: Add U20A1 transliteration.
62188         [BZ #12178]
62189         * locale/iso-639.def: Add wae entry.
62190         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62192         [BZ #12545]
62193         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62194         for n.
62196         [BZ #12711]
62197         * locale/C-translit.h.in: Add entry for U20B9.
62198         Patch by pravin.d.s@gmail.com.
62200 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62202         [BZ #12713]
62203         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62204         ENAMETOOLONG use generic getcwd.
62205         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62206         in rtld.  Use *stat64.
62207         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62208         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62209         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62210         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62211         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62212         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62213         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62214         __fstatat64 macros.
62215         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62216         * dirent/rewinddir.c: Add libc_hidden_def.
62217         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62218         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62220         * include/dirent.h (__alloc_dir): Add flags parameter.
62221         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62222         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62223         __alloc_dir.
62224         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62225         from fdopendir if O_CLOEXEC is already set.
62227 2011-03-15  Alan Modra  <amodra@gmail.com>
62229         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62230         l_tls_firstbyte_offset non-zero.  Save padding offset in
62231         l_tls_firstbyte_offset for later use.
62232         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62233         freeing static tls block.
62235 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62237         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62238         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62239         being defined by the kernel headers.
62241 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62243         [BZ #12734]
62244         * resolv/resolv.h: Define RES_NOTLDQUERY.
62245         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62246         no-tld-query and set RES_NOTLDQUERY.
62247         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62248         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62249         modern BIND to search name as TLD unless forbidden.
62251 2011-05-07  Petr Baudis  <pasky@suse.cz>
62252             Ulrich Drepper  <drepper@gmail.com>
62254         [BZ #12393]
62255         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62256         (is_trusted_path): ...to here.
62257         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62258         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62259         using is_trusted_path_normalize() in setuid scripts.
62261 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62263         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62264         __BEGIN/__END_DECLS.
62266 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62268         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62269         NSS_STATUS_NOTFOUND if no record was found.
62271 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62273         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62274         (headers-not-in-tirpc): Remove rpc/netdb.h
62275         * resolv/netdb.h: Revert last change.
62277 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62279         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62280         circular dependency between libgcc.a and libc.a.
62282 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62284         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62285         * nis/Makefile: Don't install rpcsvc/*.
62286         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62287         instead of <rpc/types.h>.
62288         (MAXHOSTNAMELEN): Define.
62290 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62292         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62294 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62296         [BZ #12714]
62297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62298         gethostbyname4_r when IPv6 results are possible.
62300 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62302         [BZ #12723]
62303         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62304         _PC_PIPE_BUF handling.
62306 2011-04-30  Bruno Haible  <bruno@clisp.org>
62308         [BZ #12717]
62309         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62310         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62311         to 'int'.
62312         * inet/getnameinfo.c (getnameinfo): Likewise.
62314 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62316         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62317         to groups setting in database lookup.
62318         * nss/nsswitch.conf: Add initgroups entry.
62320 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62322         [BZ #12685]
62323         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62324         mode string.
62325         Patch by Eric Blake <eblake@redhat.com>.
62327 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62329         * sunrpc/Makefile (need-export-routines): Add svc_run.
62330         (routines): Remove svc_run.
62331         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62332         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62333         * sunrpc/svc_run.c (svc_run): Likewise.
62334         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62336 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62338         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62339         problem in reallocation in last patch.
62341 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62343         * sunrpc/Makefile: Move inclusion of Rules.
62345 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62347         * nss/nss_files/files-initgroups.c: New file.
62348         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62349         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62350         _nss_files_initgroups_dyn.
62352 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62354         * elf/elf.h (R_ARM_IRELATIVE): Define.
62356 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62358         * po/ru.po: Update from translation team.
62360 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62362         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62363         dependencies.
62365 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62367         [BZ #12653]
62368         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62369         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62371         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62374 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62377         differing bytes.
62378         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62379         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62380         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62382 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62384         [BZ #12420]
62385         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62386         storing it.
62387         * stdlib/bug-getcontext.c: New file.
62388         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62390 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62392         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62393         instructions into .machine "z9-109".
62394         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62395         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62397 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62399         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62400         between environment variables and auxiliary vector.
62402 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62404         * Makefile: Add rules to build linkobj/libc.so.
62405         * include/libc-symbols.h: Define libc_hidden_nolink.
62406         * include/rpc/auth.h: Mark functions which are to be hidden.
62407         * include/rpc/auth_des.h: Likewise.
62408         * include/rpc/auth_unix.h: Likewise.
62409         * include/rpc/clnt.h: Likewise.
62410         * include/rpc/des_crypt.h: Likewise.
62411         * include/rpc/key_prot.h: Likewise.
62412         * include/rpc/pmap_clnt.h: Likewise.
62413         * include/rpc/pmap_prot.h: Likewise.
62414         * include/rpc/pmap_rmt.h: Likewise.
62415         * include/rpc/rpc_msg.h: Likewise.
62416         * include/rpc/svc.h: Likewise.
62417         * include/rpc/svc_auth.h: Likewise.
62418         * include/rpc/xdr.h: Likewise.
62419         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62420         * nss/Makefile: Likewise.
62421         * sunrpc/Makefile: Don't install headers.  Build library with normal
62422         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62423         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62424         for the compat linking library.  Remove use of INTDEF/INTUSE.
62425         * sunrpc/auth_none.c: Likewise.
62426         * sunrpc/auth_unix.c: Likewise.
62427         * sunrpc/authdes_prot.c: Likewise.
62428         * sunrpc/authuxprot.c: Likewise.
62429         * sunrpc/clnt_gen.c: Likewise.
62430         * sunrpc/clnt_perr.c: Likewise.
62431         * sunrpc/clnt_raw.c: Likewise.
62432         * sunrpc/clnt_simp.c: Likewise.
62433         * sunrpc/clnt_tcp.c: Likewise.
62434         * sunrpc/clnt_udp.c: Likewise.
62435         * sunrpc/clnt_unix.c: Likewise.
62436         * sunrpc/des_crypt.c: Likewise.
62437         * sunrpc/des_soft.c: Likewise.
62438         * sunrpc/get_myaddr.c: Likewise.
62439         * sunrpc/key_call.c: Likewise.
62440         * sunrpc/key_prot.c: Likewise.
62441         * sunrpc/netname.c: Likewise.
62442         * sunrpc/pm_getmaps.c: Likewise.
62443         * sunrpc/pm_getport.c: Likewise.
62444         * sunrpc/pmap_clnt.c: Likewise.
62445         * sunrpc/pmap_prot.c: Likewise.
62446         * sunrpc/pmap_prot2.c: Likewise.
62447         * sunrpc/pmap_rmt.c: Likewise.
62448         * sunrpc/publickey.c: Likewise.
62449         * sunrpc/rpc_cmsg.c: Likewise.
62450         * sunrpc/rpc_common.c: Likewise.
62451         * sunrpc/rpc_dtable.c: Likewise.
62452         * sunrpc/rpc_prot.c: Likewise.
62453         * sunrpc/rpc_thread.c: Likewise.
62454         * sunrpc/rtime.c: Likewise.
62455         * sunrpc/svc.c: Likewise.
62456         * sunrpc/svc_auth.c: Likewise.
62457         * sunrpc/svc_authux.c: Likewise.
62458         * sunrpc/svc_raw.c: Likewise.
62459         * sunrpc/svc_run.c: Likewise.
62460         * sunrpc/svc_simple.c: Likewise.
62461         * sunrpc/svc_tcp.c: Likewise.
62462         * sunrpc/svc_udp.c: Likewise.
62463         * sunrpc/svc_unix.c: Likewise.
62464         * sunrpc/svcauth_des.c: Likewise.
62465         * sunrpc/xcrypt.c: Likewise.
62466         * sunrpc/xdr.c: Likewise.
62467         * sunrpc/xdr_array.c: Likewise.
62468         * sunrpc/xdr_float.c: Likewise.
62469         * sunrpc/xdr_intXX_t.c: Likewise.
62470         * sunrpc/xdr_mem.c: Likewise.
62471         * sunrpc/xdr_rec.c: Likewise.
62472         * sunrpc/xdr_ref.c: Likewise.
62473         * sunrpc/xdr_sizeof.c: Likewise.
62474         * sunrpc/xdr_stdio.c: Likewise.
62476 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62478         [BZ #12650]
62479         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62480         * sysdeps/ia64/dl-tls.h: Likewise.
62481         * sysdeps/powerpc/dl-tls.h: Likewise.
62482         * sysdeps/s390/dl-tls.h: Likewise.
62483         * sysdeps/sh/dl-tls.h: Likewise.
62484         * sysdeps/sparc/dl-tls.h: Likewise.
62485         * sysdeps/x86_64/dl-tls.h: Likewise.
62486         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62488 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62490         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62491         rpath element also skip the following colon.
62492         (expand_dynamic_string_token): Add is_path parameter and pass
62493         down to DL_DST_REQUIRED and _dl_dst_substitute.
62494         (decompose_rpath): Call expand_dynamic_string_token with
62495         non-zero is_path.  Ignore empty rpaths.
62496         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62497         with zero is_path.
62499 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62502         Make cancelable.
62504 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62506         [BZ #12655]
62507         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62508         Patch by Filipe David Manana <fdmanana@apache.org>.
62510 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62512         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62513         Maintain aligned stack.
62514         (CHECK_RSP): Remove unused macro.
62516 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62518         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62519         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62521 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62523         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62525         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62527 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62529         [BZ #12518]
62530         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62531         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62532         * sysdeps/x86_64/memmove.c: New file.
62533         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62534         (memcpy): Renamed to ...
62535         (__new_memcpy): This.
62536         (memcpy): Provide GLIBC_2_14 memcpy.
62537         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62538         (memcpy): Provide GLIBC_2_2_5 memcpy.
62540 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62542         [BZ #12631]
62543         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62545 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62547         * misc/syncfs.c: New file.
62548         * misc/Makefile (routines): Add syncfs.
62549         * posix/unistd.h: Declare syncfs.
62550         * sysdeps/unix/syscalls.list: Add syncfs.
62552 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62554         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62555         open_by_handle_at.
62556         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62557         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62558         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62559         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62561         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62562         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62564 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62566         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62567         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62568         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62572         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62574         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62575         sync_file_range.c with -fexceptions.
62576         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62577         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62578         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62579         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62580         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62581         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62582         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62583         sync_file_range as cancellation point
62584         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62585         now a wrapper around __call_sync_file_range with cancellation handling.
62586         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62587         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62588         function name to __call_sync_file_range.
62589         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62590         Add call_sync_file_range.
62592 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62595         bits/timex.h.
62597 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62599         * iconv/iconv.h: Fix typo in comment.
62600         * io/fcntl.h: Likewise.
62601         * libio/stdio.h: Likewise.
62602         * posix/spawn.h: Likewise.
62603         * posix/unistd.h: Likewise.
62604         * stdlib/stdlib.h: Likewise.
62605         * time/time.h: Likewise.
62606         * wcsmbs/wchar.h: Likewise.
62608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62609         open_by_handle): Add.
62610         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62611         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62612         Augment a few comments.
62613         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62614         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62615         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62617         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62618         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62619         open_by_handle.
62621         * io/fcntl.h (AT_EMPTY_PATH): Define.
62623 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62625         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62626         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62627         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62628         to...
62629         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62630         * Versions.def: Add GLIBC_2.14.
62631         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62632         Export.
62634 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62636         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62637         round counter.
62638         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62640 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62642         [BZ #12597]
62643         * string/test-strncmp.c (do_page_test): New function.
62644         (check2): Likewise.
62645         (test_main): Call check2.
62646         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62648 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62650         [BZ #12587]
62651         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62652         Handle cache information in CPU leaf 4.
62653         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62655 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62657         [BZ #12583]
62658         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62659         character representation.
62660         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62662 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62664         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62665         END(__isnan) to END(__isnanf) to match function entry point/label
62666         EALIGN(__isnanf,...).
62668 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62670         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62672 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62674         [BZ #12510]
62675         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62676         copy from the symbol referenced in the relocation to initialize the
62677         used variable.
62678         Patch by Piotr Bury <pbury@goahead.com>.
62679         * elf/Makefile: Add rules to build and tst-unique3.
62680         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62681         * elf/tst-unique3.cc: New file.
62682         * elf/tst-unique3.h: New file.
62683         * elf/tst-unique3lib.cc: New file.
62684         * elf/tst-unique3lib2.cc: New file.
62686         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62688 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62690         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62691         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62692         to _start.
62694 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62696         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62697         to-be-loaded object along a path to loader is ld.so.
62699 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62700             Ulrich Drepper  <drepper@gmail.com>
62702         * sysdeps/x86_64/memset.S: After aligning destination, code
62703         branches to different locations depending on the value of
62704         misalignment, when multiarch is enabled. Fix this.
62706 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62708         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62709         Set _x86_64_preferred_memory_instruction for AMD processsors.
62710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62711         Set bit_Prefer_SSE_for_memop for AMD processors.
62713 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62715         * libio/fmemopen.c (fmemopen): Optimize a bit.
62717 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62719         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62721 2011-03-03  Roland McGrath  <roland@redhat.com>
62723         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62725 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62727         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62728         __bzero_ultra1 instead of __memset_ultra1.
62730 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62731             Ulrich Drepper  <drepper@gmail.com>
62733         [BZ #12509]
62734         * include/link.h (struct link_map): Add l_orig_initfini.
62735         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62736         returning unsuccessfully.
62737         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62738         close of a file loaded at startup, restore the original l_initfini
62739         list.
62740         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62741         list, store the pointer.
62742         * elf/Makefile ($(objpfx)noload-mem): New rule.
62743         (noload-ENV): Define.
62744         (tests): Add $(objpfx)noload-mem.
62745         * elf/noload.c: Include <memcheck.h>.
62746         (main): Call mtrace.  Close all opened handles.
62748 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62750         [BZ #12454]
62751         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62752         dependencies are missing.
62754 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62756         Fix __if_freereq crash: Unlike the generic version which uses free,
62757         Hurd needs munmap.
62758         * sysdeps/mach/hurd/ifreq.h: New file.
62760 2011-01-27  Petr Baudis  <pasky@suse.cz>
62761             Ulrich Drepper  <drepper@gmail.com>
62763         [BZ 12445]#
62764         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62765         to extend_alloca().
62766         * stdio-common/bug23.c: New file.
62767         * stdio-common/Makefile (tests): Add bug23.
62769 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62770             Ulrich Drepper  <drepper@gmail.com>
62772         [BZ #12489]
62773         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62774         before performing relro protection.  At old place add assertion
62775         to make sure nothing changed.
62777 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62778             Glauber de Oliveira Costa  <glommer@gmail.com>
62780         * elf/elf.h: Add new ARM TLS relocs.
62782 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62785         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62786         cast from r3.
62787         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62788         'tests' variable.
62789         * sysdeps/wordsize-64/tst-writev.c: New file.
62791 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62793         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62794         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62795         insns in _dl_start to prevent a TOC reference before relocs are
62796         resolved.
62798 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62800         [BZ #12469]
62801         * Makeconfig: Remove RANLIB definition.
62802         * Makerules: Don't use RANLIB.
62803         * aclocal.m4: Remove ranlib test.
62804         * configure.in: No need to check for ranlib.
62805         * elf/rtld-Rules: Don't use RANLIB.
62807 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62809         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62810         protection macro.
62811         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62812         inclusion protection macro.
62814         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62815         SIGRTMIN and SIGRTMAX and print information in that case only when
62816         SIGRTMIN is defined.
62818 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62820         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62821         arginfo fn returning -1.
62823         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62824         and thousands string is zero terminated.
62826 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62828         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62829         sysdeps/unix/sysv/linux/bits/socket.h.
62831 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62833         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62834         (__CPU_COUNT): Remove old macros.
62835         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62836         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62837         (__CPU_ALLOC, __CPU_FREE): Add macros.
62838         (__sched_cpualloc, __sched_cpufree): Add declarations.
62840 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62842         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62843         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62844         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62845         (readdhstai): Return value of addhstaiX call.
62846         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62847         (addgrbyX): Return value returned by cache_addgr.
62848         (readdgrbyname): Return value returned by addgrbyX.
62849         (readdgrbygid): Likewise.
62850         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62851         (addpwbyX): Return value returned by cache_addpw.
62852         (readdpwbyname): Return value returned by addhstbyX.
62853         (readdpwbyuid): Likewise.
62854         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62855         (addservbyX): Return value returned by cache_addserv.
62856         (readdservbyname): Return value returned by addservbyX:
62857         (readdservbyport): Likewise.
62858         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62859         (addhstbyX): Return value returned by cache_addhst.
62860         (readdhstbyname): Return value returned by addhstbyX.
62861         (readdhstbyaddr): Likewise.
62862         (readdhstbynamev6): Likewise.
62863         (readdhstbyaddrv6): Likewise.
62864         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62865         (readdinitgroups): Return value returned by addinitgroupsX.
62866         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62867         (prune_cache): Keep track of timeout value of re-added entries.
62868         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62869         * nscd/nscd.h: Adjust prototypes of readd* functions.
62871 2011-02-04  Roland McGrath  <roland@redhat.com>
62873         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62874         (nis_stats): Likewise.
62875         * nis/nis_modify.c (nis_modify): Likewise.
62876         * nis/nis_remove.c (nis_remove): Likewise.
62877         * nis/nis_add.c (nis_add): Likewise.
62879         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62881         * posix/fnmatch_loop.c: Add some consts.
62883         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62885 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62887         [BZ #12460]
62888         * config.make.in (config-cflags-novzeroupper): Define.
62889         * configure.in: Substitute libc_cv_cc_novzeroupper.
62890         * elf/Makefile (AVX-CFLAGS): Define.
62891         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62892         (CFLAGS-tst-auditmod4a.c): Likewise.
62893         (CFLAGS-tst-auditmod4b.c): Likewise.
62894         (CFLAGS-tst-auditmod6b.c): Likewise.
62895         (CFLAGS-tst-auditmod6c.c): Likewise.
62896         (CFLAGS-tst-auditmod7b.c): Likewise.
62897         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62899 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62901         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62902         function to the callback.
62903         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62905 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62907         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62908         of errno.
62910 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62912         [BZ #11724]
62913         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62914         of constructors.
62915         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62916         of destructors.
62917         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62919         [BZ #11724]
62920         * elf/Makefile: Add rules to build and run new test.
62921         * elf/tst-initorder.c: New file.
62922         * elf/tst-initorder.exp: New file.
62923         * elf/tst-initordera1.c: New file.
62924         * elf/tst-initordera2.c: New file.
62925         * elf/tst-initordera3.c: New file.
62926         * elf/tst-initordera4.c: New file.
62927         * elf/tst-initorderb1.c: New file.
62928         * elf/tst-initorderb2.c: New file.
62929         * elf/tst-order-a1.c: New file.
62930         * elf/tst-order-a2.c: New file.
62931         * elf/tst-order-a3.c: New file.
62932         * elf/tst-order-a4.c: New file.
62933         * elf/tst-order-b1.c: New file.
62934         * elf/tst-order-b2.c: New file.
62935         * elf/tst-order-main.c: New file.
62936         New test case by George Gensure <werkt0@gmail.com>.
62938 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62941         decoding ACE if AI_CANONIDN.
62943 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62945         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62947 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62949         * version.h (RELEASE): Bump for 2.13 release.
62950         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62952         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62954         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62955         MADV_NOHUGEPAGE.
62956         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62957         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62959         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62960         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62961         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62963         * posix/getconf.c: Update copyright year.
62964         * catgets/gencat.c: Likewise.
62965         * csu/version.c: Likewise.
62966         * debug/catchsegv.sh: Likewise.
62967         * debug/xtrace.sh: Likewise.
62968         * elf/ldconfig.c: Likewise.
62969         * elf/ldd.bash.in: Likewise.
62970         * elf/sprof.c (print_version): Likewise.
62971         * iconv/iconv_prog.c: Likewise.
62972         * iconv/iconvconfig.c: Likewise.
62973         * locale/programs/locale.c: Likewise.
62974         * locale/programs/localedef.c: Likewise.
62975         * malloc/memusage.sh: Likewise.
62976         * malloc/mtrace.pl: Likewise.
62977         * nscd/nscd.c (print_version): Likewise.
62978         * nss/getent.c: Likewise.
62980         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62981         PF_CAIF, and PF_ALG.
62982         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62984 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62986         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62987         (modules-names): Use them.
62988         (ifunc-test-modules, ifunc-pie-tests): Define.
62989         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62990         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62991         (test-extras): Likewise.
62992         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62993         $(compile-command.c).
62994         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62995         (all-built-dso): Define.
62996         (check-textrel.out, check-execstack.out): Depend on it.
62998         * configure.in: Don't override --enable-multi-arch.
63000 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
63002         [BZ #6812]
63003         * nscd/hstcache.c (tryagain): Define.
63004         (cache_addhst): Return tryagain not notfound for temporary errors.
63005         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63006         failed.
63008 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
63010         [BZ #10563]
63011         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63012         to make the syscall.
63013         * sysdeps/unix/sysv/linux/setgroups.c: New file.
63015         [BZ #12378]
63016         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63017         and fall back to matching as normal character if the string ends before
63018         the matching ']' is found.  This is what POSIX requires.
63019         * posix/testfnm.c: Adjust test result.
63020         * posix/globtest.sh: Adjust test result.  Add new test.
63021         * posix/tst-fnmatch.input: Likewise.
63022         * posix/tst-fnmatch2.c: Add new test.
63024 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
63026         * elf/Makefile (check-execstack): Revert last change.  Depend on
63027         check-execstack.h.
63028         (check-execstack.h): New target.
63029         (generated): Add check-execstack.h.
63030         * elf/check-execstack.c: Include "check-execstack.h".
63031         (main): Revert last change.
63032         (handle_file): Return zero if GNU_STACK is absent and
63033         DEFAULT_STACK_PERMS doesn't include PF_X.
63035 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
63037         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63038         in child fails because the descriptor is already closed.
63039         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63040         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63041         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63043         [BZ #12397]
63044         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63045         syscall.
63047         [BZ #10484]
63048         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63049         temporary buffer used to handle multi lookups locally.
63050         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63052 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63054         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63055         loader is ld.so.
63057 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
63059         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63060         alignment for SSE2.
63062 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63064         [BZ #12394]
63065         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63066         characters.  When rounding increased number of integer digits recompute
63067         number of groups.
63068         * stdio-common/tst-grouping.c: New file.
63069         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63071 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63073         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63074         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63076         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63077         void.
63078         * bits/select.h: Likewise.
63080 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63082         * po/ja.po: Update from translation team.
63084 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63086         [BZ #11155]
63087         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63088         implementation just like for lxstat, fxstatat, et al.
63090 2010-12-27  Jim Meyering  <meyering@redhat.com>
63092         [BZ #12348]
63093         * posix/regexec.c (build_trtable): Return failure indication upon
63094         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63096 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63098         [BZ #12201]
63099         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63100         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63101         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63102         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63104         [BZ #12207]
63105         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63107         [BZ #12204]
63108         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63109         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63111 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63113         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63114         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63115         script has SORT_BY_INIT_PRIORITY.
63116         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63117         NO_CTORS_DTORS_SECTIONS is defined.
63118         * elf/soinit.c: Likewise.
63119         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63120         NO_CTORS_DTORS_SECTIONS is defined.
63121         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63122         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63123         * sysdeps/sh/init-first.c: Likewise.
63124         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63126 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63128         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63129         always use the slow path.
63131 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63133         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63134         similar rule which adds the sysdep directories to the header search in
63135         order to pick up the correct platform stackinfo.h.
63136         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63137         perform test if it is, otherwise return successfully without testing.
63138         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63139         DEFAULT_STACK_PERMS define in stackinfo.h.
63140         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63141         defined in stackinfo.h.
63142         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63143         DEFAULT_STACK_PERMS defined in stackinfo.h.
63144         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63145         * sysdeps/ia64/stackinfo.h: Likewise.
63146         * sysdeps/s390/stackinfo.h: Likewise.
63147         * sysdeps/sh/stackinfo.h: Likewise.
63148         * sysdeps/sparc/stackinfo.h: Likewise.
63149         * sysdeps/x86_64/stackinfo.h: Likewise.
63150         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63151         PF_X for powerpc64.  Retain PF_X for powerpc32.
63153 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63155         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63156         accurately.
63157         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63158         GETDENTS_64BIT_ALIGNED.
63160 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63162         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63164 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63166         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63167         _GNU_SOURCE.
63169         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63170         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63171         Remove __restrict.
63172         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63173         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63175 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63177         [BZ #11655]
63178         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63179         are initialized.
63181 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63183         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63185 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63187         * po/it.po: Update from translation team.
63189 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63192         unused codes.
63194 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63196         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63198 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63200         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63201         specially.
63202         (gaih_getanswer_slice): Likewise.
63204 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63208 2010-05-31  Petr Baudis  <pasky@suse.cz>
63210         [BZ #11149]
63211         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63212         silently even in the chroot mode.
63214 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63216         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63217         last patch a bit.  Pretty printing
63219 2010-05-31  Petr Baudis <pasky@suse.cz>
63221         [BZ #10085]
63222         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63223         initialization of skip_initgroups_dyn.
63225 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63227         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63228         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63230 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63232         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63234 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63236         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63237         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63238         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63239         ($(objpfx)tst-fnmatch-mem): New rule.
63240         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63241         * posix/tst-fnmatch.c (main): Call mtrace.
63243 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63246         Support Intel processor model 6 and model 0x2c.
63248 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63250         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63251           signed comparison.
63253 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63255         [BZ #12205]
63256         * string/test-strncasecmp.c (check_result): New function.
63257         (do_one_test): Use it.
63258         (check1): New function.
63259         (test_main): Use it.
63260         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63261         Support strcasecmp and strncasecmp.
63263 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63265         [BZ #12194]
63266         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63267         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63269 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63271         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63272         IFUNC support.
63273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63274         memset-x86-64.
63275         * sysdeps/x86_64/multiarch/bzero.S: New file.
63276         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63277         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63278         * sysdeps/x86_64/multiarch/memset.S: New file.
63279         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63281         Set bit_Prefer_SSE_for_memop for Intel processors.
63282         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63283         Define.
63284         (index_Prefer_SSE_for_memop): Define.
63285         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63287 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63289         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63290         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63292 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63294         [BZ #12191]
63295         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63296         (__x86_64_raw_data_cache_size_half): Likewise.
63297         (__x86_64_raw_shared_cache_size): Likewise.
63298         (__x86_64_raw_shared_cache_size_half): Likewise.
63300         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63301         (__x86_64_raw_data_cache_size_half): Likewise.
63302         (__x86_64_raw_shared_cache_size): Likewise.
63303         (__x86_64_raw_shared_cache_size_half): Likewise.
63304         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63305         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63306         and __x86_64_raw_shared_cache_size_half.  Round
63307         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63308         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63309         to multiple of 256 bytes.
63311 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63313         [BZ #12167]
63314         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63315         of inacessible symlinks.  Verify result of symlink before returning it.
63316         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63317         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63319 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63321         * math/math.h (isinf): Fix typo in comment.
63323 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63325         * po/da.po: Update from translation team.
63327 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63329         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63330         is added to the list.
63332 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63333             Ulrich Drepper  <drepper@gmail.com>
63335         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63336         the global list here.  Move code to...
63337         (_dl_add_to_namespace_list): ...here.  New function.
63338         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63339         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63340         * elf/dl-load.c (lose): Don't remove the element from the list.
63341         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63342         (_dl_map_object): Likewise.
63344 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63346         [BZ #12159]
63347         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63348         into all bytes of SSE register.
63349         Patch by Richard Li <richardpku@gmail.com>.
63351 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63353         [BZ #12140]
63354         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63355         perturbing.
63357 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63359         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63360         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63361         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63362         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63364         submachine.
63365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63367 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63369         * include/dlfcn.h (__RTLD_SECURE): Define.
63370         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63371         mode & __RTLD_SECURE instead.
63372         (open_path): Rename preloaded parameter to secure.
63373         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63374         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63375         * elf/dl-deps.c (openaux): Likewise.
63376         * elf/rtld.c (struct map_args): Remove is_preloaded.
63377         (map_doit): Don't use it.
63378         (dl_main): Likewise.
63379         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63380         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63382 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63384         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63385         (sysd-rules-targets): Remove duplicates.
63386         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63387         rtld-%.$o dependency.
63389 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63391         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63392         _dl_map_object do it.
63394 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63396         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63397         fast fma builtins, define the macros in the C99 standard.
63398         (FP_FAST_FMAF): Likewise.
63399         (FP_FAST_FMAL): Likewise.
63400         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63402         * bits/mathdef.h: Update copyright year.
63403         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63405 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63407         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63408         builtins, define the macros in the C99 standard.
63409         (FP_FAST_FMAF): Likewise.
63410         (FP_FAST_FMAL): Likewise.
63411         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63412         multiply/add.
63413         (FP_FAST_FMAF): Likewise.
63415 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63417         [BZ #3268]
63418         * math/libm-test.inc (fma_test): Some new testcases.
63419         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63420         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63421         y and infinite z.  Do multiplication by C already in long double.
63422         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63424         y and infinite z.  Do bitwise or of inexact bit into u.d.
63425         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63426         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63427         * sysdeps/i386/fpu/s_fma.S: Removed.
63428         * sysdeps/i386/fpu/s_fmal.S: Removed.
63430 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63432         [BZ #3268]
63433         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63435         computation is not scheduled after fetestexcept.  Fix value
63436         of minimum denormal long double.
63438 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63440         [BZ #3268]
63441         * math/libm-test.inc (fma_test): Add some more tests.
63442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63443         correctly.
63445 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63447         * scripts/data/localplt-s390-linux-gnu.data: New file.
63448         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63450 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63452         [BZ #3268]
63453         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63454         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63455         instead of dbl-64.
63456         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63457         inlines.
63458         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63460         if one of x and y is very large and the other is subnormal.
63461         * sysdeps/s390/fpu/s_fmaf.c: New file.
63462         * sysdeps/s390/fpu/s_fma.c: New file.
63463         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63464         * sysdeps/powerpc/fpu/s_fma.S: New file.
63465         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63466         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63467         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63469 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63471         [BZ #3268]
63472         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63473         fma tests.
63474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63475         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63476         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63477         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63478         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63479         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63480         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63482 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63484         [BZ #12078]
63485         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63486         * posix/bug-regex31.input: Add test case.
63488 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63490         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63491         * posix/bug-regex31.input: New file.
63493         [BZ #12078]
63494         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63495         (parse_sub_exp): Fix last change, use postorder.
63497         * posix/bug-regex31.c: New file.
63498         * posix/Makefile: Add rules to build and run bug-regex31.
63500         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63502         [BZ #12078]
63503         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63505         [BZ #12108]
63506         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63507         to have entries in sys_siglist.
63509         [BZ #12093]
63510         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63511         be NULL.
63513 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63515         [BZ #3268]
63516         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63517         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63518         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63519         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63520         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63521         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63522         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63523         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63524         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63525         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63526         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63527         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63528         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63529         * math/ftestexcept.c (fetestexcept): Likewise.
63530         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63531         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63532         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63533         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63534         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63535         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63536         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63538 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63540         [BZ #12107]
63541         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63542         newline.
63544 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63546         * string/bug-strstr1.c: New file.
63547         * string/Makefile: Add rules to build and run bug-strstr1.
63549 2010-10-05  Eric Blake  <eblake@redhat.com>
63551         [BZ #12092]
63552         * string/str-two-way.h (two_way_long_needle): Always clear memory
63553         when skipping input due to the shift table.
63555 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63557         [BZ #12005]
63558         * malloc/mcheck.c: Handle large requests.
63560         [BZ #12077]
63561         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63562         for strncmp and strncasecmp.
63563         * string/stratcliff.c: Add tests for strcmp and strncmp.
63564         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63566 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63568         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63569         __set_fpscr.
63571 2010-09-30  Andreas Jaeger  <aj@suse.de>
63573         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63574         (CGROUP_SUPER_MAGIC): Define.
63575         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63576         Handle btrfs and cgroup file systems.
63577         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63578         Likewise.
63580 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63582         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63583         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63585 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63587         [BZ #12067]
63588         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63589         trying to locate the ELF header.
63591 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63593         [BZ #11611]
63594         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63595         Mask out sign-bit copies when constructing f_fsid.
63597 2010-09-24  Petr Baudis <pasky@suse.cz>
63599         * debug/stack_chk_fail_local.c: Add missing licence exception.
63600         * debug/warning-nop.c: Likewise.
63602 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63604         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63605         implementing getdents64 using getdents syscall, set d_type if
63606         __ASSUME_GETDENTS32_D_TYPE.
63608 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63610         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63611         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63613 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63615         [BZ #12037]
63616         * posix/unistd.h: Undo change of feature selection for ftruncate from
63617         2010-01-11.
63619 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63621         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63622         detection.
63624 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63626         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63627         fanotify_mark.
63628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63630 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63632         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63633         variables after CHECK_SP call.
63634         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63636 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63637             Ulrich Drepper  <drepper@redhat.com>
63639         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63640         re-relocationg ld.so.
63641         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63642         _dl_init_paths call.
63643         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63644         here anymore.
63646 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63648         * resolv/res_init.c (__res_vinit): Count the default server we added.
63650 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63651             Ulrich Drepper  <drepper@redhat.com>
63653         [BZ #11968]
63654         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63655         (____longjmp_chk): Use %ebx for saving value across system call.
63656         Add unwind info.
63658 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63660         * manual/Makefile: Don't mix pattern rules with normal rules.
63662 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63664         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63665         operation.
63666         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63667         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63668         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63669         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63671         Likewise.
63673 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63675         [BZ #11979]
63676         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63677         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63679 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63681         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63682         * sysdeps/x86_64/addmul_1.S: Likewise.
63683         * sysdeps/x86_64/lshift.S: Likewise.
63684         * sysdeps/x86_64/mul_1.S: Likewise.
63685         * sysdeps/x86_64/rshift.S: Likewise.
63686         * sysdeps/x86_64/sub_n.S: Likewise.
63687         * sysdeps/x86_64/submul_1.S: Likewise.
63689 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63691         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63692         Define __sched_param instead of SCHED_* and sched_param when
63693         <bits/sched.h> is included with __need_schedparam defined.
63694         * bits/sched.h [__need_schedparam]
63695         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63696         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63697         (__defined_schedparam): Define to 1.
63698         (__sched_param): New structure, identical to sched_param.
63699         (__need_schedparam): Undefine.
63701 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63703         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63704         (epoll_create1): Declare.
63706         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63708 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63710         [BZ #7066]
63711         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63712         shifting retval into place.
63714 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63716         * nis/rpcsvc/nis.h: Update copyright notice.
63717         * nis/rpcsvc/nis.x: Likewise.
63718         * nis/rpcsvc/nis_callback.h: Likewise.
63719         * nis/rpcsvc/nis_callback.x: Likewise.
63720         * nis/rpcsvc/nis_object.x: Likewise.
63721         * nis/rpcsvc/nis_tags.h: Likewise.
63722         * nis/rpcsvc/yp.h: Likewise.
63723         * nis/rpcsvc/yp.x: Likewise.
63724         * nis/rpcsvc/ypupd.h: Likewise.
63725         * nis/yp_xdr.c: Likewise.
63726         * nis/ypupdate_xdr.c: Likewise.
63728         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63729         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63730         (pmap_getport): Use __libc_rpc_getport.
63731         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63732         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63733         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63735 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63738         fanotify_mark.
63740 2010-08-27  Roland McGrath  <roland@redhat.com>
63742         * sysdeps/i386/i686/multiarch/Makefile
63743         (CFLAGS-varshift.c): New variable.
63745 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63747         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63748         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63752         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63754 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63756         * sysdeps/x86_64/strlen.S: Unroll the loop.
63757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63758         strlen-sse2 strlen-sse2-bsf.
63759         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63760         __strlen_no_bsf if bit_Slow_BSF is set.
63761         (__strlen_sse42): Removed.
63762         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63763         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63765 2010-08-25  Roland McGrath  <roland@redhat.com>
63767         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63768         * sysdeps/x86_64/multiarch/varshift.c: New file.
63769         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63770         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63771         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63772         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63774 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63777         strlen-sse2 strlen-sse2-bsf.
63778         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63779         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63780         (__strlen_sse2): Removed.
63781         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63782         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63784         bit_Slow_BSF for Atom.
63785         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63786         (index_Slow_BSF): Define.
63787         (HAS_SLOW_BSF): Define.
63789 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63791         [BZ #10851]
63792         * resolv/res_init.c (__res_vinit): When no server address at all
63793         is given default to loopback.
63795 2010-08-24  Roland McGrath  <roland@redhat.com>
63797         * configure.in: Remove config-name.h generation.
63798         * configure: Regenerated.
63799         * config-name.in: File removed.
63800         * scripts/config-uname.sh: New file.
63801         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63802         ($(objdir)config-name.h): New target.
63804         * sunrpc/rpc_parse.h: Avoid nested comment.
63806 2010-08-24  Richard Henderson  <rth@redhat.com>
63807             Ulrich Drepper  <drepper@redhat.com>
63808             H.J. Lu  <hongjiu.lu@intel.com>
63810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63812         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63813         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63814         _mm_alignr_epi8 with _mm_loadu_si128.
63815         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63816         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63817         (__m128i_shift_right): Removed.
63818         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63819         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63820         * sysdeps/x86_64/multiarch/varshift.h: New file.
63821         * sysdeps/x86_64/multiarch/varshift.S: New file.
63823 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63825         * configure.in: Move assembler checks to before sysdep dir checking.
63827 2010-08-20  Petr Baudis  <pasky@suse.cz>
63829         * LICENSES: Sync the sunrpc license.
63831 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63833         * sunrpc/auth_des.c: Update copyright notice once again.
63834         * sunrpc/auth_none.c: Likewise.
63835         * sunrpc/auth_unix.c: Likewise.
63836         * sunrpc/authdes_prot.c: Likewise.
63837         * sunrpc/authuxprot.c: Likewise.
63838         * sunrpc/bindrsvprt.c: Likewise.
63839         * sunrpc/clnt_gen.c: Likewise.
63840         * sunrpc/clnt_perr.c: Likewise.
63841         * sunrpc/clnt_raw.c: Likewise.
63842         * sunrpc/clnt_simp.c: Likewise.
63843         * sunrpc/clnt_tcp.c: Likewise.
63844         * sunrpc/clnt_udp.c: Likewise.
63845         * sunrpc/clnt_unix.c: Likewise.
63846         * sunrpc/des_crypt.c: Likewise.
63847         * sunrpc/des_soft.c: Likewise.
63848         * sunrpc/get_myaddr.c: Likewise.
63849         * sunrpc/getrpcport.c: Likewise.
63850         * sunrpc/key_call.c: Likewise.
63851         * sunrpc/key_prot.c: Likewise.
63852         * sunrpc/openchild.c: Likewise.
63853         * sunrpc/pm_getmaps.c: Likewise.
63854         * sunrpc/pm_getport.c: Likewise.
63855         * sunrpc/pmap_clnt.c: Likewise.
63856         * sunrpc/pmap_prot.c: Likewise.
63857         * sunrpc/pmap_prot2.c: Likewise.
63858         * sunrpc/pmap_rmt.c: Likewise.
63859         * sunrpc/rpc/auth.h: Likewise.
63860         * sunrpc/rpc/auth_unix.h: Likewise.
63861         * sunrpc/rpc/clnt.h: Likewise.
63862         * sunrpc/rpc/des_crypt.h: Likewise.
63863         * sunrpc/rpc/key_prot.h: Likewise.
63864         * sunrpc/rpc/netdb.h: Likewise.
63865         * sunrpc/rpc/pmap_clnt.h: Likewise.
63866         * sunrpc/rpc/pmap_prot.h: Likewise.
63867         * sunrpc/rpc/pmap_rmt.h: Likewise.
63868         * sunrpc/rpc/rpc.h: Likewise.
63869         * sunrpc/rpc/rpc_des.h: Likewise.
63870         * sunrpc/rpc/rpc_msg.h: Likewise.
63871         * sunrpc/rpc/svc.h: Likewise.
63872         * sunrpc/rpc/svc_auth.h: Likewise.
63873         * sunrpc/rpc/types.h: Likewise.
63874         * sunrpc/rpc/xdr.h: Likewise.
63875         * sunrpc/rpc_clntout.c: Likewise.
63876         * sunrpc/rpc_cmsg.c: Likewise.
63877         * sunrpc/rpc_common.c: Likewise.
63878         * sunrpc/rpc_cout.c: Likewise.
63879         * sunrpc/rpc_dtable.c: Likewise.
63880         * sunrpc/rpc_hout.c: Likewise.
63881         * sunrpc/rpc_main.c: Likewise.
63882         * sunrpc/rpc_parse.c: Likewise.
63883         * sunrpc/rpc_parse.h: Likewise.
63884         * sunrpc/rpc_prot.c: Likewise.
63885         * sunrpc/rpc_sample.c: Likewise.
63886         * sunrpc/rpc_scan.c: Likewise.
63887         * sunrpc/rpc_scan.h: Likewise.
63888         * sunrpc/rpc_svcout.c: Likewise.
63889         * sunrpc/rpc_tblout.c: Likewise.
63890         * sunrpc/rpc_util.c: Likewise.
63891         * sunrpc/rpc_util.h: Likewise.
63892         * sunrpc/rpcinfo.c: Likewise.
63893         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63894         * sunrpc/rpcsvc/key_prot.x: Likewise.
63895         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63896         * sunrpc/rpcsvc/mount.x: Likewise.
63897         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63898         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63899         * sunrpc/rpcsvc/rex.x: Likewise.
63900         * sunrpc/rpcsvc/rstat.x: Likewise.
63901         * sunrpc/rpcsvc/rusers.x: Likewise.
63902         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63903         * sunrpc/rpcsvc/spray.x: Likewise.
63904         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63905         * sunrpc/rtime.c: Likewise.
63906         * sunrpc/svc.c: Likewise.
63907         * sunrpc/svc_auth.c: Likewise.
63908         * sunrpc/svc_authux.c: Likewise.
63909         * sunrpc/svc_raw.c: Likewise.
63910         * sunrpc/svc_run.c: Likewise.
63911         * sunrpc/svc_simple.c: Likewise.
63912         * sunrpc/svc_tcp.c: Likewise.
63913         * sunrpc/svc_udp.c: Likewise.
63914         * sunrpc/svc_unix.c: Likewise.
63915         * sunrpc/svcauth_des.c: Likewise.
63916         * sunrpc/xcrypt.c: Likewise.
63917         * sunrpc/xdr.c: Likewise.
63918         * sunrpc/xdr_array.c: Likewise.
63919         * sunrpc/xdr_float.c: Likewise.
63920         * sunrpc/xdr_mem.c: Likewise.
63921         * sunrpc/xdr_rec.c: Likewise.
63922         * sunrpc/xdr_ref.c: Likewise.
63923         * sunrpc/xdr_sizeof.c: Likewise.
63924         * sunrpc/xdr_stdio.c: Likewise.
63926         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63927         handling.
63929 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63931         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63933 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63935         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63936         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63937         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63938         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63939         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63940         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63941         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63942         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63943         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63944         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63945         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63947         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63948         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63950 2010-07-26  Anton Blanchard  <anton@samba.org>
63952         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63953         * malloc/arena.c (heap_trim): Likewise.
63955 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63957         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63958         here.  Not...
63959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63960         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63962 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63964         * sysdeps/i386/elf/Makefile: New file.
63966 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63968         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63969         from fanotify_init.
63970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63971         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63973 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63975         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63976         of strncasecmp_l.
63977         * sysdeps/multiarch/strcmp.S: Likewise.
63979 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63981         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63982         strncase_l-nonascii.
63983         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63984         Add strncase_l-ssse3.
63985         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63986         * sysdeps/x86_64/strcmp.S: Likewise.
63987         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63988         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63989         * sysdeps/x86_64/strncase.S: New file.
63990         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63991         * sysdeps/x86_64/strncase_l.S: New file.
63992         * string/Makefile (strop-tests): Add strncasecmp.
63993         * string/test-strncasecmp.c: New file.
63995         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63996         warning.
63998         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63999         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64001 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64003         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64005 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
64007         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64008         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64009         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64011 2010-05-01  Alan Modra  <amodra@gmail.com>
64013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64014         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64015         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64016         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64017         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64018         tidying.  Don't tail-call __sigjmp_save for static lib.
64019         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64020         save location.
64021         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64022         (CALL_MCOUNT): Add eh info, and nop after bl.
64023         (TAIL_CALL_SYSCALL_ERROR): New macro.
64024         (PSEUDO_RET): Use it.
64025         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64026         Correct save location of integer regs and cr.
64027         (_dl_profile_resolve): Correct cr save location.  Delete nops
64028         after bl when SHARED.  Reduce cfi size a little by better
64029         placement of cfi directives.
64030         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64031         make a stack frame.  Instead use parm save area as a temp.
64032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64033         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
64034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64035         Don't make a stack frame for parent, use parm save area.
64036         Increase child stack frame to 112 bytes.  Don't save unused reg,
64037         and adjust reg usage.  Set up cfi on error recovery and
64038         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64040         (__makecontext): Add dummy nop after jump to exit.
64041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64042         Use correct parm save area and cr save, reduce stack frame.
64043         Correct cfi for possible PSEUDO_RET frame setup.
64044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64045         Branch to local label emitted by PSEUDO_RET rather than
64046         __syscall_error.
64048 2010-08-12  Andreas Schwab  <schwab@redhat.com>
64050         [BZ #11904]
64051         * locale/programs/locale.c (print_assignment): New function.
64052         (show_locale_vars): Use it.
64054 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
64056         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64057         field.
64058         (struct statfs64): Likewise.
64059         (_STATFS_F_FLAGS): Define.
64060         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64061         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64062         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64063         (ST_VALID): Define locally.
64064         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64065         __statvfs_getflags, use the provided value.
64066         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64067         __ASSUME_STATFS_F_FLAGS.
64069         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64071         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64072         Add sys/fanotify.h.
64073         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64074         fanotify_mask for GLIBC_2.13.
64075         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64076         fanotify_init and fanotify_mark.
64077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64078         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64080         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64081         Add prlimit.
64082         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64083         prlimit64 for GLIBC_2.13.
64084         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64085         prlimit64.
64086         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64087         syscall.
64088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64089         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64090         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64091         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64093         add prlimit alias.
64094         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64096         [BZ #11903]
64097         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64098         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64100         * nss/Makefile: Add rules to build and run tst-nss-test1.
64101         * shlib-versions: Add entry for libnss_test1.
64102         * nss/nss_test1.c: New file.
64103         * nss/tst-nss-test1.c: New file.
64105         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64106         (__nss_configure_lookup): Set appropriate entry in
64107         __nss_configure_lookup to true.
64108         * nss/nsswitch.h: Define enum with indeces of databases in
64109         databases and __nss_database_custom arrays.  Declare
64110         __nss_database_custom.
64111         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64112         to avoid using nscd when custom rules are installed.
64113         * nss/getXXbyYY_r.c: Likewise.
64114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64116         * nss/nss_files/files-parse.c: Whitespace fixes.
64118 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64120         [BZ #11883]
64121         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64122         * posix/fnmatch_loop.c: Likewise.
64124 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64126         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64127         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64128         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64129         * Versions.def [GLIBC_2.13]: Add.
64131 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64133         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64134         Also fail if tpwd after pwuid call is NULL.
64136 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64138         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64139         when converting to ms.
64141 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64143         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64144         EOPNOTSUPP errors with ENOTTY.
64145         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64146         EOPNOTSUPP errors with ENOTTY.
64148 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64150         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64151         Add strcasecmp_l-ssse3.
64152         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64153         strcasecmp.
64154         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64155         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64156         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64158 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64160         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64162         * string/Makefile (strop-tests): Add strcasecmp.
64163         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64164         strcasecmp_l-nonascii.
64165         (gen-as-const-headers): Add locale-defines.sym.
64166         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64167         * sysdeps/x86_64/strcasecmp.S: New file.
64168         * sysdeps/x86_64/strcasecmp_l.S: New file.
64169         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64170         * sysdeps/x86_64/locale-defines.sym: New file.
64171         * string/test-strcasecmp.c: New file.
64173         * string/test-strcasestr.c: Test both ends of the range of characters.
64174         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64176 2010-07-29  Roland McGrath  <roland@redhat.com>
64178         [BZ #11856]
64179         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64181 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64183         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64184         for ld.so.
64186 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64188         * manual/memory.texi (Malloc Tunable Parameters): Document
64189         M_PERTURB.
64191 2010-07-26  Roland McGrath  <roland@redhat.com>
64193         [BZ #11840]
64194         * configure.in (-fgnu89-inline check): Set and substitute
64195         gnu89_inline, not libc_cv_gnu89_inline.
64196         * configure: Regenerated.
64197         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64199 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64201         * string/test-strnlen.c: New file.
64202         * string/Makefile (strop-tests): Add strnlen.
64203         * string/tester.c (test_strnlen): Add a few more test cases.
64204         * string/tst-strlen.c: Better error reporting.
64206         * sysdeps/x86_64/strnlen.S: New file.
64208 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64210         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64211         lower-latency instructions.
64213 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64215         * string/test-strcasestr.c: New file.
64216         * string/test-strstr.c: New file.
64217         * string/Makefile (strop-tests): Add strstr and strcasestr.
64218         * string/str-two-way.h: Don't undefine MAX.
64219         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64221 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64224         strcasestr-nonascii.
64225         (CFLAGS-strcasestr-nonascii.c): Define.
64226         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64227         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64228         Remove unused attribute.
64230 2010-07-20  Roland McGrath  <roland@redhat.com>
64232         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64233         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64234         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64235         like LD_HWCAP_MASK can disable hwcaps.
64237 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64239         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64241 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64243         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64244         call in strcasestr.
64245         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64246         __strcasestr_sse42_nonascii.
64247         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64248         strcasestr-nonascii.c.
64249         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64251 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64253         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64254         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64255         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64256         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64258 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64260         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64261         fcntl.
64263 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64265         [BZ #11577]
64266         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64267         dl_signal_cerror.
64269 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64271         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64272         _PC_PIPE_BUF using F_GETPIPE_SZ.
64274 2010-07-05  Roland McGrath  <roland@redhat.com>
64276         * manual/arith.texi (Rounding Functions): Fix rint description
64277         implicit in round description.
64279 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64281         * elf/Makefile: Fix linking for a few tests to make recent linker
64282         happy.
64284 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64286         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64287         $(common-objpfx)libc_nonshared.a.
64289 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64291         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64292         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64293         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64294         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64295         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64296         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64297         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64298         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64313         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64314         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64315         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64316         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64317         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64318         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64319         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64320         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64321         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64322         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64323         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64324         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64340 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64342         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64343         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64344         * string/memmove.c (memmove): Renamed to ...
64345         (MEMMOVE): ...this.  Default to memmove.
64346         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64347         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64348         (END_CHK): Define.
64349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64350         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64351         mempcpy-ssse3-back memmove-ssse3-back.
64352         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64354         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64355         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64356         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64357         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64358         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64359         * sysdeps/x86_64/multiarch/memmove.c: New file.
64360         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64361         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64362         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64363         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64364         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64365         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64366         Define.
64367         (index_Fast_Copy_Backward): Define.
64368         (HAS_ARCH_FEATURE): Define.
64369         (HAS_FAST_REP_STRING): Define.
64370         (HAS_FAST_COPY_BACKWARD): Define.
64372 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64374         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64375         Restore proper fallback handling.
64377 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64379         [BZ #11701]
64380         * posix/group_member.c (__group_member): Correct checking loop.
64382         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64383         OOM in getpwuid_r correctly.  Return error number when the caller
64384         should return, otherwise -1.
64385         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64386         call returning > 0 value.
64387         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64389 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64391         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64392         libc_nonshared.a from targets in modules-names.
64394 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64396         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64397         requires it.
64399 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64402         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64403         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64404         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64406 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64408         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64410 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64412         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64413         and F_GETPIPE_SZ.
64414         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64415         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64418         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64419         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64421 2010-06-14  Roland McGrath  <roland@redhat.com>
64423         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64425 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64427         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64428         __REDIRECT followed by __THROW.
64429         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64430         * posix/getopt.h (getopt): Likewise.
64432 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64434         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64435         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64436         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64437         in AT_FLAGS.
64438         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64439         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64441 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64443         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64445 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64447         [BZ #11640]
64448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64449         Properly check family and model.
64451 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64453         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64455 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64457         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64459 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64461         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64462         symbol reference.
64464 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64466         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64467         symbol reference.
64469 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64471         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64472         and internal_recvmmsg.
64473         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64474         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64475         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64476         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64478         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64479         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64480         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64482 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64484         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64486 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64488         POWER7 optimizations.
64489         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64490         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64492 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64494         * version.h: Update for 2.13 development version.
64496 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64498         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64499         exceptions.  Return 0.
64501 2010-05-07  Roland McGrath  <roland@redhat.com>
64503         * elf/ldconfig.c (main): Add a const.
64505 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64507         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64508         (args_options): Add no-idn option.
64509         (ahosts_keys_int): Add idn_flags to ai_flags.
64510         (parse_option): Handle 'i' option to clear idn_flags.
64512         * malloc/malloc.c (_int_free): Possible race in the most recently
64513         added check.  Only act on the data if no current modification
64514         happened.
64516 See ChangeLog.17 for earlier changes.